@esri/solutions-components 1.1.0-next.20250804 → 1.1.0-next.20250805
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/{LZQ4FPMV.js → 2GZOS2KK.js} +2 -2
- package/dist/cdn/{JJ273SNZ.js → 2HD2VSDE.js} +2 -2
- package/dist/cdn/{2IUUDF7W.js → 2J6B6MYD.js} +1 -1
- package/dist/cdn/{FM2YTGSH.js → 2RDZT3HY.js} +2 -2
- package/dist/cdn/{SUFBRQSQ.js → 2SKQ276W.js} +1 -1
- package/dist/cdn/{A67IKYHW.js → 2WV6FKR2.js} +2 -2
- package/dist/cdn/{TVE3SWML.js → 2ZLOSH7Y.js} +2 -2
- package/dist/cdn/{NJG24YVB.js → 33BJEK5G.js} +2 -2
- package/dist/cdn/{VYDO327K.js → 3I2OPOC3.js} +2 -2
- package/dist/cdn/{Y2I7B42B.js → 3JQ57R5L.js} +1 -1
- package/dist/cdn/{3UIPAYNA.js → 3LO343UW.js} +2 -2
- package/dist/cdn/{NOPHR34M.js → 3OJA72EQ.js} +2 -2
- package/dist/cdn/{OTZTQ2VQ.js → 3R2EHQXY.js} +2 -2
- package/dist/cdn/{GQRKGQNV.js → 3RT4YQAX.js} +2 -2
- package/dist/cdn/{ASHUGWOC.js → 3VVVED3A.js} +2 -2
- package/dist/cdn/{IAPBKDX5.js → 3WL35JH2.js} +2 -2
- package/dist/cdn/3Z6KYNQU.js +4 -0
- package/dist/cdn/{MLOT2NB2.js → 44GDA3KH.js} +2 -2
- package/dist/cdn/{4HDK7HAO.js → 4E2DDRVF.js} +2 -2
- package/dist/cdn/{KKTWS5R3.js → 4JEVLL6V.js} +2 -2
- package/dist/cdn/{XVDLFOD6.js → 4R3UNRG6.js} +2 -2
- package/dist/cdn/{BTX2SLF4.js → 4XFNEG4A.js} +2 -2
- package/dist/cdn/{ZVOQGYWY.js → 55C6B2OK.js} +2 -2
- package/dist/cdn/{AGSXX26T.js → 56PTP455.js} +2 -2
- package/dist/cdn/{FDU23JEN.js → 5HTY24LH.js} +2 -2
- package/dist/cdn/{MFHK7DKH.js → 5JWWBXAA.js} +2 -2
- package/dist/cdn/{QTPRUZQW.js → 5LNMUFJT.js} +2 -2
- package/dist/cdn/{6VYTY7J6.js → 5PWG33WO.js} +2 -2
- package/dist/cdn/{T7IUOP77.js → 6CEYZTZA.js} +2 -2
- package/dist/cdn/{JYOOJOGL.js → 6HCSXP5D.js} +2 -2
- package/dist/cdn/{Z44T45GT.js → 6HVOZTQR.js} +2 -2
- package/dist/cdn/{P44L6E7C.js → 6NH3CCBF.js} +2 -2
- package/dist/cdn/{JRVEBIOC.js → 6O2T6D6A.js} +2 -2
- package/dist/cdn/{QDE6GAEL.js → 6PHIYPSU.js} +2 -2
- package/dist/cdn/{TLARAEER.js → 6PLJ2FYW.js} +2 -2
- package/dist/cdn/{PSG4RSCT.js → 6ULGEYFE.js} +2 -2
- package/dist/cdn/{XNZIKTAG.js → 6X7BRMEU.js} +2 -2
- package/dist/cdn/{RXAKD247.js → 6ZAJFBA6.js} +2 -2
- package/dist/cdn/{RLGCX67K.js → 72A27AFF.js} +2 -2
- package/dist/cdn/{PMZ5WB6C.js → 7542BUDO.js} +2 -2
- package/dist/cdn/{FWUHKSS7.js → 76DEPMZ5.js} +2 -2
- package/dist/cdn/{TJEMS4LZ.js → 7FWIZG5Z.js} +2 -2
- package/dist/cdn/{56M45FFO.js → 7WRVU2GG.js} +2 -2
- package/dist/cdn/{63DQNUCA.js → A3TXUOZ4.js} +1 -1
- package/dist/cdn/{5EBHLME5.js → AF7FDKVX.js} +2 -2
- package/dist/cdn/{MPGGUH4K.js → AG6GYAFP.js} +2 -2
- package/dist/cdn/{QYWVIB4H.js → AJPSBMVC.js} +2 -2
- package/dist/cdn/{MSIUS7CS.js → ANRBD6PG.js} +2 -2
- package/dist/cdn/{J6QSHH76.js → AOFFXP2O.js} +2 -2
- package/dist/cdn/{32NRDIX4.js → AQNIHDKY.js} +2 -2
- package/dist/cdn/{XULFPBP6.js → AXUGVBHF.js} +2 -2
- package/dist/cdn/{HQTKZXQW.js → B2DSQZNG.js} +2 -2
- package/dist/cdn/{7HFXPJAS.js → B54PDB5Z.js} +2 -2
- package/dist/cdn/{TYLIWK4T.js → BBL4ZXCQ.js} +2 -2
- package/dist/cdn/{ALCKJU52.js → BDUW5TZD.js} +2 -2
- package/dist/cdn/{MPM4KDBW.js → BFXBQLJK.js} +2 -2
- package/dist/cdn/{A2U6UU3J.js → BJBRFG23.js} +2 -2
- package/dist/cdn/{VLTYMTZ3.js → BM2CTLXF.js} +2 -2
- package/dist/cdn/{FH7KMOQC.js → BMCLDOUD.js} +2 -2
- package/dist/cdn/{TKSHKCPB.js → BMVSAQBC.js} +2 -2
- package/dist/cdn/{3YIYAWOH.js → BOK5NUWK.js} +2 -2
- package/dist/cdn/{5MIYOPHC.js → BXGDO7U6.js} +2 -2
- package/dist/cdn/{27I3AP5X.js → BZPXB24X.js} +2 -2
- package/dist/cdn/{QOWVXWJR.js → C26S3PRR.js} +2 -2
- package/dist/cdn/{QBYSBJGO.js → C27D5LN3.js} +2 -2
- package/dist/cdn/{GXC7MW7H.js → C4HKMYF3.js} +2 -2
- package/dist/cdn/{7DEYNHBU.js → C73VYQKJ.js} +2 -2
- package/dist/cdn/{JJ7QCASR.js → CB2M524H.js} +1 -1
- package/dist/cdn/{G55PKUMG.js → CD2Z74PV.js} +1 -1
- package/dist/cdn/{CCGKKPPH.js → CE3C7L3R.js} +2 -2
- package/dist/cdn/CNFHE7BS.js +18 -0
- package/dist/cdn/{3DVTJ6KE.js → CQ65R2FU.js} +2 -2
- package/dist/cdn/{4IPXIKLP.js → CWNGOD6O.js} +2 -2
- package/dist/cdn/{N4M3CA2Z.js → DBWENNZO.js} +2 -2
- package/dist/cdn/{URAGJGK6.js → DJKGU6GF.js} +2 -2
- package/dist/cdn/{IYUKZWSW.js → DP5H6AU6.js} +2 -2
- package/dist/cdn/{XRWYBWQK.js → DR7W375Q.js} +2 -2
- package/dist/cdn/{ELEAGTWW.js → DRMGG47C.js} +2 -2
- package/dist/cdn/{GMGQ7E7V.js → DSKCT7XX.js} +2 -2
- package/dist/cdn/{TVPWZMAB.js → DSTRDKGN.js} +2 -2
- package/dist/cdn/{CGPOHG6C.js → DTTA3SSA.js} +2 -2
- package/dist/cdn/{DKPSK2VS.js → DYFGQ6AI.js} +2 -2
- package/dist/cdn/{NE3BMCYD.js → DZD6IVX3.js} +2 -2
- package/dist/cdn/{RNIXWYHO.js → E24TFZEV.js} +2 -2
- package/dist/cdn/{OOM3I5RC.js → E6VM5GOR.js} +2 -2
- package/dist/cdn/{IYCDKPBQ.js → EGBZLRDM.js} +1 -1
- package/dist/cdn/{G5HT4QPA.js → EJJ6FMDK.js} +2 -2
- package/dist/cdn/{6P6LUJ43.js → EKKAECED.js} +2 -2
- package/dist/cdn/EOVOQSGB.js +4 -0
- package/dist/cdn/{CEU5C43P.js → ETAK5KUX.js} +2 -2
- package/dist/cdn/{2ENLVGEB.js → EWFUOGQX.js} +2 -2
- package/dist/cdn/{JDKSBZFE.js → EXCU7FAE.js} +2 -2
- package/dist/cdn/{LNE75S3A.js → EYB7XSNU.js} +1 -1
- package/dist/cdn/{CSDAVDXX.js → EYBDSN3O.js} +2 -2
- package/dist/cdn/{2JY7EWW7.js → EZGI72AV.js} +2 -2
- package/dist/cdn/{YLPKFOK6.js → F2NI2IXH.js} +2 -2
- package/dist/cdn/{BBWLJFLV.js → F4H2XOM2.js} +2 -2
- package/dist/cdn/{2H5ZIXV4.js → F6XWENXR.js} +2 -2
- package/dist/cdn/{CRXF4B3G.js → FJ5KMDPD.js} +2 -2
- package/dist/cdn/{KZWML2KQ.js → FSYK6HM3.js} +2 -2
- package/dist/cdn/{N2IQNH7A.js → FSZIWGYJ.js} +1 -1
- package/dist/cdn/{63LHTNJZ.js → FZXSPOZS.js} +2 -2
- package/dist/cdn/{WPXHPSPZ.js → G2ZDC4VQ.js} +2 -2
- package/dist/cdn/{IQ3QEMBR.js → G4Y7NNVO.js} +1 -1
- package/dist/cdn/{QLDQWKMR.js → GAQTA6GD.js} +2 -2
- package/dist/cdn/{2NGSYXGK.js → GBPL4KQS.js} +1 -1
- package/dist/cdn/{G7LI5TQC.js → GGUYX23F.js} +2 -2
- package/dist/cdn/{SRHCFZUY.js → GIC76A6P.js} +2 -2
- package/dist/cdn/{T6GPREAX.js → GITSLGDH.js} +2 -2
- package/dist/cdn/{MJ5DKA2X.js → GTFYWD6K.js} +2 -2
- package/dist/cdn/{C7D5MBZV.js → H34BRZJT.js} +2 -2
- package/dist/cdn/{BRRHEFK3.js → HA2CQHWG.js} +2 -2
- package/dist/cdn/{EMAGH3PG.js → HBJRA3VT.js} +2 -2
- package/dist/cdn/{PPWCXZID.js → HKRCU4W3.js} +1 -1
- package/dist/cdn/{N2FATTDH.js → HNW4XU3G.js} +1 -1
- package/dist/cdn/{R2RQDXYK.js → HO62DINJ.js} +2 -2
- package/dist/cdn/{BQ3EIQPU.js → HP4OTJNX.js} +2 -2
- package/dist/cdn/{7FJ3O3A2.js → HPTSWBMV.js} +2 -2
- package/dist/cdn/{SSLYRR7G.js → HUM5NVWR.js} +2 -2
- package/dist/cdn/{NPB3WTYD.js → HUPM3KUY.js} +2 -2
- package/dist/cdn/{5LGVQGTC.js → HWMVPAK3.js} +1 -1
- package/dist/cdn/{R73R7QCG.js → HYSWFFTS.js} +2 -2
- package/dist/cdn/{PCKSIOIQ.js → I7B6E52N.js} +2 -2
- package/dist/cdn/{VV5IQZ7Q.js → IJW4VIF6.js} +2 -2
- package/dist/cdn/{WEVC2ZGT.js → IKP2WHLC.js} +2 -2
- package/dist/cdn/{LL4DEDQC.js → IKQPJ7HH.js} +2 -2
- package/dist/cdn/{OKW3PMOC.js → ILVYQG75.js} +2 -2
- package/dist/cdn/{HGKMBBAZ.js → J72AO3O5.js} +2 -2
- package/dist/cdn/{GBVPDYV4.js → JCL4GUN2.js} +2 -2
- package/dist/cdn/{WL7SYSU2.js → JFF5GUX5.js} +2 -2
- package/dist/cdn/{DVODLANP.js → JFRS4VIJ.js} +2 -2
- package/dist/cdn/{5FZP5C3S.js → JGZZZZNQ.js} +1 -1
- package/dist/cdn/{E6HI24AH.js → JHTJPGCO.js} +2 -2
- package/dist/cdn/{4PAAQ63R.js → JIHFXVKK.js} +2 -2
- package/dist/cdn/{OS5L5UWL.js → JUPTFUOY.js} +1 -1
- package/dist/cdn/{K52ZHJL4.js → JVGFQUPU.js} +2 -2
- package/dist/cdn/{VEHDY5YP.js → JYI7HSND.js} +2 -2
- package/dist/cdn/{ZPVXCJZJ.js → JZRND6DJ.js} +2 -2
- package/dist/cdn/{J5RHSV42.js → K2A64AJY.js} +2 -2
- package/dist/cdn/{MIAJROAJ.js → K7ZCGDMP.js} +2 -2
- package/dist/cdn/{AGVM2D2C.js → KDKQRUGV.js} +2 -2
- package/dist/cdn/{MO5LTBSP.js → KFCRRA7F.js} +2 -2
- package/dist/cdn/{LW47XLXE.js → KJDK64I4.js} +2 -2
- package/dist/cdn/{TAUEMN7H.js → KKZBLGAZ.js} +2 -2
- package/dist/cdn/{GYQQ26XT.js → KOT4QQK7.js} +2 -2
- package/dist/cdn/KQWBCDF3.js +4 -0
- package/dist/cdn/{Y2CGACHS.js → KT274563.js} +2 -2
- package/dist/cdn/{MQENWQZA.js → KVKCURZR.js} +2 -2
- package/dist/cdn/{RBA3JHX2.js → KVYCPYT4.js} +2 -2
- package/dist/cdn/{AW4UUEFC.js → KYMLJ3F5.js} +2 -2
- package/dist/cdn/{HWVN3MS5.js → L22H5MXZ.js} +1 -1
- package/dist/cdn/{7JUKQJGZ.js → LHAMRSSH.js} +2 -2
- package/dist/cdn/{KJ7QVY7R.js → LJ6MM2LH.js} +2 -2
- package/dist/cdn/{GDRQ4BYH.js → LKTJBKGS.js} +2 -2
- package/dist/cdn/{5RKBTQGT.js → LLVXMJRE.js} +2 -2
- package/dist/cdn/{RL2SNSO2.js → LMOPOQVC.js} +2 -2
- package/dist/cdn/{PO57BOD5.js → LOWPGRBM.js} +1 -1
- package/dist/cdn/{H5EJ2QTN.js → LQKSTVYS.js} +2 -2
- package/dist/cdn/{NL7A2BN6.js → LRAFDTRN.js} +2 -2
- package/dist/cdn/{HMDGWSEX.js → LRHDJMA4.js} +2 -2
- package/dist/cdn/{3U2DD4IP.js → M4ZMT3GL.js} +2 -2
- package/dist/cdn/{EDYUCA7M.js → M7XSDLV5.js} +2 -2
- package/dist/cdn/{PBBG6EBI.js → MC7DNHNU.js} +2 -2
- package/dist/cdn/{PJJ7OQZQ.js → MGCPDP7J.js} +2 -2
- package/dist/cdn/{SEF73KDX.js → MH5VX6AY.js} +2 -2
- package/dist/cdn/{SQPYP57L.js → MHWX3HRT.js} +1 -1
- package/dist/cdn/{4P3JYW4U.js → MIIRZTEX.js} +2 -2
- package/dist/cdn/{2KHSTHIA.js → MJCJAFTO.js} +2 -2
- package/dist/cdn/{D2IML3DR.js → MKIJJDTQ.js} +2 -2
- package/dist/cdn/{BEBADQDD.js → MVWPTPME.js} +2 -2
- package/dist/cdn/{URYJTR3F.js → MXDTDUNL.js} +2 -2
- package/dist/cdn/{WITXMTMP.js → N2W4KKO3.js} +2 -2
- package/dist/cdn/{GJJPRDZZ.js → N7M3WPAA.js} +2 -2
- package/dist/cdn/{HHUIZRPD.js → N7VLQBAU.js} +2 -2
- package/dist/cdn/{3HWTOTAW.js → NBDFFPCF.js} +1 -1
- package/dist/cdn/{PG57XA7J.js → NGW2D4B7.js} +2 -2
- package/dist/cdn/{QMZ4ECYO.js → NOXF3KIN.js} +2 -2
- package/dist/cdn/{6WOOLJQO.js → NYHDZRED.js} +2 -2
- package/dist/cdn/{XAA2CYFY.js → O4ZHNTVR.js} +2 -2
- package/dist/cdn/{QOMQ2O42.js → O57WNQKN.js} +1 -1
- package/dist/cdn/{U3WQ32QA.js → OABISKTH.js} +2 -2
- package/dist/cdn/{TCIUPQBG.js → OD52NBEE.js} +2 -2
- package/dist/cdn/{EAARL36R.js → OG2QO65R.js} +1 -1
- package/dist/cdn/{NGZQ77Y7.js → OH74GNOX.js} +2 -2
- package/dist/cdn/{2MI622UR.js → OQPBJDKU.js} +2 -2
- package/dist/cdn/{OYB7YXXR.js → OUJ7HLKY.js} +2 -2
- package/dist/cdn/{X6IADLCS.js → P4AJ6PQC.js} +2 -2
- package/dist/cdn/{JH5MCOTH.js → P5EMX3K3.js} +2 -2
- package/dist/cdn/{7MYC4GA6.js → P6YH2464.js} +2 -2
- package/dist/cdn/{GACRNLY6.js → PCOEOT7J.js} +2 -2
- package/dist/cdn/{5DLZSIPJ.js → PGKUR4WY.js} +2 -2
- package/dist/cdn/{MOVE65J6.js → PQ3T3ICE.js} +1 -1
- package/dist/cdn/{V6Z7HS6H.js → PRZV4O3M.js} +2 -2
- package/dist/cdn/{LBVKJUVS.js → PSTZGLQY.js} +2 -2
- package/dist/cdn/{2ZDGR2WD.js → PVFGUXZQ.js} +2 -2
- package/dist/cdn/{WECF2JFD.js → PYCIIXAT.js} +2 -2
- package/dist/cdn/{FESKL5ZV.js → PZCGP7VV.js} +2 -2
- package/dist/cdn/{67N2QUDS.js → Q3EL3SKK.js} +2 -2
- package/dist/cdn/{TXIDAG5O.js → QANDE5GX.js} +1 -1
- package/dist/cdn/{26JVTWH7.js → QEHMVIZA.js} +2 -2
- package/dist/cdn/{LQYQK52P.js → QESTTPNW.js} +1 -1
- package/dist/cdn/{ZJQ2HXOP.js → QHXATMTW.js} +2 -2
- package/dist/cdn/{7L6MX7NY.js → QJU2CXDM.js} +2 -2
- package/dist/cdn/{ZKALQRBG.js → QJVJVRC5.js} +2 -2
- package/dist/cdn/{HOPT3JY4.js → QPQFHPU6.js} +2 -2
- package/dist/cdn/{2M5OJ5G2.js → QRBPOHQZ.js} +1 -1
- package/dist/cdn/{R7PQZLQD.js → QRY235DW.js} +2 -2
- package/dist/cdn/{SRPL4W6S.js → QVC6WY2U.js} +1 -1
- package/dist/cdn/{JQTH7ME2.js → QWO6PGTX.js} +2 -2
- package/dist/cdn/{7TAQ5RIA.js → QXM5FILZ.js} +1 -1
- package/dist/cdn/{ZITDPXBN.js → QYCHT4CB.js} +2 -2
- package/dist/cdn/{5BKN5ED4.js → R4IS4Q4Q.js} +2 -2
- package/dist/cdn/{UMMDZOWO.js → R5IRUI3P.js} +2 -2
- package/dist/cdn/{GFOJ2475.js → RBBBKVTL.js} +2 -2
- package/dist/cdn/{3SCQV2BA.js → RDUFBDLJ.js} +1 -1
- package/dist/cdn/{XJRM5CQS.js → RFB43MAS.js} +2 -2
- package/dist/cdn/{Z4KUME5U.js → RIMQH6RB.js} +2 -2
- package/dist/cdn/{5RI43AEF.js → RKLYOTRA.js} +2 -2
- package/dist/cdn/{VNQ5BED6.js → RMQ5YGFV.js} +2 -2
- package/dist/cdn/{NXGANU6E.js → RPLKUULS.js} +2 -2
- package/dist/cdn/{ZZ55Q6CO.js → RTYGNX7B.js} +2 -2
- package/dist/cdn/{PJSHOIQU.js → RV4AOYNF.js} +2 -2
- package/dist/cdn/{3NHES2UH.js → RXBIVFHO.js} +2 -2
- package/dist/cdn/{7AZRC4QR.js → S3XK2NOE.js} +2 -2
- package/dist/cdn/{4V36JLGC.js → SAGIFLGH.js} +2 -2
- package/dist/cdn/SINUDLTL.js +4 -0
- package/dist/cdn/{CGJFV7RC.js → SNYTROMC.js} +2 -2
- package/dist/cdn/{3T2O7NUV.js → SRAOUBKB.js} +1 -1
- package/dist/cdn/{PVQQTXL7.js → SVJHSHJO.js} +2 -2
- package/dist/cdn/{MDKYM3IA.js → SVOPWKZ7.js} +2 -2
- package/dist/cdn/{VCJXO3QG.js → SWTVJXVH.js} +1 -1
- package/dist/cdn/{JALZR5WY.js → SYBEF6K4.js} +2 -2
- package/dist/cdn/SZEBDGPL.js +4 -0
- package/dist/cdn/{4BKR62IC.js → T2SHWUJU.js} +2 -2
- package/dist/cdn/{MULCQMSH.js → T7R6C644.js} +2 -2
- package/dist/cdn/{EEBMCROU.js → TBGXCN4Y.js} +2 -2
- package/dist/cdn/TFYPM4OA.js +4 -0
- package/dist/cdn/{3U7N3IWM.js → TJISIJHC.js} +2 -2
- package/dist/cdn/{WYENCUGJ.js → TLRNKE62.js} +2 -2
- package/dist/cdn/{OZOGQMK3.js → TTRJ5CWU.js} +2 -2
- package/dist/cdn/{UPSY6F76.js → TU3CSFJD.js} +2 -2
- package/dist/cdn/TW3W5D5Z.js +4 -0
- package/dist/cdn/TXOHDU2X.js +18 -0
- package/dist/cdn/{2XVLUJAK.js → TZX3DJRS.js} +2 -2
- package/dist/cdn/{DAPORVIV.js → U65IWACU.js} +2 -2
- package/dist/cdn/{TU66IWII.js → U6E4MGA2.js} +2 -2
- package/dist/cdn/{T2E6XQL7.js → U6QU5AWC.js} +2 -2
- package/dist/cdn/{H5OYFPQ2.js → U7G6QCWK.js} +2 -2
- package/dist/cdn/{WW7WU5U3.js → UBEYAABT.js} +2 -2
- package/dist/cdn/{DF7GLOYY.js → UBM654NG.js} +2 -2
- package/dist/cdn/{5QZKRUQ7.js → UCKLWKND.js} +2 -2
- package/dist/cdn/{N36BQC66.js → UEE7MT2U.js} +2 -2
- package/dist/cdn/{GF77TENZ.js → UG5AARWL.js} +2 -2
- package/dist/cdn/{JQRYRWLD.js → UKCG2GCK.js} +2 -2
- package/dist/cdn/{7B3SIEBP.js → UNYPWENM.js} +2 -2
- package/dist/cdn/{S6ZBWBL3.js → UOGJGCZD.js} +2 -2
- package/dist/cdn/{KDVFFXU7.js → UPWMPL5L.js} +2 -2
- package/dist/cdn/{324ZDJBR.js → UV7ZLM4H.js} +1 -1
- package/dist/cdn/{RWMBL7L7.js → UYM5IUGW.js} +2 -2
- package/dist/cdn/{WH64AKQW.js → UYXL2VZ3.js} +2 -2
- package/dist/cdn/{IYBF72YG.js → VA6FV427.js} +2 -2
- package/dist/cdn/{L5Z7XJTH.js → VD5E2IZ5.js} +2 -2
- package/dist/cdn/{SMCV2SK5.js → VHRWYTD2.js} +2 -2
- package/dist/cdn/{KULFSFX2.js → VISRN5TF.js} +1 -1
- package/dist/cdn/{N5QB5MLB.js → VQCKHS53.js} +1 -1
- package/dist/cdn/{OPRT5PGD.js → VWJBKQOG.js} +2 -2
- package/dist/cdn/{GEBGZYZ4.js → VYTM5YU5.js} +2 -2
- package/dist/cdn/{KTVARFQK.js → W4ZT6LNS.js} +2 -2
- package/dist/cdn/{RJIJ4XS2.js → WFMWOZHV.js} +1 -1
- package/dist/cdn/{7WB2V7EC.js → WG27ANNL.js} +2 -2
- package/dist/cdn/{5BB4FMT7.js → WG45HABN.js} +2 -2
- package/dist/cdn/{Z563KGJ5.js → WIBJDSCB.js} +2 -2
- package/dist/cdn/{U74VGJ3T.js → WJE2COKA.js} +2 -2
- package/dist/cdn/{325K5D3X.js → X5WCK4PL.js} +2 -2
- package/dist/cdn/{5NTTXYVC.js → X6EKAG3F.js} +2 -2
- package/dist/cdn/{WO56KW63.js → XILH5SAW.js} +2 -2
- package/dist/cdn/{NNVYIBOE.js → XPTUWU57.js} +2 -2
- package/dist/cdn/{JOF7K3IJ.js → XW65OD5F.js} +1 -1
- package/dist/cdn/{SO4DF5HM.js → Y2TV3JE6.js} +2 -2
- package/dist/cdn/{LWBW2FOF.js → YBKY3MCJ.js} +2 -2
- package/dist/cdn/{EQV2JVUX.js → YEAPMC5O.js} +1 -1
- package/dist/cdn/{R4WTGITD.js → YJAZPAWN.js} +2 -2
- package/dist/cdn/{R4RV3EYA.js → YMZL25P6.js} +2 -2
- package/dist/cdn/YMZWPY25.js +4 -0
- package/dist/cdn/{A5MZMHN3.js → YRBRJ6IE.js} +2 -2
- package/dist/cdn/{ORXVHEHN.js → YT7ZIYXB.js} +2 -2
- package/dist/cdn/{G6QU7N46.js → YV2CCNLP.js} +2 -2
- package/dist/cdn/{LCDSUUY7.js → ZEGVRJQ4.js} +2 -2
- package/dist/cdn/{GEISZXPD.js → ZGMAK57M.js} +1 -1
- package/dist/cdn/{FFU4WRS2.js → ZIHEWLDS.js} +2 -2
- package/dist/cdn/{NJVLWYYW.js → ZNGYXE52.js} +1 -1
- package/dist/cdn/{XXTUAYVD.js → ZRKEB46V.js} +2 -2
- package/dist/cdn/{QH3NYN25.js → ZT2STLII.js} +2 -2
- package/dist/cdn/{U2GKHB5F.js → ZVRKMDOD.js} +4 -4
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.d.ts +3 -0
- package/dist/components/solutions-all-shell/customElement.js +42 -24
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.d.ts +3 -0
- package/dist/components/solutions-deployed-shell/customElement.js +42 -24
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +33 -1
- package/dist/docs/docs.json +45 -1
- package/dist/docs/web-types.json +11 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cdn/AVPRAXDB.js +0 -4
- package/dist/cdn/KMAVMHTP.js +0 -4
- package/dist/cdn/KYB3LCAD.js +0 -4
- package/dist/cdn/LCT3D3H4.js +0 -4
- package/dist/cdn/LVSGI3AI.js +0 -18
- package/dist/cdn/MKSQHH57.js +0 -4
- package/dist/cdn/NVD7KBCE.js +0 -4
- package/dist/cdn/SU5VMGSN.js +0 -4
- package/dist/cdn/UUOHSP2M.js +0 -4
- package/dist/cdn/V3ZTHML6.js +0 -18
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as n}from"./7FWIZG5Z.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as i}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as i}from"./7FWIZG5Z.js";import{a as s,c as l,d as r}from"./UYM5IUGW.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as y}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as y}from"./OABISKTH.js";import{a as d}from"./WJE2COKA.js";import{a as E}from"./PZCGP7VV.js";import{a as s}from"./LHAMRSSH.js";import{a as n}from"./WG27ANNL.js";import{a}from"./F2NI2IXH.js";import{a as l}from"./UYXL2VZ3.js";import{a as e}from"./AXUGVBHF.js";import{a as v}from"./LOWPGRBM.js";import{a as r}from"./2GZOS2KK.js";import{a as t}from"./EZGI72AV.js";import{a as i}from"./BOK5NUWK.js";import{a as p}from"./SAGIFLGH.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250805 */
|
4
4
|
var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h as c};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{g as s}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{g as s}from"./G4Y7NNVO.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as h,c as m}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{b as h,c as m}from"./FJ5KMDPD.js";import{mb as f}from"./ZIHEWLDS.js";import"./ZNGYXE52.js";import"./XPTUWU57.js";import"./BXGDO7U6.js";import"./X5WCK4PL.js";import"./3LO343UW.js";import"./XW65OD5F.js";import"./PQ3T3ICE.js";import"./AJPSBMVC.js";import"./ZGMAK57M.js";import"./VISRN5TF.js";import"./HWMVPAK3.js";import"./UYM5IUGW.js";import"./C26S3PRR.js";import"./BMCLDOUD.js";import"./L22H5MXZ.js";import"./EGBZLRDM.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import"./JGZZZZNQ.js";import{a as p}from"./LKTJBKGS.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{b as d}from"./BMVSAQBC.js";import{h as c,i as s,n as a,w as o,x as n,y as u}from"./QXM5FILZ.js";import"./SWTVJXVH.js";var _=c`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250805 */
|
4
4
|
var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{la as n,na as a,pa as m}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{la as n,na as a,pa as m}from"./ZIHEWLDS.js";async function u(o,i){let s=await m(o,i);if(!s)throw new Error(`Solution ${o} was not found`);let r=i?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",p=[];if(s.templates[0].item)p=s.templates.map(t=>({id:t.itemId,title:t.item.title,type:t.item.type,typeKeywords:t.item.typeKeywords,dependencies:t.dependencies,snippet:t.item.snippet}));else{let t=s.templates.map(e=>e.type==="Group"?n(e.itemId,i):a(e.itemId,i));p=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value).map((e,d)=>{let l=typeof e.type>"u"?"group":"item";return{id:e.id,title:e.title,type:e.type??"Group",typeKeywords:e.typeKeywords,dependencies:s.templates[d].dependencies,snippet:e.snippet,url:`${r}/home/${l}.html?id=${e.id}`}})}return p}export{u as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as t}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as t}from"./Q3EL3SKK.js";import{r as e}from"./QXM5FILZ.js";var a=e(t,{"instant-apps-app-guide":[()=>import("./HO62DINJ.js"),"data:,header"],"instant-apps-control-panel":[()=>import("./RV4AOYNF.js"),"components:,view:"],"instant-apps-create":[()=>import("./DR7W375Q.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./U6E4MGA2.js"),"beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./QJU2CXDM.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./RKLYOTRA.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./LRAFDTRN.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./4E2DDRVF.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./VYTM5YU5.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./RBBBKVTL.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./ZT2STLII.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./J72AO3O5.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./5HTY24LH.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./P5EMX3K3.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./EJJ6FMDK.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./2ZLOSH7Y.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./SYBEF6K4.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./HA2CQHWG.js"),"view:"],"instant-apps-landing-page":[()=>import("./FZXSPOZS.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./LQKSTVYS.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./6X7BRMEU.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./N2W4KKO3.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-item":[()=>import("./AF7FDKVX.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./F4H2XOM2.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./BBL4ZXCQ.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./WIBJDSCB.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./OQPBJDKU.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./HPTSWBMV.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./KJDK64I4.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./C4HKMYF3.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./ZRKEB46V.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./C27D5LN3.js"),"closeButtonDisabled,content,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./QEHMVIZA.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as B,c as F}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as B,c as F}from"./C73VYQKJ.js";import h from"./AQNIHDKY.js";import e from"./HUPM3KUY.js";import{a as O}from"./RIMQH6RB.js";import{a as U,b as N}from"./SRAOUBKB.js";import c from"./7542BUDO.js";import{a as y,c as C,d as D,e as E}from"./FJ5KMDPD.js";import{H as m,J as b,K as L,c as k,pa as I,xb as T,yb as A}from"./ZIHEWLDS.js";import"./ZNGYXE52.js";import"./XPTUWU57.js";import"./BXGDO7U6.js";import"./X5WCK4PL.js";import"./3LO343UW.js";import"./XW65OD5F.js";import"./PQ3T3ICE.js";import"./AJPSBMVC.js";import"./ZGMAK57M.js";import"./VISRN5TF.js";import"./HWMVPAK3.js";import"./UYM5IUGW.js";import"./C26S3PRR.js";import{k as M}from"./BMCLDOUD.js";import"./L22H5MXZ.js";import"./EGBZLRDM.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import"./JGZZZZNQ.js";import{n as d,o as v}from"./QRBPOHQZ.js";import{a as S}from"./LKTJBKGS.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{b as R}from"./BMVSAQBC.js";import{A as p,B as P,C as _,h as $,i as a,n as f,w as u,x as g,y as x}from"./QXM5FILZ.js";import"./SWTVJXVH.js";export default $arcgis.t(([{b:H},Y,{b:V,c:q}])=>{var K=$`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import"./UV7ZLM4H.js";import{b as A}from"./ZVRKMDOD.js";import"./ZIHEWLDS.js";import"./ZNGYXE52.js";import"./XPTUWU57.js";import"./BXGDO7U6.js";import"./X5WCK4PL.js";import"./3LO343UW.js";import"./XW65OD5F.js";import"./PQ3T3ICE.js";import"./AJPSBMVC.js";import"./ZGMAK57M.js";import"./VISRN5TF.js";import"./HWMVPAK3.js";import"./UYM5IUGW.js";import"./C26S3PRR.js";import"./BMCLDOUD.js";import"./L22H5MXZ.js";import"./EGBZLRDM.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import"./JGZZZZNQ.js";import"./FSZIWGYJ.js";import{a as C}from"./JYI7HSND.js";import"./MHWX3HRT.js";import"./Q3EL3SKK.js";import{c as F,d as O,j as y}from"./ANRBD6PG.js";import{j as b}from"./QRBPOHQZ.js";import{c as S}from"./HKRCU4W3.js";import{b as E}from"./QANDE5GX.js";import{a as x}from"./LKTJBKGS.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{b as T}from"./BMVSAQBC.js";import{A as f,h as w,i as o,k as c,n as p,q as I,w as u,x as g,y as v}from"./QXM5FILZ.js";import"./SWTVJXVH.js";var H=w`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as m}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as m}from"./2J6B6MYD.js";import{a as f}from"./AJPSBMVC.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as d}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as d}from"./LKTJBKGS.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{b as o}from"./BMVSAQBC.js";import{h as l,i as e,k as n,n as t,y as a}from"./QXM5FILZ.js";import"./SWTVJXVH.js";var h=l`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{b}from"./QANDE5GX.js";import{a as f}from"./LKTJBKGS.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{b as u}from"./BMVSAQBC.js";import{A as o,h as _,i as h,k as c,w as l,x as a,y as w}from"./QXM5FILZ.js";import"./SWTVJXVH.js";var $=_`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as w}from"./N36BQC66.js";import{a as M}from"./5NTTXYVC.js";import{C as T,b as v,c as F,z as P}from"./IQ3QEMBR.js";import{a as q}from"./N2FATTDH.js";import{b as S}from"./67N2QUDS.js";import"./KTVARFQK.js";import"./L5Z7XJTH.js";import{A as y,h as E,i as h,k as $,n as U,y as k}from"./7TAQ5RIA.js";import"./VCJXO3QG.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as w}from"./UEE7MT2U.js";import{a as M}from"./X6EKAG3F.js";import{C as T,b as v,c as F,z as P}from"./G4Y7NNVO.js";import{a as q}from"./HNW4XU3G.js";import{b as S}from"./Q3EL3SKK.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{A as y,h as E,i as h,k as $,n as U,y as k}from"./QXM5FILZ.js";import"./SWTVJXVH.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{k as a}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{k as a}from"./AJPSBMVC.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import"./SWTVJXVH.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{b as e,e as r}from"./E6VM5GOR.js";import"./QVC6WY2U.js";import"./K7ZCGDMP.js";import"./3JQ57R5L.js";import{c as t}from"./2J6B6MYD.js";import"./3LO343UW.js";import"./O57WNQKN.js";import"./AJPSBMVC.js";import"./ZGMAK57M.js";import"./VISRN5TF.js";import"./HWMVPAK3.js";import"./C26S3PRR.js";import"./BMCLDOUD.js";import"./L22H5MXZ.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import"./JGZZZZNQ.js";import"./SWTVJXVH.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{e as w}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{e as w}from"./ANRBD6PG.js";import"./QRBPOHQZ.js";import"./HKRCU4W3.js";import{b as m}from"./QANDE5GX.js";import{a as _}from"./LKTJBKGS.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{b as g}from"./BMVSAQBC.js";import{A as n,h,i as o,n as s,q as d,w as l,x as c,y as p}from"./QXM5FILZ.js";import"./SWTVJXVH.js";var f=h`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as o}from"./72A27AFF.js";import{d as r}from"./C26S3PRR.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import{a as s}from"./JFRS4VIJ.js";import"./OABISKTH.js";import"./JGZZZZNQ.js";import"./WJE2COKA.js";import"./PZCGP7VV.js";import"./LHAMRSSH.js";import"./WG27ANNL.js";import"./F2NI2IXH.js";import"./UYXL2VZ3.js";import"./AXUGVBHF.js";import"./2SKQ276W.js";import"./VWJBKQOG.js";import"./EYB7XSNU.js";import"./LOWPGRBM.js";import"./2GZOS2KK.js";import"./EZGI72AV.js";import"./GGUYX23F.js";import"./GBPL4KQS.js";import"./BOK5NUWK.js";import"./SAGIFLGH.js";import"./UKCG2GCK.js";import"./NBDFFPCF.js";import"./VQCKHS53.js";import"./SWTVJXVH.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as I,c as b,d as v}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{b as I,c as b,d as v}from"./76DEPMZ5.js";import{a as i}from"./AG6GYAFP.js";import"./YEAPMC5O.js";import"./ZIHEWLDS.js";import"./ZNGYXE52.js";import"./XPTUWU57.js";import"./BXGDO7U6.js";import"./X5WCK4PL.js";import"./3LO343UW.js";import"./XW65OD5F.js";import"./PQ3T3ICE.js";import"./AJPSBMVC.js";import"./ZGMAK57M.js";import"./VISRN5TF.js";import"./HWMVPAK3.js";import"./UYM5IUGW.js";import"./C26S3PRR.js";import"./BMCLDOUD.js";import{g as a}from"./L22H5MXZ.js";import"./EGBZLRDM.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import"./JGZZZZNQ.js";import{a as n}from"./UEE7MT2U.js";import"./QRBPOHQZ.js";import{a as g}from"./LKTJBKGS.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{b as _}from"./BMVSAQBC.js";import{A as m,h as c,i as o,k as r,q as u,w as d,x as p,y as f}from"./QXM5FILZ.js";import"./SWTVJXVH.js";var y=c`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as o}from"./72A27AFF.js";import{d as r}from"./C26S3PRR.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import{a as s}from"./JFRS4VIJ.js";import"./OABISKTH.js";import"./JGZZZZNQ.js";import"./WJE2COKA.js";import"./PZCGP7VV.js";import"./LHAMRSSH.js";import"./WG27ANNL.js";import"./F2NI2IXH.js";import"./UYXL2VZ3.js";import"./AXUGVBHF.js";import"./2SKQ276W.js";import"./VWJBKQOG.js";import"./EYB7XSNU.js";import"./LOWPGRBM.js";import"./2GZOS2KK.js";import"./EZGI72AV.js";import"./GGUYX23F.js";import"./GBPL4KQS.js";import"./BOK5NUWK.js";import"./SAGIFLGH.js";import"./UKCG2GCK.js";import"./NBDFFPCF.js";import"./VQCKHS53.js";import"./SWTVJXVH.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250805 */
|
4
4
|
function V(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 F(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 M(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 Q(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>Q(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function T(r){let e=M(r);return Object.keys(e).map(t=>Q(t,e[t])).join("&")}var X=globalThis.FormData,Oe=globalThis.File,Re=globalThis.Blob;function Y(r,e){let t=F(r)||e,n=M(r);if(t){let o=new X;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 k=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}};var de={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},G="ARCGIS_REST_JS_NO_CORS";globalThis[G]||(globalThis[G]=Object.assign({},de));var g=globalThis[G];function B(r){let e=new URL(r);r=e.origin+e.pathname,e.search.includes("f=json")&&(r+="?f=json");let t=e.origin;return g.pendingNoCorsRequests[t]?g.pendingNoCorsRequests[t]:(g.pendingNoCorsRequests[t]=fetch(r,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{g.noCorsDomains.indexOf(t)===-1&&g.noCorsDomains.push(t),g.crossOriginNoCorsDomains[t.toLowerCase()]=Date.now(),delete g.pendingNoCorsRequests[t]}).catch(n=>(delete g.pendingNoCorsRequests[t],Promise.reject(new Error(`no-cors request to ${t} failed`)))),g.pendingNoCorsRequests[t])}function Z(r){r.forEach(e=>{e=e.toLowerCase(),/^https?:\/\//.test(e)?L(e):(L("http://"+e),L("https://"+e))})}function L(r){let t=new URL(r).origin;g.noCorsDomains.indexOf(t)===-1&&g.noCorsDomains.push(t)}function z(r){let e=!1;if(g.noCorsDomains.length){let t=new URL(r).origin.toLowerCase();e=g.noCorsDomains.some(n=>t.includes(n))}return e}function ee(r){let e=!1;if(z(r)){let t=new URL(r).origin.toLowerCase(),n=g.crossOriginNoCorsDomains[t]||0;Date.now()-60*6e4>n&&(e=!0)}return e}function te(r){console&&console.warn&&console.warn.apply(console,[r])}function re(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ne(r,e){var t;if(!e&&!window||!r)return!1;{e=e||window;let n=(t=e.location)===null||t===void 0?void 0:t.origin;return r.startsWith(n)}}var J="@esri/arcgis-rest-js";function me(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends k{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 oe(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 ge(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new k(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 A(s,u,r,e,n):new k(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 k(s,i,r,e,n)}return r}function oe(r,e){let t=me(),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"};z(r)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let E;if(typeof n.authentication=="string"){let c=n.authentication;E={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&&(te("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 E=n.authentication;let p=r,d=!1;typeof window<"u"&&(d=ne(r));let R=!d&&ee(r);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return R&&(u.credentials="include",S=B(r)),S.then(()=>E?E.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),E&&E.getDomainCredentials&&(u.credentials=E.getDomainCredentials(r));let l={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let b=T(i)===""?r:r+"?"+T(i);n.maxUrlLength&&b.length>n.maxUrlLength||!n.maxUrlLength&&b.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete l["X-Esri-Authorization"])):r=b}let m=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=Y(i,m)),u.headers=Object.assign(Object.assign({},l),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=J),!F(i)&&!m&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):re().then(({fetch:h})=>h(r,u))}).then(c=>{if(!c.ok)return c.json().then(l=>{let{status:m,statusText:h}=c,{message:b,details:D}=l.error,v=`${b}. ${D?D.join(" "):""}`.trim();throw new k(v,`HTTP ${m} ${h}`,l,r,n)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:m,statusText:h}=c;throw new k(h,`HTTP ${m}`,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 l=ge(c,p,i,n,a);if(c&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(r)&&Array.isArray(c.authorizedCrossOriginNoCorsDomains)&&Z(c.authorizedCrossOriginNoCorsDomains),a){let m=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[m]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return l}else return c})}function f(r,e={params:{f:"json"}}){let{request:t}=e,n=V(e,["request"]);return t?t(r,n):oe(r,n).catch(o=>o instanceof A&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function we(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function se(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=we(t);return e[n]=o,e},{})}var ie=300*1e3;function C(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-ie),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-ie)),o})}function w(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var q=/^https?:\/\/(\S+)\.arcgis\.com.+/;function ae(r){return q.test(r)}function Ee(r){if(!q.test(r))return r;switch(H(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 H(r){if(!q.test(r))return null;let t=r.match(q)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ce(r,e){let t=w(Ee(e)).replace(/https?:\/\//,""),n=w(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function ue(r,e){let t=ae(r),n=ae(e),o=H(r),s=H(e);return!!(t&&n&&o===s)}function le(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 rt(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 N=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 he;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(he||(he={}));var P=class{constructor(e){this.portal=e.portal?w(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 K;(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"})(K||(K={}));function fe(r){let e=`${w(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 k("Unable to revoke token",500,s,e,o);return s})}function $(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function pe(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=>$(new Uint8Array(o),e))}return Promise.resolve(null)}function W(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return $(e)}function _e(r){return typeof r.userId=="string"||typeof r.expires=="number"}var O=class r extends P{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?w(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:E,locale:p,params:d,style:R,pkce:S,state:c}=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),l=c||W(t),m=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(m,l);let h=`${w(n)}/oauth2/authorize`,b={client_id:s,response_type:S?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:l,originalUrl:t.location.href}),locale:p,style:R};o!=="arcgis"&&(h=`${w(n)}/oauth2/social/authorize`,b.socialLoginProviderName=o,b.autoAccountCreateForSocial=!0);let D;if(S){let v=W(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,v),D=pe(v,t).then(function(_){b.code_challenge_method=_?"S256":"plain",b.code_challenge=_||v})}else D=Promise.resolve();return D.then(()=>{if(h=`${h}?${T(b)}`,d&&(h=`${h}&${T(d)}`),u)return new Promise((v,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new N;return U(j),j}if(_.detail.errorMessage){let j=new A(_.detail.errorMessage,_.detail.error);return U(j),j}v(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(h,"oauth-window",E),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=h})}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}`,E=t.localStorage.getItem(u),p=se(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),d=p&&p.state?JSON.parse(p.state):void 0;function R(c,l,m){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:l,errorMessage:c}})),t.close();return}return m&&t.history.replaceState(t.history.state,"",m),l==="access_denied"?Promise.reject(new N):Promise.reject(new A(c,l))}function S(c,l){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},c)})),t.close();return}return t.history.replaceState(t.history.state,"",l),new r({clientId:o,portal:n,ssl:c.ssl,token:c.token,tokenExpires:c.expires,username:c.username,refreshToken:c.refreshToken,refreshTokenExpires:c.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!E||!d)return R("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==E)return R("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let c=p.error,l=p.error_description||"Unknown error";return R(l,c,d.originalUrl)}if(i&&p.code){let c=w(`${n}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,m=t.localStorage.getItem(l);return t.localStorage.removeItem(l),C(c,{httpMethod:"POST",params:{client_id:o,code_verifier:m,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:p.code}}).then(h=>S(Object.assign(Object.assign({},h),d),d.originalUrl)).catch(h=>R(h.originalMessage,h.code,d.originalUrl))}return!i&&p.access_token?Promise.resolve(S(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},d),d.originalUrl)):R("Unknown error","oauth-error",d.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 E=`${n}/oauth2/authorize?${T(u)}`;t.writeHead(301,{Location:E}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return C(`${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:w(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 _e(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 fe({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 ue(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=>le(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]=w(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(ce(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:J};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 C(`${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 C(`${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 I(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new O(r)}I.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),O.beginOAuth2(...r)};I.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`."),O.completeOAuth2(...r)};I.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),O.fromParent(...r)};I.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),O.authorize(...r)};I.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),O.exchangeAuthorizationCode(...r)};I.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."),O.fromCredential(...r)};I.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),O.deserialize(...r)};export{Y as a,te as b,A as c,f as d,rt as e,w as f,O as g};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as e}from"./UKCG2GCK.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import"./SWTVJXVH.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as r}from"./W4ZT6LNS.js";import{c as o}from"./BMVSAQBC.js";var s=r(o);export{s as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a}from"./OG2QO65R.js";import{a as l,b as r}from"./JFF5GUX5.js";import"./7FWIZG5Z.js";import"./UYM5IUGW.js";import{d as i}from"./C26S3PRR.js";import"./L22H5MXZ.js";import"./EGBZLRDM.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import{a as t}from"./JFRS4VIJ.js";import"./OABISKTH.js";import"./JGZZZZNQ.js";import"./WJE2COKA.js";import"./PZCGP7VV.js";import"./LHAMRSSH.js";import"./WG27ANNL.js";import"./F2NI2IXH.js";import"./UYXL2VZ3.js";import"./AXUGVBHF.js";import"./2SKQ276W.js";import"./VWJBKQOG.js";import"./EYB7XSNU.js";import"./LOWPGRBM.js";import"./2GZOS2KK.js";import"./EZGI72AV.js";import"./GGUYX23F.js";import"./GBPL4KQS.js";import"./BOK5NUWK.js";import"./SAGIFLGH.js";import"./UKCG2GCK.js";import"./NBDFFPCF.js";import"./VQCKHS53.js";import"./SWTVJXVH.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as o}from"./QVC6WY2U.js";import{b as l}from"./JGZZZZNQ.js";import"./SWTVJXVH.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250805 */
|
4
4
|
var e=["hub:user:settings"],t={type:"object",properties:{settings:{type:"object",properties:{features:{type:"object",properties:{workspace:{type:"boolean",default:!0}}}}},hubOrgSettings:{type:"object",properties:{showInformationalBanner:{type:"boolean",default:!1},enableTermsAndConditions:{type:"boolean",default:!1},termsAndConditions:{type:"string",default:""},enableSignupText:{type:"boolean",default:!1},signupText:{type:"string",default:""}}}}};export{e as a,t as b};
|