@esri/solutions-components 1.1.0-next.20250917.3 → 1.1.0-next.20250919

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 (565) hide show
  1. package/dist/cdn/{M3RX2RF3.js → 23PYPGNV.js} +2 -2
  2. package/dist/cdn/{N5RUZKRQ.js → 25RSKNFE.js} +1 -1
  3. package/dist/cdn/{TBNYD6HK.js → 26MPYGIG.js} +2 -2
  4. package/dist/cdn/{276AX3RG.js → 2CYK7INL.js} +2 -2
  5. package/dist/cdn/2FRHPWIV.js +4 -0
  6. package/dist/cdn/{YDH5HCOY.js → 2FZTXLJF.js} +2 -2
  7. package/dist/cdn/{T5AK5HXF.js → 2HHL5GDO.js} +2 -2
  8. package/dist/cdn/{KSCTFR6W.js → 2IATHBU2.js} +2 -2
  9. package/dist/cdn/{YF24FSXE.js → 2JLY6GXH.js} +2 -2
  10. package/dist/cdn/{EKEU4WYB.js → 2RFUKAEH.js} +2 -2
  11. package/dist/cdn/{D6UDTWDC.js → 2SWWWDL6.js} +2 -2
  12. package/dist/cdn/{VRDG2NC5.js → 2THMEY2A.js} +1 -1
  13. package/dist/cdn/{DYJBR5L2.js → 2UL3FVHJ.js} +2 -2
  14. package/dist/cdn/{OGKCTLZZ.js → 2ZGO34ET.js} +2 -2
  15. package/dist/cdn/{LWFUENW4.js → 32ZWYM5U.js} +2 -2
  16. package/dist/cdn/{Y7QZH73P.js → 3IKWHSM3.js} +1 -1
  17. package/dist/cdn/{IVIV7Y5Y.js → 3LO2HODF.js} +2 -2
  18. package/dist/cdn/{7HLYL4Z5.js → 3R3QLLTE.js} +2 -2
  19. package/dist/cdn/{RDYFHICC.js → 3SQVIDB5.js} +1 -1
  20. package/dist/cdn/{53DGGUYK.js → 3SYAT77C.js} +2 -2
  21. package/dist/cdn/{C7BO73SX.js → 432VI57E.js} +2 -2
  22. package/dist/cdn/{MKUH4FCW.js → 47YJBMJV.js} +2 -2
  23. package/dist/cdn/4AW7FNWE.js +4 -0
  24. package/dist/cdn/{3MWM7WHC.js → 4C2TWNV7.js} +2 -2
  25. package/dist/cdn/{DF3SHA3I.js → 4IAWWLSP.js} +2 -2
  26. package/dist/cdn/{G6OJQFFT.js → 4IQHWCQJ.js} +2 -2
  27. package/dist/cdn/{E6XUORCN.js → 4JSDFSS5.js} +2 -2
  28. package/dist/cdn/{N3XH5ROI.js → 4QU2JMD2.js} +2 -2
  29. package/dist/cdn/{O7OELDAC.js → 4QVGUD3F.js} +2 -2
  30. package/dist/cdn/{AUANQYB2.js → 4U5X6NU6.js} +2 -2
  31. package/dist/cdn/{7VP7DCOV.js → 4VCJMFAX.js} +2 -2
  32. package/dist/cdn/{6Y4QB252.js → 55LKJ2ER.js} +2 -2
  33. package/dist/cdn/{2G6GWUOD.js → 562AZEPG.js} +2 -2
  34. package/dist/cdn/{JOYGIH3I.js → 56UNA6ID.js} +2 -2
  35. package/dist/cdn/{6VLEQZO4.js → 5AQUM4X3.js} +2 -2
  36. package/dist/cdn/{NEDZUHBT.js → 5H5VNAXA.js} +2 -2
  37. package/dist/cdn/{5O3U2BCX.js → 5HUKHE2P.js} +2 -2
  38. package/dist/cdn/{G2SCRAL5.js → 5JGZBRBO.js} +2 -2
  39. package/dist/cdn/{DMF3ZS6S.js → 5K55CNJH.js} +1 -1
  40. package/dist/cdn/{F2JTJZO5.js → 5LJN7KVI.js} +2 -2
  41. package/dist/cdn/{HAAFH5XD.js → 5NIHP2K2.js} +1 -1
  42. package/dist/cdn/{FH77EHC7.js → 5OZKEGRZ.js} +2 -2
  43. package/dist/cdn/{C4PSTCU3.js → 5QVK2VWY.js} +2 -2
  44. package/dist/cdn/{3CTSXXQW.js → 5TDJQGLS.js} +2 -2
  45. package/dist/cdn/{LEFUVWDC.js → 5UQQ2RDV.js} +2 -2
  46. package/dist/cdn/{EMW7AZJE.js → 5YP4AERJ.js} +2 -2
  47. package/dist/cdn/{JURBQUK2.js → 5YPAOQZ6.js} +1 -1
  48. package/dist/cdn/{VCQCIAZV.js → 64QGVYDL.js} +2 -2
  49. package/dist/cdn/{GJB5V5L5.js → 6EP7EYXF.js} +2 -2
  50. package/dist/cdn/{2CNJMPJK.js → 6Q2D4LH4.js} +2 -2
  51. package/dist/cdn/{VK4C6LFS.js → 6U7GCOZ5.js} +2 -2
  52. package/dist/cdn/6UPSEFSF.js +18 -0
  53. package/dist/cdn/{AXHFZQLS.js → 6YNWD75J.js} +2 -2
  54. package/dist/cdn/{IJIN4NBZ.js → 72DHPFOS.js} +2 -2
  55. package/dist/cdn/{CMSI3WWQ.js → 74AF7Q4V.js} +2 -2
  56. package/dist/cdn/7E7MOB3V.js +4 -0
  57. package/dist/cdn/{ERITQCPK.js → 7EVMSXGI.js} +1 -1
  58. package/dist/cdn/{QYYRCWN6.js → 7MAKRCEP.js} +2 -2
  59. package/dist/cdn/{HDN2NFMQ.js → 7POFPYPL.js} +2 -2
  60. package/dist/cdn/{F2NIE5RW.js → 7WCO6UHS.js} +3 -3
  61. package/dist/cdn/{KNKWOEED.js → 7Z73FBIK.js} +2 -2
  62. package/dist/cdn/{67IDWQNM.js → 7Z7DPYIV.js} +2 -2
  63. package/dist/cdn/{BQTBQVPE.js → ADNYNIMK.js} +2 -2
  64. package/dist/cdn/{QA5CSQNA.js → AE6GZGAF.js} +2 -2
  65. package/dist/cdn/{OQKRPO6T.js → AF4N3OIS.js} +2 -2
  66. package/dist/cdn/{QS6OENSX.js → AFOJQ2IE.js} +2 -2
  67. package/dist/cdn/{MZYURFVK.js → AJ5SJVVJ.js} +1 -1
  68. package/dist/cdn/{JY6IFP7X.js → ALVRVNPS.js} +2 -2
  69. package/dist/cdn/{V73IY7OB.js → AN4LWKCH.js} +2 -2
  70. package/dist/cdn/{B5COXEYQ.js → ARWKSZYZ.js} +2 -2
  71. package/dist/cdn/{UJL5BL5F.js → ATEIJZEP.js} +1 -1
  72. package/dist/cdn/{XGIAZXUP.js → AUII4R6E.js} +2 -2
  73. package/dist/cdn/{TWLOX2QQ.js → AXIZYYOD.js} +1 -1
  74. package/dist/cdn/{OLEG34OP.js → B2T3TKPT.js} +2 -2
  75. package/dist/cdn/{AFJV6PIB.js → B5XKFTAI.js} +2 -2
  76. package/dist/cdn/{3BSDLNLF.js → BANPC5UN.js} +2 -2
  77. package/dist/cdn/BASOFVFN.js +18 -0
  78. package/dist/cdn/{XGPBKLTN.js → BB6FNZS2.js} +2 -2
  79. package/dist/cdn/{4FOINDFV.js → BIE7H7F2.js} +2 -2
  80. package/dist/cdn/{QN5AHKPP.js → BJ5ZJE23.js} +1 -1
  81. package/dist/cdn/{QCA2CASB.js → BU4X4WFA.js} +2 -2
  82. package/dist/cdn/{QDYFQAQZ.js → CBE2FWWU.js} +2 -2
  83. package/dist/cdn/{SD6WBX5T.js → CC2LNAHG.js} +1 -1
  84. package/dist/cdn/{JD3TRKBI.js → CCYIGVA2.js} +2 -2
  85. package/dist/cdn/{OF3ROUNY.js → CH3ZEWSV.js} +2 -2
  86. package/dist/cdn/{CLIULPKO.js → CI66WKOX.js} +2 -2
  87. package/dist/cdn/{NFQTKGFD.js → CJSVQ6LG.js} +2 -2
  88. package/dist/cdn/{4H6HGRMB.js → CT5VPZ32.js} +2 -2
  89. package/dist/cdn/{H2UV6JFG.js → CTLPAA4F.js} +2 -2
  90. package/dist/cdn/{NA2CTZIS.js → CVEXPD4L.js} +2 -2
  91. package/dist/cdn/{L3XQSI7T.js → CZ3DHUQ3.js} +2 -2
  92. package/dist/cdn/{GQE2GRUW.js → D2I2ESY7.js} +3 -3
  93. package/dist/cdn/{J3XMKSZB.js → D3DQOXP7.js} +1 -1
  94. package/dist/cdn/{CVF7IIIO.js → D5EZNHFT.js} +2 -2
  95. package/dist/cdn/{CB7RWTDL.js → D6ZXJZNV.js} +2 -2
  96. package/dist/cdn/{26V5UISV.js → DA7EQQQU.js} +2 -2
  97. package/dist/cdn/{BANEXHRU.js → DCUZHEWF.js} +2 -2
  98. package/dist/cdn/{XVBGOMY3.js → DENX5YNF.js} +1 -1
  99. package/dist/cdn/{MZIQXHEI.js → DG3NCHON.js} +2 -2
  100. package/dist/cdn/{4IGVGOLH.js → DSTJEDHH.js} +2 -2
  101. package/dist/cdn/{AFVOPDC6.js → E5GL7ZOO.js} +2 -2
  102. package/dist/cdn/{YYB77LS7.js → E6QXIUK2.js} +2 -2
  103. package/dist/cdn/{KH7TLMV4.js → E7LSVQOS.js} +2 -2
  104. package/dist/cdn/{SZ3UYUGX.js → E7VUQI3W.js} +2 -2
  105. package/dist/cdn/{3PHDHRXO.js → EA7EXXPZ.js} +2 -2
  106. package/dist/cdn/{G3V5H3SY.js → EB3NEWYB.js} +2 -2
  107. package/dist/cdn/{MMKL2F74.js → EBWLV674.js} +2 -2
  108. package/dist/cdn/{GYGE2KYV.js → EI7LNKKF.js} +2 -2
  109. package/dist/cdn/{5NGJWYXD.js → EIBMPHPY.js} +1 -1
  110. package/dist/cdn/{ZR6KSLXK.js → ESSLZVVZ.js} +2 -2
  111. package/dist/cdn/{RSI4EODJ.js → EU6EU6DN.js} +2 -2
  112. package/dist/cdn/{6BRMIXSZ.js → EW5FRZQQ.js} +2 -2
  113. package/dist/cdn/{EQDBU2DB.js → FA4AWNDK.js} +2 -2
  114. package/dist/cdn/{ZCES5YBT.js → FE3NYFDU.js} +2 -2
  115. package/dist/cdn/{Y6RCZMXF.js → FE6WEO2D.js} +2 -2
  116. package/dist/cdn/{OGMCZZB7.js → FNFPOYOS.js} +2 -2
  117. package/dist/cdn/{IQQM5XKJ.js → FNL2JJQX.js} +2 -2
  118. package/dist/cdn/{4YSF64DY.js → FPUFZF74.js} +2 -2
  119. package/dist/cdn/{3Q5BUTDT.js → FQ5GITBB.js} +2 -2
  120. package/dist/cdn/{DFZVHHC6.js → FQRFXUNP.js} +2 -2
  121. package/dist/cdn/{MRPZXEML.js → FRAOXURA.js} +2 -2
  122. package/dist/cdn/{XH23XFLO.js → FRWWQJ2M.js} +2 -2
  123. package/dist/cdn/{4WZ6FMVC.js → FT3M26O4.js} +2 -2
  124. package/dist/cdn/{A5R7BOE7.js → FU4RJFYP.js} +2 -2
  125. package/dist/cdn/{NLESHSVE.js → FVOE74BK.js} +2 -2
  126. package/dist/cdn/{QI5OJPHV.js → FXUBY7ZI.js} +1 -1
  127. package/dist/cdn/{ZMJKOGDX.js → G3MLFCP4.js} +2 -2
  128. package/dist/cdn/{4L7TLI7H.js → G7SMBZCG.js} +2 -2
  129. package/dist/cdn/GDU5C2F2.js +18 -0
  130. package/dist/cdn/{EQ5RJFK2.js → GEMXWNPC.js} +2 -2
  131. package/dist/cdn/{KTWFKXEM.js → GG5SR2DN.js} +2 -2
  132. package/dist/cdn/{ORW2ID5T.js → GMP3K42J.js} +1 -1
  133. package/dist/cdn/{74DIIS7X.js → GOWHF3XU.js} +2 -2
  134. package/dist/cdn/{23DGJL3U.js → GQ4HJK47.js} +2 -2
  135. package/dist/cdn/{2VKKSJTP.js → GS2ZMY5L.js} +2 -2
  136. package/dist/cdn/{NTFQ7MA3.js → GUCS3IQJ.js} +1 -1
  137. package/dist/cdn/{7N6WTOTY.js → H7TNBG6I.js} +2 -2
  138. package/dist/cdn/{3W34PSVJ.js → HAUOB7H3.js} +2 -2
  139. package/dist/cdn/{7SCTQDJP.js → HBIOS5LM.js} +2 -2
  140. package/dist/cdn/{I26QCQ5Y.js → HC6RX3Q6.js} +2 -2
  141. package/dist/cdn/{XGEMNF2F.js → HEA4GVJW.js} +2 -2
  142. package/dist/cdn/HEKH6UA4.js +18 -0
  143. package/dist/cdn/HINOYDAA.js +4 -0
  144. package/dist/cdn/{VXQLS3P3.js → HJW6V57X.js} +2 -2
  145. package/dist/cdn/{EN2Q666I.js → HN3XNEVJ.js} +2 -2
  146. package/dist/cdn/{OZ474GXN.js → HNF32GWL.js} +2 -2
  147. package/dist/cdn/{ZDNYTZRV.js → HNQV5CFC.js} +2 -2
  148. package/dist/cdn/{7C2FRIKG.js → HOSXLV5P.js} +2 -2
  149. package/dist/cdn/{7B755BM4.js → HPDRWYXH.js} +2 -2
  150. package/dist/cdn/{XR6QFG6X.js → HXCLPF67.js} +1 -1
  151. package/dist/cdn/{NGX6XZ4C.js → HXQHIZRM.js} +2 -2
  152. package/dist/cdn/{34XR5PYL.js → HYFTYDHW.js} +2 -2
  153. package/dist/cdn/{CZ4Y5ESH.js → HYG2GVSK.js} +2 -2
  154. package/dist/cdn/{TREQXXF6.js → HZ3XYDCO.js} +2 -2
  155. package/dist/cdn/{374C7SUE.js → HZPUJDQL.js} +2 -2
  156. package/dist/cdn/{KRVQ3PG2.js → I3IEGFQU.js} +2 -2
  157. package/dist/cdn/{4HDVSYVJ.js → I4KIQZD5.js} +2 -2
  158. package/dist/cdn/IFFNZMC4.js +18 -0
  159. package/dist/cdn/IHMGQ7TE.js +4 -0
  160. package/dist/cdn/{TSVUNFKW.js → IQ5TNSK7.js} +2 -2
  161. package/dist/cdn/{G55CT3Q3.js → J753SYSS.js} +2 -2
  162. package/dist/cdn/{C6MF6XSF.js → JAWGITGA.js} +2 -2
  163. package/dist/cdn/{AXVCFOW7.js → JAWSSA66.js} +2 -2
  164. package/dist/cdn/{JZFO56X2.js → JG7WE5VY.js} +2 -2
  165. package/dist/cdn/{STURELWO.js → JHFT7ED3.js} +6 -6
  166. package/dist/cdn/JJEPRKG5.js +18 -0
  167. package/dist/cdn/{BS4PAYK2.js → JNRRGIAL.js} +2 -2
  168. package/dist/cdn/{CJVYP2HV.js → K23NB7A3.js} +2 -2
  169. package/dist/cdn/{AWCFCVQT.js → KAVFVYGQ.js} +2 -2
  170. package/dist/cdn/{6E64TWI2.js → KCOXJNV4.js} +2 -2
  171. package/dist/cdn/{ENUTEHGK.js → KE6H3BHJ.js} +2 -2
  172. package/dist/cdn/{D5P6IBF7.js → KELWC65W.js} +2 -2
  173. package/dist/cdn/{3RQUB6W3.js → KETZORZX.js} +2 -2
  174. package/dist/cdn/KIXKAXP2.js +4 -0
  175. package/dist/cdn/{XUALJMY4.js → KPLHATSJ.js} +2 -2
  176. package/dist/cdn/{KNPOLPNI.js → KTFGWGKB.js} +2 -2
  177. package/dist/cdn/{C45K72V3.js → KXIJTBOH.js} +2 -2
  178. package/dist/cdn/{S3JMC6FS.js → L26VEW5I.js} +2 -2
  179. package/dist/cdn/L4NNDOQH.js +18 -0
  180. package/dist/cdn/{GCV7OW3K.js → L5NKIU4P.js} +2 -2
  181. package/dist/cdn/{KIHDYLQD.js → LA5337YO.js} +2 -2
  182. package/dist/cdn/LD2K4YDV.js +18 -0
  183. package/dist/cdn/{IG5T7Z5R.js → LG3XRLMB.js} +2 -2
  184. package/dist/cdn/{3D5IUXVV.js → LK7VF7MT.js} +2 -2
  185. package/dist/cdn/{BJCSE6VB.js → LNY7QBOX.js} +2 -2
  186. package/dist/cdn/{ADIC5PNP.js → LSANVT5Q.js} +3 -3
  187. package/dist/cdn/{E42YBQ7O.js → LWUXNH2Y.js} +2 -2
  188. package/dist/cdn/LY2B7R4M.js +18 -0
  189. package/dist/cdn/LYEKZJKW.js +18 -0
  190. package/dist/cdn/{G2IO5XRI.js → MCTZ4C5W.js} +2 -2
  191. package/dist/cdn/{6CFYWDS6.js → MHRZJSSA.js} +2 -2
  192. package/dist/cdn/{UHD6T5BM.js → MMXXIBS5.js} +2 -2
  193. package/dist/cdn/{CWOMQYWI.js → MO6MKYJW.js} +2 -2
  194. package/dist/cdn/{DQAFHNHQ.js → MQ7EBB2U.js} +2 -2
  195. package/dist/cdn/{WWPUJSHA.js → MWENB3XH.js} +1 -1
  196. package/dist/cdn/{5PHMGK3A.js → MWUM2627.js} +2 -2
  197. package/dist/cdn/{HN25GUU5.js → MYOX7NAJ.js} +2 -2
  198. package/dist/cdn/{67DCQZSH.js → MZVKU4TZ.js} +2 -2
  199. package/dist/cdn/{CMVXBESM.js → N2STUL4S.js} +1 -1
  200. package/dist/cdn/{J6F2UAOG.js → NEUTRLHU.js} +2 -2
  201. package/dist/cdn/{V3QSOB7D.js → NFQH774I.js} +2 -2
  202. package/dist/cdn/{SJJ76QWS.js → NJW7I7SS.js} +2 -2
  203. package/dist/cdn/{VMAQ5VXC.js → NM2BHX26.js} +2 -2
  204. package/dist/cdn/NQP4VUTT.js +4 -0
  205. package/dist/cdn/{HWRXPVXD.js → NR4A5JZV.js} +2 -2
  206. package/dist/cdn/{DANM7XO7.js → NU4UFWQN.js} +1 -1
  207. package/dist/cdn/{UHJBCPBX.js → NWY6LVXU.js} +2 -2
  208. package/dist/cdn/{2TXEPHOF.js → O7KPE4S2.js} +2 -2
  209. package/dist/cdn/{FWAJ6IQS.js → OHZPPS2Y.js} +2 -2
  210. package/dist/cdn/{NDM4GLDC.js → OIVD6L7F.js} +2 -2
  211. package/dist/cdn/{HHFGED3K.js → OKM7IFJT.js} +2 -2
  212. package/dist/cdn/{PNSE3EQY.js → OKPUOSNJ.js} +2 -2
  213. package/dist/cdn/ORMHAQB7.js +18 -0
  214. package/dist/cdn/{W7WUZCJ2.js → OSDOJ6EG.js} +2 -2
  215. package/dist/cdn/{VHQJCMN6.js → P4UQORJJ.js} +2 -2
  216. package/dist/cdn/{2Y43VYYN.js → PA4DS7UD.js} +2 -2
  217. package/dist/cdn/{72J5TD5O.js → PCNIUE3B.js} +2 -2
  218. package/dist/cdn/{MOPBOZ5R.js → PF35JCH7.js} +2 -2
  219. package/dist/cdn/{IVRETE2J.js → PFPNBDCQ.js} +2 -2
  220. package/dist/cdn/{6FHZXXJY.js → PGB5HKNC.js} +3 -3
  221. package/dist/cdn/{AXC3NNWJ.js → PH6GKCBC.js} +2 -2
  222. package/dist/cdn/{5O2LIZF6.js → PJB6T3JY.js} +2 -2
  223. package/dist/cdn/{LGLMJQGM.js → PO2ONXW6.js} +1 -1
  224. package/dist/cdn/PQVTEZTM.js +4 -0
  225. package/dist/cdn/{SQ6MPB4E.js → PS6GNZFQ.js} +2 -2
  226. package/dist/cdn/{BVQRMGNW.js → PUXC5C63.js} +2 -2
  227. package/dist/cdn/{OX24L6MV.js → PV6TADBQ.js} +2 -2
  228. package/dist/cdn/{HTO7TBAF.js → PX67KWPD.js} +1 -1
  229. package/dist/cdn/{QQNJF4BK.js → PYH362OX.js} +2 -2
  230. package/dist/cdn/{3I3P6GGL.js → PYJ724PJ.js} +1 -1
  231. package/dist/cdn/{3VF44LQK.js → PYZAQTM4.js} +2 -2
  232. package/dist/cdn/{Y7RNIA3T.js → Q2ZQ2IC7.js} +2 -2
  233. package/dist/cdn/{HGYCVUOP.js → QAGKIOBD.js} +2 -2
  234. package/dist/cdn/QBJU6IP5.js +18 -0
  235. package/dist/cdn/{BOGZGJQP.js → QDQJTLHQ.js} +1 -1
  236. package/dist/cdn/{4AVSFGC7.js → QGBTVRJY.js} +2 -2
  237. package/dist/cdn/{GHB6GDWI.js → QGJBCH3J.js} +2 -2
  238. package/dist/cdn/{33ZNVZBY.js → QJSJ4SPQ.js} +2 -2
  239. package/dist/cdn/{YBIL24GW.js → QQN3GEXF.js} +2 -2
  240. package/dist/cdn/{JMGZV2HZ.js → QQW4IRIB.js} +2 -2
  241. package/dist/cdn/{TQHVY7BA.js → QRDUEB4Y.js} +2 -2
  242. package/dist/cdn/{LSMI7XCP.js → QT2ICYK5.js} +1 -1
  243. package/dist/cdn/{UV7LEGF3.js → QTFRNZEA.js} +2 -2
  244. package/dist/cdn/{KIDCTLTT.js → QU3FFVKQ.js} +2 -2
  245. package/dist/cdn/{UWLQE77M.js → QZRPG5CX.js} +1 -1
  246. package/dist/cdn/{A7MKEIPS.js → R66SCXZQ.js} +1 -1
  247. package/dist/cdn/{AXSSRTY4.js → RFSRITZ3.js} +2 -2
  248. package/dist/cdn/{QJ5DRYNA.js → RI55VV32.js} +2 -2
  249. package/dist/cdn/{2UBCTQ2F.js → RK2UE6FN.js} +2 -2
  250. package/dist/cdn/{TBEMFSIU.js → RLUV6QYP.js} +2 -2
  251. package/dist/cdn/RPM34J5M.js +4 -0
  252. package/dist/cdn/{ZUGOUKCI.js → RQB6F4ZT.js} +1 -1
  253. package/dist/cdn/{T6SI2BZQ.js → RSM3GJKQ.js} +2 -2
  254. package/dist/cdn/{HCQJOXBZ.js → RUCBQVDF.js} +2 -2
  255. package/dist/cdn/{JCYZD45T.js → RVQIOSL2.js} +2 -2
  256. package/dist/cdn/RXZDN6NU.js +18 -0
  257. package/dist/cdn/S27232YD.js +4 -0
  258. package/dist/cdn/{J5ACZLOA.js → S6KPAYGB.js} +2 -2
  259. package/dist/cdn/{IUOP7OND.js → SGQEROKT.js} +2 -2
  260. package/dist/cdn/{X5W7JMAK.js → SIE7WLV5.js} +2 -2
  261. package/dist/cdn/SKPLZFNI.js +4 -0
  262. package/dist/cdn/{GI42A5PN.js → SL2LNMCO.js} +2 -2
  263. package/dist/cdn/{6OJTSCUE.js → SLKBOCZL.js} +2 -2
  264. package/dist/cdn/{FPIEQSPC.js → SN3TXCGK.js} +2 -2
  265. package/dist/cdn/{LA3H3WMM.js → SQB5VJDS.js} +3 -3
  266. package/dist/cdn/{7THS7KQB.js → SXCP2T6E.js} +2 -2
  267. package/dist/cdn/{6BKV2R64.js → T2N7VC65.js} +2 -2
  268. package/dist/cdn/{NAXQRNSP.js → TA35OO54.js} +1 -1
  269. package/dist/cdn/{ZN2MDM5V.js → TFMNN3QH.js} +2 -2
  270. package/dist/cdn/{25Q55WEG.js → THUK2QLB.js} +2 -2
  271. package/dist/cdn/{3I4UTEAM.js → TJZ2QWYE.js} +2 -2
  272. package/dist/cdn/{H6APDFAM.js → TLOO6GT2.js} +2 -2
  273. package/dist/cdn/{57PFQG3Q.js → TNZZQREZ.js} +1 -1
  274. package/dist/cdn/{JRILB3W2.js → TRPCOGWZ.js} +2 -2
  275. package/dist/cdn/{GUP6ZO4F.js → U3M35BAO.js} +2 -2
  276. package/dist/cdn/U44AVH5Y.js +18 -0
  277. package/dist/cdn/{H4RSU4MF.js → U4SIV6SN.js} +2 -2
  278. package/dist/cdn/{QNZ3EWED.js → U57PST54.js} +2 -2
  279. package/dist/cdn/{7GXQSPGU.js → UGC33LAX.js} +2 -2
  280. package/dist/cdn/{7TFQRMTL.js → UMOWAYHA.js} +2 -2
  281. package/dist/cdn/{TJARC3T3.js → UNYTEEQV.js} +2 -2
  282. package/dist/cdn/{EVULQW32.js → UR7TIUZF.js} +2 -2
  283. package/dist/cdn/{T2ZOBFB7.js → UU6AAXJP.js} +2 -2
  284. package/dist/cdn/{ACA4LFCG.js → UUADKV5W.js} +2 -2
  285. package/dist/cdn/UVWMFGUU.js +82 -0
  286. package/dist/cdn/{S7ZXLDYV.js → UYGXKJNM.js} +3 -3
  287. package/dist/cdn/{CVTYI2QI.js → UZQZVSQD.js} +2 -2
  288. package/dist/cdn/{3LKW6XA4.js → V3SNI5H2.js} +2 -2
  289. package/dist/cdn/{CM7EZMOU.js → V3ZOI4XV.js} +2 -2
  290. package/dist/cdn/{BTURURWV.js → V4IDVZKR.js} +2 -2
  291. package/dist/cdn/{5APDUABB.js → V5NNJMHK.js} +2 -2
  292. package/dist/cdn/{TT5VHD2D.js → V7E3LE7X.js} +2 -2
  293. package/dist/cdn/{U3RNR32C.js → V7KS5YMF.js} +2 -2
  294. package/dist/cdn/{VOQIWNCC.js → VG2ZP6YR.js} +2 -2
  295. package/dist/cdn/{HXFKN2H6.js → VKTYC5RV.js} +2 -2
  296. package/dist/cdn/{6P6JRXAN.js → VM2ZXL7L.js} +2 -2
  297. package/dist/cdn/{DFEG36P2.js → VUF6ZPJJ.js} +2 -2
  298. package/dist/cdn/{4DYHHC23.js → VVUGVETI.js} +2 -2
  299. package/dist/cdn/WGQ3BAPY.js +18 -0
  300. package/dist/cdn/{GVZBGAAJ.js → WHB6PGTX.js} +2 -2
  301. package/dist/cdn/{3SQX67AO.js → WHQBQBQO.js} +2 -2
  302. package/dist/cdn/{ZAXDOGFM.js → WJGQQRX2.js} +2 -2
  303. package/dist/cdn/{5DKHEQEC.js → WTHVFXJB.js} +2 -2
  304. package/dist/cdn/{AFTYYGIG.js → WTXX37R3.js} +2 -2
  305. package/dist/cdn/{LLDKBA7O.js → WXICUJ23.js} +2 -2
  306. package/dist/cdn/{QB6QOCNH.js → X3XJ5ILF.js} +2 -2
  307. package/dist/cdn/{OZAF4WBQ.js → X4DPUBIL.js} +2 -2
  308. package/dist/cdn/{33SECSBZ.js → XG4TIED2.js} +2 -2
  309. package/dist/cdn/{DYW2TQLF.js → XI7PHODP.js} +2 -2
  310. package/dist/cdn/{GS5NJX7E.js → XKGFKXIJ.js} +4 -4
  311. package/dist/cdn/{LVLG476F.js → XO5UMF4F.js} +2 -2
  312. package/dist/cdn/{CSX72NE7.js → XPDIQAH2.js} +2 -2
  313. package/dist/cdn/{2ERC5CBX.js → XRZSNVB5.js} +2 -2
  314. package/dist/cdn/{BEKVBNGE.js → XWWEONFO.js} +2 -2
  315. package/dist/cdn/{XRONYBJU.js → XXR4BGO2.js} +2 -2
  316. package/dist/cdn/{GPJPWPBF.js → XYPES4NY.js} +2 -2
  317. package/dist/cdn/{TJXAVV35.js → YBYKYXVG.js} +2 -2
  318. package/dist/cdn/{QPRZUSAY.js → YF4CPLBO.js} +2 -2
  319. package/dist/cdn/{SQPBG56D.js → YGU5ONQK.js} +2 -2
  320. package/dist/cdn/{M5UIWRUG.js → YIJU3CFJ.js} +1 -1
  321. package/dist/cdn/{JZMDPXI3.js → YJDWVMSX.js} +2 -2
  322. package/dist/cdn/{3BDHCEQC.js → YN6KNB56.js} +2 -2
  323. package/dist/cdn/{KANJWHHG.js → YRCLQILQ.js} +2 -2
  324. package/dist/cdn/{G7TZJ36S.js → YS2IKZ3R.js} +2 -2
  325. package/dist/cdn/{NNXPCW5J.js → YSHTOQ6Z.js} +2 -2
  326. package/dist/cdn/{6DKKIFLL.js → YXQJQV2U.js} +2 -2
  327. package/dist/cdn/{KQEPSFQ4.js → YZCOFSVF.js} +2 -2
  328. package/dist/cdn/{4OA2H2BW.js → Z2TDHXQC.js} +2 -2
  329. package/dist/cdn/{KXGXZANH.js → Z4SA5HX7.js} +2 -2
  330. package/dist/cdn/{UE3UWPGZ.js → Z4TXATS4.js} +1 -1
  331. package/dist/cdn/{5FXUTKPE.js → Z6Z36OMO.js} +1 -1
  332. package/dist/cdn/{XUEL6EID.js → Z7DPN4Q7.js} +2 -2
  333. package/dist/cdn/{RZRSXL7O.js → ZDYHNNR5.js} +2 -2
  334. package/dist/cdn/{QTWIYCS7.js → ZG5775EA.js} +1 -1
  335. package/dist/cdn/{FMQYJPVT.js → ZH3L7E5H.js} +2 -2
  336. package/dist/cdn/{FEGSIGRR.js → ZKNJZXGX.js} +2 -2
  337. package/dist/cdn/{6XFZTLVG.js → ZMAVDEDI.js} +1 -1
  338. package/dist/cdn/{PLGHYQB7.js → ZNRHJ2RK.js} +2 -2
  339. package/dist/cdn/{3MNA2DCZ.js → ZORDTYNP.js} +2 -2
  340. package/dist/cdn/{OCMOD2YP.js → ZTACEYD6.js} +2 -2
  341. package/dist/cdn/assets/crowdsource-manager/t9n/messages.en.json +1 -1
  342. package/dist/cdn/assets/crowdsource-manager/t9n/messages.json +1 -1
  343. package/dist/cdn/assets/refine-selection/t9n/messages.ar.json +1 -1
  344. package/dist/cdn/assets/refine-selection/t9n/messages.bg.json +1 -1
  345. package/dist/cdn/assets/refine-selection/t9n/messages.bs.json +1 -1
  346. package/dist/cdn/assets/refine-selection/t9n/messages.ca.json +1 -1
  347. package/dist/cdn/assets/refine-selection/t9n/messages.cs.json +1 -1
  348. package/dist/cdn/assets/refine-selection/t9n/messages.da.json +1 -1
  349. package/dist/cdn/assets/refine-selection/t9n/messages.de.json +1 -1
  350. package/dist/cdn/assets/refine-selection/t9n/messages.el.json +1 -1
  351. package/dist/cdn/assets/refine-selection/t9n/messages.en.json +1 -1
  352. package/dist/cdn/assets/refine-selection/t9n/messages.es.json +1 -1
  353. package/dist/cdn/assets/refine-selection/t9n/messages.et.json +1 -1
  354. package/dist/cdn/assets/refine-selection/t9n/messages.fi.json +1 -1
  355. package/dist/cdn/assets/refine-selection/t9n/messages.fr.json +1 -1
  356. package/dist/cdn/assets/refine-selection/t9n/messages.he.json +1 -1
  357. package/dist/cdn/assets/refine-selection/t9n/messages.hr.json +1 -1
  358. package/dist/cdn/assets/refine-selection/t9n/messages.hu.json +1 -1
  359. package/dist/cdn/assets/refine-selection/t9n/messages.id.json +1 -1
  360. package/dist/cdn/assets/refine-selection/t9n/messages.it.json +1 -1
  361. package/dist/cdn/assets/refine-selection/t9n/messages.ja.json +1 -1
  362. package/dist/cdn/assets/refine-selection/t9n/messages.json +1 -1
  363. package/dist/cdn/assets/refine-selection/t9n/messages.ko.json +1 -1
  364. package/dist/cdn/assets/refine-selection/t9n/messages.lt.json +1 -1
  365. package/dist/cdn/assets/refine-selection/t9n/messages.lv.json +1 -1
  366. package/dist/cdn/assets/refine-selection/t9n/messages.nl.json +1 -1
  367. package/dist/cdn/assets/refine-selection/t9n/messages.no.json +1 -1
  368. package/dist/cdn/assets/refine-selection/t9n/messages.pl.json +1 -1
  369. package/dist/cdn/assets/refine-selection/t9n/messages.pt-BR.json +1 -1
  370. package/dist/cdn/assets/refine-selection/t9n/messages.pt-PT.json +1 -1
  371. package/dist/cdn/assets/refine-selection/t9n/messages.ro.json +1 -1
  372. package/dist/cdn/assets/refine-selection/t9n/messages.ru.json +1 -1
  373. package/dist/cdn/assets/refine-selection/t9n/messages.sk.json +1 -1
  374. package/dist/cdn/assets/refine-selection/t9n/messages.sl.json +1 -1
  375. package/dist/cdn/assets/refine-selection/t9n/messages.sr.json +1 -1
  376. package/dist/cdn/assets/refine-selection/t9n/messages.sv.json +1 -1
  377. package/dist/cdn/assets/refine-selection/t9n/messages.th.json +1 -1
  378. package/dist/cdn/assets/refine-selection/t9n/messages.tr.json +1 -1
  379. package/dist/cdn/assets/refine-selection/t9n/messages.uk.json +1 -1
  380. package/dist/cdn/assets/refine-selection/t9n/messages.vi.json +1 -1
  381. package/dist/cdn/assets/refine-selection/t9n/messages.zh-CN.json +1 -1
  382. package/dist/cdn/assets/refine-selection/t9n/messages.zh-HK.json +1 -1
  383. package/dist/cdn/assets/refine-selection/t9n/messages.zh-TW.json +1 -1
  384. package/dist/cdn/assets/solution-details-card/t9n/messages.ar.json +1 -1
  385. package/dist/cdn/assets/solution-details-card/t9n/messages.bg.json +1 -1
  386. package/dist/cdn/assets/solution-details-card/t9n/messages.bs.json +1 -1
  387. package/dist/cdn/assets/solution-details-card/t9n/messages.ca.json +1 -1
  388. package/dist/cdn/assets/solution-details-card/t9n/messages.cs.json +1 -1
  389. package/dist/cdn/assets/solution-details-card/t9n/messages.da.json +1 -1
  390. package/dist/cdn/assets/solution-details-card/t9n/messages.de.json +1 -1
  391. package/dist/cdn/assets/solution-details-card/t9n/messages.el.json +1 -1
  392. package/dist/cdn/assets/solution-details-card/t9n/messages.es.json +1 -1
  393. package/dist/cdn/assets/solution-details-card/t9n/messages.et.json +1 -1
  394. package/dist/cdn/assets/solution-details-card/t9n/messages.fi.json +1 -1
  395. package/dist/cdn/assets/solution-details-card/t9n/messages.fr.json +1 -1
  396. package/dist/cdn/assets/solution-details-card/t9n/messages.he.json +1 -1
  397. package/dist/cdn/assets/solution-details-card/t9n/messages.hr.json +1 -1
  398. package/dist/cdn/assets/solution-details-card/t9n/messages.hu.json +1 -1
  399. package/dist/cdn/assets/solution-details-card/t9n/messages.id.json +1 -1
  400. package/dist/cdn/assets/solution-details-card/t9n/messages.it.json +1 -1
  401. package/dist/cdn/assets/solution-details-card/t9n/messages.ja.json +1 -1
  402. package/dist/cdn/assets/solution-details-card/t9n/messages.ko.json +1 -1
  403. package/dist/cdn/assets/solution-details-card/t9n/messages.lt.json +1 -1
  404. package/dist/cdn/assets/solution-details-card/t9n/messages.lv.json +1 -1
  405. package/dist/cdn/assets/solution-details-card/t9n/messages.nl.json +1 -1
  406. package/dist/cdn/assets/solution-details-card/t9n/messages.no.json +1 -1
  407. package/dist/cdn/assets/solution-details-card/t9n/messages.pl.json +1 -1
  408. package/dist/cdn/assets/solution-details-card/t9n/messages.pt-BR.json +1 -1
  409. package/dist/cdn/assets/solution-details-card/t9n/messages.pt-PT.json +1 -1
  410. package/dist/cdn/assets/solution-details-card/t9n/messages.ro.json +1 -1
  411. package/dist/cdn/assets/solution-details-card/t9n/messages.ru.json +1 -1
  412. package/dist/cdn/assets/solution-details-card/t9n/messages.sk.json +1 -1
  413. package/dist/cdn/assets/solution-details-card/t9n/messages.sl.json +1 -1
  414. package/dist/cdn/assets/solution-details-card/t9n/messages.sr.json +1 -1
  415. package/dist/cdn/assets/solution-details-card/t9n/messages.sv.json +1 -1
  416. package/dist/cdn/assets/solution-details-card/t9n/messages.th.json +1 -1
  417. package/dist/cdn/assets/solution-details-card/t9n/messages.tr.json +1 -1
  418. package/dist/cdn/assets/solution-details-card/t9n/messages.uk.json +1 -1
  419. package/dist/cdn/assets/solution-details-card/t9n/messages.vi.json +1 -1
  420. package/dist/cdn/assets/solution-details-card/t9n/messages.zh-CN.json +1 -1
  421. package/dist/cdn/assets/solution-details-card/t9n/messages.zh-HK.json +1 -1
  422. package/dist/cdn/assets/solution-details-card/t9n/messages.zh-TW.json +1 -1
  423. package/dist/cdn/index.js +2 -2
  424. package/dist/chunks/Auth.js +1 -1
  425. package/dist/chunks/CardsFetcher.js +1 -1
  426. package/dist/chunks/appConfig.js +1 -1
  427. package/dist/chunks/cardFetchingUtils.js +1 -1
  428. package/dist/chunks/cardsHelpers.js +1 -1
  429. package/dist/chunks/common.js +1 -1
  430. package/dist/chunks/deployAppContexts.js +1 -1
  431. package/dist/chunks/downloadUtils.js +1 -1
  432. package/dist/chunks/getItemIcon.js +1 -1
  433. package/dist/chunks/helpers.js +1 -1
  434. package/dist/chunks/interfaces.js +1 -1
  435. package/dist/chunks/loadModules.js +1 -1
  436. package/dist/chunks/mapViewUtils.js +1 -1
  437. package/dist/chunks/pciUtils.js +1 -1
  438. package/dist/chunks/popupUtils.js +1 -1
  439. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  440. package/dist/chunks/privilegeUtils.js +1 -1
  441. package/dist/chunks/publicNotificationContext.js +1 -1
  442. package/dist/chunks/queryUtils.js +1 -1
  443. package/dist/chunks/runtime.js +1 -1
  444. package/dist/chunks/solution-store.js +1 -1
  445. package/dist/chunks/templates.js +1 -1
  446. package/dist/chunks/useT9n.js +1 -1
  447. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  448. package/dist/components/basemap-gallery/customElement.js +1 -1
  449. package/dist/components/buffer-tools/customElement.js +1 -1
  450. package/dist/components/card-manager/customElement.js +1 -1
  451. package/dist/components/consent-manager/customElement.js +3 -2
  452. package/dist/components/create-feature/customElement.js +1 -1
  453. package/dist/components/create-related-feature/customElement.js +1 -1
  454. package/dist/components/crowdsource-manager/customElement.js +32 -27
  455. package/dist/components/crowdsource-manager/index.d.ts +1 -0
  456. package/dist/components/crowdsource-manager/index.js +1 -0
  457. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  458. package/dist/components/deduct-calculator/customElement.js +1 -1
  459. package/dist/components/delete-button/customElement.js +1 -1
  460. package/dist/components/delete-dialog/customElement.js +1 -1
  461. package/dist/components/edit-card/customElement.js +1 -1
  462. package/dist/components/feature-details/customElement.js +1 -1
  463. package/dist/components/feature-list/customElement.js +1 -1
  464. package/dist/components/field-selection/customElement.js +2 -2
  465. package/dist/components/floor-filter/customElement.js +1 -1
  466. package/dist/components/info-card/customElement.js +1 -1
  467. package/dist/components/json-editor/customElement.js +1 -1
  468. package/dist/components/layer-list/customElement.js +1 -1
  469. package/dist/components/layer-table/customElement.js +71 -51
  470. package/dist/components/map-card/customElement.js +52 -35
  471. package/dist/components/map-draw-tools/customElement.js +7 -5
  472. package/dist/components/map-fullscreen/customElement.js +1 -1
  473. package/dist/components/map-layer-picker/customElement.js +29 -27
  474. package/dist/components/map-legend/customElement.js +1 -1
  475. package/dist/components/map-picker/customElement.js +28 -13
  476. package/dist/components/map-search/customElement.js +1 -1
  477. package/dist/components/map-select-tools/customElement.js +1 -1
  478. package/dist/components/map-tools/customElement.d.ts +2 -0
  479. package/dist/components/map-tools/customElement.js +46 -39
  480. package/dist/components/pci-calculator/customElement.js +1 -1
  481. package/dist/components/pdf-download/customElement.js +1 -1
  482. package/dist/components/public-notification/customElement.js +16 -16
  483. package/dist/components/refine-selection/customElement.d.ts +30 -1
  484. package/dist/components/refine-selection/customElement.js +115 -59
  485. package/dist/components/refine-selection/index.d.ts +2 -0
  486. package/dist/components/refine-selection/index.js +2 -0
  487. package/dist/components/selection-tool/customElement.js +1 -1
  488. package/dist/components/solution-article-card/customElement.js +1 -1
  489. package/dist/components/solution-configuration/customElement.js +1 -1
  490. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  491. package/dist/components/solution-configure-titles/customElement.js +1 -1
  492. package/dist/components/solution-contents/customElement.js +1 -1
  493. package/dist/components/solution-delete-dialog/customElement.js +79 -85
  494. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  495. package/dist/components/solution-deployed-card/customElement.js +1 -1
  496. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  497. package/dist/components/solution-details-card/customElement.js +3 -3
  498. package/dist/components/solution-details-panel/customElement.js +9 -9
  499. package/dist/components/solution-item/customElement.js +1 -1
  500. package/dist/components/solution-item-accordion/customElement.js +9 -9
  501. package/dist/components/solution-item-details/customElement.js +1 -1
  502. package/dist/components/solution-item-diagram/customElement.js +1 -1
  503. package/dist/components/solution-item-icon/customElement.js +1 -1
  504. package/dist/components/solution-item-sharing/customElement.js +1 -1
  505. package/dist/components/solution-organization-variables/customElement.js +1 -1
  506. package/dist/components/solution-resource-item/customElement.js +1 -1
  507. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  508. package/dist/components/solution-social-share/customElement.js +1 -1
  509. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  510. package/dist/components/solution-template-data/customElement.js +1 -1
  511. package/dist/components/solution-variables/customElement.js +1 -1
  512. package/dist/components/solutions-all-panel/customElement.d.ts +7 -0
  513. package/dist/components/solutions-all-panel/customElement.js +59 -45
  514. package/dist/components/solutions-all-shell/customElement.js +31 -34
  515. package/dist/components/solutions-article-panel/customElement.js +1 -1
  516. package/dist/components/solutions-articles/customElement.js +1 -1
  517. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  518. package/dist/components/solutions-deploy-app/customElement.js +28 -26
  519. package/dist/components/solutions-deployed-filter-panel/customElement.js +7 -7
  520. package/dist/components/solutions-deployed-panel/customElement.d.ts +7 -0
  521. package/dist/components/solutions-deployed-panel/customElement.js +27 -42
  522. package/dist/components/solutions-deployed-shell/customElement.js +23 -28
  523. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  524. package/dist/components/spatial-ref/customElement.js +1 -1
  525. package/dist/components/store-manager/customElement.js +1 -1
  526. package/dist/docs/api.json +406 -2
  527. package/dist/docs/docs.json +324 -2
  528. package/dist/docs/vscode.html-custom-data.json +52 -3
  529. package/dist/docs/web-types.json +107 -4
  530. package/dist/index.js +1 -1
  531. package/dist/loader.js +5 -5
  532. package/dist/types/lumina.d.ts +2 -2
  533. package/dist/types/preact.d.ts +2 -2
  534. package/dist/types/preact10.d.ts +2 -2
  535. package/dist/types/react.d.ts +2 -2
  536. package/dist/types/stencil.d.ts +2 -2
  537. package/dist/utils/interfaces.d.ts +3 -1
  538. package/package.json +1 -1
  539. package/dist/cdn/25K6LQG4.js +0 -18
  540. package/dist/cdn/2JGEEROK.js +0 -18
  541. package/dist/cdn/2KG5VK2O.js +0 -4
  542. package/dist/cdn/3IWOKJQW.js +0 -4
  543. package/dist/cdn/4C6KDRT5.js +0 -18
  544. package/dist/cdn/6DJDRU2V.js +0 -4
  545. package/dist/cdn/6VVPQSKS.js +0 -18
  546. package/dist/cdn/7KAVXYKZ.js +0 -4
  547. package/dist/cdn/A64JRNBC.js +0 -18
  548. package/dist/cdn/AI2D7I73.js +0 -18
  549. package/dist/cdn/FF3NG56R.js +0 -4
  550. package/dist/cdn/FPABEWEL.js +0 -4
  551. package/dist/cdn/I5IJMWLC.js +0 -18
  552. package/dist/cdn/JDOMJXG2.js +0 -18
  553. package/dist/cdn/JEESK3GH.js +0 -4
  554. package/dist/cdn/JPJG3EHK.js +0 -4
  555. package/dist/cdn/KAMYTYJT.js +0 -18
  556. package/dist/cdn/KX7B3GC4.js +0 -4
  557. package/dist/cdn/KYZAF2ZX.js +0 -4
  558. package/dist/cdn/P72Y3NU3.js +0 -4
  559. package/dist/cdn/PCYGX56K.js +0 -18
  560. package/dist/cdn/VT7FWPJI.js +0 -18
  561. package/dist/cdn/VTUNBJLK.js +0 -18
  562. package/dist/cdn/W5E3NPPL.js +0 -18
  563. package/dist/cdn/Y4DB3DHO.js +0 -18
  564. package/dist/cdn/YMCFOV34.js +0 -82
  565. package/dist/cdn/ZQVD7QE2.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.20250917.3 */
4
- import{a as O}from"./7HLYL4Z5.js";import{A as H,C as M,D as F,d as B,e as L}from"./TWLOX2QQ.js";import{b as U}from"./6P6JRXAN.js";import"./T5AK5HXF.js";import"./374C7SUE.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./ZUGOUKCI.js";import"./QI5OJPHV.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.20250919 */
4
+ import{a as O}from"./3R3QLLTE.js";import{A as H,C as M,D as F,d as B,e as L}from"./AXIZYYOD.js";import{b as U}from"./VM2ZXL7L.js";import"./2HHL5GDO.js";import"./HZPUJDQL.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./RQB6F4ZT.js";import"./FXUBY7ZI.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.20250917.3 */
4
- import"./QI5OJPHV.js";var e="Nincs elegend\u0151 kreditje a m\u0171velet elv\xE9gz\xE9s\xE9hez. Seg\xEDts\xE9g\xE9rt forduljon az ArcGIS rendszergazd\xE1j\xE1hoz.",a="Ez az eszk\xF6z egy jegyzetf\xFCzetb\u0151l lett k\xF6zz\xE9t\xE9ve. AzArcGIS Notebooks-hoz val\xF3 hozz\xE1f\xE9r\xE9s blokkolva van a szervezet sz\xE1m\xE1ra. A be\xE1ll\xEDt\xE1s m\xF3dos\xEDt\xE1s\xE1hoz vegye fel a kapcsolatot a rendszergazd\xE1val.",t="${ dataPath } nem rendelkezhet ezzel: ${ additionalProperty }.",r="A(z) ${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151k egyik\xE9nek s\xE9m\xE1j\xE1val: ${ schemaOptions }.",l="Pr\xF3b\xE1lkozzon \xFAjra a t\xE9rk\xE9p ment\xE9s\xE9vel.",s="A kreditbecsl\xE9s nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd v\xE9gezze el ism\xE9t a kreditbecsl\xE9st.",o="Hiba t\xF6rt\xE9nt az elemz\xE9s futtat\xE1sa k\xF6zben.",n="${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151 megengedett \xE9rt\xE9kek egyik\xE9vel: ${ allowedValues }.",i="Az elemz\xE9sel\u0151zm\xE9nyek ment\xE9se nem siker\xFClt.",k="Az el\u0151zm\xE9nyt\xE1rhely megtelt. T\xE1vol\xEDtson el n\xE9h\xE1ny elemet az elemz\xE9sel\u0151zm\xE9nyekb\u0151l, \xE9s pr\xF3b\xE1lkozzon \xFAjb\xF3l a ment\xE9ssel.",z="A szolg\xE1ltat\xE1s neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz.",m="Az ideiglenes r\xE9teg t\xE1rolt vektoros r\xE9tegk\xE9nt t\xF6rt\xE9n\u0151 ment\xE9se nem fejez\u0151d\xF6tt be.",d="Nem siker\xFClt beolvasni a kulcs tulajdons\xE1gait.",g="Nem siker\xFClt bet\xF6lteni a r\xE9teget.",v="A r\xE9teg nem \xE9rhet\u0151 el.",y="A(z) ${ dataPath } elemeinek sz\xE1ma legfeljebb ${ limit } lehet.",b="Hiba t\xF6rt\xE9nt a modell ment\xE9se k\xF6zben. Pr\xF3b\xE1lkozzon \xFAjra a ment\xE9ssel.",c="A(z) ${ dataPath } elemeinek sz\xE1ma legal\xE1bb ${ limit } kell legyen.",h="A(z) ${ dataPath } hossza legal\xE1bb ${ limit } karakter kell legyen.",u="Nem siker\xFClt bet\xF6lteni a modellelemet. Gy\u0151z\u0151dj\xF6n meg arr\xF3l, hogy a modell l\xE9tezik, \xE9s hogy a hozz\xE1f\xE9r\xE9si enged\xE9lyt megadt\xE1k.",f="A k\xE9r\xE9s v\xE9grehajt\xE1sa nem siker\xFClt.",E="Nincs jogosults\xE1ga az eszk\xF6z futtat\xE1s\xE1hoz. <calcite-link target='_blank' href='${ docLink }'>Tov\xE1bbi inform\xE1ci\xF3</calcite-link>",p="Nem siker\xFClt bejelentkezni a port\xE1lra.",P="Nem siker\xFClt beolvasni a bemeneti adatokat.",j="A(z) ${ dataPath } eset\xE9ben hi\xE1nyzik a(z) ${ missingProperty } nev\u0171 tulajdons\xE1g.",A="Ilyen nev\u0171 eredm\xE9nyr\xE9teg m\xE1r l\xE9tezik. Az eredm\xE9nyr\xE9tegeknek egyedieknek kell lenni\xFCk az eg\xE9sz szervezetben. Haszn\xE1ljon m\xE1sik nevet.",S="A kimenet neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz. <a href='${docLink}' target='_blank'>Tov\xE1bbi inform\xE1ci\xF3.</a>",$="Az ideiglenes r\xE9teg hosztolt r\xE9tegk\xE9nt val\xF3 k\xF6zz\xE9t\xE9tele egy vagy t\xF6bb \xE9rv\xE9nytelen mez\u0151 miatt sikertelen volt. Ind\xEDtsa \xFAjra az eszk\xF6zt az \xE9rv\xE9nyes mez\u0151kkel rendelkez\u0151 r\xE9teg l\xE9trehoz\xE1s\xE1hoz.",I="A feladat bek\xFCld\xE9se nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd futtassa \xFAjra az elemz\xE9st.",N="A k\xF6vetkez\u0151nek legal\xE1bb egy nem-whitespace karaktert kell tartalmaznia: ${ dataPath }",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:l,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:i,fullSessionStorage:k,hostedFeatureServiceInvalidTitle:z,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:v,maxItems:y,mbFailedToSave:b,minItems:c,minLength:h,modelNotFound:u,networkError:f,noPermissionToAccessTool:E,portalLoadError:p,queryFeaturesError:P,requiredProperty:j,serviceNameExistsError:A,specialCharactersInServiceNameError:S,temporaryLayerFieldsError:$,toolValidationError:I,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,l as cannotWriteToItemResource,s as creditEstimationError,T as default,o as defaultError,n as enumValues,i as failedToSaveHistory,k as fullSessionStorage,z as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,v as layerUnavailable,y as maxItems,b as mbFailedToSave,c as minItems,h as minLength,u as modelNotFound,f as networkError,E as noPermissionToAccessTool,p as portalLoadError,P as queryFeaturesError,j as requiredProperty,A as serviceNameExistsError,S as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,I as toolValidationError,N as whiteSpacePattern};
3
+ v1.1.0-next.20250919 */
4
+ import"./FXUBY7ZI.js";var e="Nincs elegend\u0151 kreditje a m\u0171velet elv\xE9gz\xE9s\xE9hez. Seg\xEDts\xE9g\xE9rt forduljon az ArcGIS rendszergazd\xE1j\xE1hoz.",a="Ez az eszk\xF6z egy jegyzetf\xFCzetb\u0151l lett k\xF6zz\xE9t\xE9ve. AzArcGIS Notebooks-hoz val\xF3 hozz\xE1f\xE9r\xE9s blokkolva van a szervezet sz\xE1m\xE1ra. A be\xE1ll\xEDt\xE1s m\xF3dos\xEDt\xE1s\xE1hoz vegye fel a kapcsolatot a rendszergazd\xE1val.",t="${ dataPath } nem rendelkezhet ezzel: ${ additionalProperty }.",r="A(z) ${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151k egyik\xE9nek s\xE9m\xE1j\xE1val: ${ schemaOptions }.",l="Pr\xF3b\xE1lkozzon \xFAjra a t\xE9rk\xE9p ment\xE9s\xE9vel.",s="A kreditbecsl\xE9s nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd v\xE9gezze el ism\xE9t a kreditbecsl\xE9st.",o="Hiba t\xF6rt\xE9nt az elemz\xE9s futtat\xE1sa k\xF6zben.",n="${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151 megengedett \xE9rt\xE9kek egyik\xE9vel: ${ allowedValues }.",i="Az elemz\xE9sel\u0151zm\xE9nyek ment\xE9se nem siker\xFClt.",k="Az el\u0151zm\xE9nyt\xE1rhely megtelt. T\xE1vol\xEDtson el n\xE9h\xE1ny elemet az elemz\xE9sel\u0151zm\xE9nyekb\u0151l, \xE9s pr\xF3b\xE1lkozzon \xFAjb\xF3l a ment\xE9ssel.",z="A szolg\xE1ltat\xE1s neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz.",m="Az ideiglenes r\xE9teg t\xE1rolt vektoros r\xE9tegk\xE9nt t\xF6rt\xE9n\u0151 ment\xE9se nem fejez\u0151d\xF6tt be.",d="Nem siker\xFClt beolvasni a kulcs tulajdons\xE1gait.",g="Nem siker\xFClt bet\xF6lteni a r\xE9teget.",v="A r\xE9teg nem \xE9rhet\u0151 el.",y="A(z) ${ dataPath } elemeinek sz\xE1ma legfeljebb ${ limit } lehet.",b="Hiba t\xF6rt\xE9nt a modell ment\xE9se k\xF6zben. Pr\xF3b\xE1lkozzon \xFAjra a ment\xE9ssel.",c="A(z) ${ dataPath } elemeinek sz\xE1ma legal\xE1bb ${ limit } kell legyen.",h="A(z) ${ dataPath } hossza legal\xE1bb ${ limit } karakter kell legyen.",u="Nem siker\xFClt bet\xF6lteni a modellelemet. Gy\u0151z\u0151dj\xF6n meg arr\xF3l, hogy a modell l\xE9tezik, \xE9s hogy a hozz\xE1f\xE9r\xE9si enged\xE9lyt megadt\xE1k.",f="A k\xE9r\xE9s v\xE9grehajt\xE1sa nem siker\xFClt.",E="Nincs jogosults\xE1ga az eszk\xF6z futtat\xE1s\xE1hoz. <calcite-link target='_blank' href='${ docLink }'>Tov\xE1bbi inform\xE1ci\xF3</calcite-link>",p="Nem siker\xFClt bejelentkezni a port\xE1lra.",P="Nem siker\xFClt beolvasni a bemeneti adatokat.",j="A(z) ${ dataPath } eset\xE9ben hi\xE1nyzik a(z) ${ missingProperty } nev\u0171 tulajdons\xE1g.",A="Ilyen nev\u0171 eredm\xE9nyr\xE9teg m\xE1r l\xE9tezik. Az eredm\xE9nyr\xE9tegeknek egyedieknek kell lenni\xFCk az eg\xE9sz szervezetben. Haszn\xE1ljon m\xE1sik nevet.",S="A kimenet neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz. <a href='${docLink}' target='_blank'>Tov\xE1bbi inform\xE1ci\xF3.</a>",$="Az ideiglenes r\xE9teg hosztolt r\xE9tegk\xE9nt val\xF3 k\xF6zz\xE9t\xE9tele egy vagy t\xF6bb \xE9rv\xE9nytelen mez\u0151 miatt sikertelen volt. Ind\xEDtsa \xFAjra az eszk\xF6zt az \xE9rv\xE9nyes mez\u0151kkel rendelkez\u0151 r\xE9teg l\xE9trehoz\xE1s\xE1hoz.",I="A feladat bek\xFCld\xE9se nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd futtassa \xFAjra az elemz\xE9st.",N="A k\xF6vetkez\u0151nek legal\xE1bb egy nem-whitespace karaktert kell tartalmaznia: ${ dataPath }",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:l,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:i,fullSessionStorage:k,hostedFeatureServiceInvalidTitle:z,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:v,maxItems:y,mbFailedToSave:b,minItems:c,minLength:h,modelNotFound:u,networkError:f,noPermissionToAccessTool:E,portalLoadError:p,queryFeaturesError:P,requiredProperty:j,serviceNameExistsError:A,specialCharactersInServiceNameError:S,temporaryLayerFieldsError:$,toolValidationError:I,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,l as cannotWriteToItemResource,s as creditEstimationError,T as default,o as defaultError,n as enumValues,i as failedToSaveHistory,k as fullSessionStorage,z as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,v as layerUnavailable,y as maxItems,b as mbFailedToSave,c as minItems,h as minLength,u as modelNotFound,f as networkError,E as noPermissionToAccessTool,p as portalLoadError,P as queryFeaturesError,j as requiredProperty,A as serviceNameExistsError,S as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,I as toolValidationError,N as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250917.3 */
4
- import"./QI5OJPHV.js";var e="\u041D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043D\u044C\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432 \u0434\u043B\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0446\u0456\u0454\u0457 \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u0457. \u0417\u0432\u0435\u0440\u043D\u0456\u0442\u044C\u0441\u044F \u0434\u043E \u0441\u0432\u043E\u0433\u043E \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u0433\u043E \u0430\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430 ArcGIS \u043F\u043E \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0443.",a="\u0426\u0435\u0439 \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E \u0437 \u0431\u043B\u043E\u043A\u043D\u043E\u0442\u0443. \u0414\u043E\u0441\u0442\u0443\u043F \u0434\u043E ArcGIS Notebooks \u0437\u0430\u0431\u043B\u043E\u043A\u043E\u0432\u0430\u043D\u043E \u0434\u043B\u044F \u0432\u0430\u0448\u043E\u0457 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0446\u0456\u0457. \u0417\u0432\u0435\u0440\u043D\u0456\u0442\u044C\u0441\u044F \u0434\u043E \u0430\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430, \u0449\u043E\u0431 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438.",r="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 ${ additionalProperty }.",t="${ dataPath } \u043C\u0430\u0454 \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F \u0437\u0456 \u0441\u0445\u0435\u043C\u043E\u044E \u043E\u0434\u043D\u043E\u0433\u043E \u0437 \u0446\u0438\u0445: ${ schemaOptions }.",o="\u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u043A\u0430\u0440\u0442\u0443 \u0449\u0435 \u0440\u0430\u0437.",s="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u043E\u0446\u0456\u043D\u043A\u0443 \u043A\u0456\u043B\u044C\u043A\u043E\u0441\u0442\u0456 \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0456\u0442\u044C \u0443\u043D\u0438\u0437, \u0432\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u0442\u0430 \u0437\u0430\u043D\u043E\u0432\u043E \u043E\u0446\u0456\u043D\u0456\u0442\u044C \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432.",i="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0430\u043D\u0430\u043B\u0456\u0437\u0443 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430.",l="${ dataPath } \u043C\u0430\u0454 \u0434\u043E\u0440\u0456\u0432\u043D\u044E\u0432\u0430\u0442\u0438 \u043E\u0434\u043D\u043E\u043C\u0443 \u0437 \u0446\u0438\u0445 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C: ${ allowedValues }.",d="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0456\u0441\u0442\u043E\u0440\u0456\u044E \u0430\u043D\u0430\u043B\u0456\u0437\u0443",n="\u0421\u0445\u043E\u0432\u0438\u0449\u0435 \u0456\u0441\u0442\u043E\u0440\u0456\u0457 \u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u0435. \u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0434\u0435\u044F\u043A\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0437 \u0456\u0441\u0442\u043E\u0440\u0456\u0457 \u0430\u043D\u0430\u043B\u0456\u0437\u0443 \u0442\u0430 \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0449\u0435 \u0440\u0430\u0437.",c="\u041D\u0430\u0437\u0432\u0430 \u0441\u0435\u0440\u0432\u0456\u0441\u0443 \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u0434\u0456\u0439\u0441\u043D\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",m="\u0417\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u0442\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u043E\u0433\u043E \u0448\u0430\u0440\u0443 \u044F\u043A \u0440\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u043E\u0433\u043E \u043D\u0430 \u0445\u043E\u0441\u0442\u0456 \u0432\u0435\u043A\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u0448\u0430\u0440\u0443 \u043D\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",u="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043A\u043B\u044E\u0447\u043E\u0432\u0456 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456.",E="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0448\u0430\u0440.",h="\u0428\u0430\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0439.",y="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",P="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u043C\u043E\u0434\u0435\u043B\u0456 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0449\u0435 \u0440\u0430\u0437.",p="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",S="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",$="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u043C\u043E\u0434\u0435\u043B\u0456. \u041F\u0435\u0440\u0435\u043A\u043E\u043D\u0430\u0439\u0442\u0435\u0441\u044C, \u0449\u043E \u043C\u043E\u0434\u0435\u043B\u044C \u0456\u0441\u043D\u0443\u0454, \u0456 \u0449\u043E \u043D\u0430\u0434\u0430\u043D\u043E \u0434\u043E\u0437\u0432\u0456\u043B \u043D\u0430 \u0434\u043E\u0441\u0442\u0443\u043F.",v="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u0437\u0430\u043F\u0438\u0442.",f="\u0423 \u0432\u0430\u0441 \u043D\u0435\u043C\u0430\u0454 \u043F\u0440\u0430\u0432 \u043D\u0430 \u0437\u0430\u043F\u0443\u0441\u043A \u0446\u044C\u043E\u0433\u043E \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0443. <calcite-link target='_blank' href='${ docLink }'>\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435 </calcite-link>",F="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 \u043F\u043E\u0440\u0442\u0430\u043B\u0456.",I="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u0438 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456.",k="${ dataPath } \u043D\u0435 \u043C\u0430\u0454 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0437 \u043D\u0430\u0437\u0432\u043E\u044E ${ missingProperty }.",T="\u0428\u0430\u0440 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u0437 \u0442\u0430\u043A\u0438\u043C \u0456\u043C\u0435\u043D\u0435\u043C \u0443\u0436\u0435 \u0456\u0441\u043D\u0443\u0454. \u0428\u0430\u0440\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u043F\u043E\u0432\u0438\u043D\u043D\u0456 \u043C\u0430\u0442\u0438 \u0443\u043D\u0456\u043A\u0430\u043B\u044C\u043D\u0456 \u0456\u043C\u0435\u043D\u0430 \u0432 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0446\u0456\u0457. \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u0439\u0442\u0435 \u0456\u043D\u0448\u0435 \u0456\u043C'\u044F.",L="\u0412\u0438\u0445\u0456\u0434\u043D\u0435 \u0456\u043C'\u044F \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u043F\u0440\u0438\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432. <a href='${docLink}' target='_blank'>\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435.</a>",b="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u0443\u0432\u0430\u0442\u0438 \u0442\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u0438\u0439 \u0448\u0430\u0440 \u044F\u043A \u0440\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u0438\u0439 \u043D\u0430 \u0445\u043E\u0441\u0442\u0456 \u0447\u0435\u0440\u0435\u0437 \u043E\u0434\u043D\u0435 \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u0434\u0456\u0439\u0441\u043D\u0438\u0445 \u043F\u043E\u043B\u0456\u0432. \u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0456\u0442\u044C \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442, \u0449\u043E\u0431 \u0441\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0448\u0430\u0440 \u0456\u0437 \u0434\u0456\u0439\u0441\u043D\u0438\u043C\u0438 \u043F\u043E\u043B\u044F\u043C\u0438.",N="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0456\u0442\u044C \u0443\u043D\u0438\u0437, \u0432\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u0442\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0456\u0442\u044C \u0430\u043D\u0430\u043B\u0456\u0437.",g="${ dataPath } \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0430\u0442\u0438 \u043F\u0440\u0438\u043D\u0430\u0439\u043C\u043D\u0456 \u043E\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u044F\u043A\u0438\u0439 \u043D\u0435 \u0454 \u043F\u0440\u043E\u0431\u0456\u043B\u043E\u043C.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
3
+ v1.1.0-next.20250919 */
4
+ import"./FXUBY7ZI.js";var e="\u041D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043D\u044C\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432 \u0434\u043B\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0446\u0456\u0454\u0457 \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u0457. \u0417\u0432\u0435\u0440\u043D\u0456\u0442\u044C\u0441\u044F \u0434\u043E \u0441\u0432\u043E\u0433\u043E \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u0433\u043E \u0430\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430 ArcGIS \u043F\u043E \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0443.",a="\u0426\u0435\u0439 \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E \u0437 \u0431\u043B\u043E\u043A\u043D\u043E\u0442\u0443. \u0414\u043E\u0441\u0442\u0443\u043F \u0434\u043E ArcGIS Notebooks \u0437\u0430\u0431\u043B\u043E\u043A\u043E\u0432\u0430\u043D\u043E \u0434\u043B\u044F \u0432\u0430\u0448\u043E\u0457 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0446\u0456\u0457. \u0417\u0432\u0435\u0440\u043D\u0456\u0442\u044C\u0441\u044F \u0434\u043E \u0430\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430, \u0449\u043E\u0431 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438.",r="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 ${ additionalProperty }.",t="${ dataPath } \u043C\u0430\u0454 \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F \u0437\u0456 \u0441\u0445\u0435\u043C\u043E\u044E \u043E\u0434\u043D\u043E\u0433\u043E \u0437 \u0446\u0438\u0445: ${ schemaOptions }.",o="\u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u043A\u0430\u0440\u0442\u0443 \u0449\u0435 \u0440\u0430\u0437.",s="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u043E\u0446\u0456\u043D\u043A\u0443 \u043A\u0456\u043B\u044C\u043A\u043E\u0441\u0442\u0456 \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0456\u0442\u044C \u0443\u043D\u0438\u0437, \u0432\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u0442\u0430 \u0437\u0430\u043D\u043E\u0432\u043E \u043E\u0446\u0456\u043D\u0456\u0442\u044C \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432.",i="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0430\u043D\u0430\u043B\u0456\u0437\u0443 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430.",l="${ dataPath } \u043C\u0430\u0454 \u0434\u043E\u0440\u0456\u0432\u043D\u044E\u0432\u0430\u0442\u0438 \u043E\u0434\u043D\u043E\u043C\u0443 \u0437 \u0446\u0438\u0445 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C: ${ allowedValues }.",d="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0456\u0441\u0442\u043E\u0440\u0456\u044E \u0430\u043D\u0430\u043B\u0456\u0437\u0443",n="\u0421\u0445\u043E\u0432\u0438\u0449\u0435 \u0456\u0441\u0442\u043E\u0440\u0456\u0457 \u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u0435. \u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0434\u0435\u044F\u043A\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0437 \u0456\u0441\u0442\u043E\u0440\u0456\u0457 \u0430\u043D\u0430\u043B\u0456\u0437\u0443 \u0442\u0430 \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0449\u0435 \u0440\u0430\u0437.",c="\u041D\u0430\u0437\u0432\u0430 \u0441\u0435\u0440\u0432\u0456\u0441\u0443 \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u0434\u0456\u0439\u0441\u043D\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",m="\u0417\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u0442\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u043E\u0433\u043E \u0448\u0430\u0440\u0443 \u044F\u043A \u0440\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u043E\u0433\u043E \u043D\u0430 \u0445\u043E\u0441\u0442\u0456 \u0432\u0435\u043A\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u0448\u0430\u0440\u0443 \u043D\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",u="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043A\u043B\u044E\u0447\u043E\u0432\u0456 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456.",E="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0448\u0430\u0440.",h="\u0428\u0430\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0439.",y="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",P="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u043C\u043E\u0434\u0435\u043B\u0456 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0449\u0435 \u0440\u0430\u0437.",p="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",S="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",$="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u043C\u043E\u0434\u0435\u043B\u0456. \u041F\u0435\u0440\u0435\u043A\u043E\u043D\u0430\u0439\u0442\u0435\u0441\u044C, \u0449\u043E \u043C\u043E\u0434\u0435\u043B\u044C \u0456\u0441\u043D\u0443\u0454, \u0456 \u0449\u043E \u043D\u0430\u0434\u0430\u043D\u043E \u0434\u043E\u0437\u0432\u0456\u043B \u043D\u0430 \u0434\u043E\u0441\u0442\u0443\u043F.",v="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u0437\u0430\u043F\u0438\u0442.",f="\u0423 \u0432\u0430\u0441 \u043D\u0435\u043C\u0430\u0454 \u043F\u0440\u0430\u0432 \u043D\u0430 \u0437\u0430\u043F\u0443\u0441\u043A \u0446\u044C\u043E\u0433\u043E \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0443. <calcite-link target='_blank' href='${ docLink }'>\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435 </calcite-link>",F="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 \u043F\u043E\u0440\u0442\u0430\u043B\u0456.",I="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u0438 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456.",k="${ dataPath } \u043D\u0435 \u043C\u0430\u0454 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0437 \u043D\u0430\u0437\u0432\u043E\u044E ${ missingProperty }.",T="\u0428\u0430\u0440 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u0437 \u0442\u0430\u043A\u0438\u043C \u0456\u043C\u0435\u043D\u0435\u043C \u0443\u0436\u0435 \u0456\u0441\u043D\u0443\u0454. \u0428\u0430\u0440\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u043F\u043E\u0432\u0438\u043D\u043D\u0456 \u043C\u0430\u0442\u0438 \u0443\u043D\u0456\u043A\u0430\u043B\u044C\u043D\u0456 \u0456\u043C\u0435\u043D\u0430 \u0432 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0446\u0456\u0457. \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u0439\u0442\u0435 \u0456\u043D\u0448\u0435 \u0456\u043C'\u044F.",L="\u0412\u0438\u0445\u0456\u0434\u043D\u0435 \u0456\u043C'\u044F \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u043F\u0440\u0438\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432. <a href='${docLink}' target='_blank'>\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435.</a>",b="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u0443\u0432\u0430\u0442\u0438 \u0442\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u0438\u0439 \u0448\u0430\u0440 \u044F\u043A \u0440\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u0438\u0439 \u043D\u0430 \u0445\u043E\u0441\u0442\u0456 \u0447\u0435\u0440\u0435\u0437 \u043E\u0434\u043D\u0435 \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u0434\u0456\u0439\u0441\u043D\u0438\u0445 \u043F\u043E\u043B\u0456\u0432. \u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0456\u0442\u044C \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442, \u0449\u043E\u0431 \u0441\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0448\u0430\u0440 \u0456\u0437 \u0434\u0456\u0439\u0441\u043D\u0438\u043C\u0438 \u043F\u043E\u043B\u044F\u043C\u0438.",N="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0456\u0442\u044C \u0443\u043D\u0438\u0437, \u0432\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u0442\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0456\u0442\u044C \u0430\u043D\u0430\u043B\u0456\u0437.",g="${ dataPath } \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0430\u0442\u0438 \u043F\u0440\u0438\u043D\u0430\u0439\u043C\u043D\u0456 \u043E\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u044F\u043A\u0438\u0439 \u043D\u0435 \u0454 \u043F\u0440\u043E\u0431\u0456\u043B\u043E\u043C.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250917.3 */
4
- import{c as t}from"./A7MKEIPS.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./6XFZTLVG.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
3
+ v1.1.0-next.20250919 */
4
+ import{c as t}from"./R66SCXZQ.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./ZMAVDEDI.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m 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.20250917.3 */
4
- import{a as l}from"./NA2CTZIS.js";import"./BOGZGJQP.js";import"./HDN2NFMQ.js";import"./DANM7XO7.js";import{a as o}from"./KIHDYLQD.js";import"./JY6IFP7X.js";import"./CMVXBESM.js";import"./SZ3UYUGX.js";import"./JURBQUK2.js";import"./QN5AHKPP.js";import"./2ERC5CBX.js";import"./QTWIYCS7.js";import"./IQQM5XKJ.js";import"./VXQLS3P3.js";import"./G2SCRAL5.js";import"./G55CT3Q3.js";import"./26V5UISV.js";import"./OGKCTLZZ.js";import"./GPJPWPBF.js";import"./E6XUORCN.js";import"./CWOMQYWI.js";import"./6VLEQZO4.js";import"./2Y43VYYN.js";import"./TJARC3T3.js";import"./A7MKEIPS.js";import"./6XFZTLVG.js";import"./LGLMJQGM.js";import"./QI5OJPHV.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
3
+ v1.1.0-next.20250919 */
4
+ import{a as l}from"./CVEXPD4L.js";import"./QDQJTLHQ.js";import"./7POFPYPL.js";import"./NU4UFWQN.js";import{a as o}from"./LA5337YO.js";import"./ALVRVNPS.js";import"./N2STUL4S.js";import"./E7VUQI3W.js";import"./5YPAOQZ6.js";import"./BJ5ZJE23.js";import"./XRZSNVB5.js";import"./ZG5775EA.js";import"./FNL2JJQX.js";import"./HJW6V57X.js";import"./5JGZBRBO.js";import"./J753SYSS.js";import"./DA7EQQQU.js";import"./2ZGO34ET.js";import"./XYPES4NY.js";import"./4JSDFSS5.js";import"./MO6MKYJW.js";import"./5AQUM4X3.js";import"./PA4DS7UD.js";import"./UNYTEEQV.js";import"./R66SCXZQ.js";import"./ZMAVDEDI.js";import"./PO2ONXW6.js";import"./FXUBY7ZI.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250917.3 */
4
- import{a as f}from"./3BSDLNLF.js";import{a as _}from"./J3XMKSZB.js";import{a as S}from"./7HLYL4Z5.js";import{B as D,C as I}from"./TWLOX2QQ.js";import{b as L}from"./6P6JRXAN.js";import"./T5AK5HXF.js";import"./374C7SUE.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./ZUGOUKCI.js";import"./QI5OJPHV.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables.toArray()??[]).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
3
+ v1.1.0-next.20250919 */
4
+ import{a as f}from"./BANPC5UN.js";import{a as _}from"./D3DQOXP7.js";import{a as S}from"./3R3QLLTE.js";import{B as D,C as I}from"./AXIZYYOD.js";import{b as L}from"./VM2ZXL7L.js";import"./2HHL5GDO.js";import"./HZPUJDQL.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./RQB6F4ZT.js";import"./FXUBY7ZI.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables.toArray()??[]).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};