@esri/solutions-components 1.1.0-next.20250812 → 1.1.0-next.20250814

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 (631) hide show
  1. package/dist/cdn/{IOZP453D.js → 233SOP2X.js} +2 -2
  2. package/dist/cdn/{XRX2HXXR.js → 2A5LFLWY.js} +2 -2
  3. package/dist/cdn/{JLQSRAJA.js → 2FHWNASZ.js} +2 -2
  4. package/dist/cdn/2MSRG3L3.js +4 -0
  5. package/dist/cdn/{F5TW6HEN.js → 2PQMOYN2.js} +1 -1
  6. package/dist/cdn/{7EDFUMWK.js → 2R2NLVG4.js} +2 -2
  7. package/dist/cdn/{AGAYVTUV.js → 2SMJNHDA.js} +2 -2
  8. package/dist/cdn/{BGOOKLPG.js → 34PHRONA.js} +2 -2
  9. package/dist/cdn/{TLR6GDUP.js → 36YENHNO.js} +2 -2
  10. package/dist/cdn/{2IO3QS6R.js → 37NCXJQ7.js} +2 -2
  11. package/dist/cdn/{RVT3UAUI.js → 3ACOUZ2J.js} +2 -2
  12. package/dist/cdn/{DBI5MALT.js → 3HY2C477.js} +2 -2
  13. package/dist/cdn/3PKAD5T2.css +1 -0
  14. package/dist/cdn/{NB4YH3JV.js → 3Q7M2PFZ.js} +2 -2
  15. package/dist/cdn/{JX7OUCFF.js → 3VMMC5BJ.js} +2 -2
  16. package/dist/cdn/{ZK4MHDHC.js → 3WGSSTHY.js} +2 -2
  17. package/dist/cdn/3WLB6HQG.js +18 -0
  18. package/dist/cdn/{NS4JA7V7.js → 3ZJXTRS3.js} +2 -2
  19. package/dist/cdn/{BTKBHKQO.js → 42LO4TCV.js} +2 -2
  20. package/dist/cdn/{BPDYH25K.js → 4CBNOR6N.js} +2 -2
  21. package/dist/cdn/{V4P44XCJ.js → 4D2YRN2T.js} +2 -2
  22. package/dist/cdn/{DYYDQJ3C.js → 4DGE5KUI.js} +2 -2
  23. package/dist/cdn/{CGQI4TYR.js → 4DTTBSJJ.js} +2 -2
  24. package/dist/cdn/{MWH2EIKG.js → 4GD36GY6.js} +2 -2
  25. package/dist/cdn/{IQJONGSP.js → 4GLART42.js} +2 -2
  26. package/dist/cdn/{EQF7354P.js → 4IOF3RZQ.js} +2 -2
  27. package/dist/cdn/{7KQ2BBGH.js → 4NIDMX33.js} +2 -2
  28. package/dist/cdn/{WZVCVIBP.js → 4Q75WJMW.js} +2 -2
  29. package/dist/cdn/{TP3Q4JTG.js → 4QMK76M4.js} +2 -2
  30. package/dist/cdn/{ZTW7APB3.js → 4S3PKQJ4.js} +2 -2
  31. package/dist/cdn/{OCAI32J3.js → 4S3SCEG2.js} +2 -2
  32. package/dist/cdn/4VDUJIVA.js +4 -0
  33. package/dist/cdn/{37RUKMXJ.js → 5DHG3XZC.js} +2 -2
  34. package/dist/cdn/{WYZ7SQQN.js → 5FTEBTMX.js} +2 -2
  35. package/dist/cdn/{FBYQBRBZ.js → 5GN3UTVY.js} +2 -2
  36. package/dist/cdn/{UWRGESW6.js → 5M64RMWJ.js} +2 -2
  37. package/dist/cdn/{GXHWOEWG.js → 5Z3UBSQA.js} +2 -2
  38. package/dist/cdn/{USBUOYSE.js → 65KMHURS.js} +1 -1
  39. package/dist/cdn/{3O7U5WLR.js → 67UNP3O6.js} +2 -2
  40. package/dist/cdn/{PJZTESVI.js → 6B6YSA5T.js} +2 -2
  41. package/dist/cdn/{34UNGHTX.js → 6CE3P6MK.js} +2 -2
  42. package/dist/cdn/{Q7YYCBYQ.js → 6DEQD5XS.js} +2 -2
  43. package/dist/cdn/{7NNOBYSQ.js → 6GBJRGMX.js} +2 -2
  44. package/dist/cdn/{NACVBQNC.js → 6UNISOCW.js} +1 -1
  45. package/dist/cdn/{SV2EP4JK.js → 6V7OF3L5.js} +2 -2
  46. package/dist/cdn/{ECDV3RJN.js → 6VUW2EIQ.js} +2 -2
  47. package/dist/cdn/{PWGBFNR2.js → 6VYIML44.js} +2 -2
  48. package/dist/cdn/{BYKFCMXP.js → 6WWRM5A2.js} +2 -2
  49. package/dist/cdn/{EUSLG7J4.js → 6X64VRXD.js} +1 -1
  50. package/dist/cdn/{DEYWCDYE.js → 6XZKH4OE.js} +1 -1
  51. package/dist/cdn/{LLOZFHAC.js → 7APIJZQK.js} +2 -2
  52. package/dist/cdn/{VN3B4LBI.js → 7BFAL4UH.js} +2 -2
  53. package/dist/cdn/{4XQIRZLX.js → 7CUVYKXM.js} +2 -2
  54. package/dist/cdn/{YETOFDZ6.js → 7EK6RHGO.js} +2 -2
  55. package/dist/cdn/{HRS2ULJX.js → 7HH4LEDN.js} +2 -2
  56. package/dist/cdn/{FYH6THZZ.js → 7KV5JEFS.js} +2 -2
  57. package/dist/cdn/{YFTHYPT3.js → 7TIDDZ6R.js} +2 -2
  58. package/dist/cdn/{PUM7WU5Q.js → 7TLQLS4B.js} +2 -2
  59. package/dist/cdn/{NPE5VGIJ.js → 7WZ4WODT.js} +1 -1
  60. package/dist/cdn/{TS5QLE3W.js → A5ANEUPM.js} +2 -2
  61. package/dist/cdn/{K5AQ47LY.js → A6COROCR.js} +2 -2
  62. package/dist/cdn/{YGKFRUZE.js → AA7WFQB6.js} +1 -1
  63. package/dist/cdn/{PTSO747J.js → ABJR44TO.js} +2 -2
  64. package/dist/cdn/{XQP3EVFG.js → ACFG5TV4.js} +2 -2
  65. package/dist/cdn/{32SEVXRM.js → AFVKAHAM.js} +1 -1
  66. package/dist/cdn/{C4OQIYFQ.js → AOCRZJFL.js} +2 -2
  67. package/dist/cdn/{3GPBADMZ.js → ARCKDH5K.js} +2 -2
  68. package/dist/cdn/{PAUAKCLM.js → ATXNKDGP.js} +2 -2
  69. package/dist/cdn/AZAVNJBN.js +4 -0
  70. package/dist/cdn/{VYCPFHKG.js → B3TFVUQ3.js} +2 -2
  71. package/dist/cdn/{BDUN32OS.js → B45YTTVU.js} +2 -2
  72. package/dist/cdn/{AZH3EEU4.js → BI4XBFSU.js} +2 -2
  73. package/dist/cdn/{HGCM2FE2.js → BIGXMS6J.js} +1 -1
  74. package/dist/cdn/{L3I2MLN4.js → BKWX324H.js} +2 -2
  75. package/dist/cdn/{6IJOFEAH.js → BO3S7FKQ.js} +1 -1
  76. package/dist/cdn/BRPY77VA.js +18 -0
  77. package/dist/cdn/{UT4B76ZF.js → BSSBZ2ER.js} +2 -2
  78. package/dist/cdn/{VVERV2QI.js → BTX6AXUQ.js} +2 -2
  79. package/dist/cdn/{OBWKJWXC.js → BUNVS4W5.js} +2 -2
  80. package/dist/cdn/{OQPHC3L2.js → BY3GJ3CC.js} +2 -2
  81. package/dist/cdn/{FY6AWVVF.js → BYHTYD3Z.js} +2 -2
  82. package/dist/cdn/{3Y7SBEPM.js → C6JV3SFP.js} +2 -2
  83. package/dist/cdn/CFGG33L3.js +4 -0
  84. package/dist/cdn/{QIXFH7VY.js → CFK3L2YF.js} +3 -3
  85. package/dist/cdn/{TSFAXIQQ.js → COA66VSX.js} +2 -2
  86. package/dist/cdn/{AXZ3Q7NZ.js → CQ7LEMHR.js} +2 -2
  87. package/dist/cdn/{ATWKDQMR.js → CRMHAJAF.js} +2 -2
  88. package/dist/cdn/{OUK52IIO.js → CSM3L6AR.js} +2 -2
  89. package/dist/cdn/{EBAIG4UF.js → CT3POA2I.js} +1 -1
  90. package/dist/cdn/{KN2HYDVW.js → CX6UAOFC.js} +2 -2
  91. package/dist/cdn/{SOGF7JLH.js → CZ3BVZWT.js} +1 -1
  92. package/dist/cdn/{3EHO5HEG.js → DA7Z7I7X.js} +2 -2
  93. package/dist/cdn/{5QRNJRKJ.js → DIBEV5G6.js} +2 -2
  94. package/dist/cdn/{7MBIJWN3.js → DPUKESDE.js} +2 -2
  95. package/dist/cdn/{NZYOPIF7.js → DZCVQ56U.js} +2 -2
  96. package/dist/cdn/E4PI56YM.js +25 -0
  97. package/dist/cdn/{5JIEUQRM.js → E7LQ47NZ.js} +2 -2
  98. package/dist/cdn/{OFKLFPJB.js → EAJXKXMD.js} +2 -2
  99. package/dist/cdn/{7DLIAJCU.js → EEGAL5CF.js} +2 -2
  100. package/dist/cdn/{Q7PTMTBS.js → EEV7SOFB.js} +2 -2
  101. package/dist/cdn/{PNVFVVE6.js → EHQ3VXEX.js} +2 -2
  102. package/dist/cdn/{EQWZKX6V.js → EI3UVHVJ.js} +2 -2
  103. package/dist/cdn/{IKJ2MUXC.js → EIUU6LFK.js} +2 -2
  104. package/dist/cdn/{S6RJHHML.js → EJPEGRC5.js} +2 -2
  105. package/dist/cdn/{7VPDZBJR.js → EQDRXUK4.js} +2 -2
  106. package/dist/cdn/{TRZDIDEA.js → EUKNWB5D.js} +2 -2
  107. package/dist/cdn/{RZXR3T2O.js → EY72R2LK.js} +2 -2
  108. package/dist/cdn/{NQ43PDWK.js → F2APN33Z.js} +1 -1
  109. package/dist/cdn/{W23M33N7.js → F5XDXMQW.js} +2 -2
  110. package/dist/cdn/{OM3XGHUN.js → F6J4JHYY.js} +2 -2
  111. package/dist/cdn/{XU6BRRA7.js → FCHZ5RNV.js} +2 -2
  112. package/dist/cdn/{HBONMRUG.js → FCOP3UI6.js} +2 -2
  113. package/dist/cdn/{BVXKRSGL.js → FM7IQX4W.js} +1 -1
  114. package/dist/cdn/{O5MZPOPH.js → FRWXWI2M.js} +2 -2
  115. package/dist/cdn/{GREGLFM2.js → FVTQPVHE.js} +2 -2
  116. package/dist/cdn/{HP6EZ4T6.js → GGOYFIFO.js} +2 -2
  117. package/dist/cdn/{7ZJMMRH4.js → GGVBPUEY.js} +1 -1
  118. package/dist/cdn/{2DLPB4EO.js → GLTMZBZ3.js} +2 -2
  119. package/dist/cdn/{L7USSUAB.js → GNLOPXJZ.js} +2 -2
  120. package/dist/cdn/{6IIIEY74.js → GTKJOQZ5.js} +2 -2
  121. package/dist/cdn/{SVKS7KL3.js → GUHRLDGP.js} +2 -2
  122. package/dist/cdn/{JQLK37UG.js → GULICWSX.js} +2 -2
  123. package/dist/cdn/{MNJN2GFB.js → GWXCOATK.js} +2 -2
  124. package/dist/cdn/{NMZ3OE4M.js → GZ3JCXM2.js} +2 -2
  125. package/dist/cdn/{J3RLAMMG.js → GZ5FYQCV.js} +2 -2
  126. package/dist/cdn/{PIVTTIXY.js → H32TGV2M.js} +2 -2
  127. package/dist/cdn/{AQIJR4XD.js → H36LQ652.js} +2 -2
  128. package/dist/cdn/{2XJYA7PT.js → H74XC2TA.js} +2 -2
  129. package/dist/cdn/{HMNRBKGU.js → H752522M.js} +2 -2
  130. package/dist/cdn/{GNLEYSDW.js → HBXZXBY7.js} +2 -2
  131. package/dist/cdn/{7R37WICF.js → HEJ3YUKD.js} +1 -1
  132. package/dist/cdn/{TDSZPVPL.js → HEWFNI5Z.js} +2 -2
  133. package/dist/cdn/{ZOPYH7VG.js → HFSCAQ24.js} +2 -2
  134. package/dist/cdn/{YYNOCEWC.js → HOP7ALIK.js} +2 -2
  135. package/dist/cdn/HZMBWRXQ.js +8 -0
  136. package/dist/cdn/{L3PM24PZ.js → I264P2LK.js} +3 -3
  137. package/dist/cdn/{GV7IXPU6.js → I34YH2F2.js} +1 -1
  138. package/dist/cdn/{5HZLCNU2.js → I3MPLFSS.js} +2 -2
  139. package/dist/cdn/{ZZWLXC4D.js → I56B5SNN.js} +2 -2
  140. package/dist/cdn/{L3VAHI62.js → I6MRF2RD.js} +2 -2
  141. package/dist/cdn/IC2ZRIYZ.css +1 -0
  142. package/dist/cdn/{JWCO6WYR.js → IIVGSCZM.js} +2 -2
  143. package/dist/cdn/{CQY3643E.js → IK7F27QS.js} +2 -2
  144. package/dist/cdn/{XHQSKNX6.js → ILAB777S.js} +2 -2
  145. package/dist/cdn/{ZRAWON53.js → INFEDXBU.js} +2 -2
  146. package/dist/cdn/{BMVUDTTY.js → IOFVYSAR.js} +2 -2
  147. package/dist/cdn/{BADS5XZD.js → J7QYWG2V.js} +2 -2
  148. package/dist/cdn/{HW3PYGRO.js → JANO2YZL.js} +2 -2
  149. package/dist/cdn/{5HLMGC77.js → JDXO6ZRX.js} +2 -2
  150. package/dist/cdn/{VGRCZ36H.js → JER6JZXQ.js} +1 -1
  151. package/dist/cdn/{WJDR4FIK.js → JKQUT6DG.js} +2 -2
  152. package/dist/cdn/{HV3ZJ75V.js → JSJNYFZJ.js} +2 -2
  153. package/dist/cdn/{Y4PJZPVR.js → JUYDS4OZ.js} +2 -2
  154. package/dist/cdn/{U4BFCSBQ.js → JVW7WLOW.js} +2 -2
  155. package/dist/cdn/{2YT2RFVI.js → JXB5LIL6.js} +2 -2
  156. package/dist/cdn/{ODRWQOSM.js → JXV5EH5F.js} +2 -2
  157. package/dist/cdn/{G3ONBCRX.js → K25ZDV3N.js} +2 -2
  158. package/dist/cdn/{UGHZODS3.js → K4VJ4UUU.js} +2 -2
  159. package/dist/cdn/{Y5ROBTLH.js → K4WXSKEW.js} +2 -2
  160. package/dist/cdn/{2BXUT6DX.js → K6Y7PB4W.js} +1 -1
  161. package/dist/cdn/{MHQCPSLE.js → K74VECE5.js} +2 -2
  162. package/dist/cdn/{ABYLFJWS.js → KCDXKG6S.js} +2 -2
  163. package/dist/cdn/KERNWLMR.js +4 -0
  164. package/dist/cdn/{N2NJILWN.js → KFBZQQQ7.js} +2 -2
  165. package/dist/cdn/{4IJYUSHX.js → KFUZQVRG.js} +2 -2
  166. package/dist/cdn/{ERINYIS2.js → KIM74FS2.js} +2 -2
  167. package/dist/cdn/{LQ43QFI2.js → KIQZ5WQU.js} +2 -2
  168. package/dist/cdn/{HRPINX2P.js → KLSBDOEY.js} +2 -2
  169. package/dist/cdn/{RAZFH54Z.js → KOYHLFAL.js} +2 -2
  170. package/dist/cdn/{GUCZWBGM.js → KSTLAKPR.js} +3 -3
  171. package/dist/cdn/{SPF74Q42.js → KVWD2NCD.js} +1 -1
  172. package/dist/cdn/{NTZWVSZY.js → KXMHMNFG.js} +2 -2
  173. package/dist/cdn/{7Y37SBXY.js → L3BR7QKR.js} +2 -2
  174. package/dist/cdn/{4SGAX2MI.js → L3F7TJ6L.js} +2 -2
  175. package/dist/cdn/{HSNJFDZI.js → L5DUE5CZ.js} +2 -2
  176. package/dist/cdn/{JJM7DPRD.js → LAVEGGCU.js} +2 -2
  177. package/dist/cdn/{TMFTNPLJ.js → LFXV5FIA.js} +2 -2
  178. package/dist/cdn/{PUNA6UWM.js → LMO5IATU.js} +2 -2
  179. package/dist/cdn/{EBYK2JMV.js → LQBQ6ZZ2.js} +2 -2
  180. package/dist/cdn/{MKDZNMY7.js → LRZ2H4VM.js} +2 -2
  181. package/dist/cdn/{P2PRJL62.js → LTF34RHT.js} +4 -4
  182. package/dist/cdn/{NBPBOJ23.js → LTUHFIIV.js} +2 -2
  183. package/dist/cdn/{FFFJSA6E.js → MFUAOGF2.js} +2 -2
  184. package/dist/cdn/{ZZYWNVZZ.js → MGTNVXN6.js} +1 -1
  185. package/dist/cdn/{57B7RYSF.js → MJE3V7QY.js} +2 -2
  186. package/dist/cdn/{SLEI7LYC.js → MMYFF5BN.js} +2 -2
  187. package/dist/cdn/{EMCSETR3.js → MOMQCSIV.js} +2 -2
  188. package/dist/cdn/{2DT63QLW.js → MTK6HSL2.js} +2 -2
  189. package/dist/cdn/{6K4LQMAX.js → MVUCSBRQ.js} +1 -1
  190. package/dist/cdn/MXVIDHVI.js +6 -0
  191. package/dist/cdn/{SUIDIWD6.js → MYD4NK2J.js} +2 -2
  192. package/dist/cdn/MZQU2J2U.js +18 -0
  193. package/dist/cdn/{AXUX37GT.js → N4C5NAQY.js} +1 -1
  194. package/dist/cdn/{BKODTFFO.js → N7LRP7YX.js} +2 -2
  195. package/dist/cdn/{IYGXOL5A.js → NAU5WDAR.js} +2 -2
  196. package/dist/cdn/NDJACPW5.js +18 -0
  197. package/dist/cdn/{IJWZ2QGC.js → NE2OEA2D.js} +2 -2
  198. package/dist/cdn/{PWJSDFB5.js → NIWJURVV.js} +1 -1
  199. package/dist/cdn/{2KL46Q2D.js → NL6JR43M.js} +2 -2
  200. package/dist/cdn/{WX2FTC64.js → NLMLINN5.js} +2 -2
  201. package/dist/cdn/{5PXYAS3B.js → NMWGRUCG.js} +2 -2
  202. package/dist/cdn/NO34SVO5.js +4 -0
  203. package/dist/cdn/{A6JEFTX2.js → NVI5TEOI.js} +2 -2
  204. package/dist/cdn/{LA7NDNWK.js → NYQNROUW.js} +2 -2
  205. package/dist/cdn/{I3OWRWKV.js → O4QMU4K5.js} +2 -2
  206. package/dist/cdn/{LWJFG2TB.js → OBILOKBT.js} +1 -1
  207. package/dist/cdn/{3SQSGBUH.js → OGASMD3V.js} +2 -2
  208. package/dist/cdn/{V4ICHA6X.js → OKPE75LL.js} +2 -2
  209. package/dist/cdn/{32VJQFM7.js → OQLSBZBK.js} +1 -1
  210. package/dist/cdn/{BVCJBJQL.js → OQVRSS4R.js} +2 -2
  211. package/dist/cdn/{ZQ2UYMNA.js → ORKEWGRR.js} +2 -2
  212. package/dist/cdn/PFUYV3G4.js +81 -0
  213. package/dist/cdn/{53LZK2NX.js → PN2RZQ5Z.js} +1 -1
  214. package/dist/cdn/{NY6QTBWO.js → PPS7C4OY.js} +2 -2
  215. package/dist/cdn/{4X7GWY5N.js → Q32XHGZN.js} +2 -2
  216. package/dist/cdn/{YUL3FLGS.js → Q3ISOYAQ.js} +2 -2
  217. package/dist/cdn/Q4BABE57.css +1 -0
  218. package/dist/cdn/QAJ2PAW7.js +4 -0
  219. package/dist/cdn/{M344WSRV.js → QBC5SBBE.js} +1 -1
  220. package/dist/cdn/{STV67PIO.js → QCHFRVHM.js} +2 -2
  221. package/dist/cdn/{SPFFRGBK.js → QMB4QM6Y.js} +1 -1
  222. package/dist/cdn/{LFJA4ZL7.js → QQ4UOWYP.js} +2 -2
  223. package/dist/cdn/{XIHWGWOZ.js → QST55MDE.js} +2 -2
  224. package/dist/cdn/{2GOI3U6A.js → QTJB45LA.js} +2 -2
  225. package/dist/cdn/{7X7D4YVD.js → QUUCQ7VD.js} +2 -2
  226. package/dist/cdn/RGMD7TWK.js +8 -0
  227. package/dist/cdn/RGVGURNS.js +18 -0
  228. package/dist/cdn/{JDQXOW4N.js → RHIM2X2N.js} +2 -2
  229. package/dist/cdn/{SKHXGZWX.js → RI4DNTJV.js} +1 -1
  230. package/dist/cdn/{EL3O7SU5.js → RLX2PT2V.js} +2 -2
  231. package/dist/cdn/{FJMBBCIQ.js → RNI7TT4M.js} +2 -2
  232. package/dist/cdn/{IQEIWTTQ.js → RO5PJ76M.js} +1 -1
  233. package/dist/cdn/{2GVD2PNS.js → ROCIFSUL.js} +2 -2
  234. package/dist/cdn/{Y55NNV6M.js → RWXLPD4H.js} +2 -2
  235. package/dist/cdn/{UMYOEGMF.js → RYES6YM3.js} +2 -2
  236. package/dist/cdn/{3L47ZYJD.js → S3MH5MBH.js} +2 -2
  237. package/dist/cdn/{5ORK2Y44.js → SAKENJP3.js} +2 -2
  238. package/dist/cdn/SBTBR7XC.js +4 -0
  239. package/dist/cdn/{FM4G2RSJ.js → SCKOUQAW.js} +2 -2
  240. package/dist/cdn/{WKTJ6QCW.js → SMIITNGH.js} +2 -2
  241. package/dist/cdn/{NFSHI4K2.js → SRYSQJ5H.js} +2 -2
  242. package/dist/cdn/{Z7WNEKTH.js → SRZTL2NZ.js} +2 -2
  243. package/dist/cdn/{3MFMNW62.js → T2S47FRF.js} +2 -2
  244. package/dist/cdn/T5YWANI2.js +18 -0
  245. package/dist/cdn/{7HTPHT6R.js → THEX57MF.js} +2 -2
  246. package/dist/cdn/{JOXQDPXR.js → TKL4MG3Q.js} +2 -2
  247. package/dist/cdn/{EWFTPTDF.js → TMK2YYUU.js} +2 -2
  248. package/dist/cdn/{GLD46N72.js → TMNFYHGY.js} +2 -2
  249. package/dist/cdn/{DF4U7UQT.js → TPFTOSLE.js} +2 -2
  250. package/dist/cdn/{MXAI3H2Y.js → TTV4NRBC.js} +2 -2
  251. package/dist/cdn/{WZDAHV2W.js → TX7MPMSV.js} +2 -2
  252. package/dist/cdn/TZZA2IJ3.js +18 -0
  253. package/dist/cdn/{UGC4M3L5.js → U4LWE3ZY.js} +2 -2
  254. package/dist/cdn/{LGV5OMRP.js → UGA6C7H6.js} +2 -2
  255. package/dist/cdn/{D6UC7QOS.js → UR7VT743.js} +2 -2
  256. package/dist/cdn/USF6ABOG.js +4 -0
  257. package/dist/cdn/{FGBLMTAS.js → UTJPTXFZ.js} +2 -2
  258. package/dist/cdn/{QADRNTEK.js → V3BJ3C7G.js} +2 -2
  259. package/dist/cdn/{AP6ERTGB.js → V3FGPANI.js} +2 -2
  260. package/dist/cdn/{K4UNKJ5H.js → V7ETNYJN.js} +2 -2
  261. package/dist/cdn/{36V7KPBK.js → VHDKMKRB.js} +2 -2
  262. package/dist/cdn/{3NLPELR7.js → VIUJIRMV.js} +2 -2
  263. package/dist/cdn/{YIJFEDFW.js → VKM2IICG.js} +2 -2
  264. package/dist/cdn/{QHBTS47Z.js → VLIQM5XM.js} +2 -2
  265. package/dist/cdn/{GKMDZTC3.js → VNC7CXVL.js} +1 -1
  266. package/dist/cdn/{2SBZXCJH.js → VPYZU3PV.js} +2 -2
  267. package/dist/cdn/{HGTXMUFL.js → VQANXEIF.js} +2 -2
  268. package/dist/cdn/{ROR6YUGT.js → W2C4A6AQ.js} +2 -2
  269. package/dist/cdn/{K6TIKSGU.js → WAICL3LP.js} +2 -2
  270. package/dist/cdn/{OEESZ5OV.js → WBJPA4F4.js} +2 -2
  271. package/dist/cdn/{WNHJ7PIL.js → WCFYJXHQ.js} +1 -1
  272. package/dist/cdn/{5ZUHX3VT.js → WL7PFVSR.js} +2 -2
  273. package/dist/cdn/{55MFPGX2.js → WSD7UQUA.js} +2 -2
  274. package/dist/cdn/{KAR4LTJL.js → X7AWZSTB.js} +1 -1
  275. package/dist/cdn/X7CK777N.js +4 -0
  276. package/dist/cdn/{AQMF7NA2.js → XBJI7OVV.js} +2 -2
  277. package/dist/cdn/{RSS4NWVZ.js → XIPPDG54.js} +2 -2
  278. package/dist/cdn/{DIR5ZFRB.js → XIU26NMO.js} +2 -2
  279. package/dist/cdn/{GCJO7NBJ.js → XIX3CLNV.js} +2 -2
  280. package/dist/cdn/{MT54TTK3.js → XJ4Q4SWE.js} +2 -2
  281. package/dist/cdn/{3VSZ6HWZ.js → XQ7LKWS6.js} +2 -2
  282. package/dist/cdn/{XK4QSY24.js → XYIYSCJF.js} +2 -2
  283. package/dist/cdn/{XVPETWSD.js → Y2JZNUZN.js} +2 -2
  284. package/dist/cdn/{HLH3CEN7.js → Y5ITNA7H.js} +1 -1
  285. package/dist/cdn/{5PNJQEHL.js → YAIWCQES.js} +2 -2
  286. package/dist/cdn/{DPASP522.js → YJ4NJMG7.js} +2 -2
  287. package/dist/cdn/{WD5PKUU3.js → YKSLBBBW.js} +1 -1
  288. package/dist/cdn/{WUYHEMVC.js → YLTW4Q2G.js} +2 -2
  289. package/dist/cdn/YR23NYJC.js +4 -0
  290. package/dist/cdn/{DU3EVUJQ.js → YWNZV6CK.js} +2 -2
  291. package/dist/cdn/{PNUTIPX7.js → Z36FODX2.js} +2 -2
  292. package/dist/cdn/{66Z5F3Z2.js → Z7EWWUJK.js} +2 -2
  293. package/dist/cdn/{NAWILONU.js → ZHCQ73AF.js} +2 -2
  294. package/dist/cdn/{PTEALRQR.js → ZJMMDGSQ.js} +2 -2
  295. package/dist/cdn/{YZJXEOMV.js → ZLELJP4A.js} +2 -2
  296. package/dist/cdn/ZQ37VBMP.js +4 -0
  297. package/dist/cdn/{FMFPTEIS.js → ZZWNL2AJ.js} +2 -2
  298. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +1 -1
  299. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +1 -1
  300. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +1 -1
  301. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +1 -1
  302. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +1 -1
  303. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +1 -1
  304. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +1 -1
  305. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +1 -1
  306. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +1 -1
  307. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +1 -1
  308. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +1 -1
  309. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +1 -1
  310. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +1 -1
  311. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +1 -1
  312. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +1 -1
  313. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +1 -1
  314. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +1 -1
  315. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +1 -1
  316. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +1 -1
  317. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +1 -1
  318. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +1 -1
  319. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +1 -1
  320. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +1 -1
  321. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +1 -1
  322. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +1 -1
  323. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +1 -1
  324. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +1 -1
  325. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +1 -1
  326. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +1 -1
  327. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +1 -1
  328. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +1 -1
  329. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +1 -1
  330. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +1 -1
  331. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +1 -1
  332. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +1 -1
  333. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +1 -1
  334. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +1 -1
  335. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +1 -1
  336. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +1 -1
  337. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ar.json +1 -1
  338. package/dist/cdn/assets/solution-configure-titles/t9n/messages.bg.json +1 -1
  339. package/dist/cdn/assets/solution-configure-titles/t9n/messages.bs.json +1 -1
  340. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ca.json +1 -1
  341. package/dist/cdn/assets/solution-configure-titles/t9n/messages.cs.json +1 -1
  342. package/dist/cdn/assets/solution-configure-titles/t9n/messages.da.json +1 -1
  343. package/dist/cdn/assets/solution-configure-titles/t9n/messages.de.json +1 -1
  344. package/dist/cdn/assets/solution-configure-titles/t9n/messages.el.json +1 -1
  345. package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
  346. package/dist/cdn/assets/solution-configure-titles/t9n/messages.es.json +1 -1
  347. package/dist/cdn/assets/solution-configure-titles/t9n/messages.et.json +1 -1
  348. package/dist/cdn/assets/solution-configure-titles/t9n/messages.fi.json +1 -1
  349. package/dist/cdn/assets/solution-configure-titles/t9n/messages.fr.json +1 -1
  350. package/dist/cdn/assets/solution-configure-titles/t9n/messages.he.json +1 -1
  351. package/dist/cdn/assets/solution-configure-titles/t9n/messages.hr.json +1 -1
  352. package/dist/cdn/assets/solution-configure-titles/t9n/messages.hu.json +1 -1
  353. package/dist/cdn/assets/solution-configure-titles/t9n/messages.id.json +1 -1
  354. package/dist/cdn/assets/solution-configure-titles/t9n/messages.it.json +1 -1
  355. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ja.json +1 -1
  356. package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
  357. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ko.json +1 -1
  358. package/dist/cdn/assets/solution-configure-titles/t9n/messages.lt.json +1 -1
  359. package/dist/cdn/assets/solution-configure-titles/t9n/messages.lv.json +1 -1
  360. package/dist/cdn/assets/solution-configure-titles/t9n/messages.nl.json +1 -1
  361. package/dist/cdn/assets/solution-configure-titles/t9n/messages.no.json +1 -1
  362. package/dist/cdn/assets/solution-configure-titles/t9n/messages.pl.json +1 -1
  363. package/dist/cdn/assets/solution-configure-titles/t9n/messages.pt-BR.json +1 -1
  364. package/dist/cdn/assets/solution-configure-titles/t9n/messages.pt-PT.json +1 -1
  365. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ro.json +1 -1
  366. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ru.json +1 -1
  367. package/dist/cdn/assets/solution-configure-titles/t9n/messages.sk.json +1 -1
  368. package/dist/cdn/assets/solution-configure-titles/t9n/messages.sl.json +1 -1
  369. package/dist/cdn/assets/solution-configure-titles/t9n/messages.sr.json +1 -1
  370. package/dist/cdn/assets/solution-configure-titles/t9n/messages.sv.json +1 -1
  371. package/dist/cdn/assets/solution-configure-titles/t9n/messages.th.json +1 -1
  372. package/dist/cdn/assets/solution-configure-titles/t9n/messages.tr.json +1 -1
  373. package/dist/cdn/assets/solution-configure-titles/t9n/messages.uk.json +1 -1
  374. package/dist/cdn/assets/solution-configure-titles/t9n/messages.vi.json +1 -1
  375. package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-CN.json +1 -1
  376. package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-HK.json +1 -1
  377. package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-TW.json +1 -1
  378. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ar.json +1 -1
  379. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.bg.json +1 -1
  380. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.bs.json +1 -1
  381. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ca.json +1 -1
  382. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.cs.json +1 -1
  383. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.da.json +1 -1
  384. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.de.json +1 -1
  385. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.el.json +1 -1
  386. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.es.json +1 -1
  387. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.et.json +1 -1
  388. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.fi.json +1 -1
  389. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.fr.json +1 -1
  390. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.he.json +1 -1
  391. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.hr.json +1 -1
  392. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.hu.json +1 -1
  393. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.id.json +1 -1
  394. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.it.json +1 -1
  395. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ja.json +1 -1
  396. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ko.json +1 -1
  397. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.lt.json +1 -1
  398. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.lv.json +1 -1
  399. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.nl.json +1 -1
  400. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.no.json +1 -1
  401. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.pl.json +1 -1
  402. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.pt-BR.json +1 -1
  403. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.pt-PT.json +1 -1
  404. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ro.json +1 -1
  405. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ru.json +1 -1
  406. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sk.json +1 -1
  407. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sl.json +1 -1
  408. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sr.json +1 -1
  409. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sv.json +1 -1
  410. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.th.json +1 -1
  411. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.tr.json +1 -1
  412. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.uk.json +1 -1
  413. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.vi.json +1 -1
  414. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.zh-CN.json +1 -1
  415. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.zh-HK.json +1 -1
  416. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.zh-TW.json +1 -1
  417. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ar.json +1 -1
  418. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bg.json +1 -1
  419. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bs.json +1 -1
  420. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ca.json +1 -1
  421. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.cs.json +1 -1
  422. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.da.json +1 -1
  423. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.de.json +1 -1
  424. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.el.json +1 -1
  425. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
  426. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.es.json +1 -1
  427. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.et.json +1 -1
  428. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fi.json +1 -1
  429. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fr.json +1 -1
  430. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.he.json +1 -1
  431. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hr.json +1 -1
  432. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hu.json +1 -1
  433. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.id.json +1 -1
  434. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.it.json +1 -1
  435. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ja.json +1 -1
  436. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
  437. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ko.json +1 -1
  438. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lt.json +1 -1
  439. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lv.json +1 -1
  440. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.nl.json +1 -1
  441. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.no.json +1 -1
  442. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pl.json +1 -1
  443. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-BR.json +1 -1
  444. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-PT.json +1 -1
  445. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ro.json +1 -1
  446. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ru.json +1 -1
  447. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sk.json +1 -1
  448. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sl.json +1 -1
  449. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sr.json +1 -1
  450. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sv.json +1 -1
  451. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.th.json +1 -1
  452. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.tr.json +1 -1
  453. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.uk.json +1 -1
  454. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.vi.json +1 -1
  455. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-CN.json +1 -1
  456. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-HK.json +1 -1
  457. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-TW.json +1 -1
  458. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ar.json +1 -1
  459. package/dist/cdn/assets/solution-item-accordion/t9n/messages.bg.json +1 -1
  460. package/dist/cdn/assets/solution-item-accordion/t9n/messages.bs.json +1 -1
  461. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ca.json +1 -1
  462. package/dist/cdn/assets/solution-item-accordion/t9n/messages.cs.json +1 -1
  463. package/dist/cdn/assets/solution-item-accordion/t9n/messages.da.json +1 -1
  464. package/dist/cdn/assets/solution-item-accordion/t9n/messages.de.json +1 -1
  465. package/dist/cdn/assets/solution-item-accordion/t9n/messages.el.json +1 -1
  466. package/dist/cdn/assets/solution-item-accordion/t9n/messages.es.json +1 -1
  467. package/dist/cdn/assets/solution-item-accordion/t9n/messages.et.json +1 -1
  468. package/dist/cdn/assets/solution-item-accordion/t9n/messages.fi.json +1 -1
  469. package/dist/cdn/assets/solution-item-accordion/t9n/messages.fr.json +1 -1
  470. package/dist/cdn/assets/solution-item-accordion/t9n/messages.he.json +1 -1
  471. package/dist/cdn/assets/solution-item-accordion/t9n/messages.hr.json +1 -1
  472. package/dist/cdn/assets/solution-item-accordion/t9n/messages.hu.json +1 -1
  473. package/dist/cdn/assets/solution-item-accordion/t9n/messages.id.json +1 -1
  474. package/dist/cdn/assets/solution-item-accordion/t9n/messages.it.json +1 -1
  475. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ja.json +1 -1
  476. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ko.json +1 -1
  477. package/dist/cdn/assets/solution-item-accordion/t9n/messages.lt.json +1 -1
  478. package/dist/cdn/assets/solution-item-accordion/t9n/messages.lv.json +1 -1
  479. package/dist/cdn/assets/solution-item-accordion/t9n/messages.nl.json +1 -1
  480. package/dist/cdn/assets/solution-item-accordion/t9n/messages.no.json +1 -1
  481. package/dist/cdn/assets/solution-item-accordion/t9n/messages.pl.json +1 -1
  482. package/dist/cdn/assets/solution-item-accordion/t9n/messages.pt-BR.json +1 -1
  483. package/dist/cdn/assets/solution-item-accordion/t9n/messages.pt-PT.json +1 -1
  484. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ro.json +1 -1
  485. package/dist/cdn/assets/solution-item-accordion/t9n/messages.ru.json +1 -1
  486. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sk.json +1 -1
  487. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sl.json +1 -1
  488. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sr.json +1 -1
  489. package/dist/cdn/assets/solution-item-accordion/t9n/messages.sv.json +1 -1
  490. package/dist/cdn/assets/solution-item-accordion/t9n/messages.th.json +1 -1
  491. package/dist/cdn/assets/solution-item-accordion/t9n/messages.tr.json +1 -1
  492. package/dist/cdn/assets/solution-item-accordion/t9n/messages.uk.json +1 -1
  493. package/dist/cdn/assets/solution-item-accordion/t9n/messages.vi.json +1 -1
  494. package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-CN.json +1 -1
  495. package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-HK.json +1 -1
  496. package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-TW.json +1 -1
  497. package/dist/cdn/index.js +2 -2
  498. package/dist/cdn/main.css +1 -1
  499. package/dist/cdn/stdin.css +1 -0
  500. package/dist/chunks/Auth.js +1 -1
  501. package/dist/chunks/appConfig.js +1 -1
  502. package/dist/chunks/cardFetchingUtils.js +1 -1
  503. package/dist/chunks/common.js +1 -1
  504. package/dist/chunks/deployAppContexts.js +1 -1
  505. package/dist/chunks/downloadUtils.js +1 -1
  506. package/dist/chunks/helpers.js +37 -26
  507. package/dist/chunks/index.js +1 -1
  508. package/dist/chunks/interfaces.js +9 -8
  509. package/dist/chunks/loadModules.js +1 -1
  510. package/dist/chunks/mapViewUtils.js +1 -1
  511. package/dist/chunks/pciUtils.js +1 -1
  512. package/dist/chunks/popupUtils.js +1 -1
  513. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  514. package/dist/chunks/privilegeUtils.js +1 -1
  515. package/dist/chunks/publicNotificationStore.js +1 -1
  516. package/dist/chunks/queryUtils.js +1 -1
  517. package/dist/chunks/runtime.js +2 -1
  518. package/dist/chunks/solution-store.js +1 -1
  519. package/dist/chunks/templates.js +1 -1
  520. package/dist/chunks/useT9n.js +1 -1
  521. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  522. package/dist/components/basemap-gallery/customElement.js +1 -1
  523. package/dist/components/buffer-tools/customElement.js +1 -1
  524. package/dist/components/card-manager/customElement.js +1 -1
  525. package/dist/components/consent-manager/customElement.js +54 -54
  526. package/dist/components/create-feature/customElement.js +1 -1
  527. package/dist/components/create-related-feature/customElement.js +1 -1
  528. package/dist/components/crowdsource-manager/customElement.js +1 -1
  529. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  530. package/dist/components/deduct-calculator/customElement.js +1 -1
  531. package/dist/components/delete-button/customElement.js +1 -1
  532. package/dist/components/delete-dialog/customElement.js +1 -1
  533. package/dist/components/edit-card/customElement.js +1 -1
  534. package/dist/components/feature-details/customElement.js +1 -1
  535. package/dist/components/feature-list/customElement.js +1 -1
  536. package/dist/components/field-selection/customElement.js +1 -1
  537. package/dist/components/floor-filter/customElement.js +1 -1
  538. package/dist/components/info-card/customElement.js +1 -1
  539. package/dist/components/json-editor/customElement.js +1 -1
  540. package/dist/components/layer-list/customElement.js +1 -1
  541. package/dist/components/layer-table/customElement.js +1 -1
  542. package/dist/components/map-card/customElement.js +1 -1
  543. package/dist/components/map-draw-tools/customElement.js +1 -1
  544. package/dist/components/map-fullscreen/customElement.js +1 -1
  545. package/dist/components/map-layer-picker/customElement.js +1 -1
  546. package/dist/components/map-legend/customElement.js +1 -1
  547. package/dist/components/map-picker/customElement.js +1 -1
  548. package/dist/components/map-search/customElement.js +1 -1
  549. package/dist/components/map-select-tools/customElement.js +1 -1
  550. package/dist/components/map-tools/customElement.js +1 -1
  551. package/dist/components/pci-calculator/customElement.js +1 -1
  552. package/dist/components/pdf-download/customElement.js +1 -1
  553. package/dist/components/public-notification/customElement.js +1 -1
  554. package/dist/components/refine-selection/customElement.js +1 -1
  555. package/dist/components/selection-tool/customElement.js +1 -1
  556. package/dist/components/solution-article-card/customElement.js +1 -1
  557. package/dist/components/solution-configuration/customElement.js +1 -1
  558. package/dist/components/solution-configure-dialog/customElement.js +38 -121
  559. package/dist/components/solution-configure-dialog/index.d.ts +0 -3
  560. package/dist/components/solution-configure-dialog/index.js +0 -3
  561. package/dist/components/solution-configure-titles/customElement.js +37 -34
  562. package/dist/components/solution-configure-titles/index.d.ts +1 -0
  563. package/dist/components/solution-configure-titles/index.js +1 -0
  564. package/dist/components/solution-contents/customElement.js +1 -1
  565. package/dist/components/solution-delete-dialog/customElement.js +22 -23
  566. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  567. package/dist/components/solution-deployed-card/customElement.js +8 -8
  568. package/dist/components/solution-deploying-dialog/customElement.js +13 -13
  569. package/dist/components/solution-details-card/customElement.js +2 -2
  570. package/dist/components/solution-details-panel/customElement.js +5 -5
  571. package/dist/components/solution-item/customElement.js +1 -1
  572. package/dist/components/solution-item-accordion/customElement.js +1 -1
  573. package/dist/components/solution-item-details/customElement.js +1 -1
  574. package/dist/components/solution-item-diagram/customElement.d.ts +2 -0
  575. package/dist/components/solution-item-diagram/customElement.js +10 -9
  576. package/dist/components/solution-item-diagram/utils/SolutionDisplay.d.ts +2 -1
  577. package/dist/components/solution-item-icon/customElement.js +1 -1
  578. package/dist/components/solution-item-sharing/customElement.js +1 -1
  579. package/dist/components/solution-organization-variables/customElement.js +1 -1
  580. package/dist/components/solution-resource-item/customElement.js +1 -1
  581. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  582. package/dist/components/solution-social-share/customElement.js +1 -1
  583. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  584. package/dist/components/solution-template-data/customElement.js +1 -1
  585. package/dist/components/solution-variables/customElement.js +1 -1
  586. package/dist/components/solutions-all-panel/customElement.js +38 -34
  587. package/dist/components/solutions-all-shell/customElement.js +1 -1
  588. package/dist/components/solutions-article-panel/customElement.js +1 -1
  589. package/dist/components/solutions-articles/customElement.js +1 -1
  590. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  591. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  592. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  593. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  594. package/dist/components/spatial-ref/customElement.js +1 -1
  595. package/dist/components/store-manager/customElement.js +1 -1
  596. package/dist/docs/api.json +19 -2
  597. package/dist/docs/docs.json +24 -2
  598. package/dist/docs/web-types.json +6 -1
  599. package/dist/index.js +1 -1
  600. package/dist/loader.js +2 -2
  601. package/dist/types/lumina.d.ts +1 -1
  602. package/dist/types/preact.d.ts +1 -1
  603. package/dist/types/react.d.ts +1 -1
  604. package/dist/types/stencil.d.ts +1 -1
  605. package/dist/utils/helpers.d.ts +37 -16
  606. package/dist/utils/interfaces.d.ts +1 -0
  607. package/package.json +1 -1
  608. package/dist/cdn/3BCTRIX2.js +0 -4
  609. package/dist/cdn/3FWBTG2Q.js +0 -4
  610. package/dist/cdn/3MHOTTLM.js +0 -25
  611. package/dist/cdn/436PERQP.js +0 -18
  612. package/dist/cdn/5L3UCLOY.js +0 -4
  613. package/dist/cdn/7S2YYGKB.js +0 -6
  614. package/dist/cdn/APXHE3B3.js +0 -4
  615. package/dist/cdn/AZAD32ZX.js +0 -4
  616. package/dist/cdn/C7LOQ7OI.js +0 -18
  617. package/dist/cdn/CTWEU7QD.js +0 -4
  618. package/dist/cdn/DCUNQVC7.js +0 -4
  619. package/dist/cdn/DKGXGDIG.js +0 -8
  620. package/dist/cdn/F2PLJZ35.js +0 -4
  621. package/dist/cdn/HV42PHN2.js +0 -4
  622. package/dist/cdn/I65TCXEV.js +0 -18
  623. package/dist/cdn/KYJV4K4T.js +0 -18
  624. package/dist/cdn/N5NEHLCX.js +0 -4
  625. package/dist/cdn/O4DAQ76R.js +0 -18
  626. package/dist/cdn/POM4C6DI.js +0 -18
  627. package/dist/cdn/USJC532U.js +0 -8
  628. package/dist/cdn/VEECODKP.js +0 -4
  629. package/dist/cdn/WDMSDRPI.js +0 -81
  630. package/dist/cdn/Y32USNTH.js +0 -4
  631. package/dist/cdn/Y5ZZUWEB.js +0 -18
@@ -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.20250812 */
4
- import e from"./2DLPB4EO.js";import{b as v}from"./M344WSRV.js";import{a as l,c as m,d as y,e as _}from"./VYCPFHKG.js";import"./7S2YYGKB.js";import"./SOGF7JLH.js";import"./2GVD2PNS.js";import"./CGQI4TYR.js";import"./EQWZKX6V.js";import"./5ORK2Y44.js";import"./SKHXGZWX.js";import"./EBAIG4UF.js";import"./3O7U5WLR.js";import"./32SEVXRM.js";import"./IQEIWTTQ.js";import"./WNHJ7PIL.js";import"./DYYDQJ3C.js";import"./XIHWGWOZ.js";import"./7HTPHT6R.js";import{g as b}from"./AXUX37GT.js";import"./6K4LQMAX.js";import"./HMNRBKGU.js";import"./WD5PKUU3.js";import"./32VJQFM7.js";import{a as g}from"./BPDYH25K.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{b as f}from"./HV42PHN2.js";import{B as a,C as u,h as c,i,n as o,w as d,x as p,y as h}from"./QIXFH7VY.js";import"./2BXUT6DX.js";export default $arcgis.t(([C])=>{var S=c`/** @license
3
+ v1.1.0-next.20250814 */
4
+ import e from"./GLTMZBZ3.js";import{b as v}from"./QBC5SBBE.js";import{a as l,c as m,d as y,e as _}from"./B3TFVUQ3.js";import"./MXVIDHVI.js";import"./CZ3BVZWT.js";import"./ROCIFSUL.js";import"./4DTTBSJJ.js";import"./EI3UVHVJ.js";import"./SAKENJP3.js";import"./RI4DNTJV.js";import"./CT3POA2I.js";import"./67UNP3O6.js";import"./AFVKAHAM.js";import"./RO5PJ76M.js";import"./WCFYJXHQ.js";import"./4DGE5KUI.js";import"./QST55MDE.js";import"./THEX57MF.js";import{g as b}from"./N4C5NAQY.js";import"./MVUCSBRQ.js";import"./H752522M.js";import"./YKSLBBBW.js";import"./OQLSBZBK.js";import{a as g}from"./4CBNOR6N.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{b as f}from"./4VDUJIVA.js";import{B as a,C as u,h as c,i,n as o,w as d,x as p,y as h}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";export default $arcgis.t(([C])=>{var S=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.20250812 */
4
- import{a as t}from"./GKMDZTC3.js";import{a}from"./66Z5F3Z2.js";import{b as o}from"./32VJQFM7.js";var m=async(e,l,s)=>{let r={label:`{{${e}.sections.group.picker.facets.label:translate}}`,key:"groups",display:"single-select",operation:"OR",options:[{label:`{{${e}.sections.group.picker.facets.myGroups.label:translate}}`,key:"my-group",selected:!0,predicates:[{owner:s.currentUser.username,typekeywords:{not:t}}]},{label:`{{${e}.sections.group.picker.facets.myOrganization.label:translate}}`,key:"my-organization",selected:!1,predicates:[{orgid:s.currentUser.orgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}]};return s.communityOrgId&&r.options.push({label:`{{${e}.sections.group.picker.facets.myCommunity.label:translate}}`,key:"my-community",selected:!1,predicates:[{orgid:s.communityOrgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}),{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{headerTag:"h3"},elements:[{labelKey:`${e}.fields.name.label`,type:"Control",scope:"/properties/name",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.channelNameRequiredError`,allowShowBeforeInteract:!0}]}}]},{type:"Section",labelKey:`${e}.sections.settings.label`,options:{headerTag:"h3"},elements:[{type:"Control",scope:"/properties/allowAsAnonymous",labelKey:`${e}.fields.allowAsAnonymous.label`,options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.allowAsAnonymous.helperText`}}},{type:"Control",scope:"/properties/blockWords",label:"Blocked words",labelKey:`${e}.fields.blockWords.label`,options:{control:"hub-field-input-input",type:"textarea",helperText:{labelKey:`${e}.fields.blockWords.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.blockWords.formatError`}]}}]},{type:"Section",labelKey:`${e}.sections.permissions.label`,options:{headerTag:"h3"},elements:[{type:"Section",labelKey:`${e}.sections.public.label`,options:{headerTag:"h4"},elements:[{type:"Control",scope:"/properties/publicConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"anonymous",description:`{{${e}.fields.public.anonymous.description:translate}}`,label:`{{${e}.fields.public.anonymous.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`]},{roleType:"authenticated",description:`{{${e}.fields.public.authenticated.description:translate}}`,label:`{{${e}.fields.public.authenticated.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.organization.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/orgConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"member",description:`{{${e}.fields.organization.member.description:translate}}`,label:`{{${e}.fields.organization.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.organization.admin.description:translate}}`,label:`{{${e}.fields.organization.admin.label:translate}}`,disabled:!0,permissionLabels:[`{{${e}.sections.permissions.options.owner:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.group.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/groupConfigs",options:{control:"hub-field-permissions",actions:[{label:`{{${e}.sections.group.picker.button:translate}}`,type:"add",options:{label:`{{${e}.sections.group.picker.title:translate}}`,entityType:"group",catalogs:[a(e,"allGroups","group",{user:s.currentUser})],facets:[r],defaultValues:{member:o,admin:o}}},{ariaLabel:`{{${e}.sections.group.remove.button:translate}}`,buttonStyle:"outline",buttonKind:"neutral",type:"remove",icon:"x"}],roles:[{roleType:"member",description:`{{${e}.fields.group.member.description:translate}}`,label:`{{${e}.fields.group.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.group.admin.description:translate}}`,label:`{{${e}.fields.group.admin.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`,`{{${e}.sections.permissions.options.manage:translate}}`]}]}}]}]}]}};export{m as a};
3
+ v1.1.0-next.20250814 */
4
+ import{a as t}from"./VNC7CXVL.js";import{a}from"./Z7EWWUJK.js";import{b as o}from"./OQLSBZBK.js";var m=async(e,l,s)=>{let r={label:`{{${e}.sections.group.picker.facets.label:translate}}`,key:"groups",display:"single-select",operation:"OR",options:[{label:`{{${e}.sections.group.picker.facets.myGroups.label:translate}}`,key:"my-group",selected:!0,predicates:[{owner:s.currentUser.username,typekeywords:{not:t}}]},{label:`{{${e}.sections.group.picker.facets.myOrganization.label:translate}}`,key:"my-organization",selected:!1,predicates:[{orgid:s.currentUser.orgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}]};return s.communityOrgId&&r.options.push({label:`{{${e}.sections.group.picker.facets.myCommunity.label:translate}}`,key:"my-community",selected:!1,predicates:[{orgid:s.communityOrgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}),{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{headerTag:"h3"},elements:[{labelKey:`${e}.fields.name.label`,type:"Control",scope:"/properties/name",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.channelNameRequiredError`,allowShowBeforeInteract:!0}]}}]},{type:"Section",labelKey:`${e}.sections.settings.label`,options:{headerTag:"h3"},elements:[{type:"Control",scope:"/properties/allowAsAnonymous",labelKey:`${e}.fields.allowAsAnonymous.label`,options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.allowAsAnonymous.helperText`}}},{type:"Control",scope:"/properties/blockWords",label:"Blocked words",labelKey:`${e}.fields.blockWords.label`,options:{control:"hub-field-input-input",type:"textarea",helperText:{labelKey:`${e}.fields.blockWords.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.blockWords.formatError`}]}}]},{type:"Section",labelKey:`${e}.sections.permissions.label`,options:{headerTag:"h3"},elements:[{type:"Section",labelKey:`${e}.sections.public.label`,options:{headerTag:"h4"},elements:[{type:"Control",scope:"/properties/publicConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"anonymous",description:`{{${e}.fields.public.anonymous.description:translate}}`,label:`{{${e}.fields.public.anonymous.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`]},{roleType:"authenticated",description:`{{${e}.fields.public.authenticated.description:translate}}`,label:`{{${e}.fields.public.authenticated.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.organization.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/orgConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"member",description:`{{${e}.fields.organization.member.description:translate}}`,label:`{{${e}.fields.organization.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.organization.admin.description:translate}}`,label:`{{${e}.fields.organization.admin.label:translate}}`,disabled:!0,permissionLabels:[`{{${e}.sections.permissions.options.owner:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.group.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/groupConfigs",options:{control:"hub-field-permissions",actions:[{label:`{{${e}.sections.group.picker.button:translate}}`,type:"add",options:{label:`{{${e}.sections.group.picker.title:translate}}`,entityType:"group",catalogs:[a(e,"allGroups","group",{user:s.currentUser})],facets:[r],defaultValues:{member:o,admin:o}}},{ariaLabel:`{{${e}.sections.group.remove.button:translate}}`,buttonStyle:"outline",buttonKind:"neutral",type:"remove",icon:"x"}],roles:[{roleType:"member",description:`{{${e}.fields.group.member.description:translate}}`,label:`{{${e}.fields.group.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.group.admin.description:translate}}`,label:`{{${e}.fields.group.admin.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`,`{{${e}.sections.permissions.options.manage:translate}}`]}]}}]}]}]}};export{m as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250812 */
4
- import{a as t}from"./VEECODKP.js";import{r as e}from"./QIXFH7VY.js";var a=e(t,{"instant-apps-app-guide":[()=>import("./UGHZODS3.js"),"data:,header"],"instant-apps-control-panel":[()=>import("./HBONMRUG.js"),"components:,view:"],"instant-apps-create":[()=>import("./57B7RYSF.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./DBI5MALT.js"),"beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./BDUN32OS.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./ODRWQOSM.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./K5AQ47LY.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./6IIIEY74.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./5L3UCLOY.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./I3OWRWKV.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./3MFMNW62.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./QHBTS47Z.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./BTKBHKQO.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./FM4G2RSJ.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./SVKS7KL3.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./L3I2MLN4.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./NS4JA7V7.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./U4BFCSBQ.js"),"view:"],"instant-apps-landing-page":[()=>import("./Q7YYCBYQ.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./UGC4M3L5.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./HGTXMUFL.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./IKJ2MUXC.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-item":[()=>import("./HRPINX2P.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./HW3PYGRO.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./LQ43QFI2.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./OQPHC3L2.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./FY6AWVVF.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./Q7PTMTBS.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./V4ICHA6X.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./NZYOPIF7.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./2KL46Q2D.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./VVERV2QI.js"),"closeButtonDisabled,content,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./Y4PJZPVR.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{a};
3
+ v1.1.0-next.20250814 */
4
+ import{a as t}from"./USF6ABOG.js";import{r as e}from"./CFK3L2YF.js";var a=e(t,{"instant-apps-app-guide":[()=>import("./K4VJ4UUU.js"),"data:,header"],"instant-apps-control-panel":[()=>import("./FCOP3UI6.js"),"components:,view:"],"instant-apps-create":[()=>import("./MJE3V7QY.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./3HY2C477.js"),"beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./B45YTTVU.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./JXV5EH5F.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./A6COROCR.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./GTKJOQZ5.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./NO34SVO5.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./O4QMU4K5.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./T2S47FRF.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./VLIQM5XM.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./42LO4TCV.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./SCKOUQAW.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./GUHRLDGP.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./BKWX324H.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./3ZJXTRS3.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./JVW7WLOW.js"),"view:"],"instant-apps-landing-page":[()=>import("./6DEQD5XS.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./U4LWE3ZY.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./VQANXEIF.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./EIUU6LFK.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-item":[()=>import("./KLSBDOEY.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./JANO2YZL.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./KIQZ5WQU.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./BY3GJ3CC.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./BYHTYD3Z.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./EEV7SOFB.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./OKPE75LL.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./DZCVQ56U.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./NL6JR43M.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./BTX6AXUQ.js"),"closeButtonDisabled,content,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./JUYDS4OZ.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{a};
@@ -0,0 +1 @@
1
+ @layer{:not([hydrated]):is(instant-apps-app-guide,instant-apps-control-panel,instant-apps-create,instant-apps-export,instant-apps-export-views,instant-apps-filter-list,instant-apps-header,instant-apps-interactive-legend,instant-apps-interactive-legend-classic,instant-apps-interactive-legend-count,instant-apps-interactive-legend-group-legend-element,instant-apps-interactive-legend-group-legend-element-caption,instant-apps-interactive-legend-layer-element,instant-apps-interactive-legend-layer-element-caption,instant-apps-interactive-legend-legend-element,instant-apps-interactive-legend-legend-element-caption,instant-apps-interactive-legend-relationship,instant-apps-keyboard-shortcuts,instant-apps-landing-page,instant-apps-language-switcher,instant-apps-language-translator,instant-apps-ckeditor-wrapper,instant-apps-language-translator-item,instant-apps-language-translator-search,instant-apps-measurement,instant-apps-measurement-tool,instant-apps-popover,instant-apps-popovers,instant-apps-scoreboard,instant-apps-sign-in,instant-apps-social-share,instant-apps-splash,instant-apps-time-filter){visibility:hidden}}
@@ -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.20250812 */
4
- import{f as C}from"./5PNJQEHL.js";import"./MKDZNMY7.js";import"./EUSLG7J4.js";import{b}from"./HLH3CEN7.js";import{b as g}from"./HV42PHN2.js";import{h as u,i as r,n as h,q as _,w as d,x as p,y as m}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var F=u`@layer{/**
3
+ v1.1.0-next.20250814 */
4
+ import{f as C}from"./YAIWCQES.js";import"./LRZ2H4VM.js";import"./6X64VRXD.js";import{b}from"./Y5ITNA7H.js";import{b as g}from"./4VDUJIVA.js";import{h as u,i as r,n as h,q as _,w as d,x as p,y as m}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";var F=u`@layer{/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250812 */
4
- import{k as r,s,t as i,u as o}from"./QIXFH7VY.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
3
+ v1.1.0-next.20250814 */
4
+ import{k as r,s,t as i,u as o}from"./CFK3L2YF.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250812 */
4
- import{b as F}from"./7Y37SBXY.js";import{a as I}from"./M344WSRV.js";import a from"./DCUNQVC7.js";import{b as u,c as P,e as D}from"./VYCPFHKG.js";import{H as A,na as r,t as N}from"./7S2YYGKB.js";import"./SOGF7JLH.js";import"./2GVD2PNS.js";import"./CGQI4TYR.js";import"./EQWZKX6V.js";import"./5ORK2Y44.js";import"./SKHXGZWX.js";import"./EBAIG4UF.js";import"./3O7U5WLR.js";import"./32SEVXRM.js";import"./IQEIWTTQ.js";import"./WNHJ7PIL.js";import"./DYYDQJ3C.js";import"./XIHWGWOZ.js";import"./7HTPHT6R.js";import{g as f}from"./AXUX37GT.js";import"./6K4LQMAX.js";import"./HMNRBKGU.js";import"./WD5PKUU3.js";import"./32VJQFM7.js";import{a as b}from"./BPDYH25K.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{b as w}from"./HV42PHN2.js";import{C as o,h as E,i as l,n as i,y as k}from"./QIXFH7VY.js";import"./2BXUT6DX.js";export default $arcgis.t(([{b:s,c:C,g:G,h:M}])=>{var T=E`/** @license
3
+ v1.1.0-next.20250814 */
4
+ import{b as F}from"./L3BR7QKR.js";import{a as I}from"./QBC5SBBE.js";import a from"./AZAVNJBN.js";import{b as u,c as P,e as D}from"./B3TFVUQ3.js";import{H as A,na as r,t as N}from"./MXVIDHVI.js";import"./CZ3BVZWT.js";import"./ROCIFSUL.js";import"./4DTTBSJJ.js";import"./EI3UVHVJ.js";import"./SAKENJP3.js";import"./RI4DNTJV.js";import"./CT3POA2I.js";import"./67UNP3O6.js";import"./AFVKAHAM.js";import"./RO5PJ76M.js";import"./WCFYJXHQ.js";import"./4DGE5KUI.js";import"./QST55MDE.js";import"./THEX57MF.js";import{g as f}from"./N4C5NAQY.js";import"./MVUCSBRQ.js";import"./H752522M.js";import"./YKSLBBBW.js";import"./OQLSBZBK.js";import"./LRZ2H4VM.js";import{a as b}from"./4CBNOR6N.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{b as w}from"./4VDUJIVA.js";import{C as o,h as E,i as l,n as i,y as k}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";export default $arcgis.t(([{b:s,c:C,h:G,i:M}])=>{var T=E`/** @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.20250812 */
4
- import{a as f}from"./BPDYH25K.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{b}from"./HV42PHN2.js";import{A as l,B as m,h,i as a,n,w as r,x as p,y as c}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var g=h`/** @license
3
+ v1.1.0-next.20250814 */
4
+ import{a as f}from"./4CBNOR6N.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{b}from"./4VDUJIVA.js";import{A as l,B as m,h,i as a,n,w as r,x as p,y as c}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";var g=h`/** @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.20250812 */
4
- import"./NQ43PDWK.js";import{a as m}from"./BPDYH25K.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{b as p}from"./HV42PHN2.js";import{h as r,i as d,x as c,y as h}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var u=r`/** @license
3
+ v1.1.0-next.20250814 */
4
+ import"./F2APN33Z.js";import{a as m}from"./4CBNOR6N.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{b as p}from"./4VDUJIVA.js";import{h as r,i as d,x as c,y as h}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";var u=r`/** @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.20250812 */
4
- import{a,b}from"./TP3Q4JTG.js";import"./OBWKJWXC.js";import"./SPF74Q42.js";import"./6IJOFEAH.js";import"./2BXUT6DX.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
3
+ v1.1.0-next.20250814 */
4
+ import{a,b}from"./4QMK76M4.js";import"./BUNVS4W5.js";import"./KVWD2NCD.js";import"./BO3S7FKQ.js";import"./K6Y7PB4W.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
@@ -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.20250812 */
4
- import c from"./PWGBFNR2.js";import a from"./WX2FTC64.js";import{b as $}from"./VEECODKP.js";import"./YZJXEOMV.js";import{A as o,C as _,h as m,i as n,n as I,q as f,w as S,x as L,y as b}from"./QIXFH7VY.js";import"./2BXUT6DX.js";export default $arcgis.t(([,{f:l,h:v}])=>{var y=m`@layer{:host{display:block;position:relative}:host .instant-apps-language-translator-search__input{width:235.5px}:host .instant-apps-language-translator-search__suggestion-list{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}:host .instant-apps-language-translator-search__suggestion-list-item:first-child{border:none}:host .instant-apps-language-translator-search__suggestion-list-item{margin-top:0;padding:.8em 1em;border-top:solid 1px rgba(110,110,110,.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}:host .instant-apps-language-translator-search__suggestion-list-item:hover{background-color:var(--calcite-color-foreground-2)}}`,h="instant-apps-language-translator-search",p={input:`${h}__input`,suggestionList:`${h}__suggestion-list`,suggestionListItem:`${h}__suggestion-list-item`},d=class extends b{constructor(){super(...arguments),this.searchInput=S(),this.results=[],this.suggestionSelected=I()}static{this.properties={results:16,t9nPlaceholder:1}}static{this.styles=y}static{this.shadowRootOptions=f}handleSearch(t){let e=t.target.value?.toLowerCase()?.trim(),s=l.get("uiData"),u=v(),a=l.get("portalItemResourceT9n"),r=l.get("currentLanguage"),g=a?.[r]??{},c=this.getSettingDataItems(u).filter(this.matchedResultsCallback(s,g,e,r));this.results=[...c.map(i=>({fieldName:i,...s.get(i)}))]}matchedResultsCallback(t,e,s,u){return a=>{let r=t.get(a),{label:g}=r.userLocaleData,{value:c}=r.userLocaleData,i=t.get("translatedLanguageLabels")?.[u]?.[a],w=e?.[a],x=this.testUserInput(g,s),k=this.testUserInput(c,s),D=this.testUserInput(i,s),R=this.testUserInput(w,s);return x||k||D||R}}getSettingDataItems(t){return t.filter(e=>e!=="locales"&&e!=="translatedLanguageLabels")}testUserInput(t,e){return!!t?.trim()&&!!e?.trim()&&t?.toLowerCase()?.search(e)!==-1}selectSuggestion(t){let e=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(e),this.resetSearchInput()}resetSearchInput(){this.searchInput.value&&(this.searchInput.value.value=""),this.results=[]}render(){return n`${this.renderSearchInput()}${this.renderSuggestions()}`}renderSearchInput(){return n`<calcite-input class=${o(p.input)} @calciteInputInput=${this.handleSearch} type=search .placeholder=${this.t9nPlaceholder} icon=search ${L(this.searchInput)}></calcite-input>`}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n`<ul class=${o(p.suggestionList)}>${this.results.map(t=>this.renderSuggestionListItem(t))}</ul>`}renderSuggestionListItem(t){return n`<li @click=${this.selectSuggestion} class=${o(p.suggestionListItem)} data-field-name=${t.fieldName??_}>${t.userLocaleData.label}</li>`}};$("instant-apps-language-translator-search",d);return d},a,c)
3
+ v1.1.0-next.20250814 */
4
+ import c from"./6VYIML44.js";import a from"./NLMLINN5.js";import{b as $}from"./USF6ABOG.js";import"./ZLELJP4A.js";import{A as o,C as _,h as m,i as n,n as I,q as f,w as S,x as L,y as b}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";export default $arcgis.t(([,{f:l,h:v}])=>{var y=m`@layer{:host{display:block;position:relative}:host .instant-apps-language-translator-search__input{width:235.5px}:host .instant-apps-language-translator-search__suggestion-list{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}:host .instant-apps-language-translator-search__suggestion-list-item:first-child{border:none}:host .instant-apps-language-translator-search__suggestion-list-item{margin-top:0;padding:.8em 1em;border-top:solid 1px rgba(110,110,110,.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}:host .instant-apps-language-translator-search__suggestion-list-item:hover{background-color:var(--calcite-color-foreground-2)}}`,h="instant-apps-language-translator-search",p={input:`${h}__input`,suggestionList:`${h}__suggestion-list`,suggestionListItem:`${h}__suggestion-list-item`},d=class extends b{constructor(){super(...arguments),this.searchInput=S(),this.results=[],this.suggestionSelected=I()}static{this.properties={results:16,t9nPlaceholder:1}}static{this.styles=y}static{this.shadowRootOptions=f}handleSearch(t){let e=t.target.value?.toLowerCase()?.trim(),s=l.get("uiData"),u=v(),a=l.get("portalItemResourceT9n"),r=l.get("currentLanguage"),g=a?.[r]??{},c=this.getSettingDataItems(u).filter(this.matchedResultsCallback(s,g,e,r));this.results=[...c.map(i=>({fieldName:i,...s.get(i)}))]}matchedResultsCallback(t,e,s,u){return a=>{let r=t.get(a),{label:g}=r.userLocaleData,{value:c}=r.userLocaleData,i=t.get("translatedLanguageLabels")?.[u]?.[a],w=e?.[a],x=this.testUserInput(g,s),k=this.testUserInput(c,s),D=this.testUserInput(i,s),R=this.testUserInput(w,s);return x||k||D||R}}getSettingDataItems(t){return t.filter(e=>e!=="locales"&&e!=="translatedLanguageLabels")}testUserInput(t,e){return!!t?.trim()&&!!e?.trim()&&t?.toLowerCase()?.search(e)!==-1}selectSuggestion(t){let e=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(e),this.resetSearchInput()}resetSearchInput(){this.searchInput.value&&(this.searchInput.value.value=""),this.results=[]}render(){return n`${this.renderSearchInput()}${this.renderSuggestions()}`}renderSearchInput(){return n`<calcite-input class=${o(p.input)} @calciteInputInput=${this.handleSearch} type=search .placeholder=${this.t9nPlaceholder} icon=search ${L(this.searchInput)}></calcite-input>`}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n`<ul class=${o(p.suggestionList)}>${this.results.map(t=>this.renderSuggestionListItem(t))}</ul>`}renderSuggestionListItem(t){return n`<li @click=${this.selectSuggestion} class=${o(p.suggestionListItem)} data-field-name=${t.fieldName??_}>${t.userLocaleData.label}</li>`}};$("instant-apps-language-translator-search",d);return d},a,c)
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250812 */
4
- import c from"./3VSZ6HWZ.js";import{a}from"./7MBIJWN3.js";import b from"./DCUNQVC7.js";import"./VGRCZ36H.js";import"./7S2YYGKB.js";import"./SOGF7JLH.js";import"./2GVD2PNS.js";import"./CGQI4TYR.js";import"./EQWZKX6V.js";import"./5ORK2Y44.js";import"./SKHXGZWX.js";import"./EBAIG4UF.js";import"./3O7U5WLR.js";import"./32SEVXRM.js";import"./IQEIWTTQ.js";import"./WNHJ7PIL.js";import"./DYYDQJ3C.js";import"./XIHWGWOZ.js";import"./7HTPHT6R.js";import"./AXUX37GT.js";import"./6K4LQMAX.js";import"./HMNRBKGU.js";import"./WD5PKUU3.js";import"./32VJQFM7.js";import{h as l,i as h}from"./MKDZNMY7.js";import{a as m}from"./BPDYH25K.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{b as u}from"./HV42PHN2.js";import{h as d,i as r,n,q as f,y as p}from"./QIXFH7VY.js";import"./2BXUT6DX.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@layer{/** @license
3
+ v1.1.0-next.20250814 */
4
+ import c from"./XQ7LKWS6.js";import b from"./AZAVNJBN.js";import{a}from"./DPUKESDE.js";import"./JER6JZXQ.js";import"./MXVIDHVI.js";import"./CZ3BVZWT.js";import"./ROCIFSUL.js";import"./4DTTBSJJ.js";import"./EI3UVHVJ.js";import"./SAKENJP3.js";import"./RI4DNTJV.js";import"./CT3POA2I.js";import"./67UNP3O6.js";import"./AFVKAHAM.js";import"./RO5PJ76M.js";import"./WCFYJXHQ.js";import"./4DGE5KUI.js";import"./QST55MDE.js";import"./THEX57MF.js";import"./N4C5NAQY.js";import"./MVUCSBRQ.js";import"./H752522M.js";import"./YKSLBBBW.js";import"./OQLSBZBK.js";import{h as l,i as h}from"./LRZ2H4VM.js";import{a as m}from"./4CBNOR6N.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{b as u}from"./4VDUJIVA.js";import{h as d,i as r,n,q as f,y as p}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@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.20250812 */
3
+ v1.1.0-next.20250814 */
4
4
  var v={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},be=Object.defineProperty,Ne=(e,t)=>{for(var s in t)be(e,s,{get:t[s],enumerable:!0})},we=new WeakMap,xe=e=>we.get(e),I=(e,t)=>t in e,z=(e,t)=>(0,console.error)(e,t),X="http://www.w3.org/1999/xlink",re=typeof window<"u"?window:{},A=re.document||{head:{}},N={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},Te=e=>Promise.resolve(e),P=!1,G=[],$e=[],Re=(e,t)=>s=>{e.push(s),P||(P=!0,t&&N.$flags$&4?Se(U):N.raf(U))},J=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){z(s)}e.length=0},U=()=>{J(G),J($e),(P=G.length>0)&&N.raf(U)},Se=e=>Te().then(e),ke=Re($e,!0),V={},Ee="http://www.w3.org/2000/svg",Ce="http://www.w3.org/1999/xhtml",Ae=e=>e!=null,ae=e=>(e=typeof e,e==="object"||e==="function"),Le={};Ne(Le,{err:()=>ie,map:()=>Oe,ok:()=>W,unwrap:()=>De,unwrapErr:()=>Me});var W=e=>({isOk:!0,isErr:!1,value:e}),ie=e=>({isOk:!1,isErr:!0,value:e});function Oe(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(e.isErr){let s=e.value;return ie(s)}throw"should never get here"}var De=e=>{if(e.isOk)return e.value;throw e.value},Me=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t="")=>()=>{},Fe=(e,t,...s)=>{let n=null,o=null,l=null,a=!1,i=!1,c=[],p=d=>{for(let $=0;$<d.length;$++)n=d[$],Array.isArray(n)?p(n):n!=null&&typeof n!="boolean"&&((a=!ae(n))&&(n=String(n)),a&&i?c[c.length-1].$text$+=n:c.push(a?B(null,n):n),i=a)};p(s);let u=B(e,null);return u.$attrs$=t,c.length>0&&(u.$children$=c),u.$key$=o,u.$name$=l,u},B=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},je={},Pe=e=>e&&e.$tag$===je,Y=(e,t,s,n,o,l)=>{if(s!==n){let a=I(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,p=Z(s),u=Z(n);c.remove(...p.filter(d=>d&&!u.includes(d))),c.add(...u.filter(d=>d&&!p.includes(d)))}else if(t==="style"){for(let c in s)(!n||n[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in n)(!s||n[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,n[c]):e.style[c]=n[c])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):I(re,i)?t=i.slice(2):t=i[2]+t.slice(3),s||n){let c=t.endsWith(ce);t=t.replace(We,""),s&&N.rel(e,t,s,c),n&&N.ael(e,t,n,c)}}else{let c=ae(n);if((a||c&&n!==null)&&!o)try{if(e.tagName.includes("-"))e[t]=n;else{let u=n??"";t==="list"?a=!1:(s==null||e[t]!=u)&&(e[t]=u)}}catch{}let p=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,p=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(p?e.removeAttributeNS(X,t):e.removeAttribute(t)):(!a||l&4||o)&&!c&&(n=n===!0?"":n,p?e.setAttributeNS(X,t,n):e.setAttribute(t,n))}}},Ue=/\s/,Z=e=>e?e.split(Ue):[],ce="Capture",We=new RegExp(ce+"$"),de=(e,t,s)=>{let n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||V,l=t.$attrs$||V;for(let a of ee(Object.keys(o)))a in l||Y(n,a,o[a],void 0,s,t.$flags$);for(let a of ee(Object.keys(l)))Y(n,a,o[a],l[a],s,t.$flags$)};function ee(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,H,k,O=!1,D=!1,q=!1,g=!1,M=(e,t,s,n)=>{var o;let l=t.$children$[s],a=0,i,c,p;if(O||(q=!0,l.$tag$==="slot"&&(T&&n.classList.add(T+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)i=l.$elm$=A.createTextNode(l.$text$);else if(l.$flags$&1)i=l.$elm$=A.createTextNode("");else{if(g||(g=l.$tag$==="svg"),i=l.$elm$=A.createElementNS(g?Ee:Ce,!O&&v.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),g&&l.$tag$==="foreignObject"&&(g=!1),de(null,l,g),i.getRootNode().querySelector("body")&&v.scoped&&Ae(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),Q(i,n),l.$children$)for(a=0;a<l.$children$.length;++a)c=M(e,l,a,i),c&&i.appendChild(c);l.$tag$==="svg"?g=!1:i.tagName==="foreignObject"&&(g=!0)}return i["s-hn"]=k,l.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=H,i["s-sn"]=l.$name$||"",i["s-rf"]=(o=l.$attrs$)==null?void 0:o.ref,p=e&&e.$children$&&e.$children$[s],p&&p.$tag$===l.$tag$&&e.$elm$&&E(e.$elm$,!1)),i},E=(e,t)=>{N.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&v.experimentalSlotFixes;for(let n=s.length-1;n>=0;n--){let o=s[n];o["s-hn"]!==k&&o["s-ol"]&&(w(pe(o),o,K(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,q=!0),t&&E(o,t)}N.$flags$&=-2},fe=(e,t,s,n,o,l)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===k&&(a=a.shadowRoot);o<=l;++o)n[o]&&(i=M(null,s,o,e),i&&(n[o].$elm$=i,w(a,i,K(t))))},ue=(e,t,s)=>{for(let n=t;n<=s;++n){let o=e[n];if(o){let l=o.$elm$;ge(o),l&&(D=!0,l["s-ol"]?l["s-ol"].remove():E(l,!0),l.remove())}}},Be=(e,t,s,n,o=!1)=>{let l=0,a=0,i=0,c=0,p=t.length-1,u=t[0],d=t[p],$=n.length-1,r=n[0],f=n[$],h,y;for(;l<=p&&a<=$;)if(u==null)u=t[++l];else if(d==null)d=t[--p];else if(r==null)r=n[++a];else if(f==null)f=n[--$];else if(C(u,r,o))R(u,r,o),u=t[++l],r=n[++a];else if(C(d,f,o))R(d,f,o),d=t[--p],f=n[--$];else if(C(u,f,o))(u.$tag$==="slot"||f.$tag$==="slot")&&E(u.$elm$.parentNode,!1),R(u,f,o),w(e,u.$elm$,d.$elm$.nextSibling),u=t[++l],f=n[--$];else if(C(d,r,o))(u.$tag$==="slot"||f.$tag$==="slot")&&E(d.$elm$.parentNode,!1),R(d,r,o),w(e,d.$elm$,u.$elm$),d=t[--p],r=n[++a];else{for(i=-1,c=l;c<=p;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===r.$key$){i=c;break}i>=0?(y=t[i],y.$tag$!==r.$tag$?h=M(t&&t[a],s,i,e):(R(y,r,o),t[i]=void 0,h=y.$elm$),r=n[++a]):(h=M(t&&t[a],s,a,e),r=n[++a]),h&&w(pe(u.$elm$),h,K(u.$elm$))}l>p?fe(e,n[$+1]==null?null:n[$+1].$elm$,s,n,a,$):a>$&&ue(t,l,p)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,K=e=>e&&e["s-ol"]||e,pe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,R=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,o=e.$children$,l=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(g=a==="svg"?!0:a==="foreignObject"?!1:g,a==="slot"&&!O||de(e,t,g),o!==null&&l!==null?Be(n,o,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),fe(n,null,t,l,0,l.length-1)):!s&&v.updatable&&o!==null&&ue(o,0,o.length-1),g&&a==="svg"&&(g=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(n.data=i)},he=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let n=s["s-sn"];s.hidden=!1;for(let o of t)if(o!==s){if(o["s-hn"]!==s["s-hn"]||n!==""){if(o.nodeType===1&&(n===o.getAttribute("slot")||n===o["s-sn"])||o.nodeType===3&&n===o["s-sn"]){s.hidden=!0;break}}else if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){s.hidden=!0;break}}}he(s)}},b=[],me=e=>{let t,s,n;for(let o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let l=o["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(te(t,l)){let a=b.find(i=>i.$nodeToRelocate$===t);D=!0,t["s-sn"]=t["s-sn"]||l,a?(a.$nodeToRelocate$["s-sh"]=o["s-hn"],a.$slotRefNode$=o):(t["s-sh"]=o["s-hn"],b.push({$slotRefNode$:o,$nodeToRelocate$:t})),t["s-sr"]&&b.map(i=>{te(i.$nodeToRelocate$,t["s-sn"])&&(a=b.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else b.some(a=>a.$nodeToRelocate$===t)||b.push({$nodeToRelocate$:t})}o.nodeType===1&&me(o)}},te=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",ge=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ge)},w=(e,t,s)=>{let n=e?.insertBefore(t,s);return Q(t,e),n},ye=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...ye(e.parentElement)),t},Q=(e,t,s=!1)=>{var n;if(e&&t&&e.nodeType===1){let o=new Set(ye(t).filter(Boolean));if(o.size&&((n=e.classList)==null||n.add(...e["s-scs"]=[...o]),e["s-ol"]||s))for(let l of Array.from(e.childNodes))Q(l,e,!0)}},He=(e,t,s=!1)=>{var n,o,l,a,i;let c=e.$hostElement$,p=e.$cmpMeta$,u=e.$vnode$||B(null,null),d=Pe(t)?t:Fe(null,null,t);if(k=c.tagName,p.$attrsToReflect$&&(d.$attrs$=d.$attrs$||{},p.$attrsToReflect$.map(([$,r])=>d.$attrs$[r]=c[$])),s&&d.$attrs$)for(let $ of Object.keys(d.$attrs$))c.hasAttribute($)&&!["key","ref","style","class"].includes($)&&(d.$attrs$[$]=c[$]);d.$tag$=null,d.$flags$|=4,e.$vnode$=d,d.$elm$=u.$elm$=c.shadowRoot||c,T=c["s-sc"],O=(p.$flags$&1)!==0,H=c["s-cr"],D=!1,R(u,d,s);{if(N.$flags$|=1,q){me(d.$elm$);for(let $ of b){let r=$.$nodeToRelocate$;if(!r["s-ol"]){let f=A.createTextNode("");f["s-nr"]=r,w(r.parentNode,r["s-ol"]=f,r)}}for(let $ of b){let r=$.$nodeToRelocate$,f=$.$slotRefNode$;if(f){let h=f.parentNode,y=f.nextSibling;{let x=(n=r["s-ol"])==null?void 0:n.previousSibling;for(;x;){let m=(o=x["s-nr"])!=null?o:null;if(m&&m["s-sn"]===r["s-sn"]&&h===m.parentNode){for(m=m.nextSibling;m===r||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){y=m;break}}x=x.previousSibling}}(!y&&h!==r.parentNode||r.nextSibling!==y)&&r!==y&&(!r["s-hn"]&&r["s-ol"]&&(r["s-hn"]=r["s-ol"].parentNode.nodeName),w(h,r,y),r.nodeType===1&&(r.hidden=(l=r["s-ih"])!=null?l:!1)),r&&typeof f["s-rf"]=="function"&&f["s-rf"](r)}else r.nodeType===1&&(s&&(r["s-ih"]=(a=r.hidden)!=null?a:!1),r.hidden=!0)}}D&&he(d.$elm$),N.$flags$&=-2,b.length=0}if(v.experimentalScopedSlotChanges&&p.$flags$&2)for(let $ of d.$elm$.childNodes)$["s-hn"]!==k&&!$["s-sh"]&&(s&&$["s-ih"]==null&&($["s-ih"]=(i=$.hidden)!=null?i:!1),$.hidden=!0);H=void 0},_e=(e,t)=>{},ze=(e,t)=>(e.$flags$|=16,_e(e,e.$ancestorComponent$),ke(()=>qe(e,t))),qe=(e,t)=>{let s=e.$hostElement$,n=L("scheduleUpdate",e.$cmpMeta$.$tagName$),o=s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=S(o,"componentWillUpdate"),l=ne(l,()=>S(o,"componentWillRender")),n(),ne(l,()=>Qe(e,o,t))},ne=(e,t)=>Ke(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=async(e,t,s)=>{let n=e.$hostElement$,o=L("update",e.$cmpMeta$.$tagName$);n["s-rc"];let l=L("render",e.$cmpMeta$.$tagName$);Ie(e,t,n,s),l(),o(),Xe(e)},_=null,Ie=(e,t,s,n)=>{try{_=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(v.hasRenderFn||v.reflect)&&(v.vdomRender||v.reflect)&&(v.hydrateServerSide||He(e,t,n))}catch(o){z(o,e.$hostElement$)}return _=null,null},se=()=>_,Xe=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=L("postUpdate",t),o=s;e.$ancestorComponent$,S(o,"componentDidRender"),e.$flags$&64?(S(o,"componentDidUpdate"),n()):(e.$flags$|=64,S(o,"componentDidLoad"),n())},oe=e=>{{let t=xe(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&ze(t,!1),s}},S=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){z(n)}},Ge=(e,t,s)=>{let n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])},Je=(e,t)=>{let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...n)},t)}},Ve=e=>!("isConnected"in e)||e.isConnected,le=Je(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(Ve))},2e3),Ye=()=>{if(typeof se!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=se();s&&Ge(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(oe)),le(e)},reset:()=>{e.forEach(t=>t.forEach(oe)),le(e)}}},F=e=>typeof e=="function"?e():e,Ze=(e,t=(s,n)=>s!==n)=>{let s=F(e),n=new Map(Object.entries(s??{})),o={dispose:[],get:[],set:[],reset:[]},l=new Map,a=()=>{n=new Map(Object.entries(F(e)??{})),o.reset.forEach($=>$())},i=()=>{o.dispose.forEach($=>$()),a()},c=$=>(o.get.forEach(r=>r($)),n.get($)),p=($,r)=>{let f=n.get($);t(r,f,$)&&(n.set($,r),o.set.forEach(h=>h($,r,f)))},u=typeof Proxy>"u"?{}:new Proxy(s,{get($,r){return c(r)},ownKeys($){return Array.from(n.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has($,r){return n.has(r)},set($,r,f){return p(r,f),!0}}),d=($,r)=>(o[$].push(r),()=>{j(o[$],r)});return{state:u,get:c,set:p,on:d,onChange:($,r)=>{let f=(m,ve)=>{m===$&&r(ve)},h=()=>r(F(e)[$]),y=d("set",f),x=d("reset",h);return l.set(r,{setHandler:f,resetHandler:h,propName:$}),()=>{y(),x(),l.delete(r)}},use:(...$)=>{let r=$.reduce((f,h)=>(h.set&&f.push(d("set",h.set)),h.get&&f.push(d("get",h.get)),h.reset&&f.push(d("reset",h.reset)),h.dispose&&f.push(d("dispose",h.dispose)),f),[]);return()=>r.forEach(f=>f())},dispose:i,reset:a,forceUpdate:$=>{let r=n.get($);o.set.forEach(f=>f($,r,r))},removeListener:($,r)=>{let f=l.get(r);f&&f.propName===$&&(j(o.set,f.setHandler),j(o.reset,f.resetHandler),l.delete(r))}}},j=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},et=(e,t)=>{let s=Ze(e,t);return s.use(Ye()),s};export{et as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250812 */
4
- import{b as l}from"./HLH3CEN7.js";import{b as m}from"./HV42PHN2.js";import{h as t,i as r,w as p,x as o,y as n}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var h=t`/** @license
3
+ v1.1.0-next.20250814 */
4
+ import{b as l}from"./Y5ITNA7H.js";import{b as m}from"./4VDUJIVA.js";import{h as t,i as r,w as p,x as o,y as n}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";var h=t`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,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.20250812 */
4
- import{a as l}from"./A6JEFTX2.js";import"./XIHWGWOZ.js";import"./HMNRBKGU.js";import"./WD5PKUU3.js";import{a as t}from"./S6RJHHML.js";import"./34UNGHTX.js";import"./32VJQFM7.js";import"./FBYQBRBZ.js";import"./YYNOCEWC.js";import"./3GPBADMZ.js";import"./SV2EP4JK.js";import"./TP3Q4JTG.js";import"./MXAI3H2Y.js";import"./IQJONGSP.js";import"./NACVBQNC.js";import"./PTSO747J.js";import"./KAR4LTJL.js";import"./SPFFRGBK.js";import"./XRX2HXXR.js";import"./YETOFDZ6.js";import"./2YT2RFVI.js";import"./ZZYWNVZZ.js";import"./3EHO5HEG.js";import"./OUK52IIO.js";import"./OBWKJWXC.js";import"./SPF74Q42.js";import"./6IJOFEAH.js";import"./2BXUT6DX.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
3
+ v1.1.0-next.20250814 */
4
+ import{a as l}from"./NVI5TEOI.js";import"./QST55MDE.js";import"./H752522M.js";import"./YKSLBBBW.js";import{a as t}from"./EJPEGRC5.js";import"./6CE3P6MK.js";import"./OQLSBZBK.js";import"./5GN3UTVY.js";import"./HOP7ALIK.js";import"./ARCKDH5K.js";import"./6V7OF3L5.js";import"./4QMK76M4.js";import"./TTV4NRBC.js";import"./4GLART42.js";import"./6UNISOCW.js";import"./ABJR44TO.js";import"./X7AWZSTB.js";import"./QMB4QM6Y.js";import"./2A5LFLWY.js";import"./7EK6RHGO.js";import"./JXB5LIL6.js";import"./MGTNVXN6.js";import"./DA7Z7I7X.js";import"./CSM3L6AR.js";import"./BUNVS4W5.js";import"./KVWD2NCD.js";import"./BO3S7FKQ.js";import"./K6Y7PB4W.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250812 */
4
- import{a as u}from"./GREGLFM2.js";import a from"./WX2FTC64.js";import{a as x}from"./CQY3643E.js";import{a as C}from"./V4P44XCJ.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./YGKFRUZE.js";import{b as S}from"./VEECODKP.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{A as d,h as y,i as s,q as I,w as E,x as v,y as T}from"./QIXFH7VY.js";import"./2BXUT6DX.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=C({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${x("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading&&s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`||""}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem&&s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`||""}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
3
+ v1.1.0-next.20250814 */
4
+ import{a as u}from"./FVTQPVHE.js";import a from"./NLMLINN5.js";import{a as x}from"./IK7F27QS.js";import{a as C}from"./4D2YRN2T.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./AA7WFQB6.js";import{b as S}from"./USF6ABOG.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{A as d,h as y,i as s,q as I,w as E,x as v,y as T}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=C({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${x("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250812 */
4
- import{a as l}from"./V4P44XCJ.js";import{b as h}from"./VEECODKP.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{A as n,h as i,i as a,y as r}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
3
+ v1.1.0-next.20250814 */
4
+ import{a as l}from"./4D2YRN2T.js";import{b as h}from"./USF6ABOG.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{A as n,h as i,i as a,y as r}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
@@ -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.20250812 */
4
- import{b as e}from"./ZZYWNVZZ.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
3
+ v1.1.0-next.20250814 */
4
+ import{b as e}from"./MGTNVXN6.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
@@ -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.20250812 */
4
- import{a as f}from"./CQY3643E.js";import{a as _}from"./7ZJMMRH4.js";import{a as S}from"./V4P44XCJ.js";import{B as D,C as I}from"./YGKFRUZE.js";import{b as L}from"./VEECODKP.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{A as p,h as v,i as l,k as m,n as E,w as b,x as $,y as C}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
3
+ v1.1.0-next.20250814 */
4
+ import{a as f}from"./IK7F27QS.js";import{a as _}from"./GGVBPUEY.js";import{a as S}from"./4D2YRN2T.js";import{B as D,C as I}from"./AA7WFQB6.js";import{b as L}from"./USF6ABOG.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{A as p,h as v,i as l,k as m,n as E,w as b,x as $,y as C}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
@@ -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.20250812 */
4
- import{a as w}from"./QADRNTEK.js";import"./VGRCZ36H.js";import{c as R,h as O,i as V}from"./5PNJQEHL.js";import{d as n,e as h,g as $}from"./MKDZNMY7.js";import{d as E}from"./EUSLG7J4.js";import{a as x}from"./BPDYH25K.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{b as L}from"./HV42PHN2.js";import{h as I,i as p,n as m,q as k,w as g,x as _,y as v}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var A=I`@layer{/** @license
3
+ v1.1.0-next.20250814 */
4
+ import{a as w}from"./V3BJ3C7G.js";import"./JER6JZXQ.js";import{c as R,h as O,i as V}from"./YAIWCQES.js";import{d as n,e as h,g as $}from"./LRZ2H4VM.js";import{d as E}from"./6X64VRXD.js";import{a as x}from"./4CBNOR6N.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{b as L}from"./4VDUJIVA.js";import{h as I,i as p,n as m,q as k,w as g,x as _,y as v}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";var A=I`@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.20250812 */
4
- import{a as p}from"./CQY3643E.js";import{a as x}from"./V4P44XCJ.js";import{b as _}from"./VEECODKP.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{A as r,h,i as s,w as g,x as u,y as m}from"./QIXFH7VY.js";import"./2BXUT6DX.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.20250814 */
4
+ import{a as p}from"./IK7F27QS.js";import{a as x}from"./4D2YRN2T.js";import{b as _}from"./USF6ABOG.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{A as r,h,i as s,w as g,x as u,y as m}from"./CFK3L2YF.js";import"./K6Y7PB4W.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};