@esri/solutions-components 1.0.0-next.20250521 → 1.0.0-next.20250527
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{components/solutions-all-shell/assets → assets/config}/appConfig.json.d.ts +2 -2
- package/dist/cdn/{RVOXAFUD.js → 25JX6PU3.js} +2 -2
- package/dist/cdn/{U7X224JI.js → 2CR5YP5T.js} +2 -2
- package/dist/cdn/{AEBIJJDB.js → 2FPSFYMR.js} +2 -2
- package/dist/cdn/{H7MMUDQA.js → 2FR3WWO6.js} +2 -2
- package/dist/cdn/2OAMBM74.js +4 -0
- package/dist/cdn/{7LT3YMUL.js → 3A4PIGXU.js} +2 -2
- package/dist/cdn/{RBUZ7BMT.js → 3BSQVMIG.js} +2 -2
- package/dist/cdn/{VBJ6UGFM.js → 44RI6E5S.js} +2 -2
- package/dist/cdn/{CNNGW5MH.js → 46S7SJ4W.js} +1 -1
- package/dist/cdn/{7F7OU5LY.js → 4DEUX5UD.js} +2 -2
- package/dist/cdn/{SV73C7FZ.js → 4PKBB5DI.js} +1 -1
- package/dist/cdn/{PGON6AUG.js → 4S4I2WWJ.js} +2 -2
- package/dist/cdn/{XP2DPI47.js → 4VEVP7VR.js} +2 -2
- package/dist/cdn/{WV2NFXS4.js → 537RGAI2.js} +2 -2
- package/dist/cdn/{27VZRIN5.js → 5BZMMIGZ.js} +2 -2
- package/dist/cdn/{Y5GMJUNS.js → 5IN5TCHB.js} +2 -2
- package/dist/cdn/{GCYQ6YCF.js → 5JR6OKML.js} +2 -2
- package/dist/cdn/{LWTWMRMU.js → 5QKSZ4OI.js} +2 -2
- package/dist/cdn/{M7HKGN5F.js → 5SDXXIBS.js} +2 -2
- package/dist/cdn/{DWFC2YA2.js → 5TCI4UUE.js} +2 -2
- package/dist/cdn/{6DOZYB66.js → 5TYU5CYW.js} +2 -2
- package/dist/cdn/{2K7DGSFB.js → 5UDBH3AJ.js} +2 -2
- package/dist/cdn/{C2E3A23D.js → 5V2ALVQG.js} +2 -2
- package/dist/cdn/{H2S3BYD2.js → 5VZIXTV2.js} +1 -1
- package/dist/cdn/{VGZGGNPC.js → 63VMIWOD.js} +2 -2
- package/dist/cdn/{T2JUS4TO.js → 64JCPDPG.js} +1 -1
- package/dist/cdn/{ZUNWS4PF.js → 6J7BXCVQ.js} +1 -1
- package/dist/cdn/{VIYZL3B7.js → 6LNJ6PAK.js} +2 -2
- package/dist/cdn/{4Z26DFOL.js → 6O7AHIQD.js} +2 -2
- package/dist/cdn/{LRP67MH5.js → 6SBCRAD2.js} +2 -2
- package/dist/cdn/{Q57FIV26.js → 6UHZHKBX.js} +2 -2
- package/dist/cdn/{6E4ERRKW.js → 6UJMA4B7.js} +1 -1
- package/dist/cdn/{QDI6ECEG.js → 6X7IR5JR.js} +2 -2
- package/dist/cdn/{VWQY7M2H.js → 7U3JDJ6D.js} +1 -1
- package/dist/cdn/{GO5RRYI6.js → 7VJ6VE65.js} +2 -2
- package/dist/cdn/{YMZI2I7I.js → 7Z6THPNR.js} +2 -2
- package/dist/cdn/{XJ4IACYP.js → A7A3AQBP.js} +2 -2
- package/dist/cdn/{2RRWLFYL.js → AGHLWJCI.js} +2 -2
- package/dist/cdn/{EBNAV3Y7.js → AIAURVDF.js} +2 -2
- package/dist/cdn/{VHRYIIEE.js → ALJDMHRR.js} +1 -1
- package/dist/cdn/{LTJRIZ42.js → ANUWXCJE.js} +2 -2
- package/dist/cdn/{2BAANPWO.js → AOTMR5JH.js} +2 -2
- package/dist/cdn/{HEIPP7RV.js → APXPR3UA.js} +2 -2
- package/dist/cdn/{IUOYLDK2.js → AST5SYZZ.js} +2 -2
- package/dist/cdn/{YYUD7YK5.js → AVGQ37VZ.js} +2 -2
- package/dist/cdn/{XCYELAZU.js → AXC7Q5YN.js} +2 -2
- package/dist/cdn/{6JBHPPCE.js → B5XNLTLN.js} +2 -2
- package/dist/cdn/{Y6BHXC2R.js → BBLUY3P6.js} +2 -2
- package/dist/cdn/{NMVGGIT5.js → BG42TE2C.js} +2 -2
- package/dist/cdn/{KKNWWLKQ.js → BHLQUDJE.js} +2 -2
- package/dist/cdn/{7Q35EK3R.js → BUKUYGGP.js} +1 -1
- package/dist/cdn/{AQWDAX6O.js → BWGMZL4P.js} +2 -2
- package/dist/cdn/{DQFWRA4G.js → BX7YA2BC.js} +2 -2
- package/dist/cdn/{7L6VHBLR.js → BXHY7M2I.js} +2 -2
- package/dist/cdn/{57ND4IBZ.js → BYOIV2MC.js} +2 -2
- package/dist/cdn/{CECW3E26.js → C44UX3EI.js} +2 -2
- package/dist/cdn/{OID7NDBF.js → C7SX5PIG.js} +2 -2
- package/dist/cdn/{HFRCYYXR.js → CAOIDDMV.js} +2 -2
- package/dist/cdn/{DAELPIWJ.js → CAPR2OBA.js} +2 -2
- package/dist/cdn/{7HCUEAV4.js → CNIL25LT.js} +2 -2
- package/dist/cdn/{RUUFDMAP.js → CPFZ7C7R.js} +2 -2
- package/dist/cdn/{4NN4MG2R.js → CRWYDAPO.js} +1 -1
- package/dist/cdn/{SW5IQ7XO.js → CXKBIPNN.js} +2 -2
- package/dist/cdn/{EJ6M46PY.js → CYCDBJBR.js} +2 -2
- package/dist/cdn/{YLP7M2HK.js → DCRNCJR3.js} +1 -1
- package/dist/cdn/{2ME5MQM2.js → DHCPRRPJ.js} +2 -2
- package/dist/cdn/{LVY3WUSX.js → DIWAGHL2.js} +2 -2
- package/dist/cdn/{GHF3VSYV.js → DJUGU6F3.js} +2 -2
- package/dist/cdn/{3APWL446.js → DPK5JP5Z.js} +2 -2
- package/dist/cdn/{VXPY22JC.js → DPNVOK37.js} +2 -2
- package/dist/cdn/{3DB3ODZ5.js → DQXSWU2C.js} +2 -2
- package/dist/cdn/{AB7YZSC4.js → E2RH7ORD.js} +1 -1
- package/dist/cdn/{ZJZZ27A4.js → E5LACIWR.js} +2 -2
- package/dist/cdn/{XL3QH5JD.js → EFAQK6LU.js} +2 -2
- package/dist/cdn/{CV35X56P.js → EVPML3KI.js} +2 -2
- package/dist/cdn/{WCPYDJKL.js → EWIDYPOD.js} +2 -2
- package/dist/cdn/{HK6GQTIP.js → F62R4ACI.js} +2 -2
- package/dist/cdn/{DBCECF2B.js → FAMQZBXX.js} +2 -2
- package/dist/cdn/{NKHXO7E3.js → FCCUMLZS.js} +2 -2
- package/dist/cdn/{2WHDR7EZ.js → FDS6BXSK.js} +2 -2
- package/dist/cdn/{SF4B7M4A.js → FDWSOFET.js} +2 -2
- package/dist/cdn/FEDM5I6K.js +18 -0
- package/dist/cdn/{K6CGYWKI.js → FG37V7AM.js} +2 -2
- package/dist/cdn/{FV4JCJSW.js → FK6PXAFK.js} +2 -2
- package/dist/cdn/FTUS3ZZD.js +18 -0
- package/dist/cdn/FVT5NB5I.js +4 -0
- package/dist/cdn/{ESV3CXI2.js → FX3UFEOX.js} +2 -2
- package/dist/cdn/{LPC72AFO.js → G4OVP2GL.js} +2 -2
- package/dist/cdn/{PKCZXRFD.js → GCOMYMDE.js} +1 -1
- package/dist/cdn/{S673JDUL.js → GG2O6M6F.js} +2 -2
- package/dist/cdn/{4RGGJHFA.js → GIZLPR4F.js} +2 -2
- package/dist/cdn/{DHYIQDTW.js → GLEU726R.js} +2 -2
- package/dist/cdn/{PACFBFZI.js → GNZLER6U.js} +1 -1
- package/dist/cdn/{TAJSNUTI.js → GRZ5ZWHL.js} +2 -2
- package/dist/cdn/{GHPQJY63.js → GSH3IQC7.js} +2 -2
- package/dist/cdn/{B35DEHBP.js → GTBF26FU.js} +2 -2
- package/dist/cdn/{YC2B6HXG.js → GW6GEGTU.js} +2 -2
- package/dist/cdn/{7BU4RNKA.js → GZUQL4BQ.js} +1 -1
- package/dist/cdn/{V6ARYYKV.js → HF3QJXW2.js} +2 -2
- package/dist/cdn/{XJMSVZRM.js → HMK3OJVH.js} +2 -2
- package/dist/cdn/{XS4B5XRB.js → HRYYLGCK.js} +2 -2
- package/dist/cdn/{YAPVS6P2.js → HTRK44BK.js} +2 -2
- package/dist/cdn/{E5SEWVK4.js → HWP7XSKU.js} +2 -2
- package/dist/cdn/{5PFKGFCK.js → HYP3LJUB.js} +2 -2
- package/dist/cdn/{LEGUC5TT.js → I5XFVPIL.js} +2 -2
- package/dist/cdn/{MNNJPYBV.js → I6ADTVPV.js} +1 -1
- package/dist/cdn/{U4HS5ENT.js → IEHPZCNW.js} +1 -1
- package/dist/cdn/{LYNNKR32.js → IILFAB4B.js} +2 -2
- package/dist/cdn/{WANZ57VI.js → IISFOSAT.js} +2 -2
- package/dist/cdn/{ZAER32FT.js → IS4PTDJ6.js} +2 -2
- package/dist/cdn/J3XMDBBQ.js +4 -0
- package/dist/cdn/{6UG7C3TR.js → JB3LMWPB.js} +2 -2
- package/dist/cdn/JCDOFY7S.js +4 -0
- package/dist/cdn/{LS72LBRH.js → JDEUATYQ.js} +1 -1
- package/dist/cdn/{2EXQ56RF.js → JFMG5CPF.js} +2 -2
- package/dist/cdn/{BFK5P4H6.js → JIDGAGLR.js} +2 -2
- package/dist/cdn/{VDUSHAW5.js → JIXASV3Y.js} +2 -2
- package/dist/cdn/{AVJL2GFG.js → JJFLJJVV.js} +2 -2
- package/dist/cdn/{KV6B4JKU.js → JJQY7KYC.js} +2 -2
- package/dist/cdn/{MZJP3FIW.js → JL3XW6D5.js} +2 -2
- package/dist/cdn/{W56OR4B5.js → JSXL76GE.js} +1 -1
- package/dist/cdn/{G3G55BG6.js → JTVVD77L.js} +2 -2
- package/dist/cdn/{F7QLLECP.js → JXPQTJK7.js} +2 -2
- package/dist/cdn/{ULRYUA62.js → K333B4K6.js} +2 -2
- package/dist/cdn/{Y2JLI2XM.js → K63JNYJV.js} +2 -2
- package/dist/cdn/KAX3GFY3.js +4 -0
- package/dist/cdn/{D56F66YP.js → KBHUDHV4.js} +2 -2
- package/dist/cdn/{JNJEU67D.js → KE7BGL2M.js} +1 -1
- package/dist/cdn/{3IGBLVGB.js → KEV7F3I7.js} +2 -2
- package/dist/cdn/{R6Q7LXCW.js → KKQCFG46.js} +2 -2
- package/dist/cdn/KLTKP44P.js +18 -0
- package/dist/cdn/{TKFYVUEB.js → KNGWUUE5.js} +2 -2
- package/dist/cdn/KQPNTN77.js +4 -0
- package/dist/cdn/{JCGTMHDX.js → KSWUZAKY.js} +2 -2
- package/dist/cdn/{2U2RXQXU.js → KZFCEPFO.js} +2 -2
- package/dist/cdn/{ONPYY5TZ.js → L2SSX7FR.js} +2 -2
- package/dist/cdn/{KJT2MUWI.js → L3MXQ3JY.js} +2 -2
- package/dist/cdn/{FJIAFDKB.js → L5OD2PRY.js} +2 -2
- package/dist/cdn/{2K22YMUV.js → LCATSOQE.js} +2 -2
- package/dist/cdn/{FA2YAWHF.js → LCYX3FH3.js} +2 -2
- package/dist/cdn/{SSNAJI27.js → LDW2HYY6.js} +1 -1
- package/dist/cdn/{GCCEX2EM.js → LERO6KZ3.js} +2 -2
- package/dist/cdn/{SXNJKD62.js → LH2OOZVN.js} +1 -1
- package/dist/cdn/{3F77DKKE.js → LIDCP5J3.js} +2 -2
- package/dist/cdn/{LWXXGZP2.js → LIHE32UV.js} +1 -1
- package/dist/cdn/{ROAC6LDL.js → LMZ4LEFD.js} +1 -1
- package/dist/cdn/{EM33S2YC.js → LQGK36AL.js} +2 -2
- package/dist/cdn/{EHSF2PHZ.js → LS4RJUFW.js} +2 -2
- package/dist/cdn/{ELTW2XEW.js → LSQLZC5R.js} +2 -2
- package/dist/cdn/{VPSKNEUJ.js → MAKHYGHW.js} +1 -1
- package/dist/cdn/{SWOLF6SR.js → MBSD4LFU.js} +2 -2
- package/dist/cdn/{LPVPGWBP.js → MDMSXOJI.js} +2 -2
- package/dist/cdn/{FCERBRLE.js → MHAFURF2.js} +2 -2
- package/dist/cdn/{2KD6DXZ7.js → MHM6LX52.js} +2 -2
- package/dist/cdn/{ACRGKPWC.js → MJQQWZ2I.js} +2 -2
- package/dist/cdn/{IWA7VN2A.js → MTZ7UR3K.js} +2 -2
- package/dist/cdn/{3HVW5UQM.js → MUMQOFEJ.js} +2 -2
- package/dist/cdn/{WQUL53Q5.js → MVWFRNDQ.js} +2 -2
- package/dist/cdn/MXUR2RDQ.js +4 -0
- package/dist/cdn/{DO6UOUZQ.js → N5SGBWA5.js} +2 -2
- package/dist/cdn/{NXSX7IHR.js → NA5P6M4G.js} +1 -1
- package/dist/cdn/{LNENTW73.js → NAYBTVB7.js} +2 -2
- package/dist/cdn/{Y6CIXH5E.js → NFJQ2Y5K.js} +2 -2
- package/dist/cdn/{O5IPTC4U.js → NIAHRYPX.js} +2 -2
- package/dist/cdn/{ZMEYP6O5.js → NIPSOKTV.js} +2 -2
- package/dist/cdn/{LSWZVOP2.js → NMFETHT2.js} +2 -2
- package/dist/cdn/{GMQ6DEY4.js → NNZOVLIE.js} +2 -2
- package/dist/cdn/{M5UYAWRE.js → NQ3SUJZP.js} +2 -2
- package/dist/cdn/{LZYYPD7R.js → NSD7QWT5.js} +2 -2
- package/dist/cdn/{O7I7OGXT.js → NTPMI2XK.js} +2 -2
- package/dist/cdn/{KHA6XWL7.js → NV7RQ6AS.js} +2 -2
- package/dist/cdn/{DQ5TSMZ4.js → NW6QJZPB.js} +2 -2
- package/dist/cdn/{6EIHODNG.js → NWQYXV7R.js} +1 -1
- package/dist/cdn/{MBUHNSTZ.js → O4FBWTRU.js} +4 -4
- package/dist/cdn/{WVT27UPL.js → OAIG3A5C.js} +2 -2
- package/dist/cdn/{ENAJZOXJ.js → ODQJCHUF.js} +2 -2
- package/dist/cdn/{WBQWHY3S.js → OEF5KO25.js} +2 -2
- package/dist/cdn/{DE3A5NJQ.js → OII6ULBO.js} +2 -2
- package/dist/cdn/{LLAYW4K7.js → OLMYFVXS.js} +2 -2
- package/dist/cdn/{K4FECCC2.js → OLX7SYQT.js} +2 -2
- package/dist/cdn/{DHBPFMCR.js → OMDZIRBF.js} +2 -2
- package/dist/cdn/{R75X3FLO.js → OOEQOO4R.js} +4 -4
- package/dist/cdn/{BY5Y2DNE.js → OU23PWPG.js} +2 -2
- package/dist/cdn/{5NFJ7RS2.js → OXMMTI72.js} +2 -2
- package/dist/cdn/{5QHR547V.js → OXSGOW5F.js} +2 -2
- package/dist/cdn/{YZ42HQYG.js → OZAC6527.js} +2 -2
- package/dist/cdn/{UYZXNOJX.js → P7DNXORC.js} +2 -2
- package/dist/cdn/{FF62NTPZ.js → PA4OX5AE.js} +2 -2
- package/dist/cdn/{KSL35IAB.js → PC4K557A.js} +2 -2
- package/dist/cdn/PDF537RL.js +4 -0
- package/dist/cdn/{2A2OCNEI.js → PFVETMVP.js} +2 -2
- package/dist/cdn/{T6TALN7D.js → PLOMKUYS.js} +2 -2
- package/dist/cdn/{KSA37XLR.js → PRMAOD3Y.js} +2 -2
- package/dist/cdn/{VCJJR4TK.js → PYTQBHHA.js} +2 -2
- package/dist/cdn/{CF3T2MF5.js → PZ2CELOG.js} +2 -2
- package/dist/cdn/{EIV3DXVX.js → Q2HLT5H7.js} +1 -1
- package/dist/cdn/{47G6FBO5.js → Q3JYAQZB.js} +2 -2
- package/dist/cdn/{BOUZ3FH6.js → Q7ET6ENS.js} +2 -2
- package/dist/cdn/QB2W5UUD.js +18 -0
- package/dist/cdn/{Q3TAJJU3.js → QIPEXDJZ.js} +2 -2
- package/dist/cdn/{MWD6GECG.js → QM2YR4NU.js} +2 -2
- package/dist/cdn/{Y3HZIU5J.js → QOT3V2NC.js} +2 -2
- package/dist/cdn/{7DTTJ6XF.js → QQ7X6CB7.js} +2 -2
- package/dist/cdn/{UXWDS6MR.js → QXSLNBB7.js} +2 -2
- package/dist/cdn/{LAQNZDRK.js → R7LQHAK6.js} +2 -2
- package/dist/cdn/{4JWQ7FCB.js → R7ZQ3AWG.js} +2 -2
- package/dist/cdn/{STGRFEM3.js → RAREZBUC.js} +2 -2
- package/dist/cdn/{SVS67XXF.js → RBV4DYA7.js} +2 -2
- package/dist/cdn/{3KG65DHY.js → REY2MYT4.js} +2 -2
- package/dist/cdn/{JD4I4FDB.js → RKQPPIVQ.js} +2 -2
- package/dist/cdn/{HFFKBS55.js → ROPLPM6H.js} +1 -1
- package/dist/cdn/{KI4AAB7Q.js → RP6G34AS.js} +2 -2
- package/dist/cdn/{KRFEYMMF.js → RWWI53WR.js} +1 -1
- package/dist/cdn/{EASKU6IL.js → S2JKF4KM.js} +2 -2
- package/dist/cdn/SF3CBIXU.js +18 -0
- package/dist/cdn/{J77NPQYU.js → SI2LQ7QK.js} +2 -2
- package/dist/cdn/{MGSEHG3F.js → SLRLJFCN.js} +2 -2
- package/dist/cdn/{Y37XTU24.js → SUM6FGHT.js} +2 -2
- package/dist/cdn/{LHV635NF.js → SYVF64KF.js} +2 -2
- package/dist/cdn/{U42JI37N.js → SZF3N6BX.js} +2 -2
- package/dist/cdn/{FHC7XWWV.js → T2KBMHNQ.js} +2 -2
- package/dist/cdn/{LVGSS7OM.js → TDH3SPXE.js} +2 -2
- package/dist/cdn/{KMXTJPWK.js → THLFRRBP.js} +2 -2
- package/dist/cdn/{FP46U5U5.js → TI2Y6JJI.js} +2 -2
- package/dist/cdn/{7Q5GFHJU.js → TJK3RWHW.js} +1 -1
- package/dist/cdn/{6K2KSAYP.js → TLJSKEF2.js} +2 -2
- package/dist/cdn/{IUH2VZXW.js → TQ4BYZJK.js} +2 -2
- package/dist/cdn/{IRUPQ64H.js → TUYT7BM6.js} +1 -1
- package/dist/cdn/{HQKHXY53.js → TXKGE7ZQ.js} +2 -2
- package/dist/cdn/{XSBEWAUF.js → U4LLR3MN.js} +2 -2
- package/dist/cdn/{QJKNCR6A.js → UMT5U2EI.js} +2 -2
- package/dist/cdn/{AC2LBIGW.js → UNVKZZCI.js} +2 -2
- package/dist/cdn/{HGOC6CO4.js → UQGEHP44.js} +2 -2
- package/dist/cdn/{U2LMZPFA.js → USDB7GLV.js} +2 -2
- package/dist/cdn/{7SVPCQNH.js → UVCZC4HS.js} +2 -2
- package/dist/cdn/{2SH4JASC.js → UW72AJWR.js} +2 -2
- package/dist/cdn/{RYK7QXBJ.js → V4Z3RSZX.js} +2 -2
- package/dist/cdn/{J5MCJSA4.js → V6MXF4ZU.js} +2 -2
- package/dist/cdn/{X6SDOZI2.js → VBFSJCXY.js} +2 -2
- package/dist/cdn/{S57CAXVX.js → VJS7MQRJ.js} +2 -2
- package/dist/cdn/{XDVUXKUA.js → VXMZHNM5.js} +1 -1
- package/dist/cdn/{IRV53C7Q.js → VXV6RF6H.js} +2 -2
- package/dist/cdn/{K75YNK4P.js → W5F5KJOV.js} +1 -1
- package/dist/cdn/{7GRMI52O.js → WBIR3R5J.js} +2 -2
- package/dist/cdn/{RZZEMAXG.js → WCOLYJKR.js} +2 -2
- package/dist/cdn/{EWLBN5NG.js → WEDSERWT.js} +2 -2
- package/dist/cdn/{YBF7SXFW.js → WIB266LQ.js} +2 -2
- package/dist/cdn/{VB6M2WNG.js → WKEWPVQS.js} +2 -2
- package/dist/cdn/{PKKTKHZX.js → WL6XGE7F.js} +2 -2
- package/dist/cdn/{QWYBS5JR.js → WUSTNVO6.js} +2 -2
- package/dist/cdn/{GVZAZ45P.js → X4ZR26LK.js} +1 -1
- package/dist/cdn/{CQBTEXB7.js → X6NR7NXP.js} +1 -1
- package/dist/cdn/{ZWBUELZ3.js → X77AXWEV.js} +2 -2
- package/dist/cdn/{G5LXVZNY.js → XC7P62BS.js} +2 -2
- package/dist/cdn/{M35BWF4P.js → XD5VDXU5.js} +2 -2
- package/dist/cdn/{LRS2MDCL.js → XDBUQLWI.js} +2 -2
- package/dist/cdn/{QQG5I4RW.js → XMPWXXAF.js} +2 -2
- package/dist/cdn/{MENGUY4H.js → XN42T3TF.js} +2 -2
- package/dist/cdn/XO7PUYQN.js +4 -0
- package/dist/cdn/{MVIN4223.js → XPY333GL.js} +2 -2
- package/dist/cdn/{4DWLBN6E.js → XUMWU7UL.js} +2 -2
- package/dist/cdn/{QUYGI4H7.js → XVUBWS3R.js} +2 -2
- package/dist/cdn/{U6PBNDHL.js → YGK4XFKQ.js} +1 -1
- package/dist/cdn/{XOABMMJJ.js → YHL3W2BR.js} +2 -2
- package/dist/cdn/{DYZR46J2.js → YHVV3MQK.js} +2 -2
- package/dist/cdn/{VBF5NJZP.js → YMDOT325.js} +2 -2
- package/dist/cdn/{XROLTWSS.js → YOEFZWD7.js} +1 -1
- package/dist/cdn/{EDF6RBKC.js → YPBPLW3U.js} +2 -2
- package/dist/cdn/{TDLJE5IW.js → YVZMTTO6.js} +2 -2
- package/dist/cdn/YWYAMPHA.js +18 -0
- package/dist/cdn/{TOAZF57I.js → ZJNFYOEQ.js} +2 -2
- package/dist/cdn/{WP7P5VNB.js → ZLIHWJKM.js} +1 -1
- package/dist/cdn/{KJJPTASW.js → ZLW7KZZA.js} +2 -2
- package/dist/cdn/{C2HR5NM7.js → ZN6K2475.js} +2 -2
- package/dist/cdn/ZQMBCL52.js +4 -0
- package/dist/cdn/{R6SL3N5H.js → ZS5IBKPP.js} +2 -2
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +249 -0
- package/dist/chunks/cardFetchingUtils.js +476 -0
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +21 -17
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +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 +10 -10
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +14 -14
- package/dist/components/refine-selection/customElement.js +2 -2
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-panel/customElement.d.ts +12 -0
- package/dist/components/solution-deploy-panel/customElement.js +44 -16
- package/dist/components/solution-deploy-panel/index.d.ts +10 -0
- package/dist/components/solution-deploy-panel/index.js +10 -0
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +2 -2
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.d.ts +2 -3
- package/dist/components/solutions-all-panel/customElement.js +84 -521
- package/dist/components/solutions-all-shell/customElement.d.ts +1 -0
- package/dist/components/solutions-all-shell/customElement.js +29 -24
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +54 -0
- package/dist/components/solutions-deployed-panel/customElement.js +66 -17
- package/dist/components/solutions-deployed-panel/index.d.ts +2 -0
- package/dist/components/solutions-deployed-panel/index.js +2 -0
- package/dist/components/solutions-deployed-shell/customElement.d.ts +19 -0
- package/dist/components/solutions-deployed-shell/customElement.js +111 -17
- package/dist/components/solutions-deployed-shell/index.d.ts +10 -0
- package/dist/components/solutions-deployed-shell/index.js +10 -0
- package/dist/components/solutions-filter-panel/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +660 -66
- package/dist/docs/docs.json +503 -15
- package/dist/docs/vscode.html-custom-data.json +105 -7
- package/dist/docs/web-types.json +207 -18
- package/dist/index.d.ts +31 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +6 -3
- package/dist/types/preact.d.ts +6 -3
- package/dist/types/react.d.ts +6 -3
- package/dist/types/stencil.d.ts +6 -3
- package/dist/utils/CardsFetcher.d.ts +5 -22
- package/dist/utils/cardFetchingUtils.d.ts +24 -0
- package/dist/utils/cardsHelpers.d.ts +2 -47
- package/dist/utils/helpers.d.ts +1 -21
- package/dist/utils/interfaces.d.ts +94 -1
- package/package.json +148 -147
- package/dist/cdn/2DP6OMTG.js +0 -4
- package/dist/cdn/4BDP4U52.js +0 -4
- package/dist/cdn/7ICACTIO.js +0 -4
- package/dist/cdn/BWISN2EI.js +0 -18
- package/dist/cdn/CS3QUAQD.js +0 -4
- package/dist/cdn/DOUWGSKA.js +0 -18
- package/dist/cdn/H5Q3K3Q6.js +0 -4
- package/dist/cdn/HCK4TVJU.js +0 -18
- package/dist/cdn/IONHPS7Z.js +0 -18
- package/dist/cdn/K5QZD6FH.js +0 -4
- package/dist/cdn/KE33RJNK.js +0 -18
- package/dist/cdn/NHJ7E4Q4.js +0 -4
- package/dist/cdn/TPBLXSTH.js +0 -18
- package/dist/cdn/XEJZXWBI.js +0 -4
- package/dist/cdn/assets/solutions-all-shell/appConfig.json +0 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as m}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as m}from"./3A4PIGXU.js";import{a as p}from"./AIAURVDF.js";import"./KBHUDHV4.js";import"./VXMZHNM5.js";import"./GZUQL4BQ.js";import"./ZLIHWJKM.js";import{a,b as n}from"./NFJQ2Y5K.js";import"./XUMWU7UL.js";import"./UQGEHP44.js";import{a as r}from"./FDS6BXSK.js";import{a as s}from"./WEDSERWT.js";import"./63VMIWOD.js";import"./LH2OOZVN.js";import"./YGK4XFKQ.js";import"./NWQYXV7R.js";import{a as i}from"./F62R4ACI.js";import"./5VZIXTV2.js";import"./PFVETMVP.js";import"./64JCPDPG.js";import"./ANUWXCJE.js";import"./B5XNLTLN.js";import"./NV7RQ6AS.js";import"./FX3UFEOX.js";import"./MHAFURF2.js";import"./MJQQWZ2I.js";import"./PC4K557A.js";import"./SZF3N6BX.js";import"./E2RH7ORD.js";import"./7VJ6VE65.js";import"./NA5P6M4G.js";import"./S2JKF4KM.js";import"./V4Z3RSZX.js";import"./SUM6FGHT.js";import"./CRWYDAPO.js";import"./DQXSWU2C.js";import"./QIPEXDJZ.js";import"./TUYT7BM6.js";import"./W5F5KJOV.js";import"./GNZLER6U.js";var g=async(e,t,l)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as b}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as b}from"./7U3JDJ6D.js";import{a}from"./MTZ7UR3K.js";import"./IEHPZCNW.js";import"./OOEQOO4R.js";import"./QOT3V2NC.js";import"./GZUQL4BQ.js";import"./63VMIWOD.js";import"./LH2OOZVN.js";import"./NWQYXV7R.js";import{h as l,i as h}from"./OU23PWPG.js";import{a as m}from"./JIXASV3Y.js";import{D as p,I as u,c as d,d as r,o as n,q as f}from"./X6NR7NXP.js";import"./GNZLER6U.js";var g=d`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{g as N}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{g as N}from"./LIHE32UV.js";async function h(a,g,i){let e=g?.layer;if(!a)return e?.effect?e.effect:e?.featureEffect?i==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let u=await N(),d=new u({includedEffect:a}).toJSON().includedEffect,r=d,p=e.effect,y=e.featureEffect,l=null;y?l=i==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=p;let s=l?d:null;if(!s)return u.fromJSON({includedEffect:d}).includedEffect;let f=[...s];return r&&r.forEach(c=>{f.forEach(t=>{let{value:o}=t;if(o)o.forEach((E,S)=>{E.type===c.type?o[S]=c:!t.value.find(J=>J.type===r[0].type)&&(t.value=[...t.value,...r])});else{let E=!f.find(n=>n.type===t.type);!f.find(n=>n.type===c.type)&&(f=[...f,c]),E&&(f=[...f,t])}})}),u.fromJSON({includedEffect:f}).includedEffect}export{h as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as u,b as m}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as u,b as m}from"./JJQY7KYC.js";import{b as g}from"./X4ZR26LK.js";import{D as d,I as p,c as o,d as l}from"./X6NR7NXP.js";import"./GNZLER6U.js";var f=o`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527 */
|
4
4
|
function L(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function C(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function N(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function J(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>J(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function O(r){let e=N(r);return Object.keys(e).map(t=>J(t,e[t])).join("&")}var K=globalThis.FormData,me=globalThis.File,ge=globalThis.Blob;function W(r,e){let t=C(r)||e,n=N(r);if(t){let o=new K;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return O(r)}var b=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};function V(r){console&&console.warn&&console.warn.apply(console,[r])}function Q(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function ie(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends b{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return X(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ae(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new b(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new R(s,u,r,e,n):new b(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new b(s,i,r,e,n)}return r}function X(r,e){let t=ie(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let g;if(typeof n.authentication=="string"){let c=n.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(V("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=n.authentication;let d=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(u.credentials=g.getDomainCredentials(r));let h={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let f=O(i)===""?r:r+"?"+O(i);n.maxUrlLength&&f.length>n.maxUrlLength||!n.maxUrlLength&&f.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete h["X-Esri-Authorization"])):r=f}let E=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=W(i,E)),u.headers=Object.assign(Object.assign({},h),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=q),!C(i)&&!E&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):Q().then(({fetch:l})=>l(r,u))}).then(c=>{if(!c.ok)return c.json().then(h=>{let{status:E,statusText:l}=c,{message:f,details:T}=h.error,w=`${f}. ${T?T.join(" "):""}`.trim();throw new b(w,`HTTP ${E} ${l}`,h,r,n)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:E,statusText:l}=c;throw new b(l,`HTTP ${E}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let h=ae(c,d,i,n,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return h}else return c})}function p(r,e={params:{f:"json"}}){let{request:t}=e,n=L(e,["request"]);return t?t(r,n):X(r,n).catch(o=>o instanceof R&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function ce(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function Y(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=ce(t);return e[n]=o,e},{})}var B=5*60*1e3;function v(r,e){let t=e;return t.rawResponse=!1,p(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-B),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-B)),o})}function m(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var F=/^https?:\/\/(\S+)\.arcgis\.com.+/;function Z(r){return F.test(r)}function ue(r){if(!F.test(r))return r;switch(G(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function G(r){if(!F.test(r))return null;let t=r.match(F)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ee(r,e){let t=m(ue(e)).replace(/https?:\/\//,""),n=m(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function te(r,e){let t=Z(r),n=Z(e),o=G(r),s=G(e);return!!(t&&n&&o===s)}function re(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return p(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function Ge(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var D=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var ne;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(ne||(ne={}));var A=class{constructor(e){this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=p(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var H;(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"})(H||(H={}));function oe(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return p(e,o).then(s=>{if(!s.success)throw new b("Unable to revoke token",500,s,e,o);return s})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function se(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>M(new Uint8Array(o),e))}return Promise.resolve(null)}function z(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return M(e)}function le(r){return typeof r.userId=="string"||typeof r.expires=="number"}var k=class r extends A{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:g,locale:d,params:c,style:h,pkce:E,state:l}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),f=l||z(t),T=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(T,f);let w=`${m(n)}/oauth2/authorize`,I={client_id:s,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:f,originalUrl:t.location.href}),locale:d,style:h};o!=="arcgis"&&(w=`${m(n)}/oauth2/social/authorize`,I.socialLoginProviderName=o,I.autoAccountCreateForSocial=!0);let $;if(E){let P=z(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,P),$=se(P,t).then(function(_){I.code_challenge_method=_?"S256":"plain",I.code_challenge=_||P})}else $=Promise.resolve();return $.then(()=>{if(w=`${w}?${O(I)}`,c&&(w=`${w}&${O(c)}`),u)return new Promise((P,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new D;return U(j),j}if(_.detail.errorMessage){let j=new R(_.detail.errorMessage,_.detail.error);return U(j),j}P(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(w,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=w})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(u),d=Y(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=d&&d.state?JSON.parse(d.state):void 0;function h(l,f,T){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:f,errorMessage:l}})),t.close();return}return T&&t.history.replaceState(t.history.state,"",T),f==="access_denied"?Promise.reject(new D):Promise.reject(new R(l,f))}function E(l,f){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},l)})),t.close();return}return t.history.replaceState(t.history.state,"",f),new r({clientId:o,portal:n,ssl:l.ssl,token:l.token,tokenExpires:l.expires,username:l.username,refreshToken:l.refreshToken,refreshTokenExpires:l.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return h("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return h("Saved client state did not match server sent state.","mismatched-auth-state");if(d.error){let l=d.error,f=d.error_description||"Unknown error";return h(f,l,c.originalUrl)}if(i&&d.code){let l=m(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,T=t.localStorage.getItem(f);return t.localStorage.removeItem(f),v(l,{httpMethod:"POST",params:{client_id:o,code_verifier:T,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:d.code}}).then(w=>E(Object.assign(Object.assign({},w),c),c.originalUrl)).catch(w=>h(w.originalMessage,w.code,c.originalUrl))}return!i&&d.access_token?Promise.resolve(E(Object.assign({token:d.access_token,expires:new Date(Date.now()+parseInt(d.expires_in,10)*1e3),ssl:d.ssl==="true",username:d.username},c),c.originalUrl)):h("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let g=`${n}/oauth2/authorize?${O(u)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return v(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:m(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return le(t)?r.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new r(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return oe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=p(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return te(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>re(t,e))}toJSON(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:a}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>p(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ee(s.owningSystemUrl,this.portal))return p(`${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 p(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:q};return(this.server?p(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>p(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):p(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return v(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return v(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function S(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new k(r)}S.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),k.beginOAuth2(...r)};S.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),k.completeOAuth2(...r)};S.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),k.fromParent(...r)};S.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),k.authorize(...r)};S.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),k.exchangeAuthorizationCode(...r)};S.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),k.fromCredential(...r)};S.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),k.deserialize(...r)};export{V as a,p as b,Ge as c,m as d,k as e};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as o,b as l}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as o,b as l}from"./JJQY7KYC.js";import{b as c}from"./X4ZR26LK.js";import{a as u}from"./JIXASV3Y.js";import{D as r,I as h,c as n,d as i,o as s}from"./X6NR7NXP.js";import"./GNZLER6U.js";var m=n`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527 */
|
4
4
|
var i=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function r(t){return t.default!==void 0}async function I(){if(i)return await window.$arcgis.import("esri/identity/IdentityManager");let t=await $arcgis.t(m=>m[0],"identity/IdentityManager");return r(t)?t.default:t}async function e(){if(i)return await window.$arcgis.import("esri/core/Collection");let t=await $arcgis.t(m=>m[0],"core/Collection");return r(t)?t.default:t}async function L(t){let n=await e();return new n(t)}async function o(){if(i)return await window.$arcgis.import("esri/core/Handles");let t=await $arcgis.t(m=>m[0],"core/Handles");return r(t)?t.default:t}async function T(){let t=await o();return new t}async function a(){if(i)return await window.$arcgis.import("esri/geometry/Point");let t=await $arcgis.t(m=>m[0],"geometry/Point");return r(t)?t.default:t}async function E(t){let n=await a();return new n(t)}async function s(){if(i)return await window.$arcgis.import("esri/geometry/SpatialReference");let t=await $arcgis.t(m=>m[0],"geometry/SpatialReference");return r(t)?t.default:t}async function b(t){let n=await s();return new n(t)}async function u(){if(i)return await window.$arcgis.import("esri/identity/OAuthInfo");let t=await $arcgis.t(m=>m[0],"identity/OAuthInfo");return r(t)?t.default:t}async function F(t){let n=await u();return new n(t)}async function c(){if(i)return await window.$arcgis.import("esri/layers/support/FeatureEffect");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureEffect");return r(t)?t.default:t}async function P(t){let n=await c();return new n(t)}async function w(){if(i)return await window.$arcgis.import("esri/layers/support/FeatureFilter");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureFilter");return r(t)?t.default:t}async function x(t){let n=await w();return new n(t)}async function d(){if(i)return await window.$arcgis.import("esri/portal/PortalItemResource");let t=await $arcgis.t(m=>m[0],"portal/PortalItemResource");return r(t)?t.default:t}async function R(t){let n=await d();return new n(t)}async function m(){if(i)return await window.$arcgis.import("esri/time/TimeExtent");let t=await $arcgis.t(m=>m[0],"time/TimeExtent");return r(t)?t.default:t}async function G(t){let n=await m();return new n(t)}async function p(){if(i)return await window.$arcgis.import("esri/time/TimeInterval");let t=await $arcgis.t(m=>m[0],"time/TimeInterval");return r(t)?t.default:t}async function U(t){let n=await p();return new n(t)}async function f(){if(i)return await window.$arcgis.import("esri/WebMap");let t=await $arcgis.t(m=>m[0],"WebMap");return r(t)?t.default:t}async function j(t){let n=await f();return new n(t)}async function l(){if(i)return await window.$arcgis.import("esri/widgets/Compass");let t=await $arcgis.t(m=>m[0],"widgets/Compass");return r(t)?t.default:t}async function A(t){let n=await l();return new n(t)}async function g(){if(i)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion");return r(t)?t.default:t}async function h(t){let n=await g();return new n(t)}async function y(){if(i)return await window.$arcgis.import("esri/widgets/CoordinateConversion/support/Conversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion/support/Conversion");return r(t)?t.default:t}async function q(t){let n=await y();return new n(t)}async function C(){if(i)return await window.$arcgis.import("esri/widgets/Expand");let t=await $arcgis.t(m=>m[0],"widgets/Expand");return r(t)?t.default:t}async function D(t){let n=await C();return new n(t)}async function M(){if(i)return await window.$arcgis.import("esri/widgets/Legend");let t=await $arcgis.t(m=>m[0],"widgets/Legend");return r(t)?t.default:t}async function H(t){let n=await M();return new n(t)}async function $(){if(i)return await window.$arcgis.import("esri/widgets/Legend/LegendViewModel");let t=await $arcgis.t(m=>m[0],"widgets/Legend/LegendViewModel");return r(t)?t.default:t}async function O(t){let n=await $();return new n(t)}async function W(){if(i)return await window.$arcgis.import("esri/widgets/Measurement");let t=await $arcgis.t(m=>m[0],"widgets/Measurement");return r(t)?t.default:t}async function V(t){let n=await W();return new n(t)}async function S(){if(i)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await $arcgis.t(m=>m[0],"widgets/TimeSlider");return r(t)?t.default:t}async function k(t){let n=await S();return new n(t)}async function v(){if(i)return await window.$arcgis.import("esri/widgets/Widget");let t=await $arcgis.t(m=>m[0],"widgets/Widget");return r(t)?t.default:t}async function z(t){let n=await v();return new n(t)}async function B(){if(i)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.t(m=>m[0],"core/reactiveUtils");return r(t)?t.default:t}async function J(){if(i)return await window.$arcgis.import("esri/geometry/projection");let t=await $arcgis.t(m=>m[0],"geometry/projection");return r(t)?t.default:t}async function K(){if(i)return await window.$arcgis.import("esri/geometry/support/jsonUtils");let t=await $arcgis.t(m=>m[0],"geometry/support/jsonUtils");return r(t)?t.default:t}async function N(){if(i)return await window.$arcgis.import("esri/intl");let t=await $arcgis.t(m=>m[0],"intl");return r(t)?t.default:t}async function Q(){if(i)return await window.$arcgis.import("esri/request");let t=await $arcgis.t(m=>m[0],"request");return r(t)?t.default:t}async function X(){if(i)return await window.$arcgis.import("esri/symbols/support/symbolUtils");let t=await $arcgis.t(m=>m[0],"symbols/support/symbolUtils");return r(t)?t.default:t}export{I as a,L as b,T as c,E as d,b as e,F as f,c as g,P as h,x as i,R as j,G as k,U as l,j as m,A as n,g as o,h as p,y as q,q as r,D as s,H as t,O as u,W as v,V as w,k as x,z as y,B as z,J as A,K as B,N as C,Q as D,X as E};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527 */
|
4
4
|
var o={user:"user",group:"group",groupAdmin:"group-admin",org:"org",orgAdmin:"org-admin",authenticated:"authenticated",anonymous:"anonymous",owner:"owner"};export{o as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import"./GNZLER6U.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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as e}from"./NWQYXV7R.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as e}from"./F62R4ACI.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527 */
|
4
4
|
function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as o}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{e as o}from"./REY2MYT4.js";import"./LIHE32UV.js";import"./BUKUYGGP.js";import{a as l,c as i,d,e as h}from"./TLJSKEF2.js";import"./GNZLER6U.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(t){this.pages=t,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},u=":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}",_=u,p={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},m=class{constructor(e){l(this,e),this._viewModel=new c,this.header=!0,this.data=void 0,this.messages=void 0,this.headerText=void 0}watchPropHandler(e){this._setContent(e)}watchStateHandler(e){this._viewModel.headerText=e}componentWillLoad(){this._setContent(this?.data)}componentDidLoad(){o(this)}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return i(d,{key:"17ec07719a7ea4692912d8c5e51a0ccfcf4fe448"},i("calcite-panel",{key:"fc659c5fcd7ee8370d79e8c6506cc6f55e784e74",scale:"s"},t,i("calcite-carousel",{key:"aa9b07f8ada18253b1a0fb0bfe228e04c81c6021",label:"App Guide",onCalciteCarouselChange:()=>this._updateHeaderText(),ref:a=>this._carouselRef=a,"arrow-type":this._getArrowType()},e)))}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:t,messages:a}=this;if(!(e&&t))return;let n=Array.from(t.childNodes).indexOf(t.selectedItem),r=e?.pages,g=r?.[n]??r[0];this.headerText=g?.title||a?.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}_renderAppGuideHeader(){let{messages:e,header:t,headerText:a}=this,s=!!t&&e?.headerText,n=a||e?.headerText;return s?i("span",{slot:"header-content"},n," ",i("calcite-icon",{icon:"lightbulb",scale:"s"})):null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:s,type:n,title:r}=t;return i("calcite-carousel-item",{label:r,key:`page_${a}`},i("div",{class:p.contentWrapper},this._renderContentItems(s,n)))})}_renderContentItems(e,t){switch(t){case"list":return i("ol",{class:p.contentList},e.map((a,s)=>i("li",{key:`content-list-item-${s}`,class:p.contentListItem},a)));case"paragraphs":default:return e.map((a,s)=>i("p",{key:`content-paragraph-${s}`},a))}}get el(){return h(this)}static get watchers(){return{data:["watchPropHandler"],headerText:["watchStateHandler"]}}};m.style=_;export{m as instant_apps_app_guide};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{s as i}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{s as i}from"./LIHE32UV.js";import{a as l,c as s,d as c,e as r}from"./TLJSKEF2.js";import"./GNZLER6U.js";var d=":host{display:block}",h=d,f="floating",C="instant-apps-control-panel",m="border-bottom: 1px solid var(--calcite-color-border-3)",p="components",_=`[slot="${p}"]`,x=class{constructor(t){l(this,t),this.components=[],this.view=void 0}async componentWillLoad(){this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return s(c,{key:"da3ae85d12780699ce3a9172b89f9900122d5065"},s("slot",{key:"a3bf08049e83ce0c59e58214302d9409c6208e3c",name:p}))}_handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(e,o)=>{let n=e.content;e.isExpand&&(n=await this._getExpand(e),e.expandIcon&&(n.expandIcon=e.expandIcon),e.collapseTooltip&&(n.collapseTooltip=e.collapseTooltip),e.expandTooltip&&(n.expandTooltip=e.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),o!==this.components.length-1&&(n.container.style=m)}}async _getExpand(t){let{view:e}=this,{content:o,focusTrapDisabled:n}=t,a=t?.expanded??!1;return await i({content:o,view:e,expanded:a,mode:f,group:C,focusTrapDisabled:!!n})}_getComponentsNode(){let t=_;return this.el.querySelector(t)}_resetUI(t){if(t.children.length>0){let{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return r(this)}};x.style=h;export{x as instant_apps_control_panel};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e,c as t,e as a,g as s,k as o}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as e,c as t,e as a,g as s,k as o}from"./W5F5KJOV.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as c,b as n,c as y}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as c,b as n,c as y}from"./GCOMYMDE.js";import{a,b as s}from"./JJQY7KYC.js";import{D as m,I as d,c as u,d as t,o as p}from"./X6NR7NXP.js";import"./GNZLER6U.js";var h=u`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as e}from"./QIPEXDJZ.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as P}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as P}from"./IEHPZCNW.js";import{c as n,e as g,f as m,g as d,h as I,i as S,m as b,q as F,r as y,s as v,t as R,u as w,v as T}from"./OOEQOO4R.js";import{b as o,h as _}from"./OU23PWPG.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as h}from"./LCYX3FH3.js";import{a as x}from"./UW72AJWR.js";import{e as v}from"./REY2MYT4.js";import{c as w,h as I,i as T,k as p,l as u,x as E,z as S}from"./LIHE32UV.js";import"./BUKUYGGP.js";import{a as _,c as s,d as C,e as b}from"./TLJSKEF2.js";import"./GNZLER6U.js";var{state:t,onChange:L}=x({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",y=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await S();this.reactiveUtils=e,this.handles=await w()}catch{}}async init(e){e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let a=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(a,n),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let n=e.map?.allLayers,a=o=>n?.find(({id:f})=>o===f),m=i.map(({id:o})=>a(o)).map(async o=>await e.whenLayerView(o));return await Promise.all(m)}generateTimeInfoItems(e,i){return[...i].map(a=>{let l=e.find(({layer:m})=>m.id===a.id);return this.generateTimeInfoItem(l,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:a,timeIntervalValue:l}){let f=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:l??1,rangeStart:new Date(n),rangeEnd:new Date(a),timeExtent:f,previousTimeExtent:null}}async initTimeSlider(e,i){let n=async a=>(t.timeSlider=await E(a),t.autoPlay&&t.timeSlider.play(),void await Promise.resolve());if(i){let a=await this.getTimeSliderConfig(e,i);await n(a)}else{let a=t?.timeInfoItems?.[0];if(!a)return;t.selectedTimeInfoItem=a;let l=await this.getTimeSliderConfig(e);await n(l)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){L("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let a=t.view?.map?.widgets?.timeSlider,l={...n,fullTimeExtent:a?.fullTimeExtent,timeExtent:a?.currentTimeExtent};return a?.stopInterval?.unit&&a?.stopInterval?.value&&(l.stops={interval:await u({unit:a?.stopInterval?.unit,value:a?.stopInterval?.value})}),l}else{let[{timeExtent:a,rangeStart:l,rangeEnd:m,unit:o,timeIntervalValue:f}]=t.timeInfoItems;return{...n,fullTimeExtent:a,timeExtent:await p({start:l,end:m}),stops:{interval:await u({unit:o,value:f})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await p({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await I({filter:{timeExtent:i},includedEffect:await h(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await h(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await T({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){let a=n??await p({start:e,end:i});return await Promise.resolve(a)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await u({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},d=new y,M=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}",F=M,c={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},D=class{constructor(r){_(this,r),this.messages=void 0,this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){t.timeInfoConfigItems=this.timeInfoConfigItems,await d.init(this.timeSliderRef)}async updateFilterMode(){t.filterMode=this.filterMode}async updateTimeSliderConfig(){t.timeSliderConfig=this.timeSliderConfig,await d.init(this.timeSliderRef)}async updateAutoPlay(){t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop())}async componentWillLoad(){try{t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode),await v(this)}catch{}}async componentDidLoad(){try{await d.init(this.timeSliderRef)}catch{}finally{t.loading=!1}}disconnectedcallback(){d.destroy()}render(){return s(C,{key:"c994735c86c7bb3edeadf623a15c565960637f23"},this._renderBase())}_renderBase(){return s("div",{class:`${c.base}${this.view.type!=="2d"?c.threeD:""}`},this._renderLoader(),this.view.type==="2d"&&this._renderTopEl(),s("div",{key:"time-slider",ref:r=>{r&&(this.timeSliderRef=r)}}))}_renderLoader(){return t.loading&&s("div",null,s("div",{class:c.background}),s("div",{class:c.loadingContainer},s("calcite-loader",{scale:"m",label:this.messages?.loading??"",text:this.messages?.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let r=t.selectedTimeInfoItem?.layerView?.layer?.title;return s("span",{class:c.layerTitle},r)}_renderDropdown(){return t.selectedTimeInfoItem&&s("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return s("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},d.getLabel(t.selectedTimeInfoItem))}_renderDropdownItems(){return t.timeInfoItems.map(r=>this._renderDropdownItem(r))}_renderDropdownItem(r){let e=t.selectedTimeInfoItem?.layerView?.layer?.id,i=r?.layerView?.layer?.id;return s("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>d.updateSelectedTimeInfoItem(r),selected:e===i},d.getLabel(r))}get el(){return b(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};D.style=F;export{D as instant_apps_time_filter};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as r}from"./JIXASV3Y.js";import{D as o,I as n,c as i,d as t,q as s}from"./X6NR7NXP.js";import"./GNZLER6U.js";var a=i`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a,b}from"./S2JKF4KM.js";import"./SUM6FGHT.js";import"./CRWYDAPO.js";import"./QIPEXDJZ.js";import"./TUYT7BM6.js";import"./W5F5KJOV.js";import"./GNZLER6U.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as s}from"./F62R4ACI.js";import"./5VZIXTV2.js";import"./PFVETMVP.js";import"./64JCPDPG.js";import"./ANUWXCJE.js";import"./B5XNLTLN.js";import"./NV7RQ6AS.js";import"./FX3UFEOX.js";import"./MHAFURF2.js";import"./MJQQWZ2I.js";import"./PC4K557A.js";import"./SZF3N6BX.js";import"./E2RH7ORD.js";import"./7VJ6VE65.js";import"./NA5P6M4G.js";import"./S2JKF4KM.js";import"./V4Z3RSZX.js";import"./SUM6FGHT.js";import"./CRWYDAPO.js";import"./DQXSWU2C.js";import"./QIPEXDJZ.js";import"./TUYT7BM6.js";import"./W5F5KJOV.js";import"./GNZLER6U.js";var r=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,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.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{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}}`]}}]}]});export{r as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527 */
|
4
4
|
var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import"./I6ADTVPV.js";import{b as C}from"./O4FBWTRU.js";import"./OOEQOO4R.js";import"./QOT3V2NC.js";import"./GZUQL4BQ.js";import"./63VMIWOD.js";import"./LH2OOZVN.js";import"./NWQYXV7R.js";import"./MAKHYGHW.js";import{a as O}from"./KSWUZAKY.js";import"./TLJSKEF2.js";import{c as F,d as S,j as b}from"./VXV6RF6H.js";import"./OU23PWPG.js";import{c as E}from"./JDEUATYQ.js";import{a as f,b as _}from"./JJQY7KYC.js";import{b as x}from"./X4ZR26LK.js";import{a as T}from"./JIXASV3Y.js";import{D as I,E as p,I as v,c as m,d,g as o,o as c,q as w}from"./X6NR7NXP.js";import"./GNZLER6U.js";var $=m`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as i}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as i}from"./XUMWU7UL.js";import{a as s,c as l,d as r}from"./UQGEHP44.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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as l}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{e as l}from"./REY2MYT4.js";import{a as o,f as r,z as c}from"./LIHE32UV.js";import"./BUKUYGGP.js";import{a as p,c as t,d as g,e as d}from"./TLJSKEF2.js";import"./GNZLER6U.js";var h=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}',u=h,a={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator"},m=class{constructor(n){p(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.isSignedIn=!1,this.user=void 0,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){l(this),await this.initSignIn()}render(){let n=this.ready?this.renderContent():null;return t(g,{key:"da0c1f1bb7efb0c0bd243612ab6212b61d6e9d2e"},n)}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return t("div",{class:a.base},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){let n=this.type==="navigation"?"m":"s",i=this.showIndicator?a.indicator:"",s=this.user?.id??this.user?.sourceJSON?.id;return t("calcite-dropdown",{placement:"bottom-end",scale:n},this.type==="navigation"?t("calcite-navigation-user",{class:i,slot:"trigger",thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s,textDisabled:!0}):t("button",{slot:"trigger"},t("calcite-avatar",{class:i,thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s})),t("slot",{name:"sign-in-dropdown-top"}),t("calcite-dropdown-group",{"selection-mode":"none"},this.signInDropdownItems?.map(e=>t("calcite-dropdown-item",{onClick:e.onClick},e.label)),t("calcite-dropdown-item",{onClick:this.signOut.bind(this)},this.messages?.signOut)))}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",i=this.type==="navigation"?a.SignInBtn:"";return t("calcite-button",{class:i,onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:n},this.messages?.signIn)}renderLandingPageSignIn(){return t("div",{class:a.buttonContainer},t("calcite-button",{class:a.entryButton,scale:"l",onClick:this.landingPageSignIn.bind(this)},this.messages?.signIn),t("calcite-button",{class:a.entryButton,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},this.messages?.continueAsGuest))}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,i]=await Promise.all([o(),c()]);this.idManager=n,this.info=await r({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await i.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date,i=2e3;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},i)}get el(){return d(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};m.style=u;export{m as instant_apps_sign_in};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{f as C}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{f as C}from"./VXV6RF6H.js";import"./OU23PWPG.js";import"./JDEUATYQ.js";import{a as c,b as p}from"./JJQY7KYC.js";import{b}from"./X4ZR26LK.js";import{D as m,I as g,c as u,d as n,o as h,q as _}from"./X6NR7NXP.js";import"./GNZLER6U.js";var F=u`@layer{/**
|
5
5
|
* @license
|
6
6
|
* Copyright 2025 Esri
|
7
7
|
*
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as u,e as h}from"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import{a as u,e as h}from"./A7A3AQBP.js";import{a}from"./MTZ7UR3K.js";import"./IEHPZCNW.js";import"./OOEQOO4R.js";import"./QOT3V2NC.js";import"./GZUQL4BQ.js";import"./63VMIWOD.js";import"./LH2OOZVN.js";import"./NWQYXV7R.js";import"./OU23PWPG.js";import{D as i,I as l,o,q as n}from"./X6NR7NXP.js";import"./GNZLER6U.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import"./GNZLER6U.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250527 */
|
4
|
+
import"./GNZLER6U.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{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.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
|