@esri/hub-web-components 0.36.1 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/24SIYWED.js +2 -0
- package/dist/cdn/25TYOHZS.js +2 -0
- package/dist/cdn/26WZVQ5A.js +2 -0
- package/dist/cdn/2B273BBV.js +2 -0
- package/dist/cdn/2B6D4MGZ.js +2 -0
- package/dist/cdn/2C25X57H.js +2 -0
- package/dist/cdn/2DD3P2GE.js +2 -0
- package/dist/cdn/2DPSKE3B.js +2 -0
- package/dist/cdn/2GV5ZJVP.js +2 -0
- package/dist/cdn/2GWRW6YG.js +2 -0
- package/dist/cdn/2KL5NQNG.js +2 -0
- package/dist/cdn/2KUCG2EL.js +2 -0
- package/dist/cdn/2NJPYBHN.js +2 -0
- package/dist/cdn/2PUMWMNI.js +2 -0
- package/dist/cdn/2SYN4GLC.js +2 -0
- package/dist/cdn/2TYW7KEN.js +2 -0
- package/dist/cdn/2W2UGJLH.js +2 -0
- package/dist/cdn/2WQEISGF.js +2 -0
- package/dist/cdn/2YBIU2GX.js +2 -0
- package/dist/cdn/377TGY4P.js +2 -0
- package/dist/cdn/37IO4VH2.js +2 -0
- package/dist/cdn/3BJZIUVK.js +2 -0
- package/dist/cdn/3C4D6M7U.js +2 -0
- package/dist/cdn/3CQWO3Y4.js +2 -0
- package/dist/cdn/3J67YE6G.js +2 -0
- package/dist/cdn/3LB3CYSI.js +2 -0
- package/dist/cdn/3MGFA2AN.js +2 -0
- package/dist/cdn/3PBVJ3CK.js +2 -0
- package/dist/cdn/3WN3ZWUP.js +2 -0
- package/dist/cdn/3ZHXUPIY.js +2 -0
- package/dist/cdn/3ZMBKQ2H.js +2 -0
- package/dist/cdn/42CWBYSM.js +2 -0
- package/dist/cdn/42NTJTRV.js +2 -0
- package/dist/cdn/44KVKET3.js +2 -0
- package/dist/cdn/46NFE3O2.js +2 -0
- package/dist/cdn/47ZOSUE6.js +2 -0
- package/dist/cdn/4BGLQILZ.js +2 -0
- package/dist/cdn/4BRNZPNW.js +2 -0
- package/dist/cdn/4DPYGRIJ.js +2 -0
- package/dist/cdn/4EWTHNEV.js +2 -0
- package/dist/cdn/4KSDWTJW.js +2 -0
- package/dist/cdn/4PQFUUUG.js +2 -0
- package/dist/cdn/4QDRXQMV.js +2 -0
- package/dist/cdn/4QEFMWHF.js +2 -0
- package/dist/cdn/4ST5ERWK.js +2 -0
- package/dist/cdn/4UIONHOK.js +2 -0
- package/dist/cdn/4ZRQCNU2.js +2 -0
- package/dist/cdn/53V23CCM.js +2 -0
- package/dist/cdn/56OZPWMC.js +2 -0
- package/dist/cdn/5E5J7S54.js +49 -0
- package/dist/cdn/5FBDGDSL.js +2 -0
- package/dist/cdn/5GNQYAFV.js +2 -0
- package/dist/cdn/5H44EM56.js +2 -0
- package/dist/cdn/5IANXD5L.js +2 -0
- package/dist/cdn/5IZIKW4H.js +2 -0
- package/dist/cdn/5J32RGDU.js +2 -0
- package/dist/cdn/5KNXEVQR.js +2 -0
- package/dist/cdn/5LEP3IWV.js +2 -0
- package/dist/cdn/5LJT6UGG.js +2 -0
- package/dist/cdn/5NJXZL7F.js +2 -0
- package/dist/cdn/5NZ5IS7D.js +2 -0
- package/dist/cdn/5ORZPL23.js +2 -0
- package/dist/cdn/5TU3W6P3.js +2 -0
- package/dist/cdn/5V53QYYF.js +2 -0
- package/dist/cdn/635V3Q2N.js +2 -0
- package/dist/cdn/65DPLBLL.js +2 -0
- package/dist/cdn/66HUEQL5.js +2 -0
- package/dist/cdn/6762DBBI.js +2 -0
- package/dist/cdn/6F3NCMF3.js +2 -0
- package/dist/cdn/6FPKPREN.js +2 -0
- package/dist/cdn/6GJMQB5A.js +2 -0
- package/dist/cdn/6IRHI22W.js +9 -0
- package/dist/cdn/6KXJSY7Y.js +2 -0
- package/dist/cdn/6LDEVQEO.js +2 -0
- package/dist/cdn/6LZU7UCO.js +2 -0
- package/dist/cdn/6M5DP7YF.js +2 -0
- package/dist/cdn/6P7RNVD7.js +2 -0
- package/dist/cdn/6R5V3EGL.js +2 -0
- package/dist/cdn/6SPPONRY.js +2 -0
- package/dist/cdn/6SSTOHH4.js +2 -0
- package/dist/cdn/6TZEJNM7.js +2 -0
- package/dist/cdn/6VA6IJMP.js +2 -0
- package/dist/cdn/6VE4Q3FO.js +2 -0
- package/dist/cdn/6WUAXFQV.js +2 -0
- package/dist/cdn/6YRKIUVP.js +2 -0
- package/dist/cdn/72R6GI5S.js +2 -0
- package/dist/cdn/733IZVMO.js +3 -0
- package/dist/cdn/74ZD6Q4N.js +2 -0
- package/dist/cdn/75EIUMLW.js +2 -0
- package/dist/cdn/7CZUONP3.js +2 -0
- package/dist/cdn/7GI7PCWY.js +10 -0
- package/dist/cdn/7GTUV67W.js +2 -0
- package/dist/cdn/7J2N6ILF.js +2 -0
- package/dist/cdn/7JWWAXIQ.js +2 -0
- package/dist/cdn/7LNSUWQP.js +2 -0
- package/dist/cdn/7MGY3JJQ.js +2 -0
- package/dist/cdn/7SELLYRO.js +2 -0
- package/dist/cdn/7SOJDYGK.js +2 -0
- package/dist/cdn/7TFL3HIH.js +2 -0
- package/dist/cdn/7UDDAIEI.js +2 -0
- package/dist/cdn/A36IL72A.js +2 -0
- package/dist/cdn/A6FB2POK.js +2 -0
- package/dist/cdn/ACG7WDUT.js +2 -0
- package/dist/cdn/AE6NCYFW.js +2 -0
- package/dist/cdn/AEPE3IDB.js +2 -0
- package/dist/cdn/AG22T6F4.js +2 -0
- package/dist/cdn/AHZOMFUT.js +2 -0
- package/dist/cdn/AJKLRRS4.js +2 -0
- package/dist/cdn/AJOXWMDO.js +2 -0
- package/dist/cdn/AKTKIQXI.js +2 -0
- package/dist/cdn/AL7OLCOX.js +2 -0
- package/dist/cdn/ALUW2GDJ.js +2 -0
- package/dist/cdn/AM4QVJ44.js +2 -0
- package/dist/cdn/AOSKEGOL.js +2 -0
- package/dist/cdn/ARGXJJIR.js +2 -0
- package/dist/cdn/AUG7ESKO.js +2 -0
- package/dist/cdn/AYFB34A7.js +2 -0
- package/dist/cdn/AYK4IBDR.js +2 -0
- package/dist/cdn/AZ3MRUIU.js +2 -0
- package/dist/cdn/AZKQPOHN.js +2 -0
- package/dist/cdn/B5FN4TVW.js +2 -0
- package/dist/cdn/B6CP7FIT.js +2 -0
- package/dist/cdn/B7DFSP27.js +2 -0
- package/dist/cdn/BASDWRBA.js +2 -0
- package/dist/cdn/BCAWS3NJ.js +2 -0
- package/dist/cdn/BFNODBIF.js +2 -0
- package/dist/cdn/BHYFMWFH.js +10 -0
- package/dist/cdn/BMRPHSYL.js +2 -0
- package/dist/cdn/BPSQ3CGL.js +2 -0
- package/dist/cdn/BU6RNCBS.js +2 -0
- package/dist/cdn/BZKD5DHH.js +2 -0
- package/dist/cdn/C27C7ZCS.js +101 -0
- package/dist/cdn/C3RZCB5I.js +2 -0
- package/dist/cdn/C43VMDWA.js +2 -0
- package/dist/cdn/C7GXIRVU.js +2 -0
- package/dist/cdn/CBIG4EMI.js +2 -0
- package/dist/cdn/CCX2K4AC.js +2 -0
- package/dist/cdn/CCXXOCUE.js +2 -0
- package/dist/cdn/CD6LKEQL.js +2 -0
- package/dist/cdn/CD736SN3.js +2 -0
- package/dist/cdn/CH532URJ.js +2 -0
- package/dist/cdn/CHXKFI5R.js +2 -0
- package/dist/cdn/CNZGOCEQ.js +2 -0
- package/dist/cdn/CQ5TAYO5.js +2 -0
- package/dist/cdn/CRYH3HP6.js +2 -0
- package/dist/cdn/CU2TSBCT.js +2 -0
- package/dist/cdn/CWML23HX.js +2 -0
- package/dist/cdn/CXKNNQK7.js +2 -0
- package/dist/cdn/D2RDQCR6.js +2 -0
- package/dist/cdn/D4NLBWYJ.js +2 -0
- package/dist/cdn/D4XKOLDN.js +2 -0
- package/dist/cdn/DAN7ZYNO.js +2 -0
- package/dist/cdn/DBFWM3C6.js +2 -0
- package/dist/cdn/DCLYV35L.js +2 -0
- package/dist/cdn/DCXY72PD.js +2 -0
- package/dist/cdn/DD6UFQOQ.js +2 -0
- package/dist/cdn/DELUZ744.js +2 -0
- package/dist/cdn/DFSIBYHN.js +2 -0
- package/dist/cdn/DH2QF3YA.js +2 -0
- package/dist/cdn/DIQDWGSW.js +2 -0
- package/dist/cdn/DJ3H7LZE.js +2 -0
- package/dist/cdn/DKMYTCOT.js +2 -0
- package/dist/cdn/DLGNRZAS.js +2 -0
- package/dist/cdn/DMWDEJZX.js +2 -0
- package/dist/cdn/DOER2ALA.js +2 -0
- package/dist/cdn/DOOSTAKT.js +2 -0
- package/dist/cdn/DPDYPCY7.js +2 -0
- package/dist/cdn/DSFT4TPF.js +2 -0
- package/dist/cdn/DSULDCNU.js +2 -0
- package/dist/cdn/DSUO5O7O.js +2 -0
- package/dist/cdn/DWHYYJWL.js +2 -0
- package/dist/cdn/DYGPQ2O2.js +2 -0
- package/dist/cdn/DZCEYSVA.js +2 -0
- package/dist/cdn/DZSQQ3ZC.js +2 -0
- package/dist/cdn/E2O5UVKQ.js +2 -0
- package/dist/cdn/E2RL5I2B.js +2 -0
- package/dist/cdn/E2TALV72.js +2 -0
- package/dist/cdn/E6BGJQ3F.js +6 -0
- package/dist/cdn/E6QW4CZ3.js +3 -0
- package/dist/cdn/E7RQDZEF.js +2 -0
- package/dist/cdn/EIMMNTTE.js +2 -0
- package/dist/cdn/EOF2UXV6.js +2 -0
- package/dist/cdn/EONYH67A.js +2 -0
- package/dist/cdn/EOUHIRVU.js +2 -0
- package/dist/cdn/ERN7BZFG.js +2 -0
- package/dist/cdn/ETC47ZTE.js +2 -0
- package/dist/cdn/ETZTDOJJ.js +2 -0
- package/dist/cdn/EXVLM3LY.js +2 -0
- package/dist/cdn/F4PVRAMX.js +2 -0
- package/dist/cdn/F56NG6UR.js +2 -0
- package/dist/cdn/FCTOGFDS.js +7 -0
- package/dist/cdn/FDDXGLRF.js +2 -0
- package/dist/cdn/FFNG2BKG.js +2 -0
- package/dist/cdn/FJLYCKFY.js +2 -0
- package/dist/cdn/FKDTJXGG.js +2 -0
- package/dist/cdn/FLC2JTMP.js +2 -0
- package/dist/cdn/FM3HYPTZ.js +2 -0
- package/dist/cdn/FMBEHWFY.js +2 -0
- package/dist/cdn/FMSRANRD.js +2 -0
- package/dist/cdn/FOYZAUE2.js +2 -0
- package/dist/cdn/FPFWOG6D.js +2 -0
- package/dist/cdn/FQQX35FA.js +2 -0
- package/dist/cdn/FS2LVAOJ.js +2 -0
- package/dist/cdn/FY3KPATI.js +2 -0
- package/dist/cdn/FZ7ZK37I.js +2 -0
- package/dist/cdn/FZCPWCBD.js +2 -0
- package/dist/cdn/FZNKGW4A.js +2 -0
- package/dist/cdn/G22UXAIP.js +2 -0
- package/dist/cdn/G4YSKUJY.js +2 -0
- package/dist/cdn/GEQLOXC6.js +2 -0
- package/dist/cdn/GEUS66D2.js +2 -0
- package/dist/cdn/GI572WEZ.js +2 -0
- package/dist/cdn/GJINUBO7.js +2 -0
- package/dist/cdn/GJIZO3BY.js +2 -0
- package/dist/cdn/GJRBKC6D.js +2 -0
- package/dist/cdn/GL6QTMXS.js +2 -0
- package/dist/cdn/GLK5OMGB.js +2 -0
- package/dist/cdn/GMWTEYRI.js +2 -0
- package/dist/cdn/GQUZD452.js +2 -0
- package/dist/cdn/GRUKKSRF.js +2 -0
- package/dist/cdn/GS3XIBLN.js +2 -0
- package/dist/cdn/GSGLH4CM.js +2 -0
- package/dist/cdn/GVF26EON.js +2 -0
- package/dist/cdn/GVWJBDZW.js +2 -0
- package/dist/cdn/GZOH7TH2.js +2 -0
- package/dist/cdn/H2EOGBZS.js +2 -0
- package/dist/cdn/H2V2RZ6M.js +2 -0
- package/dist/cdn/H3CSIYXV.js +2 -0
- package/dist/cdn/H5FX7Z53.js +2 -0
- package/dist/cdn/HA3MYKR7.js +2 -0
- package/dist/cdn/HEPYE6RX.js +2 -0
- package/dist/cdn/HETF33XY.js +2 -0
- package/dist/cdn/HF75SET4.js +2 -0
- package/dist/cdn/HFYPZ352.js +2 -0
- package/dist/cdn/HH5PXKUQ.js +2 -0
- package/dist/cdn/HH7X5PFK.js +2 -0
- package/dist/cdn/HIJBZFJC.js +2 -0
- package/dist/cdn/HINK5GJN.js +2 -0
- package/dist/cdn/HITR5JF7.js +2 -0
- package/dist/cdn/HM2SQ34E.js +2 -0
- package/dist/cdn/HPOK6EKK.js +2 -0
- package/dist/cdn/HSFPILSC.js +2 -0
- package/dist/cdn/HSYH2RF2.js +2 -0
- package/dist/cdn/HTQGWSTE.js +2 -0
- package/dist/cdn/HTY7ODQW.js +2 -0
- package/dist/cdn/HTYDCXX6.js +2 -0
- package/dist/cdn/HUVYHMSC.js +2 -0
- package/dist/cdn/HUZVX2LX.js +2 -0
- package/dist/cdn/HV466M4A.js +2 -0
- package/dist/cdn/HWUCFNAD.js +2 -0
- package/dist/cdn/HYUPDCJS.js +2 -0
- package/dist/cdn/HZHPBMYE.js +2 -0
- package/dist/cdn/I3DM7WYF.js +2 -0
- package/dist/cdn/I3LGHXIN.js +2 -0
- package/dist/cdn/I4SZ26IC.js +2 -0
- package/dist/cdn/I6XITM7G.js +14 -0
- package/dist/cdn/I6ZBOCIY.js +2 -0
- package/dist/cdn/ICFGB4YA.js +2 -0
- package/dist/cdn/IDHZRKXF.js +2 -0
- package/dist/cdn/IEDSJLNB.js +2 -0
- package/dist/cdn/IGSOBBXK.js +2 -0
- package/dist/cdn/II3OUQDN.js +2 -0
- package/dist/cdn/IIAM2J7I.js +2 -0
- package/dist/cdn/IKDCKYJ5.js +2 -0
- package/dist/cdn/ILLXAWCL.js +2 -0
- package/dist/cdn/IONZ3SDQ.js +2 -0
- package/dist/cdn/IS7DQMPO.js +2 -0
- package/dist/cdn/ISFEEC67.js +2 -0
- package/dist/cdn/ISLB62MU.js +2 -0
- package/dist/cdn/IU5YH2S4.js +2 -0
- package/dist/cdn/IXINH2FU.js +2 -0
- package/dist/cdn/IZ43EVPH.js +2 -0
- package/dist/cdn/IZFBGDUY.js +2 -0
- package/dist/cdn/J2P53GWU.js +2 -0
- package/dist/cdn/J4D2HORK.js +2 -0
- package/dist/cdn/J62I2GA3.js +2 -0
- package/dist/cdn/J7JW6ADT.js +2 -0
- package/dist/cdn/JASFUUT6.js +2 -0
- package/dist/cdn/JBND67XM.js +2 -0
- package/dist/cdn/JG22JJ4C.js +2 -0
- package/dist/cdn/JI5AIZ2W.js +2 -0
- package/dist/cdn/JSOZV4HA.js +2 -0
- package/dist/cdn/JTE4CLWD.js +2 -0
- package/dist/cdn/JWQCCXL5.js +2 -0
- package/dist/cdn/JZB5X2MB.js +2 -0
- package/dist/cdn/K2DF2MZK.js +2 -0
- package/dist/cdn/K33RVKQD.js +2 -0
- package/dist/cdn/K3HMF5GC.js +2 -0
- package/dist/cdn/K4VVZ2OR.js +2 -0
- package/dist/cdn/K5O2OVOP.js +2 -0
- package/dist/cdn/K672BF4Z.js +2 -0
- package/dist/cdn/KA2RH2XA.js +2 -0
- package/dist/cdn/KBPJADC7.js +57 -0
- package/dist/cdn/KBYHLIWL.js +2 -0
- package/dist/cdn/KI2RNLIW.js +2 -0
- package/dist/cdn/KI6QCKOX.js +2 -0
- package/dist/cdn/KIEYQKES.js +2 -0
- package/dist/cdn/KKON6KFT.js +2 -0
- package/dist/cdn/KNZCVIQZ.js +2 -0
- package/dist/cdn/KOIXC3C5.js +2 -0
- package/dist/cdn/KQGFPGAG.js +2 -0
- package/dist/cdn/KUB4GMLQ.js +2 -0
- package/dist/cdn/KVTXAGQO.js +2 -0
- package/dist/cdn/KWMAHRAP.js +2 -0
- package/dist/cdn/KXGSUPO6.js +2 -0
- package/dist/cdn/KZOKH7DH.js +2 -0
- package/dist/cdn/L3H4QXUA.js +2 -0
- package/dist/cdn/L4D75PLE.js +50 -0
- package/dist/cdn/L4XSNBXO.js +2 -0
- package/dist/cdn/L6IQ6LTS.js +2 -0
- package/dist/cdn/LA2OL44Q.js +2 -0
- package/dist/cdn/LDJN5446.js +2 -0
- package/dist/cdn/LEVMADAS.js +2 -0
- package/dist/cdn/LG3VZTHJ.js +2 -0
- package/dist/cdn/LG5BO6HC.js +2 -0
- package/dist/cdn/LK454DSU.js +2 -0
- package/dist/cdn/LLGS7DKU.js +2 -0
- package/dist/cdn/LLX4O2ZL.js +2 -0
- package/dist/cdn/LNVYZ53G.js +2 -0
- package/dist/cdn/LPMAR4KQ.js +2 -0
- package/dist/cdn/LQ4GVKBA.js +2 -0
- package/dist/cdn/LUYCD6XC.js +2 -0
- package/dist/cdn/LVCMKKG7.js +2 -0
- package/dist/cdn/LY5D6DDL.js +2 -0
- package/dist/cdn/LYGNBPBU.js +2 -0
- package/dist/cdn/M5TH54YS.js +3 -0
- package/dist/cdn/MAKNOF2E.js +2 -0
- package/dist/cdn/MBDZ6CTU.js +2 -0
- package/dist/cdn/MBJNG2TV.js +2 -0
- package/dist/cdn/MCXCKUVJ.js +2 -0
- package/dist/cdn/ME6P5KK5.js +2 -0
- package/dist/cdn/MGC3EC3F.js +2 -0
- package/dist/cdn/MIGVC3YS.js +2 -0
- package/dist/cdn/MILBEJO3.js +2 -0
- package/dist/cdn/MPHKEKH4.js +2 -0
- package/dist/cdn/MS3RNOP5.js +2 -0
- package/dist/cdn/MUN2QI43.js +2 -0
- package/dist/cdn/MUVLHU4H.js +2 -0
- package/dist/cdn/MWFTBYF7.js +22 -0
- package/dist/cdn/MYXI3DVH.js +2 -0
- package/dist/cdn/MYXIS5RQ.js +2 -0
- package/dist/cdn/N2SCAU7I.js +2 -0
- package/dist/cdn/N6GGGJDB.js +2 -0
- package/dist/cdn/N7CJXIRA.js +2 -0
- package/dist/cdn/NABNAFFZ.js +2 -0
- package/dist/cdn/NC3HXMKH.js +2 -0
- package/dist/cdn/NCTESU3D.js +2 -0
- package/dist/cdn/NE7SMAEP.js +2 -0
- package/dist/cdn/NFD3QJ6J.js +2 -0
- package/dist/cdn/NFY3ASEY.js +2 -0
- package/dist/cdn/NPWIO5CS.js +2 -0
- package/dist/cdn/NR4ANSZX.js +2 -0
- package/dist/cdn/NSMWYS6Z.js +2 -0
- package/dist/cdn/NUH2IEG5.js +2 -0
- package/dist/cdn/NW2YTW26.js +2 -0
- package/dist/cdn/NYFFZ52T.js +2 -0
- package/dist/cdn/NZG4KZHV.js +2 -0
- package/dist/cdn/O247GUBF.js +2 -0
- package/dist/cdn/OAFVLHOP.js +2 -0
- package/dist/cdn/OB5GUG4Q.js +2 -0
- package/dist/cdn/OF3K6ILR.js +2 -0
- package/dist/cdn/OGP4ICMS.js +2 -0
- package/dist/cdn/OHGAZBGC.js +2 -0
- package/dist/cdn/OHHSI5BP.js +2 -0
- package/dist/cdn/OHRPOEMD.js +2 -0
- package/dist/cdn/OLBIGEZV.js +2 -0
- package/dist/cdn/OQNAOTWQ.js +2 -0
- package/dist/cdn/OQOFL4GS.js +2 -0
- package/dist/cdn/OYSFOPFK.js +2 -0
- package/dist/cdn/OZDJZBGR.js +2 -0
- package/dist/cdn/P32YXLHN.js +2 -0
- package/dist/cdn/P4SQ46RJ.js +2 -0
- package/dist/cdn/P5C64FCP.js +2 -0
- package/dist/cdn/P7D42LBQ.js +2 -0
- package/dist/cdn/PJFE4OSA.js +2 -0
- package/dist/cdn/PM6CSPJD.js +2 -0
- package/dist/cdn/PMG4LRKI.js +2 -0
- package/dist/cdn/PTT753DR.js +2 -0
- package/dist/cdn/PUDNBWDK.js +2 -0
- package/dist/cdn/PVUKIX2R.js +2 -0
- package/dist/cdn/PWESAKVV.js +6 -0
- package/dist/cdn/PXIEZUFC.js +2 -0
- package/dist/cdn/Q4GV7FFJ.js +2 -0
- package/dist/cdn/Q5A7L43T.js +2 -0
- package/dist/cdn/Q5LOYC24.js +2 -0
- package/dist/cdn/QA5B2Y37.js +2 -0
- package/dist/cdn/QEFXV6RZ.js +2 -0
- package/dist/cdn/QFSHQXGM.js +2 -0
- package/dist/cdn/QK2OPJGK.js +2 -0
- package/dist/cdn/QK4D6OMO.js +2 -0
- package/dist/cdn/QMYN3FVH.js +2 -0
- package/dist/cdn/QQRKMUCB.js +2 -0
- package/dist/cdn/QQS6Z4FZ.js +5468 -0
- package/dist/cdn/QSJ7YSO6.js +2 -0
- package/dist/cdn/QTIJHBJB.js +2 -0
- package/dist/cdn/QTKEVJG2.js +2 -0
- package/dist/cdn/QVFTGLEP.js +2 -0
- package/dist/cdn/QW4LROIM.js +2 -0
- package/dist/cdn/QWOHM2SY.js +2 -0
- package/dist/cdn/QYHIY3ME.js +2 -0
- package/dist/cdn/QYIYNECI.js +2 -0
- package/dist/cdn/R4PTOUBU.js +2 -0
- package/dist/cdn/R7CH3OBE.js +2 -0
- package/dist/cdn/R7OW7BC6.js +2 -0
- package/dist/cdn/RBHMRIVU.js +2 -0
- package/dist/cdn/RGKBSVQD.js +2 -0
- package/dist/cdn/RGS7XNRL.js +4 -0
- package/dist/cdn/RGTW5L2M.js +2 -0
- package/dist/cdn/RL2IUUBA.js +2 -0
- package/dist/cdn/RLTWZY2Y.js +2 -0
- package/dist/cdn/ROWHAGC5.js +2 -0
- package/dist/cdn/RPCTY5PP.js +2 -0
- package/dist/cdn/RPW6M2RS.js +2 -0
- package/dist/cdn/RTTSVKW2.js +2 -0
- package/dist/cdn/RTUW32PG.js +2 -0
- package/dist/cdn/RXVVMKTZ.js +2 -0
- package/dist/cdn/S2TL4ARK.js +2 -0
- package/dist/cdn/S57GAUCL.js +3 -0
- package/dist/cdn/S6DY4JGI.js +2 -0
- package/dist/cdn/S6XQNPGY.js +2 -0
- package/dist/cdn/SCTDVE2P.js +2 -0
- package/dist/cdn/SD326B2E.js +2 -0
- package/dist/cdn/SDXNFZ6Q.js +2 -0
- package/dist/cdn/SDZ7AXWI.js +2 -0
- package/dist/cdn/SEZVVM5Z.js +2 -0
- package/dist/cdn/SGM4YRBH.js +2 -0
- package/dist/cdn/SNSHV52T.js +2 -0
- package/dist/cdn/SP3TJB3V.js +2 -0
- package/dist/cdn/SR3IHWFL.js +2 -0
- package/dist/cdn/SVAOM6PB.js +2 -0
- package/dist/cdn/SZJPVJS6.js +2 -0
- package/dist/cdn/T3M236GE.js +2 -0
- package/dist/cdn/TARH5FST.js +2 -0
- package/dist/cdn/TBD7PFFA.js +2 -0
- package/dist/cdn/TC2QNSUN.js +2 -0
- package/dist/cdn/TCBYBEBE.js +2 -0
- package/dist/cdn/TCCZ5S2A.js +2 -0
- package/dist/cdn/TFMTKJFO.js +2 -0
- package/dist/cdn/TGK6L2ZE.js +2 -0
- package/dist/cdn/TH5ZUUV3.js +2 -0
- package/dist/cdn/THLIDOGM.js +2 -0
- package/dist/cdn/TJLG5Q5Y.js +2 -0
- package/dist/cdn/TJMJIAXA.js +2 -0
- package/dist/cdn/TO5XR7VA.js +2 -0
- package/dist/cdn/TQ5M7ABM.js +2 -0
- package/dist/cdn/TVZTOZL7.js +2 -0
- package/dist/cdn/TXQQV57A.js +2 -0
- package/dist/cdn/U2H7HOIC.js +2 -0
- package/dist/cdn/U7SPPU37.js +2 -0
- package/dist/cdn/UA2PWQXW.js +2 -0
- package/dist/cdn/UADY5XO7.js +2 -0
- package/dist/cdn/UC7PCLBG.js +2 -0
- package/dist/cdn/UCBTNECN.js +2 -0
- package/dist/cdn/UCNRE4DW.js +23 -0
- package/dist/cdn/UCUSWPVC.js +2 -0
- package/dist/cdn/UEMRCQKF.js +2 -0
- package/dist/cdn/UGI23J3C.js +2 -0
- package/dist/cdn/UGPEDWIJ.js +4 -0
- package/dist/cdn/UJKN7G7W.js +2 -0
- package/dist/cdn/UJZ32HDH.js +2 -0
- package/dist/cdn/UMST4RFY.js +2 -0
- package/dist/cdn/UN6MRXZW.js +2 -0
- package/dist/cdn/UOAJQR2X.js +2 -0
- package/dist/cdn/UR5INQGU.js +2 -0
- package/dist/cdn/USNX342T.js +2 -0
- package/dist/cdn/UTQMJRMF.js +2 -0
- package/dist/cdn/UUGPYRMY.js +2 -0
- package/dist/cdn/UWA2UA4S.js +2 -0
- package/dist/cdn/UXDEAKSF.js +2 -0
- package/dist/cdn/UYYBCR75.js +2 -0
- package/dist/cdn/V33D2RRV.js +2 -0
- package/dist/cdn/V3U3RRL7.js +2 -0
- package/dist/cdn/V6SKJ43C.js +2 -0
- package/dist/cdn/V6XW7PC2.js +2 -0
- package/dist/cdn/V7H25Z5U.js +2 -0
- package/dist/cdn/V7PXTC6I.js +2 -0
- package/dist/cdn/VANWWSL3.js +2 -0
- package/dist/cdn/VCGND4NR.js +2 -0
- package/dist/cdn/VFVNN33U.js +2 -0
- package/dist/cdn/VHIRPM4L.js +2 -0
- package/dist/cdn/VIC2IR7N.js +2 -0
- package/dist/cdn/VJ4I63OO.js +2 -0
- package/dist/cdn/VPJ4NGJ5.js +2 -0
- package/dist/cdn/VT5NU2WH.js +2 -0
- package/dist/cdn/VVZSLXLZ.js +2 -0
- package/dist/cdn/VXJI546E.js +2 -0
- package/dist/cdn/W2VLXDRD.js +39 -0
- package/dist/cdn/W37GIL2C.js +2 -0
- package/dist/cdn/W57XOSMI.js +2 -0
- package/dist/cdn/W6BMVYH7.js +2 -0
- package/dist/cdn/W6GBJ4BL.js +2 -0
- package/dist/cdn/WBUC7HJI.js +2 -0
- package/dist/cdn/WEJLZVU6.js +2 -0
- package/dist/cdn/WFV47RA4.js +4 -0
- package/dist/cdn/WFWIIWQC.js +2 -0
- package/dist/cdn/WGUAKT5I.js +2 -0
- package/dist/cdn/WJED2YG7.js +2 -0
- package/dist/cdn/WJFIZ6DL.js +2 -0
- package/dist/cdn/WL6CGZLR.js +2 -0
- package/dist/cdn/WMNWHF5U.js +2 -0
- package/dist/cdn/WN7GK2WG.js +2 -0
- package/dist/cdn/WPADWRCH.js +2 -0
- package/dist/cdn/WSZ646NX.js +2 -0
- package/dist/cdn/WTJOWA2D.js +2 -0
- package/dist/cdn/WTTSGDHM.js +2 -0
- package/dist/cdn/WU3HYV7B.js +2 -0
- package/dist/cdn/WVZNJMRA.js +2 -0
- package/dist/cdn/WYR6Q7EO.js +2 -0
- package/dist/cdn/X5GRVXSY.js +2 -0
- package/dist/cdn/XGOWY36W.js +2 -0
- package/dist/cdn/XI72UBIK.js +2 -0
- package/dist/cdn/XIWVNNXH.js +2 -0
- package/dist/cdn/XKQTJFVJ.js +2 -0
- package/dist/cdn/XKUKAFLE.js +2 -0
- package/dist/cdn/XLV625TR.js +2 -0
- package/dist/cdn/XN55PVRJ.js +2 -0
- package/dist/cdn/XP6ZXTST.js +2 -0
- package/dist/cdn/XX3BCLUI.js +2 -0
- package/dist/cdn/XYUMPZMT.js +2 -0
- package/dist/cdn/XZDHV5BV.js +2 -0
- package/dist/cdn/Y7N6UKCC.js +2 -0
- package/dist/cdn/YBDFIKTN.js +2 -0
- package/dist/cdn/YCEXTCZD.js +2 -0
- package/dist/cdn/YDWT2GP5.js +2 -0
- package/dist/cdn/YHO7A5RX.js +2 -0
- package/dist/cdn/YKYTSHP4.js +2 -0
- package/dist/cdn/YLRR2XFD.js +2 -0
- package/dist/cdn/YMX7NNEY.js +3 -0
- package/dist/cdn/YQMHCSXF.js +2 -0
- package/dist/cdn/YRCBIK2Y.js +2 -0
- package/dist/cdn/YVXHYFKJ.js +2 -0
- package/dist/cdn/YWXDWRYJ.js +2 -0
- package/dist/cdn/Z2Z5RGR2.js +2 -0
- package/dist/cdn/Z3TOG5XS.js +2 -0
- package/dist/cdn/Z756THCU.js +2 -0
- package/dist/cdn/Z7Q6BWC3.js +2 -0
- package/dist/cdn/ZC36M5LD.js +2 -0
- package/dist/cdn/ZCQJ26PE.js +2 -0
- package/dist/cdn/ZFP6AZG7.js +2 -0
- package/dist/cdn/ZKXOPB4E.js +2 -0
- package/dist/cdn/ZM3EAORZ.js +2 -0
- package/dist/cdn/ZNEDALBA.js +2 -0
- package/dist/cdn/ZQPTNYU6.js +2 -0
- package/dist/cdn/ZR5F7KBC.js +2 -0
- package/dist/cdn/ZT74OVX5.js +2 -0
- package/dist/cdn/ZUFDLSS7.js +2 -0
- package/dist/cdn/ZVGAVULD.js +2 -0
- package/dist/cdn/ZX3NL6MQ.js +2 -0
- package/dist/cdn/ZXTOK4AF.js +2 -0
- package/dist/cdn/assets/chat-ui/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -4
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/findColumnAndNodeIndex.js +1 -3
- package/dist/chunks/getResponsiveClasses.js +1 -3
- package/dist/chunks/interpolate-translations.js +1 -3
- package/dist/chunks/isNodeVisible.js +1 -3
- package/dist/chunks/layoutContext.js +1 -3
- package/dist/chunks/migrateTextCard.js +1 -3
- package/dist/chunks/processLayout.js +1 -3
- package/dist/chunks/runtime.js +4 -5
- package/dist/chunks/state.js +1 -3
- package/dist/chunks/typeGuards.js +1 -3
- package/dist/chunks/useGlobalContext.js +1 -3
- package/dist/chunks/useT9n.js +1 -3
- package/dist/chunks/util.js +1 -3
- package/dist/components/arcgis-chat-shell/customElement.d.ts +37 -16
- package/dist/components/arcgis-chat-shell/customElement.js +8 -11
- package/dist/components/arcgis-chat-shell/index.d.ts +0 -4
- package/dist/components/arcgis-chat-ui/customElement.d.ts +148 -64
- package/dist/components/arcgis-chat-ui/customElement.js +15 -18
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -4
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +34 -36
- package/dist/components/arcgis-chat-ui/index.d.ts +0 -5
- package/dist/components/arcgis-chat-ui/util/types.d.ts +8 -29
- package/dist/components/arcgis-hub-ai-assistant/customElement.d.ts +76 -58
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +6 -9
- package/dist/components/arcgis-hub-ai-assistant/index.d.ts +0 -4
- package/dist/components/arcgis-hub-ai-assistant/util/framework.d.ts +69 -176
- package/dist/components/arcgis-hub-entity-associations-card/customElement.d.ts +14 -28
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -4
- package/dist/components/arcgis-hub-entity-associations-card/index.d.ts +0 -1
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.d.ts +8 -20
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +5 -8
- package/dist/components/arcgis-hub-entity-metrics-card/index.d.ts +0 -1
- package/dist/components/arcgis-hub-entity-status-card/customElement.d.ts +24 -11
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +3 -5
- package/dist/components/arcgis-hub-entity-status-card/index.d.ts +0 -1
- package/dist/components/arcgis-hub-entity-view-layout/customElement.d.ts +81 -21
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -12
- package/dist/components/arcgis-hub-entity-view-layout/index.d.ts +0 -3
- package/dist/components/arcgis-layout/customElement.d.ts +49 -46
- package/dist/components/arcgis-layout/customElement.js +8 -11
- package/dist/components/arcgis-layout/index.d.ts +0 -2
- package/dist/components/arcgis-layout-column/customElement.js +3 -5
- package/dist/components/arcgis-layout-container/customElement.d.ts +311 -49
- package/dist/components/arcgis-layout-container/customElement.js +10 -18
- package/dist/components/arcgis-layout-container/index.d.ts +0 -9
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +8 -10
- package/dist/components/arcgis-layout-node-controls/customElement.js +15 -14
- package/dist/components/arcgis-layout-node-editor/customElement.js +6 -8
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -4
- package/dist/components/arcgis-layout-node-wrapper/customElement.js +5 -7
- package/dist/components/arcgis-layout-row/customElement.js +3 -5
- package/dist/components/arcgis-layout-section/customElement.js +3 -5
- package/dist/components/arcgis-nav-card/customElement.d.ts +52 -41
- package/dist/components/arcgis-nav-card/customElement.js +7 -10
- package/dist/components/arcgis-nav-card/index.d.ts +0 -5
- package/dist/components/arcgis-text-card/customElement.d.ts +11 -12
- package/dist/components/arcgis-text-card/customElement.js +6 -9
- package/dist/components/layouts/components/layout-node/customElement.js +3 -5
- package/dist/components/layouts/utils/layout-event-types.d.ts +4 -12
- package/dist/docs/api.json +1 -2758
- package/dist/docs/docs.json +1 -2538
- package/dist/docs/vscode.css-custom-data.json +1 -6
- package/dist/docs/vscode.html-custom-data.json +1 -257
- package/dist/docs/web-types.json +1 -757
- package/dist/embed-config.js +1 -3
- package/dist/index.d.ts +77 -124
- package/dist/index.js +1 -3
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +10 -12
- package/dist/types/components.d.ts +2 -1
- package/dist/types/lumina.d.ts +38 -38
- package/dist/types/preact.d.ts +41 -41
- package/dist/types/react.d.ts +38 -38
- package/dist/types/stencil.d.ts +38 -38
- package/package.json +44 -23
- package/dist/cdn/223DYSRF.js +0 -4
- package/dist/cdn/22ARD3IF.js +0 -4
- package/dist/cdn/24Y6FORO.js +0 -4
- package/dist/cdn/272QKY7I.js +0 -4
- package/dist/cdn/2AIMAK4T.js +0 -4
- package/dist/cdn/2AUADTU3.js +0 -4
- package/dist/cdn/2BWUALRR.js +0 -4
- package/dist/cdn/2CNMTNQ5.js +0 -4
- package/dist/cdn/2CPATXPG.js +0 -4
- package/dist/cdn/2DC45M5O.js +0 -4
- package/dist/cdn/2F6ELGRK.js +0 -4
- package/dist/cdn/2H2BG4TR.js +0 -59
- package/dist/cdn/2HYZ64CH.js +0 -4
- package/dist/cdn/2I2KQS4C.js +0 -4
- package/dist/cdn/2OZUZBRM.js +0 -4
- package/dist/cdn/2S56VE7X.js +0 -4
- package/dist/cdn/2SNZM2E2.js +0 -4
- package/dist/cdn/2T5CQK4U.js +0 -4
- package/dist/cdn/2TMVOJAV.js +0 -4
- package/dist/cdn/2TUZGS47.js +0 -4
- package/dist/cdn/2UNV7MV6.js +0 -4
- package/dist/cdn/2Z6LI35V.js +0 -4
- package/dist/cdn/33UYTPAR.js +0 -4
- package/dist/cdn/352X2QGR.js +0 -4
- package/dist/cdn/3ADNIK2Y.js +0 -4
- package/dist/cdn/3D3BGOQS.js +0 -4
- package/dist/cdn/3D7HUSTX.js +0 -4
- package/dist/cdn/3E7M6XOG.js +0 -4
- package/dist/cdn/3EO44NDP.js +0 -4
- package/dist/cdn/3EU3SA5L.js +0 -4
- package/dist/cdn/3GVLWNGK.js +0 -4
- package/dist/cdn/3GWTFMXE.js +0 -4
- package/dist/cdn/3IN3WRIR.js +0 -6
- package/dist/cdn/3JDMAUL5.js +0 -4
- package/dist/cdn/3L47D65P.js +0 -4
- package/dist/cdn/3MWJHBHP.js +0 -5
- package/dist/cdn/3NV2MPUX.js +0 -4
- package/dist/cdn/3Q4BD3IF.js +0 -4
- package/dist/cdn/3QNNRCX3.js +0 -4
- package/dist/cdn/3SCZKPLQ.js +0 -4
- package/dist/cdn/3SGUO5LN.js +0 -4
- package/dist/cdn/3XHZMPZU.js +0 -4
- package/dist/cdn/3ZTXYJ4Y.js +0 -4
- package/dist/cdn/3ZUR6CKS.js +0 -4
- package/dist/cdn/42CZUWGN.js +0 -4
- package/dist/cdn/42P7XQGR.js +0 -4
- package/dist/cdn/46PNR6PP.js +0 -4
- package/dist/cdn/4C7V3ALB.js +0 -24
- package/dist/cdn/4DRCKYDX.js +0 -4
- package/dist/cdn/4DVGMDYL.js +0 -4
- package/dist/cdn/4DXQDOJY.js +0 -4
- package/dist/cdn/4FCPKYRV.js +0 -4
- package/dist/cdn/4FFFTQPU.js +0 -4
- package/dist/cdn/4MGHREK6.js +0 -4
- package/dist/cdn/4N4BXUI3.js +0 -4
- package/dist/cdn/4OXIV4UU.js +0 -4
- package/dist/cdn/4QKBPPNG.js +0 -4
- package/dist/cdn/4T42AJ7N.js +0 -4
- package/dist/cdn/4TRXRHXC.js +0 -4
- package/dist/cdn/4U7ZY2O6.js +0 -4
- package/dist/cdn/54QNUFFC.js +0 -4
- package/dist/cdn/56DZBI5Y.js +0 -4
- package/dist/cdn/56OBODJI.js +0 -4
- package/dist/cdn/57MHPGWQ.js +0 -4
- package/dist/cdn/57OLAMZK.js +0 -4
- package/dist/cdn/57Z2B4JA.js +0 -6
- package/dist/cdn/5AQTYFNU.js +0 -4
- package/dist/cdn/5B7J2C2V.js +0 -4
- package/dist/cdn/5BAFH2M6.js +0 -4
- package/dist/cdn/5FGU4RIL.js +0 -4
- package/dist/cdn/5H7LKQQG.js +0 -4
- package/dist/cdn/5HQFOLG2.js +0 -51
- package/dist/cdn/5JXQT2TL.js +0 -4
- package/dist/cdn/5LXR7DTG.js +0 -4
- package/dist/cdn/5M7C3TVS.js +0 -4
- package/dist/cdn/5NEDFOOQ.js +0 -4
- package/dist/cdn/5ORXNDK5.js +0 -4
- package/dist/cdn/5QA3CFZH.js +0 -4
- package/dist/cdn/5SRIRLMO.js +0 -4
- package/dist/cdn/5TWTT4QA.js +0 -4
- package/dist/cdn/5TXFDDBW.js +0 -4
- package/dist/cdn/5UTTE67M.js +0 -4
- package/dist/cdn/5V4P6PFT.js +0 -4
- package/dist/cdn/5XJCVQWY.js +0 -4
- package/dist/cdn/5YAJIJMA.js +0 -4
- package/dist/cdn/62BMKYZP.js +0 -4
- package/dist/cdn/62EZAFOC.js +0 -4
- package/dist/cdn/64AVPNNF.js +0 -4
- package/dist/cdn/66RYOP4O.js +0 -4
- package/dist/cdn/6B2QUH5H.js +0 -4
- package/dist/cdn/6CXKWFGP.js +0 -4
- package/dist/cdn/6EQCOPWD.js +0 -4
- package/dist/cdn/6I35L67C.js +0 -4
- package/dist/cdn/6I5KJI2C.js +0 -4
- package/dist/cdn/6JU4K57K.js +0 -4
- package/dist/cdn/6JXJDMFP.js +0 -4
- package/dist/cdn/6N5KMC4D.js +0 -4
- package/dist/cdn/6RJJVVRH.js +0 -4
- package/dist/cdn/6SM2WJFS.js +0 -4
- package/dist/cdn/6TS57WAF.js +0 -4
- package/dist/cdn/6TY5FF4Q.js +0 -4
- package/dist/cdn/74VBGS3G.js +0 -4
- package/dist/cdn/75TIFGJS.js +0 -4
- package/dist/cdn/772IWODF.js +0 -4
- package/dist/cdn/775MTCGC.js +0 -4
- package/dist/cdn/77XEZ6N5.js +0 -4
- package/dist/cdn/7A3ZPGWX.js +0 -4
- package/dist/cdn/7A4XT5D7.js +0 -4
- package/dist/cdn/7AKLHFZE.js +0 -4
- package/dist/cdn/7AOL32SC.js +0 -4
- package/dist/cdn/7G7YVT4R.js +0 -4
- package/dist/cdn/7GEAGLIL.js +0 -4
- package/dist/cdn/7GV5OKDQ.js +0 -4
- package/dist/cdn/7JUTM2O6.js +0 -4
- package/dist/cdn/7KTDJCOM.js +0 -4
- package/dist/cdn/7LFP2CXF.js +0 -4
- package/dist/cdn/7LVQMEQW.js +0 -4
- package/dist/cdn/7OOT67QX.js +0 -4
- package/dist/cdn/7PU4XCLW.js +0 -4
- package/dist/cdn/7QXWSXFS.js +0 -4
- package/dist/cdn/7RFGIVC7.js +0 -4
- package/dist/cdn/7SHUYN5A.js +0 -4
- package/dist/cdn/7T5532G3.js +0 -4
- package/dist/cdn/7UMDKX6G.js +0 -4
- package/dist/cdn/7WPVMZTG.js +0 -4
- package/dist/cdn/7Y5SO7VD.js +0 -4
- package/dist/cdn/7ZV4ATLT.js +0 -4
- package/dist/cdn/A33XFKFF.js +0 -4
- package/dist/cdn/A35T4RKX.js +0 -4
- package/dist/cdn/A37NVPHN.js +0 -4
- package/dist/cdn/A46HZEZK.js +0 -8
- package/dist/cdn/A6M6MHX5.js +0 -5
- package/dist/cdn/A6SLQQDR.js +0 -4
- package/dist/cdn/A75FN5Z2.js +0 -4
- package/dist/cdn/AA62VYHX.js +0 -4
- package/dist/cdn/AA72UVYM.js +0 -4
- package/dist/cdn/ABG2XRDC.js +0 -4
- package/dist/cdn/ADTS5PDF.js +0 -4
- package/dist/cdn/AFHPIISX.js +0 -4
- package/dist/cdn/AFL3G67V.js +0 -4
- package/dist/cdn/AHKTS47P.js +0 -4
- package/dist/cdn/AHOMHRKJ.js +0 -4
- package/dist/cdn/AIJ5CIHH.js +0 -4
- package/dist/cdn/AL6O33MJ.js +0 -4
- package/dist/cdn/AL7C47A5.js +0 -4
- package/dist/cdn/AMIOVKWJ.js +0 -4
- package/dist/cdn/AMZBTVMF.js +0 -4
- package/dist/cdn/AOPV4JOC.js +0 -4
- package/dist/cdn/AQPU5NZK.js +0 -4
- package/dist/cdn/ASR4ON2K.js +0 -4
- package/dist/cdn/AVMT4L3T.js +0 -4
- package/dist/cdn/AXNGWEGF.js +0 -4
- package/dist/cdn/AZ477OFL.js +0 -4
- package/dist/cdn/AZOMYJVF.js +0 -4
- package/dist/cdn/B2TMRXCK.js +0 -4
- package/dist/cdn/B3EPTMF2.js +0 -4
- package/dist/cdn/B6WTMULU.js +0 -4
- package/dist/cdn/BEQBDBVB.js +0 -4
- package/dist/cdn/BFYNGGXH.js +0 -4
- package/dist/cdn/BGFWU6HL.js +0 -4
- package/dist/cdn/BH67FTEM.js +0 -4
- package/dist/cdn/BIJPLOEK.js +0 -4
- package/dist/cdn/BIWC4FTF.js +0 -4
- package/dist/cdn/BK3NRQPG.js +0 -4
- package/dist/cdn/BK7SGXWE.js +0 -4
- package/dist/cdn/BL5WES6U.js +0 -4
- package/dist/cdn/BLC563U3.js +0 -4
- package/dist/cdn/BLPJUGF4.js +0 -4
- package/dist/cdn/BLYWZBAZ.js +0 -4
- package/dist/cdn/BNLLMD3J.js +0 -4
- package/dist/cdn/BQ6K24U7.js +0 -4
- package/dist/cdn/BQIAKBY2.js +0 -4
- package/dist/cdn/BQJ6LLXG.js +0 -4
- package/dist/cdn/BRNJFCXJ.js +0 -4
- package/dist/cdn/BRZU264C.js +0 -4
- package/dist/cdn/BUQYSVIL.js +0 -4
- package/dist/cdn/BWLOGJMF.js +0 -4
- package/dist/cdn/BYLGN5KW.js +0 -4
- package/dist/cdn/C3N32EZ4.js +0 -4
- package/dist/cdn/C43YVPPO.js +0 -4
- package/dist/cdn/C4QBTYKM.js +0 -4
- package/dist/cdn/CA35W5F4.js +0 -4
- package/dist/cdn/CAHWKQPB.js +0 -4
- package/dist/cdn/CAKPB7XB.js +0 -4
- package/dist/cdn/CH2NOF3O.js +0 -4
- package/dist/cdn/CJ2HDBGP.js +0 -4
- package/dist/cdn/CJHVA73N.js +0 -4
- package/dist/cdn/CMOWUP32.js +0 -4
- package/dist/cdn/CNUFG7YJ.js +0 -4
- package/dist/cdn/COHXKCTQ.js +0 -4
- package/dist/cdn/CQWUFIUC.js +0 -4
- package/dist/cdn/CRWLAMDT.js +0 -4
- package/dist/cdn/CSWAF3GY.js +0 -4
- package/dist/cdn/CWJ5QHTH.js +0 -4
- package/dist/cdn/CX6JQCN7.js +0 -4
- package/dist/cdn/CYCXGEFP.js +0 -4
- package/dist/cdn/CZRNQD6Q.js +0 -4
- package/dist/cdn/D3Z4EISV.js +0 -4
- package/dist/cdn/D4K2DCW5.js +0 -4
- package/dist/cdn/D5ZBVNGT.js +0 -4
- package/dist/cdn/D7KX6CO2.js +0 -4
- package/dist/cdn/DAIKTEUW.js +0 -4
- package/dist/cdn/DAWKWAXX.js +0 -4
- package/dist/cdn/DD2W2QVX.js +0 -4
- package/dist/cdn/DDFWZMX6.js +0 -4
- package/dist/cdn/DDITZDJ2.js +0 -4
- package/dist/cdn/DE3S3YVJ.js +0 -4
- package/dist/cdn/DIBRPR7C.js +0 -4
- package/dist/cdn/DJDCQDLZ.js +0 -4
- package/dist/cdn/DJGZ7LZQ.js +0 -4
- package/dist/cdn/DKSCSYS4.js +0 -4
- package/dist/cdn/DL4H6UKF.js +0 -4
- package/dist/cdn/DL526NWW.js +0 -4
- package/dist/cdn/DN7I5NJO.js +0 -4
- package/dist/cdn/DO7FTLPY.js +0 -4
- package/dist/cdn/DR4QD5XR.js +0 -4
- package/dist/cdn/DSFLXTBD.js +0 -4
- package/dist/cdn/DVQQFEGE.js +0 -4
- package/dist/cdn/DWLD6B4C.js +0 -4
- package/dist/cdn/DY2BZNC2.js +0 -4
- package/dist/cdn/DZR5RUAM.js +0 -5
- package/dist/cdn/E32GTLRP.js +0 -4
- package/dist/cdn/E32VYWHE.js +0 -4
- package/dist/cdn/E3JWRJJD.js +0 -16
- package/dist/cdn/E46POOPC.js +0 -4
- package/dist/cdn/E5Z72AQQ.js +0 -4
- package/dist/cdn/EAALD6RL.js +0 -4
- package/dist/cdn/EDU3QVSM.js +0 -4
- package/dist/cdn/EG2UJOKD.js +0 -4
- package/dist/cdn/EG5ZQG2M.js +0 -4
- package/dist/cdn/EKXGSCH5.js +0 -4
- package/dist/cdn/ELCUURSK.js +0 -4
- package/dist/cdn/ELTFLUUW.js +0 -4
- package/dist/cdn/ENZKMMM7.js +0 -4
- package/dist/cdn/EQTINP7M.js +0 -4
- package/dist/cdn/ERHNFESR.js +0 -4
- package/dist/cdn/ERHUWDB6.js +0 -4
- package/dist/cdn/EROP2LAH.js +0 -4
- package/dist/cdn/EVS5POEX.js +0 -4
- package/dist/cdn/EW66C3Y4.js +0 -4
- package/dist/cdn/EWGTGXVB.js +0 -4
- package/dist/cdn/EWJ5UPFV.js +0 -4
- package/dist/cdn/EYTZLOYS.js +0 -12
- package/dist/cdn/EZ7M56FU.js +0 -4
- package/dist/cdn/EZNLUHNC.js +0 -4
- package/dist/cdn/F2BEJGGZ.js +0 -4
- package/dist/cdn/F4Q5TQPF.js +0 -4
- package/dist/cdn/FBRYIS2H.js +0 -4
- package/dist/cdn/FDG2LDVG.js +0 -4
- package/dist/cdn/FDKP4WWC.js +0 -4
- package/dist/cdn/FFPNUEGA.js +0 -4
- package/dist/cdn/FHL6FXC6.js +0 -4
- package/dist/cdn/FILZUKUG.js +0 -4
- package/dist/cdn/FJ7D3WKK.js +0 -4
- package/dist/cdn/FJGI4ZLI.js +0 -4
- package/dist/cdn/FKLLMC6N.js +0 -4
- package/dist/cdn/FL6JOC5Z.js +0 -4
- package/dist/cdn/FLAQNTWS.js +0 -4
- package/dist/cdn/FO6Q33LW.js +0 -4
- package/dist/cdn/FP55SQIU.js +0 -4
- package/dist/cdn/FPKQCSBK.js +0 -4
- package/dist/cdn/FUFLZXZG.js +0 -4
- package/dist/cdn/FXL6YOXQ.js +0 -4
- package/dist/cdn/FYAS5BRP.js +0 -4
- package/dist/cdn/FZAHTNNH.js +0 -4
- package/dist/cdn/G2R555HH.js +0 -4
- package/dist/cdn/G4H5O6RZ.js +0 -4
- package/dist/cdn/GBBL45AT.js +0 -4
- package/dist/cdn/GEARMKBD.js +0 -4
- package/dist/cdn/GEJ7VU4Z.js +0 -4
- package/dist/cdn/GFWEAKI7.js +0 -4
- package/dist/cdn/GGJBTG2T.js +0 -4
- package/dist/cdn/GN5CXQFL.js +0 -4
- package/dist/cdn/GRHPLA3M.js +0 -4
- package/dist/cdn/GSFLWEF4.js +0 -4
- package/dist/cdn/GV4RFGAY.js +0 -59
- package/dist/cdn/GW2VQCB7.js +0 -4
- package/dist/cdn/GXCVH7XO.js +0 -4
- package/dist/cdn/GXM4B5LS.js +0 -4
- package/dist/cdn/GZSLJHJS.js +0 -4
- package/dist/cdn/HA7WO7ZV.js +0 -4
- package/dist/cdn/HAQUBHNQ.js +0 -4
- package/dist/cdn/HB22GPHU.js +0 -4
- package/dist/cdn/HE6NANDK.js +0 -4
- package/dist/cdn/HECQHFGO.js +0 -4
- package/dist/cdn/HFPQIJPW.js +0 -4
- package/dist/cdn/HIJC4AVE.js +0 -4
- package/dist/cdn/HJN5PRKE.js +0 -4
- package/dist/cdn/HJXEYWZA.js +0 -4
- package/dist/cdn/HJZYHXIC.js +0 -4
- package/dist/cdn/HKKOPTMU.js +0 -4
- package/dist/cdn/HOFUISRM.js +0 -4
- package/dist/cdn/HPIDXLAR.js +0 -4
- package/dist/cdn/HR6LQFX4.js +0 -4
- package/dist/cdn/HTBK6JS2.js +0 -4
- package/dist/cdn/HTGFHPQ7.js +0 -4
- package/dist/cdn/HUKVB6JZ.js +0 -4
- package/dist/cdn/HVKVN6O4.js +0 -4
- package/dist/cdn/HW2MSFGQ.js +0 -4
- package/dist/cdn/HX2XQVR7.js +0 -4
- package/dist/cdn/I2FNS5LR.js +0 -4
- package/dist/cdn/I3YIQ2Q2.js +0 -4
- package/dist/cdn/I3YTMURS.js +0 -4
- package/dist/cdn/I4LLEA6W.js +0 -4
- package/dist/cdn/I4ZGVI4R.js +0 -4
- package/dist/cdn/I6LKXOZA.js +0 -4
- package/dist/cdn/I6XGAFU4.js +0 -4
- package/dist/cdn/IBCCLDTO.js +0 -4
- package/dist/cdn/IBZKW2ZX.js +0 -4
- package/dist/cdn/IDQMFDRO.js +0 -4
- package/dist/cdn/IFNJX4NM.js +0 -4
- package/dist/cdn/IFVSZIOO.js +0 -4
- package/dist/cdn/IGPB36FW.js +0 -4
- package/dist/cdn/IPD5PZIS.js +0 -4
- package/dist/cdn/IPUNGCXJ.js +0 -4
- package/dist/cdn/IR2456HW.js +0 -4
- package/dist/cdn/ITXBETMA.js +0 -4
- package/dist/cdn/IVITN6FG.js +0 -4
- package/dist/cdn/IWRI4EJU.js +0 -4
- package/dist/cdn/IYRXIXFJ.js +0 -4
- package/dist/cdn/IZNBN5P3.js +0 -4
- package/dist/cdn/J435JHNM.js +0 -4
- package/dist/cdn/J44GIF45.js +0 -4
- package/dist/cdn/J4LMTTKZ.js +0 -4
- package/dist/cdn/J4TQEUTX.js +0 -4
- package/dist/cdn/J4TUZBJX.js +0 -4
- package/dist/cdn/J6QKUMJG.js +0 -4
- package/dist/cdn/JDDCYFTQ.js +0 -4
- package/dist/cdn/JDIWGWW6.js +0 -4
- package/dist/cdn/JDQDYJW5.js +0 -4
- package/dist/cdn/JDX4MTTT.js +0 -4
- package/dist/cdn/JHDN6YAX.js +0 -4
- package/dist/cdn/JHYVHV2R.js +0 -4
- package/dist/cdn/JLPWW64H.js +0 -4
- package/dist/cdn/JNDDYSQF.js +0 -4
- package/dist/cdn/JP55QQQC.js +0 -4
- package/dist/cdn/JRMHB3GI.js +0 -4
- package/dist/cdn/JUF4TQXY.js +0 -4
- package/dist/cdn/JZ3VSF2F.js +0 -4
- package/dist/cdn/K2Q4OUBD.js +0 -4
- package/dist/cdn/K3CVW4JV.js +0 -4
- package/dist/cdn/K3OUL72V.js +0 -4
- package/dist/cdn/K4LLC4AS.js +0 -4
- package/dist/cdn/K65PMVYW.js +0 -4
- package/dist/cdn/KKBGEJU4.js +0 -4
- package/dist/cdn/KKLIXEIT.js +0 -4
- package/dist/cdn/KLBYVSQJ.js +0 -4
- package/dist/cdn/KLKCQQM5.js +0 -4
- package/dist/cdn/KMNA2TUD.js +0 -4
- package/dist/cdn/KONILJC4.js +0 -4
- package/dist/cdn/KQOXSJIO.js +0 -4
- package/dist/cdn/KU26T7BF.js +0 -4
- package/dist/cdn/KVENEDXO.js +0 -4
- package/dist/cdn/KWZ6I6QK.js +0 -4
- package/dist/cdn/KXWPKTZN.js +0 -4
- package/dist/cdn/KZNKXTGQ.js +0 -4
- package/dist/cdn/KZSEPFBY.js +0 -4
- package/dist/cdn/L237NBJA.js +0 -4
- package/dist/cdn/L3SE7EIB.js +0 -4
- package/dist/cdn/L3SOPIPX.js +0 -4
- package/dist/cdn/L4KWBLHD.js +0 -4
- package/dist/cdn/L5WTXVEI.js +0 -4
- package/dist/cdn/L6JG73FI.js +0 -4
- package/dist/cdn/L6WT3UKE.js +0 -4
- package/dist/cdn/LASSZI72.js +0 -4
- package/dist/cdn/LB3AYL2T.js +0 -4
- package/dist/cdn/LCMDMJYO.js +0 -4
- package/dist/cdn/LEZ5TJEN.js +0 -4
- package/dist/cdn/LFFXATIB.js +0 -4
- package/dist/cdn/LFHY3HHH.js +0 -4
- package/dist/cdn/LG5ZTH4O.js +0 -4
- package/dist/cdn/LGCMKF53.js +0 -25
- package/dist/cdn/LIGQPSUA.js +0 -4
- package/dist/cdn/LOLEHSNO.js +0 -4
- package/dist/cdn/LOMA4VXM.js +0 -4
- package/dist/cdn/LUH5KOSI.js +0 -4
- package/dist/cdn/LULELZV7.js +0 -4
- package/dist/cdn/LWSFXWDE.js +0 -4
- package/dist/cdn/LXL4DPKQ.js +0 -4
- package/dist/cdn/LXSNIYVA.js +0 -4
- package/dist/cdn/LY4YQ5FW.js +0 -4
- package/dist/cdn/M2KUSOG3.js +0 -4
- package/dist/cdn/M2SDWZKL.js +0 -4
- package/dist/cdn/M45QWMZ7.js +0 -4
- package/dist/cdn/M4UYLK2N.js +0 -4
- package/dist/cdn/M6MZHS4N.js +0 -4
- package/dist/cdn/MC6CWS7Y.js +0 -4
- package/dist/cdn/MDWRN6AG.js +0 -4
- package/dist/cdn/MEJBRZGM.js +0 -4
- package/dist/cdn/MFQX6D3E.js +0 -4
- package/dist/cdn/MFTCVHIW.js +0 -4
- package/dist/cdn/MG3FJ3OI.js +0 -4
- package/dist/cdn/MGBSZAYI.js +0 -4
- package/dist/cdn/MGEOLJAM.js +0 -4
- package/dist/cdn/MHE25PHF.js +0 -4
- package/dist/cdn/MIXSZNLU.js +0 -4
- package/dist/cdn/ML6OSMLC.js +0 -4
- package/dist/cdn/MO3NJINL.js +0 -4
- package/dist/cdn/MOG2IHKH.js +0 -4
- package/dist/cdn/MOIQPZZ5.js +0 -4
- package/dist/cdn/MQO332BB.js +0 -4
- package/dist/cdn/MRCPJBKT.js +0 -8
- package/dist/cdn/MSXIUNRX.js +0 -4
- package/dist/cdn/MWQMTUVY.js +0 -4
- package/dist/cdn/MYFXHPP5.js +0 -4
- package/dist/cdn/MZB2IN7X.js +0 -4
- package/dist/cdn/MZYUC2QL.js +0 -4
- package/dist/cdn/N46WCBKK.js +0 -4
- package/dist/cdn/NBD3P53Y.js +0 -4
- package/dist/cdn/NCN2NOJY.js +0 -4
- package/dist/cdn/NFT7656N.js +0 -4
- package/dist/cdn/NIQN4NXH.js +0 -4
- package/dist/cdn/NK6QDUEP.js +0 -4
- package/dist/cdn/NKOP6EMK.js +0 -4
- package/dist/cdn/NL2Z5BCD.js +0 -41
- package/dist/cdn/NMC3PY3A.js +0 -11
- package/dist/cdn/NO7WX7YM.js +0 -4
- package/dist/cdn/NONG5S2I.js +0 -4
- package/dist/cdn/NOVWHP5M.js +0 -4
- package/dist/cdn/NPE6WMD5.js +0 -4
- package/dist/cdn/NPSZ6JQY.js +0 -4
- package/dist/cdn/NQ4CUKGZ.js +0 -4
- package/dist/cdn/NQXMZPSU.js +0 -4
- package/dist/cdn/NRUWEKQQ.js +0 -4
- package/dist/cdn/NSGUZXFS.js +0 -4
- package/dist/cdn/NTNWASLY.js +0 -4
- package/dist/cdn/NZ2RU5YR.js +0 -4
- package/dist/cdn/O37WMTDD.js +0 -4
- package/dist/cdn/O3B2QEC6.js +0 -4
- package/dist/cdn/O4CRCNBF.js +0 -52
- package/dist/cdn/O5VVRERE.js +0 -4
- package/dist/cdn/O6AORHRH.js +0 -4
- package/dist/cdn/O6BTF7CQ.js +0 -9
- package/dist/cdn/O7TMIJLC.js +0 -4
- package/dist/cdn/OBNYP22V.js +0 -4
- package/dist/cdn/OFB6HJRI.js +0 -4
- package/dist/cdn/OHCV5PXD.js +0 -4
- package/dist/cdn/OTICSPKD.js +0 -4
- package/dist/cdn/OW5UV62S.js +0 -4
- package/dist/cdn/OX5VPKL2.js +0 -4
- package/dist/cdn/OZY5DS75.js +0 -4
- package/dist/cdn/P2D752P3.js +0 -4
- package/dist/cdn/P2MRORCM.js +0 -4
- package/dist/cdn/P5GEA246.js +0 -4
- package/dist/cdn/P6KEVZO6.js +0 -4
- package/dist/cdn/P7FJKHX4.js +0 -6
- package/dist/cdn/PAXFVPGG.js +0 -4
- package/dist/cdn/PAYXHFT2.js +0 -4
- package/dist/cdn/PBD3EFRL.js +0 -4
- package/dist/cdn/PBLPPMQD.js +0 -4
- package/dist/cdn/PCK6M5IK.js +0 -4
- package/dist/cdn/PDLN4AV7.js +0 -4
- package/dist/cdn/PG6DTPQK.js +0 -4
- package/dist/cdn/PI2HLWX6.js +0 -4
- package/dist/cdn/PITBNGQB.js +0 -4
- package/dist/cdn/PJFWQQUL.js +0 -4
- package/dist/cdn/PJXOLD5C.js +0 -4
- package/dist/cdn/PKI3QP2C.js +0 -4
- package/dist/cdn/PL6QCETS.js +0 -4
- package/dist/cdn/PMCVB3YZ.js +0 -4
- package/dist/cdn/PTEKNNPG.js +0 -5470
- package/dist/cdn/PTLDDYYD.js +0 -4
- package/dist/cdn/PURWUBDH.js +0 -4
- package/dist/cdn/PVH5YJ4P.js +0 -4
- package/dist/cdn/PVPN2DQR.js +0 -4
- package/dist/cdn/PVU56HZE.js +0 -4
- package/dist/cdn/PWQS7Q3D.js +0 -4
- package/dist/cdn/PXTAYO4M.js +0 -4
- package/dist/cdn/PXYDXJSR.js +0 -4
- package/dist/cdn/PYF3NECU.js +0 -4
- package/dist/cdn/Q2WXMD7G.js +0 -4
- package/dist/cdn/Q3U6VHSC.js +0 -4
- package/dist/cdn/Q5QM5TTZ.js +0 -4
- package/dist/cdn/Q5ZSFOPV.js +0 -4
- package/dist/cdn/Q7G5FLOA.js +0 -4
- package/dist/cdn/QBLTXJX6.js +0 -4
- package/dist/cdn/QCNAXHJN.js +0 -4
- package/dist/cdn/QEDOYY5W.js +0 -4
- package/dist/cdn/QH7NUV3A.js +0 -4
- package/dist/cdn/QHHNCDNN.js +0 -4
- package/dist/cdn/QIWLRPMP.js +0 -4
- package/dist/cdn/QLUJTRGI.js +0 -4
- package/dist/cdn/QQFKWTSA.js +0 -4
- package/dist/cdn/QQM5MZRR.js +0 -4
- package/dist/cdn/QS7WHYCB.js +0 -4
- package/dist/cdn/QUYJFFSQ.js +0 -4
- package/dist/cdn/QWJMP3BB.js +0 -4
- package/dist/cdn/QXWNGB5D.js +0 -4
- package/dist/cdn/R2KNY4CQ.js +0 -4
- package/dist/cdn/R354RBLH.js +0 -4
- package/dist/cdn/RBBIOAZZ.js +0 -4
- package/dist/cdn/RFIVJ7EE.js +0 -4
- package/dist/cdn/RJVPMWB2.js +0 -4
- package/dist/cdn/RJYZ5AUM.js +0 -4
- package/dist/cdn/RN2BS344.js +0 -4
- package/dist/cdn/RNRG67R7.js +0 -4
- package/dist/cdn/ROTSCJED.js +0 -4
- package/dist/cdn/ROZ2KL7S.js +0 -4
- package/dist/cdn/RP75H3CZ.js +0 -4
- package/dist/cdn/RQZGVWLF.js +0 -4
- package/dist/cdn/RSEDON5T.js +0 -4
- package/dist/cdn/RTCPPS3S.js +0 -4
- package/dist/cdn/RTKCZ5XT.js +0 -4
- package/dist/cdn/RVSH3IZK.js +0 -4
- package/dist/cdn/RVY3CPUS.js +0 -4
- package/dist/cdn/RWS23WCH.js +0 -4
- package/dist/cdn/RZFU2UU3.js +0 -4
- package/dist/cdn/S2JIKZB4.js +0 -4
- package/dist/cdn/S4KJW5LL.js +0 -4
- package/dist/cdn/S6QAHGSV.js +0 -4
- package/dist/cdn/SJEE4MQN.js +0 -4
- package/dist/cdn/SJKHIQHU.js +0 -4
- package/dist/cdn/SMPSNOZV.js +0 -4
- package/dist/cdn/SMX6QYWR.js +0 -4
- package/dist/cdn/SNPXLJBM.js +0 -4
- package/dist/cdn/SOT56A4K.js +0 -4
- package/dist/cdn/SPHH6IIK.js +0 -4
- package/dist/cdn/SRYLQFYE.js +0 -4
- package/dist/cdn/SUX4YJNO.js +0 -4
- package/dist/cdn/SV3D2BET.js +0 -4
- package/dist/cdn/SWJENCVG.js +0 -4
- package/dist/cdn/SWL25DIN.js +0 -4
- package/dist/cdn/SZFYCTQ6.js +0 -4
- package/dist/cdn/T2LBLVJN.js +0 -4
- package/dist/cdn/T3GDLAEI.js +0 -4
- package/dist/cdn/T57HV2G2.js +0 -4
- package/dist/cdn/T7E2IKEQ.js +0 -4
- package/dist/cdn/TAWNPMBX.js +0 -4
- package/dist/cdn/TFYQ2GFT.js +0 -4
- package/dist/cdn/TIQDKHDQ.js +0 -4
- package/dist/cdn/TIVO6YFW.js +0 -4
- package/dist/cdn/TIVVAYP5.js +0 -4
- package/dist/cdn/TMYWVC64.js +0 -4
- package/dist/cdn/TQRS3W6G.js +0 -4
- package/dist/cdn/TSCFXIPO.js +0 -4
- package/dist/cdn/TSRXNVKF.js +0 -4
- package/dist/cdn/TTHHEGBK.js +0 -4
- package/dist/cdn/TV3B7BHL.js +0 -4
- package/dist/cdn/TY5KCK5Z.js +0 -4
- package/dist/cdn/TYINDQ5H.js +0 -4
- package/dist/cdn/U3FGADYV.js +0 -4
- package/dist/cdn/U6VRVKPK.js +0 -4
- package/dist/cdn/U6YDGKKM.js +0 -4
- package/dist/cdn/UCLKDT5R.js +0 -4
- package/dist/cdn/UFDFKGOP.js +0 -4
- package/dist/cdn/UFRBXL6S.js +0 -4
- package/dist/cdn/UHTQGHY7.js +0 -4
- package/dist/cdn/UIMDM5FK.js +0 -4
- package/dist/cdn/UJMQVKU3.js +0 -4
- package/dist/cdn/UOR65ZRB.js +0 -4
- package/dist/cdn/URZ2MNIF.js +0 -5
- package/dist/cdn/UUFJQIH6.js +0 -4
- package/dist/cdn/UUJPBNJJ.js +0 -12
- package/dist/cdn/UVWWQXRF.js +0 -4
- package/dist/cdn/UZL4TYMT.js +0 -4
- package/dist/cdn/V2JP6OAU.js +0 -4
- package/dist/cdn/V2YWX2SZ.js +0 -4
- package/dist/cdn/V3UPXMEH.js +0 -4
- package/dist/cdn/V3USUSNT.js +0 -4
- package/dist/cdn/V3XWPGQA.js +0 -4
- package/dist/cdn/V6RDWM5X.js +0 -4
- package/dist/cdn/V7SE2CSJ.js +0 -4
- package/dist/cdn/VCHT4RLQ.js +0 -4
- package/dist/cdn/VDWQKRSQ.js +0 -5
- package/dist/cdn/VETFI6HT.js +0 -4
- package/dist/cdn/VFE524P7.js +0 -4
- package/dist/cdn/VFYR5EA6.js +0 -4
- package/dist/cdn/VG2NRFGG.js +0 -4
- package/dist/cdn/VKYLPE6C.js +0 -4
- package/dist/cdn/VMYERSDO.js +0 -4
- package/dist/cdn/VQIZ67AV.js +0 -4
- package/dist/cdn/VQREN3IR.js +0 -4
- package/dist/cdn/VSZ55GDI.js +0 -4
- package/dist/cdn/VUXCR6HK.js +0 -4
- package/dist/cdn/VXGGCPII.js +0 -4
- package/dist/cdn/W22ZNDOE.js +0 -4
- package/dist/cdn/W4S46YTK.js +0 -4
- package/dist/cdn/W5MT6HAO.js +0 -4
- package/dist/cdn/WCRFEIHD.js +0 -4
- package/dist/cdn/WDGYLZJ7.js +0 -4
- package/dist/cdn/WG77UKTT.js +0 -4
- package/dist/cdn/WHPQS2LI.js +0 -4
- package/dist/cdn/WI3D3PON.js +0 -4
- package/dist/cdn/WK7L6IM7.js +0 -4
- package/dist/cdn/WLDGU2JY.js +0 -4
- package/dist/cdn/WN66EDA7.js +0 -5
- package/dist/cdn/WNQZP4IE.js +0 -4
- package/dist/cdn/WQUJZMM2.js +0 -4
- package/dist/cdn/WR4XOQ6Y.js +0 -4
- package/dist/cdn/WTN6TECZ.js +0 -4
- package/dist/cdn/WUBODJGL.js +0 -4
- package/dist/cdn/WVA2PQIW.js +0 -4
- package/dist/cdn/WYLG7SFQ.js +0 -4
- package/dist/cdn/X33XZLVK.js +0 -4
- package/dist/cdn/X377ZI6X.js +0 -4
- package/dist/cdn/X5DB6BWJ.js +0 -4
- package/dist/cdn/X6VNRZKC.js +0 -4
- package/dist/cdn/XDPI5RIM.js +0 -4
- package/dist/cdn/XDYFOIZ3.js +0 -4
- package/dist/cdn/XEXA55BE.js +0 -4
- package/dist/cdn/XFBCFOQY.js +0 -4
- package/dist/cdn/XIFTGKOL.js +0 -4
- package/dist/cdn/XIMM25B3.js +0 -4
- package/dist/cdn/XIR47KH3.js +0 -4
- package/dist/cdn/XOAL5OZC.js +0 -4
- package/dist/cdn/XOXDCGGF.js +0 -4
- package/dist/cdn/XRERSCLD.js +0 -4
- package/dist/cdn/XRHXEJLI.js +0 -4
- package/dist/cdn/XSPG7ASI.js +0 -4
- package/dist/cdn/XSWRRI2U.js +0 -4
- package/dist/cdn/XT5D6W3K.js +0 -4
- package/dist/cdn/XXO4PSOI.js +0 -4
- package/dist/cdn/XYJ7Q7BQ.js +0 -4
- package/dist/cdn/Y3UQJ4KU.js +0 -4
- package/dist/cdn/Y5DITFQU.js +0 -4
- package/dist/cdn/Y5NX2Y2S.js +0 -4
- package/dist/cdn/YATOE3FS.js +0 -4
- package/dist/cdn/YBDAFMPD.js +0 -4
- package/dist/cdn/YCQ5PDDG.js +0 -4
- package/dist/cdn/YDQQRB7Y.js +0 -4
- package/dist/cdn/YFA4YAPP.js +0 -4
- package/dist/cdn/YIM7S5CY.js +0 -4
- package/dist/cdn/YJH5TOUQ.js +0 -4
- package/dist/cdn/YKAP6ELU.js +0 -4
- package/dist/cdn/YM5RX4DY.js +0 -4
- package/dist/cdn/YMJFYFSK.js +0 -4
- package/dist/cdn/YNDTJO27.js +0 -4
- package/dist/cdn/YPP5AHIV.js +0 -4
- package/dist/cdn/YRUUJNFG.js +0 -4
- package/dist/cdn/YSK5OU6I.js +0 -4
- package/dist/cdn/YU2ANKMV.js +0 -4
- package/dist/cdn/YUUH24MO.js +0 -4
- package/dist/cdn/YV4DE5K3.js +0 -4
- package/dist/cdn/YVC32RLX.js +0 -4
- package/dist/cdn/YWI4IQXV.js +0 -4
- package/dist/cdn/YWO5UU4C.js +0 -4
- package/dist/cdn/YXB7F2TS.js +0 -4
- package/dist/cdn/YXS2DPCY.js +0 -4
- package/dist/cdn/YZOWLHC5.js +0 -4
- package/dist/cdn/Z42T7W7L.js +0 -4
- package/dist/cdn/Z573MPTS.js +0 -4
- package/dist/cdn/Z5KWOXFU.js +0 -4
- package/dist/cdn/ZA5YAX3Y.js +0 -4
- package/dist/cdn/ZB5UP542.js +0 -4
- package/dist/cdn/ZDMGIHVL.js +0 -4
- package/dist/cdn/ZFT625HS.js +0 -4
- package/dist/cdn/ZH7CZ47U.js +0 -4
- package/dist/cdn/ZHINQTYB.js +0 -4
- package/dist/cdn/ZIFJ3P7R.js +0 -4
- package/dist/cdn/ZMDNRYN3.js +0 -4
- package/dist/cdn/ZMOAAOXE.js +0 -4
- package/dist/cdn/ZS5VYJSU.js +0 -4
- package/dist/cdn/ZS7WOF2G.js +0 -4
- package/dist/cdn/ZTB2XY2O.js +0 -4
- package/dist/cdn/ZUY4OOUE.js +0 -4
- package/dist/cdn/ZVAIFP4O.js +0 -4
- package/dist/cdn/ZX4WORF7.js +0 -4
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.d.ts +0 -13
- package/dist/components/arcgis-chat-ui/functional/chat-action/index.d.ts +0 -3
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.d.ts +0 -13
- package/dist/components/arcgis-chat-ui/functional/chat-response/index.d.ts +0 -7
- package/dist/components/arcgis-chat-ui/util/contentFallback.d.ts +0 -1
- package/dist/components/arcgis-chat-ui/util/customElement.d.ts +0 -38
- package/dist/components/arcgis-hub-ai-assistant/util/configuration.d.ts +0 -6
- package/dist/components/arcgis-hub-ai-assistant/util/customElement.d.ts +0 -11
- package/dist/components/arcgis-hub-ai-assistant/util/map.d.ts +0 -2
- package/dist/components/arcgis-hub-ai-assistant/util/types.d.ts +0 -23
- package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultEntityLayout.d.ts +0 -5
- package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultProjectLayout.d.ts +0 -5
- package/dist/components/arcgis-hub-entity-view-layout/utils/buildLayoutFromEntityView.d.ts +0 -7
- package/dist/components/arcgis-layout-column/customElement.d.ts +0 -43
- package/dist/components/arcgis-layout-column/index.d.ts +0 -2
- package/dist/components/arcgis-layout-editor-toolbar/customElement.d.ts +0 -34
- package/dist/components/arcgis-layout-editor-toolbar/index.d.ts +0 -8
- package/dist/components/arcgis-layout-node-controls/customElement.d.ts +0 -58
- package/dist/components/arcgis-layout-node-controls/index.d.ts +0 -7
- package/dist/components/arcgis-layout-node-editor/customElement.d.ts +0 -22
- package/dist/components/arcgis-layout-node-editor/index.d.ts +0 -3
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.d.ts +0 -18
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/index.d.ts +0 -4
- package/dist/components/arcgis-layout-node-wrapper/customElement.d.ts +0 -23
- package/dist/components/arcgis-layout-node-wrapper/index.d.ts +0 -7
- package/dist/components/arcgis-layout-row/customElement.d.ts +0 -33
- package/dist/components/arcgis-layout-row/index.d.ts +0 -2
- package/dist/components/arcgis-layout-section/customElement.d.ts +0 -33
- package/dist/components/arcgis-layout-section/index.d.ts +0 -2
- package/dist/components/arcgis-text-card/utils/migrateTextCard.d.ts +0 -27
- package/dist/components/layouts/components/layout-node/customElement.d.ts +0 -31
- package/dist/components/layouts/components/layout-node/index.d.ts +0 -21
- package/dist/components/layouts/utils/deepFreeze.d.ts +0 -11
- package/dist/components/layouts/utils/findColumnAndNodeIndex.d.ts +0 -19
- package/dist/components/layouts/utils/findNodesReferencingVariable.d.ts +0 -13
- package/dist/components/layouts/utils/findVariableUsagesInNode.d.ts +0 -9
- package/dist/components/layouts/utils/getAddableLayoutNodes.d.ts +0 -12
- package/dist/components/layouts/utils/getLayoutNodeConfig.d.ts +0 -12
- package/dist/components/layouts/utils/getLayoutNodeConfigs.d.ts +0 -16
- package/dist/components/layouts/utils/getResponsiveClasses.d.ts +0 -44
- package/dist/components/layouts/utils/isNodeVisible.d.ts +0 -9
- package/dist/components/layouts/utils/layoutContext.d.ts +0 -29
- package/dist/components/layouts/utils/lockLayout.d.ts +0 -9
- package/dist/components/layouts/utils/memoizeAsync.d.ts +0 -7
- package/dist/components/layouts/utils/migrations/getLayoutNodeMigrationFn.d.ts +0 -12
- package/dist/components/layouts/utils/migrations/migrateLayout.d.ts +0 -19
- package/dist/components/layouts/utils/processLayout.d.ts +0 -2
- package/dist/components/layouts/utils/removeNode.d.ts +0 -11
- package/dist/components/layouts/utils/removeUnreferencedVariables.d.ts +0 -8
- package/dist/components/layouts/utils/repositionNode.d.ts +0 -11
- package/dist/components/layouts/utils/typeGuards.d.ts +0 -25
- package/dist/components/layouts/utils/validateLayout.d.ts +0 -7
- package/dist/controllers/querystring.d.ts +0 -102
- package/dist/controllers/useGlobalContext.d.ts +0 -6
- package/dist/controllers/useT9n.d.ts +0 -1
- package/dist/embed-config.d.ts +0 -27
- package/dist/html/arcgis-layout/fixtures/blocks-and-cards-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/entity-view-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/fluid-section-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/holy-grail-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/index.d.ts +0 -9
- package/dist/html/arcgis-layout/fixtures/multiple-column-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/nested-rows-columns-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/nogutters-align-offset.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/single-column-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/tabbed-layout.d.ts +0 -2
- package/dist/runtime.d.ts +0 -6
- package/dist/util/getTranslatedString.d.ts +0 -15
- package/dist/util/interpolate-translations.d.ts +0 -18
- package/dist/util/interpolate.d.ts +0 -16
- package/dist/util/querySelectorAllDeep.d.ts +0 -7
- package/dist/util/state.d.ts +0 -7
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as s,c as o}from"./C43VMDWA.js";import{a as C}from"./YHO7A5RX.js";import{b as j,c as x}from"./42CWBYSM.js";import{a as P,b,c as v}from"./X5GRVXSY.js";import{a as h}from"./2KL5NQNG.js";import{a as L,f as u}from"./7GI7PCWY.js";import"./6VA6IJMP.js";import{B as M,C as p,D as t,E as $,H as N,b as e,m,o as E}from"./RGS7XNRL.js";import"./BMRPHSYL.js";import"./IONZ3SDQ.js";function w({tagName:y,props:i,classes:n,styles:a,children:r,options:g}){let k=L(i,"node.id"),d={...i,isEditMode:g.isEditMode},l={class:n,"data-node-id":k,label:i.label,inert:g.isEditMode&&y!=="arcgis-nav-card"?!0:void 0},c;switch(y){case"arcgis-layout-row":c=e`<arcgis-layout-row style=${t(a)} ${o(l)} ${s(d)}>${r}</arcgis-layout-row>`;break;case"calcite-button":c=e`<calcite-button style=${t(a)} ${o(l)} ${s(d)}>${r}</calcite-button>`;break;case"calcite-chip":c=e`<calcite-chip .label=${i.label} style=${t(a)} ${o(l)} ${s(d)}>${r}</calcite-chip>`;break;case"calcite-avatar":c=e`<calcite-avatar style=${t(a)} ${o(l)} ${s(d)}>${r}</calcite-avatar>`;break;case"arcgis-text-card":c=e`<arcgis-text-card style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-text-card>`;break;case"arcgis-hub-gallery-card":c=e`<arcgis-hub-gallery-card style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-gallery-card>`;break;case"arcgis-hub-image":c=e`<arcgis-hub-image style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-image>`;break;case"arcgis-hub-embed-card":c=e`<arcgis-hub-embed-card style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-embed-card>`;break;case"arcgis-nav-card":c=e`<arcgis-nav-card style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-nav-card>`;break;case"arcgis-hub-timeline":c=e`<arcgis-hub-timeline style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-timeline>`;break;case"arcgis-hub-entity-metadata":c=e`<arcgis-hub-entity-metadata style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-entity-metadata>`;break;case"arcgis-hub-catalog":c=e`<arcgis-hub-catalog .catalogs=${i.catalogs} style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-catalog>`;break;case"arcgis-hub-map-view":c=e`<arcgis-hub-map-view style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-map-view>`;break;case"arcgis-hub-entity-metrics-card":c=e`<arcgis-hub-entity-metrics-card .entity=${i.entity} style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-entity-metrics-card>`;break;case"arcgis-hub-entity-associations-card":c=e`<arcgis-hub-entity-associations-card .entity=${i.entity} style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-entity-associations-card>`;break;case"arcgis-hub-entity-status-card":c=e`<arcgis-hub-entity-status-card .entity=${i.entity} style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-entity-status-card>`;break;case"arcgis-hub-entity-metrics-view":c=e`<arcgis-hub-entity-metrics-view style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-entity-metrics-view>`;break;case"arcgis-hub-project-initiatives-view":c=e`<arcgis-hub-project-initiatives-view style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-project-initiatives-view>`;break;case"arcgis-hub-entity-hero":c=e`<arcgis-hub-entity-hero style=${t(a)} ${$} ${o(l)} ${s(d)}>${r}</arcgis-hub-entity-hero>`;break;case"div":c=e`<div .innerHTML=${i.html??""} style=${t(a)} ${o(l)} ${s(d)}></div>`;break;default:c=e`<div style=${t(a)} ${o(l)} ${s(d)}>${r}</div>`}return g.slotted?c:h(k,e`<arcgis-layout-node-wrapper .activatedNode=${i.activatedNode} .isEditMode=${g.isEditMode} .node=${i.node}>${c}</arcgis-layout-node-wrapper>`)}var f=class extends M{constructor(){super(...arguments),this.debug=!1,this.isEditMode=!1,this.arcgisLayoutNodeHighlight=m(),this.arcgisLayoutNodeUnHighlight=m()}static{this.properties={node:0,activatedNode:0,utils:0,debug:5,isEditMode:5}}static{this.shadowRootOptions=E}_getChildClasses(i){let n=i.classes?.length?[...i.classes]:[];return b(i)&&n.push(...j(i)),v(i)&&n.push(...x(i)),n}render(){let{debug:i,utils:n}=this;return this.node.children?.filter(a=>this.isEditMode?!0:C(a)).map(a=>{let{id:r}=a;if(P(a)||v(a)){u.warn(`Child with id ${r} in arcgis-layout-column is not a row or card.`);return}if(b(a))try{return h(a.id,e`<arcgis-layout-row class=${p(this._getChildClasses(a).join(" "))} .activatedNode=${this.activatedNode} .debug=${i} .isEditMode=${this.isEditMode} .node=${a} .utils=${n} style=${t(a.styles)} .role=${a.rowProps?.role} .ariaLabel=${a.rowProps?.ariaLabel} ${s(a.properties??{})}></arcgis-layout-row>`)}catch(g){return u.error(`Error rendering row with id ${r} in arcgis-hub-layout-column:`,g),h(a.id,e`<arcgis-layout-row class=${p({"layout-error":i})} .debug=${i} .node=${{id:a.id,tag:"arcgis-layout-row"}}></arcgis-layout-row>`)}try{return w({tagName:a.tag,classes:this._getChildClasses(a).join(" "),styles:a.styles,options:{isEditMode:this.isEditMode},props:{activatedNode:this.activatedNode,debug:i,isEditMode:this.isEditMode,key:a.id,node:a,utils:n,...a.properties},children:Object.values(a.slots??{}).map(g=>typeof g=="string"?g:w({tagName:g.tag,options:{isEditMode:this.isEditMode,slotted:!0},props:g.properties??{}}))})}catch(g){return u.error(`Error rendering block with id ${a.id} in arcgis-layout-column:`,g),i?h(a.id,e`<div class="layout-error"></div>`):null}})??[]}};N("arcgis-layout-column",f);export{f as ArcgisLayoutColumn};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as P,b as U}from"./6YRKIUVP.js";import"./O247GUBF.js";import{a as m,b as w}from"./OYSFOPFK.js";import"./GJRBKC6D.js";import"./ETC47ZTE.js";import"./QK2OPJGK.js";import"./BFNODBIF.js";import"./SGM4YRBH.js";import"./XN55PVRJ.js";import"./5FBDGDSL.js";import"./GZOH7TH2.js";import"./6VE4Q3FO.js";import"./F4PVRAMX.js";import"./FZCPWCBD.js";import{a as v}from"./2GWRW6YG.js";import"./HITR5JF7.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import{$ as x}from"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import{a as g}from"./WJFIZ6DL.js";import"./LVCMKKG7.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as E}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import{a as y}from"./K2DF2MZK.js";import"./RL2IUUBA.js";import{a as A}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import b from"./BU6RNCBS.js";import{a as C}from"./ZM3EAORZ.js";import{a as l}from"./YCEXTCZD.js";import"./5V53QYYF.js";import{c as p}from"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import{a as f}from"./HEPYE6RX.js";import{a as k}from"./7GTUV67W.js";import{a as h}from"./USNX342T.js";import{b as a,c as j,d as M,e as G,i as F}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:V,d:L,g:u}])=>{function I(t,e){let i={canSetAccessToPublic:!1,canSetAccessToOrg:!1,canSetAccessToPrivate:!1};switch(t.type){case"Event":i=W(t);break;case"Group":i=D(t,e);break;default:i=H(t,e)}return i}function D(t,e){var i;let r={canSetAccessToPublic:!1,canSetAccessToOrg:!1,canSetAccessToPrivate:!1},s=((i=t.userMembership)===null||i===void 0?void 0:i.memberType)||"view";return(s==="admin"||s==="owner")&&(r.canSetAccessToPublic=p("platform:portal:user:shareGroupToPublic",e).access,r.canSetAccessToOrg=p("platform:portal:user:shareGroupToOrg",e).access,r.canSetAccessToPrivate=!0),r}function W(t){let e={canSetAccessToPublic:!1,canSetAccessToOrg:!1,canSetAccessToPrivate:!1},i=t;return e.canSetAccessToPublic=i.canChangeAccessPublic,e.canSetAccessToOrg=i.canChangeAccessOrg,e.canSetAccessToPrivate=i.canChangeAccessPrivate,e}function H(t,e){let i={canSetAccessToPublic:!1,canSetAccessToOrg:!1,canSetAccessToPrivate:!1};if(e.isAuthenticated){let r=!1;r=["platform:portal:admin:shareToPublic","platform:portal:user:shareToPublic"].some(c=>p(c,e).access),i.canSetAccessToPublic=r&&t.itemControl==="admin";let o=!1;o=["platform:portal:admin:shareToOrg","platform:portal:user:shareToOrg"].some(c=>p(c,e).access),i.canSetAccessToOrg=o&&t.itemControl==="admin",i.canSetAccessToPrivate=t.itemControl==="admin"}return i}var R=":host{display:block;height:100%}arcgis-hub-workspace-pane{--arcgis-hub-workspace-pane-max-width:var(--arcgis-hub-workspace-pane-max-width-value, 55rem);--arcgis-configuration-form-footer-max-width:50rem;--arcgis-configuration-form-footer-scalable-padding:0.5rem}arcgis-hub-group-list-manager{margin-top:1rem}section{margin-bottom:0px;border-radius:0.25rem;padding:1.25rem;--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);background:white}section h1,section h2,section h3,section h4,section h5{font-size:var(--calcite-font-size-1);margin-top:0px;margin-bottom:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}section h6{margin-top:0px;margin-bottom:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}",N=R,T=function(t,e,i,r){var s=arguments.length,o=s<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(o=(s<3?n(o):s>3?n(e,i,o):n(e,i))||o);return s>3&&o&&Object.defineProperty(e,i,o),o},d={noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success"},b=class{constructor(t){F(this,t),this.hubTelemetry=G(this,"hubTelemetry",7),this.arcgisHubWorkspaceEntityChange=G(this,"arcgisHubWorkspaceEntityChange",7),this.handleAccessChange=async e=>{this.access=e.detail;let i=e.composedPath();try{await U(this.entity,this.access,this._context),this.hubTelemetry.emit({telemetry:Object.assign(Object.assign({},l.dictionary.category.content.action.update.label.access.details[this.access]),{response:l.constants.response.SUCCESS}),composedPath:i}),u({title:this.intl.t("access.alert.success"),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:this.intl.t("access.alert.label")}})}catch{this.hubTelemetry.emit({telemetry:Object.assign(Object.assign({},l.dictionary.category.content.action.update.label.access.details[this.access]),{response:l.constants.response.FAILURE}),composedPath:i}),u({title:this.intl.t("access.alert.failure"),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"danger",label:this.intl.t("access.alert.label")}})}this.arcgisHubWorkspaceEntityChange.emit({isDirty:!1,entity:this.entity})},this.entity=void 0,this.isMobile=!1,this.currentEditGroups=void 0,this.currentViewGroups=void 0,this.supportingTeams=void 0,this.access=void 0,E(this,"handleEditGroupUpdate","handleViewGroupUpdate","handleGalleryAction","handleGroupCreation","handleEditGroupCreation","handleViewGroupCreation","handleGroupCreationFailure")}async componentWillLoad(){var t;await this.fetchExistingSharingGroups(this.entity,this._context),this.supportingTeams=k(this.entity,"legacyTeams"),this.access=this.convertAccess((t=this.entity)===null||t===void 0?void 0:t.access),await this.loadIntl()}async loadIntl(){this.intl=await A.loadIntlForComponent(this.element)}get _context(){return V()}get type(){return C(this.entity)||"content"}get isGroup(){return this.type==="group"}get canCreateEditGroups(){return p("hub:group:create:edit",this._context,this.entity).access}get canCreateViewGroups(){return p("hub:group:create:view",this._context,this.entity).access}get defaultEditGroup(){let t=f(v("hubEditGroup",this._context));return t.name="",t}get defaultViewGroup(){let t=f(v("hubViewGroup",this._context));return t.name="",t}async fetchExistingSharingGroups(t,e){let r=!t||this.isGroup||this.type==="user"?[]:await P(t,e);this.currentEditGroups=r.reduce((s,o)=>(y(o)&&s.push(o.id),s),[]),this.currentViewGroups=r.reduce((s,o)=>(y(o)||s.push(o.id),s),[])}async handleEditGroupUpdate(t){let{added:e,removed:i,updatedList:r}=t.detail,s=[];e&&s.push(l.dictionary.category.content.action.update.label.groups.details.addEditGroups),i&&s.push(l.dictionary.category.content.action.update.label.groups.details.removeEditGroups);try{i&&(this.entity=await w(this.entity,i,this._context)),e&&(this.entity=await m(this.entity,e,this._context)),this.currentEditGroups=r,s.forEach(o=>{var n;this.hubTelemetry.emit(Object.assign(Object.assign({},o),{response:l.constants.response.SUCCESS,count:(n=this.currentEditGroups)===null||n===void 0?void 0:n.length}))}),this.arcgisHubWorkspaceEntityChange.emit({entity:this.entity,isDirty:!1})}catch(o){u({title:this.getStringWithFallback(`${this.type}.errorMessage`,this.intl.t("content.errorMessage")),message:"",configuration:Object.assign(Object.assign({},d),{kind:"danger",label:this.intl.t("notice.label")})}),h.error(o),s.forEach(n=>{var c;this.hubTelemetry.emit(Object.assign(Object.assign({},n),{response:l.constants.response.FAILURE,count:(c=this.currentEditGroups)===null||c===void 0?void 0:c.length}))})}finally{this.fetchExistingSharingGroups(this.entity,this._context)}}async handleViewGroupUpdate(t){let{added:e,removed:i,updatedList:r}=t.detail,s=[];e&&s.push(l.dictionary.category.content.action.update.label.groups.details.addViewGroups),i&&s.push(l.dictionary.category.content.action.update.label.groups.details.removeViewGroups);try{i&&(this.entity=await w(this.entity,i,this._context)),e&&(this.entity=await m(this.entity,e,this._context)),this.currentViewGroups=r,s.forEach(o=>{var n;this.hubTelemetry.emit(Object.assign(Object.assign({},o),{response:l.constants.response.SUCCESS,count:(n=this.currentViewGroups)===null||n===void 0?void 0:n.length}))}),this.arcgisHubWorkspaceEntityChange.emit({entity:this.entity,isDirty:!1})}catch(o){u({title:this.getStringWithFallback(`${this.type}.errorMessage`,this.intl.t("content.errorMessage")),message:"",configuration:Object.assign(Object.assign({},d),{kind:"danger",label:this.intl.t("notice.label")})}),h.error(o),s.forEach(n=>{var c;this.hubTelemetry.emit(Object.assign(Object.assign({},n),{response:l.constants.response.FAILURE,count:(c=this.currentViewGroups)===null||c===void 0?void 0:c.length}))})}finally{this.fetchExistingSharingGroups(this.entity,this._context)}}get facets(){var t,e,i,r,s,o,n;let c=this._context.currentUser.groups.reduce((_,S)=>(S.userMembership.memberType==="admin"&&_.push(S.id),_),[]),O={label:this.intl.t("groupPicker.facet.label"),key:"from",display:"single-select",operation:"OR",options:[{label:this.intl.t("groupPicker.facet.myGroups"),key:this.intl.t("groupPicker.facet.myGroups"),selected:!0,predicates:[{owner:(t=this._context)===null||t===void 0?void 0:t.currentUser.username}]},{label:this.intl.t("groupPicker.facet.myOrganization"),key:this.intl.t("groupPicker.facet.myOrganization"),selected:!1,predicates:[{orgid:(i=(e=this._context)===null||e===void 0?void 0:e.currentUser)===null||i===void 0?void 0:i.orgId,searchUserAccess:"groupMember",searchUserName:this.entity.owner,isviewonly:!1},{orgid:(s=(r=this._context)===null||r===void 0?void 0:r.currentUser)===null||s===void 0?void 0:s.orgId,id:c}]}]};return this.canShowMyCommunityFacet&&O.options.push({label:this.intl.t("groupPicker.facet.myCommunity"),key:this.intl.t("groupPicker.facet.myCommunity"),selected:!1,predicates:[{orgid:(o=this._context)===null||o===void 0?void 0:o.communityOrgId,searchUserAccess:"groupMember",searchUserName:this.entity.owner,isviewonly:!1},{orgid:(n=this._context)===null||n===void 0?void 0:n.communityOrgId,id:c}]}),[O]}get canShowMyCommunityFacet(){var t;let e=!!(!((t=this._context)===null||t===void 0)&&t.communityOrgId),i=this.canShareToGroups,r=e&&i;return this.entity.access!=="public"&&e&&i&&(r=this.isEntityOwner),r}get createNewGroupsLink(){var t;return`${(t=this._context)===null||t===void 0?void 0:t.portalUrl}/home/groups.html`}get orgOverviewLink(){var t;return`${(t=this._context)===null||t===void 0?void 0:t.portalUrl}/home/organization.html?#overview`}get isEntityOwner(){var t,e;return this.entity.owner===((e=(t=this._context)===null||t===void 0?void 0:t.currentUser)===null||e===void 0?void 0:e.username)}get canUnshareFromGroups(){return this.isEntityOwner}get accessOptions(){return I(this.entity,this._context)}get canChangeAccess(){let t=this.entity.access||"private";return this.accessOptions.canSetAccessToPublic&&t!=="public"||this.accessOptions.canSetAccessToOrg&&t!=="org"||this.accessOptions.canSetAccessToPrivate&&t!=="private"&&t!=="shared"}get isMemberOfOwningOrg(){var t,e,i,r;let s="unknown";return this.entity.orgUrlKey?s=this.entity.orgUrlKey===((e=(t=this._context)===null||t===void 0?void 0:t.portal)===null||e===void 0?void 0:e.urlKey):this.entity.orgId&&(s=this.entity.orgId===((r=(i=this._context)===null||i===void 0?void 0:i.portal)===null||r===void 0?void 0:r.id)),s}get canShareToGroups(){let t=!1;return t=["platform:portal:user:shareToGroup"].some(i=>p(i,this._context).access),t}get canShareToEditGroups(){var t,e;return this.canShareToGroups&&this.entity.owner===((e=(t=this._context)===null||t===void 0?void 0:t.currentUser)===null||e===void 0?void 0:e.username)}get canShareToViewGroups(){if(!this.canShareToGroups)return!1;let t=!1;return this.isEntityOwner?t=!0:(this.entity.access==="public"&&(t=!0),this.isMemberOfOwningOrg&&this.entity.access==="org"&&(t=!0)),t}get supportingGroupsQuery(){return{targetEntity:"group",filters:[{predicates:[{id:this.supportingTeams}]}]}}get supportingTeamsActionLinks(){return[{action:"unlinkTeam",label:this.intl.t("supportTeamsRemove"),icon:"x-circle",showLabel:!0}]}handleGalleryAction(t){let{action:e,model:i}=t.detail;e==="unlinkTeam"&&this.unlinkSupportingTeam(i)}async unlinkSupportingTeam(t){try{let e=this.entity;e.legacyTeams=this.supportingTeams.filter(i=>i!==t.id),await x(e,this._context.hubRequestOptions),this.supportingTeams=e.legacyTeams,u({title:this.intl.t("supportingTeamsRemoveSuccess"),message:"",configuration:Object.assign(Object.assign({},d),{kind:"success",label:this.intl.t("notice.label")})})}catch(e){h.error(e),u({title:this.intl.t("supportingTeamsRemoveError"),message:"",configuration:Object.assign(Object.assign({},d),{kind:"danger",label:this.intl.t("notice.label")})})}}getStringWithFallback(t,e){return this.intl.t(t,void 0,{fallback:e})}async handleEditGroupCreation(t){this.handleGroupCreation(t,"edit")}async handleViewGroupCreation(t){this.handleGroupCreation(t,"view")}async handleGroupCreation(t,e){var i;let r,{id:s}=t.detail;try{await this._context.refreshUser(),L(this._context),this.entity=await m(this.entity,[s],this._context),e==="edit"&&(this.currentEditGroups=[...this.currentEditGroups,s],r=l.dictionary.category.content.action.update.label.groups.details.addEditGroups),e==="view"&&(this.currentViewGroups=[...this.currentViewGroups,s],r=l.dictionary.category.content.action.update.label.groups.details.addViewGroups),this.hubTelemetry.emit(Object.assign(Object.assign({},r),{response:l.constants.response.SUCCESS,count:(i=this.currentViewGroups)===null||i===void 0?void 0:i.length}))}catch(o){h.error(o),u({title:this.getStringWithFallback(`${this.type}.errorMessage`,this.intl.t("content.errorMessage")),message:"",configuration:Object.assign(Object.assign({},d),{kind:"danger",label:this.intl.t("notice.label")})})}}handleGroupCreationFailure(t){t.detail&&typeof t.detail=="string"&&h.error(`Error creating group: ${t.detail}`),u({title:this.intl.t("groupCreateError"),message:"",configuration:Object.assign(Object.assign({},d),{kind:"danger",label:this.intl.t("notice.label")})})}convertAccess(t){return t==="shared"?"private":t}renderSupportingTeams(){let{supportingTeams:t,type:e}=this;if(t&&t.length&&e==="site")return a("section",null,a("h3",null,this.intl.t("supportingTeams")),a("div",null,this.intl.t("supportingTeamsDesc")),a("arcgis-hub-gallery",{cardActionLinks:this.supportingTeamsActionLinks,layout:"list",limit:100,linkTarget:"siteRelative",mobileView:this.isMobile,newTab:!1,onArcgisHubGalleryAction:this.handleGalleryAction,query:this.supportingGroupsQuery,showEmptyState:!1}))}render(){var t,e;return a(j,{key:"df9adf8f8dcd2922c3604bccfc25222b1cc85773","data-element":"entity-collaborators"},a("arcgis-hub-workspace-pane",{key:"cb44505c51a6f5d576420d555ad1bdbd3449c0e3",isMobile:this.isMobile},a("h1",{key:"c44ad8131ba663af320ef828905dadbb3ae8561e",slot:"title"},this.intl.t("collaborators")),a("div",{key:"4e61b677f05765033e0c72ddf5697375eb66f4de"},a("div",{key:"06bab17e2d6700982260970ff768f4b948627e12",class:"entity-collaborators__access-sharing-container"},a("section",{key:"e9cde1dac40fe47a0bd26c20115f7fb655f4b68a"},a("h3",{key:"2847dd2e8a4a1fd82361e1a38337ca3dbd036d6d"},this.intl.t("accessTitle")),a("arcgis-hub-access-level-controls",{key:"47e33216bc487a46ac6d4180d1af990a8a3bd66f",accessLevel:this.convertAccess(this.access),accessOptions:this.accessOptions,itemType:this.type,onArcgisHubItemAccessLevelChange:this.handleAccessChange,orgName:(e=(t=this._context)===null||t===void 0?void 0:t.portal)===null||e===void 0?void 0:e.name}))),!this.isGroup&&a("div",{class:"entity-collaborators__group-sharing-container"},a("section",null,a("h3",null,this.intl.t("groupSharingTitle")),a("h6",null,this.intl.t("editGroupsTitle")),a("div",null,this.getStringWithFallback(`${this.type}.editGroupsDescription`,this.intl.t("content.editGroupsDescription"))),a("arcgis-hub-group-list-manager",{allowAdd:this.canShareToEditGroups,allowRemove:this.canUnshareFromGroups,class:"edit-groups-list-manager",groupIds:this.currentEditGroups,isMobile:this.isMobile,metadataMode:"members",onArcgisHubGroupListManagerChanged:this.handleEditGroupUpdate,pickerClassName:"edit-groups-picker",pickerFacets:this.facets,pickerToggleLabel:this.intl.t("editGroupButtonText"),wellKnownPickerCatalogs:["editGroups"]}),a("h6",null,this.intl.t("viewGroupsTitle")),a("div",null,this.getStringWithFallback(`${this.type}.viewGroupsDescription`,this.intl.t("content.viewGroupsDescription"))),a("arcgis-hub-group-list-manager",{allowAdd:this.canShareToViewGroups,allowRemove:this.canUnshareFromGroups,class:"view-groups-list-manager",groupIds:this.currentViewGroups,metadataMode:"members",onArcgisHubGroupListManagerChanged:this.handleViewGroupUpdate,pickerClassName:"view-groups-picker",pickerFacets:this.facets,pickerToggleLabel:this.intl.t("viewGroupButtonText"),wellKnownPickerCatalogs:["viewGroups"]}))),this.renderSupportingTeams())))}static get assetsDirs(){return["locales"]}get element(){return M(this)}};T([g("entity")],b.prototype,"accessOptions",null);T([g("supportingTeams")],b.prototype,"supportingGroupsQuery",null);T([g()],b.prototype,"supportingTeamsActionLinks",null);b.style=N;return b},b)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
function y(i){let{delay:t}=i;if(!Number.isInteger(t)||t<0)throw new Error("delay must be a positive integer");return(g,n,s)=>{let{value:o}=s,r=async function(...l){let p=new Promise(a=>setTimeout(a,t)),m=o.apply(this,l);return p.then(()=>m)};return Object.assign(Object.assign({},s),{value:r})}}var e={Item:"item",EditPost:"edit.post",EditPostGroup:"edit.post.group",EditPostItem:"edit.post.item",EditReply:"reply.post",EditReplyGroup:"edit.reply.group",EditReplyItem:"edit.reply.item",Group:"group",Reply:"reply"},c={[e.Item]:{title:"item.title",message:"item.message"},[e.EditPost]:{title:"post.title",message:"post.message"},[e.EditPostGroup]:{title:"post.title",message:"post.message.group"},[e.EditPostItem]:{title:"post.title",message:"post.message.item"},[e.EditReply]:{title:"reply.title",message:"reply.message"},[e.EditReplyGroup]:{title:"reply.title",message:"reply.message.group"},[e.EditReplyItem]:{title:"reply.title",message:"reply.message.item"},[e.Group]:{title:"group.title",message:"group.message"},[e.Reply]:{title:"reply.title.generic",message:"reply.message.generic"}};export{y as a,e as b,c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a}from"./37IO4VH2.js";import{b as n,e as t,i as o}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var l=class{constructor(e){o(this,e),this.arcgisConfigurationEditorFieldInputChange=t(this,"arcgisConfigurationEditorFieldInputChange",7),this.params=void 0,a(this,"handleCalciteInputTimeZonePickerChange")}handleCalciteInputTimeZonePickerChange(e){let i=e.target;this.arcgisConfigurationEditorFieldInputChange.emit(i.value)}render(){var e,i;return n("calcite-input-time-zone",{key:"cca3132e3b65a53b04d4789452d12964bbf0a019",disabled:this.params.disabled,mode:"name",onCalciteInputTimeZoneChange:this.handleCalciteInputTimeZonePickerChange,overlayPositioning:(i=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||i===void 0?void 0:i.overlayPositioning,scale:this.params.scale,value:this.params.value})}};export{l as hub_field_input_time_zone};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as n}from"./37IO4VH2.js";import{a as i}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import"./USNX342T.js";import{b as t,c as a,d as r,e as s,i as l}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var d=":host{display:block}.list-description{margin-bottom:1.5rem}.feed-container{margin-bottom:0.75rem;display:grid;align-items:flex-end;grid-template-columns:1fr min-content}.feed-container calcite-button{margin-left:0.75rem;margin-bottom:0.75rem;height:2rem}",u=d,b=class{constructor(e){l(this,e),this.hubTelemetry=s(this,"hubTelemetry",7),this.feeds=void 0,n(this,"generateViewButtonHandler")}onCopyButtonClicked(e){let o=e.detail,c=this.feeds.find(m=>m.copyUrl===o);this.hubTelemetry.emit({category:"Interaction",action:"Copy",label:"Content",details:c.telemetryName})}async componentWillLoad(){this.intl=await i.loadIntlForComponent(this.element)}generateViewButtonHandler(e){return()=>{this.hubTelemetry.emit({category:"Navigation",action:"View",label:"Content",details:e.telemetryName})}}render(){return t(a,{key:"52dc275369c07671d713d81f53394a5890f49cfd"},t("p",{key:"d254826ce2ed7529b3f1c438086c9d0fc2479e98",class:"list-description"},t("slot",{key:"5ceb678e96249e9c9910fb1a1bf0f5af5053403c"})),this.feeds.map(e=>t("div",{class:"feed-container",key:e.label},t("arcgis-copyable-input",{label:e.label,readonly:!0,value:e.copyUrl||e.url}),t("calcite-button",{appearance:"outline",href:e.url,iconEnd:"launch",label:this.intl.t("viewButtonLabel"),onClick:this.generateViewButtonHandler(e),target:"_blank"},this.intl.t("viewButtonText")))))}static get assetsDirs(){return["locales"]}get element(){return r(this)}};b.style=u;export{b as arcgis_hub_feeds_list};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a}from"./37IO4VH2.js";import{a as i}from"./YCEXTCZD.js";import"./5V53QYYF.js";import{b as s,e as t,i as r}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var d=class{constructor(e){r(this,e),this.arcgisConfigurationEditorFieldInputChange=t(this,"arcgisConfigurationEditorFieldInputChange",7),this.hubTelemetry=t(this,"hubTelemetry",7),this.params=void 0,a(this,"handleCalciteSwitchChange")}handleCalciteSwitchChange(e){this.arcgisConfigurationEditorFieldInputChange.emit(e.target.checked),this.hubTelemetry.emit(Object.assign(Object.assign({},i.dictionary.category.interaction.action[e.target.checked?"select":"deselect"]),{label:this.params.telemetryLabel}))}render(){var e;return s("calcite-switch",{key:"90d0f88e2d0a2e6be38640d45114d81f89642aa2",checked:this.params.value,disabled:this.params.disabled,label:this.params.schema.title,onCalciteSwitchChange:this.handleCalciteSwitchChange,scale:((e=this.params.uiSchema.options)===null||e===void 0?void 0:e.scale)||this.params.scale})}};export{d as hub_field_input_switch};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{c as V,d as Q,e as X,f as Z}from"./DOOSTAKT.js";import{a as W}from"./BFNODBIF.js";import"./FZCPWCBD.js";import"./LG3VZTHJ.js";import{a as Y}from"./UJKN7G7W.js";import{a as z,e as B}from"./NPWIO5CS.js";import"./B6CP7FIT.js";import{a as J}from"./AEPE3IDB.js";import{a as L}from"./5GNQYAFV.js";import{a as G}from"./JI5AIZ2W.js";import"./GVF26EON.js";import{a as M}from"./HSFPILSC.js";import{c as H}from"./H2V2RZ6M.js";import"./CU2TSBCT.js";import{c as q}from"./OQOFL4GS.js";import{a as _,d as N,j}from"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as U}from"./37IO4VH2.js";import{b as P}from"./RGKBSVQD.js";import{h as T}from"./FZ7ZK37I.js";import{a as $}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import{j as K}from"./ZM3EAORZ.js";import{a as x}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import{a as R}from"./7GTUV67W.js";import"./USNX342T.js";import{b as m,c as tt,d as et,e as O,i as rt}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var ut=t=>{let{folderId:e,start:r=1,num:n=10,authentication:d}=t,h=e?`/${e}`:"";return _(t).then(c=>`${P(t)}/content/users/${c}${h}`).then(c=>T(c,{httpMethod:"GET",authentication:d,params:{start:r,num:n}}))},ft=t=>{let{authentication:e,id:r,title:n,exportFormat:d,exportParameters:h}=t;return _(t).then(c=>`${P(t)}/content/users/${c}/export`).then(c=>T(c,{httpMethod:"POST",authentication:e,params:{itemId:r,title:n,exportFormat:d,exportParameters:h}}))},lt={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function d(a,o,s){this.fn=a,this.context=o,this.once=s||!1}function h(a,o,s,i,w){if(typeof s!="function")throw new TypeError("The listener must be a function");var f=new d(s,i||a,w),p=r?r+o:o;return a._events[p]?a._events[p].fn?a._events[p]=[a._events[p],f]:a._events[p].push(f):(a._events[p]=f,a._eventsCount++),a}function c(a,o){--a._eventsCount===0?a._events=new n:delete a._events[o]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var o=[],s,i;if(this._eventsCount===0)return o;for(i in s=this._events)e.call(s,i)&&o.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(s)):o},l.prototype.listeners=function(o){var s=r?r+o:o,i=this._events[s];if(!i)return[];if(i.fn)return[i.fn];for(var w=0,f=i.length,p=new Array(f);w<f;w++)p[w]=i[w].fn;return p},l.prototype.listenerCount=function(o){var s=r?r+o:o,i=this._events[s];return i?i.fn?1:i.length:0},l.prototype.emit=function(o,s,i,w,f,p){var y=r?r+o:o;if(!this._events[y])return!1;var u=this._events[y],D=arguments.length,I,g;if(u.fn){switch(u.once&&this.removeListener(o,u.fn,void 0,!0),D){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,s),!0;case 3:return u.fn.call(u.context,s,i),!0;case 4:return u.fn.call(u.context,s,i,w),!0;case 5:return u.fn.call(u.context,s,i,w,f),!0;case 6:return u.fn.call(u.context,s,i,w,f,p),!0}for(g=1,I=new Array(D-1);g<D;g++)I[g-1]=arguments[g];u.fn.apply(u.context,I)}else{var ht=u.length,E;for(g=0;g<ht;g++)switch(u[g].once&&this.removeListener(o,u[g].fn,void 0,!0),D){case 1:u[g].fn.call(u[g].context);break;case 2:u[g].fn.call(u[g].context,s);break;case 3:u[g].fn.call(u[g].context,s,i);break;case 4:u[g].fn.call(u[g].context,s,i,w);break;default:if(!I)for(E=1,I=new Array(D-1);E<D;E++)I[E-1]=arguments[E];u[g].fn.apply(u[g].context,I)}}return!0},l.prototype.on=function(o,s,i){return h(this,o,s,i,!1)},l.prototype.once=function(o,s,i){return h(this,o,s,i,!0)},l.prototype.removeListener=function(o,s,i,w){var f=r?r+o:o;if(!this._events[f])return this;if(!s)return c(this,f),this;var p=this._events[f];if(p.fn)p.fn===s&&(!w||p.once)&&(!i||p.context===i)&&c(this,f);else{for(var y=0,u=[],D=p.length;y<D;y++)(p[y].fn!==s||w&&!p[y].once||i&&p[y].context!==i)&&u.push(p[y]);u.length?this._events[f]=u.length===1?u[0]:u:c(this,f)}return this},l.prototype.removeAllListeners=function(o){var s;return o?(s=r?r+o:o,this._events[s]&&c(this,s)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(lt);var pt=lt.exports;function mt(t){let e=["Bytes","KB","MB","GB","TB"],r=t;if(r===0)return"n/a";let n=Math.floor(Math.log(r)/Math.log(1024));return n===0?[r,e[n]]:[(r/1024**n).toFixed(1),e[n]]}var v=class extends Error{constructor(e,r,n){super(e),this.status=n,this.url=r}};function C(t){let{host:e,route:r,query:n}=t,d=e.endsWith("/")?e:`${e}/`,h=new URL(r,d);return h.search=wt(n),h.toString()}function wt(t={}){let e=Object.keys(t).filter(r=>t[r]!==void 0).reduce((r,n)=>(r[n]=t[n],r),{});return new URLSearchParams(e).toString()}function A(t){let{datasetId:e,format:r,spatialRefId:n,geometry:d,where:h}=t;return`${e}:${r}:${n}:${d}:${h}`}var nt={Shapefile:"shp",CSV:"csv","File Geodatabase":"fgdb",GeoJson:"geojson",KML:"kml"};function dt(t){if(!nt[t])throw new Error(`Unsupported Hub download format: ${t}`);return nt[t]}function ct(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,formats:dt(t.format),geometry:d?JSON.stringify(d):void 0,where:h},l=C({host:e,route:`/api/v3/datasets/${r}/downloads`,query:c});return fetch(l).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s);return a.json()}).then(a=>(gt(a),yt(a,A(t))))}function gt({data:t}){if(!t)throw new Error('Unexpected API response; no "data" property.');if(!Array.isArray(t))throw new Error('Unexpected API response; "data" is not an array.');if(t.length>1)throw new Error('Unexpected API response; "data" contains more than one download.')}function yt(t,e){let{data:[r]}=t;if(!r)return{downloadId:e,status:"not_ready"};let{attributes:{contentLastModified:n,lastModified:d,status:h,errors:c,contentLength:l,cacheTime:a,source:{lastEditDate:o}},links:{content:s}}=r;return{downloadId:e,contentLastModified:n,lastEditDate:o,lastModified:d,status:h,errors:c||[],downloadUrl:s,contentLength:l,cacheTime:a}}var F=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,eventEmitter:n,pollingInterval:d,existingFileDate:h=new Date(0).toISOString()}=e,c=new Date(h).getTime();this.pollTimer=setInterval(()=>{ct(e).then(l=>{if(Dt(l,c))return n.emit(`${r}ExportComplete`,{detail:{metadata:l}}),this.disablePoll();if(It(l)){let{errors:[a]}=l;return n.emit(`${r}ExportError`,{detail:{error:a,metadata:l}}),this.disablePoll()}}).catch(l=>(n.emit(`${r}PollingError`,{detail:{error:l,metadata:{status:"error"}}}),this.disablePoll()))},d)}};function bt(t){let e=new F;return e.activatePoll(t),e}function Dt(t,e){let{status:r,lastModified:n}=t,d=new Date(n).getTime();return r==="ready"||r==="ready_unknown"&&d>e}function It(t){return t&&(t.status==="error_updating"||t.status==="error_creating")}function Et(t){return ut({authentication:t}).then(e=>{let r=e.folders.find(n=>n.title==="item-exports");return r?{folder:r}:z({authentication:t,title:"item-exports"})}).then(e=>{let{folder:r}=e;return r.id})}var b={READY:"ready",READY_UNKNOWN:"ready_unknown",STALE:"stale",NOT_READY:"not_ready",LOCKED:"locked",STALE_LOCKED:"stale_locked",DISABLED:"disabled",CREATING:"creating",UPDATING:"updating",ERROR_CREATING:"error_creating",ERROR_UPDATING:"error_updating",ERROR:"error"},S=class t extends Error{constructor(e){super(e),Object.setPrototypeOf(this,t.prototype)}};function xt(t){let{downloadId:e,datasetId:r,exportCreated:n,spatialRefId:d,eventEmitter:h,authentication:c}=t,{itemId:l,layerId:a}=L(r),o=[X(l),Z(a),`modified:${n}`,Q(d)];return B({item:{id:e,typekeywords:o.join(",")},authentication:c}).then(()=>W({id:e,authentication:c,access:"private"})).then(()=>Et(c)).then(s=>H({itemId:e,folderId:s,authentication:c})).catch(s=>{if(!(s&&s.code==="CONT_0011"))throw Y({id:e,authentication:c}),new S(s.message)}).then(()=>h.emit(`${e}ExportComplete`,{detail:{metadata:{downloadId:e,status:b.READY,lastModified:new Date().toISOString(),downloadUrl:C({host:c.portal,route:`content/items/${e}/data`,query:{token:c.token}})}}}))}var k=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,datasetId:n,format:d,spatialRefId:h,jobId:c,authentication:l,exportCreated:a,eventEmitter:o,pollingInterval:s}=e;this.pollTimer=setInterval(()=>{j({id:r,jobId:c,jobType:"export",authentication:l}).then(i=>{if(i.status==="completed")return xt({datasetId:n,format:d,authentication:l,downloadId:r,spatialRefId:h,exportCreated:a,eventEmitter:o}).then(()=>{this.disablePoll()});if(i.status==="failed")return o.emit(`${r}ExportError`,{detail:{error:new Error(i.statusMessage),metadata:{status:b.ERROR,errors:[new Error(i.statusMessage)]}}}),this.disablePoll()}).catch(i=>(i instanceof S?o.emit(`${r}ExportError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}):o.emit(`${r}PollingError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}),this.disablePoll()))},s)}};function vt(t){let e=new k;return e.activatePoll(t),e}function St(t){let{target:e,downloadId:r,datasetId:n,jobId:d,format:h,authentication:c,exportCreated:l,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,host:f,existingFileDate:p}=t;return!e||e==="hub"?bt({host:f,downloadId:r,datasetId:n,format:h,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,existingFileDate:p}):vt({downloadId:r,datasetId:n,jobId:d,authentication:c,exportCreated:l,format:h,spatialRefId:s,eventEmitter:a,pollingInterval:o,geometry:i,where:w})}function Ct(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,format:dt(t.format),geometry:d,where:h},l=C({host:e,route:`/api/v3/datasets/${r}/downloads`});return fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s)}).then(()=>({downloadId:A(t)}))}function Rt(t){let{datasetId:e,title:r,format:n,authentication:d}=t,[h]=e.split("_");return ft({id:h,exportFormat:n,exportParameters:Tt(t),title:r,authentication:d}).then(c=>{let{size:l,jobId:a,exportItemId:o}=c;return{downloadId:o,jobId:a,size:l,exportCreated:Date.now()}})}function Tt(t){let{datasetId:e,spatialRefId:r,where:n}=t,d=e.split("_")[1];if(!d)return r?{targetSR:{wkid:Number(r)}}:{};let h=[{id:Number(d),where:n}];return r?{layers:h,targetSR:{wkid:Number(r)}}:{layers:h}}function Pt(t){let{host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c,title:l,target:a,authentication:o}=t;return!a||a==="hub"?Ct({host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c}):Rt({datasetId:r,format:n,title:l,authentication:o,spatialRefId:d,where:c})}var ot={Shapefile:"Shapefile",CSV:"CSV",KML:"KML",GeoJson:"GeoJson",Excel:"Excel","File Geodatabase":"File Geodatabase","Feature Collection":"Feature Collection","Scene Package":"Scene Package"},_t=600*1e3;function Lt(t,e){return t==="portal"&&e&&new Date().getTime()-e<=_t}function Ot(t,e){let r=e?e.toLowerCase():"",n=R(t,"properties.downloadsConfig.enabled")!==!1,d=R(t,"properties.downloadsConfig.formats")||{},h=!d[r]||d[r].enabled!==!1;return n?h:!1}var at={FeatureService:"Feature Service",MapService:"Map Service"},Ft=t=>t===ot.CSV||t===ot.KML;function kt(t){let{datasetId:e,authentication:r,format:n,spatialRefId:d,target:h,portal:c}=t,{itemId:l,layerId:a}=L(e),o,s,i,w;return N(l,{authentication:r,portal:c}).then(f=>{let{type:p,modified:y,url:u}=f;return w=f,s=y,i=p,At({url:u,authentication:r,type:p,modified:y,format:n,layerId:a,portal:c})}).then(f=>{let{modified:p,format:y}=f;return o=p,q({q:V(l,{layerId:a,onlyTypes:[y],spatialRefId:d}),num:1,sortField:"modified",sortOrder:"DESC",authentication:r,portal:c})}).then(f=>Kt({cachedDownload:f.results[0],datasetId:e,format:n,spatialRefId:d,serviceLastEditDate:o,itemModifiedDate:s,itemType:i,authentication:r,target:h,item:w,portal:c})).catch(f=>{throw f})}function At(t){let{format:e,layerId:r,url:n,type:d,modified:h,authentication:c,portal:l}=t;return d!==at.FeatureService&&d!==at.MapService?Promise.resolve({modified:h,format:e}):st(G({url:n,authentication:c,portal:l})).then(a=>{let s=(a.layers||[]).map(i=>st(J({url:`${n}/${i.id}`,authentication:c,portal:l})));return Promise.all(s)}).then(a=>({format:Mt({format:e,layerId:r,layers:a}),modified:Ut(a)}))}function Mt(t){let{format:e,layerId:r,layers:n}=t;return $t(r,n)&&Ft(e)?`${e} Collection`:e}function $t(t,e){return t===void 0&&e.length>1}function Ut(t){return t.map(r=>{let{editingInfo:{lastEditDate:n}={}}=r;return n}).filter(r=>r!==void 0).sort((r,n)=>n-r)[0]}function Kt(t){let{cachedDownload:e,serviceLastEditDate:r,authentication:n,target:d,item:h,format:c,portal:l}=t,a=r===void 0?void 0:new Date(r).toISOString(),{created:o,id:s}=e||{},i=Lt(d,r),f=Ot(h,c)?Nt(r,o,i):b.DISABLED;return e?{downloadId:s,status:f,lastEditDate:a,contentLastModified:new Date(o).toISOString(),lastModified:new Date(o).toISOString(),downloadUrl:C({host:l||n.portal,route:`content/items/${s}/data`,query:{token:n?.token}})}:{downloadId:A(t),status:f,lastEditDate:a}}function Nt(t,e,r){return e?t?t>e?r?b.STALE_LOCKED:b.STALE:b.READY:b.READY_UNKNOWN:r?b.LOCKED:b.NOT_READY}function st(t){return t.catch(e=>{if(e.name==="ArcGISAuthError")return e.retry(()=>Promise.resolve(null),1);throw e})}function jt(t){let{host:e,datasetId:r,spatialRefId:n,format:d,geometry:h,where:c,target:l,authentication:a}=t;return!l||l==="hub"?ct({host:e,datasetId:r,format:d,spatialRefId:n,geometry:h,where:c}):kt({portal:`${e}/sharing/rest`,datasetId:r,format:d,authentication:a,spatialRefId:n,target:l})}var Ht=":host{font-size:1em}calcite-card div{font-size:1em}h3{font-size:1.25em}dl{font-size:inherit}dt,dd,calcite-dropdown-item{font-size:0.875em}dt{float:left;clear:left;margin-right:0.25rem}dt.ltr::after{content:':'}dd.rtl::after{content:':'}dd{margin:0px;padding:0px;margin-left:110px;margin-inline-start:0}a{vertical-align:middle}calcite-icon{margin-left:0.25rem}a:visited{color:inherit}calcite-dropdown{width:100%;--calcite-dropdown-width:100%;position:relative}calcite-dropdown-item span{color:#323232}calcite-button{width:100%}calcite-card div{width:100%}div[slot='footer-start']{display:block}",qt=Ht,Gt=5e3,zt={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};function it(t,e){return t==="hub"||!!e}var Bt=class{constructor(t){rt(this,t),this.hubTelemetry=O(this,"hubTelemetry",7),this.hubDownloadCardSuccess=O(this,"hubDownloadCardSuccess",7),this.contentLengthString=null,this.poller=null,this.loading=void 0,this.metadata=void 0,this.exportRequested=!1,this.apiError=void 0,this.host=void 0,this.datasetId=void 0,this.format=void 0,this.name=void 0,this.target="hub",this.spatialRefId="4326",this.where=void 0,this.geometry=void 0,this.filename=void 0,this.username=void 0,this.token=void 0,U(this,"exportDatasetComplete","exportDatasetError","exportPollingError","download","downloadKeyDown","exportDataset","exportDatasetKeyDown")}async componentWillLoad(){this.resetUndefinedProps(),await this.setLocalization(),this.setAuthentication(),await this.fetchMetadataAndSetState(),this.setTranslations()}buildDownloadTelemetry({isSuccess:t=!0,isCached:e=!0}={}){return Object.assign(Object.assign({},e?x.dictionary.category.interaction.action.download.details.cache:x.dictionary.category.interaction.action.download.details.export),{label:this.format,response:t?x.constants.response.SUCCESS:x.constants.response.FAILURE})}resetUndefinedProps(){["spatialRefId","where","geometry","filename","target"].forEach(t=>{this[t]=this[t]==="undefined"?void 0:this[t]}),this.spatialRefId||(this.spatialRefId="4326")}async setLocalization(){this.intl=await $.loadIntlForComponent(this.element),this.dateTimeFormatter=new Intl.DateTimeFormat(this.intl.locale,zt),this.setLabels()}setLabels(){let t=["buttonDownload","fileCreated","fileSize","buttonOptions","menuRequest"];this.labels=t.reduce((e,r)=>(e[r]=this.intl.t(r),e),{})}setAuthentication(){this.username&&this.token&&(this.authentication=new M({username:this.username,portal:`${this.host}/sharing/rest`,token:this.token}),this.authentication.getToken=()=>new Promise(t=>{t(this.token)}))}setTranslations(){this.setContentLengthString()}setContentLengthString(){let{metadata:{contentLength:t}={}}=this;if(t){let e=mt(t);this.contentLengthString=typeof e=="string"?this.intl.t(e.toLowerCase()):`${e[0]} ${this.intl.t(e[1].toLowerCase())}`}}async watchHandler(){this.resetUndefinedProps(),await this.fetchMetadataAndSetState()}async disconnectedCallback(){this.resetUndefinedProps(),this.poller&&this.poller.disablePoll()}async fetchMetadataAndSetState(){this.poller&&this.poller.disablePoll();let t=this.getServiceParams();try{this.metadata=await jt(t),this.pollingEvent=new pt,this.exportInProgress()&&this.poll()}catch(e){this.apiError=e}}getServiceParams(){let t={host:this.host,datasetId:this.datasetId,format:this.format,target:this.target,authentication:this.authentication,spatialRefId:this.spatialRefId};return this.where&&(t.where=this.where),this.geometry&&(t.geometry=this.geometry),t}poll(){let t=this.getServiceParams();this.pollingEvent.on(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.on(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.on(`${this.metadata.downloadId}PollingError`,this.exportPollingError),this.poller=St(Object.assign(Object.assign({},t),{downloadId:this.metadata.downloadId,jobId:this.metadata.jobId,exportCreated:this.metadata.exportCreated,eventEmitter:this.pollingEvent,pollingInterval:Gt,existingFileDate:new Date(this.metadata.lastModified||0).toISOString()}))}async download(){if(this.metadata&&this.metadata.downloadUrl)try{let t=this.transferFile(this.metadata.downloadUrl);return this.hubTelemetry.emit(this.buildDownloadTelemetry()),this.hubDownloadCardSuccess.emit(),t}catch(t){throw this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1})),t}return await this.exportDataset()}transferFile(t){return this.format==="Feature Collection"?window.open(t):K(t)}async exportDataset(){this.exportRequested=!0,this.metadata.status=this.downloadCached()?"updating":"creating";let t=Object.assign({title:this.filename},this.getServiceParams());try{let e=await Pt(t);this.metadata=Object.assign(Object.assign({},this.metadata),e),this.poll()}catch(e){this.apiError=e,this.metadata.status="error",this.metadata.errors=[e]}}exportDatasetComplete(t){if(this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isCached:!1})),this.hubDownloadCardSuccess.emit(),this.exportRequested){let{downloadUrl:e}=this.metadata;if(e)return this.transferFile(e)}}exportDatasetError(t){this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportPollingError(t){this.apiError=t.detail.error,this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportDatasetHandler(t){this.metadata=Object.assign(Object.assign({},this.metadata),t.detail.metadata),this.pollingEvent.off(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.off(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.off(`${this.metadata.downloadId}PollingError`,this.exportDatasetError)}renderNotice(){let{metadata:t,apiError:e,exportRequested:r}=this,{status:n}=t||{},d=n;n==="locked"?d="not_ready":n==="stale_locked"&&(d="stale");let h=e?e.status||e.message:void 0;return m("hub-download-notice",{"api-error":h,"cannot-export":!it(this.target,this.username),"export-requested":r,"file-status":d})}exportInProgress(){let{metadata:{status:t}={}}=this;return t==="creating"||t==="updating"}downloadCached(){let{metadata:{status:t}={}}=this;return["ready","ready_unknown","stale","stale_locked","updating","error_updating"].includes(t)}downloadUpToDate(){return this.metadata&&this.metadata.status==="ready"}isFormatDownloadDisabled(){return this.metadata&&this.metadata.status==="disabled"}renderFileDescription(){let t=[],{metadata:{lastModified:e}={}}=this;return this.downloadCached()?(e&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.dateTimeFormatter.format(new Date(e))),m("dd",{class:"rtl"},this.labels.fileCreated)):t.push(m("dt",{class:"ltr"},this.labels.fileCreated),m("dd",null,this.dateTimeFormatter.format(new Date(e))))),this.contentLengthString&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.contentLengthString),m("dd",{class:"rtl"},this.labels.fileSize)):t.push(m("dt",{class:"ltr"},this.labels.fileSize),m("dd",null,this.contentLengthString))),t):null}exportDatasetKeyDown(t){["Enter"," "].includes(t.key)&&this.exportDataset()}downloadKeyDown(t){["Enter"," "].includes(t.key)&&this.download()}renderDownloadControl(){return this.shouldUseDownloadButton()?m("calcite-button",{appearance:"solid",color:"blue",disabled:this.shouldDisableDownload(),"icon-position":"start",onClick:this.download,scale:"m",width:"full"},this.labels.buttonDownload):m("calcite-dropdown",{open:!1,placement:"top",scale:"m",type:"click"},m("calcite-button",{appearance:"solid",color:"blue","icon-end":"caretUp",scale:"m",slot:"trigger"},this.labels.buttonOptions),m("calcite-dropdown-group",{"selection-mode":"none"},m("calcite-dropdown-item",{hidden:this.exportInProgress(),onClick:this.exportDataset,onKeyDown:this.exportDatasetKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.labels.menuRequest)),m("calcite-dropdown-item",{onClick:this.download,onKeyDown:this.downloadKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.intl.t("menuDownload",{createdDate:this.dateTimeFormatter.format(new Date(this.metadata.lastModified))})))))}shouldUseDownloadButton(){return this.downloadUpToDate()||!this.downloadCached()||this.isFormatDownloadDisabled()||!it(this.target,this.username)}shouldDisableDownload(){return this.isFormatDownloadDisabled()||this.exportInProgress()&&!this.downloadCached()}render(){return m(tt,{key:"4d6905e1a7cc60696e5b5402401a6f597b9a3d94","data-element":"download-card"},m("calcite-card",{key:"dd247bda4f3dd4dc38d64a9ae53775c67fa035a1",dir:this.intl.direction},m("h3",{key:"bb4310388c4feac02633ad7a13f5fe093e88a591",slot:"heading"},this.name),m("dl",{key:"5d730f0ebf4092b4ed04c30b40d559ee2b3fbeb3",slot:"description"},this.renderFileDescription()),m("div",{key:"d37231d3174071cb84b4ccbb93468f5c809b81b1",slot:"footer-start"},this.renderNotice(),this.renderDownloadControl())))}static get assetsDirs(){return["locales"]}get element(){return et(this)}static get watchers(){return{host:["watchHandler"],datasetId:["watchHandler"],format:["watchHandler"],spatialRefId:["watchHandler"],where:["watchHandler"],geometry:["watchHandler"],target:["watchHandler"],username:["watchHandler"],token:["watchHandler"]}}};Bt.style=qt;export{Bt as hub_download_card};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{d as E,g as m}from"./MWFTBYF7.js";import{c as p}from"./CCX2K4AC.js";import{c as l}from"./VPJ4NGJ5.js";import{s as u,t as f,u as d,x as g}from"./2NJPYBHN.js";import{a as y,b as c,c as h}from"./635V3Q2N.js";import{a as n}from"./MUN2QI43.js";import{a as o}from"./HEPYE6RX.js";var b=r=>{let t=(r.slug||"").toLowerCase(),e=(r.orgUrlKey||"").toLowerCase();return e?t.replace(new RegExp(`${e}\\|`,"gi"),""):t},w=class r extends E{constructor(t,e){super(t,e)}static fromJson(t,e){let s=this.applyDefaults(t,e);return new r(s,e)}static async create(t,e,s=!1){let i=this.applyDefaults(t,e),a=r.fromJson(i,e);return s&&await a.save(),a}static async fetch(t,e){try{let s=await d(t,e.hubRequestOptions);return r.fromJson(s,e)}catch(s){throw s.message==="CONT_0001: Item does not exist or is inaccessible."?new Error("Page not found."):s}}static applyDefaults(t,e){t.orgUrlKey||(t.orgUrlKey=e.portal.urlKey||""),t.orgUrlKey=t.orgUrlKey.toLowerCase();let s=Object.assign(Object.assign({},h),t);return s.type=e.isPortal?c:y,s}update(t){if(this.isDestroyed)throw new Error("HubPage is already destroyed.");this.entity=Object.assign(Object.assign({},this.entity),t)}async save(){if(this.isDestroyed)throw new Error("HubPage is already destroyed.");this.entity.id?this.entity=await f(this.entity,this.context.userRequestOptions):this.entity=await u(this.entity,this.context.userRequestOptions),await super.afterSave()}async delete(){if(this.isDestroyed)throw new Error("HubPage is already destroyed.");this.isDestroyed=!0,await g(this.entity.id,this.context.userRequestOptions)}async getEditorConfig(t,e){return l(t,e,this.entity,this.context)}async toEditor(t={},e=[]){let s=e.length?await p(o(this.entity),e,this.context.hubRequestOptions):o(this.entity);return s._slug=b(this.entity),s}async fromEditor(t){let e=await m(t,this.context);return Object.entries(e).forEach(([s,i])=>{n(s,i,this)}),await this.save(),this.entity}};export{b as a,w as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as y}from"./6TZEJNM7.js";import{a as r}from"./AJKLRRS4.js";import{g as b}from"./OQNAOTWQ.js";import{a as u}from"./2WQEISGF.js";import{b as d,e as m}from"./MGC3EC3F.js";import{c as s}from"./A36IL72A.js";import{a as i}from"./HEPYE6RX.js";function w(o){let e=i(o),t=e.properties.layout;t.enum=["grid-filled",...t.enum],t.default="grid-filled";let a=e.properties.layouts.items;return a.enum=["grid-filled",...a.enum],e}var f=i(m);delete f.properties.filters.minItems;var S=w(d),F=o=>({type:"object",properties:{targetEntity:{type:"string",enum:s("hub:feature:gallery-card:enterprise",o).access?["item"]:["item","event"],default:"item"},source:{type:"string",enum:["all","references"],default:"all"},sortField:{type:"string",enum:["numviews","title","created","modified","manual"],default:"numviews"},sortOrder:{type:"string",enum:["asc","desc"],default:"desc"},entityIds:{type:"array",items:{type:"string"},maxItems:1,default:[]},query:f,shouldLimitResults:{type:"boolean",default:!0,enum:[!0,!1]},limit:{type:["integer","null"],minimum:1,maximum:100,default:8},appearance:S,options:{type:"object",properties:{openInNewTab:{type:"boolean",default:!1,enum:[!1,!0]}}}},allOf:[{if:{properties:{source:{const:"references"},entityIds:{type:"array",minItems:1}}},then:{properties:{query:{type:"object",properties:{filters:{type:"array",minItems:0}}}}}},{if:{anyOf:[{properties:{source:{const:"all"}}},{properties:{source:{const:"references"},entityIds:{type:"array",maxItems:0}}}]},then:{properties:{query:{type:"object",properties:{filters:{type:"array",minItems:1}}}}}}]}),N=o=>{let{context:e,targetEntity:t,source:n,hasCatalogSource:a,predicateOptionScopes:l}=o,c=e.hubLicense,h={allowConfig:!0,filters:{max:10,isMinItemsErrorHidden:a,predicates:{categories:Object.assign({},l?.length&&{scope:u(l)}),id:{canReorder:!0}}}},p=[];t!=="event"&&p.push("calendar","map");let g=s("hub:feature:translations:14700",e).access?[{schemaVersion:1,scopes:{item:{targetEntity:"item",filters:[{operation:"OR",predicates:[{type:["Hub Site Application","Site Application","Hub Project","Hub Initiative","Discussion"]},{type:["Web Mapping Application"],typekeywords:["hubSite"]}]}]}}}]:b("source.entityIds","item",s("hub:feature:gallery-card:enterprise",e).access?["myContent","organization"]:["myContent","organization","world"],e,{collectionNames:s("hub:feature:gallery-card:enterprise",e).access?["site"]:["site","project","initiative"]});return{type:"Layout",elements:[{type:"Section",label:"{{source.section.label:translate}}",options:{section:"block",open:!0},elements:[{scope:"/properties/targetEntity",label:"{{source.targetEntity.label:translate}}",type:"Control",options:{control:"hub-field-input-tile-select",labels:s("hub:feature:gallery-card:enterprise",e).access?["{{source.targetEntity.item.label:translate}}"]:["{{source.targetEntity.item.label:translate}}","{{source.targetEntity.event.label:translate}}"],disabled:s("hub:feature:gallery-card:enterprise",e).access?[!1]:[!1,c!=="hub-premium"]},rules:[{effect:r.HIDE,conditions:[s("hub:feature:gallery-card:enterprise",e).access]}]},{type:"Notice",options:{notice:{configuration:{id:"gallery-card-edit-license-notice",noticeType:"notice",icon:"lock",closable:!1,kind:"brand",scale:"m"},title:"{{eventsTypeUnavailable.notice.title:translate}}",message:"{{eventsTypeUnavailable.notice.body:translate}}",autoShow:!0,actions:[{label:"{{eventsTypeUnavailable.notice.link:translate}}",ariaLabel:"{{eventsTypeUnavailable.notice.link:translate}}",href:"https://www.esri.com/en-us/arcgis/products/arcgis-hub/purchase-options"}]}},rules:[{effect:r.SHOW,conditions:[!s("hub:feature:gallery-card:enterprise",e).access&&c==="hub-basic"]}]},{scope:"/properties/source",label:"{{source.source.label:translate}}",type:"Control",options:{control:"hub-field-input-tile-select",labels:[s("hub:feature:gallery-card:enterprise",e).access?`{{source.source.org.label.${t}:translate}}`:`{{source.source.all.label.${t}:translate}}`,"{{source.source.references.label:translate}}"],descriptions:[s("hub:feature:gallery-card:enterprise",e).access?`{{source.source.org.description.${t}:translate}}`:`{{source.source.all.description.${t}:translate}}`,`{{source.source.references.description.${t}:translate}}`]}},{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",canReorder:!1,pickerTitle:{label:"{{source.entityIds.label:translate}}"},catalogs:g,facets:[...y],widthScale:"l"},rules:[{effect:r.SHOW,conditions:[n==="references"]}]},{scope:"/properties/sortField",label:"{{source.sortField.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{source.sortField.numviews.label:translate}}","{{source.sortField.title.label:translate}}","{{source.sortField.created.label:translate}}","{{source.sortField.modified.label:translate}}","{{source.sortField.manual.label:translate}}"],messages:[{type:"CUSTOM",display:"notice",kind:"info",titleKey:"source.sortField.manual.filtersNotice.title",labelKey:"source.sortField.manual.filtersNotice.body",allowShowBeforeInteract:!0,conditions:[{scope:"/properties/sortField",schema:{const:"manual"}}]}]},rules:[{effect:r.SHOW,conditions:[{scope:"/properties/targetEntity",schema:{const:"item"}}]}]},{scope:"/properties/sortOrder",label:"{{source.sortOrder.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{source.sortOrder.asc.label:translate}}","{{source.sortOrder.desc.label:translate}}"]},rules:[{effect:r.SHOW,conditions:[{scope:"/properties/targetEntity",schema:{const:"item"}}]},{effect:r.HIDE,conditions:[{scope:"/properties/sortField",schema:{const:"manual"}}]}]},{scope:"/properties/shouldLimitResults",label:"{{source.shouldLimitResults.label:translate}}",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:"{{source.shouldLimitResults.helperText:translate}}"}}},{scope:"/properties/limit",label:"{{source.limit.label:translate}}",type:"Control",options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"minimum",icon:!0,label:"{{source.limit.minimumError:translate}}"},{type:"ERROR",keyword:"maximum",icon:!0,label:"{{source.limit.maximumError:translate}}"}]},rules:[{effect:r.SHOW,conditions:[{scope:"/properties/shouldLimitResults",schema:{const:!0}}]}]}]},{type:"Section",label:"{{query.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/query",type:"Control",options:{control:"arcgis-hub-query-builder",targetEntity:t,uiOptions:h}}]},{type:"Section",label:"{{appearance.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/appearance",type:"Control",options:{control:"arcgis-hub-gallery-appearance-builder",visibleSections:["layout","cards"],targetEntity:t,layoutOptionsConfig:{exclude:p}}}]},{type:"Section",label:"{{options.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/options/properties/openInNewTab",label:"{{options.openInNewTab.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{options.openInNewTab.sameTab.label:translate}}","{{options.openInNewTab.newTab.label:translate}}"]}},{type:"Notice",options:{notice:{configuration:{id:"gallery-card-open-in-notice",noticeType:"notice",closable:!1,kind:"brand",scale:"m"},title:"{{options.openInNewTab.notice.title:translate}}",message:"{{options.openInNewTab.notice.body:translate}}",autoShow:!0,actions:[{label:"{{options.openInNewTab.notice.link:translate}}",ariaLabel:"{{options.openInNewTab.notice.linkAriaLabel:translate}}",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}};export{S as a,F as b,N as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as $}from"./Q4GV7FFJ.js";import{a as x,b as P}from"./BASDWRBA.js";import{b as S}from"./UN6MRXZW.js";import{a as M}from"./2DD3P2GE.js";import"./TO5XR7VA.js";import"./DJ3H7LZE.js";import{a as w}from"./NABNAFFZ.js";import{a as I}from"./E7RQDZEF.js";import"./42NTJTRV.js";import{a as k}from"./WJFIZ6DL.js";import"./LVCMKKG7.js";import{g as O}from"./47ZOSUE6.js";import"./SVAOM6PB.js";import"./S2TL4ARK.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import{c as E}from"./PWESAKVV.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as v}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as m}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import{a as L,d as H,e as A,g as T,h as f,i as W}from"./ZM3EAORZ.js";import{a as c}from"./YCEXTCZD.js";import"./5V53QYYF.js";import{c as d}from"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import{a as C}from"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import{a as u}from"./7GTUV67W.js";import"./USNX342T.js";import{b as n,c as _,d as g,e as h,h as p,i as y}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:b,e:B,g:U}])=>{var j=":host{display:block;height:3rem;width:100%;background-color:var(--calcite-color-foreground-3)}.product-footer__branding{padding-top:0.125rem;display:flex;height:100%;align-items:center;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.375rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}calcite-menu{--calcite-color-foreground-1:var(--calcite-color-foreground-3);--calcite-color-foreground-2:var(--calcite-color-foreground-3);--calcite-color-text-1:var(--calcite-color-text-2);border-top:1px solid var(--calcite-color-border-1);height:100%}calcite-menu-item{--calcite-font-size-0:var(--calcite-font-size--0)}",G=j,K=class{constructor(t){y(this,t),this.hubTelemetry=h(this,"hubTelemetry",7),this.productName="ArcGIS Hub Basic",this.helpMap={},this.emitTelemetry=e=>{let i=e.currentTarget,o={help:Object.assign(Object.assign({},c.dictionary.category.navigation.action.external.label.webHelp),{details:i.href}),changelog:c.dictionary.category.navigation.action.external.label.changelog,blog:c.dictionary.category.navigation.action.external.label.arcGisBlog,resources:c.dictionary.category.navigation.action.external.label.resources}[i.getAttribute("data-key")];this.hubTelemetry.emit(o)},this.isMobile=!1}get _context(){return b()}async componentWillLoad(){switch(this.intl=await m.loadIntlForComponent(this.element),this._context.hubLicense){case"hub-premium":this.productName="ArcGIS Hub Premium";break;case"enterprise-sites":this.productName="Enterprise Sites";break;default:this.productName="ArcGIS Hub Basic"}}get menuLinks(){let t=[];if(this._context.isPortal){let e=u(this._context,"portal.helpBase"),o=(u(this._context,"portal.enterpriseVersion")||"12.0.0").split(".").slice(0,2).join("."),a=`${window.location.origin}${e}sites/${o}/get-started/about-this-application.htm`;(u(this._context,"portal.portalDeploymentType")||"not-found")==="ArcGISEnterpriseOnKubernetes"&&(a=`${window.location.origin}${e}${o}/apps/sites/about-this-application.htm`),t=[{text:d("hub:environment:qaext",this._context).access?this.intl.t("help"):this.intl.t("helpCenter"),href:a,key:"help"},{text:this.intl.t("whatIsNew"),href:`${e}/get-started/what-s-new.htm`,key:"help"}]}else t=[{text:d("hub:environment:qaext",this._context).access?this.intl.t("help"):this.intl.t("helpCenter"),href:"https://doc.arcgis.com/en/hub/get-started",key:"help"},d("hub:environment:qaext",this._context).access&&{text:this.intl.t("resources"),href:"https://www.esri.com/en-us/arcgis/products/arcgis-hub/resources",key:"resources"},{text:this.intl.t("changelog"),href:"https://hub.arcgis.com/pages/changelog",key:"changelog"},{text:this.intl.t("blog"),href:"https://www.esri.com/arcgis-blog/products/arcgis-hub",key:"blog"}].filter(Boolean);return t}render(){let t=this.menuLinks;return n(_,{key:"f54e37a7a56a3a53999fc39217e49f02ec341238","data-element":"product-footer","data-ismobile":this.isMobile},n("calcite-menu",{key:"11a74905802a70aef453292ddf06a9bd276693ae",scale:"s"},n("div",{key:"834765ff9315590479205706e85912224bee7eb7",class:"product-footer__branding"},this.productName),t.map(e=>n("calcite-menu-item",{"data-key":e.key,href:e.href,key:e.key,onClick:this.emitTelemetry,text:e.text}))))}static get assetsDirs(){return["locales"]}get element(){return g(this)}};K.style=G;var z=':host{display:block}.non-interactive{pointer-events:none}.hide{display:none}calcite-navigation[slot="navigation-secondary"]>:not(:first-child){background-color:var(--calcite-color-foreground-1)}.popover-menu-item-el{margin-right:-0.75rem}',q=z,J=function(t,e,i,o){var a=arguments.length,s=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s},Q={editLayout:c.dictionary.category.navigation.action.view.label.layoutEditor,editSurvey123:c.dictionary.category.navigation.action.external.label.arcGisApplication.details.survey123,editAdvanced:c.dictionary.category.navigation.action.edit.label.advanced,view:c.dictionary.category.navigation.action.view},D=class{get _context(){return b()}constructor(t){y(this,t),this.arcgisHubWorkspaceEntityChange=h(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=h(this,"hubTelemetry",7),this.arcgisHubWorkspaceHeaderLinkClick=h(this,"arcgisHubWorkspaceHeaderLinkClick",7),this.arcgisEntityView=h(this,"arcgisEntityView",7),this.handleOrgLogoClick=e=>{let i=this.useWorkspaceLink?c.dictionary.category.navigation.action.view.label.users.details.workspace:c.dictionary.category.navigation.action.view.label.home.details.workspace;this.hubTelemetry.emit({telemetry:i});let o=e.target.href;this.arcgisHubWorkspaceHeaderLinkClick.emit({clickEvent:e,href:o})},this.handleViewClick=()=>{this.arcgisEntityView.emit()},this.handleLinkClick=e=>{let i=e.currentTarget,o=i.dataset.value,a=i.href||e.target.href,s=Q[i.dataset.name],r=o?{clickEvent:e,pane:o}:{clickEvent:e,href:a};this.arcgisHubWorkspaceHeaderLinkClick.emit(r),x({pane:o,href:a,hubTelemetry:this.hubTelemetry,telemetry:s})},this._handlePortalHomeClick=e=>{e.stopPropagation();let i=E(this.entity);this.hubTelemetry.emit(Object.assign(Object.assign({},c.dictionary.category.navigation.action.external.label.arcGisOnline.details.details),i))},this.entity=void 0,this.site=void 0,this.layout="default",this.isMobile=!1,this.access=void 0,this._popoverMenuItemEl=void 0,v(this,"handleLinkClick","handleOrgLogoClick")}async componentWillLoad(){var t;this.intl=await m.loadIntlForComponent(this.element),this.access=this.convertAccess((t=this.entity)===null||t===void 0?void 0:t.access)}convertAccess(t){return t==="shared"?"private":t}get type(){return L(this.entity)}get canChangeAccess(){var t;let e=!1;return!((t=this._context)===null||t===void 0)&&t.currentUser&&this.entity&&(e=d(`hub:${this.type}:canChangeAccess`,this._context,this.entity).access),e}get hideViewButton(){return["user"].includes(this.type)}get showAccessButton(){return!["user"].includes(this.type)}get hideSharingLink(){return["group"].includes(this.type)}get viewUrl(){let t="",e=W(this.entity);return C(this.entity.type)||(t=H(this._context)),`${t}${e}`}get _popoverItems(){let t=[],{entity:e,_context:i}=this,o=e&&S(e,i.requestOptions);if(o){let a=this._context.isPortal?"openInEnterprise":"openInOnline";t.push({href:o,icon:"launch",key:a,onClick:this._handlePortalHomeClick.bind(this),target:"_blank"})}return t}get editLayoutUrl(){return this.entity?A(this.entity,this._context):void 0}get viewEntityTelemetry(){let t=Object.assign({},c.dictionary.category.navigation.action.view);return delete t.details,t}get useWorkspaceLink(){return d("hub:feature:workspace:user",this._context).access}get orgLogoHref(){return this.useWorkspaceLink?f(this._context):`${T(this._context)}/edit`}get breadcrumbs(){let t=this.intl.t("homeLink.text"),e=f(this._context);return[{title:t,link:e,icon:"home"},{title:this.entity.name,label:`${this.type}: ${this.entity.name}`,icon:O(this.entity.type)}]}renderAccessButton(){var t;if(this.showAccessButton){let e=this.access||((t=this.entity)===null||t===void 0?void 0:t.access);return n(p,null,n("calcite-menu-item",{class:"set-access","data-value":"settings-sharing",disabled:!this.canChangeAccess,iconStart:I(e),id:"menu-item.set-access",label:this.intl.t("access.share"),onClick:this.handleLinkClick,text:this.intl.t("access.share")}),e&&n("calcite-tooltip",{label:this.intl.t(`access.tooltip.${e}`),"reference-element":"menu-item.set-access"},this.intl.t(`access.tooltip.${e}`)))}}renderPopoverMenu(){let{editLayoutUrl:t,isMobile:e}=this,i=this._popoverItems,o="popoverActions";return i.length?n(p,null,n("calcite-menu-item",{class:"popover-menu-item-el","icon-start":"ellipsis",label:this.intl.t("moreActions"),ref:a=>{this._popoverMenuItemEl=a}}),n("calcite-popover",{autoClose:!0,label:this.intl.t(`${o}.label`),"overlay-positioning":"fixed",placement:e?"auto":"bottom",referenceElement:this._popoverMenuItemEl},e&&t&&n("arcgis-hub-workspace-link",{href:t,relativeToOrigin:!0,telemetry:c.dictionary.category.navigation.action.view.label.layoutEditor},n("calcite-action",{icon:"pencil",text:this.intl.t("editLayout"),"text-enabled":!0})),e&&this.entity.type==="Form"&&n("arcgis-hub-workspace-link",{href:w(this.entity.id,this._context),telemetry:c.dictionary.category.navigation.action.external.label.arcGisApplication.details.survey123},n("calcite-action",{text:this.intl.t("editS123"),"text-enabled":!0})),e&&this.type==="template"&&n("arcgis-hub-workspace-link",{href:u(this.entity,"links.advancedEditRelative"),telemetry:c.dictionary.category.navigation.action.edit.label.advanced},n("calcite-action",{text:this.intl.t("editAdvancedJson"),"text-enabled":!0})),e&&!this.hideViewButton&&n("arcgis-hub-workspace-link",{href:this.viewUrl,relativeToOrigin:!0,telemetry:c.dictionary.category.navigation.action.view},n("calcite-action",{icon:"submit",iconFlipRtl:!0,text:this.intl.t(`view.${this.type}`),"text-enabled":!0})),i.map(a=>{let{href:s,icon:r,key:l,onClick:R,target:F}=a,V=this.intl.t(`${o}.${l}`);return n("calcite-link",{href:s,key:l,target:F},n("calcite-action",{icon:r,iconFlipRtl:!0,onClick:R,text:V,"text-enabled":!0}))}))):null}renderEntityNavigation(){let{editLayoutUrl:t,isMobile:e}=this;if(this.entity)return n("calcite-navigation",{slot:"navigation-secondary"},n("calcite-menu",{scale:"s",slot:"content-start"},this.entity.type!=="User"?n(M,{breadcrumbs:this.breadcrumbs,onClick:this.handleLinkClick}):n("calcite-menu-item",{class:"non-interactive","icon-start":"home",label:this.intl.t("homeLink.text"),text:this.intl.t("homeLink.text"),"text-enabled":!0})),n("calcite-menu",{layout:"horizontal",slot:"content-end"},!e&&t&&n("calcite-menu-item",{"data-name":"editLayout",href:t,"icon-start":"pencil",label:this.intl.t("editLayout"),onClick:this.handleLinkClick,text:this.intl.t("editLayout")}),!e&&this.entity.type==="Form"&&n("calcite-menu-item",{"data-name":"editSurvey123",href:w(this.entity.id,this._context),"icon-start":"pencil",label:this.intl.t("editS123"),onClick:this.handleLinkClick,text:this.intl.t("editS123")}),!e&&this.type==="template"&&n("calcite-menu-item",{"data-name":"editAdvanced",href:u(this.entity,"links.advancedEditRelative"),"icon-start":"pencil",label:this.intl.t("editAdvancedJson"),onClick:this.handleLinkClick,text:this.intl.t("editAdvancedJson")}),!e&&!this.hideViewButton&&(this.layout==="default"?this.renderViewLink():this.renderViewButton()),!e&&this.renderAccessButton(),this.renderPopoverMenu()))}renderViewLink(){let t=this.viewUrl;return n("calcite-menu-item",{class:"view-entity-btn","data-name":"view",href:t,"icon-start":"submit",iconFlipRtl:"both",label:this.intl.t(`view.${this.type}`),onClick:this.handleLinkClick,text:this.intl.t(`view.${this.type}`)})}renderViewButton(){return n("calcite-menu-item",{"icon-start":"submit",iconFlipRtl:"both",id:"button.view-entity",label:this.intl.t(`view.${this.type}`),onClick:this.handleViewClick,text:this.intl.t(`view.${this.type}`)})}get shouldShowAddContent(){return d("hub:feature:workspace",this._context).access}get addContentConfig(){var t;let e=!(!((t=this._context)===null||t===void 0)&&t.isPortal);return{allowGroupSelection:!0,buttonProps:{appearance:"outline-fill",kind:"neutral"},buttonText:this.isMobile?"+":this.intl.t("createContent"),entity:this.entity,showSiteTemplatesButton:e,site:this.site}}showNotice(t){U({title:this.intl.t(`access.alert.${t}`),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:this.intl.t("access.alert.label")}})}render(){var t,e,i,o,a,s,r;let l=((o=(i=(e=(t=this._context)===null||t===void 0?void 0:t.portal)===null||e===void 0?void 0:e.portalProperties)===null||i===void 0?void 0:i.hub)===null||o===void 0?void 0:o.settings.orgType)==="community"?this.intl.t("communityOrg"):"";return n(_,{key:"325bfd61f62c3220b327596b9f9373afb09c840b","data-element":"workspace-header"},this.layout==="default"?n("calcite-navigation",null,n("calcite-navigation-logo",{description:l,heading:this.isMobile?"":(s=(a=this._context)===null||a===void 0?void 0:a.portal)===null||s===void 0?void 0:s.name,href:this.orgLogoHref,label:this.intl.t("orgWorkspace"),onClick:this.handleOrgLogoClick,slot:"logo",thumbnail:(r=this._context)===null||r===void 0?void 0:r.orgThumbnailUrl}),this.shouldShowAddContent&&n("arcgis-hub-add-content",Object.assign({slot:"content-end"},this.addContentConfig)),n("arcgis-hub-user-profile",{slot:"user",variant:this.isMobile?"minimal":void 0}),this.renderEntityNavigation()):n("calcite-navigation",null,this.renderEntityNavigation()))}static get assetsDirs(){return["locales"]}get element(){return g(this)}};J([k("entity")],D.prototype,"editLayoutUrl",null);D.style=q;var X=":host{display:block;height:100%;overflow-y:scroll}calcite-menu{isolation:isolate}calcite-menu-item{--calcite-color-border-3:white;--calcite-color-text-2:var(--calcite-color-text-3)}",Y=X,Z=function(t,e,i,o){var a=arguments.length,s=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s},N=class{constructor(t){y(this,t),this.hubTelemetry=h(this,"hubTelemetry",7),this.arcgisHubWorkspaceNavigationLinkClick=h(this,"arcgisHubWorkspaceNavigationLinkClick",7),this.activePane="overview",this.entity=void 0,this.isMobile=!1,this.links=[],v(this,"_getWorkspaceLinks","onMenuItemSelect","handleKeyDown")}get _context(){return b()}async handleEntityChange(){await this._getWorkspaceLinks()}get _links(){let t=(e,i,o)=>{var a,s;if(e){let r=t((a=e.children)===null||a===void 0?void 0:a[0],(s=e.children)===null||s===void 0?void 0:s.slice(1),[]);return t(i?.[0],i?.slice(1),[...o,Object.assign(Object.assign({},e),{children:r,open:!!r.length&&r.some(l=>l.pane===this.activePane||l.open)})])}else return o};return t(this.links[0],this.links.slice(1),[])}async componentWillLoad(){this.intl=await m.loadIntlForComponent(this.element),this._getWorkspaceLinks()}async _getWorkspaceLinks(){let t=await $(this.entity,this._context),e=B(),i=e?.isHubHome?["dashboard"]:[];this.links=t.filter(o=>!i.includes(o.pane))}preventRefresh(t){t.preventDefault()}onMenuItemSelect(t){let e=t.currentTarget;if(!e.hasAttribute("data-display-only")){let o=e.getAttribute("data-value");this.arcgisHubWorkspaceNavigationLinkClick.emit({clickEvent:t,pane:o}),x({pane:o,hubTelemetry:this.hubTelemetry})}}handleKeyDown(t){var e;t.preventDefault(),((e=t.key)===null||e===void 0?void 0:e.toLowerCase())==="enter"&&this.onMenuItemSelect(t)}renderWorkspaceNavigationLink(t,e=!1){var i;let o=t.pane===this.activePane,a=`workspace-navigation-${t.pane}`,s=n("calcite-menu-item",{active:o,"data-display-only":t.displayOnly,"data-value":t.pane,href:t.displayOnly?void 0:P(t.pane),iconFlipRtl:this.intl.direction=="ltr"?"start":"end",iconStart:t.icon,id:a,key:t.pane,label:this.intl.t(t.i18nKey),onCalciteMenuItemSelect:this.onMenuItemSelect,onClick:this.preventRefresh,onKeyDown:this.handleKeyDown,open:t.open,slot:e?"submenu-item":"",text:this.isMobile?"":this.intl.t(t.i18nKey)},!!(!((i=t.children)===null||i===void 0)&&i.length)&&t.children.map(r=>this.renderWorkspaceNavigationLink(r,!0)));return this.isMobile?n(p,null,t.pane==="catalog"&&n("arcgis-hub-notice",{noticeId:"20250728-workspace-catalog-popover",popoverReferenceElement:a}),s,n("calcite-tooltip",{referenceElement:a},n("span",null,this.intl.t(t.i18nKey)))):t.pane==="catalog"?n(p,null,n("arcgis-hub-notice",{noticeId:"20250728-workspace-catalog-popover",popoverReferenceElement:a}),s):s}render(){return n(p,{key:"c067dbd67e5a3f0c253f012ceab34bbf4cc4c47e"},n("calcite-menu",{key:"262e3fca5ad99649c65cb47d96a41ca0d4c04a79",class:{mobile:this.isMobile},"data-element":"workspace-navigation",label:this.intl.t("navigation"),layout:"vertical"},!!this.links.length&&this._links.map(t=>this.renderWorkspaceNavigationLink(t))))}static get assetsDirs(){return["locales"]}get element(){return g(this)}static get watchers(){return{entity:["handleEntityChange"]}}};Z([k("links")],N.prototype,"_links",null);N.style=Y;return{arcgis_hub_product_footer:K,arcgis_hub_workspace_header:D,arcgis_hub_workspace_navigation:N}},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as c}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import"./USNX342T.js";import{a as i,b as e,c as t,d as a,i as s}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var o=".hub-entity-metrics-coming-soon__block-header{display:inline-flex;align-items:center;gap:0.75rem}.hub-entity-metrics-coming-soon__block-header>h2{margin:0px}p{margin-top:0px;margin-bottom:2rem}.hub-entity-metrics-coming-soon__main{display:flex;flex-direction:row}arcgis-hub-workspace-pane{--arcgis-hub-workspace-pane-main-flex-basis:40%}.hub-entity-metrics-coming-soon__side img{width:100%}",b=o,d=class{constructor(n){s(this,n),this.isMobile=!1}async componentWillLoad(){this.intl=await c.loadIntlForComponent(this.element)}render(){return e(t,{key:"d9c4bf83cb3a7ad5c9a10e52ce01c204429ce2f8","data-element":"workspace-entity-metrics-coming-soon"},e("arcgis-hub-workspace-pane",{key:"570288ec2e7ed6b69a23571db1a7e729b3fbed49",isMobile:this.isMobile},e("h1",{key:"d7611f7c84352f7350bb72aca72b5f757fc9d718",slot:"title"},this.intl.t("header")),e("div",{key:"dc5d2d0db3361cf41f62afe55a98651678702c30",class:"hub-entity-metrics-coming-soon__main"},e("div",{key:"4f3eb50fc9253d9ea35ac2906d7b423cea8961b6",class:"hub-entity-metrics-coming-soon__info"},e("div",{key:"714754b27b6085360432ba18729cee65107e9ef4"},e("div",{key:"6120352317bcce3f231e02da6cd35bffb1ffb7ac",class:"hub-entity-metrics-coming-soon__block-header"},e("calcite-icon",{key:"8a20d0047560523b3bf4ef826c22db780d669742",icon:"pencil-square"}),e("h2",{key:"390071484e35256b0c9fb9dacd5c9bb8bf7a35a8"},this.intl.t("firstBlockHeader"))),e("p",{key:"758486ac7d19b8ee68cd32d000411b4418a7b441"},this.intl.t("firstBlockMessage"))),e("div",{key:"c1a33d8482df510b42bcda83fb58a2bbe35e51ef"},e("div",{key:"c45b0c15a78c762b4cbd41aff921eae4c5c484ee",class:"hub-entity-metrics-coming-soon__block-header"},e("calcite-icon",{key:"a969a2d356c7eca12f1b97c7f583e9ad1c79571d",icon:"register"}),e("h2",{key:"bc60ae6490076ec07a47b256494f6cefa6f248c1"},this.intl.t("secondBlockHeader"))),e("p",{key:"7414d45274d7e9eb1043525945b89dcbe531c4a4"},this.intl.t("secondBlockMessage"))),e("div",{key:"590e87d1af6be4d3cc6dbc1cb847d0b4339c83c0"},e("div",{key:"2c72415a15eb1e5b65b477afa555be461c2d0453",class:"hub-entity-metrics-coming-soon__block-header"},e("calcite-icon",{key:"71b2ee0e15f8a198431aff078891acf350926b8d",icon:"graph-time-series"}),e("h2",{key:"f4b114f95e4970759b35e812dfdd29e215e170d8"},this.intl.t("thirdBlockHeader"))),e("p",{key:"4574c944e44eba5c471b451434981a97e793ab56"},this.intl.t("thirdBlockMessage"))),e("arcgis-hub-workspace-link",{key:"8428d566bc6d83a158a8aac8ee09f56174293d92",pane:"details"},e("calcite-button",{key:"6c9d79258766729a19cabe50cd4548c0e2c08ba6",appearance:"outline-fill",round:!0},this.intl.t("button")))),e("div",{key:"a3b40817bf6185b1a65131a0a2b4f7df66a187b3",class:"hub-entity-metrics-coming-soon__side",slot:"side-panel"},e("img",{key:"372ba76f2a9ce00c9cd2a890bebdf17ba8ec6a90",alt:this.intl.t("header"),class:"hub-entity-metrics-coming-soon__image",src:i("./assets/metrics-placeholder-graphic.png")})))))}static get assetsDirs(){return["locales","assets"]}get element(){return a(this)}};d.style=b;export{d as arcgis_hub_entity_metrics_coming_soon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as n}from"./7GTUV67W.js";import{a}from"./USNX342T.js";function I(r){return r&&typeof window<"u"&&window.location.protocol==="https:"||/\.arcgis\.com/.test(r)?p(r):r}function p(r){return r.replace(/^http:/i,"https:")}var o={portalUrl:"https://www.arcgis.com",experienceBuilderUrl:"https://experience.arcgis.com",insightsUrl:"https://insights.arcgis.com",urbanModelUrl:"https://urban.arcgis.com",portalBaseUrl:"https://www.arcgis.com",surveyUrl:"https://survey123.arcgis.com"};function h(r,e,t=""){let s=t?`?${t}=`:"#/";return`/apps/${r}/index.html${s}${e}`}function U(r,e){return`${n(e,"portalUrl")||o.portalUrl}/apps/dashboards/${r}`}function y(r,e){let s={production:"https://experience.arcgis.com",qaext:"https://experienceqa.arcgis.com",devext:"https://experiencedev.arcgis.com"}[e.environment],i=n(e,"portalUrl")||o.portalUrl;return n(e,"isPortal")||!1?`${i}/apps/experiencebuilder/experience/?id=${r}`:`${s}/experience/${r}`}function c(r,e,t){let s=n(e,"portalUrl")||o.portalUrl,i=n(e,"isPortal")||!1,d={production:"https://insights.arcgis.com",qaext:"https://insightsqa.arcgis.com",devext:"https://insightsdev.arcgis.com"}[e.environment]||o.insightsUrl,l=t?"embed":"view";return i?`${s}/apps/insights/index.html#/${l}/${r}`:`${d}/#/${l}/${r}`}function f(r,e){return`${{production:"https://urban.arcgis.com",qaext:"https://urbanqa.arcgis.com",devext:"https://urbandev.arcgis.com"}[e.environment]||o.urbanModelUrl}?id=${r}&ui=embed`}function v(r,e){let t=n(e,"survey123Url")||o.surveyUrl,s=n(e,"portalUrl")||o.portalUrl;return`${t}/share/${r}?portalUrl=${s}&embed=jsapi&version=latest`}function P(r,e){let{id:t,url:s}=r,{portalUrl:i=o.portalUrl}=e;if(w(r))return s;switch(u(r)){case"Dashboard":return U(t,e);case"Insights":case"Insights Page":return c(t,e);case"Insights Workbook":return c(t,e,!0);case"Web Mapping Application":return i+h("webappviewer",t,"id");case"Experience":return y(t,e);case"Urban Model":return f(t,e);case"Survey":return v(t,e);default:return s}}function u(r){var e;let t=r.typeKeywords||[],s=r.type||"";return r.type==="StoryMap"||r.type==="Web Mapping Application"&&t.includes("Story Map")?s="StoryMap":r.type==="Insights Page"?s="Insights Page":r.type==="Insights Workbook"?s="Insights Workbook":!((e=r.type)===null||e===void 0)&&e.includes("Insights")?s="Insights":r.type==="Web Experience"||r.type==="Web Mapping Experience"&&t.includes("EXB Experience")?s="Experience":r.type==="Form"&&t.includes("Survey123")&&(s="Survey"),s}function b(r){try{return!!new URL(r)}catch{return a.error("Error parsing URL"),!1}}function x(r){try{return new URL(r).protocol==="https:"}catch{return a.error("Error parsing URL"),!1}}function m(r){let t=!["/WorkspaceServer","/LegacyView","?edit=true"].some(s=>(r||"").includes(s));return!!r&&t&&b(r)}function w(r){let e=u(r);return m(r.url)&&e!=="Web Map"&&e!=="Survey"}export{I as a,P as b,b as c,x as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
function n(t){return typeof t!="string"||(t=t.trim(),t[t.length-1]==="/"&&(t=t.slice(0,-1))),t}function a(t={}){return t.portal?n(t.portal):t.authentication&&typeof t.authentication!="string"?t.authentication.portal:"https://www.arcgis.com/sharing/rest"}export{n as a,a as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as p,b as I,c as A,d as kt,f as It,g as Y}from"./BMRPHSYL.js";var Z=globalThis,X=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),Ht=new WeakMap,H=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==yt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(X&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Ht.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Ht.set(e,t))}return t}toString(){return this.cssText}},jt=o=>new H(typeof o=="string"?o:o+"",void 0,yt),gt=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,i,r)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[r+1]),o[0]);return new H(e,o,yt)},Vt=(o,t)=>{if(X)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),i=Z.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},vt=X?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return jt(e)})(o):o;var{is:ve,defineProperty:Ee,getOwnPropertyDescriptor:$e,getOwnPropertyNames:be,getOwnPropertySymbols:_e,getPrototypeOf:Ae}=Object,et=globalThis,zt=et.trustedTypes,Ce=zt?zt.emptyScript:"",we=et.reactiveElementPolyfillSupport,j=(o,t)=>o,tt={toAttribute(o,t){switch(t){case Boolean:o=o?Ce:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},V=(o,t)=>!ve(o,t),Bt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:V};Symbol.metadata??=Symbol("metadata"),et.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Bt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&Ee(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){let{get:i,set:r}=$e(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:i,set(n){let a=i?.call(this);r?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Bt}static _$Ei(){if(this.hasOwnProperty(j("elementProperties")))return;let t=Ae(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(j("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(j("properties"))){let e=this.properties,s=[...be(e),..._e(e)];for(let i of s)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let i of s)e.unshift(vt(i))}else t!==void 0&&e.push(vt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Vt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:tt).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let r=s.getPropertyOptions(i),n=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:tt;this._$Em=i;let a=n.fromAttribute(e,r.type);this[i]=a??this._$Ej?.get(i)??a,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let i=this.constructor,r=this[t];if(s??=i.getPropertyOptions(t),!((s.hasChanged??V)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:r},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),r!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,r]of this._$Ep)this[i]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[i,r]of s){let{wrapped:n}=r,a=this[i];n!==!0||this._$AL.has(i)||a===void 0||this.C(i,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[j("elementProperties")]=new Map,b[j("finalized")]=new Map,we?.({ReactiveElement:b}),(et.reactiveElementVersions??=[]).push("2.1.1");var $t=globalThis,st=$t.trustedTypes,Wt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,bt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,_t="?"+_,Oe=`<${_t}>`,T=document,B=()=>T.createComment(""),W=o=>o===null||typeof o!="object"&&typeof o!="function",At=Array.isArray,Qt=o=>At(o)||typeof o?.[Symbol.iterator]=="function",Et=`[
|
|
3
|
+
\f\r]`,z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ft=/-->/g,qt=/>/g,w=RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Kt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,Ct=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),as=Ct(1),cs=Ct(2),ls=Ct(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Jt=new WeakMap,O=T.createTreeWalker(T,129);function Zt(o,t){if(!At(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(t):t}var Xt=(o,t)=>{let e=o.length-1,s=[],i,r=t===2?"<svg>":t===3?"<math>":"",n=z;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,g=0;for(;g<c.length&&(n.lastIndex=g,u=n.exec(c),u!==null);)g=n.lastIndex,n===z?u[1]==="!--"?n=Ft:u[1]!==void 0?n=qt:u[2]!==void 0?(Yt.test(u[2])&&(i=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=i??z,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Kt:Gt):n===Kt||n===Gt?n=w:n===Ft||n===qt?n=z:(n=w,i=void 0);let v=n===w&&o[a+1].startsWith("/>")?" ":"";r+=n===z?c+Oe:h>=0?(s.push(l),c.slice(0,h)+bt+c.slice(h)+_+v):c+_+(h===-2?a:v)}return[Zt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},F=class o{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let r=0,n=0,a=t.length-1,c=this.parts,[l,u]=Xt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=O.nextNode())!==null&&c.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(bt)){let g=u[n++],v=i.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(g);c.push({type:1,index:r,name:C[2],strings:v,ctor:C[1]==="."?it:C[1]==="?"?rt:C[1]==="@"?nt:P}),i.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:r}),i.removeAttribute(h));if(Yt.test(i.tagName)){let h=i.textContent.split(_),g=h.length-1;if(g>0){i.textContent=st?st.emptyScript:"";for(let v=0;v<g;v++)i.append(h[v],B()),O.nextNode(),c.push({type:2,index:++r});i.append(h[g],B())}}}else if(i.nodeType===8)if(i.data===_t)c.push({type:2,index:r});else{let h=-1;for(;(h=i.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:r}),h+=_.length-1}r++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let i=s!==void 0?e._$Co?.[s]:e._$Cl,r=W(t)?void 0:t._$litDirective$;return i?.constructor!==r&&(i?._$AO?.(!1),r===void 0?i=void 0:(i=new r(o),i._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=i:e._$Cl=i),i!==void 0&&(t=S(o,i._$AS(o,t.values),i,s)),t}var ot=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??T).importNode(e,!0);O.currentNode=i;let r=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new U(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new at(r,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(r=O.nextNode(),n++)}return O.currentNode=T,i}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},U=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),W(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&W(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=F.createElement(Zt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{let r=new ot(i,this),n=r.u(this.options);r.p(e),this.T(n),this._$AH=r}}_$AC(t){let e=Jt.get(t.strings);return e===void 0&&Jt.set(t.strings,e=new F(t)),e}k(t){At(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,i=0;for(let r of t)i===e.length?e.push(s=new o(this.O(B()),this.O(B()),this,this.options)):s=e[i],s._$AI(r),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,i){let r=this.strings,n=!1;if(r===void 0)t=S(this,t,e,0),n=!W(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!W(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}n&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},it=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends P{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,i=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||i);i&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},te={M:bt,P:_,A:_t,C:1,L:Xt,R:ot,D:Qt,V:S,I:U,H:P,N:rt,U:nt,B:it,F:at},Te=$t.litHtmlPolyfillSupport;Te?.(F,U),($t.litHtmlVersions??=[]).push("3.3.1");var wt=(o,t,e)=>{let s=e?.renderBefore??t,i=s._$litPart$;if(i===void 0){let r=e?.renderBefore??null;s._$litPart$=i=new U(t.insertBefore(B(),r),r,void 0,e??{})}return i._$AI(o),i};var Ot=globalThis,$=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=wt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,Ot.litElementHydrateSupport?.({LitElement:$});var Se=Ot.litElementPolyfillSupport;Se?.({LitElement:$});(Ot.litElementVersions??=[]).push("4.2.1");var G=Symbol.for("controller"),Pe=o=>typeof o=="object"&&o!==null&&(G in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),_s=o=>typeof o?.then=="function";var q,D=o=>{q!==o&&(q=o,queueMicrotask(()=>q===o?q=void 0:0))},K=o=>q,N=[],ee=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},se=()=>N,R,As=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},Ne=()=>{let o=R;return R=void 0,o},oe=async(o,t)=>{let e=lt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(i=>t(i,s))}return e.exports},ie=async o=>{let t=lt(o);return await t.ready,t},lt=o=>{let e=K().manager.X(o);if(e!==void 0)return e;if(Pe(o))return o;let s=Ne();if(s!==void 0)return s},ct=!1,Cs=o=>{ct=!0;try{return o()}finally{ct=!1}};var De=(o,t,e)=>{let s=Object.keys(o),i=s.length;M===void 0&&queueMicrotask(k),M??=new Map;let r=M.get(o);return r===void 0&&(r={callbacks:[],keyCount:i},M.set(o,r)),r.keyCount!==i&&(r.callbacks.forEach(n=>n(s)),r.callbacks=[],r.keyCount=i),r.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[i];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,k=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},xe=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((i,r)=>p(t,void 0,e===r?i:void 0)),e},Le=(o=[K(),...se()],t,e)=>{let s=Array.isArray(o)?o:[o],i=s.length+1,r=n=>{i-=1,n!==void 0&&(i=Math.min(i,0)),i===0&&t(n)};s.forEach(n=>De(n,a=>r(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){xe(n,a=>r(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ue=(o="",t={},e=K())=>{let s={emit:i=>{o===""&&k();let r=new CustomEvent(o,{detail:i,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Le(void 0,i=>o=i.key,s),s},Re=Ue.bind(null,""),ae;ae=G;var Tt=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#i=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new A,this.connectedCalled=!1,this.loadedCalled=!1,this[ae]=!0,this.#a=[];let e=this,s=t??K(new.target.name);e.#o=s,e.ready=e.P.promise,e.#n=ne(e),e.component=s,e.#o.addController(e),e.#o.manager===void 0||(ee(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#i;#r;#c;#l;#p;#h;#d;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(It(this.#o))}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ne(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return D(this.#o),oe}get useRef(){return D(this.#o),ie}get useRefSync(){return D(this.#o),lt}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#i.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await I(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(I)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#i.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(re,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(re,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){D(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(i=>{typeof i=="function"?this.#h.push(i):typeof i=="object"&&typeof i.remove=="function"&&this.#h.push(i.remove)})}};function re(o){p(o,void 0,this)}var ce=Tt,ne=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,i,r){if(!((i==="exports"||i==="_exports")&&i in s&&s[i]===e)&&(i in s||i in Promise.prototype||typeof i=="symbol"))return typeof s=="function"?s[i]:Reflect.get(s,i,r)}},e=new Proxy(o,t);return e};var Pt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Nt={};function Dt(){}var Me=(o,t)=>function(s,i){if(!globalThis.customElements)return;let n=(i??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,g]=l.split(";"),v=u?u?.split(",").map(ke):void 0,C=v?.map(([L])=>L),x=class extends St{static{this.observedAttributes=v?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=g?.split(",")}static{this.L=a}static{this.K=o}constructor(){!x.B&&(x.B=c(),x.F()),super()}};customElements.define(a,x)}},ht=Object.defineProperty,ke=o=>{let t=o.split(":");return t.length===1?[t[0],Y(t[0])]:t},Ie=globalThis.HTMLElement??Dt,St=class extends Ie{constructor(){super(),this.#e={},this.#s=[],this.I=new A,this.H=new A,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#i({a:e.A}):e.B.then(async s=>{await e.K.p,t.#i(await(s.default?.then(i=>typeof i=="function"?{a:i}:i)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ht(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ht(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])ht(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Pt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#i(t){let e=this.constructor,s=e.L,i=this.#e,r=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);je(a),!e.A&&(e.A=r,customElements.define(n,r)),r.N=this;let l=document.createElement(n);r.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(i).forEach(He,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function He([o,t]){this[o]=t}var je=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(i,r){e.setAttribute.call(this.el,i,r)},t.removeAttribute=function(i){e.removeAttribute.call(this.el,i)},ht(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var{I:Ve}=te;var dt=o=>o.strings===void 0,he=()=>document.createComment(""),js=(o,t,e)=>{let s=o._$AA.parentNode,i=t===void 0?o._$AB:t._$AA;if(e===void 0){let r=s.insertBefore(he(),i),n=s.insertBefore(he(),i);e=new Ve(r,n,o,o.options)}else{let r=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(r!==i||a){let c=e._$AA;for(;c!==r;){let l=c.nextSibling;s.insertBefore(c,i),c=l}}}return e},Vs=(o,t,e=o)=>(o._$AI(t,e),o),ze={},de=(o,t=ze)=>o._$AH=t,zs=o=>o._$AH,Bs=o=>{o._$AR(),o._$AA.remove()};var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),m=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},pt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},pe=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Fe(t)}};function Be(o){this._$AN!==void 0?(pt(this),this._$AM=o,pe(this)):this._$AM=o}function We(o,t=!1,e=0){let s=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(s))for(let r=e;r<s.length;r++)J(s[r],!1),pt(s[r]);else s!=null&&(J(s,!1),pt(s));else J(this,o)}var Fe=o=>{o.type==y.CHILD&&(o._$AP??=We,o._$AQ??=Be)},ut=class extends m{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),pe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),pt(this))}setValue(t){if(dt(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var Xs=()=>new Lt,Lt=class{},xt=new WeakMap,Ut=E(class extends ut{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=xt.get(t);e===void 0&&(e=new WeakMap,xt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?xt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ft=class extends ce{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=mt in t&&typeof t.destroy=="function",$.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${mt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),k();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),D(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=kt(t,Ge)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(i=>i(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},Ge=1e3,mt="autoDestroyDisabled";var ue=E(class extends m{constructor(o){if(super(o),o.type!==y.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let i=!!t[s];i===this.st.has(s)||this.nt?.has(s)||(i?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var fe="important",Ke=" !"+fe,me=E(class extends m{constructor(o){if(super(o),o.type!==y.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let i=t[s];if(i!=null){this.ft.add(s);let r=typeof i=="string"&&i.endsWith(Ke);s.includes("-")||r?e.setProperty(s,r?i.slice(0,-11):i,r?fe:""):e[s]=i}}return f}});var Je=E(class extends m{constructor(o){if(super(o),o.type!==y.PROPERTY&&o.type!==y.ATTRIBUTE&&o.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!dt(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===y.PROPERTY){if(t===e[s])return f}else if(o.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===y.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var ye=class o extends ${constructor(){super(),this.M=[],this.manager=new ft(this);let t=this,e=t.constructor,s=e.N,i=e.K.o,r=o.prototype.shouldUpdate;t.#i=s?.H??new A,t.I=s?.I??new A,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Dt,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),i&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,i()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Nt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,i=Array.isArray(e)?e[1]:void 0,r=i?.hasChanged??V,n={attribute:s&1&&typeof t=="string"?Y(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...i,hasChanged(a,c){let l=r(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let i=this.K,r=super.getPropertyDescriptor(t,e,s);return s.d=r,{...r,get(){return i.t?.(this.#t.get(t)),r.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);r.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(k(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#i;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#i.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Nt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=r.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#l(){let t=this.el.G??Pt(this.el);t&&await t;let e=[];for(let i of this.M)"triggerLoad"in i?e.push(i.triggerLoad()):e.push(I(i.hostLoad,i));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(i=>i.has(mt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(i=>!i.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async i=>await i.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let i of this.M)"triggerLoaded"in i?i.triggerLoaded():p(i.hostLoaded,i);this.loaded?.(),this.#i.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let i=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,i,s),()=>this.el.removeEventListener(t,i,s)))}listenOn(t,e,s,i){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,i),()=>t.removeEventListener(e,r,i)))}async componentOnReady(){return await this.#i.promise,this}addController(t){this.M.push(t),!(G in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var ge=o=>{let t,e=i=>{t=new URL(i,globalThis.location?.href||void 0).href},s={...o,getAssetPath(i){let r=new URL(i,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(i,r){r.K=s,r.L=i,customElements.get(i)||customElements.define(i,r)}};return e(o.defaultAssetPath),s};var fi=o=>typeof o=="object"&&o!=null?ue(o):o,mi=o=>typeof o=="object"&&o!=null?me(o):o,Rt=class extends m{update(t){let e=t.element.localName;customElements.get(e)||Ye.get(e)?.()}render(){return f}},yi=E(Rt)(),Ye=new Map,Mt=class extends m{#t;#e;constructor(t){super(t);let e=this;this.#e=function(i){return e.#t.call(this,i)}}render(t){return typeof t=="function"?(this.#t=t,Ut(this.#e)):Ut(t)}},gi=E(Mt);var vi=d;var ss=gt``,Q=ge({defaultAssetPath:"https://js.arcgis.com/0.37.0/hub-web-components/",hydratedAttribute:"hydrated",commonStyles:ss}),{customElement:Ci,getAssetPath:wi,setAssetPath:Oi}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{gt as a,as as b,f as c,d,_s as e,D as f,K as g,ee as h,se as i,As as j,Cs as k,Le as l,Re as m,Tt as n,Nt as o,Me as p,y as q,E as r,m as s,js as t,Vs as u,de as v,zs as w,Bs as x,ut as y,Xs as z,Ut as A,ye as B,fi as C,mi as D,yi as E,vi as F,Q as G,Ci as H,wi as I};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as o}from"./WU3HYV7B.js";import"./7GTUV67W.js";import{b as s,c as l,e as n,i as h}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var b=class{constructor(e){h(this,e),this.arcgisConfigurationEditorFieldInputChange=n(this,"arcgisConfigurationEditorFieldInputChange",7),this.handleCalciteCheckboxChange=r=>{let a=this.params.value,i=r.target;a=i.checked?[...a,i.value]:a.filter(t=>t!==i.value),this.arcgisConfigurationEditorFieldInputChange.emit(a)},this.params=void 0}renderCheckboxes(){return this.params.schema.items.enum.map((e,r)=>{var a,i,t,c;let d=!((a=this.params.uiSchema.options)===null||a===void 0)&&a.labels?(i=this.params.uiSchema.options.labels[r])!==null&&i!==void 0?i:e:o(this.params.uiSchema,e,this.params.t,{path:"label",fallback:e});return s("calcite-label",{key:e,layout:"inline",scale:this.params.scale},s("calcite-checkbox",{checked:this.params.value.includes(e),disabled:this.params.disabled||((c=(t=this.params.uiSchema.options)===null||t===void 0?void 0:t.disabled)===null||c===void 0?void 0:c[r]),onCalciteCheckboxChange:this.handleCalciteCheckboxChange,scale:this.params.scale,value:e}),d)})}render(){return s(l,{key:"b4d5ff971b30dc1d8b34f16c5c6e13794a07a428"},s("div",{key:"409aecf900e1cb4a78e415ddfed17843dd0b4ad4"},this.renderCheckboxes()))}};export{b as hub_field_input_checkbox_group};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as o}from"./ME6P5KK5.js";import{b as u}from"./UJZ32HDH.js";import{a as c}from"./7GTUV67W.js";var l=[o.JPG,o.PNG,o.PNG8,o.PNG24,o.PNG32],g=[o.CSV,o.SHAPEFILE,o.GEOJSON,o.KML],p=[o.CSV,o.SHAPEFILE,o.GEOJSON,o.KML,o.FILE_GDB],F=[o.CSV,o.SHAPEFILE,o.GEOJSON,o.KML,o.FILE_GDB,o.FEATURE_COLLECTION,o.EXCEL,o.GEO_PACKAGE,o.SQLITE,o.JSON];function E(t){let e=t.serverExtractFormats||[],r=F.filter(s=>e.includes(s)),n=e.filter(s=>!F.includes(s));return[...r,...n].map(s=>({type:"dynamic",format:s}))}function P(t){return((c(t,"extendedProps.server.currentVersion")||0)<10.2?l.filter(n=>n!==o.PNG32):l).map(n=>({type:"dynamic",format:n}))}function G(){return g.map(t=>({type:"dynamic",format:t}))}function O(){return p.map(t=>({type:"dynamic",format:t}))}function S(t,e){let r=[],n={createReplica:()=>{r=E(e)},paging:()=>{r=G()},fgdb:()=>{r=O()},exportImage:()=>{r=P(e)}};return n[t]&&n[t](),r}function L(t){let e=u(t),r=S(e,t),n=c(t,"extendedProps.additionalResources")||[],s=c(t,"extendedProps.downloads"),a=r.map(i=>({key:i.format,hidden:!1}));if(n.forEach((i,d)=>{a.push({key:`additionalResource::${d}`,hidden:!1})}),s&&s.flowType===e){let i=a.filter(m=>!s.formats.find(f=>f.key===m.key)),d=s.formats.filter(m=>a.find(f=>f.key===m.key));return{flowType:e,formats:[...d,...i]}}return{flowType:e,formats:a}}export{E as a,P as b,G as c,O as d,L as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{c as b}from"./4QDRXQMV.js";import{a as M}from"./42NTJTRV.js";import{a as k}from"./37IO4VH2.js";import{a as U}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import{a as p}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./USNX342T.js";import{b as a,c as P,d as q,e as A,h as S,i as N}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var g=function(e,t,i,n){function s(r){return r instanceof i?r:new i(function(o){o(r)})}return new(i||(i=Promise))(function(r,o){function c(u){try{h(n.next(u))}catch(y){o(y)}}function d(u){try{h(n.throw(u))}catch(y){o(y)}}function h(u){u.done?r(u.value):s(u.value).then(c,d)}h((n=n.apply(e,t||[])).next())})},F="http://localhost".replace(/\/+$/,""),D=class{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:F}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||K}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){let t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){let t=this.configuration.accessToken;if(t)return typeof t=="function"?t:()=>g(this,void 0,void 0,function*(){return t})}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}},$=new D,C=class{constructor(t=$){this.configuration=t,this.fetchApi=(i,n)=>g(this,void 0,void 0,function*(){let s={url:i,init:n};for(let o of this.middleware)o.pre&&(s=(yield o.pre(Object.assign({fetch:this.fetchApi},s)))||s);let r;try{r=yield(this.configuration.fetchApi||fetch)(s.url,s.init)}catch(o){for(let c of this.middleware)c.onError&&(r=(yield c.onError({fetch:this.fetchApi,url:s.url,init:s.init,error:o,response:r?r.clone():void 0}))||r);if(r===void 0)throw o instanceof Error?new _(o,"The request failed and the interceptors did not return an alternative response"):o}for(let o of this.middleware)o.post&&(r=(yield o.post({fetch:this.fetchApi,url:s.url,init:s.init,response:r.clone()}))||r);return r}),this.middleware=t.middleware}withMiddleware(...t){let i=this.clone();return i.middleware=i.middleware.concat(...t),i}withPreMiddleware(...t){let i=t.map(n=>({pre:n}));return this.withMiddleware(...i)}withPostMiddleware(...t){let i=t.map(n=>({post:n}));return this.withMiddleware(...i)}request(t,i){return g(this,void 0,void 0,function*(){let{url:n,init:s}=yield this.createFetchParams(t,i),r=yield this.fetchApi(n,s);if(r&&r.status>=200&&r.status<300)return r;throw new R(r,"Response returned an error code")})}createFetchParams(t,i){return g(this,void 0,void 0,function*(){let n=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(n+="?"+this.configuration.queryParamsStringify(t.query));let s=Object.assign({},this.configuration.headers,t.headers);Object.keys(s).forEach(h=>s[h]===void 0?delete s[h]:{});let r=typeof i=="function"?i:()=>g(this,void 0,void 0,function*(){return i}),o={method:t.method,headers:s,body:t.body,credentials:this.configuration.credentials},c=Object.assign(Object.assign({},o),yield r({init:o,context:t})),d=Object.assign(Object.assign({},c),{body:H(c.body)||c.body instanceof URLSearchParams||j(c.body)?c.body:JSON.stringify(c.body)});return{url:n,init:d}})}clone(){let t=this.constructor,i=new t(this.configuration);return i.middleware=this.middleware.slice(),i}};function j(e){return typeof Blob<"u"&&e instanceof Blob}function H(e){return typeof FormData<"u"&&e instanceof FormData}var R=class extends Error{constructor(t,i){super(i),this.response=t,this.name="ResponseError"}},_=class extends Error{constructor(t,i){super(i),this.cause=t,this.name="FetchError"}},f=class extends Error{constructor(t,i){super(i),this.field=t,this.name="RequiredError"}};function K(e,t=""){return Object.keys(e).map(i=>z(i,e[i],t)).filter(i=>i.length>0).join("&")}function z(e,t,i=""){let n=i+(i.length?`[${e}]`:e);if(t instanceof Array){let s=t.map(r=>encodeURIComponent(String(r))).join(`&${encodeURIComponent(n)}=`);return`${encodeURIComponent(n)}=${s}`}if(t instanceof Set){let s=Array.from(t);return z(e,s,i)}return t instanceof Date?`${encodeURIComponent(n)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?K(t,n):`${encodeURIComponent(n)}=${encodeURIComponent(String(t))}`}var m=class{constructor(t,i=n=>n){this.raw=t,this.transformer=i}value(){return g(this,void 0,void 0,function*(){return this.transformer(yield this.raw.json())})}},T=class{constructor(t){this.raw=t}value(){return g(this,void 0,void 0,function*(){})}};function V(e){if(e!==void 0)return e===null?null:{userId:e.userId,notificationSpecName:e.notificationSpecName,metadata:e.metadata,cadence:e.cadence,deliveryMethod:e.deliveryMethod}}function G(e){if(e!==void 0)return e===null?null:{notificationSpecName:e.notificationSpecName,metadata:e.metadata,cadence:e.cadence,deliveryMethod:e.deliveryMethod,agoId:e.agoId,username:e.username,firstName:e.firstName,lastName:e.lastName,email:e.email,deleted:e.deleted,optedOut:e.optedOut}}function w(e){return Y(e)}function Y(e,t){return e==null?e:{id:e.id,userId:e.userId,notificationSpecId:e.notificationSpecId,metadata:e.metadata,cadence:e.cadence,lastDelivery:new Date(e.lastDelivery),deliveryMethod:e.deliveryMethod,active:e.active,updatedAt:new Date(e.updatedAt),createdAt:new Date(e.createdAt),notificationSpec:e.notificationSpec,user:e.user}}function J(e){if(e!==void 0)return e===null?null:{cadence:e.cadence,deliveryMethod:e.deliveryMethod,active:e.active,lastDelivery:e.lastDelivery,userId:e.userId}}var l=function(e,t,i,n){function s(r){return r instanceof i?r:new i(function(o){o(r)})}return new(i||(i=Promise))(function(r,o){function c(u){try{h(n.next(u))}catch(y){o(y)}}function d(u){try{h(n.throw(u))}catch(y){o(y)}}function h(u){u.done?r(u.value):s(u.value).then(c,d)}h((n=n.apply(e,t||[])).next())})},O=class extends C{createSubscriptionRaw(t,i){return l(this,void 0,void 0,function*(){if(t.createSubscriptionDto===null||t.createSubscriptionDto===void 0)throw new f("createSubscriptionDto","Required parameter requestParameters.createSubscriptionDto was null or undefined when calling createSubscription.");let n={},s={};s["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions",method:"POST",headers:s,query:n,body:V(t.createSubscriptionDto)},i);return new m(r,o=>w(o))})}createSubscription(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.createSubscriptionRaw(t,i)).value()})}deleteSubscriptionRaw(t,i){return l(this,void 0,void 0,function*(){if(t.id===null||t.id===void 0)throw new f("id","Required parameter requestParameters.id was null or undefined when calling deleteSubscription.");let n={},s={};this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:s,query:n},i);return new m(r,o=>w(o))})}deleteSubscription(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.deleteSubscriptionRaw(t,i)).value()})}getSubscriptionRaw(t,i){return l(this,void 0,void 0,function*(){if(t.id===null||t.id===void 0)throw new f("id","Required parameter requestParameters.id was null or undefined when calling getSubscription.");let n={},s={};this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:s,query:n},i);return new m(r,o=>w(o))})}getSubscription(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.getSubscriptionRaw(t,i)).value()})}getSubscriptionsRaw(t,i){return l(this,void 0,void 0,function*(){let n={};t.names&&(n.names=t.names),t.cadence!==void 0&&(n.cadence=t.cadence),t.userId!==void 0&&(n.userId=t.userId),t.active!==void 0&&(n.active=t.active);let s={};this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions",method:"GET",headers:s,query:n},i);return new m(r,o=>o.map(w))})}getSubscriptions(t={},i){return l(this,void 0,void 0,function*(){return yield(yield this.getSubscriptionsRaw(t,i)).value()})}resubscribeRaw(t){return l(this,void 0,void 0,function*(){let i={},n={};this.configuration&&this.configuration.apiKey&&(n.Authorization=this.configuration.apiKey("Authorization"));let s=yield this.request({path:"/api/newsletters/v1/subscriptions/resubscribe",method:"GET",headers:n,query:i},t);return new T(s)})}resubscribe(t){return l(this,void 0,void 0,function*(){yield this.resubscribeRaw(t)})}subscribeRaw(t,i){return l(this,void 0,void 0,function*(){if(t.subscribeDto===null||t.subscribeDto===void 0)throw new f("subscribeDto","Required parameter requestParameters.subscribeDto was null or undefined when calling subscribe.");let n={},s={};s["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions/subscribe",method:"POST",headers:s,query:n,body:G(t.subscribeDto)},i);return new m(r,o=>w(o))})}subscribe(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.subscribeRaw(t,i)).value()})}unsubscribeRaw(t){return l(this,void 0,void 0,function*(){let i={},n={};this.configuration&&this.configuration.apiKey&&(n.Authorization=this.configuration.apiKey("Authorization"));let s=yield this.request({path:"/api/newsletters/v1/subscriptions/unsubscribe",method:"GET",headers:n,query:i},t);return new T(s)})}unsubscribe(t){return l(this,void 0,void 0,function*(){yield this.unsubscribeRaw(t)})}updateSubscriptionRaw(t,i){return l(this,void 0,void 0,function*(){if(t.id===null||t.id===void 0)throw new f("id","Required parameter requestParameters.id was null or undefined when calling updateSubscription.");if(t.updateSubscriptionDto===null||t.updateSubscriptionDto===void 0)throw new f("updateSubscriptionDto","Required parameter requestParameters.updateSubscriptionDto was null or undefined when calling updateSubscription.");let n={},s={};s["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:s,query:n,body:J(t.updateSubscriptionDto)},i);return new m(r,o=>w(o))})}updateSubscription(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.updateSubscriptionRaw(t,i)).value()})}},I=class extends O{constructor(t){super(t)}},x=class extends D{constructor(t){super(t)}};function B(e){function t(i,n,s){let r=M(s.value,e);return Object.assign(Object.assign({},s),{value:r})}return t}var Z=":host{display:flex;flex-direction:column;gap:2rem}.header{display:flex;align-items:flex-start;justify-content:space-between}.controls-container{display:flex;gap:0.5rem}.popover-body{max-width:20rem;padding:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.update-label{font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold)}.learn-link{margin-top:0.25rem}h1{margin:0px;font-size:var(--calcite-font-size-4);line-height:2.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.telemetry-container{display:grid;grid-auto-flow:column;gap:3rem;grid-auto-columns:1fr}h2{margin:0px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}h2:not(:has(+calcite-tabs)){margin-bottom:1rem}.chart{height:400px}@media only screen and (max-width: 768px){.telemetry-container{display:flex}.telemetry-container{flex-direction:column}.header,.controls-container{flex-direction:row}.header,.controls-container{flex-wrap:wrap}.header,.controls-container{gap:1rem}}",W=Z,L=function(e,t,i,n){var s=arguments.length,r=s<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},v={chart:"chart",table:"table"},E=class{get _contentId(){let{contentId:e}=this;if(e)return`portal:${e.replace("_",":")}`}get _subscriptionApiOptions(){var e;return{headers:{Authorization:(e=this.context)===null||e===void 0?void 0:e._authentication.token,"Content-Type":"application/json"}}}get _hasSubscription(){return!!this.telemetrySubscription}get _hasActiveSubscription(){var e;return!!(!((e=this.telemetrySubscription)===null||e===void 0)&&e.active)}get _showDiscussionsMetrics(){return this.contentType==="discussion"}constructor(e){N(this,e),this.arcgisTelemetryDashboardDateChanged=A(this,"arcgisTelemetryDashboardDateChanged",7),this.hubTelemetry=A(this,"hubTelemetry",7),this.setDateRange=t=>{let{name:i,startDate:n}=t.detail,{endDate:s}=t.detail;n.toLocaleDateString()!==s.toLocaleDateString()&&(new Date(new Date(n).toLocaleString("en-US",{timeZone:"America/New_York"})).setHours(2,30,0,0),new Date(new Date(s).toLocaleString("en-US",{timeZone:"America/New_York"})).setHours(2,30,0,0)),this.startDate=new Date(n).toISOString(),this.endDate=new Date(s).toISOString(),this._dateRange=i==="custom"?`${this.startDate},${this.endDate}`:i,this.arcgisTelemetryDashboardDateChanged.emit(this._dateRange)},this.activeTab=v.chart,this.dateRangeOptions=["yesterday","last7Days","last30Days","thisMonth","lastMonth","pastYear"],this.sessionActivityTransforms=[{name:"session-activity:average",value:{display:t=>Math.round(Number(t)/60*10)/10}}],this.hostname=void 0,this.contentId=void 0,this.contentType=void 0,this.context=void 0,this.dateRange="last30Days",this.dashboardTitle=void 0,this.hubAnalyticsEnabled=void 0,this.showSubscriptions=void 0,this.startDate=void 0,this.endDate=void 0,this._dateRange=void 0,this.telemetrySubscription=void 0,this.shouldShowSubscriptionUpdateAlert=!1,this.subscriptionUpdateType=void 0,this.subscriptionUpdateSucceeded=void 0,this.subscriptionAlertTitle=void 0,this.subscriptionAlertMessage=void 0,k(this,"setDateRange","handleCalciteAlertClose","handlePopoverOpened","handleExternalLinkClicked","onTabChange","toggleTelemetrySubscription")}async contextChanged(){if(this.context){let e=new x({basePath:this.context.hubUrl});this.subscriptions=new I(e);let t=await this.subscriptions.getSubscriptions({names:["TELEMETRY_REPORT"]},this._subscriptionApiOptions);this.telemetrySubscription=t.find(i=>i.metadata.hostname===this.hostname)}}async componentWillLoad(){this.intl=await U.loadIntlForComponent(this.element),this._dateRange=this.dateRange,this.contextChanged()}get dateRangeValue(){return this._dateRange.split(",").length===2?this._dateRange.split(","):this._dateRange}handleCalciteAlertClose(){this.shouldShowSubscriptionUpdateAlert=!1}renderSubscriptionUpdateAlert(){return this.subscriptionUpdateSucceeded?this.subscriptionUpdateType==="subscribe"||this.subscriptionUpdateType==="update"&&this._hasActiveSubscription===!0?(this.subscriptionAlertTitle=this.intl.t("subscriptionActivatedTitle"),this.subscriptionAlertMessage=this.intl.t("subscriptionActivatedMessage",{email:this.context.currentUser.email})):this.subscriptionUpdateType==="update"&&this._hasActiveSubscription===!1&&(this.subscriptionAlertTitle=this.intl.t("unsubscribeCompleteTitle"),this.subscriptionAlertMessage=this.intl.t("unsubscribeCompleteMessage",{email:this.context.currentUser.email})):this.subscriptionUpdateType==="update"&&this._hasActiveSubscription===!0?(this.subscriptionAlertTitle=this.intl.t("problemUnsubscribingTitle"),this.subscriptionAlertMessage=this.intl.t("problemUnsubscribingMessage")):this.subscriptionUpdateType==="update"&&this._hasActiveSubscription===!1&&(this.subscriptionAlertTitle=this.intl.t("problemSubscribingTitle"),this.subscriptionAlertMessage=this.intl.t("problemSubscribingMessage")),a("arcgis-wormhole",{elAttributes:{unthemed:"true"}},a("calcite-alert",{autoClose:this.subscriptionUpdateSucceeded,autoCloseDuration:"slow",icon:!0,kind:this.subscriptionUpdateSucceeded?"success":"danger",label:this.intl.t("formAlert"),onCalciteAlertClose:this.handleCalciteAlertClose,open:this.shouldShowSubscriptionUpdateAlert,placement:"top-end",scale:"m"},a("div",{slot:"title"},this.subscriptionAlertTitle),this.subscriptionAlertMessage&&a("div",{slot:"message"},this.subscriptionAlertMessage)))}async toggleTelemetrySubscription(){if(this.handleSubUnsubButtonClicked(),this._hasSubscription){let e={id:this.telemetrySubscription.id,updateSubscriptionDto:{active:!this._hasActiveSubscription}};try{this.subscriptionUpdateType="update",this.telemetrySubscription=await this.subscriptions.updateSubscription(e,this._subscriptionApiOptions),this.subscriptionUpdateSucceeded=!0}catch{this.subscriptionUpdateSucceeded=!1}}else{let e={subscribeDto:{notificationSpecName:"TELEMETRY_REPORT",metadata:{hostname:this.hostname},cadence:"WEEKLY",deliveryMethod:"EMAIL"}};try{this.subscriptionUpdateType="subscribe",this.telemetrySubscription=await this.subscriptions.subscribe(e,this._subscriptionApiOptions),this.subscriptionUpdateSucceeded=!0}catch{this.subscriptionUpdateSucceeded=!1}}this.shouldShowSubscriptionUpdateAlert=!0}getOrderBy(e){return[{name:e,direction:"asc"}]}get category(){let{_dateRange:e,endDate:t,startDate:i}=this,n;if(e==="custom"){let s=new Date(t).getTime()-new Date(i).getTime()/864e5;s<5?n=b.hour:s<30?n=b.day:s<365?n=b.week:n=b.month}else switch(e){case"today":case"yesterday":n=b.hour;break;case"pastYear":n=b.week;break;default:n=b.day}return n}getPageViewsTableTransforms(e){let t={};return e===b.hour&&(t.hour="numeric",t.minute="numeric"),[{name:"timestamp",title:this.intl.t(`timestampTitle.${e}`),value:{display:i=>this.intl.formatDate(i,t)}},{name:"page-views:count",title:this.intl.t("pageViews")}]}handlePopoverOpened(){let{hubAnalyticsEnabled:e}=this,t=p.dictionary.category.interaction.action.open.label.popover.details,i=e?t.activityEnabled:t.activityDisabled;this.hubTelemetry.emit(Object.assign({},i))}handleExternalLinkClicked(){this.hubTelemetry.emit(Object.assign({},p.dictionary.category.navigation.action.external.label.webHelp.details.enableOrDisableHubActivityTracking))}handleSubUnsubButtonClicked(){let e=this._hasActiveSubscription?p.dictionary.category.interaction.action.disable:p.dictionary.category.interaction.action.enable;this.hubTelemetry.emit(Object.assign({},e.label.notifications.details.weekly))}get telemetryUpdateInfo(){let e=new Date(new Date().toLocaleString("en-US",{timeZone:"America/New_York"})).setHours(2,10,0,0),t={hour:"2-digit",minute:"2-digit",year:"numeric",day:"2-digit",month:"2-digit"};return this.intl.formatDate(e,t)}get subscribeButtonProps(){let{_hasActiveSubscription:e}=this,t={appearance:"solid",iconStart:e?"envelope":"",id:"subscriptions",kind:e?"neutral":"brand",round:!0},i=e?this.intl.t("subscribed"):this.intl.t("subscribe");return{props:t,text:i}}onTabChange(e){let{tab:t}=e.target;if(t!==this.activeTab){let i=p.dictionary.category.navigation.action.onPage.label[t];this.hubTelemetry.emit(i),this.activeTab=t}}renderControls(){let{hubAnalyticsEnabled:e,subscribeButtonProps:t,telemetryUpdateInfo:i,showSubscriptions:n}=this,s=e?"transparent":"solid",r=e?"neutral":"danger",o=e?this.intl.t("notificationLabel"):this.intl.t("disabledTracking"),c=e?null:this.intl.t("disabledTracking"),d=n?a("calcite-button",Object.assign({},t.props,{onClick:this.toggleTelemetrySubscription}),t.text):null,h=e?a(S,null,a("div",{class:"update-label"},this.intl.t("dataUpdated")),a("div",null,i)):a(S,null,this.intl.t("enableTracking"),a("div",{class:"learn-link"},a("calcite-link",{href:"https://doc.arcgis.com/en/hub/sites/enable-or-disable-hub-activity-tracking.htm","icon-end":"launch",onclick:this.handleExternalLinkClicked,target:"_blank"},this.intl.t("learnMore"))));return a("div",{class:"controls-container"},d,a("calcite-tooltip",{referenceElement:"subscriptions"}," ",this.intl.t("weeklyReport")),a("arcgis-hub-date-range-picker",{onArcgisHubDateRangePickerSelect:this.setDateRange,options:this.dateRangeOptions,value:this.dateRangeValue}),a("calcite-button",{appearance:s,"icon-start":"activity-monitor",id:"activity-button",kind:r,label:this.intl.t("dataUpdated"),round:!0,scale:"m"},e?null:this.intl.t("disabled")),a("calcite-popover",{"auto-close":!0,heading:c,label:o,onCalcitePopoverOpen:this.handlePopoverOpened,placement:"bottom","reference-element":"activity-button"},a("div",{class:"popover-body"},h)))}render(){let e=!this._contentId,{category:t,_contentId:i,context:n,endDate:s,hostname:r,sessionActivityTransforms:o,startDate:c}=this,d=this.getOrderBy(t),h=this.getPageViewsTableTransforms(t);return a(P,{key:"8a91038b86c1c0f1f943989a7d61d1a412a0569e","data-element":"telemetry-dashboard"},this.renderSubscriptionUpdateAlert(),a("div",{key:"f5a4064f5c1532c69e9d18fe792111bba5c28cf3",class:"header"},a("h1",{key:"d159e6d93a565d59324e11f9ff19a3be2ab83a86"},this.dashboardTitle),this.renderControls()),a("div",{key:"4cd4887e961f1aaa3a2b5efe3b331dc390cd8302",class:"telemetry-container"},a("arcgis-telemetry-report",{key:"d99e3991430712b639061f30d153e36f46e4331f",category:t,contentId:i,context:n,dimensionFilters:[{name:"action",not:[p.constants.action.MANAGE]}],endDate:s,hostname:r,orderBy:d,"report-title":this.intl.t("pageViews"),startDate:c,"telemetry-event":"page-views",type:"metric"}),e?a("arcgis-telemetry-report",{category:t,contentId:i,context:n,endDate:s,hostname:r,orderBy:d,"report-title":this.intl.t("users"),startDate:c,"telemetry-event":"sessions",type:"metric"}):"",e?a("arcgis-telemetry-report",{category:t,contentId:i,context:n,dataTransforms:o,endDate:s,hostname:r,orderBy:d,"report-title":this.intl.t("timeOnSite"),startDate:c,"telemetry-event":"session-activity",type:"metric"}):""),this._showDiscussionsMetrics?a("div",{class:"telemetry-container"},a("arcgis-telemetry-report",{category:t,contentId:i,context:n,dataLabel:this.intl.t("postsCreated"),endDate:s,hostname:r,orderBy:d,reportTitle:this.intl.t("postsCreated"),startDate:c,telemetryEvent:{category:"Content",action:"Create",label:"Post"},type:"metric"}),a("arcgis-telemetry-report",{category:t,contentId:i,context:n,dataLabel:this.intl.t("repliesCreated"),endDate:s,hostname:r,orderBy:d,reportTitle:this.intl.t("repliesCreated"),startDate:c,telemetryEvent:{category:"Content",action:"Create",label:"Reply"},type:"metric"}),a("arcgis-telemetry-report",{category:t,contentId:i,context:n,dataLabel:this.intl.t("pageViews"),endDate:s,hostname:r,orderBy:d,reportTitle:this.intl.t("aboutViews"),startDate:c,telemetryContext:{customDimensionsConfig:p.customDimensionsConfig},telemetryEvent:{category:"Navigation",action:"View",label:"Content",details:"About"},type:"metric"})):"",a("div",{key:"29fc22fd3ee017cb904c2aebdcdf216d40a8da73"},a("h2",{key:"5ee99c0404b1f4299407bf667066514c1d95acad"},this.intl.t("viewsOverTime")),a("calcite-tabs",{key:"01d9b1bbb3c094e7eee196ec26828add34833395"},a("calcite-tab-nav",{key:"f2708d1d53a3d460647785bf402ebfa9213b294b",slot:"title-group"},a("calcite-tab-title",{key:"c9656f38b3b12bc7085e58656882abc4109a46da",onCalciteTabsActivate:this.onTabChange,tab:v.chart},this.intl.t("tabs.chart")),a("calcite-tab-title",{key:"298272a9e7daa69c8afc1c02c8f67e9679063fae",onCalciteTabsActivate:this.onTabChange,tab:v.table},this.intl.t("tabs.table"))),a("calcite-tab",{key:"367e613cd71e363082afdf5f09fb36d025922858",role:"tabpanel",tab:v.chart},a("arcgis-telemetry-report",{key:"824abccaa21d603c7dcda8dc527d67bf63ed6724",category:t,class:"chart",contentId:i,context:n,dimensionFilters:[{name:"action",not:[p.constants.action.MANAGE]}],endDate:s,hostname:r,orderBy:d,startDate:c,"telemetry-event":"page-views",type:"bar"})),a("calcite-tab",{key:"fe6d6c36dd3e91c0de1d508eb9a7a0dfecaf665a",role:"tabpanel",tab:v.table},a("arcgis-telemetry-report",{key:"1ed67faed3efdff9755b33a83a2b09aef9f4732b",category:t,contentId:i,context:n,dataTransforms:h,dimensionFilters:[{name:"action",not:[p.constants.action.MANAGE]}],endDate:s,hostname:r,orderBy:d,startDate:c,"telemetry-event":"page-views",type:"tabular"})))),this._showDiscussionsMetrics?a(S,null,a("div",null,a("h2",null,this.intl.t("postsOverTime")),a("arcgis-telemetry-report",{category:t,class:"chart",contentId:i,context:n,dataLabel:this.intl.t("postsCreated"),endDate:s,hostname:r,orderBy:d,startDate:c,telemetryEvent:{category:"Content",action:"Create",label:"Post"},type:"bar"})),a("div",null,a("h2",null,this.intl.t("trafficByHostname")),a("arcgis-telemetry-report",{contentId:i,context:n,dimensionFilters:[{name:"action",not:[p.constants.action.MANAGE]}],endDate:s,hostname:r,orderBy:[{name:"page-views:count",direction:"desc"}],series:[{name:"hostname",title:this.intl.t("hostname")}],startDate:c,"telemetry-event":"page-views",type:"tabular"}))):"")}static get assetsDirs(){return["locales"]}get element(){return q(this)}static get watchers(){return{context:["contextChanged"]}}};L([B({scope:"get-order-by"})],E.prototype,"getOrderBy",null);L([B({scope:"get-page-views-transforms"})],E.prototype,"getPageViewsTableTransforms",null);E.style=W;export{E as arcgis_telemetry_dashboard};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as T}from"./25TYOHZS.js";import{a as x}from"./65DPLBLL.js";import"./XZDHV5BV.js";import{a as I,b as E,c as C,d as F,e as O}from"./L6IQ6LTS.js";import"./PM6CSPJD.js";import{a as p}from"./AJKLRRS4.js";import{h as _}from"./OQNAOTWQ.js";import"./K4VVZ2OR.js";import"./THLIDOGM.js";import"./FZNKGW4A.js";import"./LK454DSU.js";import"./AYFB34A7.js";import"./53V23CCM.js";import"./SNSHV52T.js";import"./HITR5JF7.js";import"./E2RL5I2B.js";import"./4ZRQCNU2.js";import"./YLRR2XFD.js";import"./LEVMADAS.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./ZUFDLSS7.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import{a as S}from"./ZVGAVULD.js";import"./V3U3RRL7.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as b}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as v}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import{a as f}from"./USNX342T.js";import{b as m,c as L,d as k,e as V,i as w}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:A,j:U}])=>{var N=t=>{let{layers:e,fields:i,aggregations:a}=t,n=(s=[],o=!1)=>(o&&s.push(""),s.length?{enum:s}:{});return{required:[],type:"object",properties:{itemId:{type:"array",maxItems:1},layerId:Object.assign({type:"string"},n(e)),field:Object.assign({type:"string"},n(i,!0)),statistic:{type:"string",enum:a},allowExpressionSet:{type:"boolean",default:!1},expressionSet:{type:"array"}}}},H={condition:{schema:{type:"object",properties:{itemId:{not:{const:[]}}}}},effect:p.SHOW},G={condition:{schema:{type:"object",properties:{itemId:{not:{const:[]}},layerId:{not:{const:""}}}}},effect:p.SHOW},u={condition:{schema:{type:"object",properties:{itemId:{not:{const:[]}},layerId:{not:{const:""}},field:{not:{const:""}}}}},effect:p.SHOW};function W(t){let{catalogs:e=[],facets:i=[],layers:a,fields:n,aggregations:s}=t;return{type:"Layout",elements:[{scope:"/properties/itemId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:e,facets:i,styles:{"--twShadowNew":"none"}}},{labelKey:"layer",scope:"/properties/layerId",type:"Control",rule:H,options:{control:"hub-field-input-tile-select",labels:a.map(o=>o.name),descriptions:a.map(o=>x(o.geometryType)),styles:{"--maxHeight":"20vh"}}},{labelKey:"field.label",scope:"/properties/field",type:"Control",rule:G,options:{control:"hub-field-input-combobox",selectionMode:"single",items:n.map(o=>({icon:F(o.type),label:o.name,value:o.name})),styles:{"--maxHeight":"20vh"}}},{labelKey:"statistic.label",scope:"/properties/statistic",type:"Control",rule:u,options:{control:"hub-field-input-select",labels:s}},{type:"Section",scope:"/properties/allowExpressionSet",labelKey:"expression.label",rule:u,options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{scope:"/properties/expressionSet",rule:u,type:"Control",options:{fields:n,control:"hub-composite-input-expression-set"}}]}]}}var Q={targetEntity:"item",key:"featureServices",label:"Feature Services",include:[],scope:{targetEntity:"item",filters:[{predicates:[{type:"Feature Service"},{typekeywords:{not:["FieldworkerView"]}},{typekeywords:{not:["SurveyService"]}}]}]}},M=["count","min","max","sum","avg","stddev","var"],g=["count","min","max"],K=t=>M.map(e=>t.t(`statistic.aggregations.${e}`)),D=t=>g.map(e=>t.t(`statistic.aggregations.${e}`)),Ue=class{connectedCallback(){U(this)}disconnectedCallback(){this.disconnectContext()}constructor(t){w(this,t),this.arcgisCompositeServiceQueryMetricFieldChange=V(this,"arcgisCompositeServiceQueryMetricFieldChange",7),this.values={},this.sourceLink=void 0,this.sourceTitle=void 0,this.layers=[],this.fields=[],this.serviceUrl="",this.aggregations=null,this.currentValues={},this.loading=!1,this._context=A(),b(this,"translationFunc","handleCompositeServiceQueryMetricFieldChange")}get uiSchemaOptions(){var t;return{catalogs:this.catalogs,facets:this.facets,layers:this.layers,fields:this.fields,aggregations:(t=this.aggregations)===null||t===void 0?void 0:t.labelsEnum}}get schemaOptions(){var t;return{layers:this.layers.map(e=>{var i;return(i=e.id)===null||i===void 0?void 0:i.toString()}),fields:this.fields.map(e=>e.name),aggregations:(t=this.aggregations)===null||t===void 0?void 0:t.aggregationEnum}}get facets(){return[{label:this.intl.t("dynamicStat.facets.sharing"),key:"access",field:"access",display:"multi-select",operation:"OR"}]}get catalogs(){var t;let e=[];if(this._context){let i=["myContent","favorites","organization"];!((t=this._context)===null||t===void 0)&&t.isPortal||i.push("world"),e=i.map(a=>{var n;let s={user:(n=this._context)===null||n===void 0?void 0:n.currentUser,collectionNames:["dataset"]},o=this._context&&_("dynamicStat",a,"item",s);return o&&(o.collections=[Q]),S(this.intl,o)})}return e}async componentWillLoad(){this.intl=await v.loadIntlForComponent(this.element),this.values.itemId&&(this.currentValues=this.values),this.loading=!0,this.updateDynamicValues(this.values,this._context),this.aggregations={aggregationEnum:g,labelsEnum:D(this.intl)}}updateUiSchema(){this._uiSchema=W(this.uiSchemaOptions)}updateSchema(){this._schema=N(this.schemaOptions)}async updateDynamicValues(t,e){var i,a,n;let s,o,h,c=[],y=[];if(!((i=t.itemId)===null||i===void 0)&&i.length){let l=await I(t.itemId[0],e);s=l?.url,o=(a=l?.links)===null||a===void 0?void 0:a.siteRelative,h=l?.name;let r=await E(s,e);if(r?.fields?(c=[r],s=s.substring(0,s.lastIndexOf("/"))):r?.layers||r?.tables?c=[...r?.layers,...r?.tables]:(f.error("This service does not have layers and is not a feature layer itself."),c=[]),s!==this.serviceUrl&&this.serviceUrl!==""&&(t.layerId=void 0,t.field=void 0),t.layerId){let j=t.layerId;y=await C(s,e,j)}}else this.resetValues(t);let{aggregationEnum:d,labelsEnum:R}=this.getAggregationsFromField(t);this.serviceUrl=s,this.layers=c||[],this.fields=y||[],this.sourceLink=o,this.sourceTitle=h,d!==((n=this.aggregations)===null||n===void 0?void 0:n.aggregationEnum)&&!d.includes(t.statistic)&&(t.statistic="count"),this.aggregations={aggregationEnum:d,labelsEnum:R},this.updateSchema(),this.updateUiSchema(),this.loading=!1}resetValues(t){t.expressionSet=[],t.field=void 0,t.layerId=void 0,t.sourceLink=void 0,t.sourceTitle=void 0}getAggregationsFromField(t){var e;let i=t?.fieldType;return t.fieldType||(i=(e=this.fields.find(a=>a.name===t?.field))===null||e===void 0?void 0:e.type),O.includes(i)?{aggregationEnum:M,labelsEnum:K(this.intl)}:{aggregationEnum:g,labelsEnum:D(this.intl)}}async handleCompositeServiceQueryMetricFieldChange(t){t.stopImmediatePropagation(),t.stopPropagation();let{valid:e,values:i}=t.detail;await this.updateDynamicValues(i,this._context),this.updateSchema(),this.updateUiSchema(),this.currentValues=Object.assign(Object.assign(Object.assign({},this.currentValues),i),{serviceUrl:this.serviceUrl,sourceLink:T(this.sourceLink,i.layerId),sourceTitle:this.sourceTitle}),this.currentValues=i.field?Object.assign(Object.assign({},this.currentValues),{fieldType:this.fields.find(a=>a.name===i.field).type}):Object.assign(Object.assign({},this.currentValues),{fieldType:void 0}),this.currentValues.statistic||(this.currentValues.statistic="count"),this.isValid=e,e&&this.arcgisCompositeServiceQueryMetricFieldChange.emit(this.currentValues)}translationFunc(t,e,i){return this.intl.t(t,e,i)}render(){return m(L,{key:"32a980d1ee478ff81dd1d64794b1c0cc8300da72"},this.loading?m("arcgis-skeleton-loader",{active:!0}):m("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleCompositeServiceQueryMetricFieldChange,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this.currentValues||this.values}))}static get assetsDirs(){return["locales"]}get element(){return k(this)}static get watchers(){return{_context:["updateUiSchema"]}}};return Ue},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{b as a,e as l,i}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var u="calcite-chip{margin:0.25rem;margin-bottom:0px;margin-left:0px}",n=u,c=class{constructor(e){i(this,e),this.hubMultiselectChange=l(this,"hubMultiselectChange",7),this.label=void 0,this.values=void 0,this.disabled=!1,this.scale=void 0,this.parsedValues=[]}handleValuesChanged(e){this.parsedValues=Array.isArray(e)?e:e.split(",")}handleChipCloseEvent(e){let s=e.target.value,t=this.parsedValues.findIndex(h=>h===s);this.parsedValues=[...this.parsedValues.slice(0,t),...this.parsedValues.slice(t+1)],this.hubMultiselectChange.emit({values:this.parsedValues.slice()})}handleKeyEvent(e){let s=e.target;if(e.key==="Enter"&&s.value&&!this.parsedValues.includes(s.value)){let t=s.value;this.parsedValues=[...this.parsedValues,t],this.hubMultiselectChange.emit({values:this.parsedValues.slice()}),s.value=""}}componentWillLoad(){this.values&&this.handleValuesChanged(this.values)}render(){return a("div",{key:"d301707b7ef4eb2758a931f53000c571769393c9"},this.disabled?null:a("calcite-input",{disabled:this.disabled,label:this.label,scale:this.scale}),this.parsedValues.map(e=>a("calcite-chip",{closable:!this.disabled,key:e,label:e,scale:this.scale,value:e},e)))}static get watchers(){return{values:["handleValuesChanged"]}}};c.style=n;export{c as hub_multiselect};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import m from"./QMYN3FVH.js";import l from"./ERN7BZFG.js";import k from"./72R6GI5S.js";import j from"./HETF33XY.js";import i from"./2YBIU2GX.js";import h from"./IDHZRKXF.js";import g from"./HIJBZFJC.js";import f from"./B5FN4TVW.js";import e from"./VCGND4NR.js";import d from"./YDWT2GP5.js";import c from"./DZCEYSVA.js";import b from"./733IZVMO.js";import a from"./C27C7ZCS.js";import"./AJOXWMDO.js";import"./2PUMWMNI.js";import"./L3H4QXUA.js";import"./BMRPHSYL.js";import"./5V53QYYF.js";import"./7GTUV67W.js";import"./USNX342T.js";import"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,,,,,,{D:w,Ja:s,Z:n,a:_,ia:x,y:k},{O:p,R:f},,,,,,,,,{Q:l,S:b,T:I,U:v},{b:S,d:c,f:d,h:y,j:g,t:u},F])=>{var L=Object.defineProperty,j=Object.getOwnPropertyDescriptor,D=(a,i,r,t)=>{for(var e=j(i,r),o=a.length-1,h;o>=0;o--)(h=a[o])&&(e=h(i,r,e)||e);return e&&L(i,r,e),e},m=class extends v{constructor(){super(...arguments),this._chartType=_.RadarSeries}async setup(i){await this.loadConfigFromLayer(i),this.setupLocalProps(),i.config!==void 0&&await this.updateSeriesFromLayerFilter(),this.initDefaultSeries(),typeof this.resolveSetup=="function"&&this.resolveSetup()}generateDefaultConfig(){let i=x(this.commonStrings);return i.series=[n({commonStrings:this.commonStrings,objectIDField:s(this.layerInfo.layer).idField})],i}initDefaultSeries(){this.defaultSeries=n({commonStrings:this.commonStrings,objectIDField:s(this.layerInfo.layer).idField})}resetSeriesStyling(){for(let i=0;i<this.seriesLength;i+=1){let r=w({colorIndex:i,opacity:k});if(I(r,i,this._config),d(r,i,this._config),this.layerInfo!==void 0){let t=this.getSeriesId(i),e=l({config:this._config,seriesIndex:i,layerInfo:this.layerInfo,commonStrings:this.commonStrings});e!==s(this.layerInfo.layer).idField&&b(e??t,i,this._config)}S(this.defaultSeries?.lineSymbol?.style,i,this._config),c(this.defaultSeries?.lineSymbol?.width,i,this._config),y(this.defaultSeries?.markerSymbol?.style,i,this._config),g(this.defaultSeries?.markerSymbol?.size,i,this._config)}this._config.colorMatch=!0}resetAvailable(){let i=!this.colorMatch,r=!1;if(!i)for(let t=0;t<this.seriesLength;t+=1){if(this.layerInfo!==void 0){let e=l({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),o=this.getSeriesName(t);e!==void 0&&e!==s(this.layerInfo.layer).idField&&e!==o&&(r=!0)}if(this.defaultSeries?.lineSymbol?.style!==void 0&&this.defaultSeries?.lineSymbol.style!==this.getSeriesLineStyle(t)||this.defaultSeries?.lineSymbol?.width!==void 0&&this.defaultSeries?.lineSymbol.width!==this.getSeriesLineWidth(t)||this.defaultSeries?.markerSymbol?.style!==void 0&&this.defaultSeries?.markerSymbol?.style!==this.getSeriesMarkerStyle(t)||this.defaultSeries?.markerSymbol?.size!==void 0&&this.defaultSeries?.markerSymbol?.size!==this.getSeriesMarkerSize(t)){r=!0;break}}return i||r}};D([f],m.prototype,"resetSeriesStyling");var M=[u,F];p(m,M);return m},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","core/sql","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","layers/FeatureLayer","layers/support/Field","layers/support/fieldUtils","portal/Portal","rest/support/FeatureSet","applications/Components/reactiveUtils",a,b,c,d,e,f,g,h,i,j,k,l,m)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{f as m}from"./MGC3EC3F.js";import"./HINK5GJN.js";import{a as f}from"./WJFIZ6DL.js";import{a as g}from"./ZVGAVULD.js";import"./V3U3RRL7.js";import"./MS3RNOP5.js";import"./LVCMKKG7.js";import{a as p}from"./UCNRE4DW.js";import{a as h}from"./4QEFMWHF.js";import"./J2P53GWU.js";import{a as r,g as u}from"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as c,c as C,d as b,e as d,i as y}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var E=o=>{var e,i;let{targetEntity:l,availablePredicateProperties:s,uiOptions:t}=o,n=[{type:"Section",label:"{{details.heading:translate}}",options:{section:"block",scale:"s",open:!0},elements:[{scope:"/properties/label",type:"Control",label:"{{details.name.label:translate}}",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,label:"{{details.name.requiredError:translate}}"},{type:"ERROR",keyword:"format",icon:!0,label:"{{details.name.requiredError:translate}}"}]}}]}];return!((e=t?.scope)===null||e===void 0)&&e.allowConfig&&n[0].elements.push({scope:"/properties/scope",type:"Control",options:{control:"arcgis-hub-query-builder",targetEntity:l,availablePredicateProperties:s,uiOptions:t?.scope}}),!((i=t?.display)===null||i===void 0)&&i.allowConfig&&n.push({type:"Section",label:"{{appearance.heading:translate}}",options:{section:"block",scale:"s",open:!1},elements:[{type:"Control",scope:"/properties/displayConfig",options:{control:"arcgis-hub-gallery-appearance-builder",targetEntity:l,visibleSections:["sort","filters"]}}]}),{type:"Layout",elements:n}},v=".collections__add:not(:last-child){margin-bottom:1rem}:host{position:relative}",O=v,P=function(o,e,i,l){var s=arguments.length,t=s<3?e:l===null?l=Object.getOwnPropertyDescriptor(e,i):l,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(o,e,i,l);else for(var a=o.length-1;a>=0;a--)(n=o[a])&&(t=(s<3?n(t):s>3?n(e,i,t):n(e,i))||t);return s>3&&t&&Object.defineProperty(e,i,t),t},_=class{constructor(o){y(this,o),this.arcgisHubCollectionsBuilderChange=d(this,"arcgisHubCollectionsBuilderChange",7),this.arcgisHubCollectionsBuilderEditedCollectionKeyChange=d(this,"arcgisHubCollectionsBuilderEditedCollectionKeyChange",7),this._collectionSchema=r(m),this.translationFunc=(e,i,l)=>this._intl.t(e,i,l),this.setEditKey=e=>{var i;!((i=this.callbacks)===null||i===void 0)&&i.onCollectionEditedKeyChange&&this.callbacks.onCollectionEditedKeyChange(e)},this.handleCollectionEditorChange=e=>{e.stopPropagation();let{values:i,valid:l}=e.detail;h(this._collection,r(i)),this._collection.isValid=l,this.arcgisHubCollectionsBuilderChange.emit(this.transformCollectionToEmit(this._collection))},this.values=void 0,this.targetEntity=void 0,this.availablePredicateProperties=void 0,this.callbacks=void 0,this.uiOptions=void 0,this._collection=void 0,this._deleteConfirmationDialogVisible=!1,this._isAppearanceSettingsEditorOpen=!1}async componentWillLoad(){this._intl=await p.loadIntlForComponent(this.element),this._collection=this.transformCollectionForEditor(this.values),this.setEditKey(this._collection.key)}get _collectionUiSchema(){return g(this._intl,E({targetEntity:this.targetEntity,availablePredicateProperties:this.availablePredicateProperties,uiOptions:this.uiOptions}))}transformCollectionForEditor(o={}){let e=r(o);return e.isValid=!0,e.key||(e.key=u("collection")),e.displayConfig||(e.displayConfig={hidden:!1}),e.targetEntity||(e.targetEntity=this.targetEntity),e}transformCollectionToEmit(o){let e=r(o);return delete e.isValid,e}renderCollectionEditor(){return this._collection&&c("arcgis-configuration-editor",{class:"collections-builder-editor","data-key":this._collection.key,onArcgisConfigurationEditorChange:this.handleCollectionEditorChange,schema:this._collectionSchema,t:this.translationFunc,uiSchema:this._collectionUiSchema,values:this._collection})}render(){return c(C,{key:"4933e979d430c07039260a66b18727edc17a0442","data-element":"collections-builder"},!!this._collection&&this.renderCollectionEditor())}static get assetsDirs(){return["locales"]}get element(){return b(this)}};P([f("targetEntity","availablePredicateProperties","uiOptions")],_.prototype,"_collectionUiSchema",null);_.style=O;export{_ as arcgis_hub_collections_builder};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{b as e}from"./RGKBSVQD.js";import{h as o}from"./FZ7ZK37I.js";function g(t){return a(null,t)}function a(t,r){let n=t||"self",s=`${e(r)}/portals/${n}`,l=Object.assign({httpMethod:"GET"},r);return o(s,l)}export{g as a,a as b};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{b as y,c as g}from"./TBD7PFFA.js";import{a as w,b as f}from"./WGUAKT5I.js";import{a as u}from"./CWML23HX.js";import"./XP6ZXTST.js";import"./II3OUQDN.js";import{b as p}from"./PWESAKVV.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as m}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import{a as h}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import{a as b}from"./ZM3EAORZ.js";import{a as c}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import{a as d}from"./USNX342T.js";import{b as o,c as E,d as T,e as R,i as x}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:v}])=>{var S=t=>[{key:"timestamp",header:t.t("activityLogSection.table.columnHeaders.datetime"),cellWidth:"max-content"},{key:"layerId",header:t.t("activityLogSection.table.columnHeaders.layer"),cellWidth:"3rem"},{key:"message",header:t.t("activityLogSection.table.columnHeaders.message"),multilineCellEllipsis:{collapseEnabled:!0,collapseIcon:null,collapseText:t.t("activityLogSection.table.collapseText"),expandEnabled:!0,expandIcon:null,expandText:t.t("activityLogSection.table.expandText"),lines:2,tooltipEnabled:!1,tooltipPlacement:null,tooltipText:null}}],D=t=>({heading:t.t("activityLogSection.table.noRecentErrors"),icon:"check-circle"}),I=10,L=":host{display:block;height:100%}section.error-table-section{border-radius:0.25rem;padding:1.25rem;--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);background:white}.error-table-section h1,.error-table-section h2,.error-table-section h3,.error-table-section h4,.error-table-section h5,.error-table-section h6{font-size:var(--calcite-font-size-1);margin-top:0px;margin-bottom:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}",k=L,C=class{constructor(t){x(this,t),this.hubTelemetry=R(this,"hubTelemetry",7),this.entity=void 0,this.isMobile=!1,this.errorTableRows=[],this.from=void 0,this.to=void 0,this.selectedErrorRows=[],m(this,"updateErrorTableRows","fetchErrorTableRows","handleSelectedErrorsChange","downloadErrors")}get _context(){return v()}async componentWillLoad(){this.intl=await h.loadIntlForComponent(this.element),this.shouldRenderErrorTable&&(this.errorTableRows=await this.fetchErrorTableRows())}get entityType(){return b(this.entity)}get hostname(){let t=window.location.hostname;if(this.entityType=="site"){let{customHostname:e,defaultHostname:r}=this.entity;[e,r].includes(t)||(t=e||r)}return t}get contentId(){var t;let e;return this.entityType!=="site"&&(e=(t=this.entity)===null||t===void 0?void 0:t.id),e}get hubAnalyticsEnabled(){let t=!0;return this.entityType=="site"&&(t=p(this.entity)),t}get showSubscriptions(){return this.entityType=="site"}get shouldRenderErrorTable(){return this.entityType==="content"}get shouldRenderDownloadButton(){return this.errorTableRows.length>0}get shouldRenderErrorTablePagination(){return this.errorTableRows.length>I}get rowsToDownload(){return this.selectedErrorRows.length>0?this.selectedErrorRows:this.errorTableRows}async updateErrorTableRows(t){if(this.shouldRenderErrorTable){if(y(t.detail)){let e=g()[t.detail];this.from=e.startDate,this.to=e.endDate||new Date}else{let e=t.detail.split(",");this.from=new Date(e[0]),this.to=new Date(e[1])}this.errorTableRows=await this.fetchErrorTableRows()}}async fetchErrorTableRows(){var t,e;let r=[];try{let l=(await f(this.entity.id,{context:this._context,limit:1e3,from:((t=this.from)===null||t===void 0?void 0:t.toISOString())||null,to:((e=this.to)===null||e===void 0?void 0:e.toISOString())||null})).filter(i=>i.type===w.DOWNLOAD),s={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"};r=l.map(i=>({timestamp:this.intl.formatDate(new Date(i.created),s),layerId:i.layerId,message:i.message}))}catch(a){d.error("Error fetching error logs",a)}return r}handleSelectedErrorsChange(t){let e=t.target.selectedItems;this.selectedErrorRows=e.map(r=>({timestamp:r.children[0].textContent,layerId:r.children[1].textContent,message:r.children[2].textContent}))}createCsvBlob(t){return new Blob([t],{type:"text/csv"})}downloadErrors(){let t=S(this.intl).map(n=>`"${n.header}"`),e=this.rowsToDownload.map(n=>`"${n.timestamp}", "${n.layerId}", "${n.message}"`),r=[t,...e].join(`
|
|
3
|
+
`),a=this.createCsvBlob(r),l=URL.createObjectURL(a),s=document.createElement("a");s.href=l;let i=this.from&&this.to?`${this.entity.id}_${this.from.toISOString()}-${this.to.toISOString()}.csv`:`${this.entity.id}.csv`;s.download=i,s.click(),this.hubTelemetry.emit(Object.assign(Object.assign({},c.dictionary.category.content.action.download.label.activity),{details:i,element:this.element,id:this.entity.id,access:this.entity.access,type:this.entity.type,contentOrgId:this.entity.orgId}))}render(){return o(E,{key:"2aa5941ad2e6ebecf9c136d9709120aed31cdf23","data-element":"entity-dashboard"},o("arcgis-hub-workspace-pane",{key:"e098bc5dba2c456d947b4ee3329e242ff42e1244",isMobile:this.isMobile,stickyFooter:!0},o("h1",{key:"4d916beab5c1dc827c3b9ae128cb76227d8a4803",slot:"title"},this.intl.t("dashboard")),o("div",{key:"bb3282b747ff3089911ad52516110ced29e9b4be"},o("arcgis-telemetry-dashboard",{key:"0ca8b25869561c338e7032731048989e526d9a82",contentId:this.contentId,contentType:this.entityType,context:this._context,hostname:this.hostname,hubAnalyticsEnabled:this.hubAnalyticsEnabled,showSubscriptions:this.showSubscriptions}),this.shouldRenderErrorTable&&o("section",{class:"error-table-section"},o("h2",null,this.intl.t("activityLogSection.title")),o("calcite-label",null,o("calcite-table",{caption:this.intl.t("activityLogSection.table.caption"),class:"error-table",onCalciteTableSelect:this.handleSelectedErrorsChange,"page-size":this.shouldRenderErrorTablePagination?I:null,selectionMode:this.shouldRenderDownloadButton?"multiple":"none",striped:!0},this.shouldRenderDownloadButton&&o("calcite-action-bar",{"expand-disabled":"true",expanded:"true",layout:"horizontal",slot:"selection-actions"},o("calcite-action",{icon:"download-to",id:"download-errors-button",onclick:this.downloadErrors,text:this.selectedErrorRows.length>0?this.intl.t("activityLogSection.table.downloadAction"):this.intl.t("activityLogSection.table.downloadAllAction"),textEnabled:!0}),this.selectedErrorRows.length>0&&o("calcite-tooltip",{"reference-element":"download-errors-button"},o("span",null,this.intl.t("activityLogSection.table.downloadActionTooltip")))),o(u,{columns:S(this.intl),emptyHelpState:D(this.intl),rows:this.errorTableRows})))))))}static get assetsDirs(){return["locales"]}get element(){return T(this)}};C.style=k;return C},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{g as a}from"./7J2N6ILF.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import{a as s}from"./MYXIS5RQ.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import{a as i}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import b from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as e,c as o,d as r,i as l}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:n}])=>{var p=t=>[{label:t.t("facets.location.label"),tooltip:t.t("facets.location.tooltip"),key:"bbox",display:"map",field:"bbox",value:null,extent:s([[-180,-90],[180,90]])},{label:t.t("facets.status"),key:"status",operation:"OR",display:"multi-select",options:[{label:t.t("status.notStarted"),key:"notStarted",predicates:[{typekeywords:"status|notStarted"}],selected:!1},{label:t.t("status.inProgress"),key:"inProgress",predicates:[{typekeywords:"status|inProgress"}],selected:!1},{label:t.t("status.onHold"),key:"onHold",predicates:[{typekeywords:"status|onHold"}],selected:!1},{label:t.t("status.complete"),key:"complete",predicates:[{typekeywords:"status|complete"}],selected:!1}]},{label:t.t("facets.tags"),key:"tags",field:"tags",operation:"OR",display:"multi-select",options:[]},{label:t.t("facets.categories"),key:"categories",display:"tree",field:"categories",options:[],operation:"OR"},{label:t.t("facets.dateUpdated"),key:"modified",display:"date-range",field:"modified",state:"open",max:new Date}],F=class{constructor(t){l(this,t),this.entity=void 0,this.isMobile=void 0}async componentWillLoad(){return this.intl=await i.loadIntlForComponent(this.element),this.init()}async init(){this._associatedInitiativesQuery=this.entity&&await a(this.entity,"initiative",this._context)}get _context(){return n()}render(){return e(o,{key:"629dadf20cd0194f096e9f0dfe90fb0902e05699","data-element":"project-initiatives"},e("div",{key:"4fa18216a33a6286e278326107e531641b1368e6",class:"projects-initiatives-main"},this._associatedInitiativesQuery&&e("arcgis-hub-gallery",{facets:p(this.intl),layout:"grid",linkTarget:"siteRelative",mobileView:this.isMobile,query:this._associatedInitiativesQuery,showFacets:!0,showLayoutSwitcher:!0,showResultsCount:!0,showSearch:!0,showSort:!0})))}static get assetsDirs(){return["locales"]}get element(){return r(this)}};return F},b)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as u}from"./HEPYE6RX.js";function o(t){return t.split(".")[0]}function m(){return{"dcat-us":{1:g,3:w},"dcat-ap":{2:U},rss:{2:S}}}var g={title:"{{name}}",description:"{{description}}",keyword:"{{tags}}",issued:"{{created:toISO}}",modified:"{{modified:toISO}}",publisher:{name:"{{source}}"},contactPoint:{fn:"{{owner}}",hasEmail:"{{orgContactEmail}}"},spatial:"{{extent:computeSpatialProperty}}"},w={"dct:title":"{{ name}}","dct:description":"{{ description}}","dct:issued":{"@value":"{{ metadata.metadata.dataIdInfo.idCitation.date.pubDate:toISO || metadata.metadata.dataIdInfo.idCitation.date.createDate:toISO || created:toISO }}","@type":"xsd:dateTime"}},U={"dct:title":"{{name}}","dct:description":"{{description}}","dcat:contactPoint":{"vcard:fn":"{{owner}}","vcard:hasEmail":"{{orgContactEmail}}"}},S={channel:{title:"{{name}}",description:"{{searchDescription}}",link:"{{siteUrl}}",language:"{{culture}}",category:"{{categories}}",item:{title:"{{name}}",description:"{{searchDescription}}",author:"{{orgContactEmail}}",category:"{{categories}}",pubDate:"{{created:toUTC}}"}}};function P(t){let{feedsConfig:r,format:e,version:a}=t,n;if(e==="dcat-us")n=D(r,a);else if(e==="dcat-ap")n=C(r,a);else if(e==="rss")n=h(r,a);else throw new Error("Unsupported feed format");return n||T(e,a)}function T(t,r){let e=o(r),a=m();return u(a[t][e])}function C(t,r){if(o(r)==="2")return t.dcatAP2XX||t.dcatAP201;throw new Error("Unsupported DCAT AP version")}function D(t,r){if(o(r)==="1"){let e=t.dcatUS1X||t.dcatUS11;return e&&typeof e.spatial=="string"&&e.spatial.replace(/\s/g,"")==="{{extent}}"&&(e.spatial="{{extent:computeSpatialProperty}}"),e}if(o(r)==="3")return t.dcatUS3X;throw new Error("Unsupported DCAT US version")}function h(t,r){if(o(r)==="2")return t.rss2;throw new Error("Unsupported RSS version")}async function I(t){let{format:r,version:e,previewHubId:a,context:n}=t,i=JSON.stringify(t.previewTemplate),l=`${n.hubUrl}/api/feed/${r}/${e}`,c=new URLSearchParams;c.set("id",a);let f=r==="rss";c.set(f?"rssConfig":"dcatConfig",i);let s=await fetch(`${l}?${c.toString()}`);if(!s.ok)throw new Error(`Failed to preview feed: ${s.statusText}`);let d;if(f){let p=await s.text();d=decodeURIComponent(p)}else{let p=await s.json();d=JSON.stringify(p,null,2)}return d}function _(t){let{feedsConfig:r,format:e,version:a,updatedTemplate:n}=t,i=u(r);if(e==="dcat-us")E(i,a,n);else if(e==="dcat-ap")A(i,a,n);else if(e==="rss")X(i,a,n);else throw new Error("Unsupported feed format");return i}function A(t,r,e){if(o(r)==="2"){t.dcatAP2XX=e;return}throw new Error("Unsupported DCAT AP Version")}function E(t,r,e){if(o(r)==="1"){t.dcatUS1X=e;return}if(o(r)==="3"){t.dcatUS3X=e;return}throw new Error("Unsupported DCAT US Version")}function X(t,r,e){if(o(r)==="2"){t.rss2=e;return}throw new Error("Unsupported RSS Version")}export{o as a,P as b,I as c,_ as d};
|