@esri/solutions-components 1.0.6 → 1.1.0-next.20250731.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/cdn/25HFBBO7.js +4 -0
- package/dist/cdn/{3QP57WZY.js → 27LLDIKS.js} +4 -4
- package/dist/cdn/2B7AIYB4.js +81 -0
- package/dist/cdn/{RRMHR2HB.js → 2BYRDSF2.js} +3 -3
- package/dist/cdn/{GHXC6C2C.js → 2FWYC6N2.js} +5 -5
- package/dist/cdn/{IY23MDOC.js → 2GG4TAB5.js} +3 -3
- package/dist/cdn/{PKBDH7MF.js → 2OH6LK6F.js} +3 -3
- package/dist/cdn/2RT2G6PW.js +4 -0
- package/dist/cdn/2TQLIMIY.js +4 -0
- package/dist/cdn/{U4QKTJ5K.js → 2V6EPB7F.js} +3 -3
- package/dist/cdn/{D6XX6KWD.js → 2W6UZ4WR.js} +3 -3
- package/dist/cdn/{5MXFQYLE.js → 2Y5AL2MJ.js} +3 -3
- package/dist/cdn/{3XGPYKD3.js → 33G6WACF.js} +3 -3
- package/dist/cdn/{GZEJGYES.js → 362CTSXJ.js} +3 -3
- package/dist/cdn/3BSM72ZJ.js +8 -0
- package/dist/cdn/3EHVWHQO.js +4 -0
- package/dist/cdn/{I2VKZ5OH.js → 3GSPSBR2.js} +3 -3
- package/dist/cdn/3JZGXNAU.js +4 -0
- package/dist/cdn/{N5K33ZZT.js → 3K7RVP62.js} +3 -3
- package/dist/cdn/{PNHNT6BL.js → 3RYGLJSU.js} +3 -3
- package/dist/cdn/3SLZAJU6.js +18 -0
- package/dist/cdn/{VA7UARYI.js → 3TRGQIG4.js} +2 -2
- package/dist/cdn/{HUCFHRHI.js → 3UTJ6N4B.js} +4 -4
- package/dist/cdn/{YVJDVYGA.js → 3VAVRAZH.js} +2 -2
- package/dist/cdn/{RZUGSVMP.js → 3XZ72BIO.js} +2 -2
- package/dist/cdn/{NNO7ZI7X.js → 3ZSBSCVO.js} +3 -3
- package/dist/cdn/{2WMXCGJ6.js → 4BAJCDHE.js} +3 -3
- package/dist/cdn/{4YK53WB6.js → 4E55H6GI.js} +3 -3
- package/dist/cdn/{QCT6FXMR.js → 4GJTZGZ2.js} +2 -2
- package/dist/cdn/{AB3FQQCW.js → 4R677UHW.js} +4 -4
- package/dist/cdn/{BJ6DOG6H.js → 4W4AXLAS.js} +3 -3
- package/dist/cdn/52S7M4XP.js +4 -0
- package/dist/cdn/54F3QH2P.js +4 -0
- package/dist/cdn/{EJEJMEGK.js → 54I7CNTR.js} +3 -3
- package/dist/cdn/{UKYKTZWK.js → 574AQUKL.js} +3 -3
- package/dist/cdn/5AARPSFW.js +4 -0
- package/dist/cdn/5OXADY3S.js +18 -0
- package/dist/cdn/5RODJX2B.js +18 -0
- package/dist/cdn/{7ME4UIGX.js → 5SE2CNQ4.js} +3 -3
- package/dist/cdn/5U44RL2U.js +4 -0
- package/dist/cdn/{YUWAB65A.js → 5WJUGKEL.js} +3 -3
- package/dist/cdn/62F4Z2RZ.js +4 -0
- package/dist/cdn/{7YYOJP6L.js → 6EUIK65W.js} +3 -3
- package/dist/cdn/{T6ZDTQ2A.js → 6FSSM6C5.js} +3 -3
- package/dist/cdn/{LA3N6LZH.js → 6HJNTC7F.js} +3 -3
- package/dist/cdn/6IORBIOG.js +18 -0
- package/dist/cdn/{NRUKSPT4.js → 6LATBKTY.js} +3 -3
- package/dist/cdn/{KCFSZOBX.js → 6N6HLBBS.js} +2 -2
- package/dist/cdn/{MI37N43V.js → 6NHXE4L3.js} +3 -3
- package/dist/cdn/{FV3U3YJ6.js → 6R4UNPWN.js} +3 -3
- package/dist/cdn/6TJ4G3ER.js +4 -0
- package/dist/cdn/6XPLK57P.js +4 -0
- package/dist/cdn/6ZGLTKMR.js +4 -0
- package/dist/cdn/73DPGPG7.js +4 -0
- package/dist/cdn/{V434XRYU.js → 73ZAL2WT.js} +3 -3
- package/dist/cdn/{5DAI66LT.js → 74MX4QLZ.js} +3 -3
- package/dist/cdn/{F2QHZOXB.js → 755C3VG6.js} +3 -3
- package/dist/cdn/764HIRJY.js +4 -0
- package/dist/cdn/{V73IDRPZ.js → 7C46WXZU.js} +3 -3
- package/dist/cdn/{VPHAMFNI.js → 7CHJP5FF.js} +3 -3
- package/dist/cdn/{WIDXS23Z.js → 7CX327ED.js} +3 -3
- package/dist/cdn/{NJBDDFNX.js → 7I3GA5DX.js} +2 -2
- package/dist/cdn/{P473G3UD.js → 7K7BGZIC.js} +3 -3
- package/dist/cdn/7KQKPG55.js +4 -0
- package/dist/cdn/{2XQB5N5F.js → 7M5NHS3C.js} +3 -3
- package/dist/cdn/A2QNF47K.js +6 -0
- package/dist/cdn/A4PWAQDV.js +9 -0
- package/dist/cdn/A6BKXLWA.js +4 -0
- package/dist/cdn/AB3WBQIH.js +18 -0
- package/dist/cdn/AD6Z7JIO.js +4 -0
- package/dist/cdn/{55NQUWEY.js → AHEDR6FX.js} +2 -2
- package/dist/cdn/AK5RJP4M.js +5 -0
- package/dist/cdn/AP5SMGH7.js +18 -0
- package/dist/cdn/{IHZQS7G5.js → ASISOVTI.js} +3 -3
- package/dist/cdn/{Y6FNQ642.js → ATETIVT6.js} +3 -3
- package/dist/cdn/{WLSDNFCT.js → AUU7DV55.js} +4 -4
- package/dist/cdn/{UUCDGMFW.js → AZHKILPX.js} +3 -3
- package/dist/cdn/{Q2YCPZOX.js → B637YOS5.js} +3 -3
- package/dist/cdn/{X6YLW36Y.js → BAFGE6VY.js} +2 -2
- package/dist/cdn/{NCSI6ZKY.js → BKJGM55L.js} +3 -3
- package/dist/cdn/{YM6G3EU3.js → BKZ5D2KZ.js} +4 -4
- package/dist/cdn/BLBKBQ7W.js +4 -0
- package/dist/cdn/BLRUX5OX.js +4 -0
- package/dist/cdn/BPJXP42W.js +4 -0
- package/dist/cdn/{7I736LZK.js → BTTWYS5X.js} +3 -3
- package/dist/cdn/{PEW7EK74.js → BWW5YD72.js} +3 -3
- package/dist/cdn/{6424ZLL7.js → C6N2WWWX.js} +3 -3
- package/dist/cdn/{ZETWXE6M.js → C7HFRDIM.js} +3 -3
- package/dist/cdn/{HVATWN37.js → CEW2J6RG.js} +2 -2
- package/dist/cdn/CHGEZ3AN.js +4 -0
- package/dist/cdn/CKCMSZM5.js +4 -0
- package/dist/cdn/{GO42R2CK.js → CM6TYWX6.js} +2 -2
- package/dist/cdn/{BYJRAAEE.js → CN7U4Z7M.js} +2 -2
- package/dist/cdn/{BLS4G62F.js → CSHLAZKQ.js} +3 -3
- package/dist/cdn/CXXCLALD.js +18 -0
- package/dist/cdn/{M3ZMKHJ2.js → D2AX67LP.js} +4 -4
- package/dist/cdn/{7DOQHPCH.js → D2WA2RPA.js} +3 -3
- package/dist/cdn/{SVFIF3T3.js → DCHDDLDZ.js} +3 -3
- package/dist/cdn/{FIDPLPEF.js → DDL7KI2T.js} +3 -3
- package/dist/cdn/{MNPZD4I5.js → DI2LL6B3.js} +3 -3
- package/dist/cdn/{4CVEF3SI.js → DIS53LGB.js} +3 -3
- package/dist/cdn/{OTQ4RPLU.js → DSYYVW3F.js} +2 -2
- package/dist/cdn/DU2FEFFV.js +18 -0
- package/dist/cdn/{PXPVE3JE.js → DUWVHI7R.js} +3 -3
- package/dist/cdn/{D2EREVL4.js → EBT6JTTB.js} +3 -3
- package/dist/cdn/{VQ65EGUC.js → EEF2B6ZM.js} +3 -3
- package/dist/cdn/EFS5RERR.js +4 -0
- package/dist/cdn/{26THV7PU.js → ELXOWAX5.js} +3 -3
- package/dist/cdn/{LKBUXCMF.js → EOPDQ5BU.js} +3 -3
- package/dist/cdn/{IEAQX2G7.js → EPCVNPGM.js} +3 -3
- package/dist/cdn/{IPYR6HZK.js → EUNGF6ZH.js} +4 -4
- package/dist/cdn/EV3TUX6S.js +4 -0
- package/dist/cdn/{JTKT3XWL.js → EWGTTR5Q.js} +3 -3
- package/dist/cdn/EWRQ3QNK.js +18 -0
- package/dist/cdn/{YZCZUMV2.js → FCGAI4KW.js} +2 -2
- package/dist/cdn/FEWPXPFQ.js +4 -0
- package/dist/cdn/{3RW2NBPF.js → FFAGAIHU.js} +4 -4
- package/dist/cdn/FHJGYUXO.js +18 -0
- package/dist/cdn/{ZWYST46E.js → FJAL5AQ5.js} +3 -3
- package/dist/cdn/{CHYWNBKA.js → FJSZAX2R.js} +3 -3
- package/dist/cdn/{5M5TLNGP.js → FQKGNPW6.js} +2 -2
- package/dist/cdn/FSTZH7GL.js +4 -0
- package/dist/cdn/{UI236QD6.js → FT34NQOI.js} +3 -3
- package/dist/cdn/FT42MIIU.js +4 -0
- package/dist/cdn/{WPAFQXGE.js → G3R2MU2J.js} +3 -3
- package/dist/cdn/{ESBUX6NR.js → G6EO7CEQ.js} +3 -3
- package/dist/cdn/{QR6JZJTO.js → GOLI4DGF.js} +3 -3
- package/dist/cdn/GQBP35TH.js +29 -0
- package/dist/cdn/GS2XNU7D.js +18 -0
- package/dist/cdn/{62WQV5YC.js → GTECY6TF.js} +3 -3
- package/dist/cdn/{U4WC6C2F.js → GW33ZZHC.js} +3 -3
- package/dist/cdn/H4YML6KX.js +4 -0
- package/dist/cdn/{2IVXEYYO.js → H6OGXITC.js} +3 -3
- package/dist/cdn/{JNUBPQVQ.js → HEIJXDKW.js} +3 -3
- package/dist/cdn/HFH2DZZB.js +4 -0
- package/dist/cdn/{IRV3QYFT.js → HFRYADUF.js} +3 -3
- package/dist/cdn/{LJV6DE44.js → HG4W4QD6.js} +3 -3
- package/dist/cdn/HI22GMCZ.js +4 -0
- package/dist/cdn/{HQIAA5ZR.js → HIWWU7SY.js} +2 -2
- package/dist/cdn/{2TLMYAKF.js → HN3P22JK.js} +3 -3
- package/dist/cdn/{46LGQEFB.js → HO345XLK.js} +3 -3
- package/dist/cdn/{VW6GSY2U.js → HT35VQR3.js} +3 -3
- package/dist/cdn/{2URV24QB.js → HXV3QUQ6.js} +3 -3
- package/dist/cdn/HYHCUL5X.js +4 -0
- package/dist/cdn/{YQ4UFRN4.js → HYLPZDSQ.js} +3 -3
- package/dist/cdn/{WH6W2UP3.js → I3S3DM4U.js} +3 -3
- package/dist/cdn/{2CLEIN6Y.js → IFV6OJ45.js} +4 -4
- package/dist/cdn/IK5O4TGG.js +4 -0
- package/dist/cdn/{HYALTA6M.js → IO2ZL7TB.js} +3 -3
- package/dist/cdn/{4OXHTSNR.js → ITWJGFNZ.js} +2 -2
- package/dist/cdn/IUQFTD5B.js +4 -0
- package/dist/cdn/IXHWGSUT.js +379 -0
- package/dist/cdn/J4IVVJW7.js +4 -0
- package/dist/cdn/J7DQNAJK.js +4 -0
- package/dist/cdn/J7I2CT5V.js +18 -0
- package/dist/cdn/J7RY62J4.js +18 -0
- package/dist/cdn/{XORA7HCU.js → JACIW3XD.js} +3 -3
- package/dist/cdn/JHWEUJN4.js +4 -0
- package/dist/cdn/JKM47VFY.js +18 -0
- package/dist/cdn/{LOL2WTGD.js → JPFVSO3J.js} +3 -3
- package/dist/cdn/JQKKZGRJ.js +4 -0
- package/dist/cdn/JR6RNA7B.js +4 -0
- package/dist/cdn/{ZS2IQNQO.js → JV46YG7Z.js} +3 -3
- package/dist/cdn/{ESYYQOPE.js → JZZAARTL.js} +2 -2
- package/dist/cdn/{DUJNFEQ6.js → KA6MTWQW.js} +3 -3
- package/dist/cdn/{WLSI7POK.js → KBFGX22V.js} +2 -2
- package/dist/cdn/{TGWWWSMN.js → KCRSRMZK.js} +3 -3
- package/dist/cdn/{5AW5NLLI.js → KGMRUPJI.js} +3 -3
- package/dist/cdn/KL2T3UMN.js +4 -0
- package/dist/cdn/{UASHMMAZ.js → KPKJKBOW.js} +3 -3
- package/dist/cdn/{D5OHP7NT.js → KSGE2K2A.js} +3 -3
- package/dist/cdn/{L4MTDEUA.js → KSYOFZFC.js} +4 -4
- package/dist/cdn/{XW6O3WSI.js → KUHZ7NUV.js} +3 -3
- package/dist/cdn/{YRBPGBT5.js → KVLTXBTW.js} +4 -4
- package/dist/cdn/{XLXUXKG6.js → KZONAQ7X.js} +4 -4
- package/dist/cdn/L3KYPR4U.js +4 -0
- package/dist/cdn/LJ2NBNYV.js +18 -0
- package/dist/cdn/LUZ5SS5Q.js +4 -0
- package/dist/cdn/{SEVP5RIV.js → LXSXZ5PZ.js} +3 -3
- package/dist/cdn/M4IHAPFS.js +4 -0
- package/dist/cdn/{XDZ5DDWA.js → M7Y7OEPH.js} +3 -3
- package/dist/cdn/MJ4UYOY5.js +4 -0
- package/dist/cdn/MJD4UYQV.js +4 -0
- package/dist/cdn/{ZDKRS7QS.js → MSVU7KDD.js} +4 -4
- package/dist/cdn/{A3WJQEV7.js → MT3VGENM.js} +2 -2
- package/dist/cdn/{XCEE3SEK.js → MULD755N.js} +3 -3
- package/dist/cdn/{EKVRW3FM.js → MUNB2EIH.js} +3 -3
- package/dist/cdn/MVPUNAPA.js +4 -0
- package/dist/cdn/MWVLFGRN.js +4 -0
- package/dist/cdn/{SXZVPSYN.js → MXZUWU5U.js} +3 -3
- package/dist/cdn/N3JVQRW2.js +4 -0
- package/dist/cdn/{UWXNPHTE.js → N4JFNJAP.js} +2 -2
- package/dist/cdn/{KOI7FBWC.js → NDND3YNI.js} +3 -3
- package/dist/cdn/{G6EIQMVR.js → NFZDLBDU.js} +3 -3
- package/dist/cdn/NH6VXBT4.js +18 -0
- package/dist/cdn/NI2DYTWY.js +294 -0
- package/dist/cdn/{XAAGW7YF.js → NLQMBJV4.js} +3 -3
- package/dist/cdn/NTCE7WYQ.js +25 -0
- package/dist/cdn/{EAA2PB5H.js → NVNE6Q2Z.js} +3 -3
- package/dist/cdn/O2GXK46T.js +4 -0
- package/dist/cdn/{Y4RVCE5F.js → OIMYNYJF.js} +3 -3
- package/dist/cdn/{2T6B7XX3.js → OVDTA5OA.js} +3 -3
- package/dist/cdn/OVNKAN7A.js +4 -0
- package/dist/cdn/{NCYI3FJ4.js → OX6J3PGF.js} +3 -3
- package/dist/cdn/{WE2YJ72U.js → PCKCRHI3.js} +4 -4
- package/dist/cdn/{QMREQGH3.js → PIZGPSRE.js} +3 -3
- package/dist/cdn/PSE37RBN.js +4 -0
- package/dist/cdn/{JKJC7XFT.js → PSJIJOBC.js} +3 -3
- package/dist/cdn/{WPVYE7FE.js → Q6ECGAN5.js} +3 -3
- package/dist/cdn/{K3SH7RK6.js → Q6S2FYB7.js} +3 -3
- package/dist/cdn/{P7J4L36T.js → QB26MH3P.js} +2 -2
- package/dist/cdn/{KOWTHDEB.js → QCFKTDX2.js} +3 -3
- package/dist/cdn/{YSIFIKOE.js → QNOJFN72.js} +3 -3
- package/dist/cdn/{ZZ4UGIDE.js → QQI6TRPA.js} +3 -3
- package/dist/cdn/{GDYIFL6J.js → QU2IDIBF.js} +3 -3
- package/dist/cdn/{7BU5DV4Q.js → QU5SGFUX.js} +3 -3
- package/dist/cdn/QUJM7PBE.js +18 -0
- package/dist/cdn/R3PW6KSS.js +4 -0
- package/dist/cdn/{CPO6UAZQ.js → R4TPG3DO.js} +2 -2
- package/dist/cdn/R57C4DNW.js +4 -0
- package/dist/cdn/{3VN45O3V.js → R7BJ6S6M.js} +4 -4
- package/dist/cdn/{Q6U6FUMJ.js → RJ64W3BT.js} +3 -3
- package/dist/cdn/RNP3G6YO.js +4 -0
- package/dist/cdn/{2NJLBLNN.js → RPXFGP5K.js} +4 -4
- package/dist/cdn/{2ACF42ZR.js → SBP4N5DS.js} +3 -3
- package/dist/cdn/SP5ULXWS.js +4 -0
- package/dist/cdn/{STUHZQEZ.js → SROUOTOF.js} +2 -2
- package/dist/cdn/{22SEAIC6.js → STLINJZP.js} +3 -3
- package/dist/cdn/{AMVC3HZO.js → SVB3DAKW.js} +3 -3
- package/dist/cdn/T2FLCA5K.js +4 -0
- package/dist/cdn/{7MOURTYJ.js → T5BKBEIP.js} +3 -3
- package/dist/cdn/{TWADDFKI.js → T7QDW3RL.js} +4 -4
- package/dist/cdn/{KURSJGVA.js → TCJQUXXU.js} +3 -3
- package/dist/cdn/TCK3645Q.js +4 -0
- package/dist/cdn/{JRU7OOCQ.js → TDRR3ZLM.js} +4 -4
- package/dist/cdn/{547GZYOP.js → TF5CZ555.js} +4 -4
- package/dist/cdn/{GGI3REJL.js → TLC3SOX5.js} +3 -3
- package/dist/cdn/{7CNMLAFT.js → TYWZWTN6.js} +4 -4
- package/dist/cdn/{Q2VYZCZY.js → U4XP4SVP.js} +2 -2
- package/dist/cdn/{JTAN45P3.js → U65T7QXI.js} +3 -3
- package/dist/cdn/U75F55GL.js +4 -0
- package/dist/cdn/UB22ISME.js +4 -0
- package/dist/cdn/{VVGYJHF7.js → UBOZIJ2V.js} +3 -3
- package/dist/cdn/{NP7OH2ZI.js → UCE3PD7K.js} +3 -3
- package/dist/cdn/{EFBCF4LP.js → UDHOI5QJ.js} +3 -3
- package/dist/cdn/UHBAFPIP.js +4 -0
- package/dist/cdn/UI2K7A6K.js +4 -0
- package/dist/cdn/{P27R335T.js → UKVOZIPV.js} +2 -2
- package/dist/cdn/{6AJKPURT.js → UL36K2OL.js} +3 -3
- package/dist/cdn/{TY5HNZTA.js → ULCHU2DL.js} +3 -3
- package/dist/cdn/UML27CLC.js +4 -0
- package/dist/cdn/{AVVTO725.js → UN5OBM45.js} +3 -3
- package/dist/cdn/UNOUCRCA.js +18 -0
- package/dist/cdn/URE77NMF.js +4 -0
- package/dist/cdn/{THIMASMK.js → USBBZZHO.js} +3 -3
- package/dist/cdn/V7HQLFUM.js +4 -0
- package/dist/cdn/{X6L4PHXI.js → VH5CQ62Q.js} +3 -3
- package/dist/cdn/VHDZYP7A.js +4 -0
- package/dist/cdn/{CMN7YBVU.js → VMXZ6AXW.js} +3 -3
- package/dist/cdn/{M3F2PRVV.js → W2OEFMSP.js} +3 -3
- package/dist/cdn/{YBIF6TAJ.js → WCDHN44D.js} +3 -3
- package/dist/cdn/{P3YZSASH.js → WDPCEJWO.js} +3 -3
- package/dist/cdn/{3MOEHDA6.js → WFP3ARED.js} +4 -4
- package/dist/cdn/WGEDEGSC.js +4 -0
- package/dist/cdn/{JAO6QZJO.js → WMDLX4TU.js} +3 -3
- package/dist/cdn/{O6X34RFQ.js → WMIGNCA3.js} +3 -3
- package/dist/cdn/{XOCETJCR.js → WX3BUGVY.js} +3 -3
- package/dist/cdn/{MSGDDP7Y.js → WZ6HR352.js} +4 -4
- package/dist/cdn/{IBB2E74R.js → X77DVIHT.js} +3 -3
- package/dist/cdn/{WQF5CITX.js → X7INRGL2.js} +3 -3
- package/dist/cdn/{SM2GUROD.js → XAMZTC4V.js} +2 -2
- package/dist/cdn/XLW62QJP.js +4 -0
- package/dist/cdn/{2C7UE46M.js → XQIIB6WI.js} +2 -2
- package/dist/cdn/{YIO2CSY3.js → XVNMBFFV.js} +3 -3
- package/dist/cdn/XVOTZ36C.js +4 -0
- package/dist/cdn/XWZVSPN5.js +4 -0
- package/dist/cdn/{B7B7CVVL.js → XYM4QNUF.js} +3 -3
- package/dist/cdn/{QP35PXG2.js → Y4HMQERM.js} +4 -4
- package/dist/cdn/YDS7WOGV.js +4 -0
- package/dist/cdn/YFJPBXHX.js +4 -0
- package/dist/cdn/{LP4BQM2H.js → YJ3MW2JY.js} +3 -3
- package/dist/cdn/{KV5PYIUB.js → YKDWIWVB.js} +3 -3
- package/dist/cdn/YLTGZWFU.js +4 -0
- package/dist/cdn/{R5YJMFXC.js → YSKSWYAQ.js} +3 -3
- package/dist/cdn/ZC3XJXKM.js +18 -0
- package/dist/cdn/ZCFSRPYL.js +4 -0
- package/dist/cdn/{I657I5LG.js → ZF3NTVCO.js} +3 -3
- package/dist/cdn/{SXP3TCP2.js → ZG4LGFKY.js} +3 -3
- package/dist/cdn/{T5JHR5GE.js → ZI7THJT2.js} +3 -3
- package/dist/cdn/{7H3KZPHJ.js → ZIY4QFR5.js} +3 -3
- package/dist/cdn/{ECMZSRUN.js → ZL4KQF74.js} +3 -3
- package/dist/cdn/ZLULHNQF.js +4 -0
- package/dist/cdn/ZP7KUAQK.js +3 -0
- package/dist/cdn/{5S66UFIB.js → ZRE4MLAV.js} +4 -4
- package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-article-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-social-share/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-social-share/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-articles/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-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/index.js +3 -3
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +2 -2
- package/dist/chunks/appConfig.js +2 -2
- package/dist/chunks/cardFetchingUtils.js +2 -2
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/deployAppContexts.js +2 -2
- package/dist/chunks/downloadUtils.js +2 -2
- package/dist/chunks/helpers.js +46 -33
- package/dist/chunks/index.js +325 -413
- package/dist/chunks/interfaces.js +2 -2
- package/dist/chunks/loadModules.js +2 -2
- package/dist/chunks/mapViewUtils.js +2 -2
- package/dist/chunks/pciUtils.js +2 -2
- package/dist/chunks/popupUtils.js +2 -2
- package/dist/chunks/prepareDataForSolutionDisplay.js +2 -2
- package/dist/chunks/privilegeUtils.js +2 -2
- package/dist/chunks/publicNotificationStore.js +2 -2
- package/dist/chunks/queryUtils.js +2 -2
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/solution-store.js +2 -2
- package/dist/chunks/templates.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +9 -10
- package/dist/components/basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/basemap-gallery/customElement.js +9 -10
- package/dist/components/buffer-tools/customElement.d.ts +1 -1
- package/dist/components/buffer-tools/customElement.js +9 -10
- package/dist/components/card-manager/customElement.d.ts +1 -1
- package/dist/components/card-manager/customElement.js +15 -16
- package/dist/components/consent-manager/customElement.d.ts +1 -1
- package/dist/components/consent-manager/customElement.js +1780 -1724
- package/dist/components/create-feature/customElement.d.ts +1 -1
- package/dist/components/create-feature/customElement.js +7 -8
- package/dist/components/create-related-feature/customElement.d.ts +1 -1
- package/dist/components/create-related-feature/customElement.js +8 -9
- package/dist/components/crowdsource-manager/customElement.d.ts +4 -2
- package/dist/components/crowdsource-manager/customElement.js +10 -11
- package/dist/components/crowdsource-manager/index.d.ts +1 -1
- package/dist/components/crowdsource-manager/index.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.d.ts +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +8 -9
- package/dist/components/crowdsource-reporter/index.d.ts +2 -2
- package/dist/components/crowdsource-reporter/index.js +2 -2
- package/dist/components/deduct-calculator/customElement.d.ts +1 -1
- package/dist/components/deduct-calculator/customElement.js +9 -10
- package/dist/components/delete-button/customElement.d.ts +1 -1
- package/dist/components/delete-button/customElement.js +7 -8
- package/dist/components/delete-dialog/customElement.d.ts +1 -1
- package/dist/components/delete-dialog/customElement.js +9 -10
- package/dist/components/edit-card/customElement.d.ts +1 -1
- package/dist/components/edit-card/customElement.js +10 -11
- package/dist/components/feature-details/customElement.d.ts +1 -1
- package/dist/components/feature-details/customElement.js +8 -9
- package/dist/components/feature-list/customElement.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +9 -10
- package/dist/components/field-selection/customElement.d.ts +1 -1
- package/dist/components/field-selection/customElement.js +10 -11
- package/dist/components/floor-filter/customElement.d.ts +1 -1
- package/dist/components/floor-filter/customElement.js +9 -10
- package/dist/components/info-card/customElement.d.ts +1 -1
- package/dist/components/info-card/customElement.js +8 -9
- package/dist/components/json-editor/customElement.d.ts +1 -1
- package/dist/components/json-editor/customElement.js +10 -11
- package/dist/components/layer-list/customElement.d.ts +1 -1
- package/dist/components/layer-list/customElement.js +7 -8
- package/dist/components/layer-table/customElement.d.ts +4 -2
- package/dist/components/layer-table/customElement.js +7 -8
- package/dist/components/layer-table/index.d.ts +1 -1
- package/dist/components/layer-table/index.js +1 -1
- package/dist/components/map-card/customElement.d.ts +1 -1
- package/dist/components/map-card/customElement.js +7 -8
- package/dist/components/map-card/index.d.ts +1 -1
- package/dist/components/map-card/index.js +1 -1
- package/dist/components/map-draw-tools/customElement.d.ts +1 -1
- package/dist/components/map-draw-tools/customElement.js +10 -11
- package/dist/components/map-fullscreen/customElement.d.ts +1 -1
- package/dist/components/map-fullscreen/customElement.js +12 -13
- package/dist/components/map-layer-picker/customElement.d.ts +1 -1
- package/dist/components/map-layer-picker/customElement.js +11 -12
- package/dist/components/map-legend/customElement.d.ts +1 -1
- package/dist/components/map-legend/customElement.js +9 -10
- package/dist/components/map-picker/customElement.d.ts +1 -1
- package/dist/components/map-picker/customElement.js +7 -8
- package/dist/components/map-search/customElement.d.ts +1 -1
- package/dist/components/map-search/customElement.js +11 -12
- package/dist/components/map-select-tools/customElement.d.ts +1 -1
- package/dist/components/map-select-tools/customElement.js +9 -10
- package/dist/components/map-tools/customElement.d.ts +1 -1
- package/dist/components/map-tools/customElement.js +6 -7
- package/dist/components/pci-calculator/customElement.d.ts +1 -1
- package/dist/components/pci-calculator/customElement.js +11 -12
- package/dist/components/pdf-download/customElement.d.ts +1 -1
- package/dist/components/pdf-download/customElement.js +24 -25
- package/dist/components/public-notification/customElement.d.ts +1 -1
- package/dist/components/public-notification/customElement.js +20 -21
- package/dist/components/refine-selection/customElement.d.ts +1 -1
- package/dist/components/refine-selection/customElement.js +17 -18
- package/dist/components/selection-tool/customElement.d.ts +1 -1
- package/dist/components/selection-tool/customElement.js +3 -3
- package/dist/components/solution-article-card/customElement.d.ts +33 -1
- package/dist/components/solution-article-card/customElement.js +24 -19
- package/dist/components/solution-article-card/index.d.ts +1 -0
- package/dist/components/solution-article-card/index.js +1 -0
- package/dist/components/solution-configuration/customElement.d.ts +1 -1
- package/dist/components/solution-configuration/customElement.js +11 -12
- package/dist/components/solution-configure-dialog/customElement.d.ts +6 -7
- package/dist/components/solution-configure-dialog/customElement.js +121 -46
- package/dist/components/solution-configure-dialog/index.d.ts +1 -0
- package/dist/components/solution-configure-dialog/index.js +1 -0
- package/dist/components/solution-configure-titles/customElement.d.ts +3 -1
- package/dist/components/solution-configure-titles/customElement.js +39 -23
- package/dist/components/solution-contents/customElement.d.ts +1 -1
- package/dist/components/solution-contents/customElement.js +8 -9
- package/dist/components/solution-delete-dialog/customElement.d.ts +9 -11
- package/dist/components/solution-delete-dialog/customElement.js +55 -59
- package/dist/components/solution-deploy-dialog/customElement.d.ts +2 -10
- package/dist/components/solution-deploy-dialog/customElement.js +132 -83
- package/dist/components/solution-deployed-card/customElement.d.ts +1 -9
- package/dist/components/solution-deployed-card/customElement.js +29 -29
- package/dist/components/solution-deploying-dialog/customElement.d.ts +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +11 -12
- package/dist/components/solution-details-card/customElement.d.ts +1 -1
- package/dist/components/solution-details-card/customElement.js +9 -10
- package/dist/components/solution-details-panel/customElement.d.ts +1 -7
- package/dist/components/solution-details-panel/customElement.js +97 -91
- package/dist/components/solution-details-panel/index.d.ts +1 -0
- package/dist/components/solution-details-panel/index.js +1 -0
- package/dist/components/solution-item/customElement.d.ts +1 -1
- package/dist/components/solution-item/customElement.js +7 -8
- package/dist/components/solution-item-accordion/customElement.d.ts +1 -1
- package/dist/components/solution-item-accordion/customElement.js +8 -9
- package/dist/components/solution-item-details/customElement.d.ts +1 -1
- package/dist/components/solution-item-details/customElement.js +10 -11
- package/dist/components/solution-item-diagram/customElement.d.ts +1 -1
- package/dist/components/solution-item-diagram/customElement.js +9 -10
- package/dist/components/solution-item-icon/customElement.d.ts +1 -1
- package/dist/components/solution-item-icon/customElement.js +8 -9
- package/dist/components/solution-item-sharing/customElement.d.ts +1 -1
- package/dist/components/solution-item-sharing/customElement.js +14 -15
- package/dist/components/solution-organization-variables/customElement.d.ts +1 -1
- package/dist/components/solution-organization-variables/customElement.js +7 -8
- package/dist/components/solution-resource-item/customElement.d.ts +1 -1
- package/dist/components/solution-resource-item/customElement.js +15 -16
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +1 -6
- package/dist/components/solution-snapshot-gallery/customElement.js +15 -15
- package/dist/components/solution-social-share/customElement.d.ts +117 -0
- package/dist/components/solution-social-share/customElement.js +178 -0
- package/dist/components/solution-social-share/index.d.ts +5 -0
- package/dist/components/solution-social-share/index.js +5 -0
- package/dist/components/solution-spatial-ref/customElement.d.ts +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +19 -20
- package/dist/components/solution-template-data/customElement.d.ts +1 -1
- package/dist/components/solution-template-data/customElement.js +8 -9
- package/dist/components/solution-variables/customElement.d.ts +1 -1
- package/dist/components/solution-variables/customElement.js +8 -9
- package/dist/components/solutions-all-panel/customElement.d.ts +1 -9
- package/dist/components/solutions-all-panel/customElement.js +18 -18
- package/dist/components/solutions-all-shell/customElement.d.ts +3 -1
- package/dist/components/solutions-all-shell/customElement.js +19 -16
- package/dist/components/solutions-article-panel/customElement.d.ts +13 -1
- package/dist/components/solutions-article-panel/customElement.js +18 -19
- package/dist/components/solutions-articles/customElement.d.ts +3 -1
- package/dist/components/solutions-articles/customElement.js +54 -16
- package/dist/components/solutions-articles/index.d.ts +10 -0
- package/dist/components/solutions-articles/index.js +10 -0
- package/dist/components/solutions-articles-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +10 -11
- package/dist/components/solutions-articles-shell/index.d.ts +3 -0
- package/dist/components/solutions-articles-shell/index.js +3 -0
- package/dist/components/solutions-deployed-panel/customElement.d.ts +3 -11
- package/dist/components/solutions-deployed-panel/customElement.js +44 -40
- package/dist/components/solutions-deployed-panel/index.d.ts +1 -0
- package/dist/components/solutions-deployed-panel/index.js +1 -0
- package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +16 -16
- package/dist/components/solutions-filter-panel/customElement.d.ts +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +13 -12
- package/dist/components/spatial-ref/customElement.d.ts +1 -1
- package/dist/components/spatial-ref/customElement.js +8 -9
- package/dist/components/store-manager/customElement.d.ts +1 -1
- package/dist/components/store-manager/customElement.js +2 -2
- package/dist/docs/api.json +1351 -474
- package/dist/docs/docs.json +990 -484
- package/dist/docs/vscode.css-custom-data.json +30 -1
- package/dist/docs/vscode.html-custom-data.json +313 -16
- package/dist/docs/web-types.json +528 -104
- package/dist/index.d.ts +24 -2
- package/dist/index.js +2 -2
- package/dist/loader.js +14 -13
- package/dist/types/lumina.d.ts +18 -9
- package/dist/types/preact.d.ts +19 -9
- package/dist/types/react.d.ts +20 -9
- package/dist/types/stencil.d.ts +18 -9
- package/dist/utils/helpers.d.ts +20 -1
- package/dist/utils/interfaces.d.ts +27 -23
- package/package.json +34 -29
- package/dist/cdn/2A54WJLL.js +0 -4
- package/dist/cdn/2CO6LGS3.js +0 -4
- package/dist/cdn/2ESDNOLP.js +0 -25
- package/dist/cdn/3SJSHFDQ.js +0 -4
- package/dist/cdn/47HUGK47.js +0 -4
- package/dist/cdn/4ASSBQRJ.js +0 -8
- package/dist/cdn/4JAS7M3U.js +0 -82
- package/dist/cdn/4SEEFYPD.js +0 -4
- package/dist/cdn/5BK4CWOX.js +0 -4
- package/dist/cdn/5YO5OS74.js +0 -4
- package/dist/cdn/65HTNVVT.js +0 -4
- package/dist/cdn/6CG6AANG.js +0 -18
- package/dist/cdn/6IIAYEYM.js +0 -18
- package/dist/cdn/A57HOD63.js +0 -18
- package/dist/cdn/ALV3VZWM.js +0 -18
- package/dist/cdn/B6GTZILX.js +0 -383
- package/dist/cdn/BIFHOJDA.js +0 -4
- package/dist/cdn/BIVE3ZGY.js +0 -4
- package/dist/cdn/BNYADJK7.js +0 -18
- package/dist/cdn/BVZ2O4L5.js +0 -4
- package/dist/cdn/CNAEZ5PG.js +0 -3
- package/dist/cdn/DAJFINWG.js +0 -4
- package/dist/cdn/EXGOSSST.js +0 -18
- package/dist/cdn/EXPAYLFV.js +0 -18
- package/dist/cdn/EZ4U6AGL.js +0 -4
- package/dist/cdn/F243JFYJ.js +0 -4
- package/dist/cdn/FH3SI764.js +0 -294
- package/dist/cdn/FHIBMCQA.js +0 -4
- package/dist/cdn/HGXPDXCR.js +0 -18
- package/dist/cdn/HJIGIFOQ.js +0 -4
- package/dist/cdn/I65O4DPY.js +0 -18
- package/dist/cdn/IWNKMVAS.js +0 -4
- package/dist/cdn/J64IOAQO.js +0 -9
- package/dist/cdn/J6ENWA7R.js +0 -4
- package/dist/cdn/JFYTC7KL.js +0 -4
- package/dist/cdn/JKX35XOC.js +0 -4
- package/dist/cdn/KDP6FDXS.js +0 -4
- package/dist/cdn/L3LGCXHS.js +0 -4
- package/dist/cdn/LBZLGIWD.js +0 -18
- package/dist/cdn/LGOLEOFG.js +0 -4
- package/dist/cdn/LHXHL3RB.js +0 -4
- package/dist/cdn/LJSLZOAW.js +0 -4
- package/dist/cdn/LOVLAODG.js +0 -4
- package/dist/cdn/LVAZCCYX.js +0 -4
- package/dist/cdn/MXCKPU23.js +0 -4
- package/dist/cdn/N65S4NHY.js +0 -4
- package/dist/cdn/N7ACGWAI.js +0 -4
- package/dist/cdn/NGDTJRWQ.js +0 -4
- package/dist/cdn/NSCQHAM7.js +0 -4
- package/dist/cdn/NZ42ZTHT.js +0 -4
- package/dist/cdn/O5OQYVQ3.js +0 -18
- package/dist/cdn/OMFYWQSY.js +0 -4
- package/dist/cdn/OTBZT6CE.js +0 -4
- package/dist/cdn/OUA6OKHZ.js +0 -4
- package/dist/cdn/PAPULN5H.js +0 -4
- package/dist/cdn/PVPNQBWZ.js +0 -4
- package/dist/cdn/Q6HRIABM.js +0 -18
- package/dist/cdn/QD76ALH3.js +0 -18
- package/dist/cdn/QRBQ5KHF.js +0 -4
- package/dist/cdn/QSOTGUOZ.js +0 -4
- package/dist/cdn/QZIAEDXM.js +0 -4
- package/dist/cdn/RGTPM7HZ.js +0 -18
- package/dist/cdn/ROJGI2W3.js +0 -4
- package/dist/cdn/RV65ILJG.js +0 -4
- package/dist/cdn/S7NFYQWB.js +0 -3
- package/dist/cdn/SIUHVSRB.js +0 -18
- package/dist/cdn/SZDHEJ35.js +0 -4
- package/dist/cdn/T3WZ5RIH.js +0 -4
- package/dist/cdn/TTOMCAES.js +0 -4
- package/dist/cdn/UDLYWYW6.js +0 -4
- package/dist/cdn/UESCD5AB.js +0 -4
- package/dist/cdn/UMSXHNKH.js +0 -4
- package/dist/cdn/UR4O5D7C.js +0 -4
- package/dist/cdn/UV2M2RAL.js +0 -4
- package/dist/cdn/VBSXEYLV.js +0 -4
- package/dist/cdn/VHDIRVUR.js +0 -4
- package/dist/cdn/VOHSJZCI.js +0 -4
- package/dist/cdn/VP2MDCXM.js +0 -4
- package/dist/cdn/WAPUSBNS.js +0 -4
- package/dist/cdn/WSCCQ5U4.js +0 -5
- package/dist/cdn/WV5BUD4Z.js +0 -4
- package/dist/cdn/X7KYTABF.js +0 -4
- package/dist/cdn/XGGAVQTC.js +0 -4
- package/dist/cdn/XNPZJ7V4.js +0 -18
- package/dist/cdn/XR3GB5SE.js +0 -6
- package/dist/cdn/XXU7NGZI.js +0 -18
- package/dist/cdn/Y4CRJWJF.js +0 -29
- package/dist/cdn/Y5TEYKUG.js +0 -4
- package/dist/cdn/YQE7AUFT.js +0 -4
- package/dist/cdn/YWZCXS4Z.js +0 -18
- package/dist/cdn/Z5RJQBZY.js +0 -4
- package/dist/cdn/ZTVPU2LX.js +0 -4
- package/dist/cdn/ZWW6ZGXP.js +0 -8
package/dist/cdn/QD76ALH3.js
DELETED
@@ -1,18 +0,0 @@
|
|
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.6 */
|
4
|
-
import"./CNAEZ5PG.js";import a from"./R5YJMFXC.js";import{a as v,b as o,c as w,d as C,e as c}from"./UMSXHNKH.js";import{a as g,b as m,c as _}from"./UV2M2RAL.js";import"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import{a as f,b}from"./DAJFINWG.js";import{a as y}from"./UESCD5AB.js";import{A as s,B as n,D as u,c as p,d as i,n as r,w as l,y as h}from"./XR3GB5SE.js";import"./TTOMCAES.js";export default $arcgis.t(([x])=>{var $=p`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:.5rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}`,d=class extends h{constructor(){super(),this.solutionsCount=0,this.sortType="created",this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=y({name:"solutions-deployed-shell",blocking:!0}),this._solutionsDeployedPanelRef=f(),this._authContextProvider=l({context:_}),this._isMobileContextProvider=l({context:m}),this._userSessionContextProvider=l({context:g}),this.filterRemoved=r(),this.tokenRefreshed=r(),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={solutionsCount:9,sortType:1,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=$}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){let e=new x(v,o,c);await e.init(),e.SignedIn||e.signIn(),this._authContextProvider.setValue(e),e.RestUserSession&&this._userSessionContextProvider.setValue(e.RestUserSession)}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab" icon-start=${e??n} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="border-override header-override background-override"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this.filterOpen&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_getFilterPanel(){let e=this.filterOpen?{display:"block"}:"";return this.isMobile?i`<calcite-panel class="filter background-override" id=solutions-all-shell-panel-start style=${s(e)}><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${s(e)} position=start><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-deployed-panel .agoSolutionsGroupId=${w} .enterpriseSolutionsGroupId=${C} .locale=${c} .orgUrl=${o} @deployedCardsFetched=${this._updateSolutionCount} .portalUrl=${o} .sortType=${this.sortType} style=${s(e)} ${b(this._solutionsDeployedPanelRef)}></solutions-deployed-panel>`}_renderChips(){return this.filters.length>0?this.filters.map(e=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${e.displayValue} @calciteChipClose=${()=>this._chipClosed(e.displayValue)} .value=${e.displayValue}>${e.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByDateDeployed,sortType:"created"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??n}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"created":t=this._translations.sortByDateDeployed;break;case"relevance":t=this._translations.sortByRelevance;break;case"title":t=this._translations.sortByTitle;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this._solutionsDeployedPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e){let t=this.filters.filter(a=>a.displayValue===e);this.filters=this.filters.filter(a=>a.displayValue!==e),this._solutionsDeployedPanelRef.value?.searchSolutions(),t.length>0&&this.filterRemoved.emit(t[0])}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&"type"in e.detail&&e.detail.type==="industry"&&(this.filters=this.filters.filter(t=>t.type!=="industry"),this.filters.push(e.detail)),this._solutionsDeployedPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._solutionsDeployedPanelRef.value?.searchSolutions())}};u("solutions-deployed-shell",d);return d},a)
|
package/dist/cdn/QRBQ5KHF.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
function H(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function C(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function N(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function L(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>L(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function T(r){let e=N(r);return Object.keys(e).map(t=>L(t,e[t])).join("&")}var K=globalThis.FormData,me=globalThis.File,ge=globalThis.Blob;function W(r,e){let t=C(r)||e,n=N(r);if(t){let o=new K;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return T(r)}var b=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};function V(r){console&&console.warn&&console.warn.apply(console,[r])}function Q(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function ie(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends b{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return X(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ae(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new b(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new R(s,u,r,e,n):new b(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new b(s,i,r,e,n)}return r}function X(r,e){let t=ie(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let g;if(typeof n.authentication=="string"){let c=n.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(V("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=n.authentication;let d=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(u.credentials=g.getDomainCredentials(r));let h={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let p=T(i)===""?r:r+"?"+T(i);n.maxUrlLength&&p.length>n.maxUrlLength||!n.maxUrlLength&&p.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete h["X-Esri-Authorization"])):r=p}let E=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=W(i,E)),u.headers=Object.assign(Object.assign({},h),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=q),!C(i)&&!E&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):Q().then(({fetch:l})=>l(r,u))}).then(c=>{if(!c.ok)return c.json().then(h=>{let{status:E,statusText:l}=c,{message:p,details:O}=h.error,w=`${p}. ${O?O.join(" "):""}`.trim();throw new b(w,`HTTP ${E} ${l}`,h,r,n)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:E,statusText:l}=c;throw new b(l,`HTTP ${E}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let h=ae(c,d,i,n,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return h}else return c})}function f(r,e={params:{f:"json"}}){let{request:t}=e,n=H(e,["request"]);return t?t(r,n):X(r,n).catch(o=>o instanceof R&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function ce(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function Y(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=ce(t);return e[n]=o,e},{})}var B=5*60*1e3;function v(r,e){let t=e;return t.rawResponse=!1,f(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-B),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-B)),o})}function m(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var F=/^https?:\/\/(\S+)\.arcgis\.com.+/;function Z(r){return F.test(r)}function ue(r){if(!F.test(r))return r;switch(G(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function G(r){if(!F.test(r))return null;let t=r.match(F)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ee(r,e){let t=m(ue(e)).replace(/https?:\/\//,""),n=m(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function te(r,e){let t=Z(r),n=Z(e),o=G(r),s=G(e);return!!(t&&n&&o===s)}function re(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return f(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function Ge(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var D=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var ne;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(ne||(ne={}));var A=class{constructor(e){this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=f(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var z;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(z||(z={}));function oe(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return f(e,o).then(s=>{if(!s.success)throw new b("Unable to revoke token",500,s,e,o);return s})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function se(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>M(new Uint8Array(o),e))}return Promise.resolve(null)}function J(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return M(e)}function le(r){return typeof r.userId=="string"||typeof r.expires=="number"}var k=class r extends A{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:g,locale:d,params:c,style:h,pkce:E,state:l}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),p=l||J(t),O=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(O,p);let w=`${m(n)}/oauth2/authorize`,I={client_id:s,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:p,originalUrl:t.location.href}),locale:d,style:h};o!=="arcgis"&&(w=`${m(n)}/oauth2/social/authorize`,I.socialLoginProviderName=o,I.autoAccountCreateForSocial=!0);let $;if(E){let P=J(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,P),$=se(P,t).then(function(_){I.code_challenge_method=_?"S256":"plain",I.code_challenge=_||P})}else $=Promise.resolve();return $.then(()=>{if(w=`${w}?${T(I)}`,c&&(w=`${w}&${T(c)}`),u)return new Promise((P,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new D;return U(j),j}if(_.detail.errorMessage){let j=new R(_.detail.errorMessage,_.detail.error);return U(j),j}P(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(w,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=w})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(u),d=Y(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=d&&d.state?JSON.parse(d.state):void 0;function h(l,p,O){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:p,errorMessage:l}})),t.close();return}return O&&t.history.replaceState(t.history.state,"",O),p==="access_denied"?Promise.reject(new D):Promise.reject(new R(l,p))}function E(l,p){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},l)})),t.close();return}return t.history.replaceState(t.history.state,"",p),new r({clientId:o,portal:n,ssl:l.ssl,token:l.token,tokenExpires:l.expires,username:l.username,refreshToken:l.refreshToken,refreshTokenExpires:l.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return h("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return h("Saved client state did not match server sent state.","mismatched-auth-state");if(d.error){let l=d.error,p=d.error_description||"Unknown error";return h(p,l,c.originalUrl)}if(i&&d.code){let l=m(`${n}/oauth2/token/`),p=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,O=t.localStorage.getItem(p);return t.localStorage.removeItem(p),v(l,{httpMethod:"POST",params:{client_id:o,code_verifier:O,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:d.code}}).then(w=>E(Object.assign(Object.assign({},w),c),c.originalUrl)).catch(w=>h(w.originalMessage,w.code,c.originalUrl))}return!i&&d.access_token?Promise.resolve(E(Object.assign({token:d.access_token,expires:new Date(Date.now()+parseInt(d.expires_in,10)*1e3),ssl:d.ssl==="true",username:d.username},c),c.originalUrl)):h("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let g=`${n}/oauth2/authorize?${T(u)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return v(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:m(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return le(t)?r.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new r(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return oe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=f(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return te(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>re(t,e))}toJSON(){return{type:"ArcGISIdentityManager",clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:a}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>f(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ee(s.owningSystemUrl,this.portal))return f(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,x.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,t){return f(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:q};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>f(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):f(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return v(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return v(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function S(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new k(r)}S.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),k.beginOAuth2(...r)};S.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),k.completeOAuth2(...r)};S.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),k.fromParent(...r)};S.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),k.authorize(...r)};S.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),k.exchangeAuthorizationCode(...r)};S.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),k.fromCredential(...r)};S.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),k.deserialize(...r)};export{W as a,V as b,R as c,f as d,Ge as e,m as f,k as g};
|
package/dist/cdn/QSOTGUOZ.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a}from"./NCSI6ZKY.js";import"./GO42R2CK.js";import"./B7B7CVVL.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import"./TTOMCAES.js";export{a as buildUiSchema};
|
package/dist/cdn/QZIAEDXM.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
var s="calcite-mode-light",t="calcite-mode-dark";function o(r){let e=r?.closest(`.${t}, .${s}`);return e==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e?.classList.contains(t)?"dark":"light"}export{o as a};
|
package/dist/cdn/RGTPM7HZ.js
DELETED
@@ -1,18 +0,0 @@
|
|
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.6 */
|
4
|
-
import{b as m,c as h}from"./4JAS7M3U.js";import"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import"./ESYYQOPE.js";import"./HQIAA5ZR.js";import{a as b,b as g}from"./DAJFINWG.js";import{b as d}from"./CPO6UAZQ.js";import{a as c}from"./UESCD5AB.js";import{D as p,c as n,d as r,y as o}from"./XR3GB5SE.js";import"./TTOMCAES.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block}`,s=class extends o{constructor(){super(...arguments),this.disabled=!1,this._translations=c({name:"pdf-download",blocking:!0}),this._labelInfoElement=b()}static{this.properties={defaultNumLabelsPerPage:9,disabled:5,_translations:16}}static{this.styles=D}async downloadCSV(e,a,i,l=!0){return m(e,a,!0,i,l)}async downloadPDF(e,a,i=!1,l="",t=""){let P=this._labelInfoElement.value?this._labelInfoElement.value.selectedOption?.value:"";return h(e,a,P,i,l,t)}async load(){await this._initModules()}render(){return r`<calcite-select .disabled=${this.disabled} label ${g(this._labelInfoElement)}>${this._renderOptions()}</calcite-select>`}async _initModules(){let[e]=await d(["esri/intl"]);this._intl=e}_getLabelSizeText(e){let a=e.descriptionPDF.labelsPerPageDisplay,i=e.descriptionPDF.labelWidthDisplay+" x "+e.descriptionPDF.labelHeightDisplay;return this._translations.pdfLabel?this._translations.pdfLabel.replace("{{n}}",a).replace("{{labelSize}}",i):""}_renderOptions(){let e=y;return(e.default||e).sort((a,i)=>{let l=Number.parseInt(a.descriptionPDF.labelsPerPageDisplay,10),t=Number.parseInt(i.descriptionPDF.labelsPerPageDisplay,10);return l<t?-1:l>t?1:0}).map((a,i)=>{let l=!1;return(this.defaultNumLabelsPerPage?Number.parseInt(a.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:i===0)&&(l=!0),r`<calcite-option .selected=${l} .value=${a}>${this._getLabelSizeText(a)}</calcite-option>`})}};p("pdf-download",s);export{s as PdfDownload};
|
package/dist/cdn/ROJGI2W3.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
var p="::",r="|";function R(t){return t.indexOf(r)>-1&&(t=t.replace(r,p)),t}function x(t){return t[0]==="{"&&(t=t.substring(1,t.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(t)}var c="~",i=256,n="slug";function S(t,e="",u=0){let o=[n];return e&&o.push(e.toLowerCase()),o.push(t),o.join("|").substring(0,i-u).replace(/-+$/,"").replace(new RegExp(`^${n}\\|`),"")}function _(t){let e=`${n}|${t}|`;return i-e.length}var a=(t,e)=>`${t.split(r).pop()}${c}${e}`;export{x as a,R as b,n as c,S as d,_ as e,a as f};
|
package/dist/cdn/RV65ILJG.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a as D,b as w}from"./KDP6FDXS.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./ZWW6ZGXP.js";import"./VBSXEYLV.js";import{a as _,b as L}from"./65HTNVVT.js";import{C as S,D as y}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./5BK4CWOX.js";import"./TTOMCAES.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
|
package/dist/cdn/S7NFYQWB.js
DELETED
package/dist/cdn/SIUHVSRB.js
DELETED
@@ -1,18 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a as n}from"./UESCD5AB.js";import{D as r,c as i,d as s,y as t}from"./XR3GB5SE.js";import"./TTOMCAES.js";var o=i`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/`,e=class extends t{constructor(){super(...arguments),this._translations=n({name:"solutions-articles",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=o}render(){return s`<div></div>`}};r("solutions-articles",e);export{e as SolutionsArticles};
|
package/dist/cdn/SZDHEJ35.js
DELETED
package/dist/cdn/T3WZ5RIH.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a,b}from"./YIO2CSY3.js";import"./STUHZQEZ.js";import"./SXZVPSYN.js";import"./X6YLW36Y.js";import"./HVATWN37.js";import"./TTOMCAES.js";export{a as EventEditorTypes,b as buildSchema};
|
package/dist/cdn/TTOMCAES.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')}),n=a=>b=>{var c=a[b];if(c)return c();throw new Error("Module not found in bundle: "+b)};var o=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),p=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var q=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d,q as e};
|
package/dist/cdn/UDLYWYW6.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a,b}from"./V73IDRPZ.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
|
package/dist/cdn/UESCD5AB.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{E as w,a as y,b as E,g as b,h as C,i as m,j as u,k as P,l as f,m as v,o as O}from"./XR3GB5SE.js";var L=e=>(...a)=>{let t=u(),o=new e(...a),s=o.exports;m(t.at(-1));let r=o.component.manager;r.W(o,s),o.watchExports(r.W.bind(r,o)),P(o);let i=[o.component,...t].reverse();return v(i,n=>n===void 0?void 0:V(o,n,s),s)},V=(e,{host:a,key:t,isReactive:o},s)=>{let r=a,i=r[t]!==e.exports,n=r[t]!==s,c=s!==e.exports;if(i&&!n&&c&&(r[t]=e.exports),a===e.component){if(o){let p=e.component.manager;n&&p.W(e,r[t]),e.onUpdate(h=>{if(h.has(t)){let x=r[t];x!==e.exports&&p.W(e,x)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{r[t]!==e.exports&&(d?f(()=>{r[t]=e.exports}):r[t]=e.exports)})};var A=e=>D(void 0,e);var g=class extends O{constructor(a,t){super(a);let o=this.exports;try{C(this.component);let s=t(this.component,this),r=this.exports!==o;if(b(s)){r||this.setProvisionalExports(s);let i=s.then(n=>{this.exports=n,super.catchUpLifecycle()}).catch(n=>{this.P.reject(n),console.error(n)});this.onLoad(async()=>await i)}else(!r||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this.P.reject(s),console.error(s)}}catchUpLifecycle(){}},D=L(g);var _=e=>(a={})=>A((t,o)=>{let s=y(t.el),r={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=t;o.onLifecycle(()=>E(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let h=l.componentLabel;typeof h=="string"&&"label"in t&&t.label==null&&(t.label??=h),n(i.messageOverrides)},a.name));let n=c=>{let l=o.exports,d=l._original??l,p=N(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in i&&o.onUpdate(c=>{c.has("messageOverrides")&&n(i.messageOverrides)}),a.blocking?(o.setProvisionalExports(r,!1),o.ready):r}),N=(e,a)=>{if(!a)return e;let t={...e};return Object.entries(a).forEach(([o,s])=>{typeof s=="object"?t[o]=N(e[o],s):t[o]=s??e[o]}),t};var oe=_(w);export{oe as a};
|
package/dist/cdn/UMSXHNKH.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
var e="WNufTOT96eMYwAik",a="https://www.arcgis.com",s="8f741b82179543fe884bed012dd5f049",d="1d3a7ed66deb47269beea05ff9afd4c1",f="en";export{e as a,a as b,s as c,d,f as e};
|
package/dist/cdn/UR4O5D7C.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{e as s}from"./65HTNVVT.js";import"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as c,c as e,d as l,e as r,f as d}from"./5BK4CWOX.js";import"./TTOMCAES.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};
|
package/dist/cdn/UV2M2RAL.js
DELETED
package/dist/cdn/VBSXEYLV.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{g as u,h as g}from"./5BK4CWOX.js";var M=(e,o,s)=>{let c=e.get(o);c?c.includes(s)||c.push(s):e.set(o,[s])},O=(e,o)=>{let s;return(...c)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...c)},o)}},_=e=>!("isConnected"in e)||e.isConnected,w=O(e=>{for(let o of e.keys())e.set(o,e.get(o).filter(_))},2e3),T=()=>{if(typeof u!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:o=>{let s=u();s&&M(e,o,s)},set:o=>{let s=e.get(o);s&&e.set(o,s.filter(g)),w(e)},reset:()=>{e.forEach(o=>o.forEach(g)),w(e)}}},h=e=>typeof e=="function"?e():e,U=(e,o=(s,c)=>s!==c)=>{let s=h(e),c=new Map(Object.entries(s??{})),i={dispose:[],get:[],set:[],reset:[]},l=()=>{c=new Map(Object.entries(h(e)??{})),i.reset.forEach(t=>t())},E=()=>{i.dispose.forEach(t=>t()),l()},p=t=>(i.get.forEach(n=>n(t)),c.get(t)),a=(t,n)=>{let r=c.get(t);o(n,r,t)&&(c.set(t,n),i.set.forEach(f=>f(t,n,r)))},y=typeof Proxy>"u"?{}:new Proxy(s,{get(t,n){return p(n)},ownKeys(t){return Array.from(c.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(t,n){return c.has(n)},set(t,n,r){return a(n,r),!0}}),d=(t,n)=>(i[t].push(n),()=>{P(i[t],n)});return{state:y,get:p,set:a,on:d,onChange:(t,n)=>{let r=d("set",(x,C)=>{x===t&&n(C)}),f=d("reset",()=>n(h(e)[t]));return()=>{r(),f()}},use:(...t)=>{let n=t.reduce((r,f)=>(f.set&&r.push(d("set",f.set)),f.get&&r.push(d("get",f.get)),f.reset&&r.push(d("reset",f.reset)),f.dispose&&r.push(d("dispose",f.dispose)),r),[]);return()=>n.forEach(r=>r())},dispose:E,reset:l,forceUpdate:t=>{let n=c.get(t);i.set.forEach(r=>r(t,n,n))}}},P=(e,o)=>{let s=e.indexOf(o);s>=0&&(e[s]=e[e.length-1],e.length--)},S=(e,o)=>{let s=U(e,o);return s.use(T()),s};export{S as a};
|
package/dist/cdn/VHDIRVUR.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{kc as i}from"./GHXC6C2C.js";export default $arcgis.t(([])=>{function u(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function m(e){return e?i(e,{}).then(t=>Promise.resolve(!!t)):Promise.resolve(!1)}function f(e){if(e){let t=e.trim();return t?"<div>"+t+"</div>":""}else return""}function o(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function l(e,t,r,n){let s="";return t?s=n+"/sharing/rest/content/items/"+e+"/info/"+t+o([{k:"w",v:"400"}]):s=r,s}function h(e){let t=e?e.replace("https://","").replace("www.",""):"";return t.endsWith("devext.arcgis.com")||t.endsWith("mapsqa.arcgis.com")||t.endsWith("qaext.arcgis.com")?e??"https://www.arcgis.com":"https://www.arcgis.com"}function w(e,t,r){return t.some(n=>n.wkid===e?(r=n.defaultExtent,!0):!1),r}function g(e,t="en"){return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(e)}function d(e,t){let r="";return e.some(n=>n.startsWith(t)?(r=n.substring(t.length),!0):!1),r}return{a:u,b:m,c:f,d:o,e:l,f:h,g:w,h:g,i:d}},"intl")
|
package/dist/cdn/VOHSJZCI.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a,b}from"./PNHNT6BL.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";export{a as TemplateEditorTypes,b as TemplateSchema};
|
package/dist/cdn/VP2MDCXM.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a as g,b as m}from"./KDP6FDXS.js";import{h as I}from"./ZWW6ZGXP.js";import"./VBSXEYLV.js";import{a as u,c as L,f as b}from"./65HTNVVT.js";import{C as w,D as f,m as p}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as D,c as d,e as v,f as S}from"./5BK4CWOX.js";import"./TTOMCAES.js";var y=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}",E=y,A=class{constructor(e){D(this,e),this.selectedLanguageUpdated=S(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.messages=void 0,this.t9nData=null}async componentWillLoad(){let[e,a]=await Promise.all([w(),f()]);this.intl=e,this.request=a,this.messages=await I(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await m(this.portalItem);let t=await g(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let c=new URLSearchParams(window.location.search).get("locale"),h=this.locales?.map(s=>s?.locale)?.filter(s=>s===c)?.length>0,o=L(e,this.portalItem.portal),r=this.locales?.map(s=>s?.locale)?.filter(s=>s===o)?.length>0;this.selectedLanguage=h?c:r?o:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let s=this.view.map;this.defaultWebMapId=s?.portalItem?.id??"";let n=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;n&&(this.view.map=await p({portalItem:{id:n}}))}}}render(){let e=this.renderTrigger(),a=this.renderDropdownItems(),t=this.renderDefaultLocale();return d("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},e,d("calcite-dropdown-group",{key:"fce55304c7a8b8b52b57b919a83aa81d9c1901ba"},t,a))}renderDefaultLocale(){let{userLocale:e}=this;return d("calcite-dropdown-item",{key:`default-${e}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(e))}renderTrigger(){return d("calcite-button",{ref:e=>this.trigger=e,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let a=this.getSelectedLanguageText(e),t=e===this.selectedLanguage;return d("calcite-dropdown-item",{key:e,selected:t,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e)},a)}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:a,selectedLanguage:t,t9nData:c,userLocale:h}=this,o=this.locales.find(n=>n.locale===t);c&&o&&t!==h&&(o.data=c[e]);let r=new URLSearchParams(window.location.search),i=await b(this.selectedLanguage);if(a.setLocale(i),r.set("locale",i),this.view){let n=this.locales.filter(l=>l.locale===t)?.[0]?.webmap;if(n)this.view.map=await p({portalItem:{id:n}});else{let l=this.view?.map?.portalItem?.id;l&&this.defaultWebMapId!==l&&(this.view.map=await p({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",i),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${r}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let c=Object.keys(u.partial).includes(e)?"partial":"full",h=u[c],{language:o,translated:r}=h[e];return`${o} - ${r}`}async refresh(){try{let e=await m(this.portalItem),a=await g(e);this.t9nData=a;let t={locale:this.selectedLanguage,data:a[this.selectedLanguage]};this.selectedLanguageUpdated.emit(t)}catch{}}get el(){return v(this)}};A.style=E;export{A as instant_apps_language_switcher};
|
package/dist/cdn/WAPUSBNS.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{e as a}from"./65HTNVVT.js";import"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as p,c as t,e as r}from"./5BK4CWOX.js";import"./TTOMCAES.js";var d=":host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:0.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2:transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px 0;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0;margin-bottom:10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:normal;font-size:0.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3:transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px 0}",f=d,n={content:"instant-apps-popover__content",buttonContainer:"instant-apps-popover__button-container",action:"instant-apps-popover__action",actionDisabled:"instant-apps-popover--action-disabled",img:"instant-apps-popover__img",footer:"instant-apps-popover__footer"},m=class{constructor(e){p(this,e),this.popoverTitle="",this.subtitle="",this.content="",this.imgSrc=void 0,this.imgAlt=void 0,this.mediaSrc=void 0,this.index=void 0,this.referenceElement=void 0,this.parent=void 0,this.placement="trailing-start",this.refId=void 0,this.pagination=!1,this.disableAction=!1,this.popoverAction=void 0,this.messages=void 0,this.messageOverrides=void 0}async componentDidLoad(){a(this,this.messageOverrides)}componentDidUpdate(){this.popoverEl.referenceElement=this.referenceElement}render(){return t("calcite-popover",{key:"ba420e852b2c9ddafb05986a622e5768c867cd58",ref:e=>{e&&(this.popoverEl=e)},heading:this.popoverTitle,"auto-close":!0,placement:this.placement,messageOverrides:{close:this.messages?.close},"trigger-disabled":!0,"ref-id":this.refId,closable:!0,referenceElement:this.referenceElement,label:this.popoverTitle},t("div",{key:"200ff3c89e9b5f22437d21973efa3113b51319d9",class:`${n.content}${this.disableAction?` ${n.actionDisabled}`:""}`},this.disableAction?null:t("calcite-action",{key:"popover-action",class:n.action,onClick:this.popoverAction,icon:document.dir==="rtl"?"chevron-right":"chevron-left",compact:!0,"text-enabled":!0,text:this.messageOverrides?.popoverAction??this.messages?.back??""}),t("section",{key:"e04ecbb8a621b69af72bbb92e17a8aef36fb1019"},t("span",{key:"bfb143a55fd010c6f089e41eaa9acde2eb9aaa48",id:"subtitle"},this.subtitle),t("p",{key:"9f52a88e2e6457ebd77247feea9e14043c6e6e1e"},this.content),this.imgSrc?t("img",{key:`iac-popover-img-${this.refId}`,class:n.img,src:this.imgSrc,alt:this.imgAlt?this.imgAlt:""}):null),this.pagination?t("div",{key:`iac-popover-footer-${this.index}`,class:n.footer},t("span",null,this.index+1," ",this.messages?.of," ",this.parent?.instantAppsPopovers?.size),this.renderPagination()):null))}renderPagination(){let{index:e,messages:i,parent:s}=this,c=this.parent?.instantAppsPopovers?.size,l=e===0,o=e===c-1;return t("div",{key:"pagination-button-container",class:n.buttonContainer},l?null:t("calcite-button",{key:"prev",onClick:()=>s?.previous(),appearance:"outline",kind:"neutral"},i?.back),t("calcite-button",{key:"next",onClick:()=>{o?s?.done():s?.next()}},o?i?.done:i?.next))}get el(){return r(this)}};m.style=f;export{m as instant_apps_popover};
|
package/dist/cdn/WSCCQ5U4.js
DELETED
@@ -1,5 +0,0 @@
|
|
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.6 */
|
4
|
-
var le="'Avenir Next','Avenir','Helvetica Neue',sans-serif";function et(e){return e||le}var F=function(){return F=Object.assign||function(r){for(var t,a=1,s=arguments.length;a<s;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},F.apply(this,arguments)},z={exports:{}},g={},N={exports:{}},w={};function q(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function fe(e,r,t){}function ue(e,r,t){}var ce=/javascript\s*\:/img;function ge(e,r){return ce.test(r)?"":r}w.whiteList=q();w.getDefaultWhiteList=q;w.onAttr=fe;w.onIgnoreAttr=ue;w.safeAttrValue=ge;var de={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},L=de;function pe(e,r){e=L.trimRight(e),e[e.length-1]!==";"&&(e+=";");var t=e.length,a=!1,s=0,i=0,l="";function o(){if(!a){var u=L.trim(e.slice(s,i)),f=u.indexOf(":");if(f!==-1){var d=L.trim(u.slice(0,f)),p=L.trim(u.slice(f+1));if(d){var h=r(s,l.length,d,p,u);h&&(l+=h+"; ")}}}s=i+1}for(;i<t;i++){var n=e[i];if(n==="/"&&e[i+1]==="*"){var c=e.indexOf("*/",i+2);if(c===-1)break;i=c+1,s=i+1,a=!1}else n==="("?a=!0:n===")"?a=!1:n===";"?a||o():n===`
|
5
|
-
`&&o()}return L.trim(l)}var he=pe,_=w,ve=he;function D(e){return e==null}function me(e){var r={};for(var t in e)r[t]=e[t];return r}function B(e){e=me(e||{}),e.whiteList=e.whiteList||_.whiteList,e.onAttr=e.onAttr||_.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||_.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||_.safeAttrValue,this.options=e}B.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onAttr,i=t.onIgnoreAttr,l=t.safeAttrValue,o=ve(e,function(n,c,u,f,d){var p=a[u],h=!1;if(p===!0?h=p:typeof p=="function"?h=p(f):p instanceof RegExp&&(h=p.test(f)),h!==!0&&(h=!1),f=l(u,f),!!f){var m={position:c,sourcePosition:n,source:d,isWhite:h};if(h){var v=s(u,f,m);return D(v)?u+":"+f:v}else{var v=i(u,f,m);if(!D(v))return v}}});return o};var be=B;(function(e,r){var t=w,a=be;function s(l,o){var n=new a(o);return n.process(l)}r=e.exports=s,r.FilterCSS=a;for(var i in t)r[i]=t[i]})(N,N.exports);var W=N.exports,$={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,t=r.exec(e);return t?t.index:-1}},ye=W.FilterCSS,we=W.getDefaultWhiteList,P=$;function Q(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var M=new ye;function Ae(e,r,t){}function xe(e,r,t){}function Te(e,r,t){}function Se(e,r,t){}function Z(e){return e.replace(Le,"<").replace(Ee,">")}function ke(e,r,t,a){if(t=re(t),r==="href"||r==="src"){if(t=P.trim(t),t==="#")return"#";if(!(t.substr(0,7)==="http://"||t.substr(0,8)==="https://"||t.substr(0,7)==="mailto:"||t.substr(0,4)==="tel:"||t.substr(0,11)==="data:image/"||t.substr(0,6)==="ftp://"||t.substr(0,2)==="./"||t.substr(0,3)==="../"||t[0]==="#"||t[0]==="/"))return""}else if(r==="background"){if(O.lastIndex=0,O.test(t))return""}else if(r==="style"){if(G.lastIndex=0,G.test(t)||(j.lastIndex=0,j.test(t)&&(O.lastIndex=0,O.test(t))))return"";a!==!1&&(a=a||M,t=a.process(t))}return t=ae(t),t}var Le=/</g,Ee=/>/g,_e=/"/g,Oe=/"/g,Ce=/&#([a-zA-Z0-9]*);?/gim,Ie=/:?/gim,Fe=/&newline;?/gim,O=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,G=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,j=/u\s*r\s*l\s*\(.*/gi;function J(e){return e.replace(_e,""")}function Y(e){return e.replace(Oe,'"')}function K(e){return e.replace(Ce,function(t,a){return a[0]==="x"||a[0]==="X"?String.fromCharCode(parseInt(a.substr(1),16)):String.fromCharCode(parseInt(a,10))})}function ee(e){return e.replace(Ie,":").replace(Fe," ")}function te(e){for(var r="",t=0,a=e.length;t<a;t++)r+=e.charCodeAt(t)<32?" ":e.charAt(t);return P.trim(r)}function re(e){return e=Y(e),e=K(e),e=ee(e),e=te(e),e}function ae(e){return e=J(e),e=Z(e),e}function Pe(){return""}function Ve(e,r){typeof r!="function"&&(r=function(){});var t=!Array.isArray(e);function a(l){return t?!0:P.indexOf(e,l)!==-1}var s=[],i=!1;return{onIgnoreTag:function(l,o,n){if(a(l))if(n.isClosing){var c="[/removed]",u=n.position+c.length;return s.push([i!==!1?i:n.position,u]),i=!1,c}else return i||(i=n.position),"[removed]";else return r(l,o,n)},remove:function(l){var o="",n=0;return P.forEach(s,function(c){o+=l.slice(n,c[0]),n=c[1]}),o+=l.slice(n),o}}}function Re(e){for(var r="",t=0;t<e.length;){var a=e.indexOf("<!--",t);if(a===-1){r+=e.slice(t);break}r+=e.slice(t,a);var s=e.indexOf("-->",a);if(s===-1)break;t=s+3}return r}function ze(e){var r=e.split("");return r=r.filter(function(t){var a=t.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),r.join("")}g.whiteList=Q();g.getDefaultWhiteList=Q;g.onTag=Ae;g.onIgnoreTag=xe;g.onTagAttr=Te;g.onIgnoreTagAttr=Se;g.safeAttrValue=ke;g.escapeHtml=Z;g.escapeQuote=J;g.unescapeQuote=Y;g.escapeHtmlEntities=K;g.escapeDangerHtml5Entities=ee;g.clearNonPrintableCharacter=te;g.friendlyAttrValue=re;g.escapeAttrValue=ae;g.onIgnoreTagStripAll=Pe;g.StripTagBody=Ve;g.stripCommentTag=Re;g.stripBlankChar=ze;g.cssFilter=M;g.getDefaultCSSWhiteList=we;var V={},y=$;function Ne(e){var r=y.spaceIndex(e),t;return r===-1?t=e.slice(1,-1):t=e.slice(1,r+1),t=y.trim(t).toLowerCase(),t.slice(0,1)==="/"&&(t=t.slice(1)),t.slice(-1)==="/"&&(t=t.slice(0,-1)),t}function We(e){return e.slice(0,2)==="</"}function $e(e,r,t){var a="",s=0,i=!1,l=!1,o=0,n=e.length,c="",u="";e:for(o=0;o<n;o++){var f=e.charAt(o);if(i===!1){if(f==="<"){i=o;continue}}else if(l===!1){if(f==="<"){a+=t(e.slice(s,o)),i=o,s=o;continue}if(f===">"){a+=t(e.slice(s,i)),u=e.slice(i,o+1),c=Ne(u),a+=r(i,a.length,c,u,We(u)),s=o+1,i=!1;continue}if(f==='"'||f==="'")for(var d=1,p=e.charAt(o-d);p.trim()===""||p==="=";){if(p==="="){l=f;continue e}p=e.charAt(o-++d)}}else if(f===l){l=!1;continue}}return s<e.length&&(a+=t(e.substr(s))),a}var Ue=/[^a-zA-Z0-9\\_:.-]/gim;function Xe(e,r){var t=0,a=0,s=[],i=!1,l=e.length;function o(d,p){if(d=y.trim(d),d=d.replace(Ue,"").toLowerCase(),!(d.length<1)){var h=r(d,p||"");h&&s.push(h)}}for(var n=0;n<l;n++){var c=e.charAt(n),u,f;if(i===!1&&c==="="){i=e.slice(t,n),t=n+1,a=e.charAt(t)==='"'||e.charAt(t)==="'"?t:Ge(e,n+1);continue}if(i!==!1&&n===a){if(f=e.indexOf(c,n+1),f===-1)break;u=y.trim(e.slice(a+1,f)),o(i,u),i=!1,n=f,t=n+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(f=De(e,n),f===-1){u=y.trim(e.slice(t,n)),o(u),i=!1,t=n+1;continue}else{n=f-1;continue}else if(f=je(e,n-1),f===-1){u=y.trim(e.slice(t,n)),u=H(u),o(i,u),i=!1,t=n+1;continue}else continue}return t<e.length&&(i===!1?o(e.slice(t)):o(i,H(y.trim(e.slice(t))))),y.trim(s.join(" "))}function De(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="="?r:-1}}function Ge(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="'"||t==='"'?r:-1}}function je(e,r){for(;r>0;r--){var t=e[r];if(t!==" ")return t==="="?r:-1}}function He(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function H(e){return He(e)?e.substr(1,e.length-2):e}V.parseTag=$e;V.parseAttr=Xe;var qe=W.FilterCSS,b=g,ie=V,Be=ie.parseTag,Qe=ie.parseAttr,I=$;function C(e){return e==null}function Me(e){var r=I.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=I.trim(e.slice(r+1,-1));var t=e[e.length-1]==="/";return t&&(e=I.trim(e.slice(0,-1))),{html:e,closing:t}}function Ze(e){var r={};for(var t in e)r[t]=e[t];return r}function Je(e){var r={};for(var t in e)Array.isArray(e[t])?r[t.toLowerCase()]=e[t].map(function(a){return a.toLowerCase()}):r[t.toLowerCase()]=e[t];return r}function se(e){e=Ze(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=b.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Je(e.whiteList||e.allowList):e.whiteList=b.whiteList,e.onTag=e.onTag||b.onTag,e.onTagAttr=e.onTagAttr||b.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||b.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||b.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||b.safeAttrValue,e.escapeHtml=e.escapeHtml||b.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new qe(e.css))}se.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onTag,i=t.onIgnoreTag,l=t.onTagAttr,o=t.onIgnoreTagAttr,n=t.safeAttrValue,c=t.escapeHtml,u=r.cssFilter;t.stripBlankChar&&(e=b.stripBlankChar(e)),t.allowCommentTag||(e=b.stripCommentTag(e));var f=!1;t.stripIgnoreTagBody&&(f=b.StripTagBody(t.stripIgnoreTagBody,i),i=f.onIgnoreTag);var d=Be(e,function(p,h,m,v,ne){var E={sourcePosition:p,position:h,isClosing:ne,isWhite:Object.prototype.hasOwnProperty.call(a,m)},S=s(m,v,E);if(!C(S))return S;if(E.isWhite){if(E.isClosing)return"</"+m+">";var U=Me(v),oe=a[m],X=Qe(U.html,function(A,x){var R=I.indexOf(oe,A)!==-1,k=l(m,A,x,R);return C(k)?R?(x=n(m,A,x,u),x?A+'="'+x+'"':A):(k=o(m,A,x,R),C(k)?void 0:k):k});return v="<"+m,X&&(v+=" "+X),U.closing&&(v+=" /"),v+=">",v}else return S=i(m,v,E),C(S)?c(v):S},c);return f&&(d=f.remove(d)),d};var Ye=se;(function(e,r){var t=g,a=V,s=Ye;function i(o,n){var c=new s(n);return c.process(o)}r=e.exports=i,r.filterXSS=i,r.FilterXSS=s,function(){for(var o in t)r[o]=t[o];for(var n in a)r[n]=a[n]}();function l(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}l()&&(self.filterXSS=e.exports)})(z,z.exports);var T=z.exports,Ke=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},tt=function(){function e(r,t){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=F(F({},T.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,l,o,n){return i==="a"&&l==="href"||(i==="img"||i==="source")&&l==="src"?a.sanitizeUrl(o):T.safeAttrValue(i,l,o,n)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var s;r&&!t?s=r:r&&t?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(i){if(i==="whiteList")s.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,r.whiteList||{}]);else if(i==="css"){var l=r.css.whiteList;l!=null&&r.css instanceof Object&&Object.keys(l).forEach(function(o){return s.css.whiteList[o]=l[o]})}else s[i]=r[i]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new T.FilterXSS(s)}return e.prototype.sanitize=function(r,t){switch(t===void 0&&(t={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,t);default:return t.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,t){var a=(t??{}).isProtocolRequired,s=a===void 0?!0:a,i=this._trim(r.substring(0,r.indexOf(":"))),l=r==="/",o=/^#/.test(r),n=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return l||o||n?T.escapeAttrValue(r):!i&&!s?T.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,t,a,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,t,a,s):T.safeAttrValue(r,t,a,s)},e.prototype.validate=function(r,t){t===void 0&&(t={});var a=this.sanitize(r,t);return{isValid:r===a,sanitized:a}},e.prototype.encodeHTML=function(r){var t=this;return String(r).replace(/[&<>"'\/]/g,function(a){return t._entityMap[a]})},e.prototype.encodeAttrValue=function(r){var t=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(a,s){return t.test(a)?a:"&#x".concat(Number(r.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var t={};return r.forEach(function(a){Object.keys(a).forEach(function(s){Array.isArray(a[s])&&Array.isArray(t[s])?t[s]=t[s].concat(a[s]):t[s]=a[s]})}),t},e.prototype._iterateOverObject=function(r,t){var a=this;t===void 0&&(t={});try{var s=!1,i=void 0;if(Array.isArray(r))i=r.reduce(function(o,n){var c=a.validate(n,t);return c.isValid?o.concat([n]):(s=!0,o.concat([c.sanitized]))},[]);else if(Ke(r)){var l=Object.keys(r);i=l.reduce(function(o,n){var c=r[n],u=a.validate(c,t);return u.isValid?o[n]=c:(s=!0,o[n]=u.sanitized),o},{})}else return t.allowUndefined&&typeof r>"u"?void 0:null;return s?i:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e}();export{et as a,tt as b};
|
package/dist/cdn/WV5BUD4Z.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a,b}from"./XW6O3WSI.js";import"./HVATWN37.js";import"./TTOMCAES.js";export{a as GroupEditorTypes,b as GroupSchema};
|
package/dist/cdn/X7KYTABF.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a as E,b as B,c as xe,d as re,f as ze,g as Pe,h as ve,i as Te,k as $e,q as le,u as Fe,v as K,w as fe,x as Ue,y as Me}from"./N65S4NHY.js";import"./YQE7AUFT.js";import"./VBSXEYLV.js";import{a as Ae}from"./L3LGCXHS.js";import{C as Ce,E as ke,c as Re,z as Se}from"./MXCKPU23.js";import{a as Ee,c as g,e as De,h as ce}from"./5BK4CWOX.js";import"./TTOMCAES.js";var Ve=96;function N(a){return a?a/72*Ve:0}var me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ae,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},qe=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},Ge=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=Ge(t,r,e.children,t.children,i)||p,p=qe(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ke={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ke,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Je(p)),i.push(p))}};function Xe(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Ye=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Qe=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Ze=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Ye(d.currentTarget,h.domNode);f.reverse();var v=Qe(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Oe=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Ze(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},je=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},Ne=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=je,c.createMapping=Ne,c.createProjector=Oe,c.dom=ee,c.h=Xe})})(me,me.exports);var et=me.exports.createProjector(),Ie=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function We(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function He(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Ie:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Ie:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],We(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],We(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,Be={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Ee(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Ue(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=$e(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=He(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:Be},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=He(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:Be},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=Pe(n),$=Fe(A,L);if(E.data){let W=ze(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Te(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Me(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await xe(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return De(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
|
package/dist/cdn/XGGAVQTC.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.6 */
|
4
|
-
import{e as o}from"./65HTNVVT.js";import"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as l,c as i,d,e as h}from"./5BK4CWOX.js";import"./TTOMCAES.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};
|
package/dist/cdn/XNPZJ7V4.js
DELETED
@@ -1,18 +0,0 @@
|
|
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.6 */
|
4
|
-
import{a as S}from"./UUCDGMFW.js";import{a as D,c as b}from"./UV2M2RAL.js";import{Tb as f,qa as I}from"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import{a as _}from"./UESCD5AB.js";import{D as g,c as p,d as a,f as m,n as l,x as r,y as u}from"./XR3GB5SE.js";import"./TTOMCAES.js";var w=p`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}`,c=class extends u{constructor(){super(...arguments),this.authContextConsumer=r({context:b,subscribe:!0}),this.open=!1,this.userSessionContextConsumer=r({context:D,subscribe:!0}),this._deletePercentage=0,this._isDeleteInProgress=!1,this._nonSolutionDependencyItems=[],this._showDeleteError=!1,this._templates=[],this._translations=_({name:"solution-delete-dialog",blocking:!0}),this.dialogOpen=l(),this.solutionDeleted=l()}static{this.properties={authContextConsumer:0,card:0,open:5,userSessionContextConsumer:0,_deletePercentage:16,_isDeleteInProgress:16,_nonSolutionDependencyItems:16,_showDeleteError:16,_templates:16,_translations:16}}static{this.styles=w}close(){this._showDeleteError=!1,this._isDeleteInProgress=!1,this.open=!1,this.dialogOpen.emit(!1)}delete(){if(this._isDeleteInProgress=!0,this.card){let e=[{itemName:this.card.title,itemType:"Solution",owner:this.card.owner,modified:this.card.modified}],o={progressCallback:t=>{this._deletePercentage=Math.round(t)}};f(this.card.id,this.userSessionContextConsumer.value,o).then(t=>{console.log(t);let n=t[1],s;n?s=n.items.map(i=>({itemName:i.title,itemType:i.type,owner:i.owner,modified:i.modified})):s=e,s.length===0?(this.solutionDeleted.emit(!0),this._isDeleteInProgress=!1,this.open=!1):this.card?this._processTemplates(this.card).then(i=>{this._templates=i,this._showDeleteError=!0,this._isDeleteInProgress=!1}):(this._showDeleteError=!0,this._isDeleteInProgress=!1)})}}async load(){if(!this.card)return;this._templates=await this._processTemplates(this.card);let e=new Set(this._templates.map(s=>s.id)),o=[],t=this._templates.map(async s=>{let i=await this._getRelatedDependency(s.id);return{template:s,relatedItems:i}}),n=await Promise.all(t);for(let{template:s,relatedItems:i}of n)for(let h of i)if(h.relationshipType!=="Solution2Item")for(let d of h.relatedItemIds)e.has(d)||o.push({controlItemId:s.id,dependencyItemId:d});this._nonSolutionDependencyItems=o}updated(e){if(e.has("open")){let o=e.get("open");this.open&&!o&&this._processTemplates(this.card).then(t=>{this._templates=t})}}render(){let e=[...new Set(this._nonSolutionDependencyItems.map(n=>n.controlItemId))],o=this._templates.length-this._nonSolutionDependencyItems.length,t=this._translations.deletionCount.replace("{{deleteableCount}}",o.toString()).replace("{{totalCount}}",this._templates.length.toString());return a`<calcite-dialog class="panel-bg-color" close-disabled .heading=${this._translations.title.replace("{{solution}}",this.card?.title??"")} id=${this._translations.title.replace("{{solution}}",this.card?.title??"")??m} modal .open=${this.open} outside-close-disabled @calciteDialogClose=${()=>{this.open=!1,this.dialogOpen.emit(!1)}}>${this._isDeleteInProgress?a`<calcite-loader .label=${this._translations.deleteInProgress} scale=l .text=${this._translations.deleteInProgress} type=determinate-value .value=${this._deletePercentage}></calcite-loader>`:a`<calcite-label layout=inline>${this._translations.deletionNote}<calcite-chip .label=${t}>${t}</calcite-chip></calcite-label><solution-item-accordion .itemRelationshipDependencies=${e} .templateInfos=${this._templates} list-selection-mode=single></solution-item-accordion><calcite-button appearance=outline @click=${this.close} slot=footer-end>${this._translations.buttonCancel}</calcite-button><calcite-button @click=${()=>{this.delete()}} slot=footer-end kind=danger>${this._translations.buttonDelete}</calcite-button>${this._showDeleteError&&a`<calcite-alert icon=exclamation-mark-triangle kind=danger .label=${this._translations.failedToDelete} @calciteAlertClose=${()=>{this._showDeleteError=!1}} open><div slot=message>${this._translations.failedToDelete}</div></calcite-alert>`||""}`}</calcite-dialog>`}async _processTemplates(e){return await S(e.id,this.userSessionContextConsumer.value)}async _getRelatedDependency(e){return await I(e,"reverse",this.userSessionContextConsumer.value)}};g("solution-delete-dialog",c);export{c as SolutionDeleteDialog};
|