@esri/solutions-components 1.1.0-next.20250828.1 → 1.1.0-next.20250828.2
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.
- package/dist/cdn/{GK44TAEU.js → 22VUG52P.js} +2 -2
- package/dist/cdn/{MX3TETVN.js → 273HBBPG.js} +2 -2
- package/dist/cdn/{C4LQJEYB.js → 27GU7GYQ.js} +2 -2
- package/dist/cdn/{WEJPHZ6X.js → 2AKBCQY2.js} +1 -1
- package/dist/cdn/{7HOQOHLS.js → 2CLQIGTQ.js} +3 -3
- package/dist/cdn/{STIQHGIK.js → 2CUPKSCG.js} +2 -2
- package/dist/cdn/{KBJVTI7N.js → 2KI55TW6.js} +2 -2
- package/dist/cdn/2OAXFR6L.js +4 -0
- package/dist/cdn/{CBO2RDTT.js → 2PJIFZFR.js} +2 -2
- package/dist/cdn/{X5V5AZ3Q.js → 2QCJLZ63.js} +1 -1
- package/dist/cdn/{QMUABZZ3.js → 2UQHVAPG.js} +2 -2
- package/dist/cdn/{XG2S3RYT.js → 326W5C3M.js} +2 -2
- package/dist/cdn/{6OZU72YD.js → 33ZIJFIL.js} +2 -2
- package/dist/cdn/{GK3DRXAZ.js → 34Q3SIKI.js} +1 -1
- package/dist/cdn/{BYQH46XN.js → 3BA35NLW.js} +1 -1
- package/dist/cdn/{QR3L46D5.js → 3BO2SPYK.js} +2 -2
- package/dist/cdn/{2AV67A2T.js → 3KJKYMM3.js} +2 -2
- package/dist/cdn/{KPNT7J4P.js → 3OD56E6Z.js} +2 -2
- package/dist/cdn/{AXPQH4ZJ.js → 3OZ7STZB.js} +2 -2
- package/dist/cdn/{DRX3Q557.js → 3P3XVVBF.js} +2 -2
- package/dist/cdn/{JMKECZSQ.js → 3TXIADMS.js} +2 -2
- package/dist/cdn/{7HM3TCVT.js → 3W2G7IUG.js} +2 -2
- package/dist/cdn/{V7PUCGHN.js → 3W3N2OW4.js} +2 -2
- package/dist/cdn/{B3KIEGNA.js → 3YBD7WGQ.js} +2 -2
- package/dist/cdn/{ZTM3CDGV.js → 42UKLDMA.js} +2 -2
- package/dist/cdn/{GMSVYDIH.js → 44KAQ55U.js} +2 -2
- package/dist/cdn/{EB2QGHVR.js → 4L42NEGO.js} +2 -2
- package/dist/cdn/{UCPRRFQA.js → 4LFNRX3V.js} +2 -2
- package/dist/cdn/{26YCICDN.js → 4NC25ZGL.js} +2 -2
- package/dist/cdn/{HXDKDUWT.js → 4RU3E5JJ.js} +2 -2
- package/dist/cdn/{NLH6AXUG.js → 4TORHLL5.js} +2 -2
- package/dist/cdn/4Z4HWABC.js +4 -0
- package/dist/cdn/{MEGQ6KRM.js → 54EGA4EZ.js} +2 -2
- package/dist/cdn/{B27CBFJS.js → 5E7QV2O7.js} +2 -2
- package/dist/cdn/{UPPH5CBR.js → 5HTJI2O7.js} +2 -2
- package/dist/cdn/{LFYMUU2V.js → 5NTW3SMG.js} +2 -2
- package/dist/cdn/{PYZJLCSG.js → 5NXGF3W5.js} +3 -3
- package/dist/cdn/{OTIO2N65.js → 5OX5WGHA.js} +1 -1
- package/dist/cdn/{36WDBEGR.js → 5QOODTML.js} +2 -2
- package/dist/cdn/{AHRMZDNR.js → 5V24LS62.js} +2 -2
- package/dist/cdn/{DW46VKBZ.js → 5WL43OVY.js} +2 -2
- package/dist/cdn/{AKGLKYCK.js → 6453EGYF.js} +2 -2
- package/dist/cdn/{2OMEBD46.js → 6H7CBKDX.js} +1 -1
- package/dist/cdn/{NQLUFBVG.js → 6HNDU4O5.js} +2 -2
- package/dist/cdn/{KIZ6DB22.js → 6KHCKTQR.js} +2 -2
- package/dist/cdn/{XQAJKZ6C.js → 6O47YSKC.js} +2 -2
- package/dist/cdn/{5HBQ7FWX.js → 6Q3YGI6N.js} +2 -2
- package/dist/cdn/{5KTLKU3X.js → 6R2KDQYZ.js} +2 -2
- package/dist/cdn/{RI7XLU67.js → 6T4JB4AP.js} +2 -2
- package/dist/cdn/{H5JB4A4Q.js → 6TG5WU2T.js} +2 -2
- package/dist/cdn/{JIZNITTB.js → 6UL4CGV3.js} +1 -1
- package/dist/cdn/{CZ6OLVPL.js → 6V5EI53Z.js} +2 -2
- package/dist/cdn/{G2GKYW5R.js → 6VNI2QN4.js} +2 -2
- package/dist/cdn/{C7PXZ5XP.js → 74JS27QX.js} +2 -2
- package/dist/cdn/{XJJOOJ6G.js → 754BSXAZ.js} +2 -2
- package/dist/cdn/{ONCEFFGM.js → 763AHVWC.js} +1 -1
- package/dist/cdn/{FRSDFIQ7.js → 76JU6BOY.js} +2 -2
- package/dist/cdn/{3Y6AKV3A.js → 772OZS5V.js} +2 -2
- package/dist/cdn/{XPLRTVAH.js → 7D3ORA5L.js} +2 -2
- package/dist/cdn/{DYVBRMAK.js → 7HE2XDQP.js} +2 -2
- package/dist/cdn/{ZLUMLQMX.js → 7ODSJ4C2.js} +2 -2
- package/dist/cdn/{L4UUJ7LK.js → 7OPDEN5Z.js} +2 -2
- package/dist/cdn/{VCIMKIQT.js → 7PZ2EFYE.js} +2 -2
- package/dist/cdn/{CYZAAUHK.js → 7SDACA7E.js} +2 -2
- package/dist/cdn/{W5C6XYPZ.js → 7T2XKQZG.js} +2 -2
- package/dist/cdn/{LI4VAQDX.js → 7TI347JE.js} +2 -2
- package/dist/cdn/{MK7PM652.js → 7V3MPY7L.js} +2 -2
- package/dist/cdn/{YUPQSIMB.js → 7VSGKPYY.js} +2 -2
- package/dist/cdn/{YFVTFHHS.js → 7VVTSZUA.js} +2 -2
- package/dist/cdn/{7DFAPLNH.js → A3FZYMJ3.js} +2 -2
- package/dist/cdn/AB6DDX7F.js +4 -0
- package/dist/cdn/{CGBG5PZ2.js → ADLJ6RMY.js} +2 -2
- package/dist/cdn/{XUR5SZQD.js → AEDDG63K.js} +2 -2
- package/dist/cdn/{PQGFGPWX.js → AGHDKDGU.js} +2 -2
- package/dist/cdn/{6NJ46TBU.js → AJE3VGCN.js} +1 -1
- package/dist/cdn/{OZGOA53Z.js → AJRIBR74.js} +2 -2
- package/dist/cdn/{F2FLEL5E.js → AKU6GXP4.js} +1 -1
- package/dist/cdn/{CPGNQTY2.js → AKVOVYDO.js} +2 -2
- package/dist/cdn/{6VQVRVJN.js → AME3KKAE.js} +2 -2
- package/dist/cdn/{EWEKPBJH.js → AMVW6UNS.js} +1 -1
- package/dist/cdn/{JPXLZZXS.js → AQM3UEAU.js} +2 -2
- package/dist/cdn/{ENH2ONZ4.js → ARIQAES7.js} +2 -2
- package/dist/cdn/{AQ2FH3YW.js → AS5PUT7N.js} +1 -1
- package/dist/cdn/{6IGWNKKM.js → AUAKA7LJ.js} +2 -2
- package/dist/cdn/{ALBAP5B2.js → AV3AAKZF.js} +1 -1
- package/dist/cdn/{6ET6C4H7.js → AVQHN2RK.js} +2 -2
- package/dist/cdn/{XSR3H3JE.js → B3XHEFM7.js} +2 -2
- package/dist/cdn/{HS44XI6I.js → BMNOMAPQ.js} +2 -2
- package/dist/cdn/{KF5JPRED.js → BQXUJXJW.js} +2 -2
- package/dist/cdn/{IXLH6PQM.js → BRMEULCU.js} +2 -2
- package/dist/cdn/{KYXJAPUO.js → BYIYZPMU.js} +2 -2
- package/dist/cdn/{3TQTGTKN.js → C4VY72F4.js} +2 -2
- package/dist/cdn/{5U74KT53.js → C6BYI57L.js} +2 -2
- package/dist/cdn/{MZSMLOVX.js → CALN3HN2.js} +2 -2
- package/dist/cdn/{TXYY3CZT.js → CB7VYEXG.js} +2 -2
- package/dist/cdn/{VY3IHGPV.js → CCQT3UPY.js} +2 -2
- package/dist/cdn/{IMZUKA44.js → CDBCFRYO.js} +2 -2
- package/dist/cdn/{546RNG3Y.js → CEFVBKUA.js} +2 -2
- package/dist/cdn/{EDUOSZ6M.js → CFQBO2LA.js} +2 -2
- package/dist/cdn/{AKROK5I6.js → CT3QX6XG.js} +2 -2
- package/dist/cdn/{4DPKXEG2.js → CUN3U2OE.js} +2 -2
- package/dist/cdn/{FXPO6BYH.js → CW4M6BVD.js} +2 -2
- package/dist/cdn/{SEJEWX5Q.js → DFW7LGU5.js} +2 -2
- package/dist/cdn/{QV5VEINV.js → DGAVCVB6.js} +2 -2
- package/dist/cdn/{O5BVM6GK.js → DHFEEP4Z.js} +2 -2
- package/dist/cdn/{XGYMWH32.js → DJ4PLQBR.js} +2 -2
- package/dist/cdn/{35TW43QQ.js → DOXKQQF7.js} +2 -2
- package/dist/cdn/{QLTL5AOZ.js → DSVENZ7L.js} +2 -2
- package/dist/cdn/{RAB5X7AK.js → DZ7REPR5.js} +2 -2
- package/dist/cdn/{VHUGNL45.js → DZEHMG7V.js} +1 -1
- package/dist/cdn/{FDJ43PSI.js → E6FQL3RC.js} +2 -2
- package/dist/cdn/{JYBGDTJG.js → EKLCVD4K.js} +2 -2
- package/dist/cdn/{3DWKHE5O.js → EKRT5N36.js} +2 -2
- package/dist/cdn/{YN2WZXU6.js → EOITVA52.js} +2 -2
- package/dist/cdn/{LWQPYTCG.js → EOSGKZAE.js} +2 -2
- package/dist/cdn/{B7ICGJ37.js → EPCC65BL.js} +1 -1
- package/dist/cdn/{U3XV5EYZ.js → EQ3PO3JH.js} +2 -2
- package/dist/cdn/{GGN2FCCL.js → ERW2B53X.js} +1 -1
- package/dist/cdn/{VN3XEST3.js → ERWZ6R5Y.js} +2 -2
- package/dist/cdn/EUWILMM3.js +18 -0
- package/dist/cdn/{7BO3ANFM.js → EWSYZETD.js} +1 -1
- package/dist/cdn/{JKFFGWIS.js → EYHENGXX.js} +2 -2
- package/dist/cdn/{C4FUQ72E.js → EZUDO3V5.js} +1 -1
- package/dist/cdn/{H2TYXGET.js → F3EXGINC.js} +2 -2
- package/dist/cdn/{RJEZ6XWV.js → F3IZZQXJ.js} +2 -2
- package/dist/cdn/{B6PWNM4K.js → F44BYUVG.js} +2 -2
- package/dist/cdn/{E7RVVEW4.js → FD5FUB3H.js} +2 -2
- package/dist/cdn/{RF7GC7DM.js → FHPXFSGL.js} +2 -2
- package/dist/cdn/{HVY3WEAO.js → FIWVIW7W.js} +3 -3
- package/dist/cdn/{BIV2TJKS.js → FLRKA4GV.js} +2 -2
- package/dist/cdn/{M72RT7HM.js → FMEFBW7S.js} +1 -1
- package/dist/cdn/{YNTK6QG4.js → FVFEETIR.js} +2 -2
- package/dist/cdn/{VHOSEV73.js → FWTI7J2P.js} +2 -2
- package/dist/cdn/{JSWGE7IT.js → FZNR7TIE.js} +2 -2
- package/dist/cdn/{IPEIHK7F.js → G2QPALWV.js} +2 -2
- package/dist/cdn/{DLL675FL.js → G3SX6B7H.js} +2 -2
- package/dist/cdn/{DR5TXETU.js → G56ANCJ2.js} +2 -2
- package/dist/cdn/{TJ7CBY32.js → G67GSOAQ.js} +2 -2
- package/dist/cdn/{B4UPJLXC.js → GBKUKKUV.js} +2 -2
- package/dist/cdn/{SH5VQIC3.js → GIBTXEPX.js} +2 -2
- package/dist/cdn/{QB6CDCJD.js → GKEYULMP.js} +2 -2
- package/dist/cdn/{CRYUFEFZ.js → GL3BZHYB.js} +2 -2
- package/dist/cdn/{GOHR47DB.js → GMS3OCMJ.js} +2 -2
- package/dist/cdn/{DW2OGWTW.js → GQWNYGQZ.js} +2 -2
- package/dist/cdn/{YRHFGE4P.js → GRQR533B.js} +1 -1
- package/dist/cdn/{CCMZNDQA.js → GS4P4EDL.js} +2 -2
- package/dist/cdn/{DMEFAZ76.js → GVPDFVV5.js} +2 -2
- package/dist/cdn/{YNKROYSZ.js → GW25GPJX.js} +2 -2
- package/dist/cdn/{5NNDG6J5.js → GW2MIUZI.js} +2 -2
- package/dist/cdn/{POHZFGWD.js → GWH4Z6OW.js} +2 -2
- package/dist/cdn/{2FSPJE7Q.js → GWZYEABY.js} +2 -2
- package/dist/cdn/{FQ6Z6D2R.js → H2BB75K3.js} +2 -2
- package/dist/cdn/{BRW5L22J.js → H74SAKUP.js} +2 -2
- package/dist/cdn/{4XZES4HL.js → HDCB5T5X.js} +2 -2
- package/dist/cdn/{JSGVVQLI.js → HHDRTER6.js} +2 -2
- package/dist/cdn/{VPTBKBV5.js → HI32ZP4O.js} +2 -2
- package/dist/cdn/{IK6T3CHJ.js → HIGTYOJX.js} +2 -2
- package/dist/cdn/{NY3225HU.js → HMA5NBHS.js} +2 -2
- package/dist/cdn/{4X5NYKWT.js → HMWYIWHJ.js} +1 -1
- package/dist/cdn/{HGLGHIDT.js → HOTC4IJ5.js} +2 -2
- package/dist/cdn/{KJYG76JE.js → HPOI4I7M.js} +2 -2
- package/dist/cdn/{TUVQYS2V.js → HYYGSVZU.js} +2 -2
- package/dist/cdn/{BKWRFO6A.js → I4P2ZAM6.js} +2 -2
- package/dist/cdn/{M54JSW3C.js → IDCTIXPE.js} +2 -2
- package/dist/cdn/{UBZYZM33.js → IM622Y5Y.js} +1 -1
- package/dist/cdn/{3QO6PGBY.js → IP7HD6QN.js} +2 -2
- package/dist/cdn/{N2GS7B2K.js → IU4S3NNZ.js} +2 -2
- package/dist/cdn/{PALJBSCG.js → IUFNTIUY.js} +2 -2
- package/dist/cdn/{P5ZMJP4V.js → IURQSBDX.js} +2 -2
- package/dist/cdn/{BFQBJPK6.js → IYPIWHZT.js} +2 -2
- package/dist/cdn/{FSR2DZ4R.js → J7EYR5NT.js} +2 -2
- package/dist/cdn/JADXSGAB.js +4 -0
- package/dist/cdn/{MIFZPSBO.js → JAYFM462.js} +2 -2
- package/dist/cdn/{NHVC4YL2.js → JEUEWHNF.js} +2 -2
- package/dist/cdn/{TTZL3K3E.js → JFFCMNMZ.js} +2 -2
- package/dist/cdn/{Z35UNYVL.js → JP4DSG7F.js} +2 -2
- package/dist/cdn/{XEQGV3GM.js → JP7CV4WF.js} +2 -2
- package/dist/cdn/{MKDT3Q7R.js → JPB44GYN.js} +2 -2
- package/dist/cdn/{XXXAZZZG.js → JV3ZVPBM.js} +2 -2
- package/dist/cdn/{UO7OBDGW.js → JXC3JSLR.js} +2 -2
- package/dist/cdn/{WVPI3EEQ.js → JXRF526X.js} +2 -2
- package/dist/cdn/{FLHJNKOE.js → K3MOV6LF.js} +2 -2
- package/dist/cdn/{TZBL6REQ.js → K3OMOM5T.js} +2 -2
- package/dist/cdn/{33JDCGQY.js → K6KHPUBQ.js} +2 -2
- package/dist/cdn/{MMY2DKGT.js → KMHSDP5I.js} +2 -2
- package/dist/cdn/{SONGFV3C.js → KODVG4FU.js} +2 -2
- package/dist/cdn/{UC3D77A5.js → KSTE62UX.js} +2 -2
- package/dist/cdn/{K2TYLDFY.js → KUFXITHP.js} +2 -2
- package/dist/cdn/{NIOKVXIH.js → KVNJ4EPB.js} +2 -2
- package/dist/cdn/{RDI3HGUX.js → L25FEX4Y.js} +2 -2
- package/dist/cdn/{YYHOJE6C.js → L7I3G45K.js} +2 -2
- package/dist/cdn/{SJNT3XEY.js → LENHGFEC.js} +1 -1
- package/dist/cdn/{FPNOAZMV.js → LHFLMU4H.js} +2 -2
- package/dist/cdn/{2VNHCYRT.js → LJFJ34P7.js} +1 -1
- package/dist/cdn/{7T5SAWSV.js → LSGGEO6P.js} +2 -2
- package/dist/cdn/{N22YJXXP.js → LSRCDLFB.js} +2 -2
- package/dist/cdn/{RAZSWOEJ.js → LTGJUXQ6.js} +1 -1
- package/dist/cdn/{A6QKATD2.js → LTPGJHX3.js} +1 -1
- package/dist/cdn/{2EF374XU.js → LXQBVGWX.js} +2 -2
- package/dist/cdn/{FAW6QK4L.js → LXWO5K3S.js} +2 -2
- package/dist/cdn/{6HAMUWST.js → LYMZA4SQ.js} +2 -2
- package/dist/cdn/{MLTX6O43.js → LYVOVUCW.js} +2 -2
- package/dist/cdn/{SLPPCCNN.js → M3TZOZRR.js} +2 -2
- package/dist/cdn/{T6JOLUZG.js → M6RKRYRQ.js} +2 -2
- package/dist/cdn/{BSTRVEYV.js → MENRCTMH.js} +2 -2
- package/dist/cdn/{IIR2GL4O.js → MIYSOUMU.js} +2 -2
- package/dist/cdn/{OAW2LEQA.js → MN2UBMW3.js} +2 -2
- package/dist/cdn/{A62GG2CR.js → MPK5FZ77.js} +2 -2
- package/dist/cdn/{GQ7VWBI5.js → MYDWC6JS.js} +2 -2
- package/dist/cdn/{CYOCNOEQ.js → MYOBSZBE.js} +2 -2
- package/dist/cdn/{7UGYT2BA.js → N2KT2DIZ.js} +2 -2
- package/dist/cdn/{O2J5OZHB.js → N3CBQTJJ.js} +2 -2
- package/dist/cdn/{Z2TEZ7WH.js → N3HUJT2Z.js} +2 -2
- package/dist/cdn/{Q2W2KV6V.js → N6X6743N.js} +1 -1
- package/dist/cdn/{E6KYG4V7.js → NB4VIUWQ.js} +2 -2
- package/dist/cdn/{UJ6JDB4C.js → NJOIRH4C.js} +2 -2
- package/dist/cdn/{K2SZM3RN.js → NUE4IZOA.js} +1 -1
- package/dist/cdn/{5QXXUZUB.js → NYVKKNHY.js} +2 -2
- package/dist/cdn/{CANGP6IW.js → OBPRGZIG.js} +2 -2
- package/dist/cdn/{7LLYRYCX.js → OKURETIK.js} +2 -2
- package/dist/cdn/{NEJTX4GW.js → P5KMTKJV.js} +2 -2
- package/dist/cdn/{EBB534UJ.js → P5U7E35K.js} +2 -2
- package/dist/cdn/P5X672JF.js +4 -0
- package/dist/cdn/{UQYGCFWX.js → PCJR75KO.js} +2 -2
- package/dist/cdn/{652JQXQ3.js → PCMR2E7P.js} +2 -2
- package/dist/cdn/{UTTDAUUZ.js → PEGOSNST.js} +2 -2
- package/dist/cdn/{U3OP2U6Z.js → PF5Y2X73.js} +2 -2
- package/dist/cdn/{KYOUFKRO.js → PKHJ5Y35.js} +2 -2
- package/dist/cdn/{WBHZGQ22.js → POHLVKZF.js} +2 -2
- package/dist/cdn/{3MC2LO4F.js → POSTWVDP.js} +2 -2
- package/dist/cdn/{WG7Q4BDA.js → PUIDIQPS.js} +2 -2
- package/dist/cdn/{D3OD3224.js → PXF7VJMQ.js} +2 -2
- package/dist/cdn/{EBIVM2FW.js → PYKUVKBS.js} +2 -2
- package/dist/cdn/{PHL5FZXU.js → PYY66E34.js} +2 -2
- package/dist/cdn/{NS7GJVVE.js → PZPOIFW2.js} +2 -2
- package/dist/cdn/{A7DFEGZ7.js → Q3W3ZOVD.js} +2 -2
- package/dist/cdn/{I6UOZCLY.js → Q6GPYGWL.js} +2 -2
- package/dist/cdn/{VAOCCS73.js → QEDOQTCT.js} +2 -2
- package/dist/cdn/QESZMDO7.js +4 -0
- package/dist/cdn/{ZHQ6ROUR.js → QFSQIJZZ.js} +2 -2
- package/dist/cdn/{BDMJVTHY.js → QICVTGQ5.js} +2 -2
- package/dist/cdn/{2QAV2QYW.js → QKGXGXFW.js} +2 -2
- package/dist/cdn/{2O374BAL.js → QLLQWJIZ.js} +2 -2
- package/dist/cdn/{V3GKYXYA.js → QRBNXX42.js} +2 -2
- package/dist/cdn/{NN3GJEFI.js → QTP3C6RK.js} +2 -2
- package/dist/cdn/{2QNTOEJK.js → QWSAALJQ.js} +2 -2
- package/dist/cdn/{MXJ7HWJS.js → QZ55GNRU.js} +2 -2
- package/dist/cdn/{UY24LHY4.js → R2BHJEVT.js} +2 -2
- package/dist/cdn/{NLID5CZE.js → R37TLB4X.js} +1 -1
- package/dist/cdn/{4IVAVDMB.js → R3SZO62G.js} +2 -2
- package/dist/cdn/{57DIBSIO.js → R3ZEGHW3.js} +2 -2
- package/dist/cdn/{N7HAI6WO.js → RDWWOOCJ.js} +3 -3
- package/dist/cdn/{ATIYZX6B.js → RFKE6SS5.js} +2 -2
- package/dist/cdn/{4VZPNPGU.js → RFPUR3DW.js} +2 -2
- package/dist/cdn/{WF7TSEQJ.js → RGV3U5AM.js} +2 -2
- package/dist/cdn/{VLVX734B.js → RI4PHAP2.js} +1 -1
- package/dist/cdn/{DBXZYHOM.js → RJ2KA6OW.js} +2 -2
- package/dist/cdn/{4UJYA5HN.js → RNLV4QO2.js} +2 -2
- package/dist/cdn/{BSLRHAFV.js → ROOZ6PE2.js} +2 -2
- package/dist/cdn/{7J3S3PEI.js → RPNUHJYK.js} +2 -2
- package/dist/cdn/{REQK6J2O.js → RUEX2MOD.js} +1 -1
- package/dist/cdn/{K26FULAO.js → RYF5VUBI.js} +2 -2
- package/dist/cdn/{DWP43GP4.js → S4XUCOWV.js} +2 -2
- package/dist/cdn/{4CW5ZN2J.js → S63B4P2X.js} +1 -1
- package/dist/cdn/S6AU5Q6W.js +4 -0
- package/dist/cdn/{DQEVDO3H.js → SKNM7XAA.js} +2 -2
- package/dist/cdn/{TE5HWEFM.js → SVB6IP5C.js} +2 -2
- package/dist/cdn/{47FR5LH6.js → SXW7LPDB.js} +4 -4
- package/dist/cdn/{NTBVDB22.js → SYB3FBLS.js} +2 -2
- package/dist/cdn/{3VPIT7EP.js → SZZGDUXZ.js} +2 -2
- package/dist/cdn/{4ABVYOCU.js → T2GHIDR6.js} +2 -2
- package/dist/cdn/{IR5XIL33.js → T3BM5TJD.js} +2 -2
- package/dist/cdn/{7IULIN3X.js → TA4FWBUK.js} +2 -2
- package/dist/cdn/{E3V7CI2N.js → TCMXT2UU.js} +2 -2
- package/dist/cdn/{GB5ZF5RN.js → TDZIJPTZ.js} +2 -2
- package/dist/cdn/{5VD3HZ7O.js → TMO5RTB6.js} +2 -2
- package/dist/cdn/{C6AQF4XB.js → TOFRHBOB.js} +2 -2
- package/dist/cdn/{JMMK6ZMC.js → TRUBVCKV.js} +2 -2
- package/dist/cdn/{YLMBFPLK.js → TS7RZJGZ.js} +2 -2
- package/dist/cdn/{ESLJFPTI.js → TTH4SO55.js} +2 -2
- package/dist/cdn/{H5KGEGEJ.js → TVNF3ZMP.js} +2 -2
- package/dist/cdn/{E37AIEUX.js → TXQMD6WV.js} +2 -2
- package/dist/cdn/{RPW7AYSZ.js → TXRXICA2.js} +2 -2
- package/dist/cdn/{VWLK7PTP.js → TXS7JDLW.js} +2 -2
- package/dist/cdn/{GI7CHY4L.js → U4FL6DA7.js} +2 -2
- package/dist/cdn/{IPIEVCV4.js → U6O5OR7T.js} +2 -2
- package/dist/cdn/{AUKH3VVM.js → U6PKFAG3.js} +1 -1
- package/dist/cdn/{DKYVAGTI.js → UFMFYDXM.js} +2 -2
- package/dist/cdn/{DXLKZIT5.js → UHN645XS.js} +2 -2
- package/dist/cdn/{OPN7TLOX.js → UKIPNYSS.js} +2 -2
- package/dist/cdn/{LH4BUNTY.js → UKNZLESJ.js} +1 -1
- package/dist/cdn/{44QYZ3R3.js → ULUXYW2M.js} +1 -1
- package/dist/cdn/{XX5RRYQ6.js → UPXECYMT.js} +2 -2
- package/dist/cdn/{ZE7HW2JM.js → UT7TX3ZR.js} +2 -2
- package/dist/cdn/{SNLBW6KW.js → UVRE5JLM.js} +2 -2
- package/dist/cdn/{T62E5YW4.js → V5J52ZM7.js} +2 -2
- package/dist/cdn/{THAGNM2K.js → V64USV35.js} +2 -2
- package/dist/cdn/{PN5GHDUD.js → VAHLKR3X.js} +2 -2
- package/dist/cdn/{3BQDKOMZ.js → VCPA622T.js} +2 -2
- package/dist/cdn/{G76OWTXG.js → VDKJJE4O.js} +2 -2
- package/dist/cdn/{DEYLCJSP.js → VGMTOKWS.js} +2 -2
- package/dist/cdn/{DJRMK3VA.js → VK6A2NWT.js} +2 -2
- package/dist/cdn/{AH6FHXER.js → VMVINW73.js} +2 -2
- package/dist/cdn/{KJPAONFN.js → VXWZGWMN.js} +2 -2
- package/dist/cdn/{K6LFIJVD.js → VZ5EZCXT.js} +1 -1
- package/dist/cdn/{5BTDYNM7.js → W5SBQGH4.js} +1 -1
- package/dist/cdn/{AR3C2LAV.js → WBQQPOED.js} +2 -2
- package/dist/cdn/{YX75OIOE.js → WFO32OM2.js} +2 -2
- package/dist/cdn/{MXD2VYNV.js → WLX3AYBH.js} +2 -2
- package/dist/cdn/{7IRGUM5P.js → WSV5YZZS.js} +2 -2
- package/dist/cdn/{LWDXOC4I.js → WUOM2MPY.js} +2 -2
- package/dist/cdn/{VAAUVFHY.js → WUXN4327.js} +2 -2
- package/dist/cdn/{DX455HUC.js → WWNBCKJI.js} +2 -2
- package/dist/cdn/{FRQ67D6R.js → WXUHDNZ7.js} +2 -2
- package/dist/cdn/{GHQDCMRA.js → X3PQLQKS.js} +2 -2
- package/dist/cdn/{YCORTFS7.js → XC2QAJDT.js} +2 -2
- package/dist/cdn/{CA7A63KC.js → XGAYQ562.js} +2 -2
- package/dist/cdn/{ENPHJ77X.js → XL7S4BZ7.js} +2 -2
- package/dist/cdn/{6ZC5QJES.js → XPMFUGFB.js} +2 -2
- package/dist/cdn/{UKMDLZPH.js → XSJOX2PL.js} +2 -2
- package/dist/cdn/{4E7KLTF4.js → XYCPHWHV.js} +1 -1
- package/dist/cdn/{O63PPDNK.js → XZTBY24O.js} +2 -2
- package/dist/cdn/Y4VGFFUL.js +4 -0
- package/dist/cdn/{X4RL35IN.js → Y5UTJKYQ.js} +2 -2
- package/dist/cdn/{GSRYDGAV.js → YG625WCQ.js} +2 -2
- package/dist/cdn/YG7I5L6A.js +4 -0
- package/dist/cdn/{Q3VSD5OV.js → YORP7KPN.js} +2 -2
- package/dist/cdn/{2GSLR45C.js → YPHH5MBJ.js} +2 -2
- package/dist/cdn/{33VV6P5Q.js → YRTTWXRV.js} +1 -1
- package/dist/cdn/{KIBTIL2M.js → YSZSJXH6.js} +2 -2
- package/dist/cdn/{FJCYNY4E.js → YW3IAR3O.js} +2 -2
- package/dist/cdn/{RXVLH3D5.js → Z6FFQDZ2.js} +2 -2
- package/dist/cdn/{K6YVVZZW.js → Z6WNCLU5.js} +2 -2
- package/dist/cdn/{BX4JV3MY.js → ZANYWAUH.js} +2 -2
- package/dist/cdn/{JXX4ZCZS.js → ZBV3BLKE.js} +2 -2
- package/dist/cdn/{W2ENMANA.js → ZCRFBSHD.js} +2 -2
- package/dist/cdn/{5OJ6RVYY.js → ZIEPTSNN.js} +2 -2
- package/dist/cdn/{B7USG2HH.js → ZNVUGCXL.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +2 -2
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +2 -2
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +6 -6
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +3 -0
- package/dist/components/solutions-deploy-app/customElement.js +43 -49
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +2 -2
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +5 -1
- package/dist/docs/docs.json +4 -4
- package/dist/docs/vscode.html-custom-data.json +2 -1
- package/dist/docs/web-types.json +12 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/3X4Q2NHM.js +0 -4
- package/dist/cdn/4ATWDBCE.js +0 -4
- package/dist/cdn/7GCPH6WD.js +0 -4
- package/dist/cdn/AMF6ECXI.js +0 -4
- package/dist/cdn/B2TVCPX3.js +0 -4
- package/dist/cdn/CDR5VU6V.js +0 -4
- package/dist/cdn/NZ46RO5H.js +0 -4
- package/dist/cdn/P4RKKCIM.js +0 -18
- package/dist/cdn/SGGGHGPT.js +0 -4
- package/dist/cdn/Y2IMB6QO.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.20250828.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var e="Nem\xE1te dostatok kreditov pre spustenie tejto oper\xE1cie. Kontaktujte v\xE1\u0161ho spr\xE1vcu syst\xE9mu ArcGIS pre asistenciu.",a="Tento n\xE1stroj bol publikovan\xFD z notebooku. Pr\xEDstup do ArcGIS Notebooks je pre va\u0161u organiz\xE1ciu zablokovan\xFD. Ak chcete upravi\u0165 toto nastavenie, kontaktujte svojho spr\xE1vcu.",o="${ dataPath } nem\xF4\u017Ee ma\u0165 ${ additionalProperty }.",t="${ dataPath } sa mus\xED zhodova\u0165 so sch\xE9mou jednej z t\xFDchto: ${ schemaOptions }.",r="Sk\xFAste mapu ulo\u017Ei\u0165 znova.",s="Odhad kreditov zlyhal. Prejdite nadol, opravte chyby a znovu odhadnite kredity.",i="Pri spusten\xED anal\xFDzy sa vyskytla chyba.",n="${ dataPath } mus\xED by\u0165 rovn\xE9 jednej z t\xFDchto povolen\xFDch hodn\xF4t: ${ allowedValues }.",l="Nepodarilo sa ulo\u017Ei\u0165 hist\xF3riu anal\xFDzy",d="\xDAlo\u017Eisko hist\xF3rie je pln\xE9. Odstr\xE1\u0148te niektor\xE9 polo\u017Eky z hist\xF3rie anal\xFDz a sk\xFAste ulo\u017Ei\u0165 znova.",v="N\xE1zov slu\u017Eby obsahuje jeden alebo viac neplatn\xFDch znakov.",u="Ulo\u017Eenie do\u010Dasnej vrstvy ako hostovanej prvkovej vrstvy nebolo dokon\u010Den\xE9.",c="Z\xEDskanie vlastnost\xED k\u013E\xFA\u010Da zlyhalo.",m="Na\u010D\xEDtanie vrstvy zlyhalo.",h="Vrstva nie je k dispoz\xEDcii.",p="${ dataPath } nem\xF4\u017Ee ma\u0165 viac ne\u017E ${ limit } polo\u017Eiek.",y="Pri ukladan\xED modelu sa vyskytla chyba. Sk\xFAste ulo\u017Ei\u0165 znova.",k="${ dataPath } nem\xF4\u017Ee ma\u0165 menej ne\u017E ${ limit } polo\u017Eiek.",z="${ dataPath } nem\xF4\u017Ee by\u0165 krat\u0161\xED ne\u017E ${ limit } znakov.",j="Nepodarilo sa na\u010D\xEDta\u0165 polo\u017Eku modelu. Uistite sa, \u017Ee model existuje a \u017Ee bolo udelen\xE9 opr\xE1vnenie na pr\xEDstup.",b="Dokon\u010Denie \u017Eiadosti zlyhalo.",P="Nem\xE1te povolenie na spustenie tohto n\xE1stroja. <calcite-link target='_blank' href='${ docLink }'>Zisti\u0165 viac</calcite-link>",E="Pridanie port\xE1lu zlyhalo.",S="Na\u010D\xEDtanie vstupn\xFDch d\xE1t zlyhalo.",$="${ dataPath } ch\xFDba vlastnos\u0165 s n\xE1zvom ${ missingProperty }.",N="V\xFDsledn\xE1 vrstva s t\xFDmto n\xE1zvom u\u017E existuje. V\xFDsledn\xE9 vrstvy musia by\u0165 pomenovan\xE9 v r\xE1mci organiz\xE1cie jedine\u010Dne. Pou\u017Eite in\xFD n\xE1zov.",f="V\xFDstupn\xFD n\xE1zov obsahuje jeden alebo viac neplatn\xFDch znakov. <a href='${docLink}' target='_blank'>Zisti\u0165 viac.</a>",F="Publikovanie do\u010Dasnej vrstvy ako hostovanej vrstvy zlyhalo z d\xF4vodu jedn\xE9ho alebo viacer\xFDch neplatn\xFDch pol\xED. Znovu spustite n\xE1stroj na vytvorenie vrstvy s platn\xFDmi po\u013Eami.",I="Odoslanie \xFAlohy zlyhalo. Prejdite nadol, opravte chyby a znovu spustite anal\xFDzu.",T="${ dataPath } mus\xED ma\u0165 aspo\u0148 jeden znak, ktor\xFD nie je medzerou alebo whitespace znakom.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:o,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:c,layerLoadFailure:m,layerUnavailable:h,maxItems:p,mbFailedToSave:y,minItems:k,minLength:z,modelNotFound:j,networkError:b,noPermissionToAccessTool:P,portalLoadError:E,queryFeaturesError:S,requiredProperty:$,serviceNameExistsError:N,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,o as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,c as keyPropertiesError,m as layerLoadFailure,h as layerUnavailable,p as maxItems,y as mbFailedToSave,k as minItems,z as minLength,j as modelNotFound,b as networkError,P as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,$ as requiredProperty,N as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T 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.20250828.
|
4
|
-
import{o as u,p as v,q as _,r as p,v as g,w as C}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{o as u,p as v,q as _,r as p,v as g,w as C}from"./AS5PUT7N.js";import{b as h}from"./ROOZ6PE2.js";import{C as o,D as a,E as m,G as n,h as d,i as c,r as l}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,w="instant-apps-measurement-tool",s={base:w,hide:`${w}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}async load(){await this._initModules()}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,i]=await Promise.all([g(),u(),_()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=i}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await C({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await v({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(W=>W.name===t);this._coordinateWidget?.conversions?.splice(0,0,await p({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);export{r as InstantAppsMeasurementTool};
|
@@ -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.20250828.
|
4
|
-
import a from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import a from"./GWH4Z6OW.js";import{H as b,ib as I,jb as f,o as q}from"./7VVTSZUA.js";import{g as p}from"./XYCPHWHV.js";export default $arcgis.t(([{e:E,f:M,g:R,j:P,k:w}])=>{function V(a,r){let e=[];return a.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function h(a,r,e){if(r<1||a.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:a.length}};let t=Math.min(r+e,a.length+1),s=t<a.length?t:-1;return{cards:a.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:s,total:a.length}}}function z(a,r){let e=B(a);return T(e,r)}function T(a,r){let e=[];return r.forEach(t=>{let s=x(t);s&&a.indexOf(s)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function x(a){let r="solutionid-",e=a.typeKeywords.filter(s=>s.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function B(a){let r=[];return a.forEach(e=>{let t=x(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function y(a,r,e){let t,s=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>s*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>s*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>s*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return a.sort(t),a}var k=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,s,o,i){let d=o?.start?o.start:1,u=o?.num?o.num:24,D=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",J=this.anonAgolSession,S=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==S||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:S,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let l=V(this.cardCache,i);c=h(l,d,u)}else c=h(this.cardCache,d,u);return Promise.resolve(c)}let U={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},m=[];if(e){let c=s||new p({});m.push(f(e,r.q,c,U,D))}return t&&m.push(f(t,r.q,J,U,K)),Promise.allSettled(m).then(c=>{let l=[];c.forEach((n,N)=>{let F=!!e&&N===0;if(n.status==="fulfilled"){let O=n.value,C="",A=!1;F?C=this.portalUrl:(C=this.agolPortalUrl,A=!0),O.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=A}),l.push(O)}else if(n.status==="rejected")throw new Error(F?n.reason.message:"enterpriseCannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=y(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let n=V(this.cardCache,i);g=h(n,d,u)}else g=h(this.cardCache,d,u);return Promise.resolve(g)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let s={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return I(s).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?q(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+M([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:R(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:P(e.created,this.locale),modified:P(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:E(e.licenseInfo),deployCommonId:w(e.typeKeywords||[],"solutionid-"),deployVersion:w(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:b(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(s=>e+=s.total);let t=[];return r.forEach(s=>t=t.concat(s.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(s=>(s.format==="image"&&(s.name=t+"/sharing/rest/content/items/"+r+"/resources/"+s.name),s)):[]}};return{a:z,b:k}},a)
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var e="Du har ikke credits nok til at udf\xF8re denne handling. Kontakt din ArcGIS-systemadministrator for at f\xE5 hj\xE6lp.",r="Dette v\xE6rkt\xF8j blev publiceret fra en notesbog. Adgang til ArcGIS Notebooks er blokeret for din organisation. Kontakt din administrator for at justere indstillingen.",a="${ dataPath } m\xE5 ikke have ${ additionalProperty }.",t="${ dataPath } skal matche skemaet fra en af disse: ${ schemaOptions }.",i="Pr\xF8v at gemme kortet igen.",n="Credit-beregning mislykkedes. Rul ned, ret fejlene, og beregn credits igen.",l="Der opstod en fejl under k\xF8rsel af analyse.",s="${ dataPath } skal v\xE6re lig med en af disse tilladte v\xE6rdier: ${ allowedValues }.",o="Kunne ikke gemme analysehistorik",d="Historiklager er fuldt. Fjern nogle elementer fra analysehistorikken, og pr\xF8v at gemme igen.",g="Tjenestenavnet indeholder et eller flere ugyldige tegn.",k="Lagringen af det midlertidige lag som et hostet objektlag blev ikke fuldf\xF8rt.",m="Kunne ikke f\xE5 n\xF8gleegenskaberne.",u="Kunne ikke indl\xE6se laget.",f="Lag er ikke tilg\xE6ngeligt.",c="${ dataPath } m\xE5 ikke have flere end ${ limit } elementer.",v="Der opstod en fejl under lagring af modellen. Pr\xF8v at lagre igen.",h="${ dataPath } m\xE5 ikke have f\xE6rre end ${ limit } elementer.",y="${ dataPath } skal ikke v\xE6re kortere end ${ limit } tegn.",p="Kunne ikke indl\xE6se model-elementet: S\xF8rg for, at modellen findes, og at der er blevet givet adgangstilladelse.",E="Kunne ikke fuldf\xF8re anmodning.",P="Du har ikke tilladelse til at k\xF8re dette v\xE6rkt\xF8j. <calcite-link target='_blank' href='${ docLink }'>F\xE5 flere oplysninger</calcite-link>",b="Kunne ikke logge p\xE5 portal.",S="Kunne ikke l\xE6se inputdata.",F="${ dataPath } mangler en egenskab med navnet ${ missingProperty }.",$="Der findes allerede et resultatlag med dette navn. Resultatlag skal v\xE6re entydige i hele organisationen. Brug et andet navn.",I="Outputnavnet indeholder et eller flere ugyldige tegn. <a href='${docLink}' target='_blank'>F\xE5 mere at vide.</a>",j="Udgivelse af det midlertidige lag som et hostet lag mislykkedes p\xE5 grund af et eller flere ugyldige felter. K\xF8r v\xE6rkt\xF8jet igen for at oprette et lag med gyldige felter.",L="Jobafsendelse mislykkedes. Rul ned, ret fejlene, og k\xF8r analysen igen.",T="${ dataPath } skal have mindst et tegn, der ikke er et mellemrumstegn.",K={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:i,creditEstimationError:n,defaultError:l,enumValues:s,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:g,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:f,maxItems:c,mbFailedToSave:v,minItems:h,minLength:y,modelNotFound:p,networkError:E,noPermissionToAccessTool:P,portalLoadError:b,queryFeaturesError:S,requiredProperty:F,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:j,toolValidationError:L,whiteSpacePattern:T};export{e as InsufficientCreditsError,r as accessBlocked,a as additionalProperty,t as anyOfValues,i as cannotWriteToItemResource,n as creditEstimationError,K as default,l as defaultError,s as enumValues,o as failedToSaveHistory,d as fullSessionStorage,g as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,f as layerUnavailable,c as maxItems,v as mbFailedToSave,h as minItems,y as minLength,p as modelNotFound,E as networkError,P as noPermissionToAccessTool,b as portalLoadError,S as queryFeaturesError,F as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,j as temporaryLayerFieldsError,L as toolValidationError,T 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.20250828.
|
4
|
-
import{l as r,u as s,v as i,y as o}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{l as r,u as s,v as i,y as o}from"./NUE4IZOA.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var B=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var x=e=>{let t=[],r=0;return e=e.replace(/(\[[^\]]*\])/g,(s,a)=>{let c=`__ph-${r}__`;return t.push(a),r++,c}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(s,a,c)=>{let l=`__ph-${r}__`;return t.push(c),r++,a+l}),placeholders:t}},L=(e,t)=>t.replace(/__ph-(\d+)__/g,(r,n)=>e[+n]),f="-shadowcsshost",E="-shadowcssslotted",w="-shadowcsscontext",$=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",P=new RegExp("("+f+$,"gim"),W=new RegExp("("+w+$,"gim"),j=new RegExp("("+E+$,"gim"),h=f+"-no-combinator",N=/-shadowcsshost-no-combinator([^\s]*)/,M=[/::shadow/g,/::content/g],D="([>\\s~+[.,{:][\\s\\S]*)?$",R=/-shadowcsshost/gim,H=e=>new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${e}\\b)`,"gim"),K=H("::slotted"),U=H(":host"),Y=H(":host-context"),A=/\/\*\s*[\s\S]*?\*\//g,G=e=>e.replace(A,""),I=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,q=e=>e.match(I)||[],z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,F=/([{}])/g,J=/(^.*?[^\\])??((:+)(.*)|$)/,Q="{",V="}",S="%BLOCK%",X=(e,t)=>{let r=Z(e),n=0;return r.escapedString.replace(z,(...o)=>{let s=o[2],a="",c=o[4],l="";c&&c.startsWith("{"+S)&&(a=r.blocks[n++],c=c.substring(S.length+1),l="{");let d=t({selector:s,content:a});return`${o[1]}${d.selector}${o[3]}${l}${d.content}${c}`})},Z=e=>{let t=e.split(F),r=[],n=[],o=0,s=[];for(let c=0;c<t.length;c++){let l=t[c];l===V&&o--,o>0?s.push(l):(s.length>0&&(n.push(s.join("")),r.push(S),s=[]),r.push(l)),l===Q&&o++}return s.length>0&&(n.push(s.join("")),r.push(S)),{escapedString:r.join(""),blocks:n}},T=e=>(e=e.replace(Y,`$1${w}`).replace(U,`$1${f}`).replace(K,`$1${E}`),e),O=(e,t,r)=>e.replace(t,(...n)=>{if(n[2]){let o=n[2].split(","),s=[];for(let a=0;a<o.length;a++){let c=o[a].trim();if(!c)break;s.push(r(h,c,n[3]))}return s.join(",")}else return h+n[3]}),b=(e,t,r)=>e+t.replace(f,"")+r,ee=e=>O(e,P,b),te=(e,t,r)=>t.indexOf(f)>-1?b(e,t,r):e+t+r+", "+t+" "+e+r,re=(e,t)=>{let r="."+t+" > ",n=[];return e=e.replace(j,(...o)=>{if(o[2]){let s=o[2].trim(),a=o[3],c=r+s+a,l="";for(let g=o[4]-1;g>=0;g--){let p=o[5][g];if(p==="}"||p===",")break;l=p+l}let u=(l+c).trim(),d=`${l.trimEnd()}${c.trim()}`.trim();if(u!==d){let g=`${d}, ${u}`;n.push({orgSelector:u,updatedSelector:g})}return c}else return h+o[3]}),{selectors:n,cssText:e}},oe=e=>O(e,W,te),ne=e=>M.reduce((t,r)=>t.replace(r," "),e),se=e=>{let t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+D,"m")},ce=(e,t)=>!se(t).test(e),k=(e,t)=>e.replace(J,(r,n="",o,s="",a="")=>n+t+s+a),ae=(e,t,r)=>{if(R.lastIndex=0,R.test(e)){let n=`.${r}`;return e.replace(N,(o,s)=>k(s,n)).replace(R,n+" ")}return t+" "+e},le=(e,t,r)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(v,...i)=>i[0]);let o="."+t,s=v=>{let i=v.trim();if(!i)return"";if(v.indexOf(h)>-1)i=ae(v,t,r);else{let _=v.replace(R,"");_.length>0&&(i=k(_,o))}return i},a=x(e);e=a.content;let c="",l=0,u,d=/( |>|\+|~(?!=))\s*/g,p=!(e.indexOf(h)>-1);for(;(u=d.exec(e))!==null;){let v=u[1],i=e.slice(l,u.index).trim();p=p||i.indexOf(h)>-1;let _=p?s(i):i;c+=`${_} ${v} `,l=d.lastIndex}let m=e.substring(l);return p=p||m.indexOf(h)>-1,c+=p?s(m):m,L(a.placeholders,c)},pe=(e,t,r,n)=>e.split(",").map(o=>n&&o.indexOf("."+n)>-1?o.trim():ce(o,t)?le(o,t,r).trim():o.trim()).join(", "),y=(e,t,r,n)=>X(e,o=>{let s=o.selector,a=o.content;return o.selector[0]!=="@"?s=pe(o.selector,t,r,n):(o.selector.startsWith("@media")||o.selector.startsWith("@supports")||o.selector.startsWith("@page")||o.selector.startsWith("@document"))&&(a=y(o.content,t,r,n)),{selector:s.replace(/\s{2,}/g," ").trim(),content:a}}),ie=(e,t,r,n)=>{e=T(e),e=ee(e),e=oe(e);let o=re(e,n);return e=o.cssText,e=ne(e),t&&(e=y(e,t,r,n)),e=C(e,r),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:o.selectors.map(s=>({orgSelector:C(s.orgSelector,r),updatedSelector:C(s.updatedSelector,r)}))}},C=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),ue=(e,t)=>{let r=t+"-h",n=t+"-s",o=q(e);e=G(e);let s=ie(e,t,r,n);return e=[s.cssText,...o].join(`
|
5
5
|
`),s.slottedSelectors.forEach(a=>{let c=new RegExp(B(a.orgSelector),"g");e=e.replace(c,a.updatedSelector)}),e};export{ue as scopeCss};
|
@@ -1,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.20250828.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var e="Teil pole selle toimingu tegemiseks piisavalt krediiti. Abi saamiseks p\xF6\xF6rduge ArcGIS-i s\xFCsteemiadministraatori poole.",a="See t\xF6\xF6riist avaldati m\xE4rkmikust. Juurdep\xE4\xE4s ArcGIS m\xE4rkmikele on teie organisatsiooni jaoks blokeeritud. Seadete kohandamiseks v\xF5tke \xFChendust oma administraatoriga.",i="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",t="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",s="Proovige kaarti uuesti salvestada.",r="Krediidi hindamine nurjus. Liikuge kerides alla, parandage vead ja hinnake krediiti uuesti.",o="Anal\xFC\xFCsi k\xE4itamisel ilmnes t\xF5rge.",l="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",u="Anal\xFC\xFCsiajaloo salvestamine nurjus",n="Ajaloo talletusruum on t\xE4is. Eemaldage anal\xFC\xFCsiajaloost m\xF5ned sisu\xFCksused ja proovige uuesti salvestada.",d="Teenuse nimi sisaldab v\xE4hemalt \xFChte sobimatut t\xE4hem\xE4rki.",m="Ajutise kihi salvestamine majutatud objektikihina ei j\xF5udnud l\xF5pule.",k="V\xF5tmeatribuutide toomine nurjus.",h="Kihi laadimine nurjus",v="Kiht pole saadaval.",c="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",p="Mudeli salvestamisel ilmnes t\xF5rge. Proovige uuesti salvestada.",g="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",j="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",E="Mudeli \xFCksuse laadimine nurjus. Veenduge, et mudel oleks olemas ja juurdep\xE4\xE4suluba oleks antud.",P="Taotluse t\xE4itmine nurjus.",b="Teil puudub selle t\xF6\xF6riista kasutamise \xF5igus. <calcite-link target='_blank' href='${ docLink }'>Lisateave</calcite-link>",y="Portaali sisselogimine nurjus.",S="Sisendandmete lugemine nurjus.",T="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",$="Selle nimega tulemkiht on juba olemas. Tulemkihtide nimed peavad kogu organisatsioonis olema kordumatud. Kasutage m\xF5nda muud nime.",f="V\xE4ljundi nimes on \xFCks v\xF5i mitu lubamatut m\xE4rki. <a href='${docLink}' target='_blank'>Lisateave.</a>",F="Ajutise kihi avaldamine majutatud kihina nurjus v\xE4hemalt \xFChe sobimatu v\xE4lja t\xF5ttu. K\xE4ivitage t\xF6\xF6riist uuesti, et luua sobivate v\xE4ljadega kiht.",I="T\xF6\xF6 edastamine nurjus. Liikuge kerides alla, parandage vead ja k\xE4ivitage anal\xFC\xFCs uuesti.",L="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:r,defaultError:o,enumValues:l,failedToSaveHistory:u,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:h,layerUnavailable:v,maxItems:c,mbFailedToSave:p,minItems:g,minLength:j,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:y,queryFeaturesError:S,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,r as creditEstimationError,A as default,o as defaultError,l as enumValues,u as failedToSaveHistory,n as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,h as layerLoadFailure,v as layerUnavailable,c as maxItems,p as mbFailedToSave,g as minItems,j as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,y as portalLoadError,S as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
|
@@ -1,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.20250828.
|
4
|
-
import{b as d}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{b as d}from"./JP7CV4WF.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
|
@@ -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.20250828.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828.
|
4
|
-
import a from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import a from"./OKURETIK.js";export default $arcgis.t(([t])=>{var a=t({data:{},relationshipRampExpandStates:{},compact:!1}),o=a.state;a.onChange;var s=a;return{a:o,b:s}},a)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828.
|
4
|
-
import{b as h}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{b as h}from"./LTGJUXQ6.js";import{b as c}from"./JP7CV4WF.js";import{C as n,D as l,E as r,h as i,i as s,o as a}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var u=i`/** @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.20250828.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as n}from"./LJFJ34P7.js";import{a as s}from"./7TI347JE.js";import"./6453EGYF.js";import"./AKU6GXP4.js";import"./AMVW6UNS.js";import"./ULUXYW2M.js";import{a as r,b as i}from"./WXUHDNZ7.js";import"./6HNDU4O5.js";import"./RGV3U5AM.js";import"./LXQBVGWX.js";import{a as o}from"./6V5EI53Z.js";import{a}from"./XZTBY24O.js";import"./KMHSDP5I.js";import"./XYCPHWHV.js";import"./GRQR533B.js";import"./Z6WNCLU5.js";import"./EPCC65BL.js";import"./RYF5VUBI.js";import"./LXWO5K3S.js";import"./EWSYZETD.js";import"./RNLV4QO2.js";import"./S4XUCOWV.js";import"./6O47YSKC.js";import"./VAHLKR3X.js";import"./5NTW3SMG.js";import"./IURQSBDX.js";import"./XSJOX2PL.js";import"./LENHGFEC.js";import"./MIYSOUMU.js";import"./ERW2B53X.js";import"./34Q3SIKI.js";import"./42UKLDMA.js";import"./ZANYWAUH.js";import"./7OPDEN5Z.js";import"./DZEHMG7V.js";import"./TS7RZJGZ.js";import"./TRUBVCKV.js";import"./54EGA4EZ.js";import"./AV3AAKZF.js";import"./U6PKFAG3.js";import"./LTPGJHX3.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as n}from"./2AKBCQY2.js";import{a as o}from"./WLX3AYBH.js";import{a as m}from"./7TI347JE.js";import"./6453EGYF.js";import"./AKU6GXP4.js";import"./AMVW6UNS.js";import"./ULUXYW2M.js";import"./LXQBVGWX.js";import{a as s}from"./6V5EI53Z.js";import{a as i}from"./XZTBY24O.js";import"./KMHSDP5I.js";import"./XYCPHWHV.js";import"./GRQR533B.js";import"./Z6WNCLU5.js";import"./EPCC65BL.js";import{b as r}from"./RYF5VUBI.js";import"./LXWO5K3S.js";import"./EWSYZETD.js";import"./RNLV4QO2.js";import"./S4XUCOWV.js";import"./6O47YSKC.js";import"./VAHLKR3X.js";import"./5NTW3SMG.js";import"./IURQSBDX.js";import"./XSJOX2PL.js";import"./LENHGFEC.js";import"./MIYSOUMU.js";import"./ERW2B53X.js";import"./34Q3SIKI.js";import"./42UKLDMA.js";import"./ZANYWAUH.js";import"./7OPDEN5Z.js";import"./DZEHMG7V.js";import"./TS7RZJGZ.js";import"./TRUBVCKV.js";import"./54EGA4EZ.js";import"./AV3AAKZF.js";import"./U6PKFAG3.js";import"./LTPGJHX3.js";var p=(e,l)=>["myContent","organization"].map(d=>{let a=o("initiativeTemplate.fields.recommendedTemplates",d,"item",{user:e});return a.collections=[c(l)],a}),c=e=>({targetEntity:"item",key:"recommendedTemplates",label:`${e}.fields.recommendedTemplates.collection.label`,scope:{targetEntity:"item",filters:[{predicates:[{type:"Solution"}]},{predicates:[{typekeywords:["hubSolutionTemplate"]},{typekeywords:["Template"]}],operation:"OR"}]}});var k=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.name.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...m(e,l.thumbnail,n(l),"initiativeTemplate",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{type:"Control",scope:"/properties/description",labelKey:`${e}.fields.description.label`,options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await s(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{type:"Control",scope:"/properties/recommendedTemplates",labelKey:`${e}.fields.recommendedTemplates.label`,options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser,e),facets:[{label:`{{${e}.fields.recommendedTemplates.facets.sharing:translate}}`,key:"access",field:"access",display:"multi-select",operation:"OR"}],canReorder:!1,linkTarget:"siteRelative",pickerTitle:{labelKey:`${e}.fields.recommendedTemplates.pickerTitle`}}}]}]});export{k as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var a="Voc\xEA n\xE3o tem cr\xE9ditos o suficiente para executar esta opera\xE7\xE3o. Entre em contato com seu Administrador de Sistema do ArcGIS para ajuda.",e="Esta ferramenta foi publicada a partir de um notebook. O acesso ao ArcGIS Notebooks est\xE1 bloqueado para sua organiza\xE7\xE3o. Entre em contato com seu administrador para ajustar a configura\xE7\xE3o.",r="${ dataPath } n\xE3o deve ter ${ additionalProperty }.",o="${ dataPath } deve corresponder ao esquema de um destes: ${ schemaOptions }.",s="Tente salvar o mapa novamente.",t="Falha na estimativa de cr\xE9dito. Role para baixo, corrija os erros e estime os cr\xE9ditos novamente.",i="Ocorreu um erro ao executar a an\xE1lise.",d="${ dataPath } deve ser igual a um destes valores permitidos: ${ allowedValues }.",n="Falha ao salvar hist\xF3rico de an\xE1lise",m="O armazenamento de hist\xF3rias est\xE1 completo. Remova alguns itens do hist\xF3rico de an\xE1lises e tente salvar novamente.",l="O nome do servi\xE7o cont\xE9m um ou mais caracteres inv\xE1lidos.",c="A op\xE7\xE3o de salvar a camada tempor\xE1ria como uma camada de fei\xE7\xE3o hospedada n\xE3o foi conclu\xEDda.",u="Falha ao obter principais propriedades.",p="Falha ao carregar a camada.",v="A camada n\xE3o est\xE1 dispon\xEDvel",h="${ dataPath } n\xE3o deve ter mais de ${ limit } itens.",E="Ocorreu um erro ao salvar o modelo. Tentar salvar novamente.",f="${ dataPath } n\xE3o deve ter menos que ${ limit } itens.",F="${ dataPath } n\xE3o deve ser menor que ${ limit } caracteres.",y="Falha ao carregar o item do item. Certifique-se de que o modelo exista e que a permiss\xE3o de acesso foi concedida.",P="Falha ao concluir solicita\xE7\xE3o.",S="Voc\xEA n\xE3o tem permiss\xE3o para executar esta ferramenta. <calcite-link target='_blank' href='${ docLink }'>Saiba mais</calcite-link>",b="Falha ao entrar no portal.",$="Falha ao ler os dados de entrada.",x="${ dataPath } est\xE1 sem uma propriedade denominada ${ missingProperty }.",g="J\xE1 existe uma camada de resultado com este nome. As camadas resultantes devem ser exclusivas em toda a organiza\xE7\xE3o. Utilize um nome diferente.",k="O nome da sa\xEDda cont\xE9m um ou mais caracteres inv\xE1lidos. <a href='${docLink}' target='_blank'>Saiba mais.</a>",I="A publica\xE7\xE3o da camada tempor\xE1ria como camada hospedada falhou devido a um ou mais campos inv\xE1lidos. Execute novamente a ferramenta para criar uma camada com campos v\xE1lidos.",T="Falha ao enviar trabalho. Role para baixo, corrija os erros e execute a an\xE1lise novamente.",q="${ dataPath } deve ter pelo menos um caractere diferente de espa\xE7o em branco.",A={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:d,failedToSaveHistory:n,fullSessionStorage:m,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:v,maxItems:h,mbFailedToSave:E,minItems:f,minLength:F,modelNotFound:y,networkError:P,noPermissionToAccessTool:S,portalLoadError:b,queryFeaturesError:$,requiredProperty:x,serviceNameExistsError:g,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:q};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,A as default,i as defaultError,d as enumValues,n as failedToSaveHistory,m as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,h as maxItems,E as mbFailedToSave,f as minItems,F as minLength,y as modelNotFound,P as networkError,S as noPermissionToAccessTool,b as portalLoadError,$ as queryFeaturesError,x as requiredProperty,g as serviceNameExistsError,k as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,q 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.20250828.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828.
|
4
|
-
import c from"./VWLK7PTP.js";import b from"./4DPKXEG2.js";import"./6ET6C4H7.js";import a from"./7LLYRYCX.js";import{a as K}from"./VY3IHGPV.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./AQ2FH3YW.js";import{b as Se}from"./BSLRHAFV.js";import"./JMKECZSQ.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./K2SZM3RN.js";import{b as st,d as lt}from"./A6QKATD2.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import c from"./TXS7JDLW.js";import b from"./CUN3U2OE.js";import"./AVQHN2RK.js";import a from"./OKURETIK.js";import{a as K}from"./CCQT3UPY.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./AS5PUT7N.js";import{b as Se}from"./ROOZ6PE2.js";import"./3TXIADMS.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./NUE4IZOA.js";import{b as st,d as lt}from"./LTPGJHX3.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828.
|
4
|
-
import{b as I,c as b,d as v}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{b as I,c as b,d as v}from"./TCMXT2UU.js";import{a as i}from"./POHLVKZF.js";import"./2QCJLZ63.js";import"./7VVTSZUA.js";import"./AJE3VGCN.js";import"./Q6GPYGWL.js";import"./3W3N2OW4.js";import"./6KHCKTQR.js";import"./GWZYEABY.js";import"./FMEFBW7S.js";import"./HMWYIWHJ.js";import"./6453EGYF.js";import"./AKU6GXP4.js";import"./AMVW6UNS.js";import"./ULUXYW2M.js";import"./RGV3U5AM.js";import"./LXQBVGWX.js";import"./KMHSDP5I.js";import{g as a}from"./XYCPHWHV.js";import"./GRQR533B.js";import"./Z6WNCLU5.js";import"./EPCC65BL.js";import"./EWSYZETD.js";import{a as n}from"./CCQT3UPY.js";import"./6UL4CGV3.js";import{a as g}from"./HMA5NBHS.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{b as _}from"./JP7CV4WF.js";import{C as d,D as p,E as f,G as m,h,i as o,l as c,r as u}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var y=h`@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.20250828.
|
4
|
-
import{a as i}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as i}from"./2AKBCQY2.js";import{a}from"./7TI347JE.js";import"./6453EGYF.js";import"./AKU6GXP4.js";import"./AMVW6UNS.js";import"./ULUXYW2M.js";import"./LXQBVGWX.js";import{a as o}from"./6V5EI53Z.js";import{a as s}from"./XZTBY24O.js";import"./KMHSDP5I.js";import"./XYCPHWHV.js";import"./Z6WNCLU5.js";import"./EPCC65BL.js";import{b as r}from"./RYF5VUBI.js";import"./LXWO5K3S.js";import"./EWSYZETD.js";import"./RNLV4QO2.js";import"./S4XUCOWV.js";import"./6O47YSKC.js";import"./VAHLKR3X.js";import"./5NTW3SMG.js";import"./IURQSBDX.js";import"./XSJOX2PL.js";import"./LENHGFEC.js";import"./MIYSOUMU.js";import"./ERW2B53X.js";import"./34Q3SIKI.js";import"./42UKLDMA.js";import"./ZANYWAUH.js";import"./7OPDEN5Z.js";import"./DZEHMG7V.js";import"./TS7RZJGZ.js";import"./TRUBVCKV.js";import"./54EGA4EZ.js";import"./AV3AAKZF.js";import"./U6PKFAG3.js";import"./LTPGJHX3.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828.
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
4
|
var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d as c};
|