@esri/solutions-components 1.0.0-next.20250521.1 → 1.0.0-next.20250527.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{components/solutions-all-shell/assets → assets/config}/appConfig.json.d.ts +2 -2
- package/dist/cdn/{GJSNSMV5.js → 235HMCGP.js} +2 -2
- package/dist/cdn/{PZXLUUWJ.js → 27MRQWJF.js} +2 -2
- package/dist/cdn/{BZPPRNYK.js → 2B3Q4HD7.js} +2 -2
- package/dist/cdn/{DEXEV3CF.js → 2CBB2HLP.js} +2 -2
- package/dist/cdn/{7SPIT3JA.js → 2G5DQFP5.js} +2 -2
- package/dist/cdn/{MHYB5WW2.js → 2I7ZIAPF.js} +2 -2
- package/dist/cdn/{5D4SFQMX.js → 2JENJJ5Q.js} +2 -2
- package/dist/cdn/{DRFVJJFB.js → 2SCRBCST.js} +2 -2
- package/dist/cdn/{5SI2WE3S.js → 2SPBK2JC.js} +2 -2
- package/dist/cdn/2UBHX74M.js +18 -0
- package/dist/cdn/{OUGZWNO6.js → 2W7UVH23.js} +1 -1
- package/dist/cdn/{F3UYT636.js → 2WWZLR6Z.js} +2 -2
- package/dist/cdn/{VOD7YR56.js → 34ECDRMG.js} +2 -2
- package/dist/cdn/{NMDVSB55.js → 3BGUPUE3.js} +1 -1
- package/dist/cdn/{SZ6XDDRS.js → 3GWL7ZZR.js} +2 -2
- package/dist/cdn/{LAKS4FFK.js → 3KJASSVN.js} +2 -2
- package/dist/cdn/{VOJ7ETXL.js → 3Y2Q5QFM.js} +2 -2
- package/dist/cdn/44KWOYXI.js +4 -0
- package/dist/cdn/{HGEH7RJP.js → 462NEOXQ.js} +2 -2
- package/dist/cdn/{TMKXDITO.js → 47E56IWZ.js} +2 -2
- package/dist/cdn/{Y7AFN6OI.js → 4C3SN7HO.js} +2 -2
- package/dist/cdn/{XI2LPQ33.js → 4CXASUGF.js} +2 -2
- package/dist/cdn/4RKFDO7V.js +4 -0
- package/dist/cdn/{2PCAQBP3.js → 563I6KBO.js} +2 -2
- package/dist/cdn/{OT7ZKWCQ.js → 5646UVWD.js} +2 -2
- package/dist/cdn/{AAX2HQKV.js → 5ELHQQNT.js} +1 -1
- package/dist/cdn/{BXNKGYEI.js → 5M5CVIKP.js} +2 -2
- package/dist/cdn/{6Z2DWNPT.js → 5MIMVQY5.js} +1 -1
- package/dist/cdn/{CZDA3M6G.js → 5TBGB7YZ.js} +2 -2
- package/dist/cdn/{SYQ76GDV.js → 5TVQZ22P.js} +2 -2
- package/dist/cdn/{5VKMQKEK.js → 5YQ6I5EF.js} +1 -1
- package/dist/cdn/{ILY2OKMX.js → 65YPUCQG.js} +2 -2
- package/dist/cdn/{MUWBCKCV.js → 6F7EVZA2.js} +2 -2
- package/dist/cdn/{VSAXW4LJ.js → 6LY4PJLC.js} +2 -2
- package/dist/cdn/{TJDY5JFR.js → 6NFR7DWF.js} +2 -2
- package/dist/cdn/{KMDWJ4IU.js → 6Q6EWBBX.js} +2 -2
- package/dist/cdn/{LYRXJGDC.js → 6XL744QT.js} +2 -2
- package/dist/cdn/{ND6EAOAK.js → 72MDJVHR.js} +1 -1
- package/dist/cdn/{EF5JUDMP.js → 7APZ4O46.js} +2 -2
- package/dist/cdn/{XLIFIZT4.js → 7L34ACJ2.js} +1 -1
- package/dist/cdn/{VUZSRYII.js → 7T46C2WO.js} +2 -2
- package/dist/cdn/{7XECJH7Y.js → A42EXUKX.js} +1 -1
- package/dist/cdn/{NFAFQG7O.js → AAG5K33X.js} +2 -2
- package/dist/cdn/{A62HEPRS.js → ABK3KAVX.js} +2 -2
- package/dist/cdn/{B73J3DHK.js → AFMCTYMF.js} +2 -2
- package/dist/cdn/{TETTY42T.js → AIWKSKOS.js} +2 -2
- package/dist/cdn/{FDHX3KKE.js → AKIVXNOI.js} +2 -2
- package/dist/cdn/{2WHMOJKI.js → ASS7W7EF.js} +2 -2
- package/dist/cdn/{SWLJRRGU.js → AUJ4ZHP4.js} +2 -2
- package/dist/cdn/{ZMAGZDYI.js → AW2RDITX.js} +2 -2
- package/dist/cdn/{57TFREKC.js → AZ3OMUAO.js} +1 -1
- package/dist/cdn/{MBYLGI4U.js → BFX54VT3.js} +1 -1
- package/dist/cdn/{YLZ235UH.js → BGTACCYE.js} +2 -2
- package/dist/cdn/{B42KRM6Z.js → BKXP4PYE.js} +2 -2
- package/dist/cdn/{DNJH5UNS.js → BNMMRZMR.js} +1 -1
- package/dist/cdn/{3ZWTRRJN.js → BRGMMR6T.js} +1 -1
- package/dist/cdn/{ANGBSTZ3.js → BRZEMXNZ.js} +2 -2
- package/dist/cdn/BTH73JNS.js +4 -0
- package/dist/cdn/{TQT42IK7.js → BYBUA3SD.js} +1 -1
- package/dist/cdn/{BPTAOEJG.js → C2E5NBKB.js} +2 -2
- package/dist/cdn/{ELCX7XI2.js → CBUD7IB5.js} +2 -2
- package/dist/cdn/{57KCCA45.js → CCZ4QXEQ.js} +2 -2
- package/dist/cdn/{SB2ETAD7.js → CFSLUNQ7.js} +2 -2
- package/dist/cdn/{QCNZF3NJ.js → CNIE4S7A.js} +2 -2
- package/dist/cdn/{GJWFJRKH.js → D73WKPMQ.js} +2 -2
- package/dist/cdn/{24525IFF.js → DCEBLW5N.js} +2 -2
- package/dist/cdn/{YPZY5T64.js → DCOPVWLY.js} +2 -2
- package/dist/cdn/{F5UQ42HE.js → DF5QXKGH.js} +2 -2
- package/dist/cdn/{7WQVJT5F.js → DGNNFON4.js} +2 -2
- package/dist/cdn/{BFH5SO2L.js → DMPGY2CP.js} +1 -1
- package/dist/cdn/{4SKIALSW.js → DS7T3C76.js} +2 -2
- package/dist/cdn/{HDBFFEBB.js → DSUJM7KE.js} +2 -2
- package/dist/cdn/{WY3BALDA.js → DUW2CBFP.js} +2 -2
- package/dist/cdn/{3MEA5DUO.js → DZR5OU2Z.js} +2 -2
- package/dist/cdn/{AJMDPQVN.js → E2K4YXFY.js} +2 -2
- package/dist/cdn/{EVND7CLX.js → E7Z2VNGZ.js} +2 -2
- package/dist/cdn/{KF632BTH.js → EEZVGG7J.js} +2 -2
- package/dist/cdn/{DW5MNUDP.js → EIJGEZ3R.js} +1 -1
- package/dist/cdn/{JZPIPYHU.js → EJNMBFZU.js} +2 -2
- package/dist/cdn/{YZ45SJNV.js → EQYKWRWC.js} +2 -2
- package/dist/cdn/{2IN6EBD2.js → ERRVLDZR.js} +2 -2
- package/dist/cdn/{K47GFZZC.js → EUEDSIGE.js} +2 -2
- package/dist/cdn/{3BFU2N33.js → EY5KJVGY.js} +2 -2
- package/dist/cdn/F3SICAQV.js +8 -0
- package/dist/cdn/FDO6F6OD.js +18 -0
- package/dist/cdn/FHG3CDRP.js +4 -0
- package/dist/cdn/{NPHHJYBH.js → FHPVFDBQ.js} +2 -2
- package/dist/cdn/{EPSCUZ73.js → FM4LJPL6.js} +2 -2
- package/dist/cdn/{76ALAXVV.js → FNS5B3MH.js} +2 -2
- package/dist/cdn/{ZTVEA5RF.js → FTU72FJP.js} +1 -1
- package/dist/cdn/FTZVWKBM.js +18 -0
- package/dist/cdn/{L64TRNGF.js → G7O5ZQAS.js} +2 -2
- package/dist/cdn/{BJ2EZS3Z.js → GGUXZIFJ.js} +2 -2
- package/dist/cdn/{THVVAYVQ.js → GOHGYRVC.js} +2 -2
- package/dist/cdn/{7CKL36AK.js → GVYKKXOF.js} +1 -1
- package/dist/cdn/{WCEJDYKE.js → GX7IKAB3.js} +2 -2
- package/dist/cdn/{3OQDT2PX.js → GXDIQYY2.js} +2 -2
- package/dist/cdn/{EV7HBUTQ.js → GZOFO77D.js} +2 -2
- package/dist/cdn/{Z2Z7VXON.js → H2NMQTHO.js} +2 -2
- package/dist/cdn/{XRQCOVSZ.js → HEU5ADOI.js} +2 -2
- package/dist/cdn/{WXAL7UR7.js → HHBX6OJB.js} +2 -2
- package/dist/cdn/{G4WDN3WM.js → HK7LGCJZ.js} +2 -2
- package/dist/cdn/{6FO4Q3E6.js → HL27PBID.js} +2 -2
- package/dist/cdn/{ETE327MH.js → HM3CN2LF.js} +1 -1
- package/dist/cdn/HOBO4ZBX.js +18 -0
- package/dist/cdn/{XPISGP4X.js → HPUHAFAJ.js} +2 -2
- package/dist/cdn/{AEA2NSI4.js → HZY6CHAU.js} +2 -2
- package/dist/cdn/IHWO6477.js +4 -0
- package/dist/cdn/{HYXJ3R6E.js → IPINIAHE.js} +2 -2
- package/dist/cdn/IPPAEITK.js +18 -0
- package/dist/cdn/{ZG5TZZOJ.js → IS6FZQDO.js} +2 -2
- package/dist/cdn/{TX5LUCPB.js → IYDQFMAO.js} +2 -2
- package/dist/cdn/{UVSVC3WI.js → IYWM6PGT.js} +2 -2
- package/dist/cdn/{2N36AAZW.js → J2OGB6WD.js} +2 -2
- package/dist/cdn/{KZLVAEI2.js → J7HFP2SN.js} +2 -2
- package/dist/cdn/JCYSJLP3.js +4 -0
- package/dist/cdn/{YVCCBY5A.js → JF6NRNBV.js} +2 -2
- package/dist/cdn/{UVB3QATU.js → JGMZYU54.js} +2 -2
- package/dist/cdn/{JUWEYEWN.js → JJ7NWRPI.js} +2 -2
- package/dist/cdn/{3ZX46XLT.js → JO3IHRR7.js} +2 -2
- package/dist/cdn/{TG55KKIP.js → JPPXUPM6.js} +2 -2
- package/dist/cdn/{H3LE6IXK.js → JWXQ3ZOM.js} +2 -2
- package/dist/cdn/{LA6C6JAO.js → JY5VS7K2.js} +2 -2
- package/dist/cdn/{3QSJRZNT.js → K32Q3OHF.js} +2 -2
- package/dist/cdn/{ZG3PPQ55.js → K3OXWSA7.js} +2 -2
- package/dist/cdn/{OFNMFDPR.js → K3UY4EFA.js} +1 -1
- package/dist/cdn/{JUK6YN7M.js → K54ZYQZT.js} +2 -2
- package/dist/cdn/{MCVVXWUA.js → K77Y37K5.js} +2 -2
- package/dist/cdn/{J77NMDV5.js → KGLXLAY3.js} +1 -1
- package/dist/cdn/{BWYEDUZX.js → KMEQX57W.js} +2 -2
- package/dist/cdn/{RBNUMIQJ.js → KZ6GOXIR.js} +2 -2
- package/dist/cdn/{UKJQTCNY.js → L4A3TP42.js} +2 -2
- package/dist/cdn/{CE3PZUP3.js → L7V6N63X.js} +1 -1
- package/dist/cdn/LG5JARXR.js +4 -0
- package/dist/cdn/{CFSCFQIJ.js → LIOV5Z2T.js} +2 -2
- package/dist/cdn/{NNCVEOOC.js → LJ3WFFB2.js} +2 -2
- package/dist/cdn/{WGNTLBNS.js → LSGWT4PB.js} +2 -2
- package/dist/cdn/LU62UIKJ.js +4 -0
- package/dist/cdn/{HXJN6FVT.js → LUS4XGFV.js} +2 -2
- package/dist/cdn/{CKIF7ITD.js → LWII4SFH.js} +2 -2
- package/dist/cdn/{V2N5MGKX.js → LWT5ZPS5.js} +2 -2
- package/dist/cdn/M2JNL3YZ.js +5 -0
- package/dist/cdn/{POK67CCI.js → M3NHYVE5.js} +2 -2
- package/dist/cdn/M4SLCXFR.js +4 -0
- package/dist/cdn/{QHW6LKVE.js → M5PZM6MR.js} +2 -2
- package/dist/cdn/{2TGWW2EE.js → M6OYWH72.js} +2 -2
- package/dist/cdn/{TV6MVRLN.js → MCYHMQTR.js} +2 -2
- package/dist/cdn/{XFVJUICD.js → MKILC4CS.js} +2 -2
- package/dist/cdn/{MSJNBWKG.js → MMSYI6GH.js} +1 -1
- package/dist/cdn/{POZF7VFZ.js → MNIQAXS4.js} +1 -1
- package/dist/cdn/{GPUC2YAZ.js → MO6ELGZS.js} +1 -1
- package/dist/cdn/{PF6ZRQJ2.js → MWYXGDMB.js} +2 -2
- package/dist/cdn/{SHGCXAGA.js → NAICN42V.js} +2 -2
- package/dist/cdn/{NNWPGIM6.js → NF5LHYAO.js} +2 -2
- package/dist/cdn/{XM7J7FRK.js → NG43RYFN.js} +2 -2
- package/dist/cdn/{R7URESQA.js → NP3DZUOG.js} +2 -2
- package/dist/cdn/{UHGVCTXE.js → NSTT2IOP.js} +2 -2
- package/dist/cdn/{ASDGPISP.js → NUYU2UBS.js} +2 -2
- package/dist/cdn/{W7FRKETT.js → O4DKV6WM.js} +2 -2
- package/dist/cdn/{EQREHHBY.js → OBISJL4B.js} +2 -2
- package/dist/cdn/{U3MG73BI.js → OBQ5ECDX.js} +2 -2
- package/dist/cdn/{V6FMWC6D.js → OGAB72G7.js} +2 -2
- package/dist/cdn/OIDBNRLF.js +18 -0
- package/dist/cdn/{O5AVB7EE.js → OM7V7IHH.js} +2 -2
- package/dist/cdn/{FOESISXO.js → OOWZZIWB.js} +2 -2
- package/dist/cdn/{UXHI6HKV.js → OUIN7APR.js} +2 -2
- package/dist/cdn/{KU62FCLR.js → OVEGZJHW.js} +2 -2
- package/dist/cdn/{53ZP5E2V.js → OX5DEXZX.js} +2 -2
- package/dist/cdn/{CQDNZU4P.js → P67BXX6L.js} +2 -2
- package/dist/cdn/{U6ZZFZ5O.js → P6FYDYAK.js} +2 -2
- package/dist/cdn/{KOI3XUTI.js → P7U5QF6I.js} +2 -2
- package/dist/cdn/{23YJ5GOE.js → PALTMKJB.js} +2 -2
- package/dist/cdn/{NWN7Y7AR.js → PDHB7K5V.js} +2 -2
- package/dist/cdn/{FJEXAORI.js → PETX35OI.js} +2 -2
- package/dist/cdn/{NSEF4U3D.js → PNF3ZUSB.js} +2 -2
- package/dist/cdn/{2ECBDDEM.js → PRQU6X7H.js} +2 -2
- package/dist/cdn/{T2AD4OLC.js → PU3J4MZ3.js} +2 -2
- package/dist/cdn/PVJCHRCH.js +4 -0
- package/dist/cdn/{KFA5XB23.js → Q5X2S4MD.js} +1 -1
- package/dist/cdn/{NPBGB25Y.js → Q5ZQOFB2.js} +2 -2
- package/dist/cdn/{LRH5JW4Y.js → QDZSCCYH.js} +2 -2
- package/dist/cdn/{3QD6OQGN.js → QMAKEUC2.js} +2 -2
- package/dist/cdn/{YJEMF2Z6.js → QML66ZJW.js} +2 -2
- package/dist/cdn/{ZNZZHZ2Q.js → QTDIQRHK.js} +2 -2
- package/dist/cdn/{ON5Q5T5J.js → R4O6DVY6.js} +2 -2
- package/dist/cdn/{M3BZTOYS.js → R7E7P3BW.js} +2 -2
- package/dist/cdn/{AZ5AUWSV.js → R7FDRHLT.js} +2 -2
- package/dist/cdn/RMITVNXV.js +4 -0
- package/dist/cdn/{KH2BTRXI.js → ROI7GMNK.js} +1 -1
- package/dist/cdn/{JA2BLSMQ.js → RP7K3LJT.js} +2 -2
- package/dist/cdn/{HTVK2NSG.js → RQN5FKM7.js} +2 -2
- package/dist/cdn/{FFUCQ7IU.js → RS4LILZG.js} +2 -2
- package/dist/cdn/{DK32RK5U.js → RSJCSZWF.js} +1 -1
- package/dist/cdn/{KETFCI2P.js → RTKXKSUC.js} +2 -2
- package/dist/cdn/{UENHZJI6.js → RTT5SBQJ.js} +2 -2
- package/dist/cdn/{MV3DKW2Y.js → RUC3STWU.js} +2 -2
- package/dist/cdn/{2Z7AL4WY.js → S2O7NNWL.js} +2 -2
- package/dist/cdn/{GRBGQ3CY.js → S2W3JVOQ.js} +2 -2
- package/dist/cdn/{IGELH7BW.js → S3CJI2RF.js} +1 -1
- package/dist/cdn/{WYW6UPKP.js → SF6257JR.js} +1 -1
- package/dist/cdn/{6YGV5ZHN.js → SKHIZ4QA.js} +2 -2
- package/dist/cdn/{YP5ARNCZ.js → SMEMKVDF.js} +2 -2
- package/dist/cdn/{E2ACXLVV.js → SP7LJ3CU.js} +2 -2
- package/dist/cdn/{QP5IG75V.js → SQOKNHQQ.js} +2 -2
- package/dist/cdn/{Z3Z7UPMU.js → SQVXPJDM.js} +1 -1
- package/dist/cdn/{TLBQLRUA.js → STTUGNU7.js} +2 -2
- package/dist/cdn/{ODMUEFOT.js → SZGXZADB.js} +2 -2
- package/dist/cdn/{HRNJ6PPS.js → T5YBVEAU.js} +2 -2
- package/dist/cdn/{7BW7YOBF.js → TKPHO475.js} +2 -2
- package/dist/cdn/{CW6CCZ73.js → TM2VJ6VT.js} +2 -2
- package/dist/cdn/{KQ3XW3HT.js → TOWUBB5U.js} +2 -2
- package/dist/cdn/{25ZSQ4Y4.js → TPK7LVDB.js} +2 -2
- package/dist/cdn/{HAIBENUV.js → TVNGRZHA.js} +2 -2
- package/dist/cdn/{NG5O4EF2.js → TVWOFQVC.js} +2 -2
- package/dist/cdn/{NLAAOG7K.js → U2FJYTYH.js} +2 -2
- package/dist/cdn/{M4EOHQP3.js → U2VKBVBV.js} +2 -2
- package/dist/cdn/{QW25OYIP.js → U2ZT36OX.js} +2 -2
- package/dist/cdn/{JNJU5SA4.js → U6CTX64Y.js} +2 -2
- package/dist/cdn/UBBZOJAY.js +4 -0
- package/dist/cdn/{OQ2OHE4S.js → UFTXRN5O.js} +2 -2
- package/dist/cdn/{LREJHPPN.js → UFUUQSDI.js} +2 -2
- package/dist/cdn/{SWD5EGIW.js → UGDH6OHK.js} +1 -1
- package/dist/cdn/{DIR7QOWJ.js → UKSNIHPE.js} +2 -2
- package/dist/cdn/{6XL3O76R.js → UOCFZXCI.js} +2 -2
- package/dist/cdn/{NARZWJOL.js → UQQ7WIIG.js} +1 -1
- package/dist/cdn/{4W3OTNVQ.js → UQQLSZLW.js} +2 -2
- package/dist/cdn/{PSTNEQMA.js → UWTU3QFZ.js} +2 -2
- package/dist/cdn/{JYB6HV7M.js → UWZF6TGQ.js} +2 -2
- package/dist/cdn/{BRBPMYFG.js → V5TS3XKZ.js} +2 -2
- package/dist/cdn/{TLP53ZXS.js → VA5AX3JY.js} +2 -2
- package/dist/cdn/{45JWP6I3.js → VC55K7FD.js} +2 -2
- package/dist/cdn/{CGBW4C56.js → VEYCZIDH.js} +2 -2
- package/dist/cdn/{NZFOFQFK.js → VFC3KWOY.js} +2 -2
- package/dist/cdn/{73ZW6AZO.js → VHAKVCYG.js} +2 -2
- package/dist/cdn/{ZRDVHXEL.js → VHGLIJMI.js} +2 -2
- package/dist/cdn/{QJNE3P25.js → VJ5NWA7C.js} +2 -2
- package/dist/cdn/{4FV35CZ2.js → VLP6DDYE.js} +4 -4
- package/dist/cdn/{ME35VNVL.js → VLURIFFB.js} +2 -2
- package/dist/cdn/{4I5HWIEN.js → VNHRV4W2.js} +2 -2
- package/dist/cdn/{MW5Q3YCW.js → VVZJNJ36.js} +2 -2
- package/dist/cdn/{JY42QHUW.js → VWINHHXS.js} +2 -2
- package/dist/cdn/VYN2OV3J.js +4 -0
- package/dist/cdn/{W47KT5GG.js → W74YB7LO.js} +2 -2
- package/dist/cdn/{BEGVEBJJ.js → WK6KWLP7.js} +2 -2
- package/dist/cdn/{ANZR4N6V.js → WKWVZYU2.js} +2 -2
- package/dist/cdn/{HRTSR2SE.js → WMVWR4TI.js} +1 -1
- package/dist/cdn/{EMXWEQBM.js → WRLGEWRN.js} +1 -1
- package/dist/cdn/{VD6PGA3P.js → WSTFKNIK.js} +2 -2
- package/dist/cdn/{PFAB7BY6.js → WW6QSBNO.js} +2 -2
- package/dist/cdn/{2OTIFQIN.js → X34MWL2J.js} +2 -2
- package/dist/cdn/X3KFABXY.js +4 -0
- package/dist/cdn/{UZCXGQDN.js → X3OZJPGV.js} +2 -2
- package/dist/cdn/{RFHVHPG4.js → XAIHFHBP.js} +2 -2
- package/dist/cdn/{3YDR5TNM.js → XBMRPDNE.js} +2 -2
- package/dist/cdn/{VDWURYIO.js → XCH4UNRZ.js} +2 -2
- package/dist/cdn/{34ISDA3J.js → XGKEI55O.js} +2 -2
- package/dist/cdn/{FQH25K2H.js → XOEQRL52.js} +2 -2
- package/dist/cdn/{7DG3DSPE.js → Y2H34EQP.js} +2 -2
- package/dist/cdn/{ZUSH4SCO.js → Y2TULO3A.js} +2 -2
- package/dist/cdn/{R6U7AID6.js → Y2VUFZUV.js} +1 -1
- package/dist/cdn/{DIELHCE6.js → Y3FQP4NF.js} +2 -2
- package/dist/cdn/{ODRDYVBD.js → YSOIAQKF.js} +2 -2
- package/dist/cdn/{T6VGLWYO.js → YVIZHCBF.js} +2 -2
- package/dist/cdn/{YNVH5WOM.js → YYROVQF2.js} +1 -1
- package/dist/cdn/{EYCGOAQV.js → YZ4LCVJ7.js} +2 -2
- package/dist/cdn/{4NZAMBEG.js → Z2KZ6VY2.js} +2 -2
- package/dist/cdn/{EC5BCFOV.js → ZADW6QWU.js} +2 -2
- package/dist/cdn/{GGFHUOLW.js → ZFEYSYS5.js} +2 -2
- package/dist/cdn/{FHZLYB2S.js → ZFS6FBQX.js} +2 -2
- package/dist/cdn/{LGJZ53IQ.js → ZGTCOKGY.js} +2 -2
- package/dist/cdn/{ZVNQTPA6.js → ZJID6JNT.js} +3 -3
- package/dist/cdn/{UTA3GVUF.js → ZMPNHGIE.js} +2 -2
- package/dist/cdn/{L5RFIDWK.js → ZRRRCRK3.js} +2 -2
- package/dist/cdn/ZTFR55FL.js +18 -0
- package/dist/cdn/{IHYLQW3P.js → ZUNKV2EF.js} +1 -1
- package/dist/cdn/{7VOV57VQ.js → ZXQJLGRP.js} +4 -4
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +249 -0
- package/dist/chunks/cardFetchingUtils.js +476 -0
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/index.js +405 -313
- package/dist/chunks/interfaces.js +21 -17
- 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/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 +3 -3
- 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 +10 -10
- 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.d.ts +0 -6
- package/dist/components/layer-table/customElement.js +47 -57
- package/dist/components/layer-table/index.d.ts +0 -2
- package/dist/components/layer-table/index.js +0 -2
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +2 -2
- 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 +14 -14
- package/dist/components/refine-selection/customElement.js +2 -2
- 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-panel/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-deploy-panel/customElement.d.ts +12 -0
- package/dist/components/solution-deploy-panel/customElement.js +44 -16
- package/dist/components/solution-deploy-panel/index.d.ts +10 -0
- package/dist/components/solution-deploy-panel/index.js +10 -0
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- 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-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/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-spatial-ref/customElement.js +2 -2
- 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.d.ts +2 -3
- package/dist/components/solutions-all-panel/customElement.js +84 -521
- package/dist/components/solutions-all-shell/customElement.d.ts +1 -0
- package/dist/components/solutions-all-shell/customElement.js +29 -24
- 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-deployed-panel/customElement.d.ts +54 -0
- package/dist/components/solutions-deployed-panel/customElement.js +66 -17
- package/dist/components/solutions-deployed-panel/index.d.ts +2 -0
- package/dist/components/solutions-deployed-panel/index.js +2 -0
- package/dist/components/solutions-deployed-shell/customElement.d.ts +19 -0
- package/dist/components/solutions-deployed-shell/customElement.js +111 -17
- package/dist/components/solutions-deployed-shell/index.d.ts +10 -0
- package/dist/components/solutions-deployed-shell/index.js +10 -0
- package/dist/components/solutions-filter-panel/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +662 -97
- package/dist/docs/docs.json +504 -38
- package/dist/docs/vscode.html-custom-data.json +105 -12
- package/dist/docs/web-types.json +207 -31
- package/dist/index.d.ts +31 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +7 -4
- package/dist/types/preact.d.ts +7 -4
- package/dist/types/react.d.ts +7 -4
- package/dist/types/stencil.d.ts +7 -4
- package/dist/utils/CardsFetcher.d.ts +5 -22
- package/dist/utils/cardFetchingUtils.d.ts +24 -0
- package/dist/utils/cardsHelpers.d.ts +2 -47
- package/dist/utils/helpers.d.ts +1 -21
- package/dist/utils/interfaces.d.ts +94 -1
- package/package.json +148 -147
- package/dist/cdn/3QIZTD4O.js +0 -4
- package/dist/cdn/7RN23NYN.js +0 -18
- package/dist/cdn/BEOKELUC.js +0 -4
- package/dist/cdn/BJFZKZXY.js +0 -4
- package/dist/cdn/G36LLGTJ.js +0 -4
- package/dist/cdn/H7LNTTBF.js +0 -4
- package/dist/cdn/HJNIOQBX.js +0 -4
- package/dist/cdn/HNLKT2BY.js +0 -4
- package/dist/cdn/HR7NBZ23.js +0 -18
- package/dist/cdn/I5FXIJHX.js +0 -4
- package/dist/cdn/IY54OHHB.js +0 -18
- package/dist/cdn/KONO75BP.js +0 -4
- package/dist/cdn/L4DGTHZ5.js +0 -5
- package/dist/cdn/LGMP6U2I.js +0 -4
- package/dist/cdn/MXFGKNUJ.js +0 -4
- package/dist/cdn/RKPAK25A.js +0 -18
- package/dist/cdn/U7SYT67J.js +0 -4
- package/dist/cdn/VDRSRH6X.js +0 -18
- package/dist/cdn/WU3WC633.js +0 -18
- package/dist/cdn/Y7RZLFOV.js +0 -4
- package/dist/cdn/ZVQ7AOB6.js +0 -18
- package/dist/cdn/assets/solutions-all-shell/appConfig.json +0 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as t}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as t}from"./HEU5ADOI.js";import"./RSJCSZWF.js";import"./JGMZYU54.js";import"./SF6257JR.js";import"./NUYU2UBS.js";import"./EJNMBFZU.js";import"./OBISJL4B.js";import"./DZR5OU2Z.js";import"./MCYHMQTR.js";import"./TPK7LVDB.js";import"./TVWOFQVC.js";import"./R4O6DVY6.js";import"./Q5X2S4MD.js";import"./47E56IWZ.js";import"./GVYKKXOF.js";import"./JO3IHRR7.js";import"./NAICN42V.js";import"./GZOFO77D.js";import"./ZUNKV2EF.js";import"./VLURIFFB.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as h}from"./TOWUBB5U.js";import{a as Y}from"./VHAKVCYG.js";import{a as R}from"./BNMMRZMR.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./PVJCHRCH.js";import{c as y,f as E,l as b,m as I}from"./5TVQZ22P.js";import"./Y2TULO3A.js";import"./HK7LGCJZ.js";import"./S3CJI2RF.js";import{a as M,c as U,e as C}from"./K3UY4EFA.js";import"./SQVXPJDM.js";import{a as N,d as F}from"./3BGUPUE3.js";import{a as g}from"./P7U5QF6I.js";import{d as j}from"./OBQ5ECDX.js";import"./72MDJVHR.js";import{a as p,b as A,c as L,e as u}from"./MNIQAXS4.js";import"./ROI7GMNK.js";import"./UWZF6TGQ.js";import"./TVNGRZHA.js";import{h as $}from"./L4A3TP42.js";import"./HM3CN2LF.js";import"./L7V6N63X.js";import{a as l}from"./BYBUA3SD.js";import{b as T}from"./Y2VUFZUV.js";import"./MO6ELGZS.js";function X(e,t=!1){let{id:r,properties:i}=e,s=i?.slug;return s?M(t?C(s,r):s):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let s=p(e);return s.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,s.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i?s.slug=U(i,s.orgUrlKey):s.slug="",s}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>Object.assign(Object.assign({},n),{[o[0]]:Object.assign(Object.assign({},o[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let s=l(e,"orgId");return s&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>{let a=o[0],c=o[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](s)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,o)=>(i.includes(o)||n.push(o),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,s;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},F),t.links=re(e.item,r),t}function _(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},t,r){let{value:i,valueType:s,dynamicMetric:n}=e,o=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:oe,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:s},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete o.itemId;let me=Object.assign(Object.assign({},o),{displayType:o.displayType||"stat-card",visibility:o.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:o.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:o.sourceTitle,allowLink:e.type==="dynamic"?o.allowDynamicLink:o.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:s,relationship:n}=r,o=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!s||!s.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${s[0]}%'`:`(${i.name} IN (${s.map(c=>`'${o(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof s[0]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00'`),typeof s[1]=="string"&&(a=`${i.name} <= timestamp '${o(s[1])} 23:59:59'`),typeof s[0]=="string"&&typeof s[1]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00' AND ${i.name} <= timestamp '${o(s[1])} 23:59:59'`);break;default:u(s[0])||(a=`(${i.name}) >= ${s[0]}`),u(s[1])||(a=`(${i.name}) <= ${s[1]}`),!u(s[0])&&!u(s[1])&&(a=`(${i.name}) >= ${s[0]} AND (${i.name}) <= ${s[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function se(e,t,r){let i=p(e),s=t.id,n=g(i,"metrics",[]),o=n.findIndex(m=>m.id===s),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===s);return o>-1?n[o]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),s=i.entityToStore(r,p(te));s=await J(s,t);let n=i.storeToEntity(s,{});return n=v(s,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let s=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:o,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});s=se(s,o,a)}return s}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),s=i.entityToStore(e,r),n=await G(s,t),o=i.storeToEntity(n,e);return o=v(r,o,t),o}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht as updateProject};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
4
|
function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as l}from"./YZ4LCVJ7.js";import{D as o,E as c,G as r,I as n,c as s,d as e}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var h=s`/** @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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
4
|
async function q(t,e){let r=[],n=t?t.map(o=>b(o,e)):[Promise.resolve()];return(await Promise.all(n)).forEach(o=>{r=[...r,...o||[]]}),r}async function m(t,e,r,n,o,a){let s=e.capabilities?.query.maxRecordCount||1e3,y=0;t.length===0&&(t=await e.queryObjectIds());let c=e.createQuery();if(c.returnGeometry=n,c.objectIds=t.slice(y,s),o&&(c.outSpatialReference=o),a){let d=e.fields.map(i=>i.name.toLowerCase());c.outFields=a.filter(i=>d.indexOf(i.toLowerCase())>-1)}let f=await e.queryFeatures(c);r=r.concat(f.features);let l=t.slice(s,t.length);return l.length>0?m(l,e,r,n,o,a):Promise.resolve(r)}async function g(t,e){let r=e.globalIdField;if(!r)return[];let n=e.createQuery();return n.returnGeometry=!1,n.outFields=[e.objectIdField],n.where=t.map(o=>`${r} = '${o}'`).join(" or "),(await e.queryFeatures(n)).features}async function p(t,e,r,n){let o=e.capabilities?.query.maxRecordCount||1e3,a=e.createQuery();a.start=t,a.num=o,a.geometry=r;let s=await e.queryFeatures(a);return n[e.id]=n[e.id].concat(s.features),s.exceededTransferLimit?p(t+=o,e,r,n):Promise.resolve(n)}async function w(t,e){let r=e.createQuery();return r.objectIds=t,e.queryExtent(r)}function F(t,e){return[...u(t,"polygon",e),...u(t,"polyline",e),...u(t,"point",e)]}function u(t,e,r){let n=t?.filter(o=>o.type===e)||[];return n.length<=1?n:[r.union(n)]}async function b(t,e){let r=e.createQuery();return r.spatialRelationship="intersects",r.geometry=t,e.queryObjectIds(r)}export{q as a,m as b,g as c,p as d,w as e,F as f};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as o}from"./WMVWR4TI.js";import{b as l}from"./SF6257JR.js";import"./MO6ELGZS.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
4
|
var a={xsmall:[545],small:[545,768],medium:[769,992],large:[993,1200],xlarge:[1200]};export{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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import"./MO6ELGZS.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{b as ee}from"./GPUC2YAZ.js";var Ue=ee({"./instant-apps-app-guide.entry.js":()=>import("./FDHX3KKE.js"),"./instant-apps-ckeditor-wrapper_3.entry.js":()=>import("./YJEMF2Z6.js"),"./instant-apps-control-panel.entry.js":()=>import("./7BW7YOBF.js"),"./instant-apps-create.entry.js":()=>import("./TETTY42T.js"),"./instant-apps-export-views.entry.js":()=>import("./5D4SFQMX.js"),"./instant-apps-export.entry.js":()=>import("./O5AVB7EE.js"),"./instant-apps-filter-list.entry.js":()=>import("./AJMDPQVN.js"),"./instant-apps-header.entry.js":()=>import("./L4DGTHZ5.js"),"./instant-apps-interactive-legend-classic.entry.js":()=>import("./E2ACXLVV.js"),"./instant-apps-interactive-legend-count_2.entry.js":()=>import("./KZLVAEI2.js"),"./instant-apps-interactive-legend-group-legend-element-caption.entry.js":()=>import("./YPZY5T64.js"),"./instant-apps-interactive-legend-group-legend-element_5.entry.js":()=>import("./MHYB5WW2.js"),"./instant-apps-interactive-legend.entry.js":()=>import("./R7URESQA.js"),"./instant-apps-keyboard-shortcuts.entry.js":()=>import("./HXJN6FVT.js"),"./instant-apps-landing-page.entry.js":()=>import("./LGMP6U2I.js"),"./instant-apps-language-switcher.entry.js":()=>import("./HDBFFEBB.js"),"./instant-apps-language-translator.entry.js":()=>import("./V2N5MGKX.js"),"./instant-apps-measurement-tool.entry.js":()=>import("./2PCAQBP3.js"),"./instant-apps-measurement.entry.js":()=>import("./SWLJRRGU.js"),"./instant-apps-popover.entry.js":()=>import("./VSAXW4LJ.js"),"./instant-apps-popovers.entry.js":()=>import("./PF6ZRQJ2.js"),"./instant-apps-scoreboard.entry.js":()=>import("./VOJ7ETXL.js"),"./instant-apps-sign-in.entry.js":()=>import("./GGFHUOLW.js"),"./instant-apps-social-share.entry.js":()=>import("./34ISDA3J.js"),"./instant-apps-splash.entry.js":()=>import("./MCVVXWUA.js"),"./instant-apps-time-filter.entry.js":()=>import("./L5RFIDWK.js")});var ze="instant-apps-components",P={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!0,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},Fe=Object.defineProperty,De=(e,t)=>{for(var s in t)Fe(e,s,{get:t[s],enumerable:!0})},K=new WeakMap,b=e=>K.get(e),Ct=(e,t)=>K.set(t.$lazyInstance$=e,t),He=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onInstancePromise$=new Promise(n=>s.$onInstanceResolve$=n),s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],K.set(e,s)},te=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),se=new Map,Be=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;let l=se.get(r);if(l)return l[n];return Ue(`./${r}.entry.js`).then(i=>(se.set(r,i),i[n]),w)},j=new Map,qe="{visibility:hidden}.hydrated{visibility:inherit}",pe="slot-fb{display:contents}slot-fb[hidden]{display:none}",ne="http://www.w3.org/1999/xlink",R=typeof window<"u"?window:{},m=R.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Me=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),B=!1,re=[],he=[],Ge=(e,t)=>s=>{e.push(s),B||(B=!0,t&&g.$flags$&4?Q(q):g.raf(q))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){w(s)}e.length=0},q=()=>{le(re),le(he),(B=re.length>0)&&g.raf(q)},Q=e=>Me().then(e),Ke=Ge(he,!0),It=e=>{let t=new URL(e,g.$resourcesUrl$);return t.origin!==R.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=e=>e!=null,Y=e=>(e=typeof e,e==="object"||e==="function");function ge(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Ze={};De(Ze,{err:()=>ye,map:()=>Ve,ok:()=>W,unwrap:()=>et,unwrapErr:()=>tt});var W=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function Ve(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(e.isErr){let s=e.value;return ye(s)}throw"should never get here"}var et=e=>{if(e.isOk)return e.value;throw e.value},tt=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t="")=>()=>{},st=(e,t)=>()=>{},me=(e,t,...s)=>{let n=null,r=null,l=null,i=!1,a=!1,o=[],f=d=>{for(let c=0;c<d.length;c++)n=d[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!Y(n))&&(n=String(n)),i&&a?o[o.length-1].$text$+=n:o.push(i?U(null,n):n),a=i)};if(f(s),t){t.key&&(r=t.key),t.name&&(l=t.name);{let d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(c=>d[c]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,lt);let $=U(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$.$name$=l,$},U=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},nt={},rt=e=>e&&e.$tag$===nt,lt={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(at)},oe=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),at=e=>{if(typeof e.vtag=="function"){let s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),me(e.vtag,s,...e.vchildren||[])}let t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},ot=(e,t)=>e!=null&&!Y(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,it=e=>b(e).$hostElement$,Ot=(e,t,s)=>{let n=it(e);return{emit:r=>Se(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:r})}},Se=(e,t,s)=>{let n=g.ce(t,s);return e.dispatchEvent(n),n},ie=new WeakMap,$t=(e,t,s)=>{let n=j.get(e);Xe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},ct=(e,t,s)=>{var n;let r=be(t),l=j.get(r);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let i=ie.get(e),a;if(i||ie.set(e,i=new Set),!i.has(r)){{a=m.createElement("style"),a.innerHTML=l;let o=(n=g.$nonce$)!=null?n:ge(m);o!=null&&a.setAttribute("nonce",o),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=pe),i&&i.add(r)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return r},ft=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=L("attachStyles",t.$tagName$),l=ct(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&n&2&&(s["s-sc"]=l,s.classList.add(l+"-h"),n&2&&s.classList.add(l+"-s")),r()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,n,r,l)=>{if(s!==n){let i=te(e,t),a=t.toLowerCase();if(t==="class"){let o=e.classList,f=ce(s),$=ce(n);o.remove(...f.filter(d=>d&&!$.includes(d))),o.add(...$.filter(d=>d&&!f.includes(d)))}else if(t==="style"){for(let o in s)(!n||n[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(let o in n)(!s||n[o]!==s[o])&&(o.includes("-")?e.style.setProperty(o,n[o]):e.style[o]=n[o])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):te(R,a)?t=a.slice(2):t=a[2]+t.slice(3),s||n){let o=t.endsWith(ke);t=t.replace(ut,""),s&&g.rel(e,t,s,o),n&&g.ael(e,t,n,o)}}else{let o=Y(n);if((i||o&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{let $=n??"";t==="list"?i=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(f?e.removeAttributeNS(ne,t):e.removeAttribute(t)):(!i||l&4||r)&&!o&&(n=n===!0?"":n,f?e.setAttributeNS(ne,t,n):e.setAttribute(t,n))}}},dt=/\s/,ce=e=>e?e.split(dt):[],ke="Capture",ut=new RegExp(ke+"$"),Te=(e,t,s)=>{let n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(let i of fe(Object.keys(r)))i in l||$e(n,i,r[i],void 0,s,t.$flags$);for(let i of fe(Object.keys(l)))$e(n,i,r[i],l[i],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,C,z=!1,F=!1,J=!1,S=!1,D=(e,t,s,n)=>{var r;let l=t.$children$[s],i=0,a,o,f;if(z||(J=!0,l.$tag$==="slot"&&(A&&n.classList.add(A+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)a=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)a=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),a=l.$elm$=m.createElementNS(S?Qe:Ye,!z&&P.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Te(null,l,S),!!a.getRootNode().querySelector("body")&&P.scoped&&Je(A)&&a["s-si"]!==A&&a.classList.add(a["s-si"]=A),V(a,n),l.$children$)for(i=0;i<l.$children$.length;++i)o=D(e,l,i,a),o&&a.appendChild(o);l.$tag$==="svg"?S=!1:a.tagName==="foreignObject"&&(S=!0)}return a["s-hn"]=C,l.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=M,a["s-sn"]=l.$name$||"",a["s-rf"]=(r=l.$attrs$)==null?void 0:r.ref,f=e&&e.$children$&&e.$children$[s],f&&f.$tag$===l.$tag$&&e.$elm$&&I(e.$elm$,!1)),a},I=(e,t)=>{g.$flags$|=1;let s=Array.from(e.childNodes);if(e["s-sr"]&&P.experimentalSlotFixes){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===C&&s.push(n)}for(let n=s.length-1;n>=0;n--){let r=s[n];r["s-hn"]!==C&&r["s-ol"]&&(E(Ee(r),r,Z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,J=!0),t&&I(r,t)}g.$flags$&=-2},xe=(e,t,s,n,r,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);r<=l;++r)n[r]&&(a=D(null,s,r,e),a&&(n[r].$elm$=a,E(i,a,Z(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){let r=e[n];if(r){let l=r.$elm$;_e(r),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():I(l,!0),l.remove())}}},vt=(e,t,s,n,r=!1)=>{let l=0,i=0,a=0,o=0,f=t.length-1,$=t[0],d=t[f],c=n.length-1,u=n[0],p=n[c],h,y;for(;l<=f&&i<=c;)if($==null)$=t[++l];else if(d==null)d=t[--f];else if(u==null)u=n[++i];else if(p==null)p=n[--c];else if(N($,u,r))_($,u,r),$=t[++l],u=n[++i];else if(N(d,p,r))_(d,p,r),d=t[--f],p=n[--c];else if(N($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&I($.$elm$.parentNode,!1),_($,p,r),E(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],p=n[--c];else if(N(d,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&I(d.$elm$.parentNode,!1),_(d,u,r),E(e,d.$elm$,$.$elm$),d=t[--f],u=n[++i];else{for(a=-1,o=l;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){a=o;break}a>=0?(y=t[a],y.$tag$!==u.$tag$?h=D(t&&t[i],s,a,e):(_(y,u,r),t[a]=void 0,h=y.$elm$),u=n[++i]):(h=D(t&&t[i],s,i,e),u=n[++i]),h&&E(Ee($.$elm$),h,Z($.$elm$))}l>f?xe(e,n[c+1]==null?null:n[c+1].$elm$,s,n,i,c):i>c&&Le(t,l,f)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,Ee=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,r=e.$children$,l=t.$children$,i=t.$tag$,a=t.$text$,o;a===null?(S=i==="svg"?!0:i==="foreignObject"?!1:S,i==="slot"&&!z||Te(e,t,S),r!==null&&l!==null?vt(n,r,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),xe(n,null,t,l,0,l.length-1)):!s&&P.updatable&&r!==null&&Le(r,0,r.length-1),S&&i==="svg"&&(S=!1)):(o=n["s-cr"])?o.parentNode.textContent=a:e.$text$!==a&&(n.data=a)},we=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let n=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}we(s)}},T=[],Ae=e=>{let t,s,n;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let l=r["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]&&!P.experimentalSlotFixes)if(de(t,l)){let i=T.find(a=>a.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||l,i?(i.$nodeToRelocate$["s-sh"]=r["s-hn"],i.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],T.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&T.map(a=>{de(a.$nodeToRelocate$,t["s-sn"])&&(i=T.find(o=>o.$nodeToRelocate$===t),i&&!a.$slotRefNode$&&(a.$slotRefNode$=i.$slotRefNode$))})}else T.some(i=>i.$nodeToRelocate$===t)||T.push({$nodeToRelocate$:t})}r.nodeType===1&&Ae(r)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},E=(e,t,s)=>{let n=e?.insertBefore(t,s);return V(t,e),n},Pe=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...Pe(e.parentElement)),t},V=(e,t,s=!1)=>{var n;if(e&&t&&e.nodeType===1){let r=new Set(Pe(t).filter(Boolean));if(r.size&&((n=e.classList)==null||n.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let l of Array.from(e.childNodes))V(l,e,!0)}},pt=(e,t,s=!1)=>{var n,r,l,i;let a=e.$hostElement$,o=e.$cmpMeta$,f=e.$vnode$||U(null,null),$=rt(t)?t:me(null,null,t);if(C=a.tagName,o.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},o.$attrsToReflect$.map(([d,c])=>$.$attrs$[c]=a[d])),s&&$.$attrs$)for(let d of Object.keys($.$attrs$))a.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=a[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=f.$elm$=a.shadowRoot||a,A=a["s-sc"],z=(o.$flags$&1)!==0,M=a["s-cr"],F=!1,_(f,$,s);{if(g.$flags$|=1,J){Ae($.$elm$);for(let d of T){let c=d.$nodeToRelocate$;if(!c["s-ol"]){let u=m.createTextNode("");u["s-nr"]=c,E(c.parentNode,c["s-ol"]=u,c)}}for(let d of T){let c=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){let p=u.parentNode,h=u.nextSibling;{let y=(n=c["s-ol"])==null?void 0:n.previousSibling;for(;y;){let v=(r=y["s-nr"])!=null?r:null;if(v&&v["s-sn"]===c["s-sn"]&&p===v.parentNode){for(v=v.nextSibling;v===c||v?.["s-sr"];)v=v?.nextSibling;if(!v||!v["s-nr"]){h=v;break}}y=y.previousSibling}}(!h&&p!==c.parentNode||c.nextSibling!==h)&&c!==h&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),E(p,c,h),c.nodeType===1&&(c.hidden=(l=c["s-ih"])!=null?l:!1)),c&&typeof u["s-rf"]=="function"&&u["s-rf"](c)}else c.nodeType===1&&(s&&(c["s-ih"]=(i=c.hidden)!=null?i:!1),c.hidden=!0)}}F&&we($.$elm$),g.$flags$&=-2,T.length=0}M=void 0},Re=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Re(e,e.$ancestorComponent$),Ke(()=>ht(e,t))},ht=(e,t)=>{let s=e.$hostElement$,n=L("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([i,a])=>x(r,i,a)),e.$queuedListeners$=void 0),l=x(r,"componentWillLoad")):l=x(r,"componentWillUpdate"),l=ue(l,()=>x(r,"componentWillRender")),n(),ue(l,()=>yt(e,r,t))},ue=(e,t)=>gt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),gt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",yt=async(e,t,s)=>{var n;let r=e.$hostElement$,l=L("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];s&&ft(e);let a=L("render",e.$cmpMeta$.$tagName$);mt(e,t,r,s),i&&(i.map(o=>o()),r["s-rc"]=void 0),a(),l();{let o=(n=r["s-p"])!=null?n:[],f=()=>St(e);o.length===0?f():(Promise.all(o).then(f),e.$flags$|=4,o.length=0)}},X=null,mt=(e,t,s,n)=>{try{X=t,t=t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,n)}catch(r){w(r,e.$hostElement$)}return X=null,null},Nt=()=>X,St=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=L("postUpdate",t),r=e.$lazyInstance$,l=e.$ancestorComponent$;x(r,"componentDidRender"),e.$flags$&64?(x(r,"componentDidUpdate"),n()):(e.$flags$|=64,Ie(s),x(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),l||Ce()),e.$onInstanceResolve$(s),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Q(()=>H(e,!1)),e.$flags$&=-517},jt=e=>{{let t=b(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&H(t,!1),s}},Ce=e=>{Ie(m.documentElement),Q(()=>Se(R,"appload",{detail:{namespace:ze}}))},x=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){w(n)}},Ie=e=>{var t;return e.classList.add((t=P.hydratedSelectorName)!=null?t:"hydrated")},bt=(e,t)=>b(e).$instanceValues$.get(t),kt=(e,t,s,n)=>{let r=b(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);let l=r.$hostElement$,i=r.$instanceValues$.get(t),a=r.$flags$,o=r.$lazyInstance$;s=ot(s,n.$members$[t][0]);let f=Number.isNaN(i)&&Number.isNaN(s),$=s!==i&&!f;if((!(a&8)||i===void 0)&&$&&(r.$instanceValues$.set(t,s),o)){if(n.$watchers$&&a&128){let d=n.$watchers$[t];d&&d.map(c=>{try{o[c](s,i,t)}catch(u){w(u,l)}})}(a&18)===2&&H(r,!1)}},Oe=(e,t,s)=>{var n,r;let l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);let i=Object.entries((n=t.$members$)!=null?n:{});if(i.map(([a,[o]])=>{o&31||s&2&&o&32?Object.defineProperty(l,a,{get(){return bt(this,a)},set(f){kt(this,a,f,t)},configurable:!0,enumerable:!0}):s&1&&o&64&&Object.defineProperty(l,a,{value(...f){var $;let d=b(this);return($=d?.$onInstancePromise$)==null?void 0:$.then(()=>{var c;return(c=d.$lazyInstance$)==null?void 0:c[a](...f)})}})}),s&1){let a=new Map;l.attributeChangedCallback=function(o,f,$){g.jmp(()=>{var d;let c=a.get(o);if(this.hasOwnProperty(c))$=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==$)return;if(c==null){let u=b(this),p=u?.$flags$;if(p&&!(p&8)&&p&128&&$!==f){let h=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[o];y?.forEach(v=>{h[v]!=null&&h[v].call(h,$,f,o)})}return}}this[c]=$===null&&typeof this[c]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([o,f])=>f[0]&15).map(([o,f])=>{var $;let d=f[1]||o;return a.set(d,o),f[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,d])),d})]))}}return e},Tt=async(e,t,s,n)=>{let r;if((t.$flags$&32)===0){if(t.$flags$|=32,s.$lazyBundleId$){let o=Be(s);if(o&&"then"in o){let $=st();r=await o,$()}else r=o;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Oe(r,s,2),r.isProxied=!0);let f=L("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,f(),G(t.$lazyInstance$)}else{r=e.constructor;let o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);let f=be(s);if(!j.has(f)){let $=L("registerStyles",s.$tagName$);$t(f,o,!!(s.$flags$&1)),$()}}}let l=t.$ancestorComponent$,i=()=>H(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()},G=e=>{x(e,"connectedCallback")},xt=e=>{if((g.$flags$&1)===0){let t=b(e),s=t.$cmpMeta$,n=L("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t?.$lazyInstance$?G(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>G(t.$lazyInstance$));else{t.$flags$|=1,s.$flags$&12&&Lt(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[l]])=>{if(l&31&&e.hasOwnProperty(r)){let i=e[r];delete e[r],e[r]=i}}),Tt(e,t,s)}n()}},Lt=e=>{let t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,E(e,t,e.firstChild)},ve=e=>{x(e,"disconnectedCallback")},Et=async e=>{if((g.$flags$&1)===0){let t=b(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t?.$lazyInstance$?ve(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ve(t.$lazyInstance$))}},Ut=(e,t={})=>{var s;let n=L(),r=[],l=t.exclude||[],i=R.customElements,a=m.head,o=a.querySelector("meta[charset]"),f=m.createElement("style"),$=[],d,c=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var y;let v={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};v.$flags$&4&&(u=!0),v.$members$=h[2],v.$listeners$=h[3],v.$attrsToReflect$=[],v.$watchers$=(y=h[4])!=null?y:{};let O=v.$tagName$,je=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,He(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){let k=b(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),c?$.push(this):g.jmp(()=>xt(this))}disconnectedCallback(){g.jmp(()=>Et(this))}componentOnReady(){return b(this).$onReadyPromise$}};v.$lazyBundleId$=p[0],!l.includes(O)&&!i.get(O)&&(r.push(O),i.define(O,Oe(je,v,1)))})}),r.length>0&&(u&&(f.textContent+=pe),f.textContent+=r.sort()+qe,f.innerHTML.length)){f.setAttribute("data-styles","");let p=(s=g.$nonce$)!=null?s:ge(m);p!=null&&f.setAttribute("nonce",p),a.insertBefore(f,o?o.nextSibling:a.firstChild)}c=!1,$.length?$.map(p=>p.connectedCallback()):g.jmp(()=>d=setTimeout(Ce,30)),n()},zt=(e,t)=>t,Ne=(e,t,s,n)=>{s&&s.map(([r,l,i])=>{let a=At(e,r),o=wt(t,i),f=_t(r);g.ael(a,l,o,f),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(a,l,o,f))})},wt=(e,t)=>s=>{var n;try{e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(r){w(r)}},At=(e,t)=>t&8?R:e,_t=e=>We?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;export{Ct as a,It as b,me as c,nt as d,it as e,Ot as f,Nt as g,jt as h,Ut as i,zt as j};
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{b as ee}from"./MO6ELGZS.js";var Ue=ee({"./instant-apps-app-guide.entry.js":()=>import("./AKIVXNOI.js"),"./instant-apps-ckeditor-wrapper_3.entry.js":()=>import("./QML66ZJW.js"),"./instant-apps-control-panel.entry.js":()=>import("./TKPHO475.js"),"./instant-apps-create.entry.js":()=>import("./AIWKSKOS.js"),"./instant-apps-export-views.entry.js":()=>import("./2JENJJ5Q.js"),"./instant-apps-export.entry.js":()=>import("./OM7V7IHH.js"),"./instant-apps-filter-list.entry.js":()=>import("./E2K4YXFY.js"),"./instant-apps-header.entry.js":()=>import("./VYN2OV3J.js"),"./instant-apps-interactive-legend-classic.entry.js":()=>import("./SP7LJ3CU.js"),"./instant-apps-interactive-legend-count_2.entry.js":()=>import("./J7HFP2SN.js"),"./instant-apps-interactive-legend-group-legend-element-caption.entry.js":()=>import("./DCOPVWLY.js"),"./instant-apps-interactive-legend-group-legend-element_5.entry.js":()=>import("./2I7ZIAPF.js"),"./instant-apps-interactive-legend.entry.js":()=>import("./NP3DZUOG.js"),"./instant-apps-keyboard-shortcuts.entry.js":()=>import("./LUS4XGFV.js"),"./instant-apps-landing-page.entry.js":()=>import("./LU62UIKJ.js"),"./instant-apps-language-switcher.entry.js":()=>import("./DSUJM7KE.js"),"./instant-apps-language-translator.entry.js":()=>import("./LWT5ZPS5.js"),"./instant-apps-measurement-tool.entry.js":()=>import("./563I6KBO.js"),"./instant-apps-measurement.entry.js":()=>import("./AUJ4ZHP4.js"),"./instant-apps-popover.entry.js":()=>import("./6LY4PJLC.js"),"./instant-apps-popovers.entry.js":()=>import("./MWYXGDMB.js"),"./instant-apps-scoreboard.entry.js":()=>import("./3Y2Q5QFM.js"),"./instant-apps-sign-in.entry.js":()=>import("./ZFEYSYS5.js"),"./instant-apps-social-share.entry.js":()=>import("./XGKEI55O.js"),"./instant-apps-splash.entry.js":()=>import("./K77Y37K5.js"),"./instant-apps-time-filter.entry.js":()=>import("./ZRRRCRK3.js")});var ze="instant-apps-components",P={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!0,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},Fe=Object.defineProperty,De=(e,t)=>{for(var s in t)Fe(e,s,{get:t[s],enumerable:!0})},K=new WeakMap,b=e=>K.get(e),Ct=(e,t)=>K.set(t.$lazyInstance$=e,t),He=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onInstancePromise$=new Promise(n=>s.$onInstanceResolve$=n),s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],K.set(e,s)},te=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),se=new Map,Be=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;let l=se.get(r);if(l)return l[n];return Ue(`./${r}.entry.js`).then(i=>(se.set(r,i),i[n]),w)},j=new Map,qe="{visibility:hidden}.hydrated{visibility:inherit}",pe="slot-fb{display:contents}slot-fb[hidden]{display:none}",ne="http://www.w3.org/1999/xlink",R=typeof window<"u"?window:{},m=R.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Me=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),B=!1,re=[],he=[],Ge=(e,t)=>s=>{e.push(s),B||(B=!0,t&&g.$flags$&4?Q(q):g.raf(q))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){w(s)}e.length=0},q=()=>{le(re),le(he),(B=re.length>0)&&g.raf(q)},Q=e=>Me().then(e),Ke=Ge(he,!0),It=e=>{let t=new URL(e,g.$resourcesUrl$);return t.origin!==R.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=e=>e!=null,Y=e=>(e=typeof e,e==="object"||e==="function");function ge(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Ze={};De(Ze,{err:()=>ye,map:()=>Ve,ok:()=>W,unwrap:()=>et,unwrapErr:()=>tt});var W=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function Ve(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(e.isErr){let s=e.value;return ye(s)}throw"should never get here"}var et=e=>{if(e.isOk)return e.value;throw e.value},tt=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t="")=>()=>{},st=(e,t)=>()=>{},me=(e,t,...s)=>{let n=null,r=null,l=null,i=!1,a=!1,o=[],f=d=>{for(let c=0;c<d.length;c++)n=d[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!Y(n))&&(n=String(n)),i&&a?o[o.length-1].$text$+=n:o.push(i?U(null,n):n),a=i)};if(f(s),t){t.key&&(r=t.key),t.name&&(l=t.name);{let d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(c=>d[c]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,lt);let $=U(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$.$name$=l,$},U=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},nt={},rt=e=>e&&e.$tag$===nt,lt={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(at)},oe=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),at=e=>{if(typeof e.vtag=="function"){let s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),me(e.vtag,s,...e.vchildren||[])}let t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},ot=(e,t)=>e!=null&&!Y(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,it=e=>b(e).$hostElement$,Ot=(e,t,s)=>{let n=it(e);return{emit:r=>Se(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:r})}},Se=(e,t,s)=>{let n=g.ce(t,s);return e.dispatchEvent(n),n},ie=new WeakMap,$t=(e,t,s)=>{let n=j.get(e);Xe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},ct=(e,t,s)=>{var n;let r=be(t),l=j.get(r);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let i=ie.get(e),a;if(i||ie.set(e,i=new Set),!i.has(r)){{a=m.createElement("style"),a.innerHTML=l;let o=(n=g.$nonce$)!=null?n:ge(m);o!=null&&a.setAttribute("nonce",o),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=pe),i&&i.add(r)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return r},ft=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=L("attachStyles",t.$tagName$),l=ct(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&n&2&&(s["s-sc"]=l,s.classList.add(l+"-h"),n&2&&s.classList.add(l+"-s")),r()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,n,r,l)=>{if(s!==n){let i=te(e,t),a=t.toLowerCase();if(t==="class"){let o=e.classList,f=ce(s),$=ce(n);o.remove(...f.filter(d=>d&&!$.includes(d))),o.add(...$.filter(d=>d&&!f.includes(d)))}else if(t==="style"){for(let o in s)(!n||n[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(let o in n)(!s||n[o]!==s[o])&&(o.includes("-")?e.style.setProperty(o,n[o]):e.style[o]=n[o])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):te(R,a)?t=a.slice(2):t=a[2]+t.slice(3),s||n){let o=t.endsWith(ke);t=t.replace(ut,""),s&&g.rel(e,t,s,o),n&&g.ael(e,t,n,o)}}else{let o=Y(n);if((i||o&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{let $=n??"";t==="list"?i=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(f?e.removeAttributeNS(ne,t):e.removeAttribute(t)):(!i||l&4||r)&&!o&&(n=n===!0?"":n,f?e.setAttributeNS(ne,t,n):e.setAttribute(t,n))}}},dt=/\s/,ce=e=>e?e.split(dt):[],ke="Capture",ut=new RegExp(ke+"$"),Te=(e,t,s)=>{let n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(let i of fe(Object.keys(r)))i in l||$e(n,i,r[i],void 0,s,t.$flags$);for(let i of fe(Object.keys(l)))$e(n,i,r[i],l[i],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,C,z=!1,F=!1,J=!1,S=!1,D=(e,t,s,n)=>{var r;let l=t.$children$[s],i=0,a,o,f;if(z||(J=!0,l.$tag$==="slot"&&(A&&n.classList.add(A+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)a=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)a=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),a=l.$elm$=m.createElementNS(S?Qe:Ye,!z&&P.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Te(null,l,S),!!a.getRootNode().querySelector("body")&&P.scoped&&Je(A)&&a["s-si"]!==A&&a.classList.add(a["s-si"]=A),V(a,n),l.$children$)for(i=0;i<l.$children$.length;++i)o=D(e,l,i,a),o&&a.appendChild(o);l.$tag$==="svg"?S=!1:a.tagName==="foreignObject"&&(S=!0)}return a["s-hn"]=C,l.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=M,a["s-sn"]=l.$name$||"",a["s-rf"]=(r=l.$attrs$)==null?void 0:r.ref,f=e&&e.$children$&&e.$children$[s],f&&f.$tag$===l.$tag$&&e.$elm$&&I(e.$elm$,!1)),a},I=(e,t)=>{g.$flags$|=1;let s=Array.from(e.childNodes);if(e["s-sr"]&&P.experimentalSlotFixes){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===C&&s.push(n)}for(let n=s.length-1;n>=0;n--){let r=s[n];r["s-hn"]!==C&&r["s-ol"]&&(E(Ee(r),r,Z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,J=!0),t&&I(r,t)}g.$flags$&=-2},xe=(e,t,s,n,r,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);r<=l;++r)n[r]&&(a=D(null,s,r,e),a&&(n[r].$elm$=a,E(i,a,Z(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){let r=e[n];if(r){let l=r.$elm$;_e(r),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():I(l,!0),l.remove())}}},vt=(e,t,s,n,r=!1)=>{let l=0,i=0,a=0,o=0,f=t.length-1,$=t[0],d=t[f],c=n.length-1,u=n[0],p=n[c],h,y;for(;l<=f&&i<=c;)if($==null)$=t[++l];else if(d==null)d=t[--f];else if(u==null)u=n[++i];else if(p==null)p=n[--c];else if(N($,u,r))_($,u,r),$=t[++l],u=n[++i];else if(N(d,p,r))_(d,p,r),d=t[--f],p=n[--c];else if(N($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&I($.$elm$.parentNode,!1),_($,p,r),E(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],p=n[--c];else if(N(d,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&I(d.$elm$.parentNode,!1),_(d,u,r),E(e,d.$elm$,$.$elm$),d=t[--f],u=n[++i];else{for(a=-1,o=l;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){a=o;break}a>=0?(y=t[a],y.$tag$!==u.$tag$?h=D(t&&t[i],s,a,e):(_(y,u,r),t[a]=void 0,h=y.$elm$),u=n[++i]):(h=D(t&&t[i],s,i,e),u=n[++i]),h&&E(Ee($.$elm$),h,Z($.$elm$))}l>f?xe(e,n[c+1]==null?null:n[c+1].$elm$,s,n,i,c):i>c&&Le(t,l,f)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,Ee=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,r=e.$children$,l=t.$children$,i=t.$tag$,a=t.$text$,o;a===null?(S=i==="svg"?!0:i==="foreignObject"?!1:S,i==="slot"&&!z||Te(e,t,S),r!==null&&l!==null?vt(n,r,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),xe(n,null,t,l,0,l.length-1)):!s&&P.updatable&&r!==null&&Le(r,0,r.length-1),S&&i==="svg"&&(S=!1)):(o=n["s-cr"])?o.parentNode.textContent=a:e.$text$!==a&&(n.data=a)},we=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let n=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}we(s)}},T=[],Ae=e=>{let t,s,n;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let l=r["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]&&!P.experimentalSlotFixes)if(de(t,l)){let i=T.find(a=>a.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||l,i?(i.$nodeToRelocate$["s-sh"]=r["s-hn"],i.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],T.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&T.map(a=>{de(a.$nodeToRelocate$,t["s-sn"])&&(i=T.find(o=>o.$nodeToRelocate$===t),i&&!a.$slotRefNode$&&(a.$slotRefNode$=i.$slotRefNode$))})}else T.some(i=>i.$nodeToRelocate$===t)||T.push({$nodeToRelocate$:t})}r.nodeType===1&&Ae(r)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},E=(e,t,s)=>{let n=e?.insertBefore(t,s);return V(t,e),n},Pe=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...Pe(e.parentElement)),t},V=(e,t,s=!1)=>{var n;if(e&&t&&e.nodeType===1){let r=new Set(Pe(t).filter(Boolean));if(r.size&&((n=e.classList)==null||n.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let l of Array.from(e.childNodes))V(l,e,!0)}},pt=(e,t,s=!1)=>{var n,r,l,i;let a=e.$hostElement$,o=e.$cmpMeta$,f=e.$vnode$||U(null,null),$=rt(t)?t:me(null,null,t);if(C=a.tagName,o.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},o.$attrsToReflect$.map(([d,c])=>$.$attrs$[c]=a[d])),s&&$.$attrs$)for(let d of Object.keys($.$attrs$))a.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=a[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=f.$elm$=a.shadowRoot||a,A=a["s-sc"],z=(o.$flags$&1)!==0,M=a["s-cr"],F=!1,_(f,$,s);{if(g.$flags$|=1,J){Ae($.$elm$);for(let d of T){let c=d.$nodeToRelocate$;if(!c["s-ol"]){let u=m.createTextNode("");u["s-nr"]=c,E(c.parentNode,c["s-ol"]=u,c)}}for(let d of T){let c=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){let p=u.parentNode,h=u.nextSibling;{let y=(n=c["s-ol"])==null?void 0:n.previousSibling;for(;y;){let v=(r=y["s-nr"])!=null?r:null;if(v&&v["s-sn"]===c["s-sn"]&&p===v.parentNode){for(v=v.nextSibling;v===c||v?.["s-sr"];)v=v?.nextSibling;if(!v||!v["s-nr"]){h=v;break}}y=y.previousSibling}}(!h&&p!==c.parentNode||c.nextSibling!==h)&&c!==h&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),E(p,c,h),c.nodeType===1&&(c.hidden=(l=c["s-ih"])!=null?l:!1)),c&&typeof u["s-rf"]=="function"&&u["s-rf"](c)}else c.nodeType===1&&(s&&(c["s-ih"]=(i=c.hidden)!=null?i:!1),c.hidden=!0)}}F&&we($.$elm$),g.$flags$&=-2,T.length=0}M=void 0},Re=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Re(e,e.$ancestorComponent$),Ke(()=>ht(e,t))},ht=(e,t)=>{let s=e.$hostElement$,n=L("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([i,a])=>x(r,i,a)),e.$queuedListeners$=void 0),l=x(r,"componentWillLoad")):l=x(r,"componentWillUpdate"),l=ue(l,()=>x(r,"componentWillRender")),n(),ue(l,()=>yt(e,r,t))},ue=(e,t)=>gt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),gt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",yt=async(e,t,s)=>{var n;let r=e.$hostElement$,l=L("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];s&&ft(e);let a=L("render",e.$cmpMeta$.$tagName$);mt(e,t,r,s),i&&(i.map(o=>o()),r["s-rc"]=void 0),a(),l();{let o=(n=r["s-p"])!=null?n:[],f=()=>St(e);o.length===0?f():(Promise.all(o).then(f),e.$flags$|=4,o.length=0)}},X=null,mt=(e,t,s,n)=>{try{X=t,t=t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,n)}catch(r){w(r,e.$hostElement$)}return X=null,null},Nt=()=>X,St=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=L("postUpdate",t),r=e.$lazyInstance$,l=e.$ancestorComponent$;x(r,"componentDidRender"),e.$flags$&64?(x(r,"componentDidUpdate"),n()):(e.$flags$|=64,Ie(s),x(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),l||Ce()),e.$onInstanceResolve$(s),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Q(()=>H(e,!1)),e.$flags$&=-517},jt=e=>{{let t=b(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&H(t,!1),s}},Ce=e=>{Ie(m.documentElement),Q(()=>Se(R,"appload",{detail:{namespace:ze}}))},x=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){w(n)}},Ie=e=>{var t;return e.classList.add((t=P.hydratedSelectorName)!=null?t:"hydrated")},bt=(e,t)=>b(e).$instanceValues$.get(t),kt=(e,t,s,n)=>{let r=b(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);let l=r.$hostElement$,i=r.$instanceValues$.get(t),a=r.$flags$,o=r.$lazyInstance$;s=ot(s,n.$members$[t][0]);let f=Number.isNaN(i)&&Number.isNaN(s),$=s!==i&&!f;if((!(a&8)||i===void 0)&&$&&(r.$instanceValues$.set(t,s),o)){if(n.$watchers$&&a&128){let d=n.$watchers$[t];d&&d.map(c=>{try{o[c](s,i,t)}catch(u){w(u,l)}})}(a&18)===2&&H(r,!1)}},Oe=(e,t,s)=>{var n,r;let l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);let i=Object.entries((n=t.$members$)!=null?n:{});if(i.map(([a,[o]])=>{o&31||s&2&&o&32?Object.defineProperty(l,a,{get(){return bt(this,a)},set(f){kt(this,a,f,t)},configurable:!0,enumerable:!0}):s&1&&o&64&&Object.defineProperty(l,a,{value(...f){var $;let d=b(this);return($=d?.$onInstancePromise$)==null?void 0:$.then(()=>{var c;return(c=d.$lazyInstance$)==null?void 0:c[a](...f)})}})}),s&1){let a=new Map;l.attributeChangedCallback=function(o,f,$){g.jmp(()=>{var d;let c=a.get(o);if(this.hasOwnProperty(c))$=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==$)return;if(c==null){let u=b(this),p=u?.$flags$;if(p&&!(p&8)&&p&128&&$!==f){let h=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[o];y?.forEach(v=>{h[v]!=null&&h[v].call(h,$,f,o)})}return}}this[c]=$===null&&typeof this[c]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([o,f])=>f[0]&15).map(([o,f])=>{var $;let d=f[1]||o;return a.set(d,o),f[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,d])),d})]))}}return e},Tt=async(e,t,s,n)=>{let r;if((t.$flags$&32)===0){if(t.$flags$|=32,s.$lazyBundleId$){let o=Be(s);if(o&&"then"in o){let $=st();r=await o,$()}else r=o;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Oe(r,s,2),r.isProxied=!0);let f=L("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,f(),G(t.$lazyInstance$)}else{r=e.constructor;let o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);let f=be(s);if(!j.has(f)){let $=L("registerStyles",s.$tagName$);$t(f,o,!!(s.$flags$&1)),$()}}}let l=t.$ancestorComponent$,i=()=>H(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()},G=e=>{x(e,"connectedCallback")},xt=e=>{if((g.$flags$&1)===0){let t=b(e),s=t.$cmpMeta$,n=L("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t?.$lazyInstance$?G(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>G(t.$lazyInstance$));else{t.$flags$|=1,s.$flags$&12&&Lt(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[l]])=>{if(l&31&&e.hasOwnProperty(r)){let i=e[r];delete e[r],e[r]=i}}),Tt(e,t,s)}n()}},Lt=e=>{let t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,E(e,t,e.firstChild)},ve=e=>{x(e,"disconnectedCallback")},Et=async e=>{if((g.$flags$&1)===0){let t=b(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t?.$lazyInstance$?ve(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ve(t.$lazyInstance$))}},Ut=(e,t={})=>{var s;let n=L(),r=[],l=t.exclude||[],i=R.customElements,a=m.head,o=a.querySelector("meta[charset]"),f=m.createElement("style"),$=[],d,c=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var y;let v={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};v.$flags$&4&&(u=!0),v.$members$=h[2],v.$listeners$=h[3],v.$attrsToReflect$=[],v.$watchers$=(y=h[4])!=null?y:{};let O=v.$tagName$,je=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,He(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){let k=b(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),c?$.push(this):g.jmp(()=>xt(this))}disconnectedCallback(){g.jmp(()=>Et(this))}componentOnReady(){return b(this).$onReadyPromise$}};v.$lazyBundleId$=p[0],!l.includes(O)&&!i.get(O)&&(r.push(O),i.define(O,Oe(je,v,1)))})}),r.length>0&&(u&&(f.textContent+=pe),f.textContent+=r.sort()+qe,f.innerHTML.length)){f.setAttribute("data-styles","");let p=(s=g.$nonce$)!=null?s:ge(m);p!=null&&f.setAttribute("nonce",p),a.insertBefore(f,o?o.nextSibling:a.firstChild)}c=!1,$.length?$.map(p=>p.connectedCallback()):g.jmp(()=>d=setTimeout(Ce,30)),n()},zt=(e,t)=>t,Ne=(e,t,s,n)=>{s&&s.map(([r,l,i])=>{let a=At(e,r),o=wt(t,i),f=_t(r);g.ael(a,l,o,f),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(a,l,o,f))})},wt=(e,t)=>s=>{var n;try{e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(r){w(r)}},At=(e,t)=>t&8?R:e,_t=e=>We?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;export{Ct as a,It as b,me as c,nt as d,it as e,Ot as f,Nt as g,jt as h,Ut as i,zt as j};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as r}from"./YZ4LCVJ7.js";import{D as o,I as n,c as i,d as t,q as s}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var a=i`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as d}from"./5VKMQKEK.js";import{e as h}from"./CKIF7ITD.js";import{c as l}from"./YNVH5WOM.js";import"./6Z2DWNPT.js";import{a as v,c as a,d as m,e as u}from"./A62HEPRS.js";import"./GPUC2YAZ.js";var c={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(c).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${c[t].fill}"><path d="${c[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),void await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"239f44775dbefef9e12450e0325c82aadfd78c91"},a("div",{key:"6d4fb22d8c840682b8bd1764bdc90a854fa15f5a",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),void await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:r,arcgisStoryMaps:s,storyMapsDesc:p,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:r,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:s,subtitle:p,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),r=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${r}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${r}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${r}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${r}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:r}=t,{protocol:s}=window.location,p=r?`${r}.${e}`:n;return`${s}//${p}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:"Create panel"},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:r,href:s}=t;return a("a",{class:i.option,href:s,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:r}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as d}from"./5YQ6I5EF.js";import{e as h}from"./LWII4SFH.js";import{c as l}from"./YYROVQF2.js";import"./5MIMVQY5.js";import{a as v,c as a,d as m,e as u}from"./ABK3KAVX.js";import"./MO6ELGZS.js";var p={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(p).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${p[t].fill}"><path d="${p[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"662bf8aee21aafd15b22d1c64f63e242229c932b"},a("div",{key:"51f0a144f417a0c4fda1a8db71a7d67472e6b7fb",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:s,arcgisStoryMaps:r,storyMapsDesc:c,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:s,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:r,subtitle:c,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),s=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${s}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${s}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${s}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${s}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:s}=t,{protocol:r}=window.location,c=s?`${s}.${e}`:n;return`${r}//${c}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:this.messages?.createLabel},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:s,href:r}=t;return a("a",{class:i.option,href:r,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:s}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as o}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{e as o}from"./LWII4SFH.js";import"./YYROVQF2.js";import"./5MIMVQY5.js";import{a as l,c as i,d,e as h}from"./ABK3KAVX.js";import"./MO6ELGZS.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(t){this.pages=t,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},u=":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}",_=u,p={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},m=class{constructor(e){l(this,e),this._viewModel=new c,this.header=!0,this.data=void 0,this.messages=void 0,this.headerText=void 0}watchPropHandler(e){this._setContent(e)}watchStateHandler(e){this._viewModel.headerText=e}componentWillLoad(){this._setContent(this?.data)}componentDidLoad(){o(this)}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return i(d,{key:"17ec07719a7ea4692912d8c5e51a0ccfcf4fe448"},i("calcite-panel",{key:"fc659c5fcd7ee8370d79e8c6506cc6f55e784e74",scale:"s"},t,i("calcite-carousel",{key:"aa9b07f8ada18253b1a0fb0bfe228e04c81c6021",label:"App Guide",onCalciteCarouselChange:()=>this._updateHeaderText(),ref:a=>this._carouselRef=a,"arrow-type":this._getArrowType()},e)))}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:t,messages:a}=this;if(!(e&&t))return;let n=Array.from(t.childNodes).indexOf(t.selectedItem),r=e?.pages,g=r?.[n]??r[0];this.headerText=g?.title||a?.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}_renderAppGuideHeader(){let{messages:e,header:t,headerText:a}=this,s=!!t&&e?.headerText,n=a||e?.headerText;return s?i("span",{slot:"header-content"},n," ",i("calcite-icon",{icon:"lightbulb",scale:"s"})):null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:s,type:n,title:r}=t;return i("calcite-carousel-item",{label:r,key:`page_${a}`},i("div",{class:p.contentWrapper},this._renderContentItems(s,n)))})}_renderContentItems(e,t){switch(t){case"list":return i("ol",{class:p.contentList},e.map((a,s)=>i("li",{key:`content-list-item-${s}`,class:p.contentListItem},a)));case"paragraphs":default:return e.map((a,s)=>i("p",{key:`content-paragraph-${s}`},a))}}get el(){return h(this)}static get watchers(){return{data:["watchPropHandler"],headerText:["watchStateHandler"]}}};m.style=_;export{m as instant_apps_app_guide};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{c as a}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{c as a}from"./ZUNKV2EF.js";import"./MO6ELGZS.js";export{a as MetricSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as s}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{e as s}from"./LWII4SFH.js";import"./YYROVQF2.js";import"./5MIMVQY5.js";import{a as c,c as e,d as l,e as r,f as d}from"./ABK3KAVX.js";import"./MO6ELGZS.js";var m=".sc-instant-apps-measurement-h .sc-instant-apps-measurement.sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}.sc-instant-apps-measurement-h .active-tool.sc-instant-apps-measurement{--calcite-color-foreground-1:#c7eaff}",u=m,h={content:"instant-apps-measurement__content"},f=class{constructor(t){c(this,t),this.measureActive=d(this,"measureActive",7),this.messages=void 0,this.view=void 0,this.areaUnit=void 0,this.linearUnit=void 0,this.coordinateFormat=void 0,this.activeToolType=void 0,this.closable=!1}async componentWillLoad(){s(this)}componentDidLoad(){}render(){return e(l,{key:"68d619bbb5d2b0808ad57a1891ca07ae35391194"},e("calcite-panel",{key:"5fe4f0d6ee4c8344cb5fadedd3c09a81a100f342",heading:this?.messages?.label,closable:this.closable},e("div",{key:"6f220edb8795f0563ea4f4e76f0908c2fca4a263",slot:"content-top"},this.renderActionPad()),e("div",{key:"5b11d036b55b5a98df11d8c575b995c2b7f4a322"},this.renderMeasureToolPanel())))}renderMeasureToolPanel(){let{view:t,coordinateFormat:i,areaUnit:a,linearUnit:n,activeToolType:o}=this;return e("calcite-panel",{class:h.content},e("instant-apps-measurement-tool",{ref:p=>{this.measureTool=p},view:t,measureConfiguration:{coordinateFormat:i,areaUnit:a,linearUnit:n,activeToolType:o},activeTool:this.activeToolType}))}renderActionPad(){let{messages:t,activeToolType:i}=this;return e("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal",position:"end"},e("calcite-action",{class:i==="distance"?"active-tool":"",text:t?.line,icon:"measure",scale:"m","data-value":"distance",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.line)),e("calcite-action",{class:i==="area"?"active-tool":"",text:t?.area,scale:"m",icon:"measure-area","data-value":"area",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.area)),e("calcite-action",{class:i==="point"?"active-tool":"",text:t?.point,scale:"m",icon:"pin-plus","data-value":"point",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.point)),e("calcite-action",{text:t?.clear,scale:"m",icon:"trash","data-value":"clear",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.clear)))}_handleToolClick(t){if(!this?.measureTool)return;let i=t?.target;if(!(i instanceof HTMLElement))return;let a=i?.dataset.value;if(a!=="distance"&&a!=="area"&&a!=="point"&&a!=="clear")return;a&&(this.measureTool.activeTool=a);let n=document.getElementsByClassName("active-tool");for(let o=0;o<n?.length;o++)n[o]?.classList?.remove("active-tool");i?.classList.add("active-tool"),this.measureActive.emit(!(a===void 0||a==="clear"))}get el(){return r(this)}};f.style=u;export{f as instant_apps_measurement};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as s}from"./2SPBK2JC.js";import"./OBQ5ECDX.js";import"./72MDJVHR.js";import"./MNIQAXS4.js";import"./ROI7GMNK.js";import{a as r,b as a}from"./CBUD7IB5.js";import"./UWZF6TGQ.js";import"./TVNGRZHA.js";import{a as o}from"./HHBX6OJB.js";import{a as i}from"./NSTT2IOP.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./L7V6N63X.js";import"./BYBUA3SD.js";import"./HEU5ADOI.js";import"./RSJCSZWF.js";import"./JGMZYU54.js";import"./SF6257JR.js";import"./NUYU2UBS.js";import"./EJNMBFZU.js";import"./OBISJL4B.js";import"./DZR5OU2Z.js";import"./MCYHMQTR.js";import"./TPK7LVDB.js";import"./TVWOFQVC.js";import"./R4O6DVY6.js";import"./Q5X2S4MD.js";import"./47E56IWZ.js";import"./GVYKKXOF.js";import"./JO3IHRR7.js";import"./NAICN42V.js";import"./GZOFO77D.js";import"./ZUNKV2EF.js";import"./VLURIFFB.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";var u=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:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",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 i(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 a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
4
|
var t="UserSession",o="isMobile",a="Auth";export{t as a,o as b,a as c};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
4
|
function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as v}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as v}from"./WSTFKNIK.js";import"./VLP6DDYE.js";import"./ZXQJLGRP.js";import"./Y2TULO3A.js";import"./MNIQAXS4.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./BYBUA3SD.js";import"./FTU72FJP.js";import"./7L34ACJ2.js";import{b as w}from"./MMSYI6GH.js";import{a as m}from"./YZ4LCVJ7.js";import{D as g,E as i,F as f,I as b,c as p,d as s,g as u,o,q as _}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var F=p`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as _}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as _}from"./K54ZYQZT.js";import"./F3SICAQV.js";import{c as g,g as $,j as F}from"./UFTXRN5O.js";import{e as d}from"./SZGXZADB.js";import{a as E,d as O,f as T}from"./7L34ACJ2.js";import{a as u,b as p}from"./DF5QXKGH.js";import{b as I}from"./MMSYI6GH.js";import{a as k}from"./YZ4LCVJ7.js";import{D as C,E as y,F as V,I as G,c as L,d as c,o as S,q as v}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var N=L`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
4
|
function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import"./MO6ELGZS.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a,b}from"./JO3IHRR7.js";import"./GZOFO77D.js";import"./ZUNKV2EF.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
4
|
var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}export{u as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as S}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as S}from"./TOWUBB5U.js";import{a as d}from"./E7Z2VNGZ.js";import{a as j,d as U,e as x,f as L,g as C,h as N}from"./PVJCHRCH.js";import{c as v,d as _,l as f,m as y}from"./5TVQZ22P.js";import"./Y2TULO3A.js";import{g as M}from"./HK7LGCJZ.js";import"./S3CJI2RF.js";import"./K3UY4EFA.js";import"./SQVXPJDM.js";import"./OBQ5ECDX.js";import"./72MDJVHR.js";import{a as O}from"./MNIQAXS4.js";import"./ROI7GMNK.js";import"./TVNGRZHA.js";import{h as I}from"./L4A3TP42.js";import"./HM3CN2LF.js";import"./L7V6N63X.js";import"./BYBUA3SD.js";import"./MO6ELGZS.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
|