@esri/solutions-components 1.1.0-next.20250909 → 1.1.0-next.20250910.1

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 (460) hide show
  1. package/dist/cdn/{3OXYTK44.js → 24XDWYKV.js} +2 -2
  2. package/dist/cdn/{7PTKLN2L.js → 257ICJ4X.js} +2 -2
  3. package/dist/cdn/{3FT7DZQT.js → 26CPSMP6.js} +2 -2
  4. package/dist/cdn/{VDHLUGNH.js → 2IPTPDJJ.js} +2 -2
  5. package/dist/cdn/{7MP6QCRU.js → 2IXAGNUN.js} +1 -1
  6. package/dist/cdn/{G46QXOFC.js → 2LG355WX.js} +2 -2
  7. package/dist/cdn/2LOCTUXZ.js +18 -0
  8. package/dist/cdn/{YXOAO34M.js → 2PSI6SNZ.js} +1 -1
  9. package/dist/cdn/{JQSJNTDU.js → 2VLHEB7B.js} +2 -2
  10. package/dist/cdn/{QBNNAIIS.js → 36FA65ZE.js} +2 -2
  11. package/dist/cdn/36UDL2ZS.js +21 -0
  12. package/dist/cdn/{N2X7VTBK.js → 3C2BNZBL.js} +2 -2
  13. package/dist/cdn/{5ER2HR4Y.js → 3EWPRYKN.js} +2 -2
  14. package/dist/cdn/{AT3PDUYQ.js → 3HQ3OQQX.js} +2 -2
  15. package/dist/cdn/{ZRW6EZNM.js → 3M3MLSW6.js} +1 -1
  16. package/dist/cdn/{DUOZ7W43.js → 3QI4JEPT.js} +2 -2
  17. package/dist/cdn/{RAHAWTMR.js → 3QPT6M3D.js} +2 -2
  18. package/dist/cdn/{YJLGRVTF.js → 3T66KYR3.js} +2 -2
  19. package/dist/cdn/{XAOJRRMY.js → 3VAICNR3.js} +2 -2
  20. package/dist/cdn/{ZC3OC2A2.js → 426ED2VJ.js} +2 -2
  21. package/dist/cdn/{NT6UNLKW.js → 42MQKQDN.js} +2 -2
  22. package/dist/cdn/{33KYV3TB.js → 454AAUCM.js} +1 -1
  23. package/dist/cdn/{O63CASVY.js → 472ZZDGS.js} +2 -2
  24. package/dist/cdn/{VYESLYAK.js → 4DMRVREN.js} +2 -2
  25. package/dist/cdn/{7ZBA3GXA.js → 4FUL4LTQ.js} +2 -2
  26. package/dist/cdn/{3U5V45B4.js → 4LONNHGH.js} +2 -2
  27. package/dist/cdn/{UUIPF6XU.js → 4PVGCI2U.js} +2 -2
  28. package/dist/cdn/{ITHC73SW.js → 52G3RSHQ.js} +2 -2
  29. package/dist/cdn/{7JS57NNO.js → 52TXHALD.js} +2 -2
  30. package/dist/cdn/{5EVF6RIK.js → 57E326AG.js} +1 -1
  31. package/dist/cdn/{WNWWH4L2.js → 5BI6EWEY.js} +1 -1
  32. package/dist/cdn/{QRYMDSKR.js → 5BTS2MRF.js} +2 -2
  33. package/dist/cdn/{2P3D72M3.js → 5C6NWJJO.js} +2 -2
  34. package/dist/cdn/{JUZZLRHO.js → 5DNBCIX3.js} +2 -2
  35. package/dist/cdn/{ZJHHH5QQ.js → 5EWOPJVU.js} +2 -2
  36. package/dist/cdn/{XDO4C6J2.js → 5IQCZZPM.js} +2 -2
  37. package/dist/cdn/{WDW62BEP.js → 5JVCGDPQ.js} +2 -2
  38. package/dist/cdn/{EUE7BXOZ.js → 5MTRZP55.js} +2 -2
  39. package/dist/cdn/{PCZ2MQNE.js → 5SFAJGR5.js} +2 -2
  40. package/dist/cdn/{R4JF5HGP.js → 62GBADLT.js} +2 -2
  41. package/dist/cdn/{UJARYVVU.js → 63E3NLUC.js} +2 -2
  42. package/dist/cdn/{YPESSINV.js → 63YTEXJK.js} +2 -2
  43. package/dist/cdn/{JGWCUAIV.js → 64SUMFOH.js} +1 -1
  44. package/dist/cdn/{ZKUPJWA7.js → 65CWROZ6.js} +2 -2
  45. package/dist/cdn/{4PNHMOR7.js → 67P43IKY.js} +2 -2
  46. package/dist/cdn/{MUDQYQHV.js → 6CD72XGX.js} +2 -2
  47. package/dist/cdn/{63WMNL6A.js → 6GXS32LZ.js} +2 -2
  48. package/dist/cdn/{ARK5Y77X.js → 6NKOAWXU.js} +1 -1
  49. package/dist/cdn/{5A4RTFGF.js → 6NR6L4K2.js} +2 -2
  50. package/dist/cdn/{A32KXUMW.js → 6SLEHMMB.js} +2 -2
  51. package/dist/cdn/{ZKCPLYXB.js → 6YWBMK5D.js} +2 -2
  52. package/dist/cdn/{L32W6BHR.js → 77ZXTY75.js} +2 -2
  53. package/dist/cdn/{TSRKSBXR.js → 7CYCM3Z5.js} +2 -2
  54. package/dist/cdn/{7XGSDOHX.js → 7GL4OVRO.js} +2 -2
  55. package/dist/cdn/{3HXGNNSP.js → 7JZ2YFB2.js} +2 -2
  56. package/dist/cdn/{7FBWJQQL.js → 7KL6Q3B3.js} +1 -1
  57. package/dist/cdn/{5PMAZ6BI.js → 7LJV36QZ.js} +2 -2
  58. package/dist/cdn/{5XBIIGQZ.js → 7M6LUBEJ.js} +2 -2
  59. package/dist/cdn/{2NB7L4WW.js → 7MZ2LMEC.js} +2 -2
  60. package/dist/cdn/{FOAQYWLO.js → 7N5GEORH.js} +2 -2
  61. package/dist/cdn/{YUA2JH3I.js → 7O45FV6E.js} +2 -2
  62. package/dist/cdn/{QMTUSZFV.js → 7PDOAR65.js} +2 -2
  63. package/dist/cdn/{2X5ZYFMQ.js → 7WEYWMO5.js} +2 -2
  64. package/dist/cdn/{WHK5WHZK.js → A34QXM55.js} +1 -1
  65. package/dist/cdn/{VVHYD2YV.js → AFZSJ23K.js} +2 -2
  66. package/dist/cdn/{4GG72A4J.js → AHZSIQ7Z.js} +2 -2
  67. package/dist/cdn/{7SM57VCR.js → AIPTF2E4.js} +1 -1
  68. package/dist/cdn/{Q2NSFB52.js → ALMIPQAJ.js} +2 -2
  69. package/dist/cdn/{VLCEMPLQ.js → ALWC3AYZ.js} +2 -2
  70. package/dist/cdn/{QORQMWTN.js → AMIVZN2B.js} +2 -2
  71. package/dist/cdn/{YKBRJYF6.js → AQMYQ62J.js} +1 -1
  72. package/dist/cdn/{HEBDRFOD.js → ARRRTMLK.js} +2 -2
  73. package/dist/cdn/{DMPU2BJ2.js → ASKCSZXH.js} +2 -2
  74. package/dist/cdn/{7MVIKH5A.js → AT6CT66J.js} +2 -2
  75. package/dist/cdn/{KTFVK4VG.js → AXFT4FGB.js} +2 -2
  76. package/dist/cdn/{BUBHIWNJ.js → AYQL2HEP.js} +2 -2
  77. package/dist/cdn/{N3X6K5TM.js → B5M5JEFE.js} +2 -2
  78. package/dist/cdn/{3VTCD7NO.js → BD6GZ2TK.js} +2 -2
  79. package/dist/cdn/{DMB5HW2W.js → BG2K5X3H.js} +2 -2
  80. package/dist/cdn/{GPCG3O32.js → BHKDDXVE.js} +2 -2
  81. package/dist/cdn/{ONQGWMN4.js → BVKEGDHM.js} +2 -2
  82. package/dist/cdn/{5PXJYXNP.js → BWSOYGPQ.js} +2 -2
  83. package/dist/cdn/{AS3XKXFE.js → BZ7I7OVA.js} +2 -2
  84. package/dist/cdn/{66VSR6R3.js → C5B2ZQXT.js} +2 -2
  85. package/dist/cdn/{YQQLKKMP.js → CB55XZJQ.js} +2 -2
  86. package/dist/cdn/{XO6WMP5B.js → CFCBEIMW.js} +2 -2
  87. package/dist/cdn/{56WREZJR.js → CFTNHNDO.js} +2 -2
  88. package/dist/cdn/{WNQSJIMZ.js → CJN7MLHV.js} +2 -2
  89. package/dist/cdn/{QO7AKCAK.js → CK4PZ242.js} +1 -1
  90. package/dist/cdn/{LOL3BHLQ.js → CKU2K5WH.js} +2 -2
  91. package/dist/cdn/{MOCODPAY.js → CRN3T3KQ.js} +2 -2
  92. package/dist/cdn/{AUVMY25O.js → CWAKQBUB.js} +2 -2
  93. package/dist/cdn/{GKACHUTS.js → CWDC5M42.js} +2 -2
  94. package/dist/cdn/{WLMKPX4D.js → CXA5LFAX.js} +2 -2
  95. package/dist/cdn/{NAJLHRBC.js → D2TCEQDF.js} +2 -2
  96. package/dist/cdn/D3TI4W6H.js +4 -0
  97. package/dist/cdn/{N3CF3XWZ.js → D66VHSAD.js} +2 -2
  98. package/dist/cdn/{FADVMVKG.js → D7RQ73KT.js} +2 -2
  99. package/dist/cdn/{EW5YY2GX.js → DAYUDBBU.js} +2 -2
  100. package/dist/cdn/{NXKCWUWK.js → DBZ3HZRZ.js} +2 -2
  101. package/dist/cdn/{EFI32N5B.js → DDZZKSOZ.js} +2 -2
  102. package/dist/cdn/{HOSK5TNF.js → DFBYMVWV.js} +2 -2
  103. package/dist/cdn/{GJGDG2IV.js → DGPEVIQZ.js} +2 -2
  104. package/dist/cdn/{3JTIIRVT.js → DHDWWTTV.js} +1 -1
  105. package/dist/cdn/{B6HND2XY.js → DI4ESMTW.js} +2 -2
  106. package/dist/cdn/{LMQDNLRQ.js → DKGSZNT3.js} +2 -2
  107. package/dist/cdn/{CNZIRIWD.js → DPYO2Y27.js} +2 -2
  108. package/dist/cdn/{CO7CO6AN.js → E2DTA6HV.js} +2 -2
  109. package/dist/cdn/{F5JBATY5.js → E2TZF6GN.js} +2 -2
  110. package/dist/cdn/{T43D2OV7.js → E32I3A4X.js} +2 -2
  111. package/dist/cdn/{YGR2FZ3P.js → EAGN7LMP.js} +2 -2
  112. package/dist/cdn/{STNBBJ2V.js → EB5CVOFV.js} +2 -2
  113. package/dist/cdn/{GJHQBYUN.js → EF3E56LB.js} +2 -2
  114. package/dist/cdn/{DNUY5LCQ.js → EGRFOXJZ.js} +2 -2
  115. package/dist/cdn/{G2HYUWXC.js → EH76FIZ2.js} +2 -2
  116. package/dist/cdn/{5DSYJUJ5.js → EHGR3CQY.js} +2 -2
  117. package/dist/cdn/{T6MR7AMZ.js → EHKGAJSZ.js} +2 -2
  118. package/dist/cdn/{JHCUA6WP.js → EJP3F75A.js} +2 -2
  119. package/dist/cdn/{ZZKFXBSR.js → EZ5EERHG.js} +2 -2
  120. package/dist/cdn/{EOURWNJJ.js → EZPA6HBN.js} +2 -2
  121. package/dist/cdn/{D3YHOAQH.js → F5XOAHEM.js} +1 -1
  122. package/dist/cdn/{AAOKKWI4.js → FB7MM7LH.js} +2 -2
  123. package/dist/cdn/{NSCZOCYT.js → FE5BQ7AH.js} +2 -2
  124. package/dist/cdn/{SLGBD6TO.js → FEXMIZO4.js} +2 -2
  125. package/dist/cdn/{LGD77Q5Y.js → FFF6NXJD.js} +2 -2
  126. package/dist/cdn/FQGC3DD7.js +4 -0
  127. package/dist/cdn/{2HI3QER3.js → FWNXDKA6.js} +2 -2
  128. package/dist/cdn/{XJT3QZ5Y.js → FXYSPMOA.js} +2 -2
  129. package/dist/cdn/{GKFDXG2P.js → FYSDJ4NL.js} +2 -2
  130. package/dist/cdn/{JZZSB6XX.js → G7OIXOFV.js} +2 -2
  131. package/dist/cdn/{XV6QLESW.js → GCCIFJAK.js} +2 -2
  132. package/dist/cdn/{DFQWPQRT.js → GFJE75G6.js} +2 -2
  133. package/dist/cdn/{FB7CT23L.js → GH76KR7G.js} +2 -2
  134. package/dist/cdn/{XSLJLG6Z.js → GMHJTSRQ.js} +2 -2
  135. package/dist/cdn/{3C44ESN3.js → GMUDKQC5.js} +2 -2
  136. package/dist/cdn/{MBC4EBO3.js → GUX67N3E.js} +2 -2
  137. package/dist/cdn/{GEMPDM2Q.js → GVDGJ6AX.js} +1 -1
  138. package/dist/cdn/{FMSFCM4O.js → H2IPXFDN.js} +2 -2
  139. package/dist/cdn/{LAR3A322.js → H6BZZUHP.js} +2 -2
  140. package/dist/cdn/{7EVNV3UY.js → H6UYY32H.js} +2 -2
  141. package/dist/cdn/{ADAOIDIQ.js → H7QP3F3T.js} +2 -2
  142. package/dist/cdn/{W2YEFCJC.js → HBDMIGI6.js} +1 -1
  143. package/dist/cdn/HILUPNGJ.js +4 -0
  144. package/dist/cdn/{QXHBFO3N.js → HLLCSJ6W.js} +2 -2
  145. package/dist/cdn/{HYNYTSJA.js → HOLLAORG.js} +2 -2
  146. package/dist/cdn/{5K7RJOVI.js → HYUXCZG4.js} +1 -1
  147. package/dist/cdn/{PUGOZ356.js → HZRR2DE4.js} +2 -2
  148. package/dist/cdn/{S2BECSBW.js → I2AUDNAV.js} +1 -1
  149. package/dist/cdn/{56XIBM7W.js → IBZHVUY2.js} +2 -2
  150. package/dist/cdn/{4UIB5DCF.js → IF5GNN6U.js} +2 -2
  151. package/dist/cdn/{2I45CN3E.js → IGYVYWZ5.js} +2 -2
  152. package/dist/cdn/{DH7Y6L4L.js → IKXOD3CO.js} +2 -2
  153. package/dist/cdn/{N5D5LSZJ.js → ILTZCBGN.js} +2 -2
  154. package/dist/cdn/{WQMS24OO.js → IMDTBX4T.js} +2 -2
  155. package/dist/cdn/{LQIWHTG3.js → IRFZHAWE.js} +2 -2
  156. package/dist/cdn/{FGT6NTNU.js → ISA2EK4Z.js} +2 -2
  157. package/dist/cdn/{YGQJBD4Y.js → IVOYSFW7.js} +2 -2
  158. package/dist/cdn/{QVTO6TIF.js → IY2VNAQZ.js} +1 -1
  159. package/dist/cdn/J2MYLP36.js +4 -0
  160. package/dist/cdn/{ZROHJ4QZ.js → J3I6KA34.js} +2 -2
  161. package/dist/cdn/{AE6H6WOB.js → J6NDCNWY.js} +2 -2
  162. package/dist/cdn/{6FOPG4QF.js → J7AAPKZJ.js} +2 -2
  163. package/dist/cdn/{BI2ZRTI3.js → J7DARDRT.js} +2 -2
  164. package/dist/cdn/{MIAAWCQ7.js → JDP7MA56.js} +2 -2
  165. package/dist/cdn/{H3HMZBWD.js → JFN7WHFQ.js} +2 -2
  166. package/dist/cdn/{WVJ22VHR.js → JMBSVZWY.js} +2 -2
  167. package/dist/cdn/{4J2EEVQC.js → JMR4PIJS.js} +2 -2
  168. package/dist/cdn/{FZHKSCR7.js → JO4ATJDW.js} +2 -2
  169. package/dist/cdn/{IIOCBWYX.js → JP2R2KF2.js} +1 -1
  170. package/dist/cdn/{VD5D7WZH.js → JTLWXL36.js} +2 -2
  171. package/dist/cdn/{FD7FNNGL.js → JVA5DL47.js} +2 -2
  172. package/dist/cdn/{6YD4MRGM.js → K375JPS4.js} +2 -2
  173. package/dist/cdn/{67D3MUMO.js → K3BYV3AU.js} +2 -2
  174. package/dist/cdn/{EIL5GTU4.js → K3VFJGE6.js} +2 -2
  175. package/dist/cdn/{IDNQLVSG.js → K6B5YEY5.js} +2 -2
  176. package/dist/cdn/{LVE3AUBV.js → K6FVMKPD.js} +2 -2
  177. package/dist/cdn/{6NOVF62H.js → KIYBMSMM.js} +2 -2
  178. package/dist/cdn/{PXI2F3NJ.js → KJIY2VBN.js} +1 -1
  179. package/dist/cdn/{KEKWBOGA.js → KJSQKKHT.js} +4 -4
  180. package/dist/cdn/{LJBZG3ZD.js → KMBBYQRC.js} +2 -2
  181. package/dist/cdn/{3ECPGYSE.js → KULPDVRS.js} +2 -2
  182. package/dist/cdn/{3AEAT3JU.js → KW2B2GLB.js} +2 -2
  183. package/dist/cdn/{WBK22WUY.js → KXHAGJOQ.js} +2 -2
  184. package/dist/cdn/{76OKZB2G.js → L22D4L2S.js} +2 -2
  185. package/dist/cdn/{2NH5VBZI.js → L2AKLTJL.js} +2 -2
  186. package/dist/cdn/{JY45MOBI.js → L5XIXH4K.js} +2 -2
  187. package/dist/cdn/{A2OC3ERA.js → LIA47KT3.js} +2 -2
  188. package/dist/cdn/{WOL7TEL4.js → LKAK2JPD.js} +1 -1
  189. package/dist/cdn/{56FTP2RC.js → LRN6EVKD.js} +2 -2
  190. package/dist/cdn/{TRY5O6BF.js → LXPANUEN.js} +2 -2
  191. package/dist/cdn/{ODTKDZ5Q.js → LYYQTMEF.js} +1 -1
  192. package/dist/cdn/{K57FBRKL.js → M3WB37IV.js} +2 -2
  193. package/dist/cdn/{U6MX5EBF.js → MB7QV4LW.js} +2 -2
  194. package/dist/cdn/{QBIHVFO7.js → MD6LF7JL.js} +2 -2
  195. package/dist/cdn/{HNPXWOOY.js → MIATNONP.js} +2 -2
  196. package/dist/cdn/{C2BDBSPV.js → MJRPGRZ3.js} +2 -2
  197. package/dist/cdn/{ZYCZJNUF.js → MOFOFYOT.js} +2 -2
  198. package/dist/cdn/{L4XTL7WT.js → MQCBZXVN.js} +2 -2
  199. package/dist/cdn/{DO3B46LG.js → MSBDWOS3.js} +1 -1
  200. package/dist/cdn/{CKSUAEW7.js → MUGNITEU.js} +2 -2
  201. package/dist/cdn/{UBGFX4E2.js → MWODBSGD.js} +2 -2
  202. package/dist/cdn/{R75RUQBG.js → MWP27FBT.js} +2 -2
  203. package/dist/cdn/{FOLIGOQV.js → N5GLWQV2.js} +2 -2
  204. package/dist/cdn/{67NKDIT7.js → NBJ3DMXN.js} +2 -2
  205. package/dist/cdn/{7KRL4JM2.js → NCKNYJ6S.js} +2 -2
  206. package/dist/cdn/{UIGOQH3Z.js → NDKNCPOM.js} +2 -2
  207. package/dist/cdn/{NHMWRMI7.js → NDSR2M5D.js} +2 -2
  208. package/dist/cdn/{VJ5HQH46.js → NKC2ZM3A.js} +2 -2
  209. package/dist/cdn/{LXKUMZWJ.js → NLCLVI26.js} +2 -2
  210. package/dist/cdn/{AZQCH32K.js → NPXU54CX.js} +2 -2
  211. package/dist/cdn/{FNZVJSWG.js → NRDV6TV5.js} +2 -2
  212. package/dist/cdn/{HZ2SUTRD.js → NRPXKLIZ.js} +2 -2
  213. package/dist/cdn/{JIBR3TEK.js → NTNYKARB.js} +2 -2
  214. package/dist/cdn/{YBU6TCOK.js → NZECTCEX.js} +2 -2
  215. package/dist/cdn/{67RPNT5L.js → O2ACUDA6.js} +2 -2
  216. package/dist/cdn/{UQH6ROLH.js → O52L4O4U.js} +2 -2
  217. package/dist/cdn/{VNGMQ6OX.js → OEOCZKFB.js} +2 -2
  218. package/dist/cdn/{2P47INOH.js → OFMEBUEX.js} +2 -2
  219. package/dist/cdn/OGLOID67.js +18 -0
  220. package/dist/cdn/{6BI4AFFV.js → OHPSPQ27.js} +2 -2
  221. package/dist/cdn/{4JETL4TY.js → OI2ZKFNI.js} +2 -2
  222. package/dist/cdn/{2ZSAIDWK.js → OJKL6G37.js} +2 -2
  223. package/dist/cdn/OLJKFSN7.js +4 -0
  224. package/dist/cdn/{SPCUOTIA.js → OLTYFDCI.js} +1 -1
  225. package/dist/cdn/{AQUF57HA.js → OMSKPLQP.js} +2 -2
  226. package/dist/cdn/{6MTKFVL5.js → OSEYEALS.js} +2 -2
  227. package/dist/cdn/{O5EQWEZ7.js → OVBCAQZR.js} +2 -2
  228. package/dist/cdn/{HNE5W6WS.js → OVTWAO3W.js} +2 -2
  229. package/dist/cdn/{OVG6OOVT.js → OXIH74YN.js} +2 -2
  230. package/dist/cdn/{WS7EMZ3Z.js → OYRE33AG.js} +2 -2
  231. package/dist/cdn/{ZP4ANXBM.js → OYSPAZBM.js} +2 -2
  232. package/dist/cdn/{27VSDD3G.js → OYWM7I56.js} +2 -2
  233. package/dist/cdn/{DK2TSWOL.js → OZVO2DEL.js} +2 -2
  234. package/dist/cdn/{RPQ6TGCW.js → PLPUZFFH.js} +2 -2
  235. package/dist/cdn/{FI5BQHWO.js → PNSYGT53.js} +2 -2
  236. package/dist/cdn/{7ZGUYNIS.js → PNTGDETM.js} +2 -2
  237. package/dist/cdn/{DXWHCJB3.js → PNUG753I.js} +2 -2
  238. package/dist/cdn/{XOV7PTYS.js → PPVKMCVO.js} +2 -2
  239. package/dist/cdn/{4UEZLWJA.js → PT3SBFQX.js} +2 -2
  240. package/dist/cdn/{QFKODMY2.js → PTEIJ66G.js} +2 -2
  241. package/dist/cdn/{G5KKQLCC.js → PVCDHV3Q.js} +2 -2
  242. package/dist/cdn/{OJDU53HJ.js → PWIMTC4R.js} +2 -2
  243. package/dist/cdn/{FVNW65L4.js → Q7AGL4LT.js} +2 -2
  244. package/dist/cdn/{WLVJ5PSZ.js → QDFVZYQ3.js} +2 -2
  245. package/dist/cdn/{IL5HDW3E.js → QLMPHXBF.js} +2 -2
  246. package/dist/cdn/{SLINFYQE.js → QQW3LB3L.js} +2 -2
  247. package/dist/cdn/{HIP466MX.js → R6KKTBGT.js} +2 -2
  248. package/dist/cdn/{JH5GBKDT.js → RB3GSXDR.js} +2 -2
  249. package/dist/cdn/{PIFZ6WV5.js → RBABITUZ.js} +2 -2
  250. package/dist/cdn/{MIZLXMGY.js → RC77QGTW.js} +2 -2
  251. package/dist/cdn/{AIZV4CWB.js → ROH4HEPI.js} +2 -2
  252. package/dist/cdn/{5OBQPUOD.js → RQ2PBNMJ.js} +2 -2
  253. package/dist/cdn/{JW3NIUEN.js → RQRQO2S5.js} +2 -2
  254. package/dist/cdn/{DFYQ2DV7.js → RSZ2NCUH.js} +2 -2
  255. package/dist/cdn/{HKZOGL3Q.js → RT55EC2Q.js} +2 -2
  256. package/dist/cdn/{B6CECY74.js → RT6VAK3A.js} +2 -2
  257. package/dist/cdn/{IVUPXZ5F.js → RWNP44AQ.js} +2 -2
  258. package/dist/cdn/{IYLQCVU6.js → RY5VWPZ5.js} +2 -2
  259. package/dist/cdn/RZJ7XEAA.js +4 -0
  260. package/dist/cdn/{B2GTZQJH.js → RZPHHUX2.js} +2 -2
  261. package/dist/cdn/{4JLMUOEH.js → S3MKKCSX.js} +1 -1
  262. package/dist/cdn/{M2FSHG7J.js → SAQVIWXI.js} +1 -1
  263. package/dist/cdn/{NTSIPZDQ.js → SEMZSBY4.js} +2 -2
  264. package/dist/cdn/{H5RL4J7G.js → SFW7USRQ.js} +2 -2
  265. package/dist/cdn/{V7XNIHP2.js → SJ5QMMOX.js} +2 -2
  266. package/dist/cdn/{3SPAMIDI.js → SJIX367C.js} +2 -2
  267. package/dist/cdn/{BWHH75CQ.js → SNEHQV5Z.js} +2 -2
  268. package/dist/cdn/{H6245KIV.js → SOGRD2JJ.js} +2 -2
  269. package/dist/cdn/{MSJ4SEEI.js → SSZWLLF3.js} +2 -2
  270. package/dist/cdn/{3JOAUTCT.js → T6J2DJ63.js} +2 -2
  271. package/dist/cdn/{HE4JNXQB.js → TAKTIID3.js} +1 -1
  272. package/dist/cdn/{4OUWYBZV.js → TIHZ3PKG.js} +1 -1
  273. package/dist/cdn/{D3ZWGN6V.js → TOX2SKRM.js} +2 -2
  274. package/dist/cdn/{YGJ6CAIL.js → TQG5BBF5.js} +1 -1
  275. package/dist/cdn/{7ZMY5HMA.js → TTEW4AOW.js} +2 -2
  276. package/dist/cdn/{Q4S42YNK.js → TTYNFOJV.js} +2 -2
  277. package/dist/cdn/{JJJQPYWJ.js → TUXPSW3B.js} +2 -2
  278. package/dist/cdn/{DP6FSWN3.js → U7HGC4JT.js} +2 -2
  279. package/dist/cdn/{UKEUGZX2.js → UEAG7XEG.js} +2 -2
  280. package/dist/cdn/{55FC4AUE.js → UMAJGM6V.js} +1 -1
  281. package/dist/cdn/{FVS63VDF.js → UO6VP3BI.js} +2 -2
  282. package/dist/cdn/{UPJMADWD.js → UQJYI3X6.js} +2 -2
  283. package/dist/cdn/{5P7OP2TV.js → V23K42RX.js} +2 -2
  284. package/dist/cdn/{NXPWSVO3.js → V6C2KNEL.js} +2 -2
  285. package/dist/cdn/{N67K56AQ.js → VAFUM6YI.js} +2 -2
  286. package/dist/cdn/{LLD7HMLA.js → VCXJUE47.js} +2 -2
  287. package/dist/cdn/{KDP4BECF.js → VEOZ3VQK.js} +2 -2
  288. package/dist/cdn/{ZC35GKYV.js → VGRZ2ZPQ.js} +2 -2
  289. package/dist/cdn/{UZ4FZOI4.js → VJS6GYQO.js} +2 -2
  290. package/dist/cdn/{Z2YVO2MZ.js → VKAHO2YV.js} +2 -2
  291. package/dist/cdn/{QW7TTZWB.js → VLNFTRZ6.js} +1 -1
  292. package/dist/cdn/{MIRAKMAM.js → VNHCIW42.js} +2 -2
  293. package/dist/cdn/{DMFL4YQA.js → VO2FH6DP.js} +2 -2
  294. package/dist/cdn/{FMK4IQWP.js → VS3572WW.js} +2 -2
  295. package/dist/cdn/{U7KPTWP7.js → VS7AF6HU.js} +2 -2
  296. package/dist/cdn/{NQ4ORX4L.js → VU3FNVM6.js} +2 -2
  297. package/dist/cdn/{MUYLWB6Y.js → VXBJE6HZ.js} +2 -2
  298. package/dist/cdn/{PUNAD2H3.js → VYNI2P33.js} +1 -1
  299. package/dist/cdn/{X4QMEPKK.js → VYZ6YKJF.js} +3 -3
  300. package/dist/cdn/{7IF6BEQ4.js → W6IU7RKO.js} +1 -1
  301. package/dist/cdn/{KQ2KS5QC.js → WB4PSXFM.js} +2 -2
  302. package/dist/cdn/{BD2QQKA3.js → WCV52AIH.js} +3 -3
  303. package/dist/cdn/{K4AMSC57.js → WLWLCWMU.js} +2 -2
  304. package/dist/cdn/{66BRPK2B.js → WY7U574O.js} +2 -2
  305. package/dist/cdn/{YAAJAI6L.js → WYH2N6RJ.js} +2 -2
  306. package/dist/cdn/{BDFK5OL4.js → X3YFFDLR.js} +2 -2
  307. package/dist/cdn/{LGUGM2EI.js → X6HPEDUR.js} +2 -2
  308. package/dist/cdn/{KPTO3JLC.js → XA3JYF7M.js} +2 -2
  309. package/dist/cdn/{CQAZ3KKR.js → XAJSOTJI.js} +2 -2
  310. package/dist/cdn/{Q7SJJFBZ.js → XFQXV5YO.js} +2 -2
  311. package/dist/cdn/{6ATPTD6S.js → XIS4IX7Q.js} +2 -2
  312. package/dist/cdn/{FEOPRYXY.js → XL7ATNQ4.js} +2 -2
  313. package/dist/cdn/{XJK6QNHT.js → XQL7IUUB.js} +2 -2
  314. package/dist/cdn/Y2TXCMKL.js +4 -0
  315. package/dist/cdn/{DRGS75OU.js → Y3U3ULUT.js} +2 -2
  316. package/dist/cdn/{3NELTBGB.js → Y5OHDPVW.js} +1 -1
  317. package/dist/cdn/{YE7HNWUG.js → Y6MX2Z6A.js} +2 -2
  318. package/dist/cdn/{OFJ72Q6E.js → YCN22YB4.js} +2 -2
  319. package/dist/cdn/{TRVWTBQJ.js → YCTSBMBF.js} +2 -2
  320. package/dist/cdn/{AVWKEGOV.js → YE4M27FZ.js} +2 -2
  321. package/dist/cdn/{MKQXREOG.js → YMRV4C4R.js} +1 -1
  322. package/dist/cdn/YNRVJINU.js +4 -0
  323. package/dist/cdn/{VU2T7NC7.js → YPZLHSNR.js} +1 -1
  324. package/dist/cdn/{K3WALZXM.js → YQQ3RC2P.js} +2 -2
  325. package/dist/cdn/{WCDTD7TB.js → YSL4FVPV.js} +2 -2
  326. package/dist/cdn/{ILXO6CHT.js → YUO6GWE5.js} +1 -1
  327. package/dist/cdn/{JEYN3G5Z.js → YVRJE5RW.js} +2 -2
  328. package/dist/cdn/{FPPD2ZNJ.js → YXC22GE4.js} +2 -2
  329. package/dist/cdn/{ZOHFMOD4.js → YZW4EM7C.js} +2 -2
  330. package/dist/cdn/{QOEYN7KZ.js → ZBUVQGAH.js} +2 -2
  331. package/dist/cdn/{PD5BVW4J.js → ZC2PXZAT.js} +2 -2
  332. package/dist/cdn/{FLQAHJ7J.js → ZGMU4B46.js} +2 -2
  333. package/dist/cdn/{7Q4V5HOH.js → ZLSU5YUQ.js} +2 -2
  334. package/dist/cdn/{2WYDTJUZ.js → ZOPTP7GT.js} +2 -2
  335. package/dist/cdn/{HTGRKYQJ.js → ZPY26UEA.js} +2 -2
  336. package/dist/cdn/{NGWYLY2B.js → ZR5APICE.js} +2 -2
  337. package/dist/cdn/{SS45L55W.js → ZREIGXLA.js} +2 -2
  338. package/dist/cdn/{45TNXDXY.js → ZS3JL4YL.js} +2 -2
  339. package/dist/cdn/{7VPNMORO.js → ZSDK7SSY.js} +2 -2
  340. package/dist/cdn/{DCPJLMXS.js → ZWGOMFAN.js} +2 -2
  341. package/dist/cdn/{IXRLZWJQ.js → ZZ7KZR4E.js} +1 -1
  342. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  343. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  344. package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  348. package/dist/cdn/index.js +2 -2
  349. package/dist/chunks/Auth.js +1 -1
  350. package/dist/chunks/CardsFetcher.js +1 -1
  351. package/dist/chunks/appConfig.js +1 -1
  352. package/dist/chunks/cardFetchingUtils.js +1 -1
  353. package/dist/chunks/cardsHelpers.js +1 -1
  354. package/dist/chunks/common.js +1 -1
  355. package/dist/chunks/deployAppContexts.js +1 -1
  356. package/dist/chunks/downloadUtils.js +1 -1
  357. package/dist/chunks/getItemIcon.js +1 -1
  358. package/dist/chunks/helpers.js +1 -1
  359. package/dist/chunks/index.js +1 -1
  360. package/dist/chunks/interfaces.js +1 -1
  361. package/dist/chunks/loadModules.js +1 -1
  362. package/dist/chunks/mapViewUtils.js +1 -1
  363. package/dist/chunks/pciUtils.js +1 -1
  364. package/dist/chunks/popupUtils.js +1 -1
  365. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  366. package/dist/chunks/privilegeUtils.js +1 -1
  367. package/dist/chunks/publicNotificationStore.js +1 -1
  368. package/dist/chunks/queryUtils.js +1 -1
  369. package/dist/chunks/runtime.js +1 -1
  370. package/dist/chunks/solution-store.js +1 -1
  371. package/dist/chunks/templates.js +1 -1
  372. package/dist/chunks/useT9n.js +1 -1
  373. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  374. package/dist/components/basemap-gallery/customElement.js +1 -1
  375. package/dist/components/buffer-tools/customElement.js +1 -1
  376. package/dist/components/card-manager/customElement.js +1 -1
  377. package/dist/components/consent-manager/customElement.js +1 -1
  378. package/dist/components/create-feature/customElement.js +1 -1
  379. package/dist/components/create-related-feature/customElement.js +1 -1
  380. package/dist/components/crowdsource-manager/customElement.js +1 -1
  381. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  382. package/dist/components/deduct-calculator/customElement.js +1 -1
  383. package/dist/components/delete-button/customElement.js +1 -1
  384. package/dist/components/delete-dialog/customElement.js +1 -1
  385. package/dist/components/edit-card/customElement.js +1 -1
  386. package/dist/components/feature-details/customElement.js +1 -1
  387. package/dist/components/feature-list/customElement.js +1 -1
  388. package/dist/components/field-selection/customElement.js +1 -1
  389. package/dist/components/floor-filter/customElement.js +1 -1
  390. package/dist/components/info-card/customElement.js +1 -1
  391. package/dist/components/json-editor/customElement.js +1 -1
  392. package/dist/components/layer-list/customElement.js +1 -1
  393. package/dist/components/layer-table/customElement.js +1 -1
  394. package/dist/components/map-card/customElement.js +1 -1
  395. package/dist/components/map-draw-tools/customElement.js +1 -1
  396. package/dist/components/map-fullscreen/customElement.js +1 -1
  397. package/dist/components/map-layer-picker/customElement.js +1 -1
  398. package/dist/components/map-legend/customElement.js +1 -1
  399. package/dist/components/map-picker/customElement.js +1 -1
  400. package/dist/components/map-search/customElement.js +1 -1
  401. package/dist/components/map-select-tools/customElement.js +1 -1
  402. package/dist/components/map-tools/customElement.js +1 -1
  403. package/dist/components/pci-calculator/customElement.js +1 -1
  404. package/dist/components/pdf-download/customElement.js +1 -1
  405. package/dist/components/public-notification/customElement.js +1 -1
  406. package/dist/components/refine-selection/customElement.js +1 -1
  407. package/dist/components/selection-tool/customElement.js +1 -1
  408. package/dist/components/solution-article-card/customElement.js +1 -1
  409. package/dist/components/solution-configuration/customElement.js +1 -1
  410. package/dist/components/solution-configure-dialog/customElement.js +7 -7
  411. package/dist/components/solution-configure-titles/customElement.js +11 -11
  412. package/dist/components/solution-contents/customElement.js +1 -1
  413. package/dist/components/solution-delete-dialog/customElement.js +95 -65
  414. package/dist/components/solution-deploy-dialog/customElement.js +6 -6
  415. package/dist/components/solution-deployed-card/customElement.js +1 -1
  416. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  417. package/dist/components/solution-details-card/customElement.js +1 -1
  418. package/dist/components/solution-details-panel/customElement.js +1 -1
  419. package/dist/components/solution-item/customElement.js +1 -1
  420. package/dist/components/solution-item-accordion/customElement.js +1 -1
  421. package/dist/components/solution-item-details/customElement.js +1 -1
  422. package/dist/components/solution-item-diagram/customElement.js +1 -1
  423. package/dist/components/solution-item-icon/customElement.js +1 -1
  424. package/dist/components/solution-item-sharing/customElement.js +1 -1
  425. package/dist/components/solution-organization-variables/customElement.js +1 -1
  426. package/dist/components/solution-resource-item/customElement.js +1 -1
  427. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  428. package/dist/components/solution-social-share/customElement.js +1 -1
  429. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  430. package/dist/components/solution-template-data/customElement.js +1 -1
  431. package/dist/components/solution-variables/customElement.js +1 -1
  432. package/dist/components/solutions-all-panel/customElement.js +1 -1
  433. package/dist/components/solutions-all-shell/customElement.js +1 -1
  434. package/dist/components/solutions-article-panel/customElement.js +1 -1
  435. package/dist/components/solutions-articles/customElement.js +1 -1
  436. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  437. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  438. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  439. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  440. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  441. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  442. package/dist/components/spatial-ref/customElement.js +1 -1
  443. package/dist/components/store-manager/customElement.js +1 -1
  444. package/dist/docs/api.json +1 -1
  445. package/dist/docs/docs.json +1 -1
  446. package/dist/docs/web-types.json +1 -1
  447. package/dist/index.js +1 -1
  448. package/dist/loader.js +1 -1
  449. package/package.json +1 -1
  450. package/dist/cdn/2DTOLXCZ.js +0 -18
  451. package/dist/cdn/3VP6BVHE.js +0 -4
  452. package/dist/cdn/4OQOBXO3.js +0 -4
  453. package/dist/cdn/5Y5FD2LP.js +0 -4
  454. package/dist/cdn/EA27KG3M.js +0 -18
  455. package/dist/cdn/IJO66X47.js +0 -4
  456. package/dist/cdn/KRPCUDHL.js +0 -4
  457. package/dist/cdn/NCC2GVLA.js +0 -21
  458. package/dist/cdn/PVBC2MRZ.js +0 -4
  459. package/dist/cdn/UTXJM3VH.js +0 -4
  460. package/dist/cdn/YO6YX3RA.js +0 -4
@@ -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.20250909 */
4
- import{a as f}from"./GKACHUTS.js";import{a as _}from"./ODTKDZ5Q.js";import{a as S}from"./U7KPTWP7.js";import{B as D,C as I}from"./QVTO6TIF.js";import{b as L}from"./BDFK5OL4.js";import"./BUBHIWNJ.js";import"./MUDQYQHV.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./S2BECSBW.js";import"./W2YEFCJC.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables.toArray()??[]).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
3
+ v1.1.0-next.20250910.1 */
4
+ import{a as f}from"./CWDC5M42.js";import{a as _}from"./LYYQTMEF.js";import{a as S}from"./VS7AF6HU.js";import{B as D,C as I}from"./IY2VNAQZ.js";import{b as L}from"./X3YFFDLR.js";import"./AYQL2HEP.js";import"./6CD72XGX.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./I2AUDNAV.js";import"./HBDMIGI6.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables.toArray()??[]).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
@@ -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.20250909 */
4
- import"./W2YEFCJC.js";var e="Sie verf\xFCgen nicht \xFCber gen\xFCgend Credits, um diesen Vorgang auszuf\xFChren. Wenden Sie sich an den ArcGIS-Systemadministrator.",r="Dieses Werkzeug wurde \xFCber ein Notebook ver\xF6ffentlicht. Zugriff auf ArcGIS\xA0Notebooks ist in Ihrer Organisation blockiert. Wenden Sie sich an den Administrator, um die Einstellung anzupassen.",n="${ dataPath } darf nicht ${ additionalProperty } aufweisen.",i="${ dataPath } muss mit einem der folgenden Schemas \xFCbereinstimmen: ${ schemaOptions }.",a="Speichern Sie die Karte erneut.",t="Credit-Sch\xE4tzung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und lassen Sie die Credits erneut sch\xE4tzen.",s="Bei Ausf\xFChrung der Analyse ist ein Fehler aufgetreten.",l="${ dataPath } muss einem der folgenden zul\xE4ssigen Werte entsprechen: ${ allowedValues }.",o="Fehler beim Speichern des Analyseverlaufs",d="Der Verlaufsspeicher ist voll. Entfernen Sie einige Elemente aus dem Analyseverlauf, und speichern Sie erneut.",h="Der Service-Name enth\xE4lt mindestens ein ung\xFCltiges Zeichen.",u="Das Speichern des tempor\xE4ren Layers als gehosteten Feature-Layer wurde nicht abgeschlossen.",c="Fehler beim Abrufen der Schl\xFCsseleigenschaften.",m="Fehler beim Laden des Layers.",g="Layer ist nicht verf\xFCgbar.",f="${ dataPath } darf nicht mehr als ${ limit } Elemente enthalten.",S="Fehler beim Speichern des Modells. Versuchen Sie noch einmal zu speichern.",b="${ dataPath } darf nicht weniger als ${ limit } Elemente enthalten.",y="${ dataPath } darf nicht k\xFCrzer als ${ limit } Zeichen sein.",E="Das Modellelement konnte nicht geladen werden. Stellen Sie sicher, dass das Modell vorhanden ist und Ihnen entsprechende Zugriffsberechtigungen gew\xE4hrt wurden.",p="Fehler beim Abschlie\xDFen der Anforderung.",F="Sie sind nicht berechtigt, dieses Werkzeug auszuf\xFChren. <calcite-link target='_blank' href='${ docLink }'>Weitere Informationen</calcite-link>",v="Fehler beim Anmelden beim Portal.",P="Fehler beim Lesen der Eingabedaten.",k="${ dataPath } fehlt eine Eigenschaft mit dem Namen ${ missingProperty }.",L="Ein Ergebnis-Layer mit diesem Namen ist bereits vorhanden. Ergebnis-Layer m\xFCssen innerhalb der Organisation \xFCber einen eindeutigen Namen verf\xFCgen. Verwenden Sie einen anderen Namen.",I="Der Ausgabename enth\xE4lt mindestens ein ung\xFCltiges Zeichen. <a href='${docLink}' target='_blank'>Mehr erfahren</a>",$="Beim Ver\xF6ffentlichen des tempor\xE4ren Layers als gehosteten Layer ist ein Fehler aufgetreten, da mindestens ein Feld ung\xFCltig ist. F\xFChren Sie das Werkzeug erneut aus, um einen Layer mit g\xFCltigen Feldern zu erstellen.",A="Auftrags\xFCbermittlung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und f\xFChren Sie die Analyse erneut aus.",N="${ dataPath } muss mindestens ein Zeichen enthalten, bei dem es sich nicht um ein Leerstellenzeichen handelt.",w={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:n,anyOfValues:i,cannotWriteToItemResource:a,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:h,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:c,layerLoadFailure:m,layerUnavailable:g,maxItems:f,mbFailedToSave:S,minItems:b,minLength:y,modelNotFound:E,networkError:p,noPermissionToAccessTool:F,portalLoadError:v,queryFeaturesError:P,requiredProperty:k,serviceNameExistsError:L,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:$,toolValidationError:A,whiteSpacePattern:N};export{e as InsufficientCreditsError,r as accessBlocked,n as additionalProperty,i as anyOfValues,a as cannotWriteToItemResource,t as creditEstimationError,w as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,h as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,c as keyPropertiesError,m as layerLoadFailure,g as layerUnavailable,f as maxItems,S as mbFailedToSave,b as minItems,y as minLength,E as modelNotFound,p as networkError,F as noPermissionToAccessTool,v as portalLoadError,P as queryFeaturesError,k as requiredProperty,L as serviceNameExistsError,I as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,A as toolValidationError,N as whiteSpacePattern};
3
+ v1.1.0-next.20250910.1 */
4
+ import"./HBDMIGI6.js";var e="Sie verf\xFCgen nicht \xFCber gen\xFCgend Credits, um diesen Vorgang auszuf\xFChren. Wenden Sie sich an den ArcGIS-Systemadministrator.",r="Dieses Werkzeug wurde \xFCber ein Notebook ver\xF6ffentlicht. Zugriff auf ArcGIS\xA0Notebooks ist in Ihrer Organisation blockiert. Wenden Sie sich an den Administrator, um die Einstellung anzupassen.",n="${ dataPath } darf nicht ${ additionalProperty } aufweisen.",i="${ dataPath } muss mit einem der folgenden Schemas \xFCbereinstimmen: ${ schemaOptions }.",a="Speichern Sie die Karte erneut.",t="Credit-Sch\xE4tzung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und lassen Sie die Credits erneut sch\xE4tzen.",s="Bei Ausf\xFChrung der Analyse ist ein Fehler aufgetreten.",l="${ dataPath } muss einem der folgenden zul\xE4ssigen Werte entsprechen: ${ allowedValues }.",o="Fehler beim Speichern des Analyseverlaufs",d="Der Verlaufsspeicher ist voll. Entfernen Sie einige Elemente aus dem Analyseverlauf, und speichern Sie erneut.",h="Der Service-Name enth\xE4lt mindestens ein ung\xFCltiges Zeichen.",u="Das Speichern des tempor\xE4ren Layers als gehosteten Feature-Layer wurde nicht abgeschlossen.",c="Fehler beim Abrufen der Schl\xFCsseleigenschaften.",m="Fehler beim Laden des Layers.",g="Layer ist nicht verf\xFCgbar.",f="${ dataPath } darf nicht mehr als ${ limit } Elemente enthalten.",S="Fehler beim Speichern des Modells. Versuchen Sie noch einmal zu speichern.",b="${ dataPath } darf nicht weniger als ${ limit } Elemente enthalten.",y="${ dataPath } darf nicht k\xFCrzer als ${ limit } Zeichen sein.",E="Das Modellelement konnte nicht geladen werden. Stellen Sie sicher, dass das Modell vorhanden ist und Ihnen entsprechende Zugriffsberechtigungen gew\xE4hrt wurden.",p="Fehler beim Abschlie\xDFen der Anforderung.",F="Sie sind nicht berechtigt, dieses Werkzeug auszuf\xFChren. <calcite-link target='_blank' href='${ docLink }'>Weitere Informationen</calcite-link>",v="Fehler beim Anmelden beim Portal.",P="Fehler beim Lesen der Eingabedaten.",k="${ dataPath } fehlt eine Eigenschaft mit dem Namen ${ missingProperty }.",L="Ein Ergebnis-Layer mit diesem Namen ist bereits vorhanden. Ergebnis-Layer m\xFCssen innerhalb der Organisation \xFCber einen eindeutigen Namen verf\xFCgen. Verwenden Sie einen anderen Namen.",I="Der Ausgabename enth\xE4lt mindestens ein ung\xFCltiges Zeichen. <a href='${docLink}' target='_blank'>Mehr erfahren</a>",$="Beim Ver\xF6ffentlichen des tempor\xE4ren Layers als gehosteten Layer ist ein Fehler aufgetreten, da mindestens ein Feld ung\xFCltig ist. F\xFChren Sie das Werkzeug erneut aus, um einen Layer mit g\xFCltigen Feldern zu erstellen.",A="Auftrags\xFCbermittlung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und f\xFChren Sie die Analyse erneut aus.",N="${ dataPath } muss mindestens ein Zeichen enthalten, bei dem es sich nicht um ein Leerstellenzeichen handelt.",w={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:n,anyOfValues:i,cannotWriteToItemResource:a,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:h,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:c,layerLoadFailure:m,layerUnavailable:g,maxItems:f,mbFailedToSave:S,minItems:b,minLength:y,modelNotFound:E,networkError:p,noPermissionToAccessTool:F,portalLoadError:v,queryFeaturesError:P,requiredProperty:k,serviceNameExistsError:L,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:$,toolValidationError:A,whiteSpacePattern:N};export{e as InsufficientCreditsError,r as accessBlocked,n as additionalProperty,i as anyOfValues,a as cannotWriteToItemResource,t as creditEstimationError,w as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,h as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,c as keyPropertiesError,m as layerLoadFailure,g as layerUnavailable,f as maxItems,S as mbFailedToSave,b as minItems,y as minLength,E as modelNotFound,p as networkError,F as noPermissionToAccessTool,v as portalLoadError,P as queryFeaturesError,k as requiredProperty,L as serviceNameExistsError,I as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,A as toolValidationError,N as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250909 */
4
- import{a as e}from"./FB7CT23L.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
3
+ v1.1.0-next.20250910.1 */
4
+ import{a as e}from"./GH76KR7G.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250909 */
4
- import{a as f,c as g,e as I}from"./JUZZLRHO.js";import"./7IF6BEQ4.js";import"./PUNAD2H3.js";import{a as w,b as c}from"./JGWCUAIV.js";import{a as u}from"./ZJHHH5QQ.js";import"./BUBHIWNJ.js";import"./MUDQYQHV.js";import{b as L}from"./5OBQPUOD.js";import{E as m,h as p,i as r,o as h,r as d}from"./S2BECSBW.js";import"./W2YEFCJC.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
3
+ v1.1.0-next.20250910.1 */
4
+ import{a as f,c as g,e as I}from"./5DNBCIX3.js";import"./W6IU7RKO.js";import"./VYNI2P33.js";import{a as w,b as c}from"./64SUMFOH.js";import{a as u}from"./5EWOPJVU.js";import"./AYQL2HEP.js";import"./6CD72XGX.js";import{b as L}from"./RQ2PBNMJ.js";import{E as m,h as p,i as r,o as h,r as d}from"./I2AUDNAV.js";import"./HBDMIGI6.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@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.20250909 */
4
- import"./W2YEFCJC.js";var e="U hebt niet genoeg credits om deze actie uit te voeren. Neem contact op met uw ArcGIS-systeembeheerder voor ondersteuning.",a="Deze tool is gepubliceerd vanaf een notebook. Toegang tot ArcGIS Notebooks is geblokkeerd voor uw organisatie. Neem contact op met uw beheerders om de instelling aan te passen.",t="${ dataPath } mag geen ${ additionalProperty } hebben.",r="${ dataPath } moet overeenkomen met het schema van een van deze: ${ schemaOptions }.",n="Probeer de kaart opnieuw op te slaan.",o="Kredietraming is mislukt. Scroll omlaag, corrigeer de fouten en voer een nieuwe kredietraming uit.",i="Er is een fout opgetreden bij het uitvoeren van de analyse.",s="${ dataPath } moet gelijk zijn aan een van deze toegelaten waarden: ${ allowedValues }.",l="Kan analysegeschiedenis niet opslaan",d="Het geschiedenisarchief is vol. Verwijder een paar items uit de analysegeschiedenis en probeer opnieuw op te slaan.",m="De naam van de service bevat een of meer ongeldige tekens.",g="Het opslaan van de tijdelijke laag als gehoste feature layer is niet voltooid.",u="Belangrijkste eigenschappen krijgen mislukt.",c="Kaartlaag laden mislukt.",h="Laag is niet beschikbaar",v="${ dataPath } mag niet meer dan ${ limit } items hebben.",p="Er is een fout opgetreden bij het opslaan van het model. Probeer opnieuw op te slaan.",k="${ dataPath } mag niet minder dan ${ limit } items hebben.",b="${ dataPath } mag niet korter zijn dan ${ limit } tekens.",E="Kan het modelitem niet laden. Controleer of het model bestaat en dat er toegangsmachtigingen zijn verleend.",f="Voltooien van verzoek is mislukt.",y="U bent niet gemachtigd voor het uitvoeren van deze tool. <calcite-link target='_blank' href='${ docLink }'>Meer informatie</calcite-link>",P="Kan niet inloggen bij portal.",S="Kan invoergegevens niet lezen.",w="${ dataPath } mist een eigenschap met de naam ${ missingProperty }.",$="Er bestaat al een resultaatlaag met deze naam. Resultaatlagen moeten uniek zijn binnen de organisatie. Gebruik een andere naam.",j="De uitvoernaam bevat een of meer ongeldige tekens. <a href='${docLink}' target='_blank'>Meer informatie.</a>",F="Het publiceren van de tijdelijke laag als een gehoste laag is mistlukt als gevolg van een of meer ongeldige velden. Voer de tool opnieuw uit om een laag met geldige velden te maken.",I="Taakindiening is mislukt. Scroll omlaag, corrigeer de fouten en voer de analyse opnieuw uit.",T="${ dataPath } moet minstens \xE9\xE9n non-whitespace teken hebben.",z={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:o,defaultError:i,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:u,layerLoadFailure:c,layerUnavailable:h,maxItems:v,mbFailedToSave:p,minItems:k,minLength:b,modelNotFound:E,networkError:f,noPermissionToAccessTool:y,portalLoadError:P,queryFeaturesError:S,requiredProperty:w,serviceNameExistsError:$,specialCharactersInServiceNameError:j,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,o as creditEstimationError,z as default,i as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,c as layerLoadFailure,h as layerUnavailable,v as maxItems,p as mbFailedToSave,k as minItems,b as minLength,E as modelNotFound,f as networkError,y as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,w as requiredProperty,$ as serviceNameExistsError,j as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
3
+ v1.1.0-next.20250910.1 */
4
+ import"./HBDMIGI6.js";var e="U hebt niet genoeg credits om deze actie uit te voeren. Neem contact op met uw ArcGIS-systeembeheerder voor ondersteuning.",a="Deze tool is gepubliceerd vanaf een notebook. Toegang tot ArcGIS Notebooks is geblokkeerd voor uw organisatie. Neem contact op met uw beheerders om de instelling aan te passen.",t="${ dataPath } mag geen ${ additionalProperty } hebben.",r="${ dataPath } moet overeenkomen met het schema van een van deze: ${ schemaOptions }.",n="Probeer de kaart opnieuw op te slaan.",o="Kredietraming is mislukt. Scroll omlaag, corrigeer de fouten en voer een nieuwe kredietraming uit.",i="Er is een fout opgetreden bij het uitvoeren van de analyse.",s="${ dataPath } moet gelijk zijn aan een van deze toegelaten waarden: ${ allowedValues }.",l="Kan analysegeschiedenis niet opslaan",d="Het geschiedenisarchief is vol. Verwijder een paar items uit de analysegeschiedenis en probeer opnieuw op te slaan.",m="De naam van de service bevat een of meer ongeldige tekens.",g="Het opslaan van de tijdelijke laag als gehoste feature layer is niet voltooid.",u="Belangrijkste eigenschappen krijgen mislukt.",c="Kaartlaag laden mislukt.",h="Laag is niet beschikbaar",v="${ dataPath } mag niet meer dan ${ limit } items hebben.",p="Er is een fout opgetreden bij het opslaan van het model. Probeer opnieuw op te slaan.",k="${ dataPath } mag niet minder dan ${ limit } items hebben.",b="${ dataPath } mag niet korter zijn dan ${ limit } tekens.",E="Kan het modelitem niet laden. Controleer of het model bestaat en dat er toegangsmachtigingen zijn verleend.",f="Voltooien van verzoek is mislukt.",y="U bent niet gemachtigd voor het uitvoeren van deze tool. <calcite-link target='_blank' href='${ docLink }'>Meer informatie</calcite-link>",P="Kan niet inloggen bij portal.",S="Kan invoergegevens niet lezen.",w="${ dataPath } mist een eigenschap met de naam ${ missingProperty }.",$="Er bestaat al een resultaatlaag met deze naam. Resultaatlagen moeten uniek zijn binnen de organisatie. Gebruik een andere naam.",j="De uitvoernaam bevat een of meer ongeldige tekens. <a href='${docLink}' target='_blank'>Meer informatie.</a>",F="Het publiceren van de tijdelijke laag als een gehoste laag is mistlukt als gevolg van een of meer ongeldige velden. Voer de tool opnieuw uit om een laag met geldige velden te maken.",I="Taakindiening is mislukt. Scroll omlaag, corrigeer de fouten en voer de analyse opnieuw uit.",T="${ dataPath } moet minstens \xE9\xE9n non-whitespace teken hebben.",z={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:o,defaultError:i,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:u,layerLoadFailure:c,layerUnavailable:h,maxItems:v,mbFailedToSave:p,minItems:k,minLength:b,modelNotFound:E,networkError:f,noPermissionToAccessTool:y,portalLoadError:P,queryFeaturesError:S,requiredProperty:w,serviceNameExistsError:$,specialCharactersInServiceNameError:j,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,o as creditEstimationError,z as default,i as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,c as layerLoadFailure,h as layerUnavailable,v as maxItems,p as mbFailedToSave,k as minItems,b as minLength,E as modelNotFound,f as networkError,y as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,w as requiredProperty,$ as serviceNameExistsError,j as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250909 */
4
- import{b as l}from"./JGWCUAIV.js";import{b as m}from"./5OBQPUOD.js";import{C as p,D as o,E as n,h as t,i as r}from"./S2BECSBW.js";import"./W2YEFCJC.js";var h=t`/** @license
3
+ v1.1.0-next.20250910.1 */
4
+ import{b as l}from"./64SUMFOH.js";import{b as m}from"./RQ2PBNMJ.js";import{C as p,D as o,E as n,h as t,i as r}from"./I2AUDNAV.js";import"./HBDMIGI6.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.20250909 */
4
- import{ha as m,ib as l}from"./NTSIPZDQ.js";import{v as u}from"./OJDU53HJ.js";import{H as c}from"./7IF6BEQ4.js";export default $arcgis.t(([])=>{function N(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}async function d(t,e){let a=e,n=await a.getUsername(),s={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:a},f=(await l(s)).results.map(r=>r.title),{folders:h}=await m(a),p=h.map(r=>r.title),i=[...f,...p].map(r=>r.trim().toLowerCase()),o=t.toLowerCase(),w=i.filter(r=>r===o),g=i.filter(r=>r.startsWith(o));return{conflictingNames:w,similiarNames:g}}async function C(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await d(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function E(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}function S(t,e,a,n){let s="";return e?s=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):s=a,s}function b(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,a){return e.some(n=>n.wkid===t?(a=n.defaultExtent,!0):!1),a}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let a="";return t.some(n=>n.startsWith(e)?(a=n.substring(e.length),!0):!1),a}return{a:N,b:d,c:C,d:k,e:E,f:x,g:S,h:b,i:A,j:D,k:F}},"intl")
3
+ v1.1.0-next.20250910.1 */
4
+ import{ha as m,ib as l}from"./SEMZSBY4.js";import{v as u}from"./PWIMTC4R.js";import{H as c}from"./W6IU7RKO.js";export default $arcgis.t(([])=>{function N(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}async function d(t,e){let a=e,n=await a.getUsername(),s={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:a},f=(await l(s)).results.map(r=>r.title),{folders:h}=await m(a),p=h.map(r=>r.title),i=[...f,...p].map(r=>r.trim().toLowerCase()),o=t.toLowerCase(),w=i.filter(r=>r===o),g=i.filter(r=>r.startsWith(o));return{conflictingNames:w,similiarNames:g}}async function C(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await d(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function E(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}function S(t,e,a,n){let s="";return e?s=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):s=a,s}function b(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,a){return e.some(n=>n.wkid===t?(a=n.defaultExtent,!0):!1),a}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let a="";return t.some(n=>n.startsWith(e)?(a=n.substring(e.length),!0):!1),a}return{a:N,b:d,c:C,d:k,e:E,f:x,g:S,h:b,i:A,j:D,k:F}},"intl")
@@ -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.20250909 */
4
- import"./W2YEFCJC.js";var a="Sinulla ei ole riitt\xE4v\xE4sti krediittej\xE4 t\xE4m\xE4n toiminnon toteuttamiseen. Pyyd\xE4 apua ArcGIS-j\xE4rjestelm\xE4n p\xE4\xE4k\xE4ytt\xE4j\xE4lt\xE4.",t="T\xE4m\xE4 ty\xF6kalu on julkaistu muistikirjasta. Organisaatiosi ArcGIS Notebooks -k\xE4ytt\xF6oikeus on ev\xE4tty. Ota yhteys p\xE4\xE4k\xE4ytt\xE4j\xE4\xE4n asetuksen muuttamista varten.",e="Kohteessa ${ dataPath } ei saa olla kohdetta ${ additionalProperty }.",i="Kohteen ${ dataPath } on vastattava jotakin n\xE4ist\xE4 skeemoista: ${ schemaOptions }.",s="Yrit\xE4 tallentaa kartta uudelleen.",o="Krediitin arviointi ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja arvioi krediitit uudelleen.",n="Analyysia suorittaessa tapahtui virhe.",r="Kohteen ${ dataPath } tulee olla yht\xE4 suuri kuin jokin n\xE4ist\xE4 sallituista arvoista: ${ allowedValues }.",l="Analyysihistorian tallennus ep\xE4onnistui",u="Historian tallennustila on t\xE4ynn\xE4. Poista joitain kohteita analyysihistoriasta ja yrit\xE4 tallentaa uudelleen.",d="Palvelun nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin.",k="Tilap\xE4isen karttatason tallennusta is\xE4nn\xF6ityn\xE4 karttatasona ei suoritettu loppuun.",m="Avainominaisuuksien nouto ep\xE4onnistui.",y="Karttatason lataus ep\xE4onnistui.",h="Karttataso ei ole k\xE4ytett\xE4viss\xE4.",v="Kohteessa ${ dataPath } ei saa olla yli ${ limit } kohdetta.",c="Mallia tallennettaessa tapahtui virhe. Yrit\xE4 tallentaa uudelleen.",p="Kohteessa ${ dataPath } ei saa olla alle ${ limit } kohdetta.",P="${ dataPath } ei saa olla alle ${ limit } merkki\xE4 pitk\xE4.",E="Mallikohteen lataus ep\xE4onnistui. Varmista, ett\xE4 malli on olemassa ja ett\xE4 k\xE4ytt\xF6oikeus on my\xF6nnetty.",j="Pyynn\xF6n suorittaminen ep\xE4onnistui.",S="Sinulla ei ole t\xE4m\xE4n ty\xF6kalun suoritusoikeutta. <calcite-link target='_blank' href='${ docLink }'>Lis\xE4tietoja</calcite-link>",T="Portaaliin kirjautuminen ep\xE4onnistui.",$="L\xE4ht\xF6tietojen luku ep\xE4onnistui.",f="Kohteesta ${ dataPath } puuttuu ominaisuus ${ missingProperty }.",F="T\xE4m\xE4n niminen tuloskarttataso on jo olemassa. Tuloskarttatasot on nimett\xE4v\xE4 yksil\xF6llisesti koko organisaatiossa. K\xE4yt\xE4 toista nime\xE4.",I="Tulosaineiston nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin. <a href='${docLink}' target='_blank'>Lue lis\xE4\xE4.</a>",L="Tilap\xE4isen karttatason julkaiseminen is\xE4nn\xF6ityn\xE4 karttatasona ei onnistunut v\xE4hint\xE4\xE4n yhden virheellisen kent\xE4n vuoksi. Suorita ty\xF6kalu uudelleen, jos haluat luoda karttatason kelvollisilla kentill\xE4.",K="Ty\xF6n l\xE4hetys ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja suorita analyysi uudelleen.",V="Kohteessa ${ dataPath } on oltava v\xE4hint\xE4\xE4n yksi muu kuin v\xE4limerkki.",g={InsufficientCreditsError:a,accessBlocked:t,additionalProperty:e,anyOfValues:i,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:n,enumValues:r,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:h,maxItems:v,mbFailedToSave:c,minItems:p,minLength:P,modelNotFound:E,networkError:j,noPermissionToAccessTool:S,portalLoadError:T,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:K,whiteSpacePattern:V};export{a as InsufficientCreditsError,t as accessBlocked,e as additionalProperty,i as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,g as default,n as defaultError,r as enumValues,l as failedToSaveHistory,u as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,h as layerUnavailable,v as maxItems,c as mbFailedToSave,p as minItems,P as minLength,E as modelNotFound,j as networkError,S as noPermissionToAccessTool,T as portalLoadError,$ as queryFeaturesError,f as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,K as toolValidationError,V as whiteSpacePattern};
3
+ v1.1.0-next.20250910.1 */
4
+ import"./HBDMIGI6.js";var a="Sinulla ei ole riitt\xE4v\xE4sti krediittej\xE4 t\xE4m\xE4n toiminnon toteuttamiseen. Pyyd\xE4 apua ArcGIS-j\xE4rjestelm\xE4n p\xE4\xE4k\xE4ytt\xE4j\xE4lt\xE4.",t="T\xE4m\xE4 ty\xF6kalu on julkaistu muistikirjasta. Organisaatiosi ArcGIS Notebooks -k\xE4ytt\xF6oikeus on ev\xE4tty. Ota yhteys p\xE4\xE4k\xE4ytt\xE4j\xE4\xE4n asetuksen muuttamista varten.",e="Kohteessa ${ dataPath } ei saa olla kohdetta ${ additionalProperty }.",i="Kohteen ${ dataPath } on vastattava jotakin n\xE4ist\xE4 skeemoista: ${ schemaOptions }.",s="Yrit\xE4 tallentaa kartta uudelleen.",o="Krediitin arviointi ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja arvioi krediitit uudelleen.",n="Analyysia suorittaessa tapahtui virhe.",r="Kohteen ${ dataPath } tulee olla yht\xE4 suuri kuin jokin n\xE4ist\xE4 sallituista arvoista: ${ allowedValues }.",l="Analyysihistorian tallennus ep\xE4onnistui",u="Historian tallennustila on t\xE4ynn\xE4. Poista joitain kohteita analyysihistoriasta ja yrit\xE4 tallentaa uudelleen.",d="Palvelun nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin.",k="Tilap\xE4isen karttatason tallennusta is\xE4nn\xF6ityn\xE4 karttatasona ei suoritettu loppuun.",m="Avainominaisuuksien nouto ep\xE4onnistui.",y="Karttatason lataus ep\xE4onnistui.",h="Karttataso ei ole k\xE4ytett\xE4viss\xE4.",v="Kohteessa ${ dataPath } ei saa olla yli ${ limit } kohdetta.",c="Mallia tallennettaessa tapahtui virhe. Yrit\xE4 tallentaa uudelleen.",p="Kohteessa ${ dataPath } ei saa olla alle ${ limit } kohdetta.",P="${ dataPath } ei saa olla alle ${ limit } merkki\xE4 pitk\xE4.",E="Mallikohteen lataus ep\xE4onnistui. Varmista, ett\xE4 malli on olemassa ja ett\xE4 k\xE4ytt\xF6oikeus on my\xF6nnetty.",j="Pyynn\xF6n suorittaminen ep\xE4onnistui.",S="Sinulla ei ole t\xE4m\xE4n ty\xF6kalun suoritusoikeutta. <calcite-link target='_blank' href='${ docLink }'>Lis\xE4tietoja</calcite-link>",T="Portaaliin kirjautuminen ep\xE4onnistui.",$="L\xE4ht\xF6tietojen luku ep\xE4onnistui.",f="Kohteesta ${ dataPath } puuttuu ominaisuus ${ missingProperty }.",F="T\xE4m\xE4n niminen tuloskarttataso on jo olemassa. Tuloskarttatasot on nimett\xE4v\xE4 yksil\xF6llisesti koko organisaatiossa. K\xE4yt\xE4 toista nime\xE4.",I="Tulosaineiston nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin. <a href='${docLink}' target='_blank'>Lue lis\xE4\xE4.</a>",L="Tilap\xE4isen karttatason julkaiseminen is\xE4nn\xF6ityn\xE4 karttatasona ei onnistunut v\xE4hint\xE4\xE4n yhden virheellisen kent\xE4n vuoksi. Suorita ty\xF6kalu uudelleen, jos haluat luoda karttatason kelvollisilla kentill\xE4.",K="Ty\xF6n l\xE4hetys ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja suorita analyysi uudelleen.",V="Kohteessa ${ dataPath } on oltava v\xE4hint\xE4\xE4n yksi muu kuin v\xE4limerkki.",g={InsufficientCreditsError:a,accessBlocked:t,additionalProperty:e,anyOfValues:i,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:n,enumValues:r,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:h,maxItems:v,mbFailedToSave:c,minItems:p,minLength:P,modelNotFound:E,networkError:j,noPermissionToAccessTool:S,portalLoadError:T,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:K,whiteSpacePattern:V};export{a as InsufficientCreditsError,t as accessBlocked,e as additionalProperty,i as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,g as default,n as defaultError,r as enumValues,l as failedToSaveHistory,u as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,h as layerUnavailable,v as maxItems,c as mbFailedToSave,p as minItems,P as minLength,E as modelNotFound,j as networkError,S as noPermissionToAccessTool,T as portalLoadError,$ as queryFeaturesError,f as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,K as toolValidationError,V as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250909 */
4
- import{d as c}from"./5K7RJOVI.js";import{a as y}from"./7SM57VCR.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
3
+ v1.1.0-next.20250910.1 */
4
+ import{d as c}from"./HYUXCZG4.js";import{a as y}from"./AIPTF2E4.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
@@ -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.20250909 */
3
+ v1.1.0-next.20250910.1 */
4
4
  var c=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],s=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],l=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],p=["Hub Event"],g=["Form","Quick Capture Project"],d=["Hub Initiative"],u=["Solution"],S=["Hub Initiative Template"],k=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],b=["360 VR Experience","3DTiles Package","3DTiles Service","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],m=["Hub Site Application","Site Application"],r=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(n=>n.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:c,dataset:s,document:l,event:p,feedback:g,initiative:d,template:S,solution:u,map:k,other:b,site:m};function P(a){return{other:"content",solution:"template"}[a]||a}function y(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=P(r(a))}return e}function A(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{y as a,A as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250909 */
4
- import{a as d}from"./55FC4AUE.js";import{a as p}from"./U7KPTWP7.js";import{b as h}from"./BDFK5OL4.js";import"./BUBHIWNJ.js";import"./MUDQYQHV.js";import{E as c,G as r,h as o,i as n,o as l}from"./S2BECSBW.js";import"./W2YEFCJC.js";function u(e){return e==null||typeof e!="function"?null:new e({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"]}},!0)}function g(e){window?.localStorage.setItem(e,"false")}function m(e){return!!window?.localStorage?.getItem(e)}function b(e){window?.localStorage?.removeItem(e)}var f=o`:host{--instant-apps-splash-content-max-height: 100%;--instant-apps-splash-back-content-display: flex;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:var(--instant-apps-splash-back-content-display);align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom: 0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}`,k={back:"instant-apps-splash__back-content"},a=class extends c{constructor(){super(...arguments),this._messages=p({name:"instant-apps-splash"}),this._sanitizer=u(d),this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.splashClose=l()}static{this.properties={localStorageKey:1,titleText:1,content:1,primaryButtonText:1,open:5,closeButtonDisabled:5,outsideCloseDisabled:5,secondaryButton:5,secondaryButtonText:1,secondaryButtonIcon:1,secondaryButtonCallback:0}}static{this.styles=f}load(){let t,{localStorageKey:s}=this;s?t=this.open&&!m(s):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}willUpdate(t){t.has("content")&&this.sanitizeContent()}sanitizeContent(){this.content=this._sanitizer.sanitize(this.content)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let i=t.target,{checked:y}=i;y?g(s):b(s)}render(){return n`<calcite-dialog .open=${this.open} .focusTrapOptions=${{allowOutsideClick:!0}} modal .heading=${this.titleText} aria-describedby=description @calciteDialogClose=${this.close} .closeDisabled=${this.closeButtonDisabled} .outsideCloseDisabled=${this.outsideCloseDisabled}><div id=description .innerHTML=${this.content??""}></div><slot name=custom-action></slot>${this.localStorageKey?this.renderDontShowThisAgainCheckbox():null}${this.secondaryButton?this.renderSecondaryButton():null}${this.renderPrimaryButton()}</calcite-dialog>`}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,_messages:s}=this,i=t&&m(t)?!0:null;return n`<div class=${r(k.back)} slot=footer-start><calcite-label layout=inline><calcite-checkbox @calciteCheckboxChange=${this.handleDontShowThisAgain} .checked=${i??void 0}></calcite-checkbox>${s?.dontShowThisAgain}</calcite-label></div>`}renderPrimaryButton(){let{primaryButtonText:t}=this;return n`<calcite-button @click=${this.close} slot=footer-end>${t||this._messages?.enter}</calcite-button>`}renderSecondaryButton(){return n`<calcite-button @click=${this.secondaryButtonCallback} slot=footer-end .iconStart=${this.secondaryButtonIcon} appearance=outline>${this.secondaryButtonText}</calcite-button>`}};h("instant-apps-splash",a);export{a as InstantAppsSplash};
3
+ v1.1.0-next.20250910.1 */
4
+ import{a as d}from"./UMAJGM6V.js";import{a as p}from"./VS7AF6HU.js";import{b as h}from"./X3YFFDLR.js";import"./AYQL2HEP.js";import"./6CD72XGX.js";import{E as c,G as r,h as o,i as n,o as l}from"./I2AUDNAV.js";import"./HBDMIGI6.js";function u(e){return e==null||typeof e!="function"?null:new e({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"]}},!0)}function g(e){window?.localStorage.setItem(e,"false")}function m(e){return!!window?.localStorage?.getItem(e)}function b(e){window?.localStorage?.removeItem(e)}var f=o`:host{--instant-apps-splash-content-max-height: 100%;--instant-apps-splash-back-content-display: flex;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:var(--instant-apps-splash-back-content-display);align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom: 0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}`,k={back:"instant-apps-splash__back-content"},a=class extends c{constructor(){super(...arguments),this._messages=p({name:"instant-apps-splash"}),this._sanitizer=u(d),this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.splashClose=l()}static{this.properties={localStorageKey:1,titleText:1,content:1,primaryButtonText:1,open:5,closeButtonDisabled:5,outsideCloseDisabled:5,secondaryButton:5,secondaryButtonText:1,secondaryButtonIcon:1,secondaryButtonCallback:0}}static{this.styles=f}load(){let t,{localStorageKey:s}=this;s?t=this.open&&!m(s):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}willUpdate(t){t.has("content")&&this.sanitizeContent()}sanitizeContent(){this.content=this._sanitizer.sanitize(this.content)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let i=t.target,{checked:y}=i;y?g(s):b(s)}render(){return n`<calcite-dialog .open=${this.open} .focusTrapOptions=${{allowOutsideClick:!0}} modal .heading=${this.titleText} aria-describedby=description @calciteDialogClose=${this.close} .closeDisabled=${this.closeButtonDisabled} .outsideCloseDisabled=${this.outsideCloseDisabled}><div id=description .innerHTML=${this.content??""}></div><slot name=custom-action></slot>${this.localStorageKey?this.renderDontShowThisAgainCheckbox():null}${this.secondaryButton?this.renderSecondaryButton():null}${this.renderPrimaryButton()}</calcite-dialog>`}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,_messages:s}=this,i=t&&m(t)?!0:null;return n`<div class=${r(k.back)} slot=footer-start><calcite-label layout=inline><calcite-checkbox @calciteCheckboxChange=${this.handleDontShowThisAgain} .checked=${i??void 0}></calcite-checkbox>${s?.dontShowThisAgain}</calcite-label></div>`}renderPrimaryButton(){let{primaryButtonText:t}=this;return n`<calcite-button @click=${this.close} slot=footer-end>${t||this._messages?.enter}</calcite-button>`}renderSecondaryButton(){return n`<calcite-button @click=${this.secondaryButtonCallback} slot=footer-end .iconStart=${this.secondaryButtonIcon} appearance=outline>${this.secondaryButtonText}</calcite-button>`}};h("instant-apps-splash",a);export{a as InstantAppsSplash};
@@ -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.20250909 */
4
- import{a as yt}from"./C2BDBSPV.js";import{a as $}from"./ODTKDZ5Q.js";import{a as G}from"./U7KPTWP7.js";import{c as J,n as X,t as K,z as Q}from"./QVTO6TIF.js";import{b as q}from"./BDFK5OL4.js";import"./BUBHIWNJ.js";import"./MUDQYQHV.js";import{C as m,D as d,E as j,G as h,h as W,i as c,l as V,o as z}from"./S2BECSBW.js";import{d as xt}from"./W2YEFCJC.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function w(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var x=null;function T(e={}){return x||(e.includeStyleProperties?(x=e.includeStyleProperties,x):(x=w(window.getComputedStyle(document.documentElement)),x))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function bt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function L(e,t={}){let i=t.width||bt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function M(e,t){return`data:${t};base64,${e}`}async function R(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var F={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(F[n]!=null)return F[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await R(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=M(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return F[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function Ft(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function Mt(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Ft(e,t):u(e,HTMLIFrameElement)?Mt(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=w(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=w(e.contentDocument.body.childNodes):s=w(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=b(t),o;if(r){let p=await r(s);o=M(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function D(e){return e.search(ot)!==-1}async function k(e,t,i){if(!D(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=w(e.childNodes).map(r=>A(r,t));await Promise.all(n).then(()=>e)}async function A(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),R(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(v=>ht(v,t)).then(v=>dt(v).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(vt){console.error("Error inserting rule from remote css",{rule:I,error:vt})}})).catch(v=>{console.error("Error loading remote css",v.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>D(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=w(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
3
+ v1.1.0-next.20250910.1 */
4
+ import{a as yt}from"./MJRPGRZ3.js";import{a as $}from"./LYYQTMEF.js";import{a as G}from"./VS7AF6HU.js";import{c as J,n as X,t as K,z as Q}from"./IY2VNAQZ.js";import{b as q}from"./X3YFFDLR.js";import"./AYQL2HEP.js";import"./6CD72XGX.js";import{C as m,D as d,E as j,G as h,h as W,i as c,l as V,o as z}from"./I2AUDNAV.js";import{d as xt}from"./HBDMIGI6.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function w(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var x=null;function T(e={}){return x||(e.includeStyleProperties?(x=e.includeStyleProperties,x):(x=w(window.getComputedStyle(document.documentElement)),x))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function bt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function L(e,t={}){let i=t.width||bt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function M(e,t){return`data:${t};base64,${e}`}async function R(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var F={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(F[n]!=null)return F[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await R(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=M(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return F[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function Ft(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function Mt(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Ft(e,t):u(e,HTMLIFrameElement)?Mt(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=w(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=w(e.contentDocument.body.childNodes):s=w(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=b(t),o;if(r){let p=await r(s);o=M(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function D(e){return e.search(ot)!==-1}async function k(e,t,i){if(!D(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=w(e.childNodes).map(r=>A(r,t));await Promise.all(n).then(()=>e)}async function A(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),R(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(v=>ht(v,t)).then(v=>dt(v).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(vt){console.error("Error inserting rule from remote css",{rule:I,error:vt})}})).catch(v=>{console.error("Error loading remote css",v.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>D(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=w(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
5
5
  `)}async function gt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await mt(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function ee(e,t={}){let{width:i,height:n}=L(e,t),r=await P(e,t,!0);return await gt(r,t),await A(r,t),pt(r,t),await et(r,i,n)}async function ft(e,t={}){let{width:i,height:n}=L(e,t),r=await ee(e,t),s=await y(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||N(),f=t.canvasWidth||i,v=t.canvasHeight||n;return a.width=f*p,a.height=v*p,t.skipAutoScale||tt(a),a.style.width=`${f}`,a.style.height=`${v}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function wt(e,t={}){return(await ft(e,t)).toDataURL()}async function B(e,t={}){return(await ft(e,t)).toDataURL("image/jpeg",t.quality||1)}var U=xt(yt(),1);var ie=`
6
6
  @media print {
7
7
  @page {
@@ -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.20250909 */
4
- import{a as x}from"./IIOCBWYX.js";import{a as h}from"./55FC4AUE.js";import{b as m}from"./BDFK5OL4.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./S2BECSBW.js";import"./W2YEFCJC.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
3
+ v1.1.0-next.20250910.1 */
4
+ import{a as x}from"./JP2R2KF2.js";import{a as h}from"./UMAJGM6V.js";import{b as m}from"./X3YFFDLR.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./I2AUDNAV.js";import"./HBDMIGI6.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
@@ -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.20250909 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./67D3MUMO.js";import{a as r}from"./2NB7L4WW.js";import"./QO7AKCAK.js";import"./HYNYTSJA.js";import"./IXRLZWJQ.js";import"./QMTUSZFV.js";import"./DNUY5LCQ.js";import"./Q7SJJFBZ.js";import"./5XBIIGQZ.js";import"./DK2TSWOL.js";import"./LXKUMZWJ.js";import"./VD5D7WZH.js";import"./N3X6K5TM.js";import"./QW7TTZWB.js";import"./HNE5W6WS.js";import"./33KYV3TB.js";import"./WVJ22VHR.js";import"./IVUPXZ5F.js";import"./D3ZWGN6V.js";import"./PXI2F3NJ.js";import"./QORQMWTN.js";import"./FB7CT23L.js";import"./5EVF6RIK.js";import"./3NELTBGB.js";import"./W2YEFCJC.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.1.0-next.20250910.1 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./K3BYV3AU.js";import{a as r}from"./7MZ2LMEC.js";import"./CK4PZ242.js";import"./HOLLAORG.js";import"./ZZ7KZR4E.js";import"./7PDOAR65.js";import"./EGRFOXJZ.js";import"./XFQXV5YO.js";import"./7M6LUBEJ.js";import"./OZVO2DEL.js";import"./NLCLVI26.js";import"./JTLWXL36.js";import"./B5M5JEFE.js";import"./VLNFTRZ6.js";import"./OVTWAO3W.js";import"./454AAUCM.js";import"./JMBSVZWY.js";import"./RWNP44AQ.js";import"./TOX2SKRM.js";import"./KJIY2VBN.js";import"./AMIVZN2B.js";import"./GH76KR7G.js";import"./57E326AG.js";import"./Y5OHDPVW.js";import"./HBDMIGI6.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250910.1 */
4
+ import{a,b}from"./B5M5JEFE.js";import"./VLNFTRZ6.js";import"./OVTWAO3W.js";import"./454AAUCM.js";import"./Y5OHDPVW.js";import"./HBDMIGI6.js";export{a as EventEditorTypes,b as buildSchema};