@esri/solutions-components 1.1.0-next.20250811 → 1.1.0-next.20250813

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 (592) hide show
  1. package/dist/cdn/{ZQCQVKSK.js → 2BSMPRPL.js} +2 -2
  2. package/dist/cdn/{P5NIA3Y5.js → 2EEVDFAG.js} +2 -2
  3. package/dist/cdn/{HH7VHJVF.js → 2FZPIIHB.js} +2 -2
  4. package/dist/cdn/{CO6Y4JQA.js → 2I3EU5FX.js} +2 -2
  5. package/dist/cdn/{PVQZBQBD.js → 2QFXOBI3.js} +1 -1
  6. package/dist/cdn/{YZWFSEWM.js → 2TO5YBHP.js} +2 -2
  7. package/dist/cdn/{5HYO7JGY.js → 3337RAYT.js} +2 -2
  8. package/dist/cdn/{GLN7BTBK.js → 34IBI2AQ.js} +2 -2
  9. package/dist/cdn/{3GPCAH34.js → 35KLWNMW.js} +1 -1
  10. package/dist/cdn/{QSEHUKUK.js → 3AHKLMK7.js} +2 -2
  11. package/dist/cdn/{YGDH5YVZ.js → 3CS7YODH.js} +2 -2
  12. package/dist/cdn/{EX7VYQYO.js → 3LKWFYL2.js} +2 -2
  13. package/dist/cdn/{WOWM46JN.js → 3R4UXQEY.js} +2 -2
  14. package/dist/cdn/{MILUGKNK.js → 3ZLMDYKJ.js} +2 -2
  15. package/dist/cdn/46FXW275.js +18 -0
  16. package/dist/cdn/{DSKVWLGY.js → 4777KHCE.js} +2 -2
  17. package/dist/cdn/{UBITOVMY.js → 47MIQ4DL.js} +2 -2
  18. package/dist/cdn/{VEFFB5HW.js → 4D4JUG4C.js} +1 -1
  19. package/dist/cdn/{LEGB4PPF.js → 4GN6WWZB.js} +1 -1
  20. package/dist/cdn/{RQHAO57B.js → 4MD75RVS.js} +1 -1
  21. package/dist/cdn/{PZLYNDNS.js → 4MGPYD2C.js} +2 -2
  22. package/dist/cdn/{HZGI4IYF.js → 4TXAIPAV.js} +2 -2
  23. package/dist/cdn/{5MVQM3XO.js → 4YOLJ22J.js} +2 -2
  24. package/dist/cdn/{PKS62HB2.js → 4ZPTS5KZ.js} +2 -2
  25. package/dist/cdn/5253FCAA.js +4 -0
  26. package/dist/cdn/{VZTVT7W4.js → 5325K6YZ.js} +2 -2
  27. package/dist/cdn/{IFJSYBIO.js → 57YXUARI.js} +2 -2
  28. package/dist/cdn/{PJC6SXTD.js → 5JMJMFDW.js} +2 -2
  29. package/dist/cdn/{N4YEVO4Y.js → 5MPACKGM.js} +2 -2
  30. package/dist/cdn/{N7XVZJMY.js → 5OV7AWYU.js} +2 -2
  31. package/dist/cdn/{QFZD7GCJ.js → 5QG46LCT.js} +2 -2
  32. package/dist/cdn/{SL2Z2VTM.js → 5QZWFNDG.js} +2 -2
  33. package/dist/cdn/{YJY766UU.js → 5ZH5LYCG.js} +2 -2
  34. package/dist/cdn/{F527WKRH.js → 67M6LTDD.js} +2 -2
  35. package/dist/cdn/{LG5UWDJZ.js → 6ALKL72V.js} +2 -2
  36. package/dist/cdn/{FFGPVCLB.js → 6BG7W3CN.js} +2 -2
  37. package/dist/cdn/{PJ4OOX6H.js → 6EVHCQPO.js} +2 -2
  38. package/dist/cdn/{3RYCYG6M.js → 6GTMUJA6.js} +2 -2
  39. package/dist/cdn/{2YZRRBF7.js → 6L5CFL7R.js} +2 -2
  40. package/dist/cdn/{TAHX7L7N.js → 76WUG6ZM.js} +1 -1
  41. package/dist/cdn/{TGLYOQNV.js → 77DY6CAU.js} +3 -3
  42. package/dist/cdn/{VYQNTISJ.js → 77RPO7MJ.js} +2 -2
  43. package/dist/cdn/{XKB4YYB6.js → 7DGYAZNS.js} +1 -1
  44. package/dist/cdn/{S3GATO3B.js → 7DRSRLQU.js} +2 -2
  45. package/dist/cdn/{4B5UZHGF.js → 7EN7HPX7.js} +1 -1
  46. package/dist/cdn/{2RZAN4J3.js → 7GI27WHE.js} +2 -2
  47. package/dist/cdn/{LLHTR24H.js → 7GQCHIIL.js} +2 -2
  48. package/dist/cdn/7JGAEA3J.js +4 -0
  49. package/dist/cdn/{TJI4XQVF.js → 7KMQUKVD.js} +2 -2
  50. package/dist/cdn/{6GXM6APH.js → 7KNQESYU.js} +2 -2
  51. package/dist/cdn/{CXF62MZS.js → 7P7IKFXJ.js} +2 -2
  52. package/dist/cdn/{ZDR25IQ2.js → 7QZIMTB6.js} +2 -2
  53. package/dist/cdn/{UBBCUI4G.js → 7UB3DEPT.js} +2 -2
  54. package/dist/cdn/{ZQ6TRYQI.js → 7XRNZ2VO.js} +1 -1
  55. package/dist/cdn/{KZSEXK4T.js → A2JIGX46.js} +2 -2
  56. package/dist/cdn/{CBIUUXGC.js → A2TBPE2G.js} +2 -2
  57. package/dist/cdn/{LQFPA4NV.js → A4KBWJAK.js} +2 -2
  58. package/dist/cdn/{UBSSSD4F.js → A5KVJBPR.js} +2 -2
  59. package/dist/cdn/{4GN7SIYX.js → A7BJA2JV.js} +2 -2
  60. package/dist/cdn/{PHJF3WTM.js → AD4H2ATA.js} +2 -2
  61. package/dist/cdn/{GDMJG5O6.js → AFRKEAQM.js} +2 -2
  62. package/dist/cdn/{5LHOUR5X.js → AJWBRQQN.js} +2 -2
  63. package/dist/cdn/{R2QN2NVA.js → AMSTPHGE.js} +2 -2
  64. package/dist/cdn/{VDKRDZJM.js → ANMSCQDK.js} +2 -2
  65. package/dist/cdn/APNPQ7O7.js +4 -0
  66. package/dist/cdn/{3JIZ4OVA.js → ARSSBQ3Y.js} +2 -2
  67. package/dist/cdn/{DNEPWMNI.js → AS7XQPFZ.js} +2 -2
  68. package/dist/cdn/{NAM4J36C.js → AX43INFU.js} +2 -2
  69. package/dist/cdn/{47GUYAPC.js → AZCMMHWC.js} +2 -2
  70. package/dist/cdn/{6FFTVBS4.js → AZXNU3JV.js} +2 -2
  71. package/dist/cdn/{FINOANYC.js → B25VKT4V.js} +2 -2
  72. package/dist/cdn/{JU5GXMWH.js → B2AO3FYW.js} +1 -1
  73. package/dist/cdn/{JV6ZKXC4.js → B3YWATN3.js} +2 -2
  74. package/dist/cdn/B5FGKAM6.js +4 -0
  75. package/dist/cdn/{DWZUCJFG.js → B6EWOQY5.js} +2 -2
  76. package/dist/cdn/{YKW4FGXP.js → BK567S5G.js} +2 -2
  77. package/dist/cdn/{R6NWJH2T.js → BLVRQ6OB.js} +1 -1
  78. package/dist/cdn/{GUAMN5PO.js → BRGIANIA.js} +2 -2
  79. package/dist/cdn/{2ROXBM6C.js → BTL6T5RK.js} +2 -2
  80. package/dist/cdn/{ANFQG7LD.js → BUR77F2K.js} +1 -1
  81. package/dist/cdn/{CC7GNQZN.js → BVARQ3DZ.js} +2 -2
  82. package/dist/cdn/{MQBQ5D5G.js → BYBBSBXY.js} +2 -2
  83. package/dist/cdn/{Z46YZXN7.js → C6YIH4HI.js} +2 -2
  84. package/dist/cdn/{KO3ONQ7A.js → CIRQZIIA.js} +2 -2
  85. package/dist/cdn/{VXNYWTA2.js → CV5YU67D.js} +2 -2
  86. package/dist/cdn/{CGC5HVLI.js → CYTBK2BQ.js} +2 -2
  87. package/dist/cdn/{62NXY2XK.js → CZ3WANK2.js} +2 -2
  88. package/dist/cdn/{5KN2AFRH.js → D2ATJM23.js} +2 -2
  89. package/dist/cdn/D4IRZK6U.js +18 -0
  90. package/dist/cdn/{A3XXT3VU.js → D54KWJVY.js} +2 -2
  91. package/dist/cdn/{2D4J4M2J.js → D5EP34TV.js} +1 -1
  92. package/dist/cdn/{DUYAP33V.js → DBETPFAY.js} +2 -2
  93. package/dist/cdn/{GNS3QL7M.js → DDKMU6YS.js} +1 -1
  94. package/dist/cdn/{BJ7XQIDM.js → DJA3AADV.js} +2 -2
  95. package/dist/cdn/{M4PMDTEE.js → DP6BIYZV.js} +2 -2
  96. package/dist/cdn/{N7CCSN2V.js → DRVD2AAI.js} +1 -1
  97. package/dist/cdn/{QU74S4RI.js → DZOQFMST.js} +2 -2
  98. package/dist/cdn/{CVY6NXHC.js → E3J4OV7H.js} +2 -2
  99. package/dist/cdn/{U7HGDUHD.js → EHPD5LNH.js} +2 -2
  100. package/dist/cdn/{PSUXO4NH.js → EHWDZP62.js} +2 -2
  101. package/dist/cdn/{BBWZXQIW.js → ES57S3YD.js} +2 -2
  102. package/dist/cdn/{FRUGMWTJ.js → ETXGPE47.js} +2 -2
  103. package/dist/cdn/{32BEPLL5.js → EWG4LDCG.js} +2 -2
  104. package/dist/cdn/{PYTEXGKE.js → EWLFZX72.js} +2 -2
  105. package/dist/cdn/{QZMNFU3O.js → EYOCOJSR.js} +2 -2
  106. package/dist/cdn/{QABYI35N.js → F4W35326.js} +2 -2
  107. package/dist/cdn/{7PUAGOWX.js → F5MY54IS.js} +1 -1
  108. package/dist/cdn/{ELWIFWTO.js → F63KEMM3.js} +1 -1
  109. package/dist/cdn/F6Y7AO3M.js +18 -0
  110. package/dist/cdn/F7AR6B4Q.js +18 -0
  111. package/dist/cdn/{MDUE7TQA.js → F7HH77RT.js} +2 -2
  112. package/dist/cdn/{XGCJQZRI.js → FFAVYRB4.js} +2 -2
  113. package/dist/cdn/{PE4QKLMA.js → FG4RZ2ZL.js} +2 -2
  114. package/dist/cdn/{L7XDT5RE.js → FGFRQH3J.js} +4 -4
  115. package/dist/cdn/{B4ACCQYI.js → FH5CEEAL.js} +2 -2
  116. package/dist/cdn/{4FHN36IJ.js → FI4D65D6.js} +2 -2
  117. package/dist/cdn/{S7LILHZ6.js → FIGAKUCR.js} +2 -2
  118. package/dist/cdn/{KJEZ63MM.js → FNN6KMV2.js} +2 -2
  119. package/dist/cdn/{GTLD5NIN.js → FR3LDSFZ.js} +2 -2
  120. package/dist/cdn/{Q3TRQVCN.js → FSQIWFIM.js} +2 -2
  121. package/dist/cdn/{ZPQHWXVT.js → FVBN55HK.js} +2 -2
  122. package/dist/cdn/{PE3SSYAD.js → G2IXPHFG.js} +2 -2
  123. package/dist/cdn/{IX46G3WW.js → G2RN44GK.js} +1 -1
  124. package/dist/cdn/{MUN27JUW.js → G4RR2COS.js} +2 -2
  125. package/dist/cdn/{GNYR5T7P.js → G57OJUTV.js} +2 -2
  126. package/dist/cdn/{GBVJR7G4.js → G7TXJGIG.js} +1 -1
  127. package/dist/cdn/{C52XX5ZG.js → GBQZCOMU.js} +2 -2
  128. package/dist/cdn/GDBXS7KE.js +4 -0
  129. package/dist/cdn/{LU4ZYEEQ.js → GIPIFBTE.js} +2 -2
  130. package/dist/cdn/GO3CZAXV.js +4 -0
  131. package/dist/cdn/{YAGUTU2N.js → GPG6ILNV.js} +2 -2
  132. package/dist/cdn/{SD2CLQWR.js → GTLNO4OA.js} +1 -1
  133. package/dist/cdn/{ONBSV4YT.js → GYNGOAT6.js} +2 -2
  134. package/dist/cdn/{UFH2ESKV.js → GZJPCOO2.js} +1 -1
  135. package/dist/cdn/{5NLTGNGB.js → H55RDRDA.js} +2 -2
  136. package/dist/cdn/{6THHSLTV.js → HA657JM2.js} +2 -2
  137. package/dist/cdn/{RECU3VB6.js → HDIHCB33.js} +2 -2
  138. package/dist/cdn/HGDIBWTX.js +18 -0
  139. package/dist/cdn/{WYVS67DX.js → HIJ2VUZY.js} +2 -2
  140. package/dist/cdn/{SEE5QR2R.js → HIVBMS4W.js} +2 -2
  141. package/dist/cdn/{CD53XWYA.js → HKJ2253W.js} +2 -2
  142. package/dist/cdn/{DSGRTZC7.js → HKNCASTM.js} +2 -2
  143. package/dist/cdn/{WVCE4HNT.js → HLDTKQML.js} +2 -2
  144. package/dist/cdn/{CNFZJ3VN.js → HPHWYMF3.js} +2 -2
  145. package/dist/cdn/{CGVNTPMW.js → HQPCR5CJ.js} +2 -2
  146. package/dist/cdn/{TT3JSL5E.js → HR6ENVFY.js} +2 -2
  147. package/dist/cdn/{ODAHMIEG.js → HVYCYJJA.js} +2 -2
  148. package/dist/cdn/{5LZ4OM3G.js → HVYSRDTL.js} +1 -1
  149. package/dist/cdn/{VDRZPPZC.js → HXBWYYB2.js} +2 -2
  150. package/dist/cdn/{6D2PTEFV.js → I2W6HP27.js} +2 -2
  151. package/dist/cdn/{7VJLUWJW.js → I6MGRLI4.js} +2 -2
  152. package/dist/cdn/{S5LJNAVJ.js → IF2SDHZP.js} +2 -2
  153. package/dist/cdn/IHQKADUC.js +4 -0
  154. package/dist/cdn/{BVTZQPBH.js → IONO5NHM.js} +2 -2
  155. package/dist/cdn/{ELFWTILT.js → IZ2EPCHV.js} +2 -2
  156. package/dist/cdn/{KLT2SHIJ.js → J3N2IR3X.js} +2 -2
  157. package/dist/cdn/{JNHPEUSM.js → JARC45CV.js} +1 -1
  158. package/dist/cdn/{IGWBDOPR.js → JHZQDGOM.js} +2 -2
  159. package/dist/cdn/{4TMVLWUO.js → JUZPVELG.js} +2 -2
  160. package/dist/cdn/{LWFA6HIB.js → JZEPTF2K.js} +2 -2
  161. package/dist/cdn/{LKQE3JX7.js → K4BEULDQ.js} +2 -2
  162. package/dist/cdn/{C4EGGW6P.js → KAV773MF.js} +1 -1
  163. package/dist/cdn/{5KHJ2Q7T.js → KCM2OFY3.js} +2 -2
  164. package/dist/cdn/KKC3EZXQ.js +4 -0
  165. package/dist/cdn/{2DLI4Y75.js → KN7A2W4U.js} +2 -2
  166. package/dist/cdn/{SDEYHR34.js → KNFAYFJX.js} +2 -2
  167. package/dist/cdn/{4CSTDFLN.js → KOO55D6Y.js} +2 -2
  168. package/dist/cdn/{MN2EPGVQ.js → KUSFOMTK.js} +2 -2
  169. package/dist/cdn/{4TZFTGP5.js → KVMXA3Y6.js} +2 -2
  170. package/dist/cdn/{GU74TCNP.js → L23MKNQC.js} +2 -2
  171. package/dist/cdn/{7RA5VI2M.js → L2MNL4N6.js} +2 -2
  172. package/dist/cdn/{PQVYRUBP.js → L35NOW7V.js} +2 -2
  173. package/dist/cdn/{NV33KYL6.js → LAZSJDRK.js} +2 -2
  174. package/dist/cdn/{EBYHWRAD.js → LB5CWVM5.js} +2 -2
  175. package/dist/cdn/{YSF3U2S4.js → LEM5ESDQ.js} +2 -2
  176. package/dist/cdn/{ZBIVULLU.js → LJOZBNIY.js} +2 -2
  177. package/dist/cdn/{AVJALFKF.js → LJWWQW7J.js} +2 -2
  178. package/dist/cdn/{J7JR3RI7.js → LKD43DNT.js} +2 -2
  179. package/dist/cdn/{7KVWVAR4.js → LLAJ5GH2.js} +2 -2
  180. package/dist/cdn/{BI64QLWY.js → LMNGFYEP.js} +2 -2
  181. package/dist/cdn/{QSFRU6ZE.js → LNTT6I2X.js} +2 -2
  182. package/dist/cdn/{QU7JNZVG.js → LUCWXIPQ.js} +2 -2
  183. package/dist/cdn/{DDV5UYE5.js → LXWHWSX3.js} +1 -1
  184. package/dist/cdn/{U37LWH4D.js → LZPSHFJT.js} +2 -2
  185. package/dist/cdn/{67IWZ3KD.js → M6HNM3ML.js} +2 -2
  186. package/dist/cdn/{FOEUECEM.js → M7SV47G6.js} +2 -2
  187. package/dist/cdn/{UM332TFA.js → MGRNE66F.js} +2 -2
  188. package/dist/cdn/{ETN3A2QC.js → MJIIJ7IR.js} +2 -2
  189. package/dist/cdn/{WUDMEAHZ.js → MQS3QZ22.js} +2 -2
  190. package/dist/cdn/{SGXSUJVY.js → MWDFNHWF.js} +2 -2
  191. package/dist/cdn/{BE7WZVUC.js → MYSOOGRY.js} +1 -1
  192. package/dist/cdn/{JYBX6OYZ.js → NDEKQB6R.js} +2 -2
  193. package/dist/cdn/{WN7I3CLH.js → NF5QA4VW.js} +2 -2
  194. package/dist/cdn/{KGY74VYL.js → NPN7O4FC.js} +2 -2
  195. package/dist/cdn/{NXWK2VRW.js → NY445WIU.js} +1 -1
  196. package/dist/cdn/{MM4EA25Z.js → O3YWDE5A.js} +2 -2
  197. package/dist/cdn/{UG2VB4I7.js → O6M2B5IS.js} +2 -2
  198. package/dist/cdn/{G5PJOI2S.js → ODSRLWLP.js} +2 -2
  199. package/dist/cdn/{3FZJXHAQ.js → OPJDGQPQ.js} +1 -1
  200. package/dist/cdn/{3Y2HEM7T.js → OVAKXTWT.js} +1 -1
  201. package/dist/cdn/{UQVY46LL.js → P3J337S3.js} +2 -2
  202. package/dist/cdn/{BSBEZTMF.js → PRVYKTMW.js} +2 -2
  203. package/dist/cdn/PV7IPXI2.js +18 -0
  204. package/dist/cdn/{VSTHZ6AJ.js → PWVFPPH5.js} +2 -2
  205. package/dist/cdn/{7VKBF2FF.js → Q2G766SX.js} +2 -2
  206. package/dist/cdn/{PDR2NMR5.js → Q2ZDGWJW.js} +1 -1
  207. package/dist/cdn/{4GFQFORZ.js → Q6HYEE7V.js} +2 -2
  208. package/dist/cdn/{IODYGL3H.js → QBOSXN7R.js} +2 -2
  209. package/dist/cdn/{NUWXRXBH.js → QDXWYPJL.js} +2 -2
  210. package/dist/cdn/{ZOSUIDTX.js → QERWPSRP.js} +2 -2
  211. package/dist/cdn/{DT5LM7Y4.js → QF3STRWQ.js} +1 -1
  212. package/dist/cdn/{GI4X7A5E.js → QFKIG5HD.js} +2 -2
  213. package/dist/cdn/{H36K2KKY.js → QIVRCSOY.js} +2 -2
  214. package/dist/cdn/{AB3EXVBZ.js → QKKC6GBL.js} +2 -2
  215. package/dist/cdn/{GPLQK6HM.js → QKSQZGNF.js} +2 -2
  216. package/dist/cdn/{ZHO4ZAWI.js → QKXPSAO2.js} +2 -2
  217. package/dist/cdn/{5LBKY3ZB.js → QLTUYSOO.js} +2 -2
  218. package/dist/cdn/{YNLF6CBA.js → QPH2ZSRJ.js} +2 -2
  219. package/dist/cdn/{5XNY2IPV.js → QTVIQLKJ.js} +2 -2
  220. package/dist/cdn/QUMBTJ7B.js +18 -0
  221. package/dist/cdn/{F3NKARWH.js → R7EKXMAX.js} +2 -2
  222. package/dist/cdn/{N5ILEPMJ.js → RAS6VSVN.js} +2 -2
  223. package/dist/cdn/{3FBYTHDB.js → RDAND746.js} +1 -1
  224. package/dist/cdn/{25BPRYOW.js → RHIDC6MD.js} +2 -2
  225. package/dist/cdn/{UTMGYYPC.js → RIAEKLSC.js} +2 -2
  226. package/dist/cdn/{4BSGFS3K.js → RIUNU5TW.js} +2 -2
  227. package/dist/cdn/{5UWVK7QB.js → RLYQ3LRK.js} +3 -3
  228. package/dist/cdn/{FQO2HG7M.js → RP55AFNY.js} +2 -2
  229. package/dist/cdn/{WCAMEDNK.js → RQWAIILE.js} +2 -2
  230. package/dist/cdn/{GHAEWQ4U.js → RSPASQLO.js} +2 -2
  231. package/dist/cdn/{OEUYYOHY.js → RZM7X2DV.js} +2 -2
  232. package/dist/cdn/{NLW3FUGS.js → S3JQNLJM.js} +2 -2
  233. package/dist/cdn/{N4VN6R7P.js → SDHBTMKJ.js} +2 -2
  234. package/dist/cdn/{3FFRXMAG.js → SF4CXPFN.js} +2 -2
  235. package/dist/cdn/{JIKGR7Y6.js → SFCGDOPG.js} +2 -2
  236. package/dist/cdn/{PMUI6RJ4.js → SG7HY4KR.js} +2 -2
  237. package/dist/cdn/{I6YRZF2Z.js → SGBJLWPE.js} +2 -2
  238. package/dist/cdn/{ETSR4DTU.js → SHG23ECR.js} +2 -2
  239. package/dist/cdn/{TZD5MGUT.js → SIX2JQL2.js} +1 -1
  240. package/dist/cdn/{OCARJJQL.js → SKSAREHZ.js} +2 -2
  241. package/dist/cdn/{LWLLBQ5N.js → SLAQ2GU6.js} +2 -2
  242. package/dist/cdn/{XKWWXYCP.js → SLB4NTXY.js} +2 -2
  243. package/dist/cdn/{Q6G6KGZ3.js → SM5VDDRN.js} +2 -2
  244. package/dist/cdn/{QUWBDRBE.js → SMAAZRND.js} +2 -2
  245. package/dist/cdn/{I7LH7SU3.js → SMY5OKKE.js} +2 -2
  246. package/dist/cdn/{D3HBPTA4.js → SUGOUOC4.js} +1 -1
  247. package/dist/cdn/{NBQUUMZE.js → SVYYLS7W.js} +2 -2
  248. package/dist/cdn/{OYY2X6G5.js → TN3ITLSW.js} +2 -2
  249. package/dist/cdn/{LB5UU74B.js → TOZIXJZO.js} +2 -2
  250. package/dist/cdn/{V67M3XNW.js → TPXXUP67.js} +2 -2
  251. package/dist/cdn/{KQH7RQH7.js → TRSI6C4V.js} +2 -2
  252. package/dist/cdn/{ULGNQG43.js → TWHMQL23.js} +2 -2
  253. package/dist/cdn/{4OPYQ2ZV.js → U5Z46A5E.js} +2 -2
  254. package/dist/cdn/{7QRMYMOR.js → U65OM7BT.js} +2 -2
  255. package/dist/cdn/{XETIOQJS.js → UC4MDLJF.js} +2 -2
  256. package/dist/cdn/{IMFSUJYA.js → UG6JNU5B.js} +2 -2
  257. package/dist/cdn/{W3IPZTUY.js → UH2QOIEJ.js} +1 -1
  258. package/dist/cdn/{KWP3A7C6.js → ULVD3IW2.js} +2 -2
  259. package/dist/cdn/{UHVWYTHM.js → UQBP62ZD.js} +2 -2
  260. package/dist/cdn/{5V5IWZML.js → UYLUOL7G.js} +3 -3
  261. package/dist/cdn/{N5T6H735.js → VE76CHCV.js} +2 -2
  262. package/dist/cdn/{VAQT7ARN.js → VRDTHKQM.js} +2 -2
  263. package/dist/cdn/VU544BRL.js +4 -0
  264. package/dist/cdn/{WT27D7OF.js → VW34EHE3.js} +2 -2
  265. package/dist/cdn/{Z2TQAG2W.js → VWNN4SWV.js} +2 -2
  266. package/dist/cdn/{DIYKBW3U.js → W3MIURTN.js} +2 -2
  267. package/dist/cdn/{27FMVAFE.js → WCPFC4PZ.js} +2 -2
  268. package/dist/cdn/{6I3NSNO2.js → WF66BB57.js} +2 -2
  269. package/dist/cdn/{BXW3TA6O.js → WIMSMHDF.js} +2 -2
  270. package/dist/cdn/{5NHYI3W6.js → WIZHWIJI.js} +2 -2
  271. package/dist/cdn/{Q2SKOFQP.js → WMQPXSBF.js} +2 -2
  272. package/dist/cdn/{WL2QS77G.js → WO4VN3HA.js} +2 -2
  273. package/dist/cdn/{EPUOFHKO.js → WOE5WBGS.js} +1 -1
  274. package/dist/cdn/{3BO2FDBN.js → XCWI7Y7D.js} +2 -2
  275. package/dist/cdn/{FKJHLJPA.js → XH733SKB.js} +2 -2
  276. package/dist/cdn/{7WGHDJ4F.js → XLF4EXMY.js} +2 -2
  277. package/dist/cdn/{NBSLCKRM.js → XWTGQKAR.js} +1 -1
  278. package/dist/cdn/{VWFYEGZK.js → Y5GTW2DA.js} +2 -2
  279. package/dist/cdn/{7MFEM32P.js → Y766BHKT.js} +2 -2
  280. package/dist/cdn/{EO6UJOYB.js → Y7UBXMDQ.js} +2 -2
  281. package/dist/cdn/{QLWQDLYJ.js → YF6SFVFK.js} +2 -2
  282. package/dist/cdn/{NWWSZQFW.js → YOY2GNVH.js} +2 -2
  283. package/dist/cdn/{D5LUMTLN.js → YRKM4RUJ.js} +1 -1
  284. package/dist/cdn/{D7XRMPPD.js → YUMDEDM5.js} +2 -2
  285. package/dist/cdn/{RLYWJIWS.js → YV6HJVHW.js} +2 -2
  286. package/dist/cdn/{CA2EPZXH.js → YVICINTE.js} +2 -2
  287. package/dist/cdn/{PFFJNYXP.js → YYNMOKSW.js} +2 -2
  288. package/dist/cdn/{TGXRWCA5.js → ZGOI3FXD.js} +2 -2
  289. package/dist/cdn/{4M6QLQL3.js → ZI4TWRCO.js} +2 -2
  290. package/dist/cdn/ZIR6EOKG.js +18 -0
  291. package/dist/cdn/{M4O6K73H.js → ZKCETCZM.js} +2 -2
  292. package/dist/cdn/{JHG32IWY.js → ZP5EZBHS.js} +2 -2
  293. package/dist/cdn/{PMMQB3WH.js → ZS4TLPQ3.js} +2 -2
  294. package/dist/cdn/ZTMI4TJ2.js +18 -0
  295. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +1 -1
  296. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +1 -1
  297. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +1 -1
  298. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +1 -1
  299. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +1 -1
  300. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +1 -1
  301. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +1 -1
  302. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +1 -1
  303. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  304. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +1 -1
  305. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +1 -1
  306. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +1 -1
  307. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +1 -1
  308. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +1 -1
  309. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +1 -1
  310. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +1 -1
  311. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +1 -1
  312. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +1 -1
  313. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +1 -1
  314. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  315. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +1 -1
  316. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +1 -1
  317. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +1 -1
  318. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +1 -1
  319. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +1 -1
  320. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +1 -1
  321. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +1 -1
  322. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +1 -1
  323. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +1 -1
  324. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +1 -1
  325. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +1 -1
  326. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +1 -1
  327. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +1 -1
  328. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +1 -1
  329. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +1 -1
  330. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +1 -1
  331. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +1 -1
  332. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +1 -1
  333. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +1 -1
  334. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +1 -1
  335. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +1 -1
  336. package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
  337. package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
  338. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ar.json +1 -1
  339. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.bg.json +1 -1
  340. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.bs.json +1 -1
  341. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ca.json +1 -1
  342. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.cs.json +1 -1
  343. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.da.json +1 -1
  344. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.de.json +1 -1
  345. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.el.json +1 -1
  346. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.es.json +1 -1
  348. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.et.json +1 -1
  349. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.fi.json +1 -1
  350. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.fr.json +1 -1
  351. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.he.json +1 -1
  352. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.hr.json +1 -1
  353. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.hu.json +1 -1
  354. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.id.json +1 -1
  355. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.it.json +1 -1
  356. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ja.json +1 -1
  357. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
  358. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ko.json +1 -1
  359. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.lt.json +1 -1
  360. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.lv.json +1 -1
  361. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.nl.json +1 -1
  362. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.no.json +1 -1
  363. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.pl.json +1 -1
  364. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.pt-BR.json +1 -1
  365. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.pt-PT.json +1 -1
  366. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ro.json +1 -1
  367. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ru.json +1 -1
  368. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sk.json +1 -1
  369. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sl.json +1 -1
  370. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sr.json +1 -1
  371. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sv.json +1 -1
  372. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.th.json +1 -1
  373. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.tr.json +1 -1
  374. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.uk.json +1 -1
  375. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.vi.json +1 -1
  376. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.zh-CN.json +1 -1
  377. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.zh-HK.json +1 -1
  378. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.zh-TW.json +1 -1
  379. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ar.json +1 -1
  380. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bg.json +1 -1
  381. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bs.json +1 -1
  382. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ca.json +1 -1
  383. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.cs.json +1 -1
  384. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.da.json +1 -1
  385. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.de.json +1 -1
  386. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.el.json +1 -1
  387. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
  388. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.es.json +1 -1
  389. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.et.json +1 -1
  390. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fi.json +1 -1
  391. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fr.json +1 -1
  392. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.he.json +1 -1
  393. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hr.json +1 -1
  394. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hu.json +1 -1
  395. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.id.json +1 -1
  396. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.it.json +1 -1
  397. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ja.json +1 -1
  398. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
  399. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ko.json +1 -1
  400. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lt.json +1 -1
  401. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lv.json +1 -1
  402. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.nl.json +1 -1
  403. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.no.json +1 -1
  404. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pl.json +1 -1
  405. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-BR.json +1 -1
  406. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-PT.json +1 -1
  407. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ro.json +1 -1
  408. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ru.json +1 -1
  409. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sk.json +1 -1
  410. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sl.json +1 -1
  411. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sr.json +1 -1
  412. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sv.json +1 -1
  413. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.th.json +1 -1
  414. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.tr.json +1 -1
  415. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.uk.json +1 -1
  416. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.vi.json +1 -1
  417. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-CN.json +1 -1
  418. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-HK.json +1 -1
  419. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-TW.json +1 -1
  420. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ar.json +1 -1
  421. package/dist/cdn/assets/solution-item-accordion/t9n/messages.bg.json +1 -1
  422. package/dist/cdn/assets/solution-item-accordion/t9n/messages.bs.json +1 -1
  423. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ca.json +1 -1
  424. package/dist/cdn/assets/solution-item-accordion/t9n/messages.cs.json +1 -1
  425. package/dist/cdn/assets/solution-item-accordion/t9n/messages.da.json +1 -1
  426. package/dist/cdn/assets/solution-item-accordion/t9n/messages.de.json +1 -1
  427. package/dist/cdn/assets/solution-item-accordion/t9n/messages.el.json +1 -1
  428. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  429. package/dist/cdn/assets/solution-item-accordion/t9n/messages.es.json +1 -1
  430. package/dist/cdn/assets/solution-item-accordion/t9n/messages.et.json +1 -1
  431. package/dist/cdn/assets/solution-item-accordion/t9n/messages.fi.json +1 -1
  432. package/dist/cdn/assets/solution-item-accordion/t9n/messages.fr.json +1 -1
  433. package/dist/cdn/assets/solution-item-accordion/t9n/messages.he.json +1 -1
  434. package/dist/cdn/assets/solution-item-accordion/t9n/messages.hr.json +1 -1
  435. package/dist/cdn/assets/solution-item-accordion/t9n/messages.hu.json +1 -1
  436. package/dist/cdn/assets/solution-item-accordion/t9n/messages.id.json +1 -1
  437. package/dist/cdn/assets/solution-item-accordion/t9n/messages.it.json +1 -1
  438. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ja.json +1 -1
  439. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  440. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ko.json +1 -1
  441. package/dist/cdn/assets/solution-item-accordion/t9n/messages.lt.json +1 -1
  442. package/dist/cdn/assets/solution-item-accordion/t9n/messages.lv.json +1 -1
  443. package/dist/cdn/assets/solution-item-accordion/t9n/messages.nl.json +1 -1
  444. package/dist/cdn/assets/solution-item-accordion/t9n/messages.no.json +1 -1
  445. package/dist/cdn/assets/solution-item-accordion/t9n/messages.pl.json +1 -1
  446. package/dist/cdn/assets/solution-item-accordion/t9n/messages.pt-BR.json +1 -1
  447. package/dist/cdn/assets/solution-item-accordion/t9n/messages.pt-PT.json +1 -1
  448. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ro.json +1 -1
  449. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ru.json +1 -1
  450. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sk.json +1 -1
  451. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sl.json +1 -1
  452. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sr.json +1 -1
  453. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sv.json +1 -1
  454. package/dist/cdn/assets/solution-item-accordion/t9n/messages.th.json +1 -1
  455. package/dist/cdn/assets/solution-item-accordion/t9n/messages.tr.json +1 -1
  456. package/dist/cdn/assets/solution-item-accordion/t9n/messages.uk.json +1 -1
  457. package/dist/cdn/assets/solution-item-accordion/t9n/messages.vi.json +1 -1
  458. package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-CN.json +1 -1
  459. package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-HK.json +1 -1
  460. package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-TW.json +1 -1
  461. package/dist/cdn/index.js +2 -2
  462. package/dist/chunks/Auth.js +1 -1
  463. package/dist/chunks/appConfig.js +1 -1
  464. package/dist/chunks/cardFetchingUtils.js +1 -1
  465. package/dist/chunks/common.js +1 -1
  466. package/dist/chunks/deployAppContexts.js +1 -1
  467. package/dist/chunks/downloadUtils.js +1 -1
  468. package/dist/chunks/helpers.js +37 -26
  469. package/dist/chunks/index.js +1 -1
  470. package/dist/chunks/interfaces.js +9 -8
  471. package/dist/chunks/loadModules.js +1 -1
  472. package/dist/chunks/mapViewUtils.js +1 -1
  473. package/dist/chunks/pciUtils.js +1 -1
  474. package/dist/chunks/popupUtils.js +1 -1
  475. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  476. package/dist/chunks/privilegeUtils.js +1 -1
  477. package/dist/chunks/publicNotificationStore.js +1 -1
  478. package/dist/chunks/queryUtils.js +1 -1
  479. package/dist/chunks/runtime.js +1 -1
  480. package/dist/chunks/solution-store.js +1 -1
  481. package/dist/chunks/templates.js +1 -1
  482. package/dist/chunks/useT9n.js +1 -1
  483. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  484. package/dist/components/basemap-gallery/customElement.js +1 -1
  485. package/dist/components/buffer-tools/customElement.js +1 -1
  486. package/dist/components/card-manager/customElement.js +1 -1
  487. package/dist/components/consent-manager/customElement.js +1 -1
  488. package/dist/components/create-feature/customElement.js +1 -1
  489. package/dist/components/create-related-feature/customElement.js +1 -1
  490. package/dist/components/crowdsource-manager/customElement.js +1 -1
  491. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  492. package/dist/components/deduct-calculator/customElement.js +1 -1
  493. package/dist/components/delete-button/customElement.js +1 -1
  494. package/dist/components/delete-dialog/customElement.js +1 -1
  495. package/dist/components/edit-card/customElement.js +1 -1
  496. package/dist/components/feature-details/customElement.js +1 -1
  497. package/dist/components/feature-list/customElement.js +1 -1
  498. package/dist/components/field-selection/customElement.js +1 -1
  499. package/dist/components/floor-filter/customElement.js +1 -1
  500. package/dist/components/info-card/customElement.js +1 -1
  501. package/dist/components/json-editor/customElement.js +1 -1
  502. package/dist/components/layer-list/customElement.js +1 -1
  503. package/dist/components/layer-table/customElement.js +1 -1
  504. package/dist/components/map-card/customElement.js +1 -1
  505. package/dist/components/map-draw-tools/customElement.js +1 -1
  506. package/dist/components/map-fullscreen/customElement.js +1 -1
  507. package/dist/components/map-layer-picker/customElement.js +1 -1
  508. package/dist/components/map-legend/customElement.js +1 -1
  509. package/dist/components/map-picker/customElement.js +1 -1
  510. package/dist/components/map-search/customElement.js +1 -1
  511. package/dist/components/map-select-tools/customElement.js +1 -1
  512. package/dist/components/map-tools/customElement.js +1 -1
  513. package/dist/components/pci-calculator/customElement.js +1 -1
  514. package/dist/components/pdf-download/customElement.js +1 -1
  515. package/dist/components/public-notification/customElement.js +1 -1
  516. package/dist/components/refine-selection/customElement.js +1 -1
  517. package/dist/components/selection-tool/customElement.js +1 -1
  518. package/dist/components/solution-article-card/customElement.js +1 -1
  519. package/dist/components/solution-configuration/customElement.js +1 -1
  520. package/dist/components/solution-configure-dialog/customElement.js +14 -16
  521. package/dist/components/solution-configure-dialog/index.d.ts +1 -0
  522. package/dist/components/solution-configure-dialog/index.js +1 -0
  523. package/dist/components/solution-configure-titles/customElement.js +37 -34
  524. package/dist/components/solution-configure-titles/index.d.ts +1 -0
  525. package/dist/components/solution-configure-titles/index.js +1 -0
  526. package/dist/components/solution-contents/customElement.js +1 -1
  527. package/dist/components/solution-delete-dialog/customElement.js +3 -3
  528. package/dist/components/solution-deploy-dialog/customElement.d.ts +1 -1
  529. package/dist/components/solution-deploy-dialog/customElement.js +12 -10
  530. package/dist/components/solution-deploy-dialog/index.d.ts +0 -1
  531. package/dist/components/solution-deploy-dialog/index.js +0 -1
  532. package/dist/components/solution-deployed-card/customElement.js +17 -20
  533. package/dist/components/solution-deployed-card/index.d.ts +0 -3
  534. package/dist/components/solution-deployed-card/index.js +0 -3
  535. package/dist/components/solution-deploying-dialog/customElement.d.ts +4 -0
  536. package/dist/components/solution-deploying-dialog/customElement.js +24 -22
  537. package/dist/components/solution-details-card/customElement.js +4 -4
  538. package/dist/components/solution-details-panel/customElement.js +10 -10
  539. package/dist/components/solution-item/customElement.js +1 -1
  540. package/dist/components/solution-item-accordion/customElement.js +2 -2
  541. package/dist/components/solution-item-details/customElement.js +1 -1
  542. package/dist/components/solution-item-diagram/customElement.js +1 -1
  543. package/dist/components/solution-item-icon/customElement.js +1 -1
  544. package/dist/components/solution-item-sharing/customElement.js +1 -1
  545. package/dist/components/solution-organization-variables/customElement.js +1 -1
  546. package/dist/components/solution-resource-item/customElement.js +1 -1
  547. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  548. package/dist/components/solution-social-share/customElement.js +1 -1
  549. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  550. package/dist/components/solution-template-data/customElement.js +1 -1
  551. package/dist/components/solution-variables/customElement.js +1 -1
  552. package/dist/components/solutions-all-panel/customElement.js +1 -1
  553. package/dist/components/solutions-all-shell/customElement.js +3 -3
  554. package/dist/components/solutions-article-panel/customElement.js +1 -1
  555. package/dist/components/solutions-articles/customElement.js +1 -1
  556. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  557. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  558. package/dist/components/solutions-deployed-shell/customElement.js +12 -12
  559. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  560. package/dist/components/spatial-ref/customElement.js +1 -1
  561. package/dist/components/store-manager/customElement.js +1 -1
  562. package/dist/docs/api.json +41 -2
  563. package/dist/docs/docs.json +50 -5
  564. package/dist/docs/vscode.html-custom-data.json +1 -1
  565. package/dist/docs/web-types.json +9 -4
  566. package/dist/index.js +1 -1
  567. package/dist/loader.js +2 -2
  568. package/dist/types/lumina.d.ts +1 -1
  569. package/dist/types/preact.d.ts +1 -1
  570. package/dist/types/react.d.ts +1 -1
  571. package/dist/types/stencil.d.ts +1 -1
  572. package/dist/utils/helpers.d.ts +37 -16
  573. package/dist/utils/interfaces.d.ts +1 -0
  574. package/package.json +1 -1
  575. package/dist/cdn/4WAKHUFX.js +0 -18
  576. package/dist/cdn/5ZDDGZJ2.js +0 -18
  577. package/dist/cdn/AHCZJWA5.js +0 -4
  578. package/dist/cdn/B65VFI5R.js +0 -18
  579. package/dist/cdn/D4QGPQND.js +0 -18
  580. package/dist/cdn/FZCKTFLA.js +0 -4
  581. package/dist/cdn/GSM6TAUA.js +0 -4
  582. package/dist/cdn/HANAFVAT.js +0 -18
  583. package/dist/cdn/KCVS4LMM.js +0 -18
  584. package/dist/cdn/KV53YB72.js +0 -4
  585. package/dist/cdn/PDMQWXIW.js +0 -4
  586. package/dist/cdn/PWFUVQTO.js +0 -4
  587. package/dist/cdn/RRQM3WWS.js +0 -18
  588. package/dist/cdn/RSOVP27Q.js +0 -4
  589. package/dist/cdn/UB6QDVHQ.js +0 -4
  590. package/dist/cdn/UITXXEST.js +0 -4
  591. package/dist/cdn/VXHKEQOL.js +0 -18
  592. package/dist/cdn/Z76A5P6D.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.20250811 */
4
- import{a as O}from"./47GUYAPC.js";import{A as H,C as M,D as F,d as B,e as L}from"./PDR2NMR5.js";import{b as U}from"./4M6QLQL3.js";import"./KWP3A7C6.js";import"./IFJSYBIO.js";import{A as a,B as b,C,h as T,i as n,j as w,v as S,w as m,x as h,y as I}from"./W3IPZTUY.js";import"./D5LUMTLN.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.20250813 */
4
+ import{a as O}from"./AZCMMHWC.js";import{A as H,C as M,D as F,d as B,e as L}from"./Q2ZDGWJW.js";import{b as U}from"./ZI4TWRCO.js";import"./ULVD3IW2.js";import"./57YXUARI.js";import{A as a,B as b,C,h as T,i as n,j as w,v as S,w as m,x as h,y as I}from"./UH2QOIEJ.js";import"./YRKM4RUJ.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.20250811 */
4
- import{d as m,e as c,f as d,g as f,m as C}from"./W3IPZTUY.js";var P=t=>(...p)=>{let s=c(),e=new t(...p),o=e.exports;m(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let r=[e.component,...s].reverse();return C(r,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,r=n[s]!==t.exports,a=n[s]!==o,g=o!==t.exports;if(r&&!a&&g&&(n[s]=t.exports),p===t.component){if(e){let i=t.component.manager;a&&i.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&i.W(t,x)}})}t.O=e?void 0:s}let h=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(h?f(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P as a};
3
+ v1.1.0-next.20250813 */
4
+ import{d as m,e as c,f as d,g as f,m as C}from"./UH2QOIEJ.js";var P=t=>(...p)=>{let s=c(),e=new t(...p),o=e.exports;m(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let r=[e.component,...s].reverse();return C(r,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,r=n[s]!==t.exports,a=n[s]!==o,g=o!==t.exports;if(r&&!a&&g&&(n[s]=t.exports),p===t.component){if(e){let i=t.component.manager;a&&i.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&i.W(t,x)}})}t.O=e?void 0:s}let h=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(h?f(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P 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.20250811 */
4
- import{e as l,f as o}from"./CC7GNQZN.js";import{d as g}from"./3Y2HEM7T.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
3
+ v1.1.0-next.20250813 */
4
+ import{e as l,f as o}from"./BVARQ3DZ.js";import{d as g}from"./OVAKXTWT.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
@@ -1,5 +1,5 @@
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.20250811 */
4
- import"./D5LUMTLN.js";var B=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var x=e=>{let t=[],r=0;return e=e.replace(/(\[[^\]]*\])/g,(s,a)=>{let c=`__ph-${r}__`;return t.push(a),r++,c}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(s,a,c)=>{let l=`__ph-${r}__`;return t.push(c),r++,a+l}),placeholders:t}},L=(e,t)=>t.replace(/__ph-(\d+)__/g,(r,n)=>e[+n]),f="-shadowcsshost",E="-shadowcssslotted",w="-shadowcsscontext",$=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",P=new RegExp("("+f+$,"gim"),W=new RegExp("("+w+$,"gim"),j=new RegExp("("+E+$,"gim"),h=f+"-no-combinator",N=/-shadowcsshost-no-combinator([^\s]*)/,M=[/::shadow/g,/::content/g],D="([>\\s~+[.,{:][\\s\\S]*)?$",R=/-shadowcsshost/gim,H=e=>new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${e}\\b)`,"gim"),K=H("::slotted"),U=H(":host"),Y=H(":host-context"),A=/\/\*\s*[\s\S]*?\*\//g,G=e=>e.replace(A,""),I=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,q=e=>e.match(I)||[],z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,F=/([{}])/g,J=/(^.*?[^\\])??((:+)(.*)|$)/,Q="{",V="}",S="%BLOCK%",X=(e,t)=>{let r=Z(e),n=0;return r.escapedString.replace(z,(...o)=>{let s=o[2],a="",c=o[4],l="";c&&c.startsWith("{"+S)&&(a=r.blocks[n++],c=c.substring(S.length+1),l="{");let d=t({selector:s,content:a});return`${o[1]}${d.selector}${o[3]}${l}${d.content}${c}`})},Z=e=>{let t=e.split(F),r=[],n=[],o=0,s=[];for(let c=0;c<t.length;c++){let l=t[c];l===V&&o--,o>0?s.push(l):(s.length>0&&(n.push(s.join("")),r.push(S),s=[]),r.push(l)),l===Q&&o++}return s.length>0&&(n.push(s.join("")),r.push(S)),{escapedString:r.join(""),blocks:n}},T=e=>(e=e.replace(Y,`$1${w}`).replace(U,`$1${f}`).replace(K,`$1${E}`),e),O=(e,t,r)=>e.replace(t,(...n)=>{if(n[2]){let o=n[2].split(","),s=[];for(let a=0;a<o.length;a++){let c=o[a].trim();if(!c)break;s.push(r(h,c,n[3]))}return s.join(",")}else return h+n[3]}),b=(e,t,r)=>e+t.replace(f,"")+r,ee=e=>O(e,P,b),te=(e,t,r)=>t.indexOf(f)>-1?b(e,t,r):e+t+r+", "+t+" "+e+r,re=(e,t)=>{let r="."+t+" > ",n=[];return e=e.replace(j,(...o)=>{if(o[2]){let s=o[2].trim(),a=o[3],c=r+s+a,l="";for(let g=o[4]-1;g>=0;g--){let p=o[5][g];if(p==="}"||p===",")break;l=p+l}let u=(l+c).trim(),d=`${l.trimEnd()}${c.trim()}`.trim();if(u!==d){let g=`${d}, ${u}`;n.push({orgSelector:u,updatedSelector:g})}return c}else return h+o[3]}),{selectors:n,cssText:e}},oe=e=>O(e,W,te),ne=e=>M.reduce((t,r)=>t.replace(r," "),e),se=e=>{let t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+D,"m")},ce=(e,t)=>!se(t).test(e),k=(e,t)=>e.replace(J,(r,n="",o,s="",a="")=>n+t+s+a),ae=(e,t,r)=>{if(R.lastIndex=0,R.test(e)){let n=`.${r}`;return e.replace(N,(o,s)=>k(s,n)).replace(R,n+" ")}return t+" "+e},le=(e,t,r)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(v,...i)=>i[0]);let o="."+t,s=v=>{let i=v.trim();if(!i)return"";if(v.indexOf(h)>-1)i=ae(v,t,r);else{let _=v.replace(R,"");_.length>0&&(i=k(_,o))}return i},a=x(e);e=a.content;let c="",l=0,u,d=/( |>|\+|~(?!=))\s*/g,p=!(e.indexOf(h)>-1);for(;(u=d.exec(e))!==null;){let v=u[1],i=e.slice(l,u.index).trim();p=p||i.indexOf(h)>-1;let _=p?s(i):i;c+=`${_} ${v} `,l=d.lastIndex}let m=e.substring(l);return p=p||m.indexOf(h)>-1,c+=p?s(m):m,L(a.placeholders,c)},pe=(e,t,r,n)=>e.split(",").map(o=>n&&o.indexOf("."+n)>-1?o.trim():ce(o,t)?le(o,t,r).trim():o.trim()).join(", "),y=(e,t,r,n)=>X(e,o=>{let s=o.selector,a=o.content;return o.selector[0]!=="@"?s=pe(o.selector,t,r,n):(o.selector.startsWith("@media")||o.selector.startsWith("@supports")||o.selector.startsWith("@page")||o.selector.startsWith("@document"))&&(a=y(o.content,t,r,n)),{selector:s.replace(/\s{2,}/g," ").trim(),content:a}}),ie=(e,t,r,n)=>{e=T(e),e=ee(e),e=oe(e);let o=re(e,n);return e=o.cssText,e=ne(e),t&&(e=y(e,t,r,n)),e=C(e,r),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:o.selectors.map(s=>({orgSelector:C(s.orgSelector,r),updatedSelector:C(s.updatedSelector,r)}))}},C=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),ue=(e,t)=>{let r=t+"-h",n=t+"-s",o=q(e);e=G(e);let s=ie(e,t,r,n);return e=[s.cssText,...o].join(`
3
+ v1.1.0-next.20250813 */
4
+ import"./YRKM4RUJ.js";var B=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var x=e=>{let t=[],r=0;return e=e.replace(/(\[[^\]]*\])/g,(s,a)=>{let c=`__ph-${r}__`;return t.push(a),r++,c}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(s,a,c)=>{let l=`__ph-${r}__`;return t.push(c),r++,a+l}),placeholders:t}},L=(e,t)=>t.replace(/__ph-(\d+)__/g,(r,n)=>e[+n]),f="-shadowcsshost",E="-shadowcssslotted",w="-shadowcsscontext",$=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",P=new RegExp("("+f+$,"gim"),W=new RegExp("("+w+$,"gim"),j=new RegExp("("+E+$,"gim"),h=f+"-no-combinator",N=/-shadowcsshost-no-combinator([^\s]*)/,M=[/::shadow/g,/::content/g],D="([>\\s~+[.,{:][\\s\\S]*)?$",R=/-shadowcsshost/gim,H=e=>new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${e}\\b)`,"gim"),K=H("::slotted"),U=H(":host"),Y=H(":host-context"),A=/\/\*\s*[\s\S]*?\*\//g,G=e=>e.replace(A,""),I=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,q=e=>e.match(I)||[],z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,F=/([{}])/g,J=/(^.*?[^\\])??((:+)(.*)|$)/,Q="{",V="}",S="%BLOCK%",X=(e,t)=>{let r=Z(e),n=0;return r.escapedString.replace(z,(...o)=>{let s=o[2],a="",c=o[4],l="";c&&c.startsWith("{"+S)&&(a=r.blocks[n++],c=c.substring(S.length+1),l="{");let d=t({selector:s,content:a});return`${o[1]}${d.selector}${o[3]}${l}${d.content}${c}`})},Z=e=>{let t=e.split(F),r=[],n=[],o=0,s=[];for(let c=0;c<t.length;c++){let l=t[c];l===V&&o--,o>0?s.push(l):(s.length>0&&(n.push(s.join("")),r.push(S),s=[]),r.push(l)),l===Q&&o++}return s.length>0&&(n.push(s.join("")),r.push(S)),{escapedString:r.join(""),blocks:n}},T=e=>(e=e.replace(Y,`$1${w}`).replace(U,`$1${f}`).replace(K,`$1${E}`),e),O=(e,t,r)=>e.replace(t,(...n)=>{if(n[2]){let o=n[2].split(","),s=[];for(let a=0;a<o.length;a++){let c=o[a].trim();if(!c)break;s.push(r(h,c,n[3]))}return s.join(",")}else return h+n[3]}),b=(e,t,r)=>e+t.replace(f,"")+r,ee=e=>O(e,P,b),te=(e,t,r)=>t.indexOf(f)>-1?b(e,t,r):e+t+r+", "+t+" "+e+r,re=(e,t)=>{let r="."+t+" > ",n=[];return e=e.replace(j,(...o)=>{if(o[2]){let s=o[2].trim(),a=o[3],c=r+s+a,l="";for(let g=o[4]-1;g>=0;g--){let p=o[5][g];if(p==="}"||p===",")break;l=p+l}let u=(l+c).trim(),d=`${l.trimEnd()}${c.trim()}`.trim();if(u!==d){let g=`${d}, ${u}`;n.push({orgSelector:u,updatedSelector:g})}return c}else return h+o[3]}),{selectors:n,cssText:e}},oe=e=>O(e,W,te),ne=e=>M.reduce((t,r)=>t.replace(r," "),e),se=e=>{let t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+D,"m")},ce=(e,t)=>!se(t).test(e),k=(e,t)=>e.replace(J,(r,n="",o,s="",a="")=>n+t+s+a),ae=(e,t,r)=>{if(R.lastIndex=0,R.test(e)){let n=`.${r}`;return e.replace(N,(o,s)=>k(s,n)).replace(R,n+" ")}return t+" "+e},le=(e,t,r)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(v,...i)=>i[0]);let o="."+t,s=v=>{let i=v.trim();if(!i)return"";if(v.indexOf(h)>-1)i=ae(v,t,r);else{let _=v.replace(R,"");_.length>0&&(i=k(_,o))}return i},a=x(e);e=a.content;let c="",l=0,u,d=/( |>|\+|~(?!=))\s*/g,p=!(e.indexOf(h)>-1);for(;(u=d.exec(e))!==null;){let v=u[1],i=e.slice(l,u.index).trim();p=p||i.indexOf(h)>-1;let _=p?s(i):i;c+=`${_} ${v} `,l=d.lastIndex}let m=e.substring(l);return p=p||m.indexOf(h)>-1,c+=p?s(m):m,L(a.placeholders,c)},pe=(e,t,r,n)=>e.split(",").map(o=>n&&o.indexOf("."+n)>-1?o.trim():ce(o,t)?le(o,t,r).trim():o.trim()).join(", "),y=(e,t,r,n)=>X(e,o=>{let s=o.selector,a=o.content;return o.selector[0]!=="@"?s=pe(o.selector,t,r,n):(o.selector.startsWith("@media")||o.selector.startsWith("@supports")||o.selector.startsWith("@page")||o.selector.startsWith("@document"))&&(a=y(o.content,t,r,n)),{selector:s.replace(/\s{2,}/g," ").trim(),content:a}}),ie=(e,t,r,n)=>{e=T(e),e=ee(e),e=oe(e);let o=re(e,n);return e=o.cssText,e=ne(e),t&&(e=y(e,t,r,n)),e=C(e,r),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:o.selectors.map(s=>({orgSelector:C(s.orgSelector,r),updatedSelector:C(s.updatedSelector,r)}))}},C=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),ue=(e,t)=>{let r=t+"-h",n=t+"-s",o=q(e);e=G(e);let s=ie(e,t,r,n);return e=[s.cssText,...o].join(`
5
5
  `),s.slottedSelectors.forEach(a=>{let c=new RegExp(B(a.orgSelector),"g");e=e.replace(c,a.updatedSelector)}),e};export{ue as scopeCss};
@@ -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.20250811 */
4
- import{a as c}from"./ETN3A2QC.js";import"./KWP3A7C6.js";import"./IFJSYBIO.js";import{b as o}from"./PSUXO4NH.js";import{h as s,i,k as r,n as l,y as n}from"./W3IPZTUY.js";import"./D5LUMTLN.js";var d=s`/** @license
3
+ v1.1.0-next.20250813 */
4
+ import{a as c}from"./MJIIJ7IR.js";import"./ULVD3IW2.js";import"./57YXUARI.js";import{b as o}from"./EHWDZP62.js";import{h as s,i,k as r,n as l,y as n}from"./UH2QOIEJ.js";import"./YRKM4RUJ.js";var d=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250811 */
4
- import{a as e}from"./VAQT7ARN.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
3
+ v1.1.0-next.20250813 */
4
+ import{a as e}from"./VRDTHKQM.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250811 */
4
- import{a as m}from"./CXF62MZS.js";import{a as i}from"./QU74S4RI.js";import{a as c}from"./D7XRMPPD.js";import"./6GXM6APH.js";import"./TAHX7L7N.js";import"./NBSLCKRM.js";import"./PVQZBQBD.js";import{a as n,b as p}from"./PHJF3WTM.js";import"./KJEZ63MM.js";import"./LKQE3JX7.js";import"./PMMQB3WH.js";import{a}from"./PMUI6RJ4.js";import{a as r}from"./HH7VHJVF.js";import"./4TZFTGP5.js";import"./4B5UZHGF.js";import"./3FBYTHDB.js";import"./CGC5HVLI.js";import"./ELWIFWTO.js";import"./LG5UWDJZ.js";import"./ULGNQG43.js";import"./RQHAO57B.js";import"./GU74TCNP.js";import"./4GN7SIYX.js";import"./MQBQ5D5G.js";import"./NUWXRXBH.js";import"./QFZD7GCJ.js";import"./3RYCYG6M.js";import"./IMFSUJYA.js";import"./R6NWJH2T.js";import"./7WGHDJ4F.js";import"./TZD5MGUT.js";import"./XKB4YYB6.js";import"./WYVS67DX.js";import"./BBWZXQIW.js";import"./ZBIVULLU.js";import"./VEFFB5HW.js";import"./F527WKRH.js";import"./25BPRYOW.js";import"./VAQT7ARN.js";import"./GBVJR7G4.js";import"./N7CCSN2V.js";import"./D5LUMTLN.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.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 r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
3
+ v1.1.0-next.20250813 */
4
+ import{a as m}from"./7P7IKFXJ.js";import{a as i}from"./DZOQFMST.js";import{a as c}from"./YUMDEDM5.js";import"./7KNQESYU.js";import"./76WUG6ZM.js";import"./XWTGQKAR.js";import"./2QFXOBI3.js";import{a as n,b as p}from"./AD4H2ATA.js";import"./FNN6KMV2.js";import"./K4BEULDQ.js";import"./ZS4TLPQ3.js";import{a}from"./SG7HY4KR.js";import{a as r}from"./2FZPIIHB.js";import"./KVMXA3Y6.js";import"./7EN7HPX7.js";import"./RDAND746.js";import"./CYTBK2BQ.js";import"./F63KEMM3.js";import"./6ALKL72V.js";import"./TWHMQL23.js";import"./4MD75RVS.js";import"./L23MKNQC.js";import"./A7BJA2JV.js";import"./BYBBSBXY.js";import"./QDXWYPJL.js";import"./5QG46LCT.js";import"./6GTMUJA6.js";import"./UG6JNU5B.js";import"./BLVRQ6OB.js";import"./XLF4EXMY.js";import"./SIX2JQL2.js";import"./7DGYAZNS.js";import"./HIJ2VUZY.js";import"./ES57S3YD.js";import"./LJOZBNIY.js";import"./4D4JUG4C.js";import"./67M6LTDD.js";import"./RHIDC6MD.js";import"./VRDTHKQM.js";import"./G7TXJGIG.js";import"./DRVD2AAI.js";import"./YRKM4RUJ.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.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 r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250811 */
4
- import{a as S}from"./I6YRZF2Z.js";import"./4M6QLQL3.js";import{c as L,j as M}from"./WCAMEDNK.js";import{j as m}from"./LLHTR24H.js";import"./5LZ4OM3G.js";import{b as v}from"./JNHPEUSM.js";import{a as w}from"./ETN3A2QC.js";import"./KWP3A7C6.js";import"./IFJSYBIO.js";import{b as $}from"./PSUXO4NH.js";import{A as f,h as g,i as o,k as c,n as d,q as y,w as h,x as r,y as I}from"./W3IPZTUY.js";import"./D5LUMTLN.js";function x(l){return l?.indexOf("http://")!==-1}function u(l){return x(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,i){return i&&i.forEach(s=>{l.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=u(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=u(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=u(s.proxyUrl))}}))})}),l}var k=g`@layer{/** @license
3
+ v1.1.0-next.20250813 */
4
+ import{a as S}from"./SGBJLWPE.js";import"./ZI4TWRCO.js";import{c as L,j as M}from"./RQWAIILE.js";import{j as m}from"./7GQCHIIL.js";import"./HVYSRDTL.js";import{b as v}from"./JARC45CV.js";import{a as w}from"./MJIIJ7IR.js";import"./ULVD3IW2.js";import"./57YXUARI.js";import{b as $}from"./EHWDZP62.js";import{A as f,h as g,i as o,k as c,n as d,q as y,w as h,x as r,y as I}from"./UH2QOIEJ.js";import"./YRKM4RUJ.js";function x(l){return l?.indexOf("http://")!==-1}function u(l){return x(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,i){return i&&i.forEach(s=>{l.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=u(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=u(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=u(s.proxyUrl))}}))})}),l}var k=g`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250811 */
4
- import{a as e}from"./VAQT7ARN.js";import{b as t,g as s,m as i}from"./N7CCSN2V.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
3
+ v1.1.0-next.20250813 */
4
+ import{a as e}from"./VRDTHKQM.js";import{b as t,g as s,m as i}from"./DRVD2AAI.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u 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.20250811 */
4
- import{a as y}from"./ULGNQG43.js";import{a as d}from"./GU74TCNP.js";import{a as E}from"./4GN7SIYX.js";import{a as s}from"./MQBQ5D5G.js";import{a as n}from"./NUWXRXBH.js";import{a}from"./QFZD7GCJ.js";import{a as l}from"./3RYCYG6M.js";import{a as e}from"./IMFSUJYA.js";import{a as v}from"./XKB4YYB6.js";import{a as r}from"./WYVS67DX.js";import{a as t}from"./BBWZXQIW.js";import{a as i}from"./F527WKRH.js";import{a as p}from"./25BPRYOW.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
3
+ v1.1.0-next.20250813 */
4
+ import{a as y}from"./TWHMQL23.js";import{a as d}from"./L23MKNQC.js";import{a as E}from"./A7BJA2JV.js";import{a as s}from"./BYBBSBXY.js";import{a as n}from"./QDXWYPJL.js";import{a}from"./5QG46LCT.js";import{a as l}from"./6GTMUJA6.js";import{a as e}from"./UG6JNU5B.js";import{a as v}from"./7DGYAZNS.js";import{a as r}from"./HIJ2VUZY.js";import{a as t}from"./ES57S3YD.js";import{a as i}from"./67M6LTDD.js";import{a as p}from"./RHIDC6MD.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u 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.20250811 */
4
- import{a as u,e as h}from"./32BEPLL5.js";import{a}from"./NWWSZQFW.js";import"./3GPCAH34.js";import"./G5PJOI2S.js";import"./ANFQG7LD.js";import"./QSFRU6ZE.js";import"./CC7GNQZN.js";import"./ZQCQVKSK.js";import"./M4PMDTEE.js";import"./NXWK2VRW.js";import"./3Y2HEM7T.js";import"./6GXM6APH.js";import"./TAHX7L7N.js";import"./NBSLCKRM.js";import"./PVQZBQBD.js";import"./LKQE3JX7.js";import"./PMMQB3WH.js";import"./4TZFTGP5.js";import"./4B5UZHGF.js";import"./3FBYTHDB.js";import"./CGC5HVLI.js";import"./ELWIFWTO.js";import"./RQHAO57B.js";import"./LLHTR24H.js";import{b as l}from"./PSUXO4NH.js";import{n as o,q as n,y as i}from"./W3IPZTUY.js";import"./D5LUMTLN.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.20250813 */
4
+ import{a as u,e as h}from"./EWG4LDCG.js";import{a}from"./YOY2GNVH.js";import"./35KLWNMW.js";import"./ODSRLWLP.js";import"./BUR77F2K.js";import"./LNTT6I2X.js";import"./BVARQ3DZ.js";import"./2BSMPRPL.js";import"./DP6BIYZV.js";import"./NY445WIU.js";import"./OVAKXTWT.js";import"./7KNQESYU.js";import"./76WUG6ZM.js";import"./XWTGQKAR.js";import"./2QFXOBI3.js";import"./K4BEULDQ.js";import"./ZS4TLPQ3.js";import"./KVMXA3Y6.js";import"./7EN7HPX7.js";import"./RDAND746.js";import"./CYTBK2BQ.js";import"./F63KEMM3.js";import"./4MD75RVS.js";import"./7GQCHIIL.js";import{b as l}from"./EHWDZP62.js";import{n as o,q as n,y as i}from"./UH2QOIEJ.js";import"./YRKM4RUJ.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,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.20250811 */
4
- import{g as s}from"./PDR2NMR5.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S as a};
3
+ v1.1.0-next.20250813 */
4
+ import{g as s}from"./Q2ZDGWJW.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S 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.20250811 */
4
- import{a as e}from"./VAQT7ARN.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.20250813 */
4
+ import{a as e}from"./VRDTHKQM.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.20250811 */
4
- import{a as F}from"./DDV5UYE5.js";import{a as Y}from"./QSFRU6ZE.js";import{a as w}from"./PJC6SXTD.js";import{a as J}from"./GPLQK6HM.js";import{a as W,b as H}from"./62NXY2XK.js";import{b as h,c as E}from"./ELFWTILT.js";import"./ZQ6TRYQI.js";import{d as N,g as B,h as V,i as X}from"./CC7GNQZN.js";import{m as u,p as T}from"./ZQCQVKSK.js";import"./M4PMDTEE.js";import"./NXWK2VRW.js";import{b as S,d as C,f as R}from"./3Y2HEM7T.js";import"./C4EGGW6P.js";import{i as j}from"./6GXM6APH.js";import"./TAHX7L7N.js";import{a as m,c as M,e as P,i as l}from"./NBSLCKRM.js";import"./PVQZBQBD.js";import"./KJEZ63MM.js";import"./LKQE3JX7.js";import{a as A,b as O}from"./PMMQB3WH.js";import{s as L}from"./4TZFTGP5.js";import"./4B5UZHGF.js";import"./3FBYTHDB.js";import{a as f}from"./CGC5HVLI.js";import"./ELWIFWTO.js";import"./RQHAO57B.js";import{b as g}from"./GBVJR7G4.js";import"./D5LUMTLN.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
3
+ v1.1.0-next.20250813 */
4
+ import{a as F}from"./LXWHWSX3.js";import{a as Y}from"./LNTT6I2X.js";import{a as w}from"./5JMJMFDW.js";import{a as J}from"./QKSQZGNF.js";import{a as W,b as H}from"./CZ3WANK2.js";import{b as h,c as E}from"./IZ2EPCHV.js";import"./7XRNZ2VO.js";import{d as N,g as B,h as V,i as X}from"./BVARQ3DZ.js";import{m as u,p as T}from"./2BSMPRPL.js";import"./DP6BIYZV.js";import"./NY445WIU.js";import{b as S,d as C,f as R}from"./OVAKXTWT.js";import"./KAV773MF.js";import{i as j}from"./7KNQESYU.js";import"./76WUG6ZM.js";import{a as m,c as M,e as P,i as l}from"./XWTGQKAR.js";import"./2QFXOBI3.js";import"./FNN6KMV2.js";import"./K4BEULDQ.js";import{a as A,b as O}from"./ZS4TLPQ3.js";import{s as L}from"./KVMXA3Y6.js";import"./7EN7HPX7.js";import"./RDAND746.js";import{a as f}from"./CYTBK2BQ.js";import"./F63KEMM3.js";import"./4MD75RVS.js";import{b as g}from"./G7TXJGIG.js";import"./YRKM4RUJ.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
@@ -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.20250811 */
3
+ v1.1.0-next.20250813 */
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.20250811 */
4
- import{a as A,c as T}from"./J7JR3RI7.js";import i from"./BXW3TA6O.js";import e from"./H36K2KKY.js";import{a as C}from"./FINOANYC.js";import{b as I}from"./D3HBPTA4.js";import c from"./RSOVP27Q.js";import{a as _,c as k,d as M,e as L}from"./PQVYRUBP.js";import{H as g,J as v,K as R,pa as S}from"./G5PJOI2S.js";import"./ANFQG7LD.js";import"./QSFRU6ZE.js";import"./CC7GNQZN.js";import"./ZQCQVKSK.js";import"./M4PMDTEE.js";import"./NXWK2VRW.js";import"./3Y2HEM7T.js";import"./6GXM6APH.js";import"./TAHX7L7N.js";import"./NBSLCKRM.js";import"./PVQZBQBD.js";import"./LKQE3JX7.js";import"./PMMQB3WH.js";import{k as P}from"./4TZFTGP5.js";import"./4B5UZHGF.js";import"./3FBYTHDB.js";import"./CGC5HVLI.js";import"./ELWIFWTO.js";import"./RQHAO57B.js";import"./LLHTR24H.js";import{a as $}from"./ETN3A2QC.js";import"./KWP3A7C6.js";import"./IFJSYBIO.js";import{b as x}from"./PSUXO4NH.js";import{A as d,B as w,C as u,h as f,i as a,n as m,w as h,x as p,y as b}from"./W3IPZTUY.js";import"./D5LUMTLN.js";export default $arcgis.t(([,D,{b:H,c:E}])=>{var O=f`/** @license
3
+ v1.1.0-next.20250813 */
4
+ import{a as A,c as T}from"./LKD43DNT.js";import i from"./WIMSMHDF.js";import e from"./QIVRCSOY.js";import{a as C}from"./B25VKT4V.js";import{b as I}from"./SUGOUOC4.js";import c from"./VU544BRL.js";import{a as _,c as k,d as M,e as L}from"./L35NOW7V.js";import{H as g,J as v,K as R,pa as S}from"./ODSRLWLP.js";import"./BUR77F2K.js";import"./LNTT6I2X.js";import"./BVARQ3DZ.js";import"./2BSMPRPL.js";import"./DP6BIYZV.js";import"./NY445WIU.js";import"./OVAKXTWT.js";import"./7KNQESYU.js";import"./76WUG6ZM.js";import"./XWTGQKAR.js";import"./2QFXOBI3.js";import"./K4BEULDQ.js";import"./ZS4TLPQ3.js";import{k as P}from"./KVMXA3Y6.js";import"./7EN7HPX7.js";import"./RDAND746.js";import"./CYTBK2BQ.js";import"./F63KEMM3.js";import"./4MD75RVS.js";import"./7GQCHIIL.js";import{a as $}from"./MJIIJ7IR.js";import"./ULVD3IW2.js";import"./57YXUARI.js";import{b as x}from"./EHWDZP62.js";import{A as d,B as w,C as u,h as f,i as a,n as m,w as h,x as p,y as b}from"./UH2QOIEJ.js";import"./YRKM4RUJ.js";export default $arcgis.t(([,D,{b:H,c:E}])=>{var O=f`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as A,c as T}from"./J7JR3RI7.js";import i from"./BXW3TA6O.js";import e f
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.cursor-default{cursor:default}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:1px;border-bottom-style:solid}.row-margin-2{margin-inline-start:2rem;margin-inline-end:2rem}ul{list-style-type:disc;margin-block-start:0px;margin-block-end:0px}calcite-label{--calcite-label-margin-bottom: 0px}.title-font-colors{--calcite-label-text-color: var(--calcite-color-text-2)}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-end-2{padding-inline-end:2rem}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.width-330{width:330px}.card-group{overflow:hidden;padding:.5rem}calcite-card{width:400px}@media (max-width: 800px){calcite-card{width:calc(50% - .5rem)}}@media (max-width: 400px){calcite-card{width:100%}}.max-height-300{max-height:300px}.scrollable-section{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.scrollable-section::-webkit-scrollbar{display:none}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer;padding:2px}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.margin-inline-unset{margin-inline:unset}`,y=class extends b{constructor(){super(),this.authentication=void 0,this.useLocalAppConfig=!1,this._hideScreenshotsScroll=!1,this._hideYouMayAlsoLikeScroll=!1,this.isMobile=!1,this._templates=[],this._translations=$({name:"solution-details-panel",blocking:!0}),this._youMayAlsoLikeBaseHeight=340,this._allCards=[],this._authContextProvider=_({context:L}),this._configureLearnMore="",this._customDeploymentMappings={},this._deployDialogRef=h(),this._deployingDialogRef=h(),this._isMobileContextProvider=_({context:M}),this._privilegePopoverRef=h(),this._privileges=[],this._regexFsUrl="https?:\\/\\/.+FeatureServer\\b",this._regexID="\\b[0-9A-F]{32}\\b",this._screenshotsBaseHeight=300,this._screenshotsDialogRef=h(),this._screenshotsElement=h(),this._userOptions=[],this._userSessionContextProvider=_({context:k}),this._youMayAlsoLikeElement=h(),this.templatesFetched=m(),this.itemPropertiesFetched=m(),this.tokenRefreshed=m(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"allCardsFetched",this._allCardsFetched)}static{this.properties={appConfig:1,authentication:0,card:0,useLocalAppConfig:5,_hideScreenshotsScroll:16,_hideYouMayAlsoLikeScroll:16,isMobile:16,_itemProperties:16,_missingPrivilegeMessages:16,_templates:16,_translations:16,_youMayAlsoLikeBaseHeight:16}}static{this.styles=O}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this.listenOn(this._mediaQuery,"change",this._mediaQueryChange),this.listenOn(window,"calciteTabChange",this._cleanupPanel),this.listenOn(window,"detailsCardSelected",this._cleanupPanel)}async load(){this.useLocalAppConfig&&(this.appConfig=I),this.authentication||(console.log("auth not provided in solutions-details-panel...loading from app config"),this.authentication=new D(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this.authentication.init(),this.authentication.SignedIn||this.authentication.signIn()),this._authContextProvider.setValue(this.authentication),this.authentication.RestUserSession&&this._userSessionContextProvider.setValue(this.authentication.RestUserSession),this._setRefreshInterval()}loaded(){this._resizeObserver=new ResizeObserver(async()=>{this._onResize()}),this._screenshotsElement.value&&this._resizeObserver.observe(this._screenshotsElement.value)}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect()}render(){let e="border-bottom row-margin-2 padding-bottom-1",t=this._getRelatedArticles(),i=this._getYouMayAlsoLikeCards();return a`<calcite-panel><div class=${`${e} padding-top-1`} id=solution-details-row>${this._getSolutionRow()}</div><div class=${d(e)}>${this._getScreenshotsRow()}</div><div class=${d(e)}>${this._getDescriptionRow()}</div><div class=${d(e)}>${this._getRequirementsRow()}</div><div class=${d(e)}>${this._getInformationProductsRow()}</div><div class=${d(e)}>${this._getReleaseNotesRow()}</div>${t.length>0?a`<div class=${d(e)}>${this._getRelatedArticlesRow(t)}</div>`:""}${i.length>0?a`<div class=${d(e)}>${this._getYouMayAlsoLikeRow(i)}</div>`:""}<solution-deploy-dialog .card=${this.card} @deployFailed=${this._closeDialogs} @deployProgressEnd=${this._closeDialogs} @deployProgressStart=${this._deployProgressStart} @deployProgressUpdated=${this._deployProgessUpdated} id=solutionDeployDialog .userOptions=${this._userOptions} ${p(this._deployDialogRef)}></solution-deploy-dialog><solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${p(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} ${p(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel>`}updated(){let e=this._getYouMayAlsoLikeCards(),t=340;for(let i=0;i<e.length;i++){let s=this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`),l=s?.offsetHeight?s.offsetHeight+40:0;l>t&&(t=l)}this._youMayAlsoLikeBaseHeight=t}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=330"),t=this._itemProperties?.demoURL||"",i=this._missingPrivilegeMessages?.leadingMessages||[],s=i.length>0,l=this._missingPrivilegeMessages?.bulletedMessages||[],o=l.length>0,c=this._missingPrivilegeMessages?.trailingMessages||[],n=c.length>0;return a`<div class="display-flex flex-direction-row"><div class="padding-end-2"><img alt=${this.card?.title??u} class="width-330" src=${e??u}></div><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row"><h3 class="padding-end-1"><calcite-label scale=l class="title-font-colors">${this.card?.title}</calcite-label></h3><calcite-chip class="align-self-center" kind=brand .label=${this._translations.new} scale=s>${this._translations.new}</calcite-chip></div><span>${this.card?.snippet}</span><div class="display-flex flex-direction-row padding-top-1"><calcite-button class="padding-end-1" .disabled=${s||o||n} icon-end=arrow-bold-right icon-flip-rtl=end @click=${()=>this._openDeploy()}>${this._translations.deploy}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-end=video @click=${()=>this._openUrl(t)}>${this._translations.watchDemo}</calcite-button><solution-social-share button-appearance=outline class="padding-end-1" share-button-kind=brand .shareButtonText=${this._translations.share}></solution-social-share></div>${s||o||n?a`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(i,l,c)}</div>`:""}</div></div>`}_getMissingPrivilegesNotice(e,t,i){let s="solutions-missing-privileges-notice",l=this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges;return a`<div><calcite-notice class="margin-inline-unset" kind=warning open><div slot=message>${`${l}`}</div><calcite-action icon=information id=${s} slot=actions-end .text=${l}></calcite-action></calcite-notice><calcite-popover .label=${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading} overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${p(this._privilegePopoverRef)}><div class="padding-1 display-flex flex-direction-column"><span class="padding-bottom-1">${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${this._getSpanMessages(e,"padding-bottom-1")}${this._getBulletedMessages(t)}${this._getSpanMessages(i,"padding-top-1")}</div></calcite-popover></div>`}_getSpanMessages(e,t){return e.length>0?e.map(i=>a`<span class=${d(t)}>${i}</span>`):""}_getBulletedMessages(e){return e.length>0?a`<ul>${e.map(t=>a`<li>${t}</li>`)}</ul>`:""}_getScreenshotsRow(){let e=this._hideScreenshotsScroll?"display-none":"";return a`<calcite-panel><div class="display-flex flex-direction-column">${this._getHeader(this._translations.screenshots)}<div class="scrollable-section max-height-300" id=screenshots-subsection @scroll=${()=>this._onScreenshotsScroll()} ${p(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${e}`} icon=arrow-down kind=neutral @click=${()=>{this._scrollSubsection(this._screenshotsBaseHeight,this._screenshotsElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div></calcite-panel>`}_getScreenshots(){let e=this._itemProperties?.preview||[];return a`<calcite-card-group class="card-group" .label=${this._translations.screenshots}>${e.map(t=>this.card?.id?a`<calcite-card class="cursor-pointer" .label=${t.alt} @click=${()=>this._openScreenshotGallery(t)}><div class="card-image-wrap" slot=thumbnail><img alt=${t.alt??u} class="thumbnail card-image" slot=thumbnail src=${E(this.card.id||"",t.name,this._authContextProvider.value)??u}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`:"")}</calcite-card-group>`}_openScreenshotGallery(e){let t=this._screenshotsDialogRef.value;t&&(t.screenshot=e,t.open=!0)}_scrollSubsection(e,t){let i=t.scrollHeight,s=t.scrollTop;e<=s&&(e=s+e),t.scrollTop=i>e?e:i}_getDescriptionRow(){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.description)}<p .innerHTML=${this.card?.description??""}></p><div class="display-flex flex-direction-row">${this.card?.learnMoreUrl?a`<calcite-link class="padding-end-2" icon-end=share @click=${()=>{this._openUrl(this.card?.learnMoreUrl||"")}}>${this._translations.learnHowtoUse}</calcite-link>`:""}${this._itemProperties?.dataDictionaryURL?a`<calcite-link icon-end=share @click=${()=>{this._openUrl(this._itemProperties?.dataDictionaryURL||"")}}>${this._translations.dataDictionary}</calcite-link>`:""}</div></div>`}_getRequirementsRow(){let e=this._getRequirements();return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.requirements)}<span>${this.card?.title?this._translations.requirementsSubText.replace("{{solutionTitle}}",this.card.title):""}</span>${e.map(t=>a`<div class="display-flex flex-direction-row padding-top-1-2"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t}</calcite-label></div>`)}</div>`}_getRequirements(){return this._itemProperties?.requirements||[]}_getInformationProductsRow(){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.informationProducts)}<span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return a`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.item}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(){return(this._itemProperties?.infoProducts||[]).map(e=>a`<calcite-table-row><calcite-table-cell>${e.item}</calcite-table-cell><calcite-table-cell>${e.description}</calcite-table-cell><calcite-table-cell>${e.userType}</calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.releaseNotes)}<span>${this._translations.releaseNotesSubText}</span><calcite-table bordered caption class="padding-top-1">${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div>`}_getReleaseNotesTableHeaderRow(){return a`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(){return(this._itemProperties?.releaseNotes||[])?.map(e=>a`<calcite-table-row><calcite-table-cell>${e.version}</calcite-table-cell><calcite-table-cell alignment=end>${e.description.map(t=>a`<div class="display-flex flex-direction-row"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t.note}</calcite-label></div>`)}</calcite-table-cell></calcite-table-row>`)}_getRelatedArticlesRow(e){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.relatedArticles)}<div class="display-flex flex-direction-row">${e.map(t=>{console.log(t),a`<solution-article-card></solution-article-card>`})}</div></div>`}_getRelatedArticles(){return[]}_getYouMayAlsoLikeRow(e){let t=this._hideYouMayAlsoLikeScroll?"display-none":"";return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.youMayAlsoLike)}<div class="scrollable-section" id=you-may-also-like-subsection @scroll=${()=>this._onYouMayAlsoLikeScroll()} style=${w({maxHeight:`${this._youMayAlsoLikeBaseHeight}px`})} ${p(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row "><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((i,s)=>a`<solution-details-card .id=${`you-may-also-like-${s}`} .card=${i}></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} icon=arrow-down kind=inverse @click=${()=>{this._scrollSubsection(this._youMayAlsoLikeBaseHeight,this._youMayAlsoLikeElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div>`}_getYouMayAlsoLikeCards(){let e=this._itemProperties?.relatedSolutions||[];return this._allCards.filter(t=>e.indexOf(t.deployCommonId)>-1)}_getHeader(e){return a`<h3><calcite-label scale=l class="title-font-colors">${e}</calcite-label></h3>`}_openDeploy(){let e=this._deployDialogRef.value;e&&(e.userOptions=this._userOptions,e.open=!0)}_openUrl(e){window.open(e,"_blank")}async _detailsCardSelected(e){this.card=e.detail,this._onResize(),await this._getItemData()}async _getItemData(){let e=this._userSessionContextProvider.value,t=await S(this.card.id,e),i=await P(this.card.id,e);this._itemProperties=i.properties,this.itemPropertiesFetched.emit(this._itemProperties);let s=A(t,this.card.typeKeywords,this._authContextProvider.value);this._privileges=e.username?s:[];let l=this._privileges.filter(o=>!this._userPrivileges.includes(o));this._missingPrivilegeMessages=T(this._translations,l),(t.params?this.formatParams(t.params):Promise.resolve([])).then(o=>{this._userOptions=o}),this._templates=t.templates,this.templatesFetched.emit(t.templates)}formatParams(e){let t=this._userSessionContextProvider.value,i=[],s=e?Object.keys(e):[],l={id:"",props:[],accordionDisplay:!1};if(s.length>0){let o=[];return s.forEach(c=>{let n=e[c];n.valueType&&n.valueType.toLowerCase()==="itemid"&&o.push(this._findExistingItem(c,"Feature Service",t.username||""))}),Promise.all(o).then(c=>{let n={};return c.forEach(r=>{if(r.query&&r.results&&r.results.length>0){let U=r.query.split(" ")[0].replace("typekeywords:source-","");n[U]={resultId:r.results[0].id,response:r.results[0]}}}),s.forEach(r=>{if(r==="serviceLearnMore"){this._configureLearnMore=e[r],alert(this._configureLearnMore),delete e[r];return}e[r].enterpriseIDMapping&&(this._customDeploymentMappings[r]=e[r].enterpriseIDMapping),l.id=r,n[r]&&(e[r].existingItemId=n[r].resultId,this.updateUserProp(e[r],n[r].response)),this.updateOption(e[r],l,r)}),i.push(l),Promise.resolve(i)}).catch(()=>Promise.resolve([]))}else return Promise.resolve([])}_findExistingItem(e,t,i){let s=this._userSessionContextProvider.value;return C(`typekeywords:source-${e} type:${t} owner:${i}`,s)}updateUserProp(e,t){let i=e.itemType?.toLowerCase()==="feature service",s=new RegExp(i?this._regexFsUrl:e.itemType,"iu"),l=v(t,i?"url":"type","")||"",o=l!==""&&s.test(l);return e.responseValue=o?l:"",e.name=o&&g(t,"name")||"",e.title=o&&g(t,"title")||"",e.itemType=o?g(t,"type"):e.itemType,e.validId=o,e.itemUrl=H(t.id,this._authContextProvider.value),o}updateOption(e,t,i){let s=e.default||"",l=typeof s,o=s.toString();this._setFeatureServiceProps(e);let c=this.getValidation(e,o);t.props.push({id:i,outType:l,prop:i,itemType:e.itemType||"",responseValue:e.responseValue||"",label:e.label||"",choices:e.choices||[],valueType:e.valueType.toLowerCase(),attributes:e.attributes||{},value:e.existingItemId&&e.valueType.toLowerCase()==="itemid"?e.existingItemId:o,default:o,srSearchText:o,autoSelect:o!=="",...c,loading:!1,validId:!0,tooltip:e.tooltip||"",name:e.name||"",title:e.title||"",itemUrl:e.itemUrl||""})}_setFeatureServiceProps(e){e.valueType&&e.valueType.toLowerCase()==="itemid"&&R(e,"attributes.required","true")}getValidation(e,t){let i="",s=g(e,"validation.message")||"",l=!0;return g(e,"attributes.required")==="true"&&(i=v(e,"validation.expression","\\S{1,}"),l=new RegExp(i).test(t)),e.valueType&&e.valueType.toLowerCase()==="itemid"&&(i=this._regexID,s=this._translations.configure.invalidID),{valid:l,validation:{expression:i,message:s}}}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_allCardsFetched(e){this._allCards=e.detail}_onResize(){this._hideScreenshotsScroll=(this._screenshotsElement.value?.scrollHeight||0)<=this._screenshotsBaseHeight+2,this._hideYouMayAlsoLikeScroll=(this._youMayAlsoLikeElement.value?.scrollHeight||0)<=this._youMayAlsoLikeBaseHeight+2}_onScreenshotsScroll(){let e=(this._screenshotsElement.value?.scrollTop||0)+this._screenshotsBaseHeight;e===this._screenshotsElement.value?.scrollHeight&&!this._hideScreenshotsScroll?this._hideScreenshotsScroll=!0:e<(this._screenshotsElement.value?.scrollHeight||0)&&(this._hideScreenshotsScroll=!1)}_onYouMayAlsoLikeScroll(){let e=(this._youMayAlsoLikeElement.value?.scrollTop||0)+this._youMayAlsoLikeBaseHeight;e===this._youMayAlsoLikeElement.value?.scrollHeight&&!this._hideYouMayAlsoLikeScroll?this._hideYouMayAlsoLikeScroll=!0:e<(this._youMayAlsoLikeElement.value?.scrollHeight||0)&&(this._hideYouMayAlsoLikeScroll=!1)}_cleanupPanel(){this.el.shadowRoot?.getElementById("solution-details-row")?.scrollIntoView(!0),this.el.shadowRoot?.getElementById("screenshots-subsection")?.scrollTo(0,0),this.el.shadowRoot?.getElementById("you-may-also-like-subsection")?.scrollTo(0,0),this._privilegePopoverRef.value?.open&&(this._privilegePopoverRef.value.open=!1)}_deployProgressStart(){this._deployingDialogRef.value&&(this._deployingDialogRef.value.open=!0),this._deployDialogRef.value&&this._deployDialogRef.value.classList.add("display-none")}_deployProgessUpdated(e){let t=e.detail;this._deployingDialogRef.value.deploymentProgress=t.progress}_closeDialogs(){this._deployingDialogRef.value.close(),this._deployDialogRef.value.open=!1,this._deployDialogRef.value.classList.remove("display-none")}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let i=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let s=await t?.refreshSession();if(s){this._userSessionContextProvider.setValue(s);let l=s?.token??"";this.tokenRefreshed.emit(l)}},i)}}};x("solution-details-panel",y);return y},c,e,i)
18
+ */.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.cursor-default{cursor:default}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:1px;border-bottom-style:solid}.row-margin-2{margin-inline-start:2rem;margin-inline-end:2rem}ul{list-style-type:disc;margin-block-start:0px;margin-block-end:0px}calcite-label{--calcite-label-margin-bottom: 0px}.title-font-colors{--calcite-label-text-color: var(--calcite-color-text-2)}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-end-2{padding-inline-end:2rem}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.width-330{width:330px}.card-group{overflow:hidden;padding:.5rem}calcite-card{width:400px}@media (max-width: 800px){calcite-card{width:calc(50% - .5rem)}}@media (max-width: 400px){calcite-card{width:100%}}.max-height-300{max-height:300px}.scrollable-section{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.scrollable-section::-webkit-scrollbar{display:none}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer;padding:2px}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.margin-inline-unset{margin-inline:unset}`,y=class extends b{constructor(){super(),this.authentication=void 0,this.useLocalAppConfig=!1,this._hideScreenshotsScroll=!1,this._hideYouMayAlsoLikeScroll=!1,this.isMobile=!1,this._templates=[],this._translations=$({name:"solution-details-panel",blocking:!0}),this._youMayAlsoLikeBaseHeight=340,this._allCards=[],this._authContextProvider=_({context:L}),this._configureLearnMore="",this._customDeploymentMappings={},this._deployDialogRef=h(),this._deployingDialogRef=h(),this._isMobileContextProvider=_({context:M}),this._privilegePopoverRef=h(),this._privileges=[],this._regexFsUrl="https?:\\/\\/.+FeatureServer\\b",this._regexID="\\b[0-9A-F]{32}\\b",this._screenshotsBaseHeight=300,this._screenshotsDialogRef=h(),this._screenshotsElement=h(),this._userOptions=[],this._userSessionContextProvider=_({context:k}),this._youMayAlsoLikeElement=h(),this.templatesFetched=m(),this.itemPropertiesFetched=m(),this.tokenRefreshed=m(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"allCardsFetched",this._allCardsFetched)}static{this.properties={appConfig:1,authentication:0,card:0,useLocalAppConfig:5,_hideScreenshotsScroll:16,_hideYouMayAlsoLikeScroll:16,isMobile:16,_itemProperties:16,_missingPrivilegeMessages:16,_templates:16,_translations:16,_youMayAlsoLikeBaseHeight:16}}static{this.styles=O}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this.listenOn(this._mediaQuery,"change",this._mediaQueryChange),this.listenOn(window,"calciteTabChange",this._cleanupPanel),this.listenOn(window,"detailsCardSelected",this._cleanupPanel)}async load(){this.useLocalAppConfig&&(this.appConfig=I),this.authentication||(console.log("auth not provided in solutions-details-panel...loading from app config"),this.authentication=new D(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this.authentication.init(),this.authentication.SignedIn||this.authentication.signIn()),this._authContextProvider.setValue(this.authentication),this.authentication.RestUserSession&&this._userSessionContextProvider.setValue(this.authentication.RestUserSession),this._setRefreshInterval()}loaded(){this._resizeObserver=new ResizeObserver(async()=>{this._onResize()}),this._screenshotsElement.value&&this._resizeObserver.observe(this._screenshotsElement.value)}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect()}render(){let e="border-bottom row-margin-2 padding-bottom-1",t=this._getRelatedArticles(),i=this._getYouMayAlsoLikeCards();return a`<calcite-panel><div class=${`${e} padding-top-1`} id=solution-details-row>${this._getSolutionRow()}</div><div class=${d(e)}>${this._getScreenshotsRow()}</div><div class=${d(e)}>${this._getDescriptionRow()}</div><div class=${d(e)}>${this._getRequirementsRow()}</div><div class=${d(e)}>${this._getInformationProductsRow()}</div><div class=${d(e)}>${this._getReleaseNotesRow()}</div>${t.length>0?a`<div class=${d(e)}>${this._getRelatedArticlesRow(t)}</div>`:""}${i.length>0?a`<div class=${d(e)}>${this._getYouMayAlsoLikeRow(i)}</div>`:""}<solution-deploy-dialog .card=${this.card} @deployFailed=${this._closeDialogs} @deployProgressEnd=${this._closeDialogs} @deployProgressStart=${this._deployProgressStart} @deployProgressUpdated=${this._deployProgessUpdated} id=solutionDeployDialog .userOptions=${this._userOptions} ${p(this._deployDialogRef)}></solution-deploy-dialog><solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${p(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} ${p(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel>`}updated(){let e=this._getYouMayAlsoLikeCards(),t=340;for(let i=0;i<e.length;i++){let s=this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`),l=s?.offsetHeight?s.offsetHeight+40:0;l>t&&(t=l)}this._youMayAlsoLikeBaseHeight=t}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=330"),t=this._itemProperties?.demoURL||"",i=this._missingPrivilegeMessages?.leadingMessages||[],s=i.length>0,l=this._missingPrivilegeMessages?.bulletedMessages||[],o=l.length>0,c=this._missingPrivilegeMessages?.trailingMessages||[],n=c.length>0;return a`<div class="display-flex flex-direction-row"><div class="padding-end-2"><img alt=${this.card?.title??u} class="width-330" src=${e??u}></div><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row"><h3 class="padding-end-1"><calcite-label scale=l class="title-font-colors">${this.card?.title}</calcite-label></h3><calcite-chip class="align-self-center" kind=brand .label=${this._translations.new} scale=s>${this._translations.new}</calcite-chip></div><span>${this.card?.snippet}</span><div class="display-flex flex-direction-row padding-top-1"><calcite-button class="padding-end-1" .disabled=${s||o||n} icon-end=arrow-bold-right icon-flip-rtl=end @click=${()=>this._openDeploy()}>${this._translations.deploy}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-end=video @click=${()=>this._openUrl(t)}>${this._translations.watchDemo}</calcite-button><solution-social-share button-appearance=outline class="padding-end-1" share-button-kind=brand .shareButtonText=${this._translations.share}></solution-social-share></div>${s||o||n?a`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(i,l,c)}</div>`:""}</div></div>`}_getMissingPrivilegesNotice(e,t,i){let s="solutions-missing-privileges-notice",l=this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges;return a`<div><calcite-notice class="margin-inline-unset" kind=warning open><div slot=message>${`${l}`}</div><calcite-action icon=information id=${s} slot=actions-end .text=${l}></calcite-action></calcite-notice><calcite-popover .label=${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading} overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${p(this._privilegePopoverRef)}><div class="padding-1 display-flex flex-direction-column"><span class="padding-bottom-1">${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${this._getSpanMessages(e,"padding-bottom-1")}${this._getBulletedMessages(t)}${this._getSpanMessages(i,"padding-top-1")}</div></calcite-popover></div>`}_getSpanMessages(e,t){return e.length>0?e.map(i=>a`<span class=${d(t)}>${i}</span>`):""}_getBulletedMessages(e){return e.length>0?a`<ul>${e.map(t=>a`<li>${t}</li>`)}</ul>`:""}_getScreenshotsRow(){let e=this._hideScreenshotsScroll?"display-none":"";return a`<calcite-panel><div class="display-flex flex-direction-column">${this._getHeader(this._translations.screenshots)}<div class="scrollable-section max-height-300" id=screenshots-subsection @scroll=${()=>this._onScreenshotsScroll()} ${p(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${e}`} icon=arrow-down kind=neutral @click=${()=>{this._scrollSubsection(this._screenshotsBaseHeight,this._screenshotsElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div></calcite-panel>`}_getScreenshots(){let e=this._itemProperties?.preview||[];return a`<calcite-card-group class="card-group" .label=${this._translations.screenshots}>${e.map(t=>this.card?.id?a`<calcite-card class="cursor-pointer" .label=${t.alt} @click=${()=>this._openScreenshotGallery(t)}><div class="card-image-wrap" slot=thumbnail><img alt=${t.alt??u} class="thumbnail card-image" slot=thumbnail src=${E(this.card.id||"",t.name,this._authContextProvider.value)??u}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`:"")}</calcite-card-group>`}_openScreenshotGallery(e){let t=this._screenshotsDialogRef.value;t&&(t.screenshot=e,t.open=!0)}_scrollSubsection(e,t){let i=t.scrollHeight,s=t.scrollTop;e<=s&&(e=s+e),t.scrollTop=i>e?e:i}_getDescriptionRow(){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.description)}<p .innerHTML=${this.card?.description??""}></p><div class="display-flex flex-direction-row">${this.card?.learnMoreUrl?a`<calcite-link class="padding-end-2" icon-end=share @click=${()=>{this._openUrl(this.card?.learnMoreUrl||"")}}>${this._translations.learnHowtoUse}</calcite-link>`:""}${this._itemProperties?.dataDictionaryURL?a`<calcite-link icon-end=share @click=${()=>{this._openUrl(this._itemProperties?.dataDictionaryURL||"")}}>${this._translations.dataDictionary}</calcite-link>`:""}</div></div>`}_getRequirementsRow(){let e=this._getRequirements();return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.requirements)}<span>${this.card?.title?this._translations.requirementsSubText.replace("{{solutionTitle}}",this.card.title):""}</span>${e.map(t=>a`<div class="display-flex flex-direction-row padding-top-1-2"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t}</calcite-label></div>`)}</div>`}_getRequirements(){return this._itemProperties?.requirements||[]}_getInformationProductsRow(){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.informationProducts)}<span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return a`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.item}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(){return(this._itemProperties?.infoProducts||[]).map(e=>a`<calcite-table-row><calcite-table-cell>${e.item}</calcite-table-cell><calcite-table-cell>${e.description}</calcite-table-cell><calcite-table-cell>${e.userType}</calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.releaseNotes)}<span>${this._translations.releaseNotesSubText}</span><calcite-table bordered caption class="padding-top-1">${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div>`}_getReleaseNotesTableHeaderRow(){return a`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(){return(this._itemProperties?.releaseNotes||[])?.map(e=>a`<calcite-table-row><calcite-table-cell>${e.version}</calcite-table-cell><calcite-table-cell alignment=end>${e.description.map(t=>a`<div class="display-flex flex-direction-row"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t.note}</calcite-label></div>`)}</calcite-table-cell></calcite-table-row>`)}_getRelatedArticlesRow(e){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.relatedArticles)}<div class="display-flex flex-direction-row">${e.map(t=>{console.log(t),a`<solution-article-card></solution-article-card>`})}</div></div>`}_getRelatedArticles(){return[]}_getYouMayAlsoLikeRow(e){let t=this._hideYouMayAlsoLikeScroll?"display-none":"";return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.youMayAlsoLike)}<div class="scrollable-section" id=you-may-also-like-subsection @scroll=${()=>this._onYouMayAlsoLikeScroll()} style=${w({maxHeight:`${this._youMayAlsoLikeBaseHeight}px`})} ${p(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row "><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((i,s)=>a`<solution-details-card .id=${`you-may-also-like-${s}`} .card=${i}></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} icon=arrow-down kind=inverse @click=${()=>{this._scrollSubsection(this._youMayAlsoLikeBaseHeight,this._youMayAlsoLikeElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div>`}_getYouMayAlsoLikeCards(){let e=this._itemProperties?.relatedSolutions||[];return this._allCards.filter(t=>e.indexOf(t.deployCommonId)>-1)}_getHeader(e){return a`<h3><calcite-label scale=l class="title-font-colors">${e}</calcite-label></h3>`}_openDeploy(){let e=this._deployDialogRef.value;e&&(e.userOptions=this._userOptions,e.open=!0)}_openUrl(e){window.open(e,"_blank")}async _detailsCardSelected(e){this.card=e.detail,this._onResize(),await this._getItemData()}async _getItemData(){let e=this._userSessionContextProvider.value,t=await S(this.card.id,e),i=await P(this.card.id,e);this._itemProperties=i.properties,this.itemPropertiesFetched.emit(this._itemProperties);let s=A(t,this.card.typeKeywords,this._authContextProvider.value);this._privileges=e.username?s:[],this._userPrivileges=this._authContextProvider?this._authContextProvider.value.PortalUserPrivileges:[];let l=this._privileges.filter(o=>!this._userPrivileges.includes(o));l.length>0&&(this._missingPrivilegeMessages=T(this._translations,l)),(t.params?this.formatParams(t.params):Promise.resolve([])).then(o=>{this._userOptions=o}),this._templates=t.templates,this.templatesFetched.emit(t.templates)}formatParams(e){let t=this._userSessionContextProvider.value,i=[],s=e?Object.keys(e):[],l={id:"",props:[],accordionDisplay:!1};if(s.length>0){let o=[];return s.forEach(c=>{let n=e[c];n.valueType&&n.valueType.toLowerCase()==="itemid"&&o.push(this._findExistingItem(c,"Feature Service",t.username||""))}),Promise.all(o).then(c=>{let n={};return c.forEach(r=>{if(r.query&&r.results&&r.results.length>0){let U=r.query.split(" ")[0].replace("typekeywords:source-","");n[U]={resultId:r.results[0].id,response:r.results[0]}}}),s.forEach(r=>{if(r==="serviceLearnMore"){this._configureLearnMore=e[r],alert(this._configureLearnMore),delete e[r];return}e[r].enterpriseIDMapping&&(this._customDeploymentMappings[r]=e[r].enterpriseIDMapping),l.id=r,n[r]&&(e[r].existingItemId=n[r].resultId,this.updateUserProp(e[r],n[r].response)),this.updateOption(e[r],l,r)}),i.push(l),Promise.resolve(i)}).catch(()=>Promise.resolve([]))}else return Promise.resolve([])}_findExistingItem(e,t,i){let s=this._userSessionContextProvider.value;return C(`typekeywords:source-${e} type:${t} owner:${i}`,s)}updateUserProp(e,t){let i=e.itemType?.toLowerCase()==="feature service",s=new RegExp(i?this._regexFsUrl:e.itemType,"iu"),l=v(t,i?"url":"type","")||"",o=l!==""&&s.test(l);return e.responseValue=o?l:"",e.name=o&&g(t,"name")||"",e.title=o&&g(t,"title")||"",e.itemType=o?g(t,"type"):e.itemType,e.validId=o,e.itemUrl=H(t.id,this._authContextProvider.value),o}updateOption(e,t,i){let s=e.default||"",l=typeof s,o=s.toString();this._setFeatureServiceProps(e);let c=this.getValidation(e,o);t.props.push({id:i,outType:l,prop:i,itemType:e.itemType||"",responseValue:e.responseValue||"",label:e.label||"",choices:e.choices||[],valueType:e.valueType.toLowerCase(),attributes:e.attributes||{},value:e.existingItemId&&e.valueType.toLowerCase()==="itemid"?e.existingItemId:o,default:o,srSearchText:o,autoSelect:o!=="",...c,loading:!1,validId:!0,tooltip:e.tooltip||"",name:e.name||"",title:e.title||"",itemUrl:e.itemUrl||""})}_setFeatureServiceProps(e){e.valueType&&e.valueType.toLowerCase()==="itemid"&&R(e,"attributes.required","true")}getValidation(e,t){let i="",s=g(e,"validation.message")||"",l=!0;return g(e,"attributes.required")==="true"&&(i=v(e,"validation.expression","\\S{1,}"),l=new RegExp(i).test(t)),e.valueType&&e.valueType.toLowerCase()==="itemid"&&(i=this._regexID,s=this._translations.configure.invalidID),{valid:l,validation:{expression:i,message:s}}}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_allCardsFetched(e){this._allCards=e.detail}_onResize(){this._hideScreenshotsScroll=(this._screenshotsElement.value?.scrollHeight||0)<=this._screenshotsBaseHeight+2,this._hideYouMayAlsoLikeScroll=(this._youMayAlsoLikeElement.value?.scrollHeight||0)<=this._youMayAlsoLikeBaseHeight+2}_onScreenshotsScroll(){let e=(this._screenshotsElement.value?.scrollTop||0)+this._screenshotsBaseHeight;e===this._screenshotsElement.value?.scrollHeight&&!this._hideScreenshotsScroll?this._hideScreenshotsScroll=!0:e<(this._screenshotsElement.value?.scrollHeight||0)&&(this._hideScreenshotsScroll=!1)}_onYouMayAlsoLikeScroll(){let e=(this._youMayAlsoLikeElement.value?.scrollTop||0)+this._youMayAlsoLikeBaseHeight;e===this._youMayAlsoLikeElement.value?.scrollHeight&&!this._hideYouMayAlsoLikeScroll?this._hideYouMayAlsoLikeScroll=!0:e<(this._youMayAlsoLikeElement.value?.scrollHeight||0)&&(this._hideYouMayAlsoLikeScroll=!1)}_cleanupPanel(){this.el.shadowRoot?.getElementById("solution-details-row")?.scrollIntoView(!0),this.el.shadowRoot?.getElementById("screenshots-subsection")?.scrollTo(0,0),this.el.shadowRoot?.getElementById("you-may-also-like-subsection")?.scrollTo(0,0),this._privilegePopoverRef.value?.open&&(this._privilegePopoverRef.value.open=!1)}_deployProgressStart(e){this._deployingDialogRef.value&&(this._deployingDialogRef.value.open=!0,this._deployingDialogRef.value.abortController=e.detail),this._deployDialogRef.value&&this._deployDialogRef.value.classList.add("display-none")}_deployProgessUpdated(e){let t=e.detail;this._deployingDialogRef.value.deploymentProgress=t.progress}_closeDialogs(){this._deployingDialogRef.value.close(),this._deployDialogRef.value.open=!1,this._deployDialogRef.value.classList.remove("display-none")}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let i=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let s=await t?.refreshSession();if(s){this._userSessionContextProvider.setValue(s);let l=s?.token??"";this.tokenRefreshed.emit(l)}},i)}}};x("solution-details-panel",y);return y},c,e,i)