@esri/solutions-components 1.1.0-next.20251001.1 → 1.1.0-next.20251003

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 (517) hide show
  1. package/dist/cdn/{3V4VKE7V.js → 255FFRN6.js} +2 -2
  2. package/dist/cdn/{UUQJFS5C.js → 276ZHID6.js} +2 -2
  3. package/dist/cdn/{5LCTRIUC.js → 2ONRUQFV.js} +2 -2
  4. package/dist/cdn/{YU2HWCG6.js → 2VKF6PR4.js} +2 -2
  5. package/dist/cdn/{54UCJPI6.js → 36GXCPP5.js} +2 -2
  6. package/dist/cdn/{Y5IPQLDH.js → 3FSQROF5.js} +1 -1
  7. package/dist/cdn/{TPTWXLY5.js → 3I72PCEP.js} +1 -1
  8. package/dist/cdn/{3ED2DZVC.js → 3MXHKKW3.js} +2 -2
  9. package/dist/cdn/{ULYWSYT3.js → 3OKTZASX.js} +2 -2
  10. package/dist/cdn/{QO3MRL5D.js → 3OY3YMT5.js} +1 -1
  11. package/dist/cdn/{UJKEHSSJ.js → 3QTLO72X.js} +2 -2
  12. package/dist/cdn/{6N3KGRET.js → 3SSM44AZ.js} +2 -2
  13. package/dist/cdn/{3NPCU2LT.js → 3VQ57FB7.js} +2 -2
  14. package/dist/cdn/{ZTNPPZFF.js → 3X2PJRLH.js} +2 -2
  15. package/dist/cdn/{3SVM2RHB.js → 45KKZE6P.js} +2 -2
  16. package/dist/cdn/4AINUYJB.js +18 -0
  17. package/dist/cdn/{YQ5VJU2U.js → 4BLZZ4AN.js} +2 -2
  18. package/dist/cdn/{P735ARVZ.js → 4DPOKY7J.js} +2 -2
  19. package/dist/cdn/{PJ5GIMQ3.js → 4EXRQCTU.js} +2 -2
  20. package/dist/cdn/{DX2KWXQH.js → 4IGJLSVQ.js} +2 -2
  21. package/dist/cdn/{UBQIWDJ6.js → 4K4JSGYM.js} +2 -2
  22. package/dist/cdn/{IXKMX4TL.js → 4NXA4R4C.js} +2 -2
  23. package/dist/cdn/{YZEMFOML.js → 4O4I37QW.js} +2 -2
  24. package/dist/cdn/{G4K6QJKG.js → 4OIZKI5X.js} +2 -2
  25. package/dist/cdn/{FBWQBY27.js → 4PSBLA5A.js} +1 -1
  26. package/dist/cdn/{KPJDZ6GB.js → 4QH5EQCM.js} +2 -2
  27. package/dist/cdn/{XUPJRKEU.js → 4QJZ6RTQ.js} +2 -2
  28. package/dist/cdn/{Q7Z6TSJO.js → 4RE4Y5FQ.js} +2 -2
  29. package/dist/cdn/{QUAPDTN4.js → 4SVJQ4LX.js} +1 -1
  30. package/dist/cdn/{AG7WZVG3.js → 4V6ENHCJ.js} +2 -2
  31. package/dist/cdn/{IUJF7M7E.js → 4V7S5IMD.js} +2 -2
  32. package/dist/cdn/{SLRIN2EE.js → 4Y5PAGVV.js} +2 -2
  33. package/dist/cdn/{MPXO4HWB.js → 4YRN5QU6.js} +2 -2
  34. package/dist/cdn/{5KM3OQ45.js → 525LHKW2.js} +2 -2
  35. package/dist/cdn/{UDPIYAP4.js → 52XXPOCM.js} +2 -2
  36. package/dist/cdn/{LABCPCJ5.js → 53YVFBD6.js} +3 -3
  37. package/dist/cdn/{KHMHCKSH.js → 555R5J5L.js} +2 -2
  38. package/dist/cdn/{2Q7W3K2U.js → 5CY6O5VY.js} +2 -2
  39. package/dist/cdn/{TGUYC6XA.js → 5PEPXZUQ.js} +2 -2
  40. package/dist/cdn/{UQPYI4YU.js → 5W566AFV.js} +2 -2
  41. package/dist/cdn/{4QAIRZLC.js → 5ZLN2E7F.js} +2 -2
  42. package/dist/cdn/{AFO27NTW.js → 62EH24ZG.js} +2 -2
  43. package/dist/cdn/{5MJ2X7WW.js → 63PGF4KB.js} +11 -11
  44. package/dist/cdn/{6UPBHSJU.js → 66BJFYWK.js} +3 -3
  45. package/dist/cdn/{VNKIBY73.js → 6AN3IZTS.js} +2 -2
  46. package/dist/cdn/{B5HXNRNU.js → 6BSJZZWP.js} +2 -2
  47. package/dist/cdn/{TYQY5U2V.js → 6CH5PJ3D.js} +2 -2
  48. package/dist/cdn/{F2SBQZXY.js → 6F2I4B23.js} +2 -2
  49. package/dist/cdn/{6C3L2DZO.js → 6FQ5E7LZ.js} +2 -2
  50. package/dist/cdn/6SFMCZX5.js +32 -0
  51. package/dist/cdn/{44YJQ3Z7.js → 6SJN3RI6.js} +1 -1
  52. package/dist/cdn/{3B4GHGN7.js → 6VAWBHQH.js} +2 -2
  53. package/dist/cdn/{RFWYMUFZ.js → 6WUCMVS2.js} +2 -2
  54. package/dist/cdn/{OAFKCPGA.js → 6YK3D4GD.js} +2 -2
  55. package/dist/cdn/{CMRHHLTA.js → 74AFVSP3.js} +2 -2
  56. package/dist/cdn/{53CTPJ7L.js → 74BJAXNM.js} +2 -2
  57. package/dist/cdn/{U7QJL6RJ.js → 74GRV4IA.js} +2 -2
  58. package/dist/cdn/{2HZNWLFR.js → 76WTGL74.js} +2 -2
  59. package/dist/cdn/76YHYO6R.js +18 -0
  60. package/dist/cdn/77JHJDO3.js +4 -0
  61. package/dist/cdn/7APZNWWA.js +18 -0
  62. package/dist/cdn/{K5NA7NZG.js → 7DW6E2G4.js} +2 -2
  63. package/dist/cdn/{J232BJHR.js → 7RLPE2LE.js} +2 -2
  64. package/dist/cdn/{WLO6G3ZI.js → 7TLTRTJJ.js} +2 -2
  65. package/dist/cdn/{AY3NI2XG.js → A47CEPD4.js} +2 -2
  66. package/dist/cdn/{NZW5I4ME.js → AAN2GORT.js} +2 -2
  67. package/dist/cdn/{D45QIGUI.js → AD2XEHSU.js} +2 -2
  68. package/dist/cdn/{ETU34LXS.js → AMLT4MXJ.js} +2 -2
  69. package/dist/cdn/AQL2EEP6.js +4 -0
  70. package/dist/cdn/{FEU2BADY.js → AUBGDSNS.js} +2 -2
  71. package/dist/cdn/{WT44E4WB.js → AWHMTVRK.js} +2 -2
  72. package/dist/cdn/{HRJCLLXN.js → AXXSKOG7.js} +2 -2
  73. package/dist/cdn/{ABW4FZ4A.js → B32GA4ZY.js} +2 -2
  74. package/dist/cdn/{LAFNLEAQ.js → BA2ODWAV.js} +2 -2
  75. package/dist/cdn/{2AEYT5EN.js → BASYG5EI.js} +2 -2
  76. package/dist/cdn/{TJBFLJQE.js → BCQ7PB5L.js} +1 -1
  77. package/dist/cdn/{ORRNGEPB.js → BCT76NH3.js} +2 -2
  78. package/dist/cdn/{AYBNUKF2.js → BE6Y4SAS.js} +2 -2
  79. package/dist/cdn/{UNY6ZPBO.js → BFMO27HI.js} +2 -2
  80. package/dist/cdn/BLWJJIVF.js +4 -0
  81. package/dist/cdn/{JIGAUQSV.js → BTBBUCFG.js} +2 -2
  82. package/dist/cdn/{RZRMSPUG.js → BUK3AXVT.js} +4 -4
  83. package/dist/cdn/{6OEHSLBL.js → BWXOVTHE.js} +2 -2
  84. package/dist/cdn/{U6K7QTEN.js → BXVIXLRN.js} +2 -2
  85. package/dist/cdn/{4PNMPCYE.js → C3ULFDL6.js} +1 -1
  86. package/dist/cdn/{Z22QJBZP.js → C5JMA3VO.js} +2 -2
  87. package/dist/cdn/{SP2IBQRM.js → CFA55OMC.js} +2 -2
  88. package/dist/cdn/{VX5NJVMO.js → CG6TQX5R.js} +2 -2
  89. package/dist/cdn/{MZPGTHXU.js → CGO26IXO.js} +2 -2
  90. package/dist/cdn/{5IUMTQEP.js → CNS57OWN.js} +2 -2
  91. package/dist/cdn/{NJ5MKRTM.js → CQK3BMBI.js} +2 -2
  92. package/dist/cdn/{J24EZC35.js → CRSVD2NX.js} +2 -2
  93. package/dist/cdn/CRTVGF25.js +18 -0
  94. package/dist/cdn/{XULLRYLK.js → CUAKPCDU.js} +2 -2
  95. package/dist/cdn/{O3IYQZS4.js → CV5QMNOP.js} +2 -2
  96. package/dist/cdn/{F3IFJUMZ.js → CVHMW6KL.js} +2 -2
  97. package/dist/cdn/{4W77FHNW.js → D3RILYWV.js} +3 -3
  98. package/dist/cdn/{XU2USBFY.js → DDVJ3JLU.js} +2 -2
  99. package/dist/cdn/{VOJ5I2DI.js → DEDFE33X.js} +2 -2
  100. package/dist/cdn/{4OITS6OK.js → DFUNTOD4.js} +2 -2
  101. package/dist/cdn/{EMPCYNVL.js → DL3GVIIB.js} +2 -2
  102. package/dist/cdn/DLEBYLCL.js +4 -0
  103. package/dist/cdn/{EZY6IHIO.js → DM5TQ2UX.js} +2 -2
  104. package/dist/cdn/{IAGYOESJ.js → DMOU6E5N.js} +1 -1
  105. package/dist/cdn/{U3CWV2X3.js → DMYXBSFV.js} +2 -2
  106. package/dist/cdn/{4DK5FO5H.js → DO4C2ZFB.js} +2 -2
  107. package/dist/cdn/DPF7M6FH.js +4 -0
  108. package/dist/cdn/{2JLIDK4F.js → DSQLWDME.js} +2 -2
  109. package/dist/cdn/{GVL6QMUW.js → E55QEAZU.js} +2 -2
  110. package/dist/cdn/{AL7BYUFL.js → E6F3Q2WH.js} +1 -1
  111. package/dist/cdn/{QNL73AJ7.js → ECU5P5XQ.js} +2 -2
  112. package/dist/cdn/{YYMQ6Q6V.js → EFVSZIO5.js} +2 -2
  113. package/dist/cdn/{GI43YZFO.js → EGJJCZ6T.js} +2 -2
  114. package/dist/cdn/{TAWCEX4E.js → EGSTJEDG.js} +2 -2
  115. package/dist/cdn/{T3TTYN47.js → EHO2NULT.js} +2 -2
  116. package/dist/cdn/{X3WZALYF.js → EIOQMWBZ.js} +1 -1
  117. package/dist/cdn/{CE5P6QNM.js → ENFNJDP4.js} +2 -2
  118. package/dist/cdn/{7KE3RMPB.js → EOP427LW.js} +2 -2
  119. package/dist/cdn/{H6U7EXWQ.js → EQT2HI7R.js} +2 -2
  120. package/dist/cdn/{AFXENE56.js → ESXLY5ZV.js} +2 -2
  121. package/dist/cdn/{MEFB22VX.js → EXUIACSX.js} +2 -2
  122. package/dist/cdn/{HRWRCQKJ.js → F6ZCZA77.js} +2 -2
  123. package/dist/cdn/{JY3JOOER.js → FNU2KCAL.js} +2 -2
  124. package/dist/cdn/{GXJDDICF.js → FNVLHQQW.js} +2 -2
  125. package/dist/cdn/{NF5FJFX4.js → FQ34TDJ5.js} +2 -2
  126. package/dist/cdn/FTQB6L4P.js +18 -0
  127. package/dist/cdn/{FKGTOFJU.js → FY3IA2CD.js} +2 -2
  128. package/dist/cdn/{NW6RXSQC.js → FZPBKB2A.js} +2 -2
  129. package/dist/cdn/{2JDXYIOQ.js → G2HJS27Y.js} +2 -2
  130. package/dist/cdn/{UORXW6T2.js → G2VAHTOZ.js} +2 -2
  131. package/dist/cdn/{LPQD7HOP.js → G433TJJM.js} +2 -2
  132. package/dist/cdn/{YRUKQBWR.js → G5A42QWN.js} +2 -2
  133. package/dist/cdn/{SMWON25K.js → G5ID4AKW.js} +2 -2
  134. package/dist/cdn/{XRRMKBZC.js → G5QG243B.js} +2 -2
  135. package/dist/cdn/{IT423KGN.js → G6OXKKII.js} +2 -2
  136. package/dist/cdn/{OPY4Z2YE.js → GAJHKAP6.js} +2 -2
  137. package/dist/cdn/{VRU3BP4W.js → GCCMX7HT.js} +2 -2
  138. package/dist/cdn/{MAHTOZQZ.js → GF32HN3G.js} +2 -2
  139. package/dist/cdn/{ZNNLHOXB.js → GL2DFPES.js} +2 -2
  140. package/dist/cdn/{RWIQOF3I.js → GOMCCYIB.js} +2 -2
  141. package/dist/cdn/{BR2KYFVU.js → GU2J27Y4.js} +2 -2
  142. package/dist/cdn/GW6MAVZB.js +18 -0
  143. package/dist/cdn/{DADS3G2A.js → GYRPSJG5.js} +2 -2
  144. package/dist/cdn/{VPDB3Z3Z.js → GZTVZREB.js} +2 -2
  145. package/dist/cdn/{S4SB5HEM.js → H36WONTX.js} +1 -1
  146. package/dist/cdn/{M7M7RR3S.js → H6CR332J.js} +2 -2
  147. package/dist/cdn/{MWYML6WY.js → HGTZZH7P.js} +2 -2
  148. package/dist/cdn/{WRGYCJSM.js → HL4CBUJV.js} +1 -1
  149. package/dist/cdn/{SOB6MDSE.js → HMFIFRBW.js} +2 -2
  150. package/dist/cdn/{EG6O4RGD.js → HMM6LNIK.js} +2 -2
  151. package/dist/cdn/{YG6LBR5J.js → HOAEW2HA.js} +2 -2
  152. package/dist/cdn/{TPBX5AGW.js → HOHL5YGO.js} +2 -2
  153. package/dist/cdn/{D65MWXTY.js → HSOFX6JP.js} +2 -2
  154. package/dist/cdn/{IX57U3VX.js → HW3AZE43.js} +1 -1
  155. package/dist/cdn/{32Z322VO.js → HYZPVUUU.js} +2 -2
  156. package/dist/cdn/{3LFZ5T7A.js → ICBOQVUT.js} +2 -2
  157. package/dist/cdn/{RGWPAFYJ.js → IEWCFRS3.js} +2 -2
  158. package/dist/cdn/{744WKL4B.js → IJ7XUCKZ.js} +2 -2
  159. package/dist/cdn/{WPGCC72Z.js → IO4BEC3B.js} +2 -2
  160. package/dist/cdn/{NUEDPTPH.js → IT2QFIDQ.js} +2 -2
  161. package/dist/cdn/{7YURZN2L.js → IYGRD77H.js} +2 -2
  162. package/dist/cdn/{5QDFSQJO.js → J3KF3PRN.js} +2 -2
  163. package/dist/cdn/{TN6FNGRG.js → J73WKE2A.js} +2 -2
  164. package/dist/cdn/{Z6B3WHSU.js → JAPLJADD.js} +2 -2
  165. package/dist/cdn/{UZCZ4YQJ.js → JD2NWIUZ.js} +1 -1
  166. package/dist/cdn/{ND2IK3J4.js → JJ5NAWQF.js} +2 -2
  167. package/dist/cdn/{2GNEM4WI.js → JJBMLBOD.js} +2 -2
  168. package/dist/cdn/{CUDC5ZC7.js → JMC5S3OP.js} +2 -2
  169. package/dist/cdn/{N6KHEEH3.js → JMNPNOMM.js} +2 -2
  170. package/dist/cdn/{JBWJKX6R.js → JMQYSN2U.js} +2 -2
  171. package/dist/cdn/{AAHYGMQT.js → JPAPTSIM.js} +2 -2
  172. package/dist/cdn/{CXEFCT7U.js → JPXZR7F6.js} +2 -2
  173. package/dist/cdn/{Y26VV5TR.js → JSG72U23.js} +2 -2
  174. package/dist/cdn/JSLBDCYN.js +4 -0
  175. package/dist/cdn/{H3JE25P4.js → K4U36B2V.js} +2 -2
  176. package/dist/cdn/{ONWRZL4D.js → K7BJT7P5.js} +2 -2
  177. package/dist/cdn/{RAMU6EDK.js → K7E3FYY7.js} +1 -1
  178. package/dist/cdn/{LHLEEXVK.js → KBYURVEW.js} +2 -2
  179. package/dist/cdn/{I6Y47RXA.js → KCRJ3JSU.js} +2 -2
  180. package/dist/cdn/{6H2IV23Z.js → KFVDMG2X.js} +2 -2
  181. package/dist/cdn/{Z4SZ3T5Q.js → KGFJINDZ.js} +2 -2
  182. package/dist/cdn/{73DLCY4H.js → L3HN5AEC.js} +2 -2
  183. package/dist/cdn/{RH2ESQUL.js → L7GNTOWS.js} +2 -2
  184. package/dist/cdn/{P6VJL3SQ.js → LDCLSTHK.js} +2 -2
  185. package/dist/cdn/LSNLFFRL.js +18 -0
  186. package/dist/cdn/{PNA7VJ2E.js → LV5REHNL.js} +2 -2
  187. package/dist/cdn/LYQ3KTGD.js +6 -0
  188. package/dist/cdn/{XJUPEAQ5.js → LZ3VYGB4.js} +2 -2
  189. package/dist/cdn/{PKDOLQ7V.js → M2HAF2GX.js} +2 -2
  190. package/dist/cdn/{FAYOSJHL.js → M3UIPWYF.js} +2 -2
  191. package/dist/cdn/{I57F65R3.js → M3WLEKZY.js} +1 -1
  192. package/dist/cdn/{QPZTJWXP.js → MAV2E7IR.js} +2 -2
  193. package/dist/cdn/{BMP6JBUC.js → MCCOBK4U.js} +2 -2
  194. package/dist/cdn/{T6YHOTFI.js → MDXWBTRA.js} +2 -2
  195. package/dist/cdn/{MJKJX3HD.js → MIBJXLGF.js} +2 -2
  196. package/dist/cdn/{NYNK6MDG.js → MIMNLENH.js} +2 -2
  197. package/dist/cdn/{4HUGCC22.js → MLGWC5WC.js} +2 -2
  198. package/dist/cdn/{BGEKENEW.js → MLPRVROZ.js} +2 -2
  199. package/dist/cdn/{IZ4Q2NCE.js → MPOQCAB6.js} +2 -2
  200. package/dist/cdn/{YXK7Y3D3.js → MTFQHJ7S.js} +2 -2
  201. package/dist/cdn/{EQYKIFSR.js → MUKFRDRU.js} +2 -2
  202. package/dist/cdn/{OW2VVRPH.js → N2UEZKKT.js} +1 -1
  203. package/dist/cdn/{PNJABFHT.js → N3SX4PJO.js} +2 -2
  204. package/dist/cdn/{VXL6UU32.js → N6XFNMNC.js} +2 -2
  205. package/dist/cdn/{PWQW6QGN.js → N7M4R6MB.js} +2 -2
  206. package/dist/cdn/{3EXVFSPL.js → NAAEMR7C.js} +2 -2
  207. package/dist/cdn/{LJNC3CQ4.js → NB5Y75SB.js} +2 -2
  208. package/dist/cdn/{Y6HBFOGB.js → NBFNKQRL.js} +2 -2
  209. package/dist/cdn/{4OHW6OFA.js → NBPC3ZFT.js} +2 -2
  210. package/dist/cdn/{AUTDUGL2.js → NBVYJDDR.js} +2 -2
  211. package/dist/cdn/NDF3N6HW.js +4 -0
  212. package/dist/cdn/{AADAYMT6.js → NEWVUWSK.js} +2 -2
  213. package/dist/cdn/{FIBLCYVI.js → NGPTQFAY.js} +1 -1
  214. package/dist/cdn/{BUZUCGC5.js → NITTCIVL.js} +2 -2
  215. package/dist/cdn/{76KBCKGN.js → NKHE4IDW.js} +2 -2
  216. package/dist/cdn/{25PXWPED.js → NPTS3X7S.js} +2 -2
  217. package/dist/cdn/{WBMDIJ7H.js → NPZYRGJR.js} +1 -1
  218. package/dist/cdn/{26NPWR4E.js → NRNJQ6LW.js} +1 -1
  219. package/dist/cdn/{MOHNOCW5.js → NVNJVDKY.js} +2 -2
  220. package/dist/cdn/{7DWRUYAH.js → NWK4W24O.js} +2 -2
  221. package/dist/cdn/{NJPPUFFR.js → O44LA7OL.js} +1 -1
  222. package/dist/cdn/{PZKE7HQT.js → O4BW2L5G.js} +2 -2
  223. package/dist/cdn/{NG6NUOP3.js → O5FSYFTO.js} +2 -2
  224. package/dist/cdn/{YWMGE5L2.js → O5IC74VW.js} +2 -2
  225. package/dist/cdn/{CSL3GOVE.js → O73TK37S.js} +1 -1
  226. package/dist/cdn/{2UQPZ6NH.js → OBINZMHB.js} +2 -2
  227. package/dist/cdn/{OYFTOJO5.js → ODRRKBUZ.js} +2 -2
  228. package/dist/cdn/{DAHGIWLP.js → OT7U2KKN.js} +1 -1
  229. package/dist/cdn/{RPGDZFQK.js → OXR3CLWM.js} +2 -2
  230. package/dist/cdn/{X2FKAGGD.js → OZSUO2RI.js} +2 -2
  231. package/dist/cdn/{HIZLEBSM.js → P4CH3JVD.js} +1 -1
  232. package/dist/cdn/{GGNR6VWM.js → PDSJLVCU.js} +1 -1
  233. package/dist/cdn/{A6QCOM2P.js → PGQILJGZ.js} +2 -2
  234. package/dist/cdn/{QDBHOCPI.js → PJ6P5M6W.js} +2 -2
  235. package/dist/cdn/{GSD3LFSU.js → PK5PHGBL.js} +2 -2
  236. package/dist/cdn/{CNDP7JNB.js → PLJDLID2.js} +2 -2
  237. package/dist/cdn/{4U2MELLO.js → PLVZ6KCL.js} +2 -2
  238. package/dist/cdn/{P4LWYJGK.js → PULWJVQ6.js} +1 -1
  239. package/dist/cdn/{35VKC3HF.js → PUYL34E7.js} +2 -2
  240. package/dist/cdn/{SVUWQBJ3.js → Q6F3I5ID.js} +2 -2
  241. package/dist/cdn/{IOCEGFZ6.js → QBYTLAAR.js} +2 -2
  242. package/dist/cdn/{VLEMGKLD.js → QD45UNRU.js} +1 -1
  243. package/dist/cdn/{RSRNKFJB.js → QDGZPTOS.js} +2 -2
  244. package/dist/cdn/{KSRDVGLI.js → QF5SFD5P.js} +1 -1
  245. package/dist/cdn/QGM2IHP7.js +18 -0
  246. package/dist/cdn/{HHMWLNDM.js → QLEOLUNQ.js} +2 -2
  247. package/dist/cdn/{MJTZKZWX.js → QLUF3CA4.js} +2 -2
  248. package/dist/cdn/QQMQZWHZ.js +4 -0
  249. package/dist/cdn/{NBOMJONT.js → QT6NQCTF.js} +2 -2
  250. package/dist/cdn/{5KJ43LT2.js → QXJZIFME.js} +2 -2
  251. package/dist/cdn/{I77ESG6W.js → R2BTBE5Y.js} +1 -1
  252. package/dist/cdn/{WXP7MVWM.js → R2VZTVWF.js} +2 -2
  253. package/dist/cdn/{JSPYOTYK.js → R5MOLXYO.js} +2 -2
  254. package/dist/cdn/{VGQMQMW2.js → REIIATFT.js} +2 -2
  255. package/dist/cdn/{DDZGCU7E.js → RG3HIFJ7.js} +2 -2
  256. package/dist/cdn/{IUMZOPCZ.js → RGQ5Y5GC.js} +2 -2
  257. package/dist/cdn/{56WFFMLM.js → RRCJCS53.js} +2 -2
  258. package/dist/cdn/{G6EY2AO6.js → RSOXCIBH.js} +2 -2
  259. package/dist/cdn/{L3FLIUCT.js → RVYKZUI7.js} +2 -2
  260. package/dist/cdn/{APT2GQ3E.js → SG5MHJ4N.js} +2 -2
  261. package/dist/cdn/{KY6VYS63.js → SGLIPS4K.js} +2 -2
  262. package/dist/cdn/{2RWVFEFA.js → SHSMDVKF.js} +2 -2
  263. package/dist/cdn/{KR3B36T2.js → SHYHZYKZ.js} +2 -2
  264. package/dist/cdn/{GCLQJCPJ.js → SKROSG35.js} +2 -2
  265. package/dist/cdn/{FW7R3WPQ.js → SKWHNZUO.js} +2 -2
  266. package/dist/cdn/SP5Q3OWO.js +4 -0
  267. package/dist/cdn/{HICZARO2.js → SQYDLSNS.js} +2 -2
  268. package/dist/cdn/{2K3QGCHY.js → SSNVKKF2.js} +2 -2
  269. package/dist/cdn/{K2XE5PCL.js → T2IELMDA.js} +2 -2
  270. package/dist/cdn/{CPNGZCYJ.js → T3AL5SL4.js} +2 -2
  271. package/dist/cdn/{3QSTJB4G.js → T7AEMZMX.js} +2 -2
  272. package/dist/cdn/{T4VXASQ3.js → TFM3Q342.js} +1 -1
  273. package/dist/cdn/{GOXCTX5F.js → TG6OB6L6.js} +2 -2
  274. package/dist/cdn/{35U56JIN.js → TGEGZY2G.js} +2 -2
  275. package/dist/cdn/{MGYPSDR4.js → TKY57TEX.js} +2 -2
  276. package/dist/cdn/{K4MN47BN.js → TKZN4NGF.js} +2 -2
  277. package/dist/cdn/{OCBVKLSL.js → TNOZQKKG.js} +1 -1
  278. package/dist/cdn/{4ZR3MSNA.js → TTBW4SM4.js} +2 -2
  279. package/dist/cdn/{RWQTCZS7.js → TZMCPBQ6.js} +2 -2
  280. package/dist/cdn/U45RA23S.js +4 -0
  281. package/dist/cdn/{6EHWSG37.js → UFY4FKE4.js} +2 -2
  282. package/dist/cdn/{4YJ6A7NH.js → UG6DTQWC.js} +2 -2
  283. package/dist/cdn/{ZVGL7CJA.js → UGCZTLUJ.js} +2 -2
  284. package/dist/cdn/{6RW5X6U7.js → ULYPTG4C.js} +2 -2
  285. package/dist/cdn/{HMOI5PBK.js → UMLSM7SQ.js} +2 -2
  286. package/dist/cdn/{46762KZU.js → UOQ75LBF.js} +2 -2
  287. package/dist/cdn/{R4XUHQKF.js → UOTCT3X2.js} +2 -2
  288. package/dist/cdn/{QV37GJYO.js → UPP373IZ.js} +2 -2
  289. package/dist/cdn/{VUVGVTFD.js → USH2FWEI.js} +2 -2
  290. package/dist/cdn/{PF74RPRR.js → UWPYZKRU.js} +2 -2
  291. package/dist/cdn/{DWJ66BPI.js → UXHFA7TQ.js} +1 -1
  292. package/dist/cdn/{G7TIHPPP.js → UXQTOOQF.js} +2 -2
  293. package/dist/cdn/{5Z4MFGB2.js → UZ3FNZON.js} +2 -2
  294. package/dist/cdn/{YMYLX5KE.js → V3ZZ5N4R.js} +2 -2
  295. package/dist/cdn/{GWPDPRKQ.js → V4AQKHXK.js} +2 -2
  296. package/dist/cdn/{XXQBIMTA.js → V4Z4WMMJ.js} +2 -2
  297. package/dist/cdn/{VO725MXM.js → VCKCORX7.js} +2 -2
  298. package/dist/cdn/{UMXSJGTY.js → VEPVOZOG.js} +2 -2
  299. package/dist/cdn/{UZ7BFM3X.js → VOMUURUC.js} +2 -2
  300. package/dist/cdn/{R4UPDI2V.js → VSD3M6NN.js} +2 -2
  301. package/dist/cdn/{Y7XPQ7UZ.js → VWW3LSRO.js} +2 -2
  302. package/dist/cdn/{ERQ5BYWY.js → VYKVHYXK.js} +2 -2
  303. package/dist/cdn/W7MYYAYF.js +4 -0
  304. package/dist/cdn/{BH4V7GBG.js → WBFSXBTD.js} +2 -2
  305. package/dist/cdn/{U4ZMYHFB.js → WGAW32YJ.js} +1 -1
  306. package/dist/cdn/{QOUQNYHD.js → WLOLHBFB.js} +2 -2
  307. package/dist/cdn/{7OHK4L2N.js → WSRJWIJL.js} +2 -2
  308. package/dist/cdn/{ER5T5IBK.js → WTTVUTLF.js} +2 -2
  309. package/dist/cdn/{EKTQJHJC.js → WWWGD7IQ.js} +2 -2
  310. package/dist/cdn/{7HHMPR7G.js → WYKWWP7A.js} +2 -2
  311. package/dist/cdn/{7WP5CYWM.js → WZEVKWM7.js} +2 -2
  312. package/dist/cdn/{WL4HZ56C.js → WZIKGI4S.js} +2 -2
  313. package/dist/cdn/{DGZQ4PDA.js → XCBEEW4Y.js} +2 -2
  314. package/dist/cdn/XIH4QECN.js +4 -0
  315. package/dist/cdn/{B622V4H4.js → XKTAGUXR.js} +2 -2
  316. package/dist/cdn/{KZZQAKAW.js → XLOS4YK7.js} +2 -2
  317. package/dist/cdn/{RGB3EFOD.js → XLOU4CT6.js} +1 -1
  318. package/dist/cdn/{RPMJNS7Y.js → XQVP3LAD.js} +1 -1
  319. package/dist/cdn/{MRA34GVV.js → XSZKL3RH.js} +2 -2
  320. package/dist/cdn/{FXOZ65PA.js → YDBXXYQT.js} +2 -2
  321. package/dist/cdn/{WO7RS6VM.js → YETXYXLA.js} +2 -2
  322. package/dist/cdn/{RY2EWQB3.js → YLQDUOIF.js} +2 -2
  323. package/dist/cdn/{3Y3QLPOF.js → YNBOJIO2.js} +1 -1
  324. package/dist/cdn/{JN6MPXCJ.js → YUNO2IBI.js} +2 -2
  325. package/dist/cdn/{IXSWZX3Z.js → YWR4TMJW.js} +2 -2
  326. package/dist/cdn/{NCOAP2MV.js → YX5XY52P.js} +2 -2
  327. package/dist/cdn/{JXDRM6IS.js → YZ3L2PZE.js} +2 -2
  328. package/dist/cdn/{KWDBAHJD.js → Z2B6IWJT.js} +2 -2
  329. package/dist/cdn/{BMI4372L.js → Z3IFAZMT.js} +2 -2
  330. package/dist/cdn/{ZZQSJXAH.js → Z5526TL4.js} +2 -2
  331. package/dist/cdn/{4OT2FGEK.js → ZCNTFMFD.js} +1 -1
  332. package/dist/cdn/{BAOWCOIZ.js → ZD2KMD76.js} +2 -2
  333. package/dist/cdn/{ZB72I7DY.js → ZIASRWEX.js} +2 -2
  334. package/dist/cdn/{4HPGRAZN.js → ZJICNLKM.js} +2 -2
  335. package/dist/cdn/{X3I27DCJ.js → ZLFAD7B6.js} +2 -2
  336. package/dist/cdn/{H7CEQ3X7.js → ZN44SNEG.js} +2 -2
  337. package/dist/cdn/{RMJKDDFJ.js → ZPZAW75N.js} +2 -2
  338. package/dist/cdn/{QMKOWA5L.js → ZQCWMQNP.js} +1 -1
  339. package/dist/cdn/ZRJN3QPB.js +4 -0
  340. package/dist/cdn/{TYYJ3744.js → ZVL3K67Z.js} +2 -2
  341. package/dist/cdn/{OPKGZD32.js → ZYGVWDQR.js} +2 -2
  342. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ar.json +1 -0
  343. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.bg.json +1 -0
  344. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.bs.json +1 -0
  345. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ca.json +1 -0
  346. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.cs.json +1 -0
  347. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.da.json +1 -0
  348. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.de.json +1 -1
  349. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.el.json +1 -0
  350. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
  351. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.es.json +1 -0
  352. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.et.json +1 -0
  353. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.fi.json +1 -0
  354. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.fr.json +1 -0
  355. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.he.json +1 -1
  356. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.hr.json +1 -0
  357. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.hu.json +1 -0
  358. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.id.json +1 -0
  359. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.it.json +1 -0
  360. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ja.json +1 -0
  361. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  362. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ko.json +1 -0
  363. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.lt.json +1 -0
  364. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.lv.json +1 -0
  365. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.nl.json +1 -0
  366. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.no.json +1 -0
  367. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pl.json +1 -0
  368. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pt-BR.json +1 -0
  369. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pt-PT.json +1 -0
  370. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ro.json +1 -0
  371. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ru.json +1 -0
  372. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sk.json +1 -0
  373. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sl.json +1 -0
  374. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sr.json +1 -0
  375. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sv.json +1 -0
  376. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.th.json +1 -0
  377. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.tr.json +1 -0
  378. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.uk.json +1 -0
  379. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.vi.json +1 -0
  380. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-CN.json +1 -0
  381. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-HK.json +1 -0
  382. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-TW.json +1 -0
  383. package/dist/cdn/index.js +2 -2
  384. package/dist/chunks/Auth.js +1 -1
  385. package/dist/chunks/CardsFetcher.js +1 -1
  386. package/dist/chunks/appConfig.js +1 -1
  387. package/dist/chunks/cardFetchingUtils.js +1 -1
  388. package/dist/chunks/cardsHelpers.js +1 -1
  389. package/dist/chunks/common.js +1 -1
  390. package/dist/chunks/deployAppContexts.js +1 -1
  391. package/dist/chunks/downloadUtils.js +1 -1
  392. package/dist/chunks/getItemIcon.js +1 -1
  393. package/dist/chunks/helpers.js +1 -1
  394. package/dist/chunks/interfaces.js +1 -1
  395. package/dist/chunks/loadModules.js +1 -1
  396. package/dist/chunks/mapViewUtils.js +1 -1
  397. package/dist/chunks/pciUtils.js +1 -1
  398. package/dist/chunks/popupUtils.js +1 -1
  399. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  400. package/dist/chunks/privilegeUtils.js +1 -1
  401. package/dist/chunks/publicNotificationContext.js +1 -1
  402. package/dist/chunks/queryUtils.js +1 -1
  403. package/dist/chunks/runtime.js +1 -1
  404. package/dist/chunks/solution-store.js +1 -1
  405. package/dist/chunks/templates.js +1 -1
  406. package/dist/chunks/useT9n.js +1 -1
  407. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  408. package/dist/components/basemap-gallery/customElement.js +1 -1
  409. package/dist/components/buffer-tools/customElement.js +8 -8
  410. package/dist/components/card-manager/customElement.js +1 -1
  411. package/dist/components/consent-manager/customElement.js +1 -1
  412. package/dist/components/create-feature/customElement.js +1 -1
  413. package/dist/components/create-related-feature/customElement.js +1 -1
  414. package/dist/components/crowdsource-manager/customElement.js +11 -11
  415. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  416. package/dist/components/deduct-calculator/customElement.js +1 -1
  417. package/dist/components/delete-button/customElement.js +1 -1
  418. package/dist/components/delete-dialog/customElement.js +1 -1
  419. package/dist/components/edit-card/customElement.js +1 -1
  420. package/dist/components/feature-details/customElement.js +1 -1
  421. package/dist/components/feature-list/customElement.js +1 -1
  422. package/dist/components/field-selection/customElement.js +1 -1
  423. package/dist/components/floor-filter/customElement.js +1 -1
  424. package/dist/components/info-card/customElement.js +1 -1
  425. package/dist/components/json-editor/customElement.js +1 -1
  426. package/dist/components/layer-list/customElement.js +1 -1
  427. package/dist/components/layer-table/customElement.js +1 -1
  428. package/dist/components/map-card/customElement.js +1 -1
  429. package/dist/components/map-draw-tools/customElement.js +34 -30
  430. package/dist/components/map-fullscreen/customElement.js +1 -1
  431. package/dist/components/map-layer-picker/customElement.js +1 -1
  432. package/dist/components/map-legend/customElement.js +1 -1
  433. package/dist/components/map-picker/customElement.js +1 -1
  434. package/dist/components/map-search/customElement.js +1 -1
  435. package/dist/components/map-select-tools/customElement.js +11 -11
  436. package/dist/components/map-tools/customElement.js +1 -1
  437. package/dist/components/pci-calculator/customElement.js +1 -1
  438. package/dist/components/pdf-download/customElement.js +1 -1
  439. package/dist/components/public-notification/customElement.js +15 -15
  440. package/dist/components/refine-selection/customElement.d.ts +1 -0
  441. package/dist/components/refine-selection/customElement.js +44 -41
  442. package/dist/components/selection-tool/customElement.js +1 -1
  443. package/dist/components/solution-article-card/customElement.js +1 -1
  444. package/dist/components/solution-configuration/customElement.js +1 -1
  445. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  446. package/dist/components/solution-configure-titles/customElement.js +1 -1
  447. package/dist/components/solution-contents/customElement.js +1 -1
  448. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  449. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  450. package/dist/components/solution-deployed-card/customElement.js +1 -1
  451. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  452. package/dist/components/solution-details-card/customElement.js +1 -1
  453. package/dist/components/solution-details-panel/customElement.js +1 -1
  454. package/dist/components/solution-item/customElement.js +1 -1
  455. package/dist/components/solution-item-accordion/customElement.js +1 -1
  456. package/dist/components/solution-item-details/customElement.js +1 -1
  457. package/dist/components/solution-item-diagram/customElement.js +1 -1
  458. package/dist/components/solution-item-icon/customElement.js +1 -1
  459. package/dist/components/solution-item-sharing/customElement.js +1 -1
  460. package/dist/components/solution-organization-variables/customElement.js +1 -1
  461. package/dist/components/solution-resource-item/customElement.js +1 -1
  462. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  463. package/dist/components/solution-social-share/customElement.js +1 -1
  464. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  465. package/dist/components/solution-template-data/customElement.js +1 -1
  466. package/dist/components/solution-variables/customElement.js +1 -1
  467. package/dist/components/solutions-all-panel/customElement.js +1 -1
  468. package/dist/components/solutions-all-shell/customElement.js +15 -15
  469. package/dist/components/solutions-article-panel/customElement.js +1 -1
  470. package/dist/components/solutions-articles/customElement.js +1 -1
  471. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  472. package/dist/components/solutions-deploy-app/customElement.js +9 -9
  473. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +7 -0
  474. package/dist/components/solutions-deploy-app-nav/customElement.js +35 -19
  475. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  476. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  477. package/dist/components/solutions-deployed-shell/customElement.js +15 -15
  478. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  479. package/dist/components/spatial-ref/customElement.js +1 -1
  480. package/dist/components/store-manager/customElement.js +1 -1
  481. package/dist/docs/api.json +62 -4
  482. package/dist/docs/docs.json +40 -5
  483. package/dist/docs/vscode.html-custom-data.json +20 -1
  484. package/dist/docs/web-types.json +23 -4
  485. package/dist/index.js +1 -1
  486. package/dist/loader.js +2 -2
  487. package/dist/types/lumina.d.ts +1 -1
  488. package/dist/types/preact.d.ts +1 -1
  489. package/dist/types/preact10.d.ts +1 -1
  490. package/dist/types/react.d.ts +1 -1
  491. package/dist/types/stencil.d.ts +1 -1
  492. package/dist/utils/interfaces.d.ts +1 -1
  493. package/package.json +1 -1
  494. package/dist/cdn/2H3FU2GQ.js +0 -18
  495. package/dist/cdn/4ZBYX6KG.js +0 -18
  496. package/dist/cdn/6KPQJMWZ.js +0 -4
  497. package/dist/cdn/6ORJSITR.js +0 -18
  498. package/dist/cdn/7F7YUDXX.js +0 -18
  499. package/dist/cdn/A63FRN4O.js +0 -4
  500. package/dist/cdn/BF4SQYSX.js +0 -4
  501. package/dist/cdn/CJHZDB77.js +0 -18
  502. package/dist/cdn/E2XUVMWF.js +0 -4
  503. package/dist/cdn/EPLKFX3U.js +0 -4
  504. package/dist/cdn/EYHYE6X7.js +0 -18
  505. package/dist/cdn/F3ZUI5T7.js +0 -6
  506. package/dist/cdn/HQUIPGF2.js +0 -18
  507. package/dist/cdn/KDMWAUZS.js +0 -4
  508. package/dist/cdn/KIJPQQ52.js +0 -4
  509. package/dist/cdn/LIJIFUOI.js +0 -4
  510. package/dist/cdn/NKKFCOFL.js +0 -4
  511. package/dist/cdn/Q4KBZO4C.js +0 -18
  512. package/dist/cdn/SHUMQDMA.js +0 -4
  513. package/dist/cdn/SLWXIRRI.js +0 -4
  514. package/dist/cdn/XHVAPJYJ.js +0 -20
  515. package/dist/cdn/YT3PSVK7.js +0 -4
  516. package/dist/cdn/ZA4VTCHB.js +0 -4
  517. package/dist/solutions-components_commit.txt +0 -10
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a as g}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as p}from"./R4UPDI2V.js";import{E as u,I as s,h as l,i as c,r as h}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var b=l`@layer{/** @license
3
+ v1.1.0-next.20251003 */
4
+ import{a as g}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as p}from"./VSD3M6NN.js";import{E as u,I as s,h as l,i as c,r as h}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var b=l`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20251001.1 */
4
- import{a as p}from"./5KJ43LT2.js";import{a as x}from"./ER5T5IBK.js";import{b as _}from"./XRRMKBZC.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{C as g,D as u,E as m,G as r,h,i as s}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(e){this.pages=e,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},v=h`:host{--instant-apps-app-guide-width: 300px;--instant-apps-app-guide-height: 400px;--instant-apps-app-guide-list-item-bubble-size: 22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:.5rem;padding-inline:.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color: var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item:before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}`,o={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},d=class extends m{constructor(){super(...arguments),this._messages=x({name:"instant-apps-app-guide"}),this._viewModel=new c,this._carouselRef=g(),this.header=!0}static{this.properties={headerText:16,header:5,data:0}}static{this.styles=v}load(){this._setContent(this.data)}willUpdate(e){e.has("data")&&this._setContent(this.data),e.has("headerText")&&(this._viewModel.headerText=this.headerText)}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:{value:t},_messages:a}=this;if(!(e&&t))return;let i=Array.from(t.childNodes).indexOf(t.selectedItem),n=e?.pages,l=n?.[i]??n[0];this.headerText=l?.title||a.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return s`<calcite-panel scale=s>${t}<calcite-carousel label="App Guide" @calciteCarouselChange=${()=>this._updateHeaderText()} .arrowType=${this._getArrowType()} ${u(this._carouselRef)}>${e}</calcite-carousel></calcite-panel>`}_renderAppGuideHeader(){let{_messages:e,header:t,headerText:a}=this,i=!!t&&e.headerText,n=a||e.headerText;return i?s`<span slot=header-content>${n} <calcite-icon icon=lightbulb scale=s></calcite-icon></span>`:null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:i,type:n,title:l}=t;return p(`page_${a}`,s`<calcite-carousel-item .label=${l}><div class=${r(o.contentWrapper)}>${this._renderContentItems(i,n)}</div></calcite-carousel-item>`)})}_renderContentItems(e,t){switch(t){case"list":return s`<ol class=${r(o.contentList)}>${e.map((a,i)=>p(`content-list-item-${i}`,s`<li class=${r(o.contentListItem)}>${a}</li>`))}</ol>`;case"paragraphs":default:return e.map((a,i)=>p(`content-paragraph-${i}`,s`<p>${a}</p>`))}}};_("instant-apps-app-guide",d);export{d as InstantAppsAppGuide};
3
+ v1.1.0-next.20251003 */
4
+ import{a as p}from"./QXJZIFME.js";import{a as x}from"./WTTVUTLF.js";import{b as _}from"./G5QG243B.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{C as g,D as u,E as m,G as r,h,i as s}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(e){this.pages=e,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},v=h`:host{--instant-apps-app-guide-width: 300px;--instant-apps-app-guide-height: 400px;--instant-apps-app-guide-list-item-bubble-size: 22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:.5rem;padding-inline:.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color: var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item:before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}`,o={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},d=class extends m{constructor(){super(...arguments),this._messages=x({name:"instant-apps-app-guide"}),this._viewModel=new c,this._carouselRef=g(),this.header=!0}static{this.properties={headerText:16,header:5,data:0}}static{this.styles=v}load(){this._setContent(this.data)}willUpdate(e){e.has("data")&&this._setContent(this.data),e.has("headerText")&&(this._viewModel.headerText=this.headerText)}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:{value:t},_messages:a}=this;if(!(e&&t))return;let i=Array.from(t.childNodes).indexOf(t.selectedItem),n=e?.pages,l=n?.[i]??n[0];this.headerText=l?.title||a.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return s`<calcite-panel scale=s>${t}<calcite-carousel label="App Guide" @calciteCarouselChange=${()=>this._updateHeaderText()} .arrowType=${this._getArrowType()} ${u(this._carouselRef)}>${e}</calcite-carousel></calcite-panel>`}_renderAppGuideHeader(){let{_messages:e,header:t,headerText:a}=this,i=!!t&&e.headerText,n=a||e.headerText;return i?s`<span slot=header-content>${n} <calcite-icon icon=lightbulb scale=s></calcite-icon></span>`:null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:i,type:n,title:l}=t;return p(`page_${a}`,s`<calcite-carousel-item .label=${l}><div class=${r(o.contentWrapper)}>${this._renderContentItems(i,n)}</div></calcite-carousel-item>`)})}_renderContentItems(e,t){switch(t){case"list":return s`<ol class=${r(o.contentList)}>${e.map((a,i)=>p(`content-list-item-${i}`,s`<li class=${r(o.contentListItem)}>${a}</li>`))}</ol>`;case"paragraphs":default:return e.map((a,i)=>p(`content-paragraph-${i}`,s`<p>${a}</p>`))}}};_("instant-apps-app-guide",d);export{d as InstantAppsAppGuide};
@@ -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.20251001.1 */
4
- import"./TJBFLJQE.js";var e="Teil pole selle toimingu tegemiseks piisavalt krediiti. Abi saamiseks p\xF6\xF6rduge ArcGIS-i s\xFCsteemiadministraatori poole.",a="See t\xF6\xF6riist avaldati m\xE4rkmikust. Juurdep\xE4\xE4s ArcGIS m\xE4rkmikele on teie organisatsiooni jaoks blokeeritud. Seadete kohandamiseks v\xF5tke \xFChendust oma administraatoriga.",i="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",t="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",s="Proovige kaarti uuesti salvestada.",r="Krediidi hindamine nurjus. Liikuge kerides alla, parandage vead ja hinnake krediiti uuesti.",o="Anal\xFC\xFCsi k\xE4itamisel ilmnes t\xF5rge.",l="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",u="Anal\xFC\xFCsiajaloo salvestamine nurjus",n="Ajaloo talletusruum on t\xE4is. Eemaldage anal\xFC\xFCsiajaloost m\xF5ned sisu\xFCksused ja proovige uuesti salvestada.",d="Teenuse nimi sisaldab v\xE4hemalt \xFChte sobimatut t\xE4hem\xE4rki.",m="Ajutise kihi salvestamine majutatud objektikihina ei j\xF5udnud l\xF5pule.",k="V\xF5tmeatribuutide toomine nurjus.",h="Kihi laadimine nurjus",v="Kiht pole saadaval.",c="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",p="Mudeli salvestamisel ilmnes t\xF5rge. Proovige uuesti salvestada.",g="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",j="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",E="Mudeli \xFCksuse laadimine nurjus. Veenduge, et mudel oleks olemas ja juurdep\xE4\xE4suluba oleks antud.",P="Taotluse t\xE4itmine nurjus.",b="Teil puudub selle t\xF6\xF6riista kasutamise \xF5igus. <calcite-link target='_blank' href='${ docLink }'>Lisateave</calcite-link>",y="Portaali sisselogimine nurjus.",S="Sisendandmete lugemine nurjus.",T="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",$="Selle nimega tulemkiht on juba olemas. Tulemkihtide nimed peavad kogu organisatsioonis olema kordumatud. Kasutage m\xF5nda muud nime.",f="V\xE4ljundi nimes on \xFCks v\xF5i mitu lubamatut m\xE4rki. <a href='${docLink}' target='_blank'>Lisateave.</a>",F="Ajutise kihi avaldamine majutatud kihina nurjus v\xE4hemalt \xFChe sobimatu v\xE4lja t\xF5ttu. K\xE4ivitage t\xF6\xF6riist uuesti, et luua sobivate v\xE4ljadega kiht.",I="T\xF6\xF6 edastamine nurjus. Liikuge kerides alla, parandage vead ja k\xE4ivitage anal\xFC\xFCs uuesti.",L="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:r,defaultError:o,enumValues:l,failedToSaveHistory:u,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:h,layerUnavailable:v,maxItems:c,mbFailedToSave:p,minItems:g,minLength:j,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:y,queryFeaturesError:S,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,r as creditEstimationError,A as default,o as defaultError,l as enumValues,u as failedToSaveHistory,n as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,h as layerLoadFailure,v as layerUnavailable,c as maxItems,p as mbFailedToSave,g as minItems,j as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,y as portalLoadError,S as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.1.0-next.20251003 */
4
+ import"./BCQ7PB5L.js";var e="Teil pole selle toimingu tegemiseks piisavalt krediiti. Abi saamiseks p\xF6\xF6rduge ArcGIS-i s\xFCsteemiadministraatori poole.",a="See t\xF6\xF6riist avaldati m\xE4rkmikust. Juurdep\xE4\xE4s ArcGIS m\xE4rkmikele on teie organisatsiooni jaoks blokeeritud. Seadete kohandamiseks v\xF5tke \xFChendust oma administraatoriga.",i="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",t="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",s="Proovige kaarti uuesti salvestada.",r="Krediidi hindamine nurjus. Liikuge kerides alla, parandage vead ja hinnake krediiti uuesti.",o="Anal\xFC\xFCsi k\xE4itamisel ilmnes t\xF5rge.",l="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",u="Anal\xFC\xFCsiajaloo salvestamine nurjus",n="Ajaloo talletusruum on t\xE4is. Eemaldage anal\xFC\xFCsiajaloost m\xF5ned sisu\xFCksused ja proovige uuesti salvestada.",d="Teenuse nimi sisaldab v\xE4hemalt \xFChte sobimatut t\xE4hem\xE4rki.",m="Ajutise kihi salvestamine majutatud objektikihina ei j\xF5udnud l\xF5pule.",k="V\xF5tmeatribuutide toomine nurjus.",h="Kihi laadimine nurjus",v="Kiht pole saadaval.",c="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",p="Mudeli salvestamisel ilmnes t\xF5rge. Proovige uuesti salvestada.",g="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",j="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",E="Mudeli \xFCksuse laadimine nurjus. Veenduge, et mudel oleks olemas ja juurdep\xE4\xE4suluba oleks antud.",P="Taotluse t\xE4itmine nurjus.",b="Teil puudub selle t\xF6\xF6riista kasutamise \xF5igus. <calcite-link target='_blank' href='${ docLink }'>Lisateave</calcite-link>",y="Portaali sisselogimine nurjus.",S="Sisendandmete lugemine nurjus.",T="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",$="Selle nimega tulemkiht on juba olemas. Tulemkihtide nimed peavad kogu organisatsioonis olema kordumatud. Kasutage m\xF5nda muud nime.",f="V\xE4ljundi nimes on \xFCks v\xF5i mitu lubamatut m\xE4rki. <a href='${docLink}' target='_blank'>Lisateave.</a>",F="Ajutise kihi avaldamine majutatud kihina nurjus v\xE4hemalt \xFChe sobimatu v\xE4lja t\xF5ttu. K\xE4ivitage t\xF6\xF6riist uuesti, et luua sobivate v\xE4ljadega kiht.",I="T\xF6\xF6 edastamine nurjus. Liikuge kerides alla, parandage vead ja k\xE4ivitage anal\xFC\xFCs uuesti.",L="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:r,defaultError:o,enumValues:l,failedToSaveHistory:u,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:h,layerUnavailable:v,maxItems:c,mbFailedToSave:p,minItems:g,minLength:j,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:y,queryFeaturesError:S,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,r as creditEstimationError,A as default,o as defaultError,l as enumValues,u as failedToSaveHistory,n as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,h as layerLoadFailure,v as layerUnavailable,c as maxItems,p as mbFailedToSave,g as minItems,j as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,y as portalLoadError,S as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{c as m}from"./S4SB5HEM.js";import{b as g}from"./5Z4MFGB2.js";import{a as u}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as p}from"./R4UPDI2V.js";import{C as s,E as h,h as c,i as t,o as d}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var b=c`/** @license
3
+ v1.1.0-next.20251003 */
4
+ import{c as m}from"./H36WONTX.js";import{b as g}from"./UZ3FNZON.js";import{a as u}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as p}from"./VSD3M6NN.js";import{C as s,E as h,h as c,i as t,o as d}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var b=c`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a as Y}from"./2JLIDK4F.js";import{a as F}from"./RPMJNS7Y.js";import{a as w}from"./DDZGCU7E.js";import{a as J}from"./OPKGZD32.js";import{a as W,b as H}from"./2Q7W3K2U.js";import{d as N,g as B,h as V,i as X}from"./J232BJHR.js";import{b as h,c as E}from"./VRU3BP4W.js";import{m as u,p as T}from"./JBWJKX6R.js";import"./4OT2FGEK.js";import"./AADAYMT6.js";import"./AL7BYUFL.js";import{b as S,d as C,f as R}from"./VLEMGKLD.js";import"./HIZLEBSM.js";import{i as j}from"./KWDBAHJD.js";import"./RAMU6EDK.js";import{a as m,c as M,e as P,i as l}from"./QMKOWA5L.js";import"./OW2VVRPH.js";import"./Y7XPQ7UZ.js";import"./WO7RS6VM.js";import{a as A,b as O}from"./Z6B3WHSU.js";import{s as L}from"./MOHNOCW5.js";import"./I77ESG6W.js";import"./GGNR6VWM.js";import{a as f}from"./VGQMQMW2.js";import"./I57F65R3.js";import"./FBWQBY27.js";import{b as g}from"./CSL3GOVE.js";import"./TJBFLJQE.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
3
+ v1.1.0-next.20251003 */
4
+ import{a as Y}from"./DSQLWDME.js";import{a as F}from"./XQVP3LAD.js";import{a as w}from"./RG3HIFJ7.js";import{a as J}from"./ZYGVWDQR.js";import{a as W,b as H}from"./5CY6O5VY.js";import{d as N,g as B,h as V,i as X}from"./7RLPE2LE.js";import{b as h,c as E}from"./GCCMX7HT.js";import{m as u,p as T}from"./JMQYSN2U.js";import"./ZCNTFMFD.js";import"./NEWVUWSK.js";import"./E6F3Q2WH.js";import{b as S,d as C,f as R}from"./QD45UNRU.js";import"./P4CH3JVD.js";import{i as j}from"./Z2B6IWJT.js";import"./K7E3FYY7.js";import{a as m,c as M,e as P,i as l}from"./ZQCWMQNP.js";import"./N2UEZKKT.js";import"./VWW3LSRO.js";import"./YETXYXLA.js";import{a as A,b as O}from"./JAPLJADD.js";import{s as L}from"./NVNJVDKY.js";import"./R2BTBE5Y.js";import"./PDSJLVCU.js";import{a as f}from"./REIIATFT.js";import"./M3WLEKZY.js";import"./4PSBLA5A.js";import{b as g}from"./O73TK37S.js";import"./BCQ7PB5L.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{m as i}from"./IX57U3VX.js";import{a as d}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as h}from"./R4UPDI2V.js";import{E as r,G as a,I as c,h as o,i as s,o as n}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var p=o`/** @license
3
+ v1.1.0-next.20251003 */
4
+ import{m as i}from"./HW3AZE43.js";import{a as d}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as h}from"./VSD3M6NN.js";import{E as r,G as a,I as c,h as o,i as s,o as n}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var p=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{b as C}from"./TJBFLJQE.js";var T=C(N=>{"use strict";var R=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=R+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",L="["+R+"]["+Ne+"]*",be=new RegExp("^"+L+"$"),Ae=function(e,t){let s=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let r=n.length;for(let u=0;u<r;u++)i.push(n[u]);s.push(i),n=t.exec(e)}return s},Ce=function(e){let t=be.exec(e);return!(t===null||typeof t>"u")};N.isExist=function(e){return typeof e<"u"};N.isEmptyObject=function(e){return Object.keys(e).length===0};N.merge=function(e,t,s){if(t){let n=Object.keys(t),i=n.length;for(let r=0;r<i;r++)s==="strict"?e[n[r]]=[t[n[r]]]:e[n[r]]=t[n[r]]}};N.getValue=function(e){return N.isExist(e)?e:""};N.buildOptions=function(e,t,s){let n={};if(!e)return t;for(let i=0;i<s.length;i++)e[s[i]]!==void 0?n[s[i]]=e[s[i]]:n[s[i]]=t[s[i]];return n};N.isTagNameInArrayMode=function(e,t,s){return t===!1?!1:t instanceof RegExp?t.test(e):typeof t=="function"?!!t(e,s):t==="strict"};N.isName=Ce;N.getAllMatches=Ae;N.nameRegexp=L});var $=C(Z=>{"use strict";var v=T(),q=function(e,t,s){let n={};if(!t.alwaysCreateTextNode&&(!e.child||v.isEmptyObject(e.child))&&(!e.attrsMap||v.isEmptyObject(e.attrsMap)))return v.isExist(e.val)?e.val:"";if(v.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let r=v.isTagNameInArrayMode(e.tagname,t.arrayMode,s);n[t.textNodeName]=r?[e.val]:e.val}v.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n[u]=[];for(let a in e.child[u])e.child[u].hasOwnProperty(a)&&n[u].push(q(e.child[u][a],t,u))}else{let a=q(e.child[u][0],t,u),o=t.arrayMode===!0&&typeof a=="object"||v.isTagNameInArrayMode(u,t.arrayMode,s);n[u]=o?[a]:a}}return n};Z.convertToJson=q});var Q=C((ct,X)=>{"use strict";X.exports=function(e,t,s){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=s,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}}});var z=C((ft,Y)=>{var Te=/^[-+]?0x[a-fA-F0-9]+$/,ye=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ve={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Pe(e,t={}){if(t=Object.assign({},ve,t),!e||typeof e!="string")return e;let s=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(s))return e;if(e==="0")return 0;if(t.hex&&Te.test(s))return Ee(s,16);if(s.search(/[eE]/)!==-1){let n=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(n){if(t.leadingZeros)s=(n[1]||"")+n[3];else if(!(n[2]==="0"&&n[3][0]==="."))return e;return t.eNotation?Number(s):e}else return e}else{let n=ye.exec(s);if(n){let i=n[1],r=n[2],u=me(n[3]);if(!t.leadingZeros&&r.length>0&&i&&s[2]!==".")return e;if(!t.leadingZeros&&r.length>0&&!i&&s[1]!==".")return e;if(t.leadingZeros&&r===e)return 0;{let a=Number(s),o=""+a;return o.search(/[eE]/)!==-1?t.eNotation?a:e:s.indexOf(".")!==-1?o==="0"&&u===""||o===u||i&&o==="-"+u?a:e:r?u===o||i+u===o?a:e:s===o||s===i+o?a:e}}else return e}}function me(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}function Ee(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}Y.exports=Pe});var E=C(V=>{"use strict";var P=T(),Ie=T().buildOptions,w=Q(),we=z(),dt="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,P.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var U={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};V.defaultOptions=U;var W=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];V.props=W;function O(e,t,s){return t&&(s.trimValues&&(t=t.trim()),t=s.tagValueProcessor(t,e),t=_(t,s.parseNodeValue,s.numParseOptions)),t}function Oe(e,t){if(t.ignoreNameSpace){let s=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=n+s[1])}return e}function _(e,t,s){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:we(e,s)}else return P.isExist(e)?e:""}var Ve=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function K(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let s=P.getAllMatches(e,Ve),n=s.length,i={};for(let r=0;r<n;r++){let u=Oe(s[r][1],t);u.length&&(s[r][4]!==void 0?(t.trimValues&&(s[r][4]=s[r][4].trim()),s[r][4]=t.attrValueProcessor(s[r][4],u),i[t.attributeNamePrefix+u]=_(s[r][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+u]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let r={};return r[t.attrNodeName]=i,r}return i}}var Fe=function(e,t){e=e.replace(/\r\n?/g,`
3
+ v1.1.0-next.20251003 */
4
+ import{b as C}from"./BCQ7PB5L.js";var T=C(N=>{"use strict";var R=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=R+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",L="["+R+"]["+Ne+"]*",be=new RegExp("^"+L+"$"),Ae=function(e,t){let s=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let r=n.length;for(let u=0;u<r;u++)i.push(n[u]);s.push(i),n=t.exec(e)}return s},Ce=function(e){let t=be.exec(e);return!(t===null||typeof t>"u")};N.isExist=function(e){return typeof e<"u"};N.isEmptyObject=function(e){return Object.keys(e).length===0};N.merge=function(e,t,s){if(t){let n=Object.keys(t),i=n.length;for(let r=0;r<i;r++)s==="strict"?e[n[r]]=[t[n[r]]]:e[n[r]]=t[n[r]]}};N.getValue=function(e){return N.isExist(e)?e:""};N.buildOptions=function(e,t,s){let n={};if(!e)return t;for(let i=0;i<s.length;i++)e[s[i]]!==void 0?n[s[i]]=e[s[i]]:n[s[i]]=t[s[i]];return n};N.isTagNameInArrayMode=function(e,t,s){return t===!1?!1:t instanceof RegExp?t.test(e):typeof t=="function"?!!t(e,s):t==="strict"};N.isName=Ce;N.getAllMatches=Ae;N.nameRegexp=L});var $=C(Z=>{"use strict";var v=T(),q=function(e,t,s){let n={};if(!t.alwaysCreateTextNode&&(!e.child||v.isEmptyObject(e.child))&&(!e.attrsMap||v.isEmptyObject(e.attrsMap)))return v.isExist(e.val)?e.val:"";if(v.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let r=v.isTagNameInArrayMode(e.tagname,t.arrayMode,s);n[t.textNodeName]=r?[e.val]:e.val}v.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n[u]=[];for(let a in e.child[u])e.child[u].hasOwnProperty(a)&&n[u].push(q(e.child[u][a],t,u))}else{let a=q(e.child[u][0],t,u),o=t.arrayMode===!0&&typeof a=="object"||v.isTagNameInArrayMode(u,t.arrayMode,s);n[u]=o?[a]:a}}return n};Z.convertToJson=q});var Q=C((ct,X)=>{"use strict";X.exports=function(e,t,s){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=s,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}}});var z=C((ft,Y)=>{var Te=/^[-+]?0x[a-fA-F0-9]+$/,ye=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ve={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Pe(e,t={}){if(t=Object.assign({},ve,t),!e||typeof e!="string")return e;let s=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(s))return e;if(e==="0")return 0;if(t.hex&&Te.test(s))return Ee(s,16);if(s.search(/[eE]/)!==-1){let n=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(n){if(t.leadingZeros)s=(n[1]||"")+n[3];else if(!(n[2]==="0"&&n[3][0]==="."))return e;return t.eNotation?Number(s):e}else return e}else{let n=ye.exec(s);if(n){let i=n[1],r=n[2],u=me(n[3]);if(!t.leadingZeros&&r.length>0&&i&&s[2]!==".")return e;if(!t.leadingZeros&&r.length>0&&!i&&s[1]!==".")return e;if(t.leadingZeros&&r===e)return 0;{let a=Number(s),o=""+a;return o.search(/[eE]/)!==-1?t.eNotation?a:e:s.indexOf(".")!==-1?o==="0"&&u===""||o===u||i&&o==="-"+u?a:e:r?u===o||i+u===o?a:e:s===o||s===i+o?a:e}}else return e}}function me(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}function Ee(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}Y.exports=Pe});var E=C(V=>{"use strict";var P=T(),Ie=T().buildOptions,w=Q(),we=z(),dt="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,P.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var U={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};V.defaultOptions=U;var W=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];V.props=W;function O(e,t,s){return t&&(s.trimValues&&(t=t.trim()),t=s.tagValueProcessor(t,e),t=_(t,s.parseNodeValue,s.numParseOptions)),t}function Oe(e,t){if(t.ignoreNameSpace){let s=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=n+s[1])}return e}function _(e,t,s){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:we(e,s)}else return P.isExist(e)?e:""}var Ve=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function K(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let s=P.getAllMatches(e,Ve),n=s.length,i={};for(let r=0;r<n;r++){let u=Oe(s[r][1],t);u.length&&(s[r][4]!==void 0?(t.trimValues&&(s[r][4]=s[r][4].trim()),s[r][4]=t.attrValueProcessor(s[r][4],u),i[t.attributeNamePrefix+u]=_(s[r][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+u]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let r={};return r[t.attrNodeName]=i,r}return i}}var Fe=function(e,t){e=e.replace(/\r\n?/g,`
5
5
  `),t=Ie(t,U,W);let s=new w("!xml"),n=s,i="";for(let r=0;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="/"){let a=m(e,">",r,"Closing Tag is not closed."),o=e.substring(r+2,a).trim();if(t.ignoreNameSpace){let h=o.indexOf(":");h!==-1&&(o=o.substr(h+1))}n&&(n.val?n.val=P.getValue(n.val)+""+O(o,i,t):n.val=O(o,i,t)),t.stopNodes.length&&t.stopNodes.includes(n.tagname)&&(n.child=[],n.attrsMap==null&&(n.attrsMap={}),n.val=e.substr(n.startIndex+1,r-n.startIndex-1)),n=n.parent,i="",r=a}else if(e[r+1]==="?")r=m(e,"?>",r,"Pi Tag is not closed.");else if(e.substr(r+1,3)==="!--")r=m(e,"-->",r,"Comment is not closed.");else if(e.substr(r+1,2)==="!D"){let a=m(e,">",r,"DOCTYPE is not closed.");e.substring(r,a).indexOf("[")>=0?r=e.indexOf("]>",r)+1:r=a}else if(e.substr(r+1,2)==="!["){let a=m(e,"]]>",r,"CDATA is not closed.")-2,o=e.substring(r+9,a);if(i&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t),i=""),t.cdataTagName){let h=new w(t.cdataTagName,n,o);n.addChild(h),n.val=P.getValue(n.val)+t.cdataPositionChar,o&&(h.val=o)}else n.val=(n.val||"")+(o||"");r=a+2}else{let a=Me(e,r+1),o=a.data,h=a.index,d=o.indexOf(" "),l=o,A=!0;if(d!==-1&&(l=o.substr(0,d).replace(/\s\s*$/,""),o=o.substr(d+1)),t.ignoreNameSpace){let p=l.indexOf(":");p!==-1&&(l=l.substr(p+1),A=l!==a.data.substr(p+1))}if(n&&i&&n.tagname!=="!xml"&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t)),o.length>0&&o.lastIndexOf("/")===o.length-1){l[l.length-1]==="/"?(l=l.substr(0,l.length-1),o=l):o=o.substr(0,o.length-1);let p=new w(l,n,"");l!==o&&(p.attrsMap=K(o,t)),n.addChild(p)}else{let p=new w(l,n);t.stopNodes.length&&t.stopNodes.includes(p.tagname)&&(p.startIndex=h),l!==o&&A&&(p.attrsMap=K(o,t)),n.addChild(p),n=p}i="",r=h}else i+=e[r];return s};function Me(e,t){let s,n="";for(let i=t;i<e.length;i++){let r=e[i];if(s)r===s&&(s="");else if(r==='"'||r==="'")s=r;else{if(r===">")return{data:n,index:i};r===" "&&(r=" ")}n+=r}}function m(e,t,s,n){let i=e.indexOf(t,s);if(i===-1)throw new Error(n);return i+t.length-1}V.getTraversalObj=Fe});var ee=C(D=>{"use strict";var M=T(),ke={allowBooleanAttributes:!1},qe=["allowBooleanAttributes"];D.validate=function(e,t){t=M.buildOptions(t,ke,qe);let s=[],n=!1,i=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let r=0;r<e.length;r++)if(e[r]==="<"&&e[r+1]==="?"){if(r+=2,r=G(e,r),r.err)return r}else if(e[r]==="<"){let u=r;if(r++,e[r]==="!"){r=H(e,r);continue}else{let a=!1;e[r]==="/"&&(a=!0,r++);let o="";for(;r<e.length&&e[r]!==">"&&e[r]!==" "&&e[r]!==" "&&e[r]!==`
6
6
  `&&e[r]!=="\r";r++)o+=e[r];if(o=o.trim(),o[o.length-1]==="/"&&(o=o.substring(0,o.length-1),r--),!$e(o)){let l;return o.trim().length===0?l="Invalid space after '<'.":l="Tag '"+o+"' is an invalid name.",f("InvalidTag",l,g(e,r))}let h=xe(e,r);if(h===!1)return f("InvalidAttr","Attributes for '"+o+"' have open quote.",g(e,r));let d=h.value;if(r=h.index,d[d.length-1]==="/"){let l=r-d.length;d=d.substring(0,d.length-1);let A=j(d,t);if(A===!0)n=!0;else return f(A.err.code,A.err.msg,g(e,l+A.err.line))}else if(a)if(h.tagClosed){if(d.trim().length>0)return f("InvalidTag","Closing tag '"+o+"' can't have attributes or invalid starting.",g(e,u));{let l=s.pop();if(o!==l.tagName){let A=g(e,l.tagStartPos);return f("InvalidTag","Expected closing tag '"+l.tagName+"' (opened in line "+A.line+", col "+A.col+") instead of closing tag '"+o+"'.",g(e,u))}s.length==0&&(i=!0)}}else return f("InvalidTag","Closing tag '"+o+"' doesn't have proper closing.",g(e,r));else{let l=j(d,t);if(l!==!0)return f(l.err.code,l.err.msg,g(e,r-d.length+l.err.line));if(i===!0)return f("InvalidXml","Multiple possible root nodes found.",g(e,r));s.push({tagName:o,tagStartPos:u}),n=!0}for(r++;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="!"){r++,r=H(e,r);continue}else if(e[r+1]==="?"){if(r=G(e,++r),r.err)return r}else break;else if(e[r]==="&"){let l=Le(e,r);if(l==-1)return f("InvalidChar","char '&' is not expected.",g(e,r));r=l}e[r]==="<"&&r--}}else{if(e[r]===" "||e[r]===" "||e[r]===`
7
7
  `||e[r]==="\r")continue;return f("InvalidChar","char '"+e[r]+"' is not expected.",g(e,r))}if(n){if(s.length==1)return f("InvalidTag","Unclosed tag '"+s[0].tagName+"'.",g(e,s[0].tagStartPos));if(s.length>0)return f("InvalidXml","Invalid '"+JSON.stringify(s.map(r=>r.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return f("InvalidXml","Start tag expected.",1);return!0};function G(e,t){let s=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){let n=e.substr(s,t-s);if(t>5&&n==="xml")return f("InvalidXml","XML declaration allowed only at the start of the document.",g(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function H(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let s=1;for(t+=8;t<e.length;t++)if(e[t]==="<")s++;else if(e[t]===">"&&(s--,s===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}var Be='"',Se="'";function xe(e,t){let s="",n="",i=!1;for(;t<e.length;t++){if(e[t]===Be||e[t]===Se)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){i=!0;break}s+=e[t]}return n!==""?!1:{value:s,index:t,tagClosed:i}}var Je=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function j(e,t){let s=M.getAllMatches(e,Je),n={};for(let i=0;i<s.length;i++){if(s[i][1].length===0)return f("InvalidAttr","Attribute '"+s[i][2]+"' has no space in starting.",F(s[i]));if(s[i][3]===void 0&&!t.allowBooleanAttributes)return f("InvalidAttr","boolean attribute '"+s[i][2]+"' is not allowed.",F(s[i]));let r=s[i][2];if(!Ze(r))return f("InvalidAttr","Attribute '"+r+"' is an invalid name.",F(s[i]));if(!n.hasOwnProperty(r))n[r]=1;else return f("InvalidAttr","Attribute '"+r+"' is repeated.",F(s[i]))}return!0}function Re(e,t){let s=/\d/;for(e[t]==="x"&&(t++,s=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(s))break}return-1}function Le(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,Re(e,t);let s=0;for(;t<e.length;t++,s++)if(!(e[t].match(/\w/)&&s<20)){if(e[t]===";")break;return-1}return t}function f(e,t,s){return{err:{code:e,msg:t,line:s.line||s,col:s.col}}}function Ze(e){return M.isName(e)}function $e(e){return M.isName(e)}function g(e,t){let s=e.substring(0,t).split(/\r?\n/);return{line:s.length,col:s[s.length-1].length+1}}function F(e){return e.startIndex+e[1].length}});var se=C(ne=>{"use strict";var y=function(e){return String.fromCharCode(e)},c={nilChar:y(176),missingChar:y(201),nilPremitive:y(175),missingPremitive:y(200),emptyChar:y(178),emptyValue:y(177),boundryChar:y(179),objStart:y(198),arrStart:y(204),arrayEnd:y(185)},Xe=[c.nilChar,c.nilPremitive,c.missingChar,c.missingPremitive,c.boundryChar,c.emptyChar,c.emptyValue,c.arrayEnd,c.objStart,c.arrStart],I=function(e,t,s){if(typeof t=="string")return e&&e[0]&&e[0].val!==void 0?B(e[0].val,t):B(e,t);{let n=Qe(e);if(n===!0){let i="";if(Array.isArray(t)){i+=c.arrStart;let r=t[0],u=e.length;if(typeof r=="string")for(let a=0;a<u;a++){let o=B(e[a].val,r);i=S(i,o)}else for(let a=0;a<u;a++){let o=I(e[a],r,s);i=S(i,o)}i+=c.arrayEnd}else{i+=c.objStart;let r=Object.keys(t);Array.isArray(e)&&(e=e[0]);for(let u in r){let a=r[u],o;!s.ignoreAttributes&&e.attrsMap&&e.attrsMap[a]?o=I(e.attrsMap[a],t[a],s):a===s.textNodeName?o=I(e.val,t[a],s):o=I(e.child[a],t[a],s),i=S(i,o)}}return i}else return n}},B=function(e){switch(e){case void 0:return c.missingPremitive;case null:return c.nilPremitive;case"":return c.emptyValue;default:return e}},S=function(e,t){return!te(t[0])&&!te(e[e.length-1])&&(e+=c.boundryChar),e+t},te=function(e){return Xe.indexOf(e)!==-1};function Qe(e){return e===void 0?c.missingChar:e===null?c.nilChar:e.child&&Object.keys(e.child).length===0&&(!e.attrsMap||Object.keys(e.attrsMap).length===0)?c.emptyChar:!0}var re=E(),Ye=T().buildOptions,ze=function(e,t,s){return s=Ye(s,re.defaultOptions,re.props),I(e,t,s)};ne.convert2nimn=ze});var ae=C(oe=>{"use strict";var k=T(),Ke=T().buildOptions,ie=E(),Ue=function(e,t){return t=Ke(t,ie.defaultOptions,ie.props),t.indentBy=t.indentBy||"",x(e,t,0)},x=function(e,t,s){let n="{",i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n+='"'+u+'" : [ ';for(let a in e.child[u])n+=x(e.child[u][a],t)+" , ";n=n.substr(0,n.length-1)+" ] "}else n+='"'+u+'" : '+x(e.child[u][0],t)+" ,"}return k.merge(n,e.attrsMap),k.isEmptyObject(n)?k.isExist(e.val)?e.val:"":(k.isExist(e.val)&&(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar)||(n+='"'+t.textNodeName+'" : '+We(e.val))),n[n.length-1]===","&&(n=n.substr(0,n.length-2)),n+"}")};function We(e){return e===!0||e===!1||!isNaN(e)?e:'"'+e+'"'}oe.convertToJsonString=Ue});var fe=C((bt,ce)=>{"use strict";var _e=T().buildOptions,Ge={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},He=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function J(e){this.options=_e(e,Ge,He),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=st),this.options.cdataTagName?this.isCDATA=it:this.isCDATA=function(){return!1},this.replaceCDATAstr=De,this.replaceCDATAarr=et,this.processTextOrObjNode=je,this.options.format?(this.indentate=nt,this.tagEndChar=`>
@@ -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.20251001.1 */
4
- import{a as x}from"./DWJ66BPI.js";import{a as b}from"./ER5T5IBK.js";import{c as _}from"./U4ZMYHFB.js";import{b as w}from"./XRRMKBZC.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{C as u,D as g,E as f,G as o,h as m,i as s,l as h}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var d={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},z=new Map;Object.keys(d).forEach(r=>{z.set(r,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${d[r].fill}"><path d="${d[r].path}"/></svg>`)});function c(r){return z.get(r)||""}var V=m`:host{display:block;--instant-apps-create-action-background: var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-create-action-background-press: var(--calcite-color-foreground-3);--instant-apps-create-action-height: 100%;--instant-apps-create-action-width: fit-content;--instant-apps-create-action-icon-color: var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-create-background: var(--calcite-color-foreground-1);--instant-apps-create-text-color: var(--calcite-color-text-1);--instant-apps-create-popover-width: 450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1: var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1: var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 .5rem;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:.5rem;cursor:pointer;--calcite-color-text-link: var(--calcite-color-text-1);align-items:stretch;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.instant-apps-create__option:first-of-type{margin-top:.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:.75rem;color:var(--calcite-color-text-2);padding:.75rem 0 0 .75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:.25rem;color:#7e7e7e;--tw-translate-x: 0px;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:.15s;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}`,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",header:"instant-apps-create__header",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle"},v=class extends f{constructor(){super(...arguments),this._messages=b({name:"instant-apps-create",blocking:!0}),this.popoverEl=u(),this.baseClass=i.baseLight,this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"]}static{this.properties={baseClass:16,popoverIcon:1,mode:3,popoverPositioning:1,popoverPlacement:1,showHeader:5,content:0,options:0,portal:0}}static{this.styles=V}async load(){this.baseClass=x(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),this.initializePredefinedOptions()}willUpdate(t){t.has("content")&&this._createOptionsLookup&&Object.keys(this._createOptionsLookup).forEach(e=>{this._createOptionsLookup[e].href=this.hrefLookup(e)})}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initializeModules(){this.handles=await _()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:a,mapViewerDesc:n,arcgisStoryMaps:p,storyMapsDesc:l,experienceBuilder:A,experienceBuilderDesc:$,dashboards:y,dashboardsDesc:k}=this._messages;this._createOptionsLookup={"instant-apps":{title:t,subtitle:e,img:c("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:a,subtitle:n,img:c("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:p,subtitle:l,img:c("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:A,subtitle:$,img:c("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:y,subtitle:k,img:c("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),a=this._getEnvironment(e),n=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${n}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${n}`;case"story-maps":return`https://storymaps${a==="prod"?"":a}.arcgis.com/stories/new?${n}`;case"experience-builder":return`https://experience${a==="prod"?"":a}.arcgis.com/builder/page/template/?${n}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:a,urlKey:n}=t,{protocol:p}=window.location,l=n?`${n}.${e}`:a;return`${p}//${l}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return s`<div class=${o(this.baseClass)}>${t}</div>`}renderPopover(){let t=this.renderPanel();return[s`<calcite-popover reference-element=create-popover-btn .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close .label=${this._messages.createLabel} ${g(this.popoverEl)}>${t}</calcite-popover>`,s`<calcite-action id=create-popover-btn alignment=center .icon=${this.popoverIcon} title=${this._messages.create??h} .text=${this._messages.create}></calcite-action>`]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderPanelOptions(),a=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return s`<div class=${o(a)}>${t}${e}</div>`}renderHeader(){return s`<div class=${o(i.header)}><h3>${this._messages.create}</h3><p>${this._messages.createSubheading}</p></div>`}renderPanelOptions(){return s`<nav>${this.options.map(t=>this.renderOption(t))}</nav>`}renderOption(t){if(typeof t=="string"&&(t=this._createOptionsLookup?.[t]),t==null)return s`<div></div>`;let{title:e,subtitle:a,img:n,href:p}=t;return s`<a class=${o(i.option)} href=${p??h} target=_blank>${s`<span class=${o(i.optionIcon)} .innerHTML=${n??""}></span><span class=${o(i.optionText)}><span class=${o(i.optionTextWrapper)}><h3 class=${o(i.optionTitle)}>${e}</h3><calcite-icon scale=s icon=launch></calcite-icon></span><p class=${o(i.optionSubtitle)}>${a}</p></span>`}</a>`}};w("instant-apps-create",v);export{v as InstantAppsCreate};
3
+ v1.1.0-next.20251003 */
4
+ import{a as x}from"./UXHFA7TQ.js";import{a as b}from"./WTTVUTLF.js";import{c as _}from"./WGAW32YJ.js";import{b as w}from"./G5QG243B.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{C as u,D as g,E as f,G as o,h as m,i as s,l as h}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var d={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},z=new Map;Object.keys(d).forEach(r=>{z.set(r,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${d[r].fill}"><path d="${d[r].path}"/></svg>`)});function c(r){return z.get(r)||""}var V=m`:host{display:block;--instant-apps-create-action-background: var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-create-action-background-press: var(--calcite-color-foreground-3);--instant-apps-create-action-height: 100%;--instant-apps-create-action-width: fit-content;--instant-apps-create-action-icon-color: var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-create-background: var(--calcite-color-foreground-1);--instant-apps-create-text-color: var(--calcite-color-text-1);--instant-apps-create-popover-width: 450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1: var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1: var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 .5rem;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:.5rem;cursor:pointer;--calcite-color-text-link: var(--calcite-color-text-1);align-items:stretch;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.instant-apps-create__option:first-of-type{margin-top:.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:.75rem;color:var(--calcite-color-text-2);padding:.75rem 0 0 .75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:.25rem;color:#7e7e7e;--tw-translate-x: 0px;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:.15s;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}`,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",header:"instant-apps-create__header",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle"},v=class extends f{constructor(){super(...arguments),this._messages=b({name:"instant-apps-create",blocking:!0}),this.popoverEl=u(),this.baseClass=i.baseLight,this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"]}static{this.properties={baseClass:16,popoverIcon:1,mode:3,popoverPositioning:1,popoverPlacement:1,showHeader:5,content:0,options:0,portal:0}}static{this.styles=V}async load(){this.baseClass=x(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),this.initializePredefinedOptions()}willUpdate(t){t.has("content")&&this._createOptionsLookup&&Object.keys(this._createOptionsLookup).forEach(e=>{this._createOptionsLookup[e].href=this.hrefLookup(e)})}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initializeModules(){this.handles=await _()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:a,mapViewerDesc:n,arcgisStoryMaps:p,storyMapsDesc:l,experienceBuilder:A,experienceBuilderDesc:$,dashboards:y,dashboardsDesc:k}=this._messages;this._createOptionsLookup={"instant-apps":{title:t,subtitle:e,img:c("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:a,subtitle:n,img:c("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:p,subtitle:l,img:c("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:A,subtitle:$,img:c("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:y,subtitle:k,img:c("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),a=this._getEnvironment(e),n=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${n}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${n}`;case"story-maps":return`https://storymaps${a==="prod"?"":a}.arcgis.com/stories/new?${n}`;case"experience-builder":return`https://experience${a==="prod"?"":a}.arcgis.com/builder/page/template/?${n}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:a,urlKey:n}=t,{protocol:p}=window.location,l=n?`${n}.${e}`:a;return`${p}//${l}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return s`<div class=${o(this.baseClass)}>${t}</div>`}renderPopover(){let t=this.renderPanel();return[s`<calcite-popover reference-element=create-popover-btn .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close .label=${this._messages.createLabel} ${g(this.popoverEl)}>${t}</calcite-popover>`,s`<calcite-action id=create-popover-btn alignment=center .icon=${this.popoverIcon} title=${this._messages.create??h} .text=${this._messages.create}></calcite-action>`]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderPanelOptions(),a=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return s`<div class=${o(a)}>${t}${e}</div>`}renderHeader(){return s`<div class=${o(i.header)}><h3>${this._messages.create}</h3><p>${this._messages.createSubheading}</p></div>`}renderPanelOptions(){return s`<nav>${this.options.map(t=>this.renderOption(t))}</nav>`}renderOption(t){if(typeof t=="string"&&(t=this._createOptionsLookup?.[t]),t==null)return s`<div></div>`;let{title:e,subtitle:a,img:n,href:p}=t;return s`<a class=${o(i.option)} href=${p??h} target=_blank>${s`<span class=${o(i.optionIcon)} .innerHTML=${n??""}></span><span class=${o(i.optionText)}><span class=${o(i.optionTextWrapper)}><h3 class=${o(i.optionTitle)}>${e}</h3><calcite-icon scale=s icon=launch></calcite-icon></span><p class=${o(i.optionSubtitle)}>${a}</p></span>`}</a>`}};w("instant-apps-create",v);export{v as InstantAppsCreate};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20251003 */
4
+ import{b as y}from"./MIBJXLGF.js";import{b as g,c as b}from"./H36WONTX.js";import{b as n}from"./UZ3FNZON.js";import"./HW3AZE43.js";import{a as f}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as u}from"./VSD3M6NN.js";import{C as l,D as s,E as p,G as h,H as a,I as r,h as d,i,o}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var m=d`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */calcite-shell-panel{z-index:1}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}`,c=class extends p{constructor(){super(...arguments),this.solutionsCount=0,this.sortType="created",this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=f({name:"solutions-deployed-shell",blocking:!0}),this._authContextConsumer=n({context:b,subscribe:!0}),this._isMobileContextConsumer=n({context:g,subscribe:!0,callback:e=>this.isMobile=e}),this._isOrgAdmin=!1,this._solutionsDeployedFilterPanel=l(),this._solutionsDeployedPanelRef=l(),this.filterRemoved=o(),this.sortTypeChanged=o(),this.tokenRefreshed=o()}static{this.properties={appConfig:1,solutionsCount:9,sortType:1,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=m}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this.sortType=e.sortType||this.sortType,this._solutionsDeployedPanelRef.value?.setSearchOptions(e),"owner"in e){let t=e.owner==="organization";this._solutionsDeployedFilterPanel.value.changeOwnerFilter(!t,!0)}else("sortType"in e||"searchTerm"in e)&&this._solutionsDeployedPanelRef.value?.searchSolutions(e)}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value),this._isOrgAdmin=y(this._authContextConsumer.value)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative"><calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??r} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="border-override header-override background-override z-index-1"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override flex-grow" layout=inline>${this.isMobile?"":this._getFilterPanel()}</calcite-label><calcite-label class="label-override flex-shrink-0" layout=inline>${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label></div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return i`<calcite-panel class=${h(this.filterOpen?"background-override":"filter background-override")} id=solutions-all-shell-panel-start style=${a(e)}><solutions-deployed-filter-panel class="height-100 flex-1" .isMobile=${this.isMobile} .isOrgAdmin=${this._isOrgAdmin} @applyFilter=${this._filterApplied} ${s(this._solutionsDeployedFilterPanel)}></solutions-deployed-filter-panel></calcite-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-deployed-panel .agoSolutionsGroupId=${this.appConfig.primarySolutionsGroupId} .diagramKey=${this.appConfig.diagramKey??""} .enterpriseSolutionsGroupId=${this.appConfig.agoBasedEnterpriseSolutionsGroupId} .locale=${this.appConfig.locale||"en"} .orgUrl=${this.appConfig.portalURL} @deployedCardsFetched=${this._updateSolutionCount} @deployedSearchTermSet=${t=>this._solutionsDeployedFilterPanel.value.changeSearchFilter(t.detail,!1)} .portalUrl=${this.appConfig.portalURL} .sortType=${this.sortType} style=${a(e)} ${s(this._solutionsDeployedPanelRef)}></solutions-deployed-panel>`}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByDateDeployed,sortType:"created"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??r}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"created":t=this._translations.sortByDateDeployed;break;case"relevance":t=this._translations.sortByRelevance;break;case"title":t=this._translations.sortByTitle;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this.sortTypeChanged.emit(this.sortType),this._solutionsDeployedPanelRef.value?.searchSolutions({sortType:e})}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&"type"in e.detail&&e.detail.type==="industry"&&(this.filters=this.filters.filter(t=>t.type!=="industry"),this.filters.push(e.detail)),this._solutionsDeployedPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._solutionsDeployedPanelRef.value?.searchSolutions())}};u("solutions-deployed-shell",c);export{c as SolutionsDeployedShell};
@@ -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.20251001.1 */
4
- import"./TJBFLJQE.js";var e="K proveden\xED t\xE9to operace nem\xE1te dostatek kredit\u016F. Po\u017E\xE1dejte o pomoc spr\xE1vce syst\xE9mu ArcGIS.",o="Tento n\xE1stroj byl publikov\xE1n z notebooku. P\u0159\xEDstup k ArcGIS Notebooks je pro va\u0161i organizaci zablokov\xE1n. Pro \xFApravu nastaven\xED se obra\u0165te na spr\xE1vce.",a="${ dataPath } nesm\xED obsahovat ${ additionalProperty }.",t="${ dataPath } se mus\xED shodovat s\xA0jedn\xEDm z\xA0t\u011Bchto sch\xE9mat: ${ schemaOptions }.",r="Zkuste mapu znovu ulo\u017Eit.",s="Odhad kredit\u016F se nezda\u0159il. P\u0159ejd\u011Bte dol\u016F, opravte chyby a znovu odhadn\u011Bte kredity.",n="P\u0159i prov\xE1d\u011Bn\xED anal\xFDzy do\u0161lo k chyb\u011B.",i="${ dataPath } se mus\xED rovnat jedn\xE9 z\xA0t\u011Bchto povolen\xFDch hodnot: ${ allowedValues }.",l="Nepoda\u0159ilo se ulo\u017Eit historii anal\xFDzy",d="\xDAlo\u017Ei\u0161t\u011B historie je pln\xE9. Odstra\u0148te n\u011Bkter\xE9 polo\u017Eky z\xA0historie anal\xFDzy a\xA0zkuste ulo\u017Een\xED zopakovat.",v="N\xE1zev slu\u017Eby obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F.",u="Ukl\xE1d\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy prvk\u016F nebylo dokon\u010Deno.",p="Nepoda\u0159ilo se z\xEDskat vlastnosti kl\xED\u010De.",c="Vrstvu se nepoda\u0159ilo na\u010D\xEDst.",m="Vrstva nen\xED k dispozici.",k="${ dataPath } nesm\xED obsahovat v\xEDce ne\u017E ${ limit } polo\u017Eek.",h="P\u0159i ukl\xE1d\xE1n\xED modelu do\u0161lo k chyb\u011B. Zkuste ulo\u017Eit znovu.",y="${ dataPath } nesm\xED obsahovat m\xE9n\u011B ne\u017E ${ limit } polo\u017Eek.",b="${ dataPath } nesm\xED b\xFDt krat\u0161\xED ne\u017E ${ limit } znak\u016F.",z="Nepoda\u0159ilo se na\u010D\xEDst polo\u017Eku modelu. Ujist\u011Bte se, \u017Ee model existuje a\xA0\u017Ee bylo ud\u011Bleno p\u0159\xEDstupov\xE9 opr\xE1vn\u011Bn\xED.",P="Po\u017Eadavek se nepoda\u0159ilo dokon\u010Dit.",j="Ke spu\u0161t\u011Bn\xED tohoto n\xE1stroje nem\xE1te opr\xE1vn\u011Bn\xED. <calcite-link target='_blank' href='${ docLink }'>Dal\u0161\xED informace</calcite-link>",E="Nepoda\u0159ilo se p\u0159ihl\xE1sit k port\xE1lu.",S="Nepoda\u0159ilo se p\u0159e\u010D\xEDst vstupn\xED data.",f="V ${ dataPath } chyb\xED vlastnost s n\xE1zvem ${ missingProperty }.",$="Vrstva v\xFDsledk\u016F s t\xEDmto n\xE1zvem ji\u017E existuje. Vrstvy v\xFDsledk\u016F mus\xED b\xFDt pojmenov\xE1ny jedine\u010Dn\u011B v cel\xE9 organizaci. Pou\u017Eijte jin\xFD n\xE1zev.",N="V\xFDstupn\xED n\xE1zev obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F. <a href='${docLink}' target='_blank'>V\xEDce informac\xED.</a>",F="Publikov\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy se nezda\u0159ilo kv\u016Fli jednomu nebo v\xEDce neplatn\xFDm pol\xEDm. Spus\u0165te n\xE1stroj znovu a\xA0vytvo\u0159te vrstvu s\xA0platn\xFDmi poli.",I="Odesl\xE1n\xED \xFAlohy se nezda\u0159ilo. P\u0159ejd\u011Bte dol\u016F, opravte chyby a\xA0spus\u0165te anal\xFDzu znovu.",V="${ dataPath } mus\xED obsahovat alespo\u0148 jeden znak jin\xFD ne\u017E mezera.",T={InsufficientCreditsError:e,accessBlocked:o,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:n,enumValues:i,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:p,layerLoadFailure:c,layerUnavailable:m,maxItems:k,mbFailedToSave:h,minItems:y,minLength:b,modelNotFound:z,networkError:P,noPermissionToAccessTool:j,portalLoadError:E,queryFeaturesError:S,requiredProperty:f,serviceNameExistsError:$,specialCharactersInServiceNameError:N,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:V};export{e as InsufficientCreditsError,o as accessBlocked,a as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,n as defaultError,i as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,p as keyPropertiesError,c as layerLoadFailure,m as layerUnavailable,k as maxItems,h as mbFailedToSave,y as minItems,b as minLength,z as modelNotFound,P as networkError,j as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,f as requiredProperty,$ as serviceNameExistsError,N as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,V as whiteSpacePattern};
3
+ v1.1.0-next.20251003 */
4
+ import"./BCQ7PB5L.js";var e="K proveden\xED t\xE9to operace nem\xE1te dostatek kredit\u016F. Po\u017E\xE1dejte o pomoc spr\xE1vce syst\xE9mu ArcGIS.",o="Tento n\xE1stroj byl publikov\xE1n z notebooku. P\u0159\xEDstup k ArcGIS Notebooks je pro va\u0161i organizaci zablokov\xE1n. Pro \xFApravu nastaven\xED se obra\u0165te na spr\xE1vce.",a="${ dataPath } nesm\xED obsahovat ${ additionalProperty }.",t="${ dataPath } se mus\xED shodovat s\xA0jedn\xEDm z\xA0t\u011Bchto sch\xE9mat: ${ schemaOptions }.",r="Zkuste mapu znovu ulo\u017Eit.",s="Odhad kredit\u016F se nezda\u0159il. P\u0159ejd\u011Bte dol\u016F, opravte chyby a znovu odhadn\u011Bte kredity.",n="P\u0159i prov\xE1d\u011Bn\xED anal\xFDzy do\u0161lo k chyb\u011B.",i="${ dataPath } se mus\xED rovnat jedn\xE9 z\xA0t\u011Bchto povolen\xFDch hodnot: ${ allowedValues }.",l="Nepoda\u0159ilo se ulo\u017Eit historii anal\xFDzy",d="\xDAlo\u017Ei\u0161t\u011B historie je pln\xE9. Odstra\u0148te n\u011Bkter\xE9 polo\u017Eky z\xA0historie anal\xFDzy a\xA0zkuste ulo\u017Een\xED zopakovat.",v="N\xE1zev slu\u017Eby obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F.",u="Ukl\xE1d\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy prvk\u016F nebylo dokon\u010Deno.",p="Nepoda\u0159ilo se z\xEDskat vlastnosti kl\xED\u010De.",c="Vrstvu se nepoda\u0159ilo na\u010D\xEDst.",m="Vrstva nen\xED k dispozici.",k="${ dataPath } nesm\xED obsahovat v\xEDce ne\u017E ${ limit } polo\u017Eek.",h="P\u0159i ukl\xE1d\xE1n\xED modelu do\u0161lo k chyb\u011B. Zkuste ulo\u017Eit znovu.",y="${ dataPath } nesm\xED obsahovat m\xE9n\u011B ne\u017E ${ limit } polo\u017Eek.",b="${ dataPath } nesm\xED b\xFDt krat\u0161\xED ne\u017E ${ limit } znak\u016F.",z="Nepoda\u0159ilo se na\u010D\xEDst polo\u017Eku modelu. Ujist\u011Bte se, \u017Ee model existuje a\xA0\u017Ee bylo ud\u011Bleno p\u0159\xEDstupov\xE9 opr\xE1vn\u011Bn\xED.",P="Po\u017Eadavek se nepoda\u0159ilo dokon\u010Dit.",j="Ke spu\u0161t\u011Bn\xED tohoto n\xE1stroje nem\xE1te opr\xE1vn\u011Bn\xED. <calcite-link target='_blank' href='${ docLink }'>Dal\u0161\xED informace</calcite-link>",E="Nepoda\u0159ilo se p\u0159ihl\xE1sit k port\xE1lu.",S="Nepoda\u0159ilo se p\u0159e\u010D\xEDst vstupn\xED data.",f="V ${ dataPath } chyb\xED vlastnost s n\xE1zvem ${ missingProperty }.",$="Vrstva v\xFDsledk\u016F s t\xEDmto n\xE1zvem ji\u017E existuje. Vrstvy v\xFDsledk\u016F mus\xED b\xFDt pojmenov\xE1ny jedine\u010Dn\u011B v cel\xE9 organizaci. Pou\u017Eijte jin\xFD n\xE1zev.",N="V\xFDstupn\xED n\xE1zev obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F. <a href='${docLink}' target='_blank'>V\xEDce informac\xED.</a>",F="Publikov\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy se nezda\u0159ilo kv\u016Fli jednomu nebo v\xEDce neplatn\xFDm pol\xEDm. Spus\u0165te n\xE1stroj znovu a\xA0vytvo\u0159te vrstvu s\xA0platn\xFDmi poli.",I="Odesl\xE1n\xED \xFAlohy se nezda\u0159ilo. P\u0159ejd\u011Bte dol\u016F, opravte chyby a\xA0spus\u0165te anal\xFDzu znovu.",V="${ dataPath } mus\xED obsahovat alespo\u0148 jeden znak jin\xFD ne\u017E mezera.",T={InsufficientCreditsError:e,accessBlocked:o,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:n,enumValues:i,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:p,layerLoadFailure:c,layerUnavailable:m,maxItems:k,mbFailedToSave:h,minItems:y,minLength:b,modelNotFound:z,networkError:P,noPermissionToAccessTool:j,portalLoadError:E,queryFeaturesError:S,requiredProperty:f,serviceNameExistsError:$,specialCharactersInServiceNameError:N,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:V};export{e as InsufficientCreditsError,o as accessBlocked,a as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,n as defaultError,i as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,p as keyPropertiesError,c as layerLoadFailure,m as layerUnavailable,k as maxItems,h as mbFailedToSave,y as minItems,b as minLength,z as modelNotFound,P as networkError,j as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,f as requiredProperty,$ as serviceNameExistsError,N as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,V 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.20251001.1 */
4
- import{a as r,b as s,c as a,d as n}from"./NJ5MKRTM.js";import{a as i}from"./J24EZC35.js";import{b as t}from"./CSL3GOVE.js";import{c as e}from"./44YJQ3Z7.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,b};
3
+ v1.1.0-next.20251003 */
4
+ import{a as r,b as s,c as a,d as n}from"./CQK3BMBI.js";import{a as i}from"./CRSVD2NX.js";import{b as t}from"./O73TK37S.js";import{c as e}from"./6SJN3RI6.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{d as w,e as L}from"./RY2EWQB3.js";import"./IX57U3VX.js";import"./T4VXASQ3.js";import{b}from"./QO3MRL5D.js";import{a as V}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as v}from"./R4UPDI2V.js";import{C as c,D as p,E as M,G as m,h as y,i as l,o as h,r as f}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var S=y`@layer{/** @license
3
+ v1.1.0-next.20251003 */
4
+ import{d as w,e as L}from"./YLQDUOIF.js";import"./HW3AZE43.js";import"./TFM3Q342.js";import{b}from"./3OY3YMT5.js";import{a as V}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as v}from"./VSD3M6NN.js";import{C as c,D as p,E as M,G as m,h as y,i as l,o as h,r as f}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var S=y`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{b as A}from"./RZRMSPUG.js";import"./F3ZUI5T7.js";import"./2JLIDK4F.js";import"./TPTWXLY5.js";import"./J232BJHR.js";import"./JBWJKX6R.js";import"./AADAYMT6.js";import"./AL7BYUFL.js";import"./VLEMGKLD.js";import"./KWDBAHJD.js";import"./RAMU6EDK.js";import"./QMKOWA5L.js";import"./OW2VVRPH.js";import"./WO7RS6VM.js";import"./Z6B3WHSU.js";import"./MOHNOCW5.js";import"./I77ESG6W.js";import"./GGNR6VWM.js";import"./VGQMQMW2.js";import"./I57F65R3.js";import"./FBWQBY27.js";import"./3Y3QLPOF.js";import{a as C}from"./GVL6QMUW.js";import"./QUAPDTN4.js";import"./XRRMKBZC.js";import{c as F,d as O,j as m}from"./RY2EWQB3.js";import{j as b}from"./IX57U3VX.js";import{c as S}from"./T4VXASQ3.js";import{b as E}from"./QO3MRL5D.js";import{a as x}from"./YU2HWCG6.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{b as v}from"./R4UPDI2V.js";import{C as u,D as g,E as T,G as f,h as w,i as o,l as c,o as p,r as I}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var H=w`@layer{/** @license
3
+ v1.1.0-next.20251003 */
4
+ import{b as A}from"./BUK3AXVT.js";import"./LYQ3KTGD.js";import"./DSQLWDME.js";import"./3I72PCEP.js";import"./7RLPE2LE.js";import"./JMQYSN2U.js";import"./NEWVUWSK.js";import"./E6F3Q2WH.js";import"./QD45UNRU.js";import"./Z2B6IWJT.js";import"./K7E3FYY7.js";import"./ZQCWMQNP.js";import"./N2UEZKKT.js";import"./YETXYXLA.js";import"./JAPLJADD.js";import"./NVNJVDKY.js";import"./R2BTBE5Y.js";import"./PDSJLVCU.js";import"./REIIATFT.js";import"./M3WLEKZY.js";import"./4PSBLA5A.js";import"./YNBOJIO2.js";import{a as C}from"./E55QEAZU.js";import"./4SVJQ4LX.js";import"./G5QG243B.js";import{c as F,d as O,j as m}from"./YLQDUOIF.js";import{j as b}from"./HW3AZE43.js";import{c as S}from"./TFM3Q342.js";import{b as E}from"./3OY3YMT5.js";import{a as x}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as v}from"./VSD3M6NN.js";import{C as u,D as g,E as T,G as f,h as w,i as o,l as c,o as p,r as I}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var H=w`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251001.1 */
4
- import{a as f}from"./5KJ43LT2.js";import{a as D}from"./DWJ66BPI.js";import{a as L}from"./ER5T5IBK.js";import{B as S,C as I}from"./U4ZMYHFB.js";import{b as k}from"./XRRMKBZC.js";import"./2K3QGCHY.js";import"./P735ARVZ.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as m,o as E}from"./KSRDVGLI.js";import"./TJBFLJQE.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(h){return h.replaceAll("'","''")}function y(h,e=!1){if(h){let t=new Date(h),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(h){if(h!=null){h.value=["",""];let e=h.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`: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__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;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}`,d={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",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,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=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.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(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.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=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.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[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}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 e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.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?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);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(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.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(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,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(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,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)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.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),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,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(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),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(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;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(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),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`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;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??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(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(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .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=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 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,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??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,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
3
+ v1.1.0-next.20251003 */
4
+ import{a as f}from"./QXJZIFME.js";import{a as D}from"./UXHFA7TQ.js";import{a as L}from"./WTTVUTLF.js";import{B as S,C as I}from"./WGAW32YJ.js";import{b as k}from"./G5QG243B.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as m,o as E}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(h){return h.replaceAll("'","''")}function y(h,e=!1){if(h){let t=new Date(h),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(h){if(h!=null){h.value=["",""];let e=h.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`: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__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;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}`,d={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",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,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=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.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(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.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=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.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[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}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 e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.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?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);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(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.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(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,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(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,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)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.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),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,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(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),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(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;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(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),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`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;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??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(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(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .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=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 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,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??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,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};