@esri/solutions-components 1.1.0-next.20250819 → 1.1.0-next.20250821.1

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 (460) hide show
  1. package/dist/cdn/{J76PFNGB.js → 254IFXAY.js} +1 -1
  2. package/dist/cdn/{C66LGOL3.js → 277JPAMQ.js} +2 -2
  3. package/dist/cdn/2DRJNGHJ.js +4 -0
  4. package/dist/cdn/{3VJ2UAF3.js → 2HM46W6X.js} +2 -2
  5. package/dist/cdn/{SQEH2DIV.js → 2RIXNG3D.js} +2 -2
  6. package/dist/cdn/{NTRY3XB6.js → 2WOOLAFN.js} +2 -2
  7. package/dist/cdn/{WV64QIRZ.js → 35CHUZSE.js} +2 -2
  8. package/dist/cdn/{DEAO7LKH.js → 3D7TJTYP.js} +2 -2
  9. package/dist/cdn/{FOGK56KV.js → 3FW5CG2V.js} +1 -1
  10. package/dist/cdn/{XB5P4EQI.js → 3GDSE3LF.js} +1 -1
  11. package/dist/cdn/{O7BZMNSE.js → 3JNKW4H2.js} +2 -2
  12. package/dist/cdn/{QAHIP2GX.js → 3L2WIY7E.js} +2 -2
  13. package/dist/cdn/{AFKXBLKS.js → 3P6SAGHA.js} +2 -2
  14. package/dist/cdn/{UNUUESGY.js → 3QZS3V5C.js} +2 -2
  15. package/dist/cdn/{SUOAKQEN.js → 3XRGCQGX.js} +2 -2
  16. package/dist/cdn/{3KRR3EWC.js → 42JULDLM.js} +2 -2
  17. package/dist/cdn/{M7GBGDGE.js → 46UNYVC4.js} +2 -2
  18. package/dist/cdn/{VK2K5XNT.js → 4CV5QGLL.js} +2 -2
  19. package/dist/cdn/{UALKPXS3.js → 4DRVMACI.js} +2 -2
  20. package/dist/cdn/{JONOM255.js → 4IASNN3N.js} +2 -2
  21. package/dist/cdn/{WQ6KFVZN.js → 4JO7DM7O.js} +2 -2
  22. package/dist/cdn/{6U3K5YN7.js → 4LK67XEX.js} +2 -2
  23. package/dist/cdn/{Y7NS4JZS.js → 4RTVVW2I.js} +2 -2
  24. package/dist/cdn/{DIUE32QA.js → 4TB3CAKB.js} +2 -2
  25. package/dist/cdn/{7BTFQ7GB.js → 4W2WJZ77.js} +2 -2
  26. package/dist/cdn/{VMWDPJTM.js → 57AT2WHX.js} +1 -1
  27. package/dist/cdn/{A6AHNC5I.js → 5I7C3JNJ.js} +2 -2
  28. package/dist/cdn/{GTUZ7LWY.js → 5OPRJTO2.js} +4 -4
  29. package/dist/cdn/{FAPGFPOJ.js → 5TNVE74E.js} +1 -1
  30. package/dist/cdn/{UTV27VN5.js → 5WGFXMKO.js} +2 -2
  31. package/dist/cdn/{RCWLSY6I.js → 672V3UYL.js} +2 -2
  32. package/dist/cdn/{OO6IJCH4.js → 6C52IE3Q.js} +2 -2
  33. package/dist/cdn/{AY5CM33Y.js → 6CC62FCX.js} +2 -2
  34. package/dist/cdn/{AMXYZ4OK.js → 6DDNPKAF.js} +1 -1
  35. package/dist/cdn/{3HMTTM32.js → 6GGPCOWX.js} +2 -2
  36. package/dist/cdn/{LZQICKVC.js → 6H3R6HWX.js} +2 -2
  37. package/dist/cdn/{2CEVCB6G.js → 6HAKNRI4.js} +2 -2
  38. package/dist/cdn/{BXAORZL4.js → 6PRIBQ2Z.js} +2 -2
  39. package/dist/cdn/{LLILUCX4.js → 6Q442TOF.js} +2 -2
  40. package/dist/cdn/{XXCFRRLF.js → 6RBPF6YT.js} +2 -2
  41. package/dist/cdn/{EJD4FG7F.js → 6T4N66W3.js} +2 -2
  42. package/dist/cdn/{YABH5PBS.js → 6USK5YFB.js} +2 -2
  43. package/dist/cdn/{2PX7QCE5.js → 7KHOAVNQ.js} +2 -2
  44. package/dist/cdn/{5GSANUEI.js → 7LTC6OL4.js} +2 -2
  45. package/dist/cdn/7PLICD7W.js +4 -0
  46. package/dist/cdn/{T7F435GA.js → 7PZD2ILA.js} +2 -2
  47. package/dist/cdn/{UAXZFV4N.js → 7U7SPNZL.js} +2 -2
  48. package/dist/cdn/{742IZCHX.js → 7V2XLX7S.js} +2 -2
  49. package/dist/cdn/{NOLFW52G.js → 7Z7LM7TT.js} +2 -2
  50. package/dist/cdn/{SDJB7VSM.js → A2VIQV3C.js} +2 -2
  51. package/dist/cdn/{OFD6SR37.js → A4L6QKSJ.js} +2 -2
  52. package/dist/cdn/{MQGQPICI.js → A5P7J673.js} +2 -2
  53. package/dist/cdn/{GX36OVTS.js → AAUTJ4OS.js} +2 -2
  54. package/dist/cdn/{QPUATAAE.js → ABVESFCH.js} +2 -2
  55. package/dist/cdn/{W4HZTMNT.js → ACFQRQP5.js} +1 -1
  56. package/dist/cdn/{IUYH43JJ.js → AEAON7B4.js} +2 -2
  57. package/dist/cdn/{BCPDYBW6.js → AHBDIHB3.js} +2 -2
  58. package/dist/cdn/{DNE6MITH.js → AIA3IQP5.js} +2 -2
  59. package/dist/cdn/{4RPS5OUS.js → AOH34Q5Q.js} +2 -2
  60. package/dist/cdn/{U2G7TTSF.js → ATL6PRR2.js} +1 -1
  61. package/dist/cdn/{2KLVK3DF.js → B5B7VTXP.js} +2 -2
  62. package/dist/cdn/{X3XSZ65Y.js → B5J3B6GS.js} +2 -2
  63. package/dist/cdn/{UUIXKWJE.js → B5L7CGDA.js} +2 -2
  64. package/dist/cdn/{FV5ATVEG.js → BBCMZDHQ.js} +2 -2
  65. package/dist/cdn/BCOJQNLC.js +4 -0
  66. package/dist/cdn/{Z422BYVK.js → BI64BKJY.js} +2 -2
  67. package/dist/cdn/{LHFFIZ22.js → BIQDPZL4.js} +2 -2
  68. package/dist/cdn/BKXTHSLE.js +18 -0
  69. package/dist/cdn/{BYDCJ4VZ.js → BMQJU4PP.js} +1 -1
  70. package/dist/cdn/{6LCQVOOF.js → BQ4QTDZO.js} +2 -2
  71. package/dist/cdn/{L2ZBG3JF.js → BVAH7WKC.js} +2 -2
  72. package/dist/cdn/{EMQCI6RG.js → BXP64OAM.js} +2 -2
  73. package/dist/cdn/{BHNIWP2D.js → BYFFPGXK.js} +1 -1
  74. package/dist/cdn/{PIVVK35A.js → BZHDNZWO.js} +2 -2
  75. package/dist/cdn/{6LX6EBYJ.js → C7YL4M7G.js} +2 -2
  76. package/dist/cdn/{MBUU52CZ.js → CC35CIFM.js} +2 -2
  77. package/dist/cdn/CEHATEMR.js +18 -0
  78. package/dist/cdn/{3ZSBXV3T.js → CFLPRYXO.js} +2 -2
  79. package/dist/cdn/{BBAR5XKN.js → CGMZBNGJ.js} +2 -2
  80. package/dist/cdn/{67XBBPRO.js → CHEZWMZB.js} +1 -1
  81. package/dist/cdn/{A3O6JMNA.js → CK452ZLN.js} +2 -2
  82. package/dist/cdn/{K53OL6JR.js → CMKUJGYP.js} +2 -2
  83. package/dist/cdn/{NJVZY5MD.js → CMV7WBWK.js} +2 -2
  84. package/dist/cdn/{ZJAISNB5.js → CWOTJOTT.js} +2 -2
  85. package/dist/cdn/{WEP26LHX.js → CZ5P6RVW.js} +2 -2
  86. package/dist/cdn/{FN2WRV4R.js → D5P2DBSI.js} +2 -2
  87. package/dist/cdn/{BOKOWFEO.js → DF266WQH.js} +2 -2
  88. package/dist/cdn/{JJPZUFAZ.js → DGRDEQBA.js} +2 -2
  89. package/dist/cdn/{GMCNEOK7.js → DJUHHSMC.js} +2 -2
  90. package/dist/cdn/{IRNQSIXL.js → DOLGZT4N.js} +2 -2
  91. package/dist/cdn/{VYMRAN74.js → DTBYU6FN.js} +2 -2
  92. package/dist/cdn/{TEUVGOIY.js → DY6Z6CWO.js} +1 -1
  93. package/dist/cdn/{YC3RTILK.js → EHXBEHOD.js} +2 -2
  94. package/dist/cdn/{ZJE4EEE4.js → ELQ7KMPD.js} +2 -2
  95. package/dist/cdn/{S6ZH56JW.js → EOTNZQ2Y.js} +2 -2
  96. package/dist/cdn/{VRAOCHFE.js → EP4DMPRV.js} +2 -2
  97. package/dist/cdn/{4XY265GH.js → F4SYR5R7.js} +2 -2
  98. package/dist/cdn/{RAKIXVX2.js → FC7HVBYZ.js} +2 -2
  99. package/dist/cdn/{34E2LY63.js → FDIBCB2C.js} +2 -2
  100. package/dist/cdn/{QJCXGJ6L.js → FEBU7G47.js} +2 -2
  101. package/dist/cdn/{F7EZLC62.js → FHXVL46X.js} +2 -2
  102. package/dist/cdn/{ICENJ546.js → FNF5UBE3.js} +2 -2
  103. package/dist/cdn/{U7OHC5AQ.js → FRDR4YX3.js} +2 -2
  104. package/dist/cdn/{NOEXEMV5.js → FSGNN3XD.js} +2 -2
  105. package/dist/cdn/{U63F2JDU.js → FXY7VL2A.js} +2 -2
  106. package/dist/cdn/{K22KBOKY.js → FZGVYT6B.js} +2 -2
  107. package/dist/cdn/{5PAFS5IG.js → G77N5QTT.js} +2 -2
  108. package/dist/cdn/{HUHERRGE.js → GAHRVBKC.js} +2 -2
  109. package/dist/cdn/{4XQLIJVE.js → GBXYS4J2.js} +2 -2
  110. package/dist/cdn/{ZZC4NGY5.js → GD6BYLYO.js} +2 -2
  111. package/dist/cdn/{TR4FJOX7.js → GI4MCPRS.js} +1 -1
  112. package/dist/cdn/{H6N72YM6.js → GK3FEB25.js} +1 -1
  113. package/dist/cdn/GXD4ME5R.js +4 -0
  114. package/dist/cdn/{ZSX3D43K.js → H4PO74Y6.js} +1 -1
  115. package/dist/cdn/{WZMJH2DL.js → H56NGIIN.js} +1 -1
  116. package/dist/cdn/{5U4JK67I.js → H5QGO2X7.js} +2 -2
  117. package/dist/cdn/{57MRFRBK.js → HE37WIWY.js} +1 -1
  118. package/dist/cdn/{JTXFOO3I.js → HGLLAS5F.js} +2 -2
  119. package/dist/cdn/{24BDVPNH.js → HPM62TUA.js} +2 -2
  120. package/dist/cdn/{ODW4STKJ.js → HPOSTYMK.js} +2 -2
  121. package/dist/cdn/{DWL3QSPA.js → HVOKTLFC.js} +2 -2
  122. package/dist/cdn/{T2H7M2DI.js → HY5OVZRH.js} +2 -2
  123. package/dist/cdn/{FZTZRSVE.js → IAYULSC4.js} +2 -2
  124. package/dist/cdn/{KQECYLAL.js → IBUA6242.js} +2 -2
  125. package/dist/cdn/{4BBJTWZM.js → IBYRYOIO.js} +2 -2
  126. package/dist/cdn/{K3YIW6KT.js → IEELFMVJ.js} +1 -1
  127. package/dist/cdn/{7XCWJLB2.js → IG5EC5CW.js} +2 -2
  128. package/dist/cdn/{3T3QPZTS.js → IGR3VB5D.js} +1 -1
  129. package/dist/cdn/{HCN44RZN.js → IJDE4LLP.js} +2 -2
  130. package/dist/cdn/{SE23DFGC.js → IJRMND3U.js} +2 -2
  131. package/dist/cdn/{ANEQF73J.js → IK7V47KX.js} +2 -2
  132. package/dist/cdn/{3R27T5NF.js → IKWHFVB2.js} +2 -2
  133. package/dist/cdn/{A76UWUIW.js → IO7PPTWN.js} +2 -2
  134. package/dist/cdn/{O2IV4JMW.js → IPRCI6WC.js} +2 -2
  135. package/dist/cdn/{F2FAIAU2.js → IPYJPOI6.js} +2 -2
  136. package/dist/cdn/{VYLW2IDP.js → ISIWKXKW.js} +2 -2
  137. package/dist/cdn/{YRTVPKDV.js → IWXA6ODG.js} +2 -2
  138. package/dist/cdn/{TEXRB7NV.js → IYOVRIOS.js} +2 -2
  139. package/dist/cdn/{QDQOYMUU.js → J2F6YJJI.js} +2 -2
  140. package/dist/cdn/{4TAO7CZ6.js → J3BM33RO.js} +2 -2
  141. package/dist/cdn/{ZIL5UCFT.js → J4YCVM2C.js} +2 -2
  142. package/dist/cdn/{VBF5CTG3.js → JCLY5OTX.js} +2 -2
  143. package/dist/cdn/{72XFI4RT.js → JCWEA37F.js} +2 -2
  144. package/dist/cdn/{TK77BTJO.js → JDNCGDB3.js} +2 -2
  145. package/dist/cdn/{GAIWNYWL.js → JEPSZR4T.js} +2 -2
  146. package/dist/cdn/{FVXZDOFO.js → JJPJKSCR.js} +2 -2
  147. package/dist/cdn/{RHADMR4Z.js → JKKPXWS7.js} +2 -2
  148. package/dist/cdn/{NYNSAPTM.js → JKNSL66L.js} +2 -2
  149. package/dist/cdn/{LJWVIPZW.js → JO3PMCNF.js} +2 -2
  150. package/dist/cdn/{LXH2SO43.js → JOLQ3XD3.js} +2 -2
  151. package/dist/cdn/{WQ4TGR3C.js → JX3KJ75U.js} +2 -2
  152. package/dist/cdn/{DP6MNEO2.js → KC56ZZOU.js} +2 -2
  153. package/dist/cdn/{GX2F4JGM.js → KDJCXPLB.js} +1 -1
  154. package/dist/cdn/{52DTSHHU.js → KFSZX7VI.js} +3 -3
  155. package/dist/cdn/{INZPC2AB.js → KNGQKZRL.js} +2 -2
  156. package/dist/cdn/{NVHT3Y7W.js → KOJKMHOS.js} +2 -2
  157. package/dist/cdn/{XVEEFPUJ.js → KOTCJ7Z5.js} +2 -2
  158. package/dist/cdn/{L4CC4KNJ.js → KQGFMPHM.js} +2 -2
  159. package/dist/cdn/{I6W4OLBS.js → KREC5NIM.js} +2 -2
  160. package/dist/cdn/{U24LTB7J.js → KW4NRC6U.js} +2 -2
  161. package/dist/cdn/{OPTN3ME6.js → KXD4D73B.js} +2 -2
  162. package/dist/cdn/{7MM6S4IL.js → KXXE7OHI.js} +1 -1
  163. package/dist/cdn/{J7YCPSUF.js → L6TNRTGN.js} +2 -2
  164. package/dist/cdn/{DNAHE6B3.js → LJDSHD6P.js} +2 -2
  165. package/dist/cdn/{GNRZEXFN.js → LJZHYKAW.js} +2 -2
  166. package/dist/cdn/{EFCGDNV5.js → LLGKMMXR.js} +2 -2
  167. package/dist/cdn/{2NX64ETW.js → LMSEDJEU.js} +2 -2
  168. package/dist/cdn/{RDI63QRY.js → LOOPPDX6.js} +2 -2
  169. package/dist/cdn/{ZDPXDUJD.js → LRFFK2TK.js} +2 -2
  170. package/dist/cdn/{4ACHVJAT.js → LU7PNBTE.js} +2 -2
  171. package/dist/cdn/{UXLMABXA.js → LX46XVEZ.js} +2 -2
  172. package/dist/cdn/{TS7OFSKI.js → LZAKF6FZ.js} +2 -2
  173. package/dist/cdn/{FPVE7DKQ.js → LZQXH3JQ.js} +2 -2
  174. package/dist/cdn/{ZP3BQCVA.js → M24E2NEB.js} +1 -1
  175. package/dist/cdn/{7XT6DNUL.js → M3SBQ24H.js} +1 -1
  176. package/dist/cdn/{ELYCXPDG.js → M4G5EUVY.js} +2 -2
  177. package/dist/cdn/{GOISV2LT.js → M7WY2OOJ.js} +2 -2
  178. package/dist/cdn/{UAVULCVS.js → MARHZKSF.js} +2 -2
  179. package/dist/cdn/{SAH5BHRY.js → MDRGRMXD.js} +1 -1
  180. package/dist/cdn/{E5O3SDQO.js → MQMO4Y32.js} +2 -2
  181. package/dist/cdn/{56HI5OZX.js → MW465SXQ.js} +2 -2
  182. package/dist/cdn/{SQLK6YCV.js → MXHARE5H.js} +1 -1
  183. package/dist/cdn/{QRR2NNVK.js → MXQMAGDW.js} +2 -2
  184. package/dist/cdn/{H6MJF5YU.js → N4MZGZLV.js} +2 -2
  185. package/dist/cdn/{FKJ74KL2.js → N6ZSSMWU.js} +2 -2
  186. package/dist/cdn/{NQ6M4LUU.js → ND2ABBOH.js} +2 -2
  187. package/dist/cdn/{654EUDXI.js → ND6KIIUF.js} +2 -2
  188. package/dist/cdn/{EAGLALAQ.js → NE7DMIOD.js} +1 -1
  189. package/dist/cdn/{YXHCXL4G.js → NHIKSDLK.js} +2 -2
  190. package/dist/cdn/{J2QF245E.js → NNN7INQV.js} +2 -2
  191. package/dist/cdn/{XSLY3IGZ.js → NR524ZYR.js} +2 -2
  192. package/dist/cdn/{UMGOFUDS.js → NRHBU2UC.js} +2 -2
  193. package/dist/cdn/{K2LV3XD3.js → NSWA5NNM.js} +2 -2
  194. package/dist/cdn/{F7BRX5TN.js → O23MZ2HY.js} +2 -2
  195. package/dist/cdn/{4NXWAPLL.js → ODPP23TA.js} +2 -2
  196. package/dist/cdn/{ACRCQUQS.js → OES4NJCE.js} +2 -2
  197. package/dist/cdn/{LQACV2LW.js → OLFKZLHH.js} +1 -1
  198. package/dist/cdn/{GE225ZJ6.js → OSSILY4D.js} +1 -1
  199. package/dist/cdn/{VLHVZ4SR.js → P2FB7C35.js} +2 -2
  200. package/dist/cdn/{YN55LX3C.js → P5X4S5GD.js} +1 -1
  201. package/dist/cdn/{DIID6F24.js → PCHAYQAL.js} +2 -2
  202. package/dist/cdn/{GGG4CDGN.js → PCJSDOGC.js} +1 -1
  203. package/dist/cdn/{NBAZK6OZ.js → PGYDY3AE.js} +2 -2
  204. package/dist/cdn/PH5YWXIM.js +18 -0
  205. package/dist/cdn/PKS74MOM.js +18 -0
  206. package/dist/cdn/{3NDKI6NH.js → PRVCF5BX.js} +2 -2
  207. package/dist/cdn/{QY7M2QSI.js → PWGN3TVP.js} +2 -2
  208. package/dist/cdn/{E2B4PX5E.js → PZKWN4J5.js} +2 -2
  209. package/dist/cdn/Q4VLP4HA.js +4 -0
  210. package/dist/cdn/{ONWGDZT5.js → Q6SLUCPJ.js} +2 -2
  211. package/dist/cdn/{ZD5J7YJA.js → Q7HIGBLW.js} +2 -2
  212. package/dist/cdn/{IGVLUS3C.js → QBFTUWV4.js} +2 -2
  213. package/dist/cdn/QETF3YRS.js +4 -0
  214. package/dist/cdn/{ROYZJIEE.js → QIN4LVOX.js} +2 -2
  215. package/dist/cdn/{7QS77URH.js → QM4AUWCD.js} +2 -2
  216. package/dist/cdn/{HFIFNLE6.js → QNIEFGZB.js} +2 -2
  217. package/dist/cdn/{FY5UZTY6.js → QNZ44IUV.js} +1 -1
  218. package/dist/cdn/{SX3XDGQ6.js → QPXVV2UU.js} +2 -2
  219. package/dist/cdn/{AXWVCHHB.js → QTQU2LCC.js} +2 -2
  220. package/dist/cdn/{BLDAOYIG.js → QZ7WCTVM.js} +2 -2
  221. package/dist/cdn/{BG6GLWG2.js → R2VZGW6W.js} +1 -1
  222. package/dist/cdn/{LB3TT43G.js → RGAGXZ32.js} +2 -2
  223. package/dist/cdn/{GUJC76WT.js → RM7DZK7P.js} +2 -2
  224. package/dist/cdn/{MF3OG4VY.js → S3BAOT4T.js} +2 -2
  225. package/dist/cdn/{XSIKQNNC.js → S5KYBPXD.js} +2 -2
  226. package/dist/cdn/{ZCJWOG36.js → SE34BZAK.js} +2 -2
  227. package/dist/cdn/{DPYO4UNZ.js → SN5SLVHN.js} +1 -1
  228. package/dist/cdn/{PR3CDOEP.js → SOR4ZTQ2.js} +2 -2
  229. package/dist/cdn/{R22QQKTW.js → SPNUPQXN.js} +2 -2
  230. package/dist/cdn/{ANCO2LXL.js → SQABXB4K.js} +2 -2
  231. package/dist/cdn/{LKCO6XND.js → T7SV6QHL.js} +2 -2
  232. package/dist/cdn/TKKWBQFT.js +4 -0
  233. package/dist/cdn/{K2NMCDVM.js → TM2E5RVA.js} +2 -2
  234. package/dist/cdn/{LDVZXGKZ.js → TNDLTBVC.js} +2 -2
  235. package/dist/cdn/{O2EOV3CJ.js → TSD3HLMQ.js} +2 -2
  236. package/dist/cdn/{6I65R44J.js → TUBV2IJT.js} +1 -1
  237. package/dist/cdn/{L3DBBV2W.js → TZTCCS6P.js} +2 -2
  238. package/dist/cdn/{YA3RB4C4.js → UEJGR6L6.js} +2 -2
  239. package/dist/cdn/{OSCAEMPD.js → UESJ3BFX.js} +2 -2
  240. package/dist/cdn/{JHVO3CP7.js → UKWSZJWR.js} +2 -2
  241. package/dist/cdn/{BGANBCPS.js → UOP4GIXO.js} +2 -2
  242. package/dist/cdn/{TGBNBAXL.js → UPELMKX3.js} +2 -2
  243. package/dist/cdn/{65YWJHM4.js → URWY7PHQ.js} +2 -2
  244. package/dist/cdn/{UB7PE3AY.js → UUWJU2VO.js} +2 -2
  245. package/dist/cdn/{J5ZCK3TK.js → UW5XCDFL.js} +2 -2
  246. package/dist/cdn/{ZR74FN7G.js → UXF7OIZX.js} +1 -1
  247. package/dist/cdn/{M6D4LGKQ.js → UXHXEWVR.js} +2 -2
  248. package/dist/cdn/{7DM3LKUS.js → UXPG2CGK.js} +2 -2
  249. package/dist/cdn/{IJSMSB7D.js → V5H3PM5C.js} +2 -2
  250. package/dist/cdn/{HNGEXL62.js → VB5WN4BU.js} +2 -2
  251. package/dist/cdn/{TYJ45GML.js → VCXK6NDO.js} +2 -2
  252. package/dist/cdn/{TWGXRZ74.js → VEFFAHTR.js} +2 -2
  253. package/dist/cdn/{4VMTPD3X.js → VF77JXIX.js} +2 -2
  254. package/dist/cdn/{YM6V6R3R.js → VFEV47B2.js} +2 -2
  255. package/dist/cdn/{5UQVMELP.js → VPN2VHF4.js} +2 -2
  256. package/dist/cdn/{MCGFHROH.js → VZPO4VJ3.js} +2 -2
  257. package/dist/cdn/{K73ZDL6T.js → W6T3KVF3.js} +2 -2
  258. package/dist/cdn/{SA64VJDS.js → W7ZP7LXH.js} +2 -2
  259. package/dist/cdn/WAKNLMA4.js +4 -0
  260. package/dist/cdn/{H465VNWN.js → WDAAZMMW.js} +2 -2
  261. package/dist/cdn/{2QN6VCK5.js → WDJYTCRU.js} +2 -2
  262. package/dist/cdn/{N4BBS2LR.js → WDK4545G.js} +2 -2
  263. package/dist/cdn/{Y6JZAFOX.js → WGGU2HPZ.js} +2 -2
  264. package/dist/cdn/{6VYGTDV4.js → WHAIRVI3.js} +2 -2
  265. package/dist/cdn/{ZCZBE7ES.js → WPIXCZIG.js} +2 -2
  266. package/dist/cdn/{LDJYSN5D.js → WRC4Z2PN.js} +2 -2
  267. package/dist/cdn/{3OHVOUJI.js → WTTKEM75.js} +2 -2
  268. package/dist/cdn/{3Z752QPI.js → WUBLNYES.js} +2 -2
  269. package/dist/cdn/{PXCMVTKZ.js → WZF5C7OO.js} +2 -2
  270. package/dist/cdn/{X2H43HYH.js → XAFAFVWV.js} +1 -1
  271. package/dist/cdn/{MK3RPYXC.js → XB25R3AM.js} +2 -2
  272. package/dist/cdn/{TFCKOEWL.js → XCNHHXTJ.js} +2 -2
  273. package/dist/cdn/{CLESAR42.js → XDAYQDNQ.js} +2 -2
  274. package/dist/cdn/{GK6IMCNG.js → XEEWUKZB.js} +2 -2
  275. package/dist/cdn/{GW66TTO2.js → XZBFWMKC.js} +2 -2
  276. package/dist/cdn/{OYZEM335.js → Y2QFWRD6.js} +1 -1
  277. package/dist/cdn/{OVJQ6OFH.js → Y2SHTVTY.js} +2 -2
  278. package/dist/cdn/{EB2PKDO6.js → Y457BW7G.js} +2 -2
  279. package/dist/cdn/{SY5E3AVJ.js → Y4TZWVVR.js} +2 -2
  280. package/dist/cdn/{JQ22K6BZ.js → YBXQXFOK.js} +2 -2
  281. package/dist/cdn/{U5G7EA6M.js → YHD7EEMT.js} +2 -2
  282. package/dist/cdn/{TTGOCUOI.js → YJOA5KHE.js} +2 -2
  283. package/dist/cdn/{PXX4HFO5.js → YNEF2JSN.js} +2 -2
  284. package/dist/cdn/{BKO27JVX.js → YUFXRYJE.js} +2 -2
  285. package/dist/cdn/{IXAWNCC5.js → YZKSOJVU.js} +1 -1
  286. package/dist/cdn/{7MLPJTWX.js → Z2RKTVNS.js} +2 -2
  287. package/dist/cdn/{TU2VOXF6.js → Z3ZK5E4T.js} +2 -2
  288. package/dist/cdn/{WG2NYCMG.js → Z74FSVQE.js} +2 -2
  289. package/dist/cdn/{IWJ2ZMNS.js → ZB42626S.js} +2 -2
  290. package/dist/cdn/{NLFYNOUR.js → ZGWN6PLE.js} +2 -2
  291. package/dist/cdn/{THBUB5W7.js → ZIU64YKN.js} +2 -2
  292. package/dist/cdn/{QHOELTKY.js → ZOEYADP4.js} +2 -2
  293. package/dist/cdn/{QR6CKG42.js → ZUF4TG5H.js} +2 -2
  294. package/dist/cdn/{2XM25TAX.js → ZWAYSKK3.js} +2 -2
  295. package/dist/cdn/{TACC72BQ.js → ZYH7WAMN.js} +2 -2
  296. package/dist/cdn/{EJAPQXFI.js → ZZ2F3UU2.js} +2 -2
  297. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ar.json +1 -1
  298. package/dist/cdn/assets/solution-item-accordion/t9n/messages.bg.json +1 -1
  299. package/dist/cdn/assets/solution-item-accordion/t9n/messages.bs.json +1 -1
  300. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ca.json +1 -1
  301. package/dist/cdn/assets/solution-item-accordion/t9n/messages.cs.json +1 -1
  302. package/dist/cdn/assets/solution-item-accordion/t9n/messages.da.json +1 -1
  303. package/dist/cdn/assets/solution-item-accordion/t9n/messages.de.json +1 -1
  304. package/dist/cdn/assets/solution-item-accordion/t9n/messages.el.json +1 -1
  305. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  306. package/dist/cdn/assets/solution-item-accordion/t9n/messages.es.json +1 -1
  307. package/dist/cdn/assets/solution-item-accordion/t9n/messages.et.json +1 -1
  308. package/dist/cdn/assets/solution-item-accordion/t9n/messages.fi.json +1 -1
  309. package/dist/cdn/assets/solution-item-accordion/t9n/messages.fr.json +1 -1
  310. package/dist/cdn/assets/solution-item-accordion/t9n/messages.he.json +1 -1
  311. package/dist/cdn/assets/solution-item-accordion/t9n/messages.hr.json +1 -1
  312. package/dist/cdn/assets/solution-item-accordion/t9n/messages.hu.json +1 -1
  313. package/dist/cdn/assets/solution-item-accordion/t9n/messages.id.json +1 -1
  314. package/dist/cdn/assets/solution-item-accordion/t9n/messages.it.json +1 -1
  315. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ja.json +1 -1
  316. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  317. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ko.json +1 -1
  318. package/dist/cdn/assets/solution-item-accordion/t9n/messages.lt.json +1 -1
  319. package/dist/cdn/assets/solution-item-accordion/t9n/messages.lv.json +1 -1
  320. package/dist/cdn/assets/solution-item-accordion/t9n/messages.nl.json +1 -1
  321. package/dist/cdn/assets/solution-item-accordion/t9n/messages.no.json +1 -1
  322. package/dist/cdn/assets/solution-item-accordion/t9n/messages.pl.json +1 -1
  323. package/dist/cdn/assets/solution-item-accordion/t9n/messages.pt-BR.json +1 -1
  324. package/dist/cdn/assets/solution-item-accordion/t9n/messages.pt-PT.json +1 -1
  325. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ro.json +1 -1
  326. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ru.json +1 -1
  327. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sk.json +1 -1
  328. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sl.json +1 -1
  329. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sr.json +1 -1
  330. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sv.json +1 -1
  331. package/dist/cdn/assets/solution-item-accordion/t9n/messages.th.json +1 -1
  332. package/dist/cdn/assets/solution-item-accordion/t9n/messages.tr.json +1 -1
  333. package/dist/cdn/assets/solution-item-accordion/t9n/messages.uk.json +1 -1
  334. package/dist/cdn/assets/solution-item-accordion/t9n/messages.vi.json +1 -1
  335. package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-CN.json +1 -1
  336. package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-HK.json +1 -1
  337. package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-TW.json +1 -1
  338. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -0
  339. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -0
  340. package/dist/cdn/index.js +2 -2
  341. package/dist/cdn/main.css +1 -1
  342. package/dist/chunks/Auth.js +1 -1
  343. package/dist/chunks/appConfig.js +1 -1
  344. package/dist/chunks/cardFetchingUtils.js +1 -1
  345. package/dist/chunks/common.js +1 -1
  346. package/dist/chunks/deployAppContexts.js +1 -1
  347. package/dist/chunks/downloadUtils.js +1 -1
  348. package/dist/chunks/getItemIcon.js +1 -1
  349. package/dist/chunks/helpers.js +1 -1
  350. package/dist/chunks/index.js +1 -1
  351. package/dist/chunks/interfaces.js +1 -1
  352. package/dist/chunks/loadModules.js +1 -1
  353. package/dist/chunks/mapViewUtils.js +1 -1
  354. package/dist/chunks/pciUtils.js +1 -1
  355. package/dist/chunks/popupUtils.js +1 -1
  356. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  357. package/dist/chunks/privilegeUtils.js +1 -1
  358. package/dist/chunks/publicNotificationStore.js +1 -1
  359. package/dist/chunks/queryUtils.js +1 -1
  360. package/dist/chunks/runtime.js +1 -1
  361. package/dist/chunks/solution-store.js +1 -1
  362. package/dist/chunks/templates.js +1 -1
  363. package/dist/chunks/useT9n.js +1 -1
  364. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  365. package/dist/components/basemap-gallery/customElement.js +1 -1
  366. package/dist/components/buffer-tools/customElement.js +1 -1
  367. package/dist/components/card-manager/customElement.js +1 -1
  368. package/dist/components/consent-manager/customElement.js +1 -1
  369. package/dist/components/create-feature/customElement.js +1 -1
  370. package/dist/components/create-related-feature/customElement.js +1 -1
  371. package/dist/components/crowdsource-manager/customElement.js +1 -1
  372. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  373. package/dist/components/deduct-calculator/customElement.js +1 -1
  374. package/dist/components/delete-button/customElement.js +1 -1
  375. package/dist/components/delete-dialog/customElement.js +1 -1
  376. package/dist/components/edit-card/customElement.js +1 -1
  377. package/dist/components/feature-details/customElement.js +1 -1
  378. package/dist/components/feature-list/customElement.js +1 -1
  379. package/dist/components/field-selection/customElement.js +1 -1
  380. package/dist/components/floor-filter/customElement.js +1 -1
  381. package/dist/components/info-card/customElement.js +1 -1
  382. package/dist/components/json-editor/customElement.js +1 -1
  383. package/dist/components/layer-list/customElement.js +1 -1
  384. package/dist/components/layer-table/customElement.js +1 -1
  385. package/dist/components/map-card/customElement.js +1 -1
  386. package/dist/components/map-draw-tools/customElement.js +1 -1
  387. package/dist/components/map-fullscreen/customElement.js +1 -1
  388. package/dist/components/map-layer-picker/customElement.js +1 -1
  389. package/dist/components/map-legend/customElement.js +1 -1
  390. package/dist/components/map-picker/customElement.js +1 -1
  391. package/dist/components/map-search/customElement.js +1 -1
  392. package/dist/components/map-select-tools/customElement.js +1 -1
  393. package/dist/components/map-tools/customElement.js +1 -1
  394. package/dist/components/pci-calculator/customElement.js +1 -1
  395. package/dist/components/pdf-download/customElement.js +1 -1
  396. package/dist/components/public-notification/customElement.js +1 -1
  397. package/dist/components/refine-selection/customElement.js +1 -1
  398. package/dist/components/selection-tool/customElement.js +1 -1
  399. package/dist/components/solution-article-card/customElement.js +1 -1
  400. package/dist/components/solution-configuration/customElement.js +1 -1
  401. package/dist/components/solution-configure-dialog/customElement.js +2 -2
  402. package/dist/components/solution-configure-titles/customElement.js +1 -1
  403. package/dist/components/solution-contents/customElement.js +1 -1
  404. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  405. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  406. package/dist/components/solution-deployed-card/customElement.js +1 -1
  407. package/dist/components/solution-deploying-dialog/customElement.js +2 -2
  408. package/dist/components/solution-details-card/customElement.js +1 -1
  409. package/dist/components/solution-details-panel/customElement.js +1 -1
  410. package/dist/components/solution-item/customElement.js +1 -1
  411. package/dist/components/solution-item-accordion/customElement.js +1 -1
  412. package/dist/components/solution-item-details/customElement.js +1 -1
  413. package/dist/components/solution-item-diagram/customElement.js +1 -1
  414. package/dist/components/solution-item-icon/customElement.js +1 -1
  415. package/dist/components/solution-item-sharing/customElement.js +1 -1
  416. package/dist/components/solution-organization-variables/customElement.js +1 -1
  417. package/dist/components/solution-resource-item/customElement.js +1 -1
  418. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  419. package/dist/components/solution-social-share/customElement.js +1 -1
  420. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  421. package/dist/components/solution-template-data/customElement.js +1 -1
  422. package/dist/components/solution-variables/customElement.js +1 -1
  423. package/dist/components/solutions-all-panel/customElement.js +1 -1
  424. package/dist/components/solutions-all-shell/customElement.js +1 -1
  425. package/dist/components/solutions-article-panel/customElement.js +1 -1
  426. package/dist/components/solutions-articles/customElement.js +1 -1
  427. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  428. package/dist/components/solutions-deploy-app/customElement.d.ts +10 -0
  429. package/dist/components/solutions-deploy-app/customElement.js +64 -0
  430. package/dist/components/solutions-deploy-app/index.d.ts +10 -0
  431. package/dist/components/solutions-deploy-app/index.js +10 -0
  432. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  433. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  434. package/dist/components/solutions-filter-panel/customElement.js +7 -7
  435. package/dist/components/spatial-ref/customElement.js +1 -1
  436. package/dist/components/store-manager/customElement.js +1 -1
  437. package/dist/docs/api.json +143 -2
  438. package/dist/docs/docs.json +119 -2
  439. package/dist/docs/vscode.html-custom-data.json +15 -0
  440. package/dist/docs/web-types.json +44 -1
  441. package/dist/index.d.ts +19 -0
  442. package/dist/index.js +1 -1
  443. package/dist/loader.js +2 -1
  444. package/dist/types/lumina.d.ts +6 -0
  445. package/dist/types/preact.d.ts +7 -0
  446. package/dist/types/react.d.ts +8 -0
  447. package/dist/types/stencil.d.ts +6 -0
  448. package/dist/utils/interfaces.d.ts +1 -0
  449. package/package.json +1 -1
  450. package/dist/cdn/ATSKQV75.js +0 -4
  451. package/dist/cdn/I5HJNSNJ.js +0 -4
  452. package/dist/cdn/INHVYJZT.js +0 -4
  453. package/dist/cdn/JI2SAYCM.js +0 -18
  454. package/dist/cdn/K7ZA3FFC.js +0 -4
  455. package/dist/cdn/TAQN3MIW.js +0 -18
  456. package/dist/cdn/TNISXZRI.js +0 -4
  457. package/dist/cdn/UZJSQPSQ.js +0 -4
  458. package/dist/cdn/WB4LTDQP.js +0 -4
  459. package/dist/cdn/XCEMSPXE.js +0 -18
  460. package/dist/cdn/ZBCWEZ6Q.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
3
+ v1.1.0-next.20250821.1 */
4
4
  var e="WNufTOT96eMYwAik",a="https://www.arcgis.com",o="8f741b82179543fe884bed012dd5f049",s="1d3a7ed66deb47269beea05ff9afd4c1",d="solutions-deployment-first-use",r={name:"solution-deployment-app",version:"1.0",dev:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"7e2fd97553644e5f99b1129fbcee3c2e"}}},qa:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"a3beba911bd14847ada5c9ffed2a2111"}}},prod:{amazon:{userPoolID:"us-east-1:8c41b2dc-7563-403d-ba64-673b103debce",app:{id:"35a920e0e7f84680be076e57dd5cb728"}}}},t={appId:e,portalURL:a,primarySolutionsGroupId:o,agoBasedEnterpriseSolutionsGroupId:s,consoleMessageLevel:1,cookiesFirstUseVar:d,isRTL:!1,locale:"en",forceTrackingEnv:"dev",trackingEnabled:!0,telemetry:r},n=Object.freeze(Object.defineProperty({__proto__:null,agoBasedEnterpriseSolutionsGroupId:s,appId:e,consoleMessageLevel:1,cookiesFirstUseVar:d,default:t,forceTrackingEnv:"dev",isRTL:!1,locale:"en",portalURL:a,primarySolutionsGroupId:o,telemetry:r,trackingEnabled:!0},Symbol.toStringTag,{value:"Module"}));export{e as a,n as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as e}from"./R22QQKTW.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as e}from"./SPNUPQXN.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import e from"./DIUE32QA.js";import b from"./FN2WRV4R.js";import"./ACRCQUQS.js";import a from"./O7BZMNSE.js";import{a as g}from"./K22KBOKY.js";import"./K3YIW6KT.js";import{b as p}from"./3NDKI6NH.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{E as o,G as d,H as l,I as c,h as s,i as t,o as r}from"./52DTSHHU.js";import"./SAH5BHRY.js";export default $arcgis.t(([,,{i:h,t:v}])=>{var _=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-widget__heading{overflow:hidden}:host .esri-widget__heading{margin:0;overflow-x:hidden}:host .esri-widget__heading{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}:host .esri-widget__heading{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{margin-bottom:0;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)}: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",interactiveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"},a=class extends o{constructor(){super(...arguments),this._messages=g({name:"instant-apps-interactive-legend",blocking:!0}),this.isChild=!1,this.expanded=!0,this.groupLayerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=_}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=h(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages.collapse:this._messages.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return t`<header class=${`${e.interactiveLegendHeader} ${v(this.el)}`} style=${l({borderLeft:"1px solid var(--calcite-color-border-3)"})}><span><span class=${d(e.headerActionContainer)}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i} .label=${i} scale=s></calcite-action><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>`}};p("instant-apps-interactive-legend-group-legend-element-caption",a);return a},a,b,e)
3
+ v1.1.0-next.20250821.1 */
4
+ import e from"./4TB3CAKB.js";import b from"./D5P2DBSI.js";import"./OES4NJCE.js";import a from"./3JNKW4H2.js";import{a as g}from"./FZGVYT6B.js";import"./IEELFMVJ.js";import{b as p}from"./PRVCF5BX.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{E as o,G as d,H as l,I as c,h as s,i as t,o as r}from"./KFSZX7VI.js";import"./MDRGRMXD.js";export default $arcgis.t(([,,{i:h,t:v}])=>{var _=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-widget__heading{overflow:hidden}:host .esri-widget__heading{margin:0;overflow-x:hidden}:host .esri-widget__heading{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}:host .esri-widget__heading{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{margin-bottom:0;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)}: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",interactiveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"},a=class extends o{constructor(){super(...arguments),this._messages=g({name:"instant-apps-interactive-legend",blocking:!0}),this.isChild=!1,this.expanded=!0,this.groupLayerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=_}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=h(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages.collapse:this._messages.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return t`<header class=${`${e.interactiveLegendHeader} ${v(this.el)}`} style=${l({borderLeft:"1px solid var(--calcite-color-border-3)"})}><span><span class=${d(e.headerActionContainer)}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i} .label=${i} scale=s></calcite-action><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>`}};p("instant-apps-interactive-legend-group-legend-element-caption",a);return a},a,b,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as d}from"./7DM3LKUS.js";import{a as u,b as t,c as h}from"./ZP3BQCVA.js";import"./XVEEFPUJ.js";import{a as w}from"./WZMJH2DL.js";import"./SAH5BHRY.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as d}from"./UXPG2CGK.js";import{a as u,b as t,c as h}from"./M24E2NEB.js";import"./KOTCJ7Z5.js";import{a as w}from"./H56NGIIN.js";import"./MDRGRMXD.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import b from"./3HMTTM32.js";import{b as T,c as I}from"./Y6JZAFOX.js";import{mb as x,nb as $}from"./UMGOFUDS.js";import"./U2G7TTSF.js";import"./7MLPJTWX.js";import"./SQEH2DIV.js";import"./JONOM255.js";import"./IRNQSIXL.js";import"./W4HZTMNT.js";import"./FY5UZTY6.js";import"./H465VNWN.js";import"./BHNIWP2D.js";import"./XB5P4EQI.js";import"./7XT6DNUL.js";import"./EB2PKDO6.js";import"./BOKOWFEO.js";import"./EFCGDNV5.js";import"./BYDCJ4VZ.js";import"./LQACV2LW.js";import"./XVEEFPUJ.js";import"./WZMJH2DL.js";import"./TR4FJOX7.js";import{H as g}from"./67XBBPRO.js";import{a as _}from"./ZJAISNB5.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{b as m}from"./ELYCXPDG.js";import{C as c,D as u,E as f,G as l,h as p,i as a,o as r}from"./52DTSHHU.js";import"./SAH5BHRY.js";export default $arcgis.t(([{d:d}])=>{var E=p`/** @license
3
+ v1.1.0-next.20250821.1 */
4
+ import b from"./6GGPCOWX.js";import{b as T,c as I}from"./WGGU2HPZ.js";import{mb as x,nb as $}from"./NRHBU2UC.js";import"./ATL6PRR2.js";import"./Z2RKTVNS.js";import"./2RIXNG3D.js";import"./4IASNN3N.js";import"./DOLGZT4N.js";import"./ACFQRQP5.js";import"./QNZ44IUV.js";import"./WDAAZMMW.js";import"./BYFFPGXK.js";import"./3GDSE3LF.js";import"./M3SBQ24H.js";import"./Y457BW7G.js";import"./DF266WQH.js";import"./LLGKMMXR.js";import"./BMQJU4PP.js";import"./OLFKZLHH.js";import"./KOTCJ7Z5.js";import"./H56NGIIN.js";import"./GI4MCPRS.js";import{H as g}from"./CHEZWMZB.js";import{a as _}from"./CWOTJOTT.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{b as m}from"./M4G5EUVY.js";import{C as c,D as u,E as f,G as l,h as p,i as a,o as r}from"./KFSZX7VI.js";import"./MDRGRMXD.js";export default $arcgis.t(([{d:d}])=>{var E=p`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
3
+ v1.1.0-next.20250821.1 */
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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{ha as m,ib as l}from"./UMGOFUDS.js";import{v as u}from"./EFCGDNV5.js";import{H as c}from"./67XBBPRO.js";export default $arcgis.t(([])=>{function N(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}async function d(t,e){let a=e,n=await a.getUsername(),s={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:a},f=(await l(s)).results.map(r=>r.title),{folders:h}=await m(a),p=h.map(r=>r.title),i=[...f,...p].map(r=>r.trim().toLowerCase()),o=t.toLowerCase(),w=i.filter(r=>r===o),g=i.filter(r=>r.startsWith(o));return{conflictingNames:w,similiarNames:g}}async function C(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await d(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function E(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}function S(t,e,a,n){let s="";return e?s=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):s=a,s}function b(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,a){return e.some(n=>n.wkid===t?(a=n.defaultExtent,!0):!1),a}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let a="";return t.some(n=>n.startsWith(e)?(a=n.substring(e.length),!0):!1),a}return{a:N,b:d,c:C,d:k,e:E,f:x,g:S,h:b,i:A,j:D,k:F}},"intl")
3
+ v1.1.0-next.20250821.1 */
4
+ import{ha as m,ib as l}from"./NRHBU2UC.js";import{v as u}from"./LLGKMMXR.js";import{H as c}from"./CHEZWMZB.js";export default $arcgis.t(([])=>{function N(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}async function d(t,e){let a=e,n=await a.getUsername(),s={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:a},f=(await l(s)).results.map(r=>r.title),{folders:h}=await m(a),p=h.map(r=>r.title),i=[...f,...p].map(r=>r.trim().toLowerCase()),o=t.toLowerCase(),w=i.filter(r=>r===o),g=i.filter(r=>r.startsWith(o));return{conflictingNames:w,similiarNames:g}}async function C(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await d(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function E(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}function S(t,e,a,n){let s="";return e?s=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):s=a,s}function b(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,a){return e.some(n=>n.wkid===t?(a=n.defaultExtent,!0):!1),a}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let a="";return t.some(n=>n.startsWith(e)?(a=n.substring(e.length),!0):!1),a}return{a:N,b:d,c:C,d:k,e:E,f:x,g:S,h:b,i:A,j:D,k:F}},"intl")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as e}from"./NJVZY5MD.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as e}from"./CMV7WBWK.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{e as l,f as o}from"./SQEH2DIV.js";import{d as g}from"./FY5UZTY6.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
3
+ v1.1.0-next.20250821.1 */
4
+ import{e as l,f as o}from"./2RIXNG3D.js";import{d as g}from"./QNZ44IUV.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as e}from"./LLILUCX4.js";import"./GGG4CDGN.js";import"./UMGOFUDS.js";import"./U2G7TTSF.js";import"./7MLPJTWX.js";import"./SQEH2DIV.js";import"./JONOM255.js";import"./IRNQSIXL.js";import"./W4HZTMNT.js";import"./FY5UZTY6.js";import"./H465VNWN.js";import"./BHNIWP2D.js";import"./XB5P4EQI.js";import"./7XT6DNUL.js";import"./EB2PKDO6.js";import"./BOKOWFEO.js";import"./EFCGDNV5.js";import"./BYDCJ4VZ.js";import"./LQACV2LW.js";import"./XVEEFPUJ.js";import"./WZMJH2DL.js";import"./TR4FJOX7.js";import"./67XBBPRO.js";import{a as p}from"./ZJAISNB5.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{b as h}from"./ELYCXPDG.js";import{C as a,D as s,E as c,h as m,i as l,j as o,r}from"./52DTSHHU.js";import"./SAH5BHRY.js";var u=m`@layer{/** @license
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as e}from"./6Q442TOF.js";import"./PCJSDOGC.js";import"./NRHBU2UC.js";import"./ATL6PRR2.js";import"./Z2RKTVNS.js";import"./2RIXNG3D.js";import"./4IASNN3N.js";import"./DOLGZT4N.js";import"./ACFQRQP5.js";import"./QNZ44IUV.js";import"./WDAAZMMW.js";import"./BYFFPGXK.js";import"./3GDSE3LF.js";import"./M3SBQ24H.js";import"./Y457BW7G.js";import"./DF266WQH.js";import"./LLGKMMXR.js";import"./BMQJU4PP.js";import"./OLFKZLHH.js";import"./KOTCJ7Z5.js";import"./H56NGIIN.js";import"./GI4MCPRS.js";import"./CHEZWMZB.js";import{a as p}from"./CWOTJOTT.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{b as h}from"./M4G5EUVY.js";import{C as a,D as s,E as c,h as m,i as l,j as o,r}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var u=m`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as P}from"./GGG4CDGN.js";import{H as g,J as m,K as d,L as I,_b as F,ac as y,bc as v,cc as R,dc as w,e as n,ec as T,mb as b,pa as S}from"./UMGOFUDS.js";import{b as o,h as _}from"./67XBBPRO.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as P}from"./PCJSDOGC.js";import{H as g,J as m,K as d,L as I,_b as F,ac as y,bc as v,cc as R,dc as w,e as n,ec as T,mb as b,pa as S}from"./NRHBU2UC.js";import{b as o,h as _}from"./CHEZWMZB.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as O}from"./K22KBOKY.js";import{A as H,C as M,D as F,d as B,e as L}from"./K3YIW6KT.js";import{b as U}from"./3NDKI6NH.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./52DTSHHU.js";import"./SAH5BHRY.js";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-ui-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",N=".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=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),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 l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),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 p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("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=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),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(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=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=${l} .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??C} .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??C} .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=${b({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=${b({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=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);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=${b({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=${b({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=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({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=${b({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=${b({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);export{z as InstantAppsSocialShare};
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as O}from"./FZGVYT6B.js";import{A as H,C as M,D as F,d as B,e as L}from"./IEELFMVJ.js";import{b as U}from"./PRVCF5BX.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./KFSZX7VI.js";import"./MDRGRMXD.js";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-ui-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",N=".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=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),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 l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),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 p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("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=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),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(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=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=${l} .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??C} .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??C} .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=${b({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=${b({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=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);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=${b({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=${b({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=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({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=${b({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=${b({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);export{z as InstantAppsSocialShare};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{b as g}from"./DPYO4UNZ.js";import{b as m}from"./ELYCXPDG.js";import{C as d,D as p,E as u,h as o,i as l}from"./52DTSHHU.js";import"./SAH5BHRY.js";var f=o`/** @license
3
+ v1.1.0-next.20250821.1 */
4
+ import{b as g}from"./SN5SLVHN.js";import{b as m}from"./M4G5EUVY.js";import{C as d,D as p,E as u,h as o,i as l}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var f=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as E}from"./MK3RPYXC.js";import"./3NDKI6NH.js";import{a as S,c as m,d as c,e as _,f,g as x}from"./IUYH43JJ.js";import"./67XBBPRO.js";import{b as C}from"./3T3QPZTS.js";import{b as $}from"./DPYO4UNZ.js";import{a as v}from"./ZJAISNB5.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{b as I}from"./ELYCXPDG.js";import{C as n,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./52DTSHHU.js";import"./SAH5BHRY.js";var P=y`@layer{/** @license
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as E}from"./XB25R3AM.js";import"./PRVCF5BX.js";import{a as S,c as m,d as c,e as _,f,g as x}from"./AEAON7B4.js";import"./CHEZWMZB.js";import{b as C}from"./IGR3VB5D.js";import{b as $}from"./SN5SLVHN.js";import{a as v}from"./CWOTJOTT.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{b as I}from"./M4G5EUVY.js";import{C as n,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var P=y`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as n}from"./UAVULCVS.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as n}from"./MARHZKSF.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as r}from"./ZJAISNB5.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{b as o}from"./ELYCXPDG.js";import{E as n,h as l,i as a,o as i}from"./52DTSHHU.js";import"./SAH5BHRY.js";var c=l`/** @license
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as r}from"./CWOTJOTT.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{b as o}from"./M4G5EUVY.js";import{E as n,h as l,i as a,o as i}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var c=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250821.1 */
4
+ import{a,b}from"./BXP64OAM.js";import"./C7YL4M7G.js";import"./YZKSOJVU.js";import"./SPNUPQXN.js";import"./3FW5CG2V.js";import"./254IFXAY.js";import"./MDRGRMXD.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as o}from"./7XT6DNUL.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as o}from"./M3SBQ24H.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import"./SAH5BHRY.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
3
+ v1.1.0-next.20250821.1 */
4
+ import"./MDRGRMXD.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as l}from"./ZJAISNB5.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{b as o}from"./ELYCXPDG.js";import{E as n,h as r,i as a,o as s}from"./52DTSHHU.js";import"./SAH5BHRY.js";var c=r`/** @license
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as l}from"./CWOTJOTT.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{b as o}from"./M4G5EUVY.js";import{E as n,h as r,i as a,o as s}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var c=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{b as l}from"./DPYO4UNZ.js";import{b as m}from"./ELYCXPDG.js";import{C as p,D as o,E as n,h as t,i as r}from"./52DTSHHU.js";import"./SAH5BHRY.js";var h=t`/** @license
3
+ v1.1.0-next.20250821.1 */
4
+ import{b as l}from"./SN5SLVHN.js";import{b as m}from"./M4G5EUVY.js";import{C as p,D as o,E as n,h as t,i as r}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var h=t`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as I}from"./MK3RPYXC.js";import"./3NDKI6NH.js";import{d as L}from"./IUYH43JJ.js";import{a as s}from"./67XBBPRO.js";import"./3T3QPZTS.js";import{a as x}from"./ZJAISNB5.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{b as v}from"./ELYCXPDG.js";import{C as h,D as r,E as y,G as m,H as $,h as g,i as l,o as b,r as w}from"./52DTSHHU.js";import"./SAH5BHRY.js";var M=g`@layer{/** @license
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as I}from"./XB25R3AM.js";import"./PRVCF5BX.js";import{d as L}from"./AEAON7B4.js";import{a as s}from"./CHEZWMZB.js";import"./IGR3VB5D.js";import{a as x}from"./CWOTJOTT.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{b as v}from"./M4G5EUVY.js";import{C as h,D as r,E as y,G as m,H as $,h as g,i as l,o as b,r as w}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var M=g`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as d}from"./ZIL5UCFT.js";import{a as S}from"./2CEVCB6G.js";import{a as U,b as x}from"./FKJ74KL2.js";import{b as f,c as y}from"./GW66TTO2.js";import{f as M}from"./OYZEM335.js";import{d as j,g as L,h as C,i as N}from"./SQEH2DIV.js";import{m as v,n as _}from"./JONOM255.js";import"./IRNQSIXL.js";import"./W4HZTMNT.js";import"./FY5UZTY6.js";import"./X2H43HYH.js";import"./H465VNWN.js";import"./BHNIWP2D.js";import{a as O}from"./XB5P4EQI.js";import"./7XT6DNUL.js";import"./EB2PKDO6.js";import"./BOKOWFEO.js";import{s as I}from"./EFCGDNV5.js";import"./BYDCJ4VZ.js";import"./LQACV2LW.js";import"./XVEEFPUJ.js";import"./WZMJH2DL.js";import"./TR4FJOX7.js";import"./SAH5BHRY.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as d}from"./J4YCVM2C.js";import{a as S}from"./6HAKNRI4.js";import{a as U,b as x}from"./N6ZSSMWU.js";import{b as f,c as y}from"./XZBFWMKC.js";import{f as M}from"./Y2QFWRD6.js";import{d as j,g as L,h as C,i as N}from"./2RIXNG3D.js";import{m as v,n as _}from"./4IASNN3N.js";import"./DOLGZT4N.js";import"./ACFQRQP5.js";import"./QNZ44IUV.js";import"./XAFAFVWV.js";import"./WDAAZMMW.js";import"./BYFFPGXK.js";import{a as O}from"./3GDSE3LF.js";import"./M3SBQ24H.js";import"./Y457BW7G.js";import"./DF266WQH.js";import{s as I}from"./LLGKMMXR.js";import"./BMQJU4PP.js";import"./OLFKZLHH.js";import"./KOTCJ7Z5.js";import"./H56NGIIN.js";import"./GI4MCPRS.js";import"./MDRGRMXD.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as bt}from"./AFKXBLKS.js";import{a as $}from"./ZR74FN7G.js";import{a as G}from"./K22KBOKY.js";import{c as J,n as X,t as K,z as Q}from"./K3YIW6KT.js";import{b as q}from"./3NDKI6NH.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{C as m,D as d,E as j,G as h,h as W,i as c,l as V,o as z}from"./52DTSHHU.js";import{d as xt}from"./SAH5BHRY.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function v(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var x=null;function T(e={}){return x||(e.includeStyleProperties?(x=e.includeStyleProperties,x):(x=v(window.getComputedStyle(document.documentElement)),x))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function yt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function L(e,t={}){let i=t.width||yt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function b(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function y(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function F(e,t){return`data:${t};base64,${e}`}async function R(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var M={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(M[n]!=null)return M[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await R(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=F(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return M[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):b(t)}async function Mt(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return b(o)}let i=e.poster,n=y(i),r=await E(i,n,t);return b(r)}async function Ft(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Mt(e,t):u(e,HTMLIFrameElement)?Ft(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=v(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=v(e.contentDocument.body.childNodes):s=v(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=y(t),o;if(r){let p=await r(s);o=F(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function D(e){return e.search(ot)!==-1}async function k(e,t,i){if(!D(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,y(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=v(e.childNodes).map(r=>A(r,t));await Promise.all(n).then(()=>e)}async function A(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),R(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{v(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(w=>ht(w,t)).then(w=>dt(w).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(wt){console.error("Error inserting rule from remote css",{rule:I,error:wt})}})).catch(w=>{console.error("Error loading remote css",w.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{v(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>D(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=v(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as bt}from"./3P6SAGHA.js";import{a as $}from"./UXF7OIZX.js";import{a as G}from"./FZGVYT6B.js";import{c as J,n as X,t as K,z as Q}from"./IEELFMVJ.js";import{b as q}from"./PRVCF5BX.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{C as m,D as d,E as j,G as h,h as W,i as c,l as V,o as z}from"./KFSZX7VI.js";import{d as xt}from"./MDRGRMXD.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function v(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var x=null;function T(e={}){return x||(e.includeStyleProperties?(x=e.includeStyleProperties,x):(x=v(window.getComputedStyle(document.documentElement)),x))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function yt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function L(e,t={}){let i=t.width||yt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function b(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function y(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function F(e,t){return`data:${t};base64,${e}`}async function R(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var M={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(M[n]!=null)return M[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await R(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=F(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return M[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):b(t)}async function Mt(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return b(o)}let i=e.poster,n=y(i),r=await E(i,n,t);return b(r)}async function Ft(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Mt(e,t):u(e,HTMLIFrameElement)?Ft(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=v(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=v(e.contentDocument.body.childNodes):s=v(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=y(t),o;if(r){let p=await r(s);o=F(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function D(e){return e.search(ot)!==-1}async function k(e,t,i){if(!D(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,y(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=v(e.childNodes).map(r=>A(r,t));await Promise.all(n).then(()=>e)}async function A(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),R(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{v(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(w=>ht(w,t)).then(w=>dt(w).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(wt){console.error("Error inserting rule from remote css",{rule:I,error:wt})}})).catch(w=>{console.error("Error loading remote css",w.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{v(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>D(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=v(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
5
5
  `)}async function gt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await mt(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function ee(e,t={}){let{width:i,height:n}=L(e,t),r=await P(e,t,!0);return await gt(r,t),await A(r,t),pt(r,t),await et(r,i,n)}async function ft(e,t={}){let{width:i,height:n}=L(e,t),r=await ee(e,t),s=await b(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||N(),f=t.canvasWidth||i,w=t.canvasHeight||n;return a.width=f*p,a.height=w*p,t.skipAutoScale||tt(a),a.style.width=`${f}`,a.style.height=`${w}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function vt(e,t={}){return(await ft(e,t)).toDataURL()}async function B(e,t={}){return(await ft(e,t)).toDataURL("image/jpeg",t.quality||1)}var U=xt(bt(),1);var ie=`
6
6
  @media print {
7
7
  @page {
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a}from"./AFKXBLKS.js";import"./SAH5BHRY.js";export default a();
3
+ v1.1.0-next.20250821.1 */
4
+ import{a}from"./3P6SAGHA.js";import"./MDRGRMXD.js";export default 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250819 */
4
- import{a as g}from"./ZJAISNB5.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{b as p}from"./ELYCXPDG.js";import{E as u,I as s,h as l,i as c,r as h}from"./52DTSHHU.js";import"./SAH5BHRY.js";var b=l`@layer{/** @license
3
+ v1.1.0-next.20250821.1 */
4
+ import{a as g}from"./CWOTJOTT.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{b as p}from"./M4G5EUVY.js";import{E as u,I as s,h as l,i as c,r as h}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var b=l`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");