@esri/solutions-components 1.1.0-next.20250911.2 → 1.1.0-next.20250915

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 (575) hide show
  1. package/dist/cdn/{YAQDLWIH.js → 24WEMWBB.js} +2 -2
  2. package/dist/cdn/{DVAGFDDK.js → 2B76DKA5.js} +2 -2
  3. package/dist/cdn/{FVW6IAZX.js → 2BF6AFF4.js} +2 -2
  4. package/dist/cdn/2ELL72QQ.js +4 -0
  5. package/dist/cdn/{DTLIRFON.js → 2GD3OV76.js} +2 -2
  6. package/dist/cdn/{4GLVTBLS.js → 2JIP2VFM.js} +2 -2
  7. package/dist/cdn/{NRRM4ZKX.js → 2KF645QK.js} +2 -2
  8. package/dist/cdn/{YH5LZKSP.js → 2O3I4FLG.js} +1 -1
  9. package/dist/cdn/2O4CTKN6.js +4 -0
  10. package/dist/cdn/{JWBPC5LQ.js → 2TR6SF3E.js} +2 -2
  11. package/dist/cdn/{SPZFZLTC.js → 2W5MR3Y3.js} +1 -1
  12. package/dist/cdn/{PEFVFAUS.js → 2YAE2VPK.js} +2 -2
  13. package/dist/cdn/{KE7B6EJ7.js → 33OZGVVE.js} +2 -2
  14. package/dist/cdn/{SW6PCDQR.js → 34MOART5.js} +2 -2
  15. package/dist/cdn/{3VW7GINP.js → 3DWPYRJF.js} +2 -2
  16. package/dist/cdn/{UL4K3TEK.js → 3H7OAAPN.js} +2 -2
  17. package/dist/cdn/{M5DODFXN.js → 3HOWHIR4.js} +1 -1
  18. package/dist/cdn/{652RXIXT.js → 3NX7LAGT.js} +2 -2
  19. package/dist/cdn/{625F6UTS.js → 3QRDV7A2.js} +2 -2
  20. package/dist/cdn/{X4FO5WY5.js → 3SHNMGNE.js} +2 -2
  21. package/dist/cdn/{ZEDQ72KB.js → 3TKXMNN5.js} +2 -2
  22. package/dist/cdn/{GGUV3WL7.js → 3WT7VZ5K.js} +2 -2
  23. package/dist/cdn/{BGLA6JTF.js → 3YCYS6UB.js} +1 -1
  24. package/dist/cdn/{TEVDJQRA.js → 3ZVJRN4S.js} +1 -1
  25. package/dist/cdn/{423XDLXY.js → 43P7Z5UZ.js} +2 -2
  26. package/dist/cdn/{VQ5K2ZRH.js → 43T4YZJC.js} +2 -2
  27. package/dist/cdn/{SNRZBSNS.js → 4CAPXBCZ.js} +2 -2
  28. package/dist/cdn/4G52MAZB.js +4 -0
  29. package/dist/cdn/{NRZOM7WH.js → 4JVNUQ4S.js} +2 -2
  30. package/dist/cdn/{GAI6NOBN.js → 4M36Z23I.js} +2 -2
  31. package/dist/cdn/{FQIN5IN3.js → 4QPGV53Y.js} +2 -2
  32. package/dist/cdn/{7QDQDNIG.js → 4U264RM5.js} +2 -2
  33. package/dist/cdn/{HASJRYAV.js → 4Y3HIEKG.js} +2 -2
  34. package/dist/cdn/{UJRSZU3W.js → 52SWRWFF.js} +2 -2
  35. package/dist/cdn/{DWTJ4XUX.js → 52X6RU6Y.js} +2 -2
  36. package/dist/cdn/{YDEVYMZ2.js → 54VXW7RM.js} +1 -1
  37. package/dist/cdn/{FN75WUH2.js → 554U5V7U.js} +2 -2
  38. package/dist/cdn/5BRYQYLS.js +4 -0
  39. package/dist/cdn/{NEJI5QW6.js → 5I5NLBAL.js} +2 -2
  40. package/dist/cdn/{UMX3ZFNX.js → 5LYU2PBU.js} +2 -2
  41. package/dist/cdn/{UQY4RWWT.js → 5MPYPYOJ.js} +2 -2
  42. package/dist/cdn/{WFZT3XAI.js → 5N2YFURQ.js} +2 -2
  43. package/dist/cdn/{4NZC636H.js → 5NZIN72T.js} +2 -2
  44. package/dist/cdn/{YVSHOV3G.js → 5PV5TOZF.js} +3 -3
  45. package/dist/cdn/{PRO5YTTB.js → 5TXH33N7.js} +2 -2
  46. package/dist/cdn/{ET7BFDTD.js → 5XH676RD.js} +1 -1
  47. package/dist/cdn/{UQFPIFA7.js → 64Y7QLNE.js} +2 -2
  48. package/dist/cdn/{DUIBMXZM.js → 6BNS2CCK.js} +2 -2
  49. package/dist/cdn/{AR7S42BQ.js → 6CBWE63Y.js} +2 -2
  50. package/dist/cdn/{E5LWTUJM.js → 6EP5NBHV.js} +2 -2
  51. package/dist/cdn/{534QDBAQ.js → 6L2WVKHI.js} +2 -2
  52. package/dist/cdn/{7F63WMPE.js → 6RTNFNIJ.js} +2 -2
  53. package/dist/cdn/{4XEBKLU2.js → 6SKRQBTY.js} +2 -2
  54. package/dist/cdn/{5EMTFT4K.js → 6X2IRYAJ.js} +2 -2
  55. package/dist/cdn/{IVUTQ2WB.js → 747EZYUX.js} +2 -2
  56. package/dist/cdn/{W57M64Z5.js → 7DYTAA74.js} +2 -2
  57. package/dist/cdn/{6HEFYILX.js → 7FPCXDBU.js} +1 -1
  58. package/dist/cdn/{LOFOYFYB.js → 7HH27IGN.js} +2 -2
  59. package/dist/cdn/{PFRBRXPQ.js → 7LQJB2M5.js} +2 -2
  60. package/dist/cdn/7O6Z4LR2.js +18 -0
  61. package/dist/cdn/{5MDH25UU.js → 7VI5VLTH.js} +1 -1
  62. package/dist/cdn/{HAGL5MC2.js → 7YU27J5R.js} +2 -2
  63. package/dist/cdn/{3H2ONS2E.js → A3R52H33.js} +2 -2
  64. package/dist/cdn/{XEB4CP6T.js → ABXNJUFZ.js} +2 -2
  65. package/dist/cdn/{PL2XGMQD.js → AFKCUCRE.js} +2 -2
  66. package/dist/cdn/{6EAV5JJ4.js → AQ6ZRWV5.js} +2 -2
  67. package/dist/cdn/{UN5RJRL2.js → AUKR4VAD.js} +2 -2
  68. package/dist/cdn/{YX6ITC3Y.js → AWLU3N2J.js} +2 -2
  69. package/dist/cdn/{X63Q5IVG.js → B24ZIWX6.js} +2 -2
  70. package/dist/cdn/{CF4XXPBR.js → B3AHFNAI.js} +2 -2
  71. package/dist/cdn/{DJIVAYXP.js → B465E4NZ.js} +4 -4
  72. package/dist/cdn/{TJDQLK7G.js → BB2XXRZT.js} +2 -2
  73. package/dist/cdn/{SCVZQMZ5.js → BKRAZQCY.js} +2 -2
  74. package/dist/cdn/{AYKWMJXC.js → BPM67OHZ.js} +2 -2
  75. package/dist/cdn/{XMEJ6JVV.js → BPZ7FHPG.js} +2 -2
  76. package/dist/cdn/BQGUX5P7.js +18 -0
  77. package/dist/cdn/{DSTSUTNU.js → BTENZPBH.js} +2 -2
  78. package/dist/cdn/{LVIAV5QR.js → BU2ZZSPK.js} +2 -2
  79. package/dist/cdn/{M7CHTU5E.js → BV6GJRBS.js} +2 -2
  80. package/dist/cdn/BXOFLEI3.js +4 -0
  81. package/dist/cdn/{6AGEFCYB.js → BZ6REBIQ.js} +2 -2
  82. package/dist/cdn/{KLRHMKZS.js → BZLB3MYY.js} +2 -2
  83. package/dist/cdn/{ZAQCMLF4.js → C5ULGWBN.js} +2 -2
  84. package/dist/cdn/{ZHIF66KC.js → C5WHRSAD.js} +2 -2
  85. package/dist/cdn/{DHLILBFE.js → C7ZTTH6V.js} +2 -2
  86. package/dist/cdn/{4Q57777R.js → CBP7V4DB.js} +1 -1
  87. package/dist/cdn/{MCPYVHWV.js → CHNL3NJM.js} +2 -2
  88. package/dist/cdn/{2RMZE6TC.js → CIXOAO4C.js} +2 -2
  89. package/dist/cdn/{J2RSNIGV.js → CJREEK3X.js} +2 -2
  90. package/dist/cdn/{M33KJNWN.js → CLTJE2FJ.js} +2 -2
  91. package/dist/cdn/{YIW2NPTV.js → CQFSXIPT.js} +2 -2
  92. package/dist/cdn/{RX7FCRXL.js → CTIGHZPQ.js} +2 -2
  93. package/dist/cdn/{IF7UHJAR.js → CVF7IBRZ.js} +1 -1
  94. package/dist/cdn/{JCX7NDVY.js → CVXTK3O5.js} +2 -2
  95. package/dist/cdn/{YMU6CVCY.js → CWFZ73CC.js} +2 -2
  96. package/dist/cdn/{SHYRK7HE.js → D5C4GXTW.js} +1 -1
  97. package/dist/cdn/{AS4N6LTM.js → D6UTQG2Q.js} +2 -2
  98. package/dist/cdn/{VUPSMPY2.js → DC37HN4X.js} +2 -2
  99. package/dist/cdn/{GB6MUB2B.js → DIN3AWD3.js} +2 -2
  100. package/dist/cdn/{7MKK4E56.js → DIW7XXPI.js} +2 -2
  101. package/dist/cdn/{IABTIHGI.js → DK2HMUHG.js} +2 -2
  102. package/dist/cdn/{VCF5ECOP.js → DMWQJEFQ.js} +2 -2
  103. package/dist/cdn/{J7O5VJDT.js → DPWET3UD.js} +1 -1
  104. package/dist/cdn/{YU573OZL.js → DTOSVUFP.js} +2 -2
  105. package/dist/cdn/{5YLPXC3Y.js → DTTFO72X.js} +2 -2
  106. package/dist/cdn/{7L4FXHUD.js → DWXTL5ZE.js} +2 -2
  107. package/dist/cdn/{FUJF2Z35.js → DYSXN5N2.js} +2 -2
  108. package/dist/cdn/{A7KL7OUO.js → DZE4BNML.js} +2 -2
  109. package/dist/cdn/{7B2LY6UV.js → DZR2ZVKF.js} +2 -2
  110. package/dist/cdn/{XXR767KI.js → E2WVQW3B.js} +1 -1
  111. package/dist/cdn/{SCY6BW5I.js → E3YJDDLZ.js} +2 -2
  112. package/dist/cdn/{VNPSHP4E.js → EBPG5BUM.js} +2 -2
  113. package/dist/cdn/{HM7C4ICO.js → EGKDTFGX.js} +2 -2
  114. package/dist/cdn/{OKIDHS5M.js → EPTSSPKZ.js} +2 -2
  115. package/dist/cdn/{VP7WLWWE.js → ERUDGHKS.js} +3 -3
  116. package/dist/cdn/{L36IZTJY.js → EVZCCTG3.js} +2 -2
  117. package/dist/cdn/{P4ODMYQB.js → EYDRPC6N.js} +2 -2
  118. package/dist/cdn/{ATB53ZKP.js → F2F4ZQWX.js} +2 -2
  119. package/dist/cdn/{JYVVTI7Y.js → F3INRHT2.js} +2 -2
  120. package/dist/cdn/{V5WZRUNS.js → F67QHOP4.js} +2 -2
  121. package/dist/cdn/{WSRA6XTH.js → FAWBPCVS.js} +1 -1
  122. package/dist/cdn/{IOLMZX66.js → FBSBX444.js} +2 -2
  123. package/dist/cdn/FC7ZE2XZ.js +4 -0
  124. package/dist/cdn/{A7EIQKXY.js → FIETUKBQ.js} +2 -2
  125. package/dist/cdn/{BE4VGAQ6.js → FM22R4L2.js} +2 -2
  126. package/dist/cdn/{MW3KDKSA.js → FMZMXI2O.js} +2 -2
  127. package/dist/cdn/{HF4ZVPTQ.js → FRMQDHMM.js} +2 -2
  128. package/dist/cdn/{EXUFMUTQ.js → FTC6VYO7.js} +2 -2
  129. package/dist/cdn/{7F3GV2VG.js → FULFGP3F.js} +2 -2
  130. package/dist/cdn/{F2BWJE75.js → FUZFO4ET.js} +2 -2
  131. package/dist/cdn/{MRIJEWVG.js → FWBI5EQX.js} +2 -2
  132. package/dist/cdn/{G763EUK4.js → G3UBU3M4.js} +3 -3
  133. package/dist/cdn/{EHOYB4HE.js → G72OGPYS.js} +2 -2
  134. package/dist/cdn/{P4OEWYQH.js → G7ZNHQH6.js} +2 -2
  135. package/dist/cdn/{DGQPGBON.js → GAM273SE.js} +2 -2
  136. package/dist/cdn/{FLYG2DDR.js → GDE5GUJD.js} +2 -2
  137. package/dist/cdn/{LYTMNBSS.js → GDY6I5QI.js} +2 -2
  138. package/dist/cdn/{QZ5TADRQ.js → GGTJ2V7O.js} +2 -2
  139. package/dist/cdn/{R6UKAFVG.js → GH3OEHVC.js} +2 -2
  140. package/dist/cdn/{LXTE5TEF.js → GLPZIBSK.js} +2 -2
  141. package/dist/cdn/{VJR7P6BV.js → GOMGY6VX.js} +2 -2
  142. package/dist/cdn/GS6YC5SA.js +4 -0
  143. package/dist/cdn/{QGW2FJDB.js → GSO7UB5E.js} +2 -2
  144. package/dist/cdn/{4WZM547K.js → H63J57Z5.js} +2 -2
  145. package/dist/cdn/{ZYLLH7BH.js → H7QFV5L4.js} +2 -2
  146. package/dist/cdn/{P7YRW4KH.js → H7VSUZDL.js} +2 -2
  147. package/dist/cdn/{B44OKJQC.js → HA667NBN.js} +2 -2
  148. package/dist/cdn/{OB4UZUS3.js → HHQKCUBH.js} +2 -2
  149. package/dist/cdn/{3QUP66X5.js → HVQAR2E4.js} +2 -2
  150. package/dist/cdn/{HF2OV5H6.js → I4FOJIV2.js} +2 -2
  151. package/dist/cdn/{5W2FD4M5.js → I57JS754.js} +3 -3
  152. package/dist/cdn/{KWNHBLCT.js → I5FEIMM2.js} +2 -2
  153. package/dist/cdn/{YCRRPNZJ.js → IAHRU6NV.js} +2 -2
  154. package/dist/cdn/{R5S5NMIA.js → IAWHL6FD.js} +2 -2
  155. package/dist/cdn/IBQGAAUZ.js +18 -0
  156. package/dist/cdn/{AXK7QP5J.js → IJQLFEY3.js} +2 -2
  157. package/dist/cdn/{AD4A4N4U.js → INK7B5PP.js} +2 -2
  158. package/dist/cdn/{XGGTGACU.js → IR2BRY4W.js} +2 -2
  159. package/dist/cdn/IUSLEM2V.js +18 -0
  160. package/dist/cdn/{ZC2BQBII.js → IWMXRAFT.js} +2 -2
  161. package/dist/cdn/{O5SXHKPM.js → IX7EEQBB.js} +2 -2
  162. package/dist/cdn/{QO6TTYYN.js → IZUKMU3I.js} +2 -2
  163. package/dist/cdn/{ZZ6EPPLQ.js → J2YPNPEB.js} +2 -2
  164. package/dist/cdn/{SSJKYZYV.js → J4ZQABGE.js} +2 -2
  165. package/dist/cdn/{IDITN77F.js → J5PVPWD7.js} +1 -1
  166. package/dist/cdn/{5V2TKTC3.js → JEQPY42O.js} +2 -2
  167. package/dist/cdn/{4FKMIMIE.js → JM6PROVK.js} +1 -1
  168. package/dist/cdn/{SFDBXOOG.js → JWCKTXFY.js} +2 -2
  169. package/dist/cdn/{ND2PYDKI.js → JZANALRQ.js} +1 -1
  170. package/dist/cdn/{MNBSCGTH.js → K6IML5XN.js} +2 -2
  171. package/dist/cdn/{U7CERHPP.js → KAFNY5XJ.js} +6 -6
  172. package/dist/cdn/{FMNW55YT.js → KL73F75A.js} +2 -2
  173. package/dist/cdn/{3QT7BIV3.js → KNL65BH7.js} +2 -2
  174. package/dist/cdn/{NFIBYZAV.js → KUQG7TIF.js} +2 -2
  175. package/dist/cdn/KZIBJ327.js +4 -0
  176. package/dist/cdn/{XXDDHD56.js → L7UNA7PC.js} +2 -2
  177. package/dist/cdn/{QZ5JMA34.js → LBQEFNUG.js} +2 -2
  178. package/dist/cdn/{U5FOT3KO.js → LE7ZPHC2.js} +2 -2
  179. package/dist/cdn/{XKVQI6NZ.js → LEZUMLIY.js} +2 -2
  180. package/dist/cdn/{S3T6DKUX.js → LFPN3OJD.js} +2 -2
  181. package/dist/cdn/{VSN3MCJF.js → LJ3R5BVX.js} +2 -2
  182. package/dist/cdn/{2L7PEA7U.js → LPOISRVW.js} +1 -1
  183. package/dist/cdn/{QZLIH56L.js → LQIJAYRB.js} +2 -2
  184. package/dist/cdn/{JRCPPBWZ.js → LSC5CSFE.js} +2 -2
  185. package/dist/cdn/{HVQVHADU.js → LYMB24SH.js} +2 -2
  186. package/dist/cdn/{2BTYUMLK.js → LZTP3XNG.js} +2 -2
  187. package/dist/cdn/{K7M5CHTQ.js → LZY7JLPB.js} +1 -1
  188. package/dist/cdn/{BU6CLZMJ.js → M345Q3JY.js} +1 -1
  189. package/dist/cdn/{RH5HB2BT.js → M6CD4BN4.js} +2 -2
  190. package/dist/cdn/{AWMXLOE7.js → MBEFN76N.js} +2 -2
  191. package/dist/cdn/{MP2SEKNA.js → MD4RVIGQ.js} +2 -2
  192. package/dist/cdn/{4EIOWWRF.js → MEMR4GNS.js} +2 -2
  193. package/dist/cdn/{GWPT2ICC.js → MEXAQA6P.js} +2 -2
  194. package/dist/cdn/{DG6M3ZU4.js → MHSQGWNM.js} +2 -2
  195. package/dist/cdn/{4G6R7HJV.js → MQRCPT57.js} +2 -2
  196. package/dist/cdn/{PRSEXVB4.js → MTV7ZBRP.js} +2 -2
  197. package/dist/cdn/MVI3SE2O.js +4 -0
  198. package/dist/cdn/{O724AAAL.js → MVURGASL.js} +1 -1
  199. package/dist/cdn/{FH4WJC25.js → MYFMH7UI.js} +2 -2
  200. package/dist/cdn/{HGB2ZKH5.js → N6HTM2LL.js} +1 -1
  201. package/dist/cdn/{QOAI6EA2.js → NAIFE5KD.js} +2 -2
  202. package/dist/cdn/{EVH6ZOGW.js → NEOQRUZM.js} +2 -2
  203. package/dist/cdn/{LPL2LQ5B.js → NFZIWCDB.js} +2 -2
  204. package/dist/cdn/{ZGOLN2TZ.js → NN54EVBL.js} +2 -2
  205. package/dist/cdn/{2C7SCE4V.js → NOT567RZ.js} +2 -2
  206. package/dist/cdn/{LZXSNZEG.js → NRGEWVDW.js} +2 -2
  207. package/dist/cdn/{BWJW6NOF.js → NRH3NXW5.js} +2 -2
  208. package/dist/cdn/{4FXTY4UZ.js → NVF5XUDU.js} +1 -1
  209. package/dist/cdn/{BHPA7WHD.js → NVYNDM5T.js} +2 -2
  210. package/dist/cdn/{S4TIHVZI.js → NYKV7RVI.js} +2 -2
  211. package/dist/cdn/{AWMWRRNB.js → NYPLUO44.js} +2 -2
  212. package/dist/cdn/{ZTZWSNFW.js → O27CKSUF.js} +2 -2
  213. package/dist/cdn/{OFLFBFEA.js → O6GZZYGL.js} +2 -2
  214. package/dist/cdn/{KQXXZPWB.js → OANTUAWC.js} +1 -1
  215. package/dist/cdn/{R6YCPKFS.js → OEWNFNJP.js} +2 -2
  216. package/dist/cdn/{XLVGX5QG.js → OF5DYRGZ.js} +2 -2
  217. package/dist/cdn/{OF2TUOXE.js → OMW3P6KC.js} +3 -3
  218. package/dist/cdn/{YMO5WE7P.js → OMZI42F4.js} +2 -2
  219. package/dist/cdn/ONCS5JRG.js +18 -0
  220. package/dist/cdn/{NHGKXIPR.js → OSCIUHW7.js} +2 -2
  221. package/dist/cdn/{TGO42WNV.js → OWDEQZVO.js} +2 -2
  222. package/dist/cdn/{2DBFWM3J.js → OWJDYP3O.js} +2 -2
  223. package/dist/cdn/OYEAXGFO.js +4 -0
  224. package/dist/cdn/{EIJFIHHL.js → P2PG5QJM.js} +2 -2
  225. package/dist/cdn/{7EYIHL3E.js → P3SMBYX7.js} +2 -2
  226. package/dist/cdn/{MNG4ZG3D.js → PCA7YS3N.js} +2 -2
  227. package/dist/cdn/{BGUPQWXL.js → PF36LRKG.js} +1 -1
  228. package/dist/cdn/{SJVWZRHI.js → PGKF77NJ.js} +2 -2
  229. package/dist/cdn/{OQS7FURR.js → PMBAX5SP.js} +2 -2
  230. package/dist/cdn/{NXOVSG5D.js → PNLJZHIL.js} +2 -2
  231. package/dist/cdn/{ST2OKDZ4.js → PP25P7GZ.js} +2 -2
  232. package/dist/cdn/{23T25PXM.js → PPZAKW2A.js} +2 -2
  233. package/dist/cdn/{SJMKD3XJ.js → PY2P2XUG.js} +1 -1
  234. package/dist/cdn/{ZVEIDXJX.js → PYLMEGHL.js} +2 -2
  235. package/dist/cdn/{GQCWPPLN.js → QBPKYOSC.js} +2 -2
  236. package/dist/cdn/{WG2RTAQY.js → QHKT65DL.js} +2 -2
  237. package/dist/cdn/{KNPOCWWF.js → QJLTXY2W.js} +2 -2
  238. package/dist/cdn/{V7R32KZG.js → QKQFLJEW.js} +1 -1
  239. package/dist/cdn/{5FYALSB7.js → QOA7NOWP.js} +2 -2
  240. package/dist/cdn/{YLSDC4BQ.js → QUOZ5XI4.js} +2 -2
  241. package/dist/cdn/{OWZPVOBY.js → QWOZUBAK.js} +1 -1
  242. package/dist/cdn/{OZYNCKYO.js → QYDVDKFC.js} +2 -2
  243. package/dist/cdn/{O6UST32T.js → QYXJP2QM.js} +2 -2
  244. package/dist/cdn/QZPHWFTI.js +4 -0
  245. package/dist/cdn/{XCAWHB7I.js → R6D2UIFA.js} +1 -1
  246. package/dist/cdn/{KJVRMIBD.js → R6YBFWZ5.js} +2 -2
  247. package/dist/cdn/{S4J4KHRF.js → RCOZSAP5.js} +2 -2
  248. package/dist/cdn/{6JIZ4XBP.js → RFTRNEXX.js} +2 -2
  249. package/dist/cdn/{ZMNVUH2F.js → RHWSOXL7.js} +2 -2
  250. package/dist/cdn/{L3QYFMKB.js → RIQ5GCQE.js} +2 -2
  251. package/dist/cdn/{5IUFSIDX.js → RJELXVPN.js} +2 -2
  252. package/dist/cdn/{6D4HQ7M2.js → RJV33UI7.js} +1 -1
  253. package/dist/cdn/{X377VEMR.js → RPDAAN6N.js} +2 -2
  254. package/dist/cdn/{Y435VSDF.js → RQ2BC273.js} +2 -2
  255. package/dist/cdn/{LEA72LQK.js → RRA3677S.js} +2 -2
  256. package/dist/cdn/{MEZPIRT2.js → RXUZ677T.js} +2 -2
  257. package/dist/cdn/{SXRWHCQ4.js → S7FXMP4M.js} +2 -2
  258. package/dist/cdn/{4LG3PE5J.js → SHA4H2QF.js} +1 -1
  259. package/dist/cdn/{ECCUBDV6.js → SHZOCTGS.js} +2 -2
  260. package/dist/cdn/SI7LT3DJ.js +18 -0
  261. package/dist/cdn/{CTUSQXMB.js → SSE44XDG.js} +2 -2
  262. package/dist/cdn/{SIOGNWC6.js → ST5GR3B7.js} +2 -2
  263. package/dist/cdn/{ZFMWIEGQ.js → SUEDCHYV.js} +1 -1
  264. package/dist/cdn/{AWZ2L6P4.js → SXXGRJ55.js} +2 -2
  265. package/dist/cdn/{2GQADZED.js → SYMQ5NR5.js} +2 -2
  266. package/dist/cdn/{NLAFKJ2E.js → T66H724J.js} +2 -2
  267. package/dist/cdn/{PCSVUFBN.js → TBF22CD2.js} +2 -2
  268. package/dist/cdn/{YPTI53FA.js → TBHWKNIX.js} +2 -2
  269. package/dist/cdn/TEFSOEWM.js +18 -0
  270. package/dist/cdn/{TD3XU55Q.js → TGD3L47P.js} +1 -1
  271. package/dist/cdn/{AJIMU7O4.js → THV5RN7W.js} +2 -2
  272. package/dist/cdn/{GUDOYAJ4.js → TKDIFYNA.js} +2 -2
  273. package/dist/cdn/{L5UT6SUW.js → TLMN445W.js} +1 -1
  274. package/dist/cdn/{L6ZAMSWA.js → TQFGT2Z6.js} +2 -2
  275. package/dist/cdn/{NBSBX63J.js → TTCVHUHL.js} +2 -2
  276. package/dist/cdn/{K4IX2BB7.js → TV2CRYVT.js} +2 -2
  277. package/dist/cdn/{4WAESXJG.js → TVFADKE5.js} +2 -2
  278. package/dist/cdn/{V3AZDL3Q.js → U726BBFJ.js} +2 -2
  279. package/dist/cdn/{NTTQO4LF.js → U7VMANWD.js} +2 -2
  280. package/dist/cdn/{A7UXYWNK.js → UA7VEQFE.js} +2 -2
  281. package/dist/cdn/{TCFCLE53.js → UGP5UJAO.js} +2 -2
  282. package/dist/cdn/{2NFSMO4K.js → UIJNBZYV.js} +2 -2
  283. package/dist/cdn/{DBLPNJCC.js → UJN2CDCQ.js} +2 -2
  284. package/dist/cdn/{S4SYUQWF.js → UKSGTKSQ.js} +2 -2
  285. package/dist/cdn/{LSBH2RQL.js → UOH6R7FF.js} +2 -2
  286. package/dist/cdn/{GUZFVIC6.js → UZXXJ4QO.js} +2 -2
  287. package/dist/cdn/{GBL74D5O.js → VCIGEEKK.js} +2 -2
  288. package/dist/cdn/{HK6RVKL5.js → VCKTEL4E.js} +2 -2
  289. package/dist/cdn/{3V7CDAW4.js → VFCZINSW.js} +2 -2
  290. package/dist/cdn/{CC2IBTVB.js → VHCAYK6B.js} +1 -1
  291. package/dist/cdn/{5PWMGYZG.js → VLI5PG45.js} +1 -1
  292. package/dist/cdn/{Y4M5C6YU.js → VMVI7FJX.js} +2 -2
  293. package/dist/cdn/{IAH236ZP.js → VNDM3KKW.js} +2 -2
  294. package/dist/cdn/{AIB25UJ5.js → VNWIC45J.js} +2 -2
  295. package/dist/cdn/{JOJEPUUR.js → VP4DOUM5.js} +2 -2
  296. package/dist/cdn/{PYTMYLTL.js → VPL5B365.js} +2 -2
  297. package/dist/cdn/{B3TNANEX.js → VVY2D54K.js} +2 -2
  298. package/dist/cdn/{7JJ55RBG.js → VWIBF6IK.js} +2 -2
  299. package/dist/cdn/{VKWASFD4.js → VXLBZ2KY.js} +2 -2
  300. package/dist/cdn/{RYE2NS44.js → W5JM3M4N.js} +1 -1
  301. package/dist/cdn/{TCOUPEPD.js → WFG3UMPY.js} +2 -2
  302. package/dist/cdn/{FDUGCC34.js → WQCAU57J.js} +2 -2
  303. package/dist/cdn/{6G2PI2MU.js → WSKRZ2VB.js} +2 -2
  304. package/dist/cdn/{3QPGK5W4.js → WSONMJYT.js} +2 -2
  305. package/dist/cdn/{C7LU5E2N.js → WTTBTH3S.js} +2 -2
  306. package/dist/cdn/{ZHBZCVEI.js → WYODTBXK.js} +2 -2
  307. package/dist/cdn/{XTWIZPJI.js → WZCKREGS.js} +2 -2
  308. package/dist/cdn/{EYWF2YAH.js → X2WF7UZF.js} +2 -2
  309. package/dist/cdn/{C5X2ZRMN.js → X6PCML64.js} +2 -2
  310. package/dist/cdn/{RSXSF7MJ.js → XAX4WSHD.js} +2 -2
  311. package/dist/cdn/{ARM3EG66.js → XY7OA6LX.js} +2 -2
  312. package/dist/cdn/{QLKWPXJR.js → XYDZNT2T.js} +2 -2
  313. package/dist/cdn/{YZU3OLOE.js → XYF6PP7G.js} +2 -2
  314. package/dist/cdn/{Y52HMXKU.js → Y3OYGD2U.js} +2 -2
  315. package/dist/cdn/{5F6FAGVF.js → Y4PAHUUQ.js} +2 -2
  316. package/dist/cdn/{46TLWAGR.js → YBZOD3V6.js} +2 -2
  317. package/dist/cdn/{RKCK7RBY.js → YCJJR6TE.js} +2 -2
  318. package/dist/cdn/{LOYE4TGK.js → YICWTZ66.js} +2 -2
  319. package/dist/cdn/{WF3JXYL3.js → YLEBBIEI.js} +2 -2
  320. package/dist/cdn/{SCMDZPD5.js → YMY4S52N.js} +2 -2
  321. package/dist/cdn/YN7A75XN.js +4 -0
  322. package/dist/cdn/{KGCOTPXS.js → YOPX3JNC.js} +2 -2
  323. package/dist/cdn/{KVUHCDCE.js → YSQ35TL6.js} +2 -2
  324. package/dist/cdn/{ZF42G2JC.js → YSTCZGU5.js} +2 -2
  325. package/dist/cdn/{YKFCUCEU.js → YUQRZT7V.js} +2 -2
  326. package/dist/cdn/{RUUJR35M.js → YW5EOAOB.js} +1 -1
  327. package/dist/cdn/{PTTXJVNC.js → Z3XMONKF.js} +2 -2
  328. package/dist/cdn/{JU4FWB4Y.js → Z4EC5CR5.js} +2 -2
  329. package/dist/cdn/{SI2RCG3D.js → ZAL6OLCR.js} +2 -2
  330. package/dist/cdn/{DRDHC6JP.js → ZEBUKVPN.js} +2 -2
  331. package/dist/cdn/{JQJTOKRA.js → ZEGW7ZUH.js} +2 -2
  332. package/dist/cdn/{DIPB3EE3.js → ZFLCULL4.js} +2 -2
  333. package/dist/cdn/{HAG4JRWN.js → ZGQHJCEP.js} +2 -2
  334. package/dist/cdn/{WRBC72YE.js → ZI52D7B4.js} +2 -2
  335. package/dist/cdn/{VNIUIIFM.js → ZKOTX3YN.js} +2 -2
  336. package/dist/cdn/{QQGMGBKF.js → ZNV2KGHK.js} +1 -1
  337. package/dist/cdn/{7NH4HSMI.js → ZOCVGJ3B.js} +2 -2
  338. package/dist/cdn/{HWRTCJII.js → ZP6TWN56.js} +2 -2
  339. package/dist/cdn/{V3SHEJRF.js → ZPZX43FS.js} +2 -2
  340. package/dist/cdn/{N3EJWHNC.js → ZTVSSUEV.js} +2 -2
  341. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ar.json +1 -1
  342. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bg.json +1 -1
  343. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bs.json +1 -1
  344. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ca.json +1 -1
  345. package/dist/cdn/assets/solution-deployed-card/t9n/messages.cs.json +1 -1
  346. package/dist/cdn/assets/solution-deployed-card/t9n/messages.da.json +1 -1
  347. package/dist/cdn/assets/solution-deployed-card/t9n/messages.de.json +1 -1
  348. package/dist/cdn/assets/solution-deployed-card/t9n/messages.el.json +1 -1
  349. package/dist/cdn/assets/solution-deployed-card/t9n/messages.es.json +1 -1
  350. package/dist/cdn/assets/solution-deployed-card/t9n/messages.et.json +1 -1
  351. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fi.json +1 -1
  352. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fr.json +1 -1
  353. package/dist/cdn/assets/solution-deployed-card/t9n/messages.he.json +1 -1
  354. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hr.json +1 -1
  355. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hu.json +1 -1
  356. package/dist/cdn/assets/solution-deployed-card/t9n/messages.id.json +1 -1
  357. package/dist/cdn/assets/solution-deployed-card/t9n/messages.it.json +1 -1
  358. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ja.json +1 -1
  359. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ko.json +1 -1
  360. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lt.json +1 -1
  361. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lv.json +1 -1
  362. package/dist/cdn/assets/solution-deployed-card/t9n/messages.nl.json +1 -1
  363. package/dist/cdn/assets/solution-deployed-card/t9n/messages.no.json +1 -1
  364. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pl.json +1 -1
  365. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-BR.json +1 -1
  366. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-PT.json +1 -1
  367. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ro.json +1 -1
  368. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ru.json +1 -1
  369. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sk.json +1 -1
  370. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sl.json +1 -1
  371. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sr.json +1 -1
  372. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sv.json +1 -1
  373. package/dist/cdn/assets/solution-deployed-card/t9n/messages.th.json +1 -1
  374. package/dist/cdn/assets/solution-deployed-card/t9n/messages.tr.json +1 -1
  375. package/dist/cdn/assets/solution-deployed-card/t9n/messages.uk.json +1 -1
  376. package/dist/cdn/assets/solution-deployed-card/t9n/messages.vi.json +1 -1
  377. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-CN.json +1 -1
  378. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-HK.json +1 -1
  379. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-TW.json +1 -1
  380. package/dist/cdn/index.js +2 -2
  381. package/dist/chunks/Auth.js +1 -1
  382. package/dist/chunks/CardsFetcher.js +1 -1
  383. package/dist/chunks/appConfig.js +1 -1
  384. package/dist/chunks/cardFetchingUtils.js +1 -1
  385. package/dist/chunks/cardsHelpers.js +1 -1
  386. package/dist/chunks/common.js +1 -1
  387. package/dist/chunks/deployAppContexts.js +1 -1
  388. package/dist/chunks/downloadUtils.js +1 -1
  389. package/dist/chunks/getItemIcon.js +1 -1
  390. package/dist/chunks/helpers.js +1 -1
  391. package/dist/chunks/interfaces.js +1 -1
  392. package/dist/chunks/loadModules.js +1 -1
  393. package/dist/chunks/mapViewUtils.js +1 -1
  394. package/dist/chunks/pciUtils.js +1 -1
  395. package/dist/chunks/popupUtils.js +1 -1
  396. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  397. package/dist/chunks/privilegeUtils.js +1 -1
  398. package/dist/chunks/publicNotificationContext.js +1 -1
  399. package/dist/chunks/queryUtils.js +1 -1
  400. package/dist/chunks/runtime.js +1 -1
  401. package/dist/chunks/solution-store.js +318 -321
  402. package/dist/chunks/templates.js +1 -1
  403. package/dist/chunks/useT9n.js +1 -1
  404. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +0 -1
  405. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  406. package/dist/components/basemap-gallery/customElement.d.ts +0 -7
  407. package/dist/components/basemap-gallery/customElement.js +1 -1
  408. package/dist/components/buffer-tools/customElement.d.ts +0 -45
  409. package/dist/components/buffer-tools/customElement.js +1 -1
  410. package/dist/components/card-manager/customElement.d.ts +0 -49
  411. package/dist/components/card-manager/customElement.js +1 -1
  412. package/dist/components/consent-manager/customElement.d.ts +0 -33
  413. package/dist/components/consent-manager/customElement.js +1 -1
  414. package/dist/components/create-feature/customElement.d.ts +0 -98
  415. package/dist/components/create-feature/customElement.js +1 -1
  416. package/dist/components/create-related-feature/customElement.d.ts +0 -24
  417. package/dist/components/create-related-feature/customElement.js +1 -1
  418. package/dist/components/crowdsource-manager/customElement.d.ts +0 -191
  419. package/dist/components/crowdsource-manager/customElement.js +1 -1
  420. package/dist/components/crowdsource-reporter/customElement.d.ts +0 -183
  421. package/dist/components/crowdsource-reporter/customElement.js +48 -48
  422. package/dist/components/deduct-calculator/customElement.d.ts +0 -1
  423. package/dist/components/deduct-calculator/customElement.js +1 -1
  424. package/dist/components/delete-button/customElement.d.ts +0 -25
  425. package/dist/components/delete-button/customElement.js +1 -1
  426. package/dist/components/delete-dialog/customElement.d.ts +0 -9
  427. package/dist/components/delete-dialog/customElement.js +1 -1
  428. package/dist/components/edit-card/customElement.d.ts +0 -34
  429. package/dist/components/edit-card/customElement.js +1 -1
  430. package/dist/components/feature-details/customElement.d.ts +0 -33
  431. package/dist/components/feature-details/customElement.js +1 -1
  432. package/dist/components/feature-list/customElement.d.ts +0 -77
  433. package/dist/components/feature-list/customElement.js +101 -90
  434. package/dist/components/field-selection/customElement.d.ts +2 -3
  435. package/dist/components/field-selection/customElement.js +115 -96
  436. package/dist/components/floor-filter/customElement.d.ts +0 -14
  437. package/dist/components/floor-filter/customElement.js +1 -1
  438. package/dist/components/info-card/customElement.d.ts +0 -64
  439. package/dist/components/info-card/customElement.js +5 -2
  440. package/dist/components/json-editor/customElement.d.ts +0 -49
  441. package/dist/components/json-editor/customElement.js +1 -1
  442. package/dist/components/layer-list/customElement.d.ts +0 -32
  443. package/dist/components/layer-list/customElement.js +8 -5
  444. package/dist/components/layer-table/customElement.d.ts +1 -98
  445. package/dist/components/layer-table/customElement.js +10 -3
  446. package/dist/components/map-card/customElement.d.ts +0 -155
  447. package/dist/components/map-card/customElement.js +1 -1
  448. package/dist/components/map-draw-tools/customElement.d.ts +0 -47
  449. package/dist/components/map-draw-tools/customElement.js +1 -1
  450. package/dist/components/map-fullscreen/customElement.d.ts +0 -3
  451. package/dist/components/map-fullscreen/customElement.js +1 -1
  452. package/dist/components/map-layer-picker/customElement.d.ts +0 -84
  453. package/dist/components/map-layer-picker/customElement.js +3 -3
  454. package/dist/components/map-legend/customElement.d.ts +0 -6
  455. package/dist/components/map-legend/customElement.js +1 -1
  456. package/dist/components/map-picker/customElement.d.ts +0 -30
  457. package/dist/components/map-picker/customElement.js +1 -1
  458. package/dist/components/map-search/customElement.d.ts +0 -19
  459. package/dist/components/map-search/customElement.js +1 -1
  460. package/dist/components/map-select-tools/customElement.d.ts +0 -83
  461. package/dist/components/map-select-tools/customElement.js +1 -1
  462. package/dist/components/map-tools/customElement.d.ts +0 -113
  463. package/dist/components/map-tools/customElement.js +1 -1
  464. package/dist/components/pci-calculator/customElement.js +1 -1
  465. package/dist/components/pdf-download/customElement.d.ts +0 -25
  466. package/dist/components/pdf-download/customElement.js +1 -1
  467. package/dist/components/public-notification/customElement.d.ts +0 -113
  468. package/dist/components/public-notification/customElement.js +1 -1
  469. package/dist/components/refine-selection/customElement.d.ts +0 -12
  470. package/dist/components/refine-selection/customElement.js +1 -1
  471. package/dist/components/selection-tool/customElement.d.ts +0 -14
  472. package/dist/components/selection-tool/customElement.js +1 -1
  473. package/dist/components/solution-article-card/customElement.d.ts +0 -26
  474. package/dist/components/solution-article-card/customElement.js +1 -1
  475. package/dist/components/solution-configuration/customElement.d.ts +0 -12
  476. package/dist/components/solution-configuration/customElement.js +1 -1
  477. package/dist/components/solution-configure-dialog/customElement.d.ts +0 -17
  478. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  479. package/dist/components/solution-configure-titles/customElement.d.ts +0 -9
  480. package/dist/components/solution-configure-titles/customElement.js +1 -1
  481. package/dist/components/solution-contents/customElement.d.ts +0 -14
  482. package/dist/components/solution-contents/customElement.js +1 -1
  483. package/dist/components/solution-delete-dialog/customElement.d.ts +0 -15
  484. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  485. package/dist/components/solution-deploy-dialog/customElement.d.ts +0 -22
  486. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  487. package/dist/components/solution-deployed-card/customElement.d.ts +0 -26
  488. package/dist/components/solution-deployed-card/customElement.js +1 -1
  489. package/dist/components/solution-deploying-dialog/customElement.d.ts +0 -15
  490. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  491. package/dist/components/solution-details-card/customElement.d.ts +0 -2
  492. package/dist/components/solution-details-card/customElement.js +1 -1
  493. package/dist/components/solution-details-panel/customElement.d.ts +0 -4
  494. package/dist/components/solution-details-panel/customElement.js +22 -19
  495. package/dist/components/solution-item/customElement.d.ts +0 -16
  496. package/dist/components/solution-item/customElement.js +1 -1
  497. package/dist/components/solution-item-accordion/customElement.d.ts +0 -36
  498. package/dist/components/solution-item-accordion/customElement.js +1 -1
  499. package/dist/components/solution-item-details/customElement.d.ts +0 -5
  500. package/dist/components/solution-item-details/customElement.js +1 -1
  501. package/dist/components/solution-item-diagram/customElement.d.ts +0 -2
  502. package/dist/components/solution-item-diagram/customElement.js +1 -1
  503. package/dist/components/solution-item-icon/customElement.d.ts +0 -11
  504. package/dist/components/solution-item-icon/customElement.js +1 -1
  505. package/dist/components/solution-item-sharing/customElement.d.ts +0 -5
  506. package/dist/components/solution-item-sharing/customElement.js +1 -1
  507. package/dist/components/solution-organization-variables/customElement.d.ts +0 -5
  508. package/dist/components/solution-organization-variables/customElement.js +1 -1
  509. package/dist/components/solution-resource-item/customElement.d.ts +0 -7
  510. package/dist/components/solution-resource-item/customElement.js +1 -1
  511. package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -8
  512. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  513. package/dist/components/solution-social-share/customElement.d.ts +0 -92
  514. package/dist/components/solution-social-share/customElement.js +1 -1
  515. package/dist/components/solution-spatial-ref/customElement.d.ts +0 -20
  516. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  517. package/dist/components/solution-template-data/customElement.d.ts +0 -22
  518. package/dist/components/solution-template-data/customElement.js +1 -1
  519. package/dist/components/solution-variables/customElement.d.ts +0 -5
  520. package/dist/components/solution-variables/customElement.js +1 -1
  521. package/dist/components/solutions-all-panel/customElement.d.ts +0 -37
  522. package/dist/components/solutions-all-panel/customElement.js +40 -33
  523. package/dist/components/solutions-all-shell/customElement.d.ts +0 -13
  524. package/dist/components/solutions-all-shell/customElement.js +23 -20
  525. package/dist/components/solutions-article-panel/customElement.d.ts +0 -10
  526. package/dist/components/solutions-article-panel/customElement.js +1 -1
  527. package/dist/components/solutions-articles/customElement.d.ts +0 -1
  528. package/dist/components/solutions-articles/customElement.js +1 -1
  529. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  530. package/dist/components/solutions-deploy-app/customElement.d.ts +0 -37
  531. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  532. package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +0 -35
  533. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  534. package/dist/components/solutions-deployed-panel/customElement.d.ts +0 -38
  535. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  536. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -13
  537. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  538. package/dist/components/solutions-filter-panel/customElement.d.ts +0 -26
  539. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  540. package/dist/components/spatial-ref/customElement.d.ts +0 -29
  541. package/dist/components/spatial-ref/customElement.js +1 -1
  542. package/dist/components/store-manager/customElement.d.ts +0 -12
  543. package/dist/components/store-manager/customElement.js +1 -1
  544. package/dist/docs/api.json +52 -2
  545. package/dist/docs/docs.json +59 -2
  546. package/dist/docs/vscode.html-custom-data.json +1 -1
  547. package/dist/docs/web-types.json +7 -2
  548. package/dist/index.js +1 -1
  549. package/dist/loader.js +3 -3
  550. package/dist/types/lumina.d.ts +1 -1
  551. package/dist/types/preact.d.ts +1 -1
  552. package/dist/types/react.d.ts +1 -1
  553. package/dist/types/stencil.d.ts +1 -1
  554. package/dist/utils/interfaces.d.ts +2 -0
  555. package/package.json +1 -2
  556. package/dist/cdn/35OG34DW.js +0 -4
  557. package/dist/cdn/7L2K4CTR.js +0 -4
  558. package/dist/cdn/ELLO2MAY.js +0 -5
  559. package/dist/cdn/FOKWC4YX.js +0 -4
  560. package/dist/cdn/HXWR5OEJ.js +0 -18
  561. package/dist/cdn/IYIXMAGT.js +0 -18
  562. package/dist/cdn/IYPM2CF6.js +0 -4
  563. package/dist/cdn/J67LB5D3.js +0 -4
  564. package/dist/cdn/L3LZPYIH.js +0 -18
  565. package/dist/cdn/NG3RIAIG.js +0 -4
  566. package/dist/cdn/NQA4IZWB.js +0 -18
  567. package/dist/cdn/OHH4JYRI.js +0 -18
  568. package/dist/cdn/PEYOKBZS.js +0 -4
  569. package/dist/cdn/QJ4JOKJB.js +0 -4
  570. package/dist/cdn/VNWH6JZ2.js +0 -4
  571. package/dist/cdn/WD4HSNVO.js +0 -18
  572. package/dist/cdn/WEQSM7IC.js +0 -4
  573. package/dist/cdn/XIMVS4MY.js +0 -3
  574. package/dist/cdn/ZE2ISXNN.js +0 -4
  575. package/dist/cdn/ZJ7VEBUB.js +0 -18
@@ -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.20250911.2 */
4
- import{a}from"./OWZPVOBY.js";import{a as d}from"./ET7BFDTD.js";import{K as b,L as m}from"./ZZ6EPPLQ.js";import"./CC2IBTVB.js";import{a as l}from"./YH5LZKSP.js";import{a as i}from"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import"./2L7PEA7U.js";import"./3VW7GINP.js";import"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
3
+ v1.1.0-next.20250915 */
4
+ import{a}from"./QWOZUBAK.js";import{a as d}from"./5XH676RD.js";import{K as b,L as m}from"./J2YPNPEB.js";import"./VHCAYK6B.js";import{a as l}from"./2O3I4FLG.js";import{a as i}from"./KL73F75A.js";import"./554U5V7U.js";import"./LPOISRVW.js";import"./3DWPYRJF.js";import"./CVF7IBRZ.js";import"./PY2P2XUG.js";import"./F2F4ZQWX.js";import"./SUEDCHYV.js";import"./BU2ZZSPK.js";import"./UGP5UJAO.js";import"./JWCKTXFY.js";import"./6EP5NBHV.js";import"./QJLTXY2W.js";import"./FULFGP3F.js";import"./BPM67OHZ.js";import"./4QPGV53Y.js";import"./YMY4S52N.js";import"./Z4EC5CR5.js";import"./SYMQ5NR5.js";import"./BB2XXRZT.js";import"./2W5MR3Y3.js";import"./CBP7V4DB.js";import"./N6HTM2LL.js";import"./D5C4GXTW.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as s}from"./AWZ2L6P4.js";import"./ZF42G2JC.js";import"./ET7BFDTD.js";import"./IDITN77F.js";import"./BGLA6JTF.js";import{a as r,b as a}from"./X4FO5WY5.js";import"./YMU6CVCY.js";import"./5F6FAGVF.js";import"./NFIBYZAV.js";import{a as o}from"./EHOYB4HE.js";import{a as i}from"./DUIBMXZM.js";import"./ZZ6EPPLQ.js";import"./CC2IBTVB.js";import"./6D4HQ7M2.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import"./2L7PEA7U.js";import"./3VW7GINP.js";import"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
3
+ v1.1.0-next.20250915 */
4
+ import{a as s}from"./SXXGRJ55.js";import"./YSTCZGU5.js";import"./5XH676RD.js";import"./J5PVPWD7.js";import"./3YCYS6UB.js";import{a as r,b as a}from"./3SHNMGNE.js";import"./CWFZ73CC.js";import"./Y4PAHUUQ.js";import"./KUQG7TIF.js";import{a as o}from"./G72OGPYS.js";import{a as i}from"./6BNS2CCK.js";import"./J2YPNPEB.js";import"./VHCAYK6B.js";import"./RJV33UI7.js";import"./Z3XMONKF.js";import"./2O3I4FLG.js";import"./KL73F75A.js";import"./554U5V7U.js";import"./LPOISRVW.js";import"./3DWPYRJF.js";import"./CVF7IBRZ.js";import"./PY2P2XUG.js";import"./F2F4ZQWX.js";import"./SUEDCHYV.js";import"./BU2ZZSPK.js";import"./UGP5UJAO.js";import"./JWCKTXFY.js";import"./6EP5NBHV.js";import"./QJLTXY2W.js";import"./FULFGP3F.js";import"./BPM67OHZ.js";import"./4QPGV53Y.js";import"./YMY4S52N.js";import"./Z4EC5CR5.js";import"./SYMQ5NR5.js";import"./BB2XXRZT.js";import"./2W5MR3Y3.js";import"./CBP7V4DB.js";import"./N6HTM2LL.js";import"./D5C4GXTW.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as e}from"./TJDQLK7G.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
3
+ v1.1.0-next.20250915 */
4
+ import{a as e}from"./BB2XXRZT.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a 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.20250911.2 */
4
- import{a as O}from"./NLAFKJ2E.js";import{A as H,C as M,D as F,d as B,e as L}from"./BGUPQWXL.js";import{b as U}from"./6JIZ4XBP.js";import"./C5X2ZRMN.js";import"./HWRTCJII.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"./QQGMGBKF.js";import"./SHYRK7HE.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.20250915 */
4
+ import{a as O}from"./T66H724J.js";import{A as H,C as M,D as F,d as B,e as L}from"./PF36LRKG.js";import{b as U}from"./RFTRNEXX.js";import"./X6PCML64.js";import"./ZP6TWN56.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"./ZNV2KGHK.js";import"./D5C4GXTW.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,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.20250911.2 */
4
- import"./SHYRK7HE.js";var a="Anda tidak memiliki cukup kredit untuk melakukan pengoperasian ini. Hubungi Administrator Sistem ArcGIS Anda untuk mendapatkan bantuan.",e="Alat ini diterbitkan dari notebook. Akses ke ArcGIS Notebooks diblokir untuk organisasi Anda. Hubungi administrator Anda untuk menyesuaikan pengaturan.",i="${ dataPath } tidak boleh memiliki ${ additionalProperty }.",r="${ dataPath } harus cocok dengan skema salah satu dari ini: ${ schemaOptions }.",n="Coba simpan peta lagi.",t="Perkiraan kredit gagal. Gulir ke bawah, perbaiki kesalahan, dan perkirakan kreditnya lagi.",s="Terjadi kesalahan saat menjalankan analisis.",l="${ dataPath } harus sama dengan salah satu nilai yang diizinkan ini: ${ allowedValues }.",o="Gagal menyimpan riwayat analisis",d="Penyimpanan riwayat penuh. Hapus beberapa item dari riwayat analisis dan coba simpan lagi.",m="Nama layanan mengandung satu atau lebih karakter yang tidak valid.",k="Penyimpanan layer sementara sebagai feature layeryang dihosting tidak selesai.",u="Gagal mendapatkan properti kunci.",p="Gagal memuat layer.",y="Layer tidak tersedia.",g="${ dataPath } tidak boleh memiliki lebih dari ${ limit } item.",h="Terjadi kesalahan saat menyimpan model. Coba menyimpan lagi.",c="${ dataPath } tidak boleh memiliki kurang dari ${ limit } item.",b="${ dataPath } tidak boleh lebih pendek dari ${ limit } karakter.",P="Gagal memuat item model. Pastikan model tersebut ada dan izin akses telah diberikan.",E="Gagal menyelesaikan permintaan.",v="Anda tidak memiliki izin untuk menjalankan alat ini. <calcite-link target='_blank' href='${ docLink }'>Pelajari selengkapnya</calcite-link>",S="Gagal masuk ke portal.",$="Gagal membaca input data.",f="${ dataPath } tidak memiliki properti bernama ${ missingProperty }.",I="Layer hasil sudah ada dengan nama ini. Layer hasil harus bernama unik di seluruh organisasi. Silakan gunakan nama yang berbeda.",F="Nama luaran berisi satu karakter tidak valid atau lebih. <a href='${docLink}' target='_blank'>Pelajari selengkapnya.</a>",L="Gagal menerbitkan layer sementara sebagai layer yang dihosting karena satu atau beberapa kolom tidak valid. Jalankan kembali alat untuk membuat layer dengan kolom yang valid.",T="Pengiriman pekerjaan gagal. Gulir ke bawah, perbaiki kesalahan, dan jalankan analisis lagi.",A="${ dataPath } harus memiliki setidaknya satu karakter non-spasi.",G={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:y,maxItems:g,mbFailedToSave:h,minItems:c,minLength:b,modelNotFound:P,networkError:E,noPermissionToAccessTool:v,portalLoadError:S,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:I,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,t as creditEstimationError,G as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,y as layerUnavailable,g as maxItems,h as mbFailedToSave,c as minItems,b as minLength,P as modelNotFound,E as networkError,v as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,f as requiredProperty,I as serviceNameExistsError,F as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,A as whiteSpacePattern};
3
+ v1.1.0-next.20250915 */
4
+ import"./D5C4GXTW.js";var a="Anda tidak memiliki cukup kredit untuk melakukan pengoperasian ini. Hubungi Administrator Sistem ArcGIS Anda untuk mendapatkan bantuan.",e="Alat ini diterbitkan dari notebook. Akses ke ArcGIS Notebooks diblokir untuk organisasi Anda. Hubungi administrator Anda untuk menyesuaikan pengaturan.",i="${ dataPath } tidak boleh memiliki ${ additionalProperty }.",r="${ dataPath } harus cocok dengan skema salah satu dari ini: ${ schemaOptions }.",n="Coba simpan peta lagi.",t="Perkiraan kredit gagal. Gulir ke bawah, perbaiki kesalahan, dan perkirakan kreditnya lagi.",s="Terjadi kesalahan saat menjalankan analisis.",l="${ dataPath } harus sama dengan salah satu nilai yang diizinkan ini: ${ allowedValues }.",o="Gagal menyimpan riwayat analisis",d="Penyimpanan riwayat penuh. Hapus beberapa item dari riwayat analisis dan coba simpan lagi.",m="Nama layanan mengandung satu atau lebih karakter yang tidak valid.",k="Penyimpanan layer sementara sebagai feature layeryang dihosting tidak selesai.",u="Gagal mendapatkan properti kunci.",p="Gagal memuat layer.",y="Layer tidak tersedia.",g="${ dataPath } tidak boleh memiliki lebih dari ${ limit } item.",h="Terjadi kesalahan saat menyimpan model. Coba menyimpan lagi.",c="${ dataPath } tidak boleh memiliki kurang dari ${ limit } item.",b="${ dataPath } tidak boleh lebih pendek dari ${ limit } karakter.",P="Gagal memuat item model. Pastikan model tersebut ada dan izin akses telah diberikan.",E="Gagal menyelesaikan permintaan.",v="Anda tidak memiliki izin untuk menjalankan alat ini. <calcite-link target='_blank' href='${ docLink }'>Pelajari selengkapnya</calcite-link>",S="Gagal masuk ke portal.",$="Gagal membaca input data.",f="${ dataPath } tidak memiliki properti bernama ${ missingProperty }.",I="Layer hasil sudah ada dengan nama ini. Layer hasil harus bernama unik di seluruh organisasi. Silakan gunakan nama yang berbeda.",F="Nama luaran berisi satu karakter tidak valid atau lebih. <a href='${docLink}' target='_blank'>Pelajari selengkapnya.</a>",L="Gagal menerbitkan layer sementara sebagai layer yang dihosting karena satu atau beberapa kolom tidak valid. Jalankan kembali alat untuk membuat layer dengan kolom yang valid.",T="Pengiriman pekerjaan gagal. Gulir ke bawah, perbaiki kesalahan, dan jalankan analisis lagi.",A="${ dataPath } harus memiliki setidaknya satu karakter non-spasi.",G={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:y,maxItems:g,mbFailedToSave:h,minItems:c,minLength:b,modelNotFound:P,networkError:E,noPermissionToAccessTool:v,portalLoadError:S,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:I,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,t as creditEstimationError,G as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,y as layerUnavailable,g as maxItems,h as mbFailedToSave,c as minItems,b as minLength,P as modelNotFound,E as networkError,v as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,f as requiredProperty,I as serviceNameExistsError,F as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,A as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as e}from"./FMNW55YT.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.20250915 */
4
+ import{a as e}from"./KL73F75A.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,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.20250911.2 */
4
- import{b as o}from"./5MDH25UU.js";import{b as d}from"./LZXSNZEG.js";import{C as n,D as a,E as r,h as t,i as s}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var h=t`/**
3
+ v1.1.0-next.20250915 */
4
+ import{b as o}from"./7VI5VLTH.js";import{b as d}from"./NRGEWVDW.js";import{C as n,D as a,E as r,h as t,i as s}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var h=t`/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
3
+ v1.1.0-next.20250915 */
4
4
  function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{b as e}from"./2L7PEA7U.js";import{a as r}from"./3VW7GINP.js";import{a as t}from"./4Q57777R.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};
3
+ v1.1.0-next.20250915 */
4
+ import{b as e}from"./LPOISRVW.js";import{a as r}from"./3DWPYRJF.js";import{a as t}from"./CBP7V4DB.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};
@@ -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.20250915 */
4
+ import{a,b}from"./F2F4ZQWX.js";import"./SUEDCHYV.js";import"./D5C4GXTW.js";export{a as ChannelEditorTypes,b as ChannelSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as E}from"./HWRTCJII.js";import{m,n as h,q as v}from"./QQGMGBKF.js";export default $arcgis.t(([{on:W,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},U=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},V=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return V},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
3
+ v1.1.0-next.20250915 */
4
+ import{a as E}from"./ZP6TWN56.js";import{m,n as h,q as v}from"./ZNV2KGHK.js";export default $arcgis.t(([{on:W,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},U=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},V=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return V},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a,b}from"./TCFCLE53.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
3
+ v1.1.0-next.20250915 */
4
+ import{a,b}from"./UGP5UJAO.js";import"./BB2XXRZT.js";import"./2W5MR3Y3.js";import"./CBP7V4DB.js";import"./D5C4GXTW.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
@@ -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.20250911.2 */
4
- import{a as u,e as h}from"./YCRRPNZJ.js";import{a}from"./35OG34DW.js";import"./IOLMZX66.js";import"./GUZFVIC6.js";import"./XXR767KI.js";import"./3QT7BIV3.js";import"./NTTQO4LF.js";import"./5FYALSB7.js";import"./OWZPVOBY.js";import"./K7M5CHTQ.js";import"./ZF42G2JC.js";import"./ET7BFDTD.js";import"./IDITN77F.js";import"./BGLA6JTF.js";import"./5F6FAGVF.js";import"./NFIBYZAV.js";import"./ZZ6EPPLQ.js";import"./CC2IBTVB.js";import"./6D4HQ7M2.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import"./ZFMWIEGQ.js";import"./4LG3PE5J.js";import{b as l}from"./LZXSNZEG.js";import{E as i,o,r as n}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
3
+ v1.1.0-next.20250915 */
4
+ import{a as u,e as h}from"./IAHRU6NV.js";import{a}from"./OYEAXGFO.js";import"./FBSBX444.js";import"./UZXXJ4QO.js";import"./E2WVQW3B.js";import"./KNL65BH7.js";import"./U7VMANWD.js";import"./QOA7NOWP.js";import"./QWOZUBAK.js";import"./LZY7JLPB.js";import"./YSTCZGU5.js";import"./5XH676RD.js";import"./J5PVPWD7.js";import"./3YCYS6UB.js";import"./Y4PAHUUQ.js";import"./KUQG7TIF.js";import"./J2YPNPEB.js";import"./VHCAYK6B.js";import"./RJV33UI7.js";import"./Z3XMONKF.js";import"./2O3I4FLG.js";import"./SUEDCHYV.js";import"./SHA4H2QF.js";import{b as l}from"./NRGEWVDW.js";import{E as i,o,r as n}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
@@ -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.20250911.2 */
4
- import{c as l}from"./SCY6BW5I.js";import"./4LG3PE5J.js";import"./6HEFYILX.js";import{b as n}from"./5MDH25UU.js";import{b as h}from"./LZXSNZEG.js";import{E as c,h as o,o as s,r}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var d=o`@layer{/** @license
3
+ v1.1.0-next.20250915 */
4
+ import{c as l}from"./E3YJDDLZ.js";import"./SHA4H2QF.js";import"./7FPCXDBU.js";import{b as n}from"./7VI5VLTH.js";import{b as h}from"./NRGEWVDW.js";import{E as c,h as o,o as s,r}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var d=o`@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.20250911.2 */
4
- import g from"./YKFCUCEU.js";import e from"./652RXIXT.js";import"./HF4ZVPTQ.js";import c from"./NEJI5QW6.js";import{a as d}from"./2BTYUMLK.js";import{a as b}from"./NLAFKJ2E.js";import"./BGUPQWXL.js";import{b as x}from"./6JIZ4XBP.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{E as u,G as p,I as f,h as _,i as a,o as h}from"./QQGMGBKF.js";import"./SHYRK7HE.js";export default $arcgis.t(([,{a:r,b:g},{e:$,h:w,j:T,k:z,l:E,r:C,s:m,u:v}])=>{var k=_`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-left:20px}:host .instant-apps-interactive-legend__layer-caption--compact{--instant-apps-interactive-legend-ui-padding: 5px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;justify-content:flex-end;width:100%}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container .instant-apps-interactive-legend__show-all-btn{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:.75rem;padding-inline-start:20px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__zoom-to-btn{--calcite-icon-color: var(--calcite-ui-brand);--calcite-color-transparent-hover: transparent}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;font-size:.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;margin-left:5px;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}:host .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host:dir(rtl) .esri-legend__layer-caption calcite-action{margin-left:unset;margin-right:20px}`,s={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},y=class extends u{constructor(){super(...arguments),this._messages=b({name:"instant-apps-interactive-legend",blocking:!0}),this.expanded=!0,this.legendLayerExpandUpdated=h(),this.showAllSelected=h()}static{this.properties={legendvm:0,activeLayerInfo:0,layer:0,titleText:1,legendElementIndex:9,zoomTo:5,isInteractive:5,legendElement:0,expanded:5}}static{this.styles=k}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdated.emit(),(this.activeLayerInfo?.legendElements?.filter(e=>e.type==="relationship-ramp")).length>0&&g.set("relationshipRampExpandStates",{...r.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=$(this.layer),i=m(e,this.legendElement);E(e,this.legendvm.view,i)}}handleShowAll(){return()=>{let e=()=>{let t=z(n,this.legendElement.title);v({intLegendLayerData:t,layerId:this.layer.id})},i=()=>{let t=T(n);v({intLegendLayerData:t,layerId:this.layer.id})},n=r.data?.[this.layer?.id];if(m(n,this.legendElement)){e();return}i(),this.showAllSelected.emit()}}render(){let e=C(this.activeLayerInfo),i=w(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:n}=this,t=g.get("compact"),o=t?` ${s.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText?a`<span class=${p(s.layerCaptionText)} title=${this.titleText??f}>${this.titleText}</span>`:null,c=this.isInteractive||i?this.renderLegendElementCaptionControls():"";return a`<div class=${`${s.layerCaption}${o}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${n?this._messages.collapse:this._messages.expand} .label=${n?this._messages.collapse:this._messages.expand} scale=s></calcite-action>${t?[l,c]:[c,l]}</div>`}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${s.layerCaptionBtnContainerNoText}`;return d("layer-caption-btn-container",a`<div class=${`${s.layerCaptionBtnContainer}${e}`}>${this.renderShowAllZoomToButtons()}</div>`)}renderShowAllZoomToButtons(){return g.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="zoomToCompact",o=this.zoomTo&&[a`<calcite-action id=${t} class=${p(s.zoomTo)} @click=${this.handleZoomTo()} .icon=${"magnifying-glass-plus"} appearance=transparent scale=s .text=${this._messages.zoomTo}></calcite-action>`,a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"",l=n?a`<button @click=${this.handleShowAll()} class=${p(s.showAll)}>${this._messages.showAll}</button>`:null;return[o,l]}renderButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="showAll",o="zoomTo",l=n&&[d("show-all-button",a`<calcite-button id=${t} .label=${this._messages.showAll} @click=${this.handleShowAll()} .iconStart=${"list-check-all"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.showAll}>${this._messages.showAll}</calcite-tooltip>`]||"",c=this.zoomTo&&[d("zoom-to-button",a`<calcite-button id=${o} .label=${this._messages.zoomTo} @click=${this.handleZoomTo()} .iconStart=${"magnifying-glass-plus"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${o} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"";return[l,c]}};x("instant-apps-interactive-legend-legend-element-caption",y);return y},c,e,g)
3
+ v1.1.0-next.20250915 */
4
+ import g from"./YUQRZT7V.js";import e from"./3NX7LAGT.js";import"./FRMQDHMM.js";import c from"./5I5NLBAL.js";import{a as d}from"./LZTP3XNG.js";import{a as b}from"./T66H724J.js";import"./PF36LRKG.js";import{b as x}from"./RFTRNEXX.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{E as u,G as p,I as f,h as _,i as a,o as h}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";export default $arcgis.t(([,{a:r,b:g},{e:$,h:w,j:T,k:z,l:E,r:C,s:m,u:v}])=>{var k=_`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-left:20px}:host .instant-apps-interactive-legend__layer-caption--compact{--instant-apps-interactive-legend-ui-padding: 5px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;justify-content:flex-end;width:100%}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container .instant-apps-interactive-legend__show-all-btn{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:.75rem;padding-inline-start:20px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__zoom-to-btn{--calcite-icon-color: var(--calcite-ui-brand);--calcite-color-transparent-hover: transparent}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;font-size:.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;margin-left:5px;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}:host .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host:dir(rtl) .esri-legend__layer-caption calcite-action{margin-left:unset;margin-right:20px}`,s={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},y=class extends u{constructor(){super(...arguments),this._messages=b({name:"instant-apps-interactive-legend",blocking:!0}),this.expanded=!0,this.legendLayerExpandUpdated=h(),this.showAllSelected=h()}static{this.properties={legendvm:0,activeLayerInfo:0,layer:0,titleText:1,legendElementIndex:9,zoomTo:5,isInteractive:5,legendElement:0,expanded:5}}static{this.styles=k}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdated.emit(),(this.activeLayerInfo?.legendElements?.filter(e=>e.type==="relationship-ramp")).length>0&&g.set("relationshipRampExpandStates",{...r.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=$(this.layer),i=m(e,this.legendElement);E(e,this.legendvm.view,i)}}handleShowAll(){return()=>{let e=()=>{let t=z(n,this.legendElement.title);v({intLegendLayerData:t,layerId:this.layer.id})},i=()=>{let t=T(n);v({intLegendLayerData:t,layerId:this.layer.id})},n=r.data?.[this.layer?.id];if(m(n,this.legendElement)){e();return}i(),this.showAllSelected.emit()}}render(){let e=C(this.activeLayerInfo),i=w(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:n}=this,t=g.get("compact"),o=t?` ${s.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText?a`<span class=${p(s.layerCaptionText)} title=${this.titleText??f}>${this.titleText}</span>`:null,c=this.isInteractive||i?this.renderLegendElementCaptionControls():"";return a`<div class=${`${s.layerCaption}${o}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${n?this._messages.collapse:this._messages.expand} .label=${n?this._messages.collapse:this._messages.expand} scale=s></calcite-action>${t?[l,c]:[c,l]}</div>`}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${s.layerCaptionBtnContainerNoText}`;return d("layer-caption-btn-container",a`<div class=${`${s.layerCaptionBtnContainer}${e}`}>${this.renderShowAllZoomToButtons()}</div>`)}renderShowAllZoomToButtons(){return g.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="zoomToCompact",o=this.zoomTo&&[a`<calcite-action id=${t} class=${p(s.zoomTo)} @click=${this.handleZoomTo()} .icon=${"magnifying-glass-plus"} appearance=transparent scale=s .text=${this._messages.zoomTo}></calcite-action>`,a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"",l=n?a`<button @click=${this.handleShowAll()} class=${p(s.showAll)}>${this._messages.showAll}</button>`:null;return[o,l]}renderButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="showAll",o="zoomTo",l=n&&[d("show-all-button",a`<calcite-button id=${t} .label=${this._messages.showAll} @click=${this.handleShowAll()} .iconStart=${"list-check-all"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.showAll}>${this._messages.showAll}</calcite-tooltip>`]||"",c=this.zoomTo&&[d("zoom-to-button",a`<calcite-button id=${o} .label=${this._messages.zoomTo} @click=${this.handleZoomTo()} .iconStart=${"magnifying-glass-plus"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${o} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"";return[l,c]}};x("instant-apps-interactive-legend-legend-element-caption",y);return y},c,e,g)
@@ -1,9 +1,9 @@
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.20250911.2 */
4
- import c from"./652RXIXT.js";import{a as x}from"./HF4ZVPTQ.js";import a from"./NEJI5QW6.js";import{a as F}from"./2BTYUMLK.js";import{a as D}from"./NLAFKJ2E.js";import{E as R,h as N,i as L}from"./BGUPQWXL.js";import{b as E}from"./6JIZ4XBP.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{D as g,E as $,G as H,h as I,i as b}from"./QQGMGBKF.js";import"./SHYRK7HE.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
3
+ v1.1.0-next.20250915 */
4
+ import c from"./3NX7LAGT.js";import{a as x}from"./FRMQDHMM.js";import a from"./5I5NLBAL.js";import{a as D}from"./LZTP3XNG.js";import{a as F}from"./T66H724J.js";import{E as R,h as N,i as L}from"./PF36LRKG.js";import{b as E}from"./RFTRNEXX.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{D as g,E as $,G as H,h as I,i as b}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=F({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
5
  rect:hover {
6
6
  cursor: pointer;
7
7
  opacity: 0.8;
8
8
  }
9
- `,e?.appendChild(t)}}setRelationshipRampRef(e){e&&(this.relationshipRamp=e,this.applyRelationshipRampInteractivity(),this.applyRelationshipRampSvgAriaAttributes())}render(){return b`<div ${g(this.addCSS)}><span id=${V} class=${H(Z.instructionalText)}>${this._messages?.relationship?.instructionalText}</span>${this.renderRelationshipRamp()}</div>`}renderRelationshipRamp(){let e=(this.activeLayerInfo?.layer).renderer,t=this.symbolUtils.renderRelationshipRampPreviewHTML(e)?.outerHTML;return F("relationship-ramp-diamond",b`<div .innerHTML=${t??""} ${g(this.setRelationshipRampRef)}></div>`)}};E("instant-apps-interactive-legend-relationship",C);return C},a,c)
9
+ `,e?.appendChild(t)}}setRelationshipRampRef(e){e&&(this.relationshipRamp=e,this.applyRelationshipRampInteractivity(),this.applyRelationshipRampSvgAriaAttributes())}render(){return b`<div ${g(this.addCSS)}><span id=${V} class=${H(Z.instructionalText)}>${this._messages?.relationship?.instructionalText}</span>${this.renderRelationshipRamp()}</div>`}renderRelationshipRamp(){let e=(this.activeLayerInfo?.layer).renderer,t=this.symbolUtils.renderRelationshipRampPreviewHTML(e)?.outerHTML;return D("relationship-ramp-diamond",b`<div .innerHTML=${t??""} ${g(this.setRelationshipRampRef)}></div>`)}};E("instant-apps-interactive-legend-relationship",C);return C},a,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a,b}from"./SFDBXOOG.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.1.0-next.20250915 */
4
+ import{a,b}from"./JWCKTXFY.js";import"./BB2XXRZT.js";import"./2W5MR3Y3.js";import"./CBP7V4DB.js";import"./D5C4GXTW.js";export{a as PageEditorTypes,b as PageSchema};
@@ -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.20250911.2 */
3
+ v1.1.0-next.20250915 */
4
4
  function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{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.20250911.2 */
4
- import{b as g}from"./5MDH25UU.js";import{a as b}from"./5YLPXC3Y.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{b as w}from"./LZXSNZEG.js";import{E as m,G as p,h,i as l,o as r,r as u}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var y=h`@layer{/**
3
+ v1.1.0-next.20250915 */
4
+ import{b as g}from"./7VI5VLTH.js";import{a as b}from"./DTTFO72X.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{b as w}from"./NRGEWVDW.js";import{E as m,G as p,h,i as l,o as r,r as u}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var y=h`@layer{/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{w as a}from"./ZZ6EPPLQ.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
3
+ v1.1.0-next.20250915 */
4
+ import{w as a}from"./J2YPNPEB.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g 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.20250911.2 */
4
- import{a as n}from"./5YLPXC3Y.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{b as l}from"./LZXSNZEG.js";import{E as t,h as i,i as s}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var a=i`/** @license
3
+ v1.1.0-next.20250915 */
4
+ import{a as n}from"./DTTFO72X.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{b as l}from"./NRGEWVDW.js";import{E as t,h as i,i as s}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var a=i`/** @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.20250911.2 */
4
- import{a as e}from"./TJDQLK7G.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.1.0-next.20250915 */
4
+ import{a as e}from"./BB2XXRZT.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{A as P,B as T,C as y,D as A,E,F as w,G as v,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./4LG3PE5J.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(w),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(v)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,G)=>o.concat(G.item.typeKeywords||[]),[]);return I(i,p,e),R(i,r),S(i,a),i}function S(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function I(a,r,e){let s=B(e),i=L(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(E))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function L(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(x(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?x(a,e):""}function x(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as c};
3
+ v1.1.0-next.20250915 */
4
+ import{A as P,B as T,C as y,D as A,E,F as w,G as v,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./SHA4H2QF.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(w),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(v)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,G)=>o.concat(G.item.typeKeywords||[]),[]);return I(i,p,e),R(i,r),S(i,a),i}function S(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function I(a,r,e){let s=B(e),i=L(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(E))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function L(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(x(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?x(a,e):""}function x(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as c};
@@ -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.20250911.2 */
4
- import{e as w}from"./SCY6BW5I.js";import"./4LG3PE5J.js";import"./6HEFYILX.js";import{b as m}from"./5MDH25UU.js";import{a as _}from"./5YLPXC3Y.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{b as g}from"./LZXSNZEG.js";import{C as l,D as c,E as p,G as n,h,i as o,o as s,r as d}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var f=h`@layer{/** @license
3
+ v1.1.0-next.20250915 */
4
+ import{e as w}from"./E3YJDDLZ.js";import"./SHA4H2QF.js";import"./7FPCXDBU.js";import{b as m}from"./7VI5VLTH.js";import{a as _}from"./DTTFO72X.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{b as g}from"./NRGEWVDW.js";import{C as l,D as c,E as p,G as n,h,i as o,o as s,r as d}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var f=h`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");