@esri/hub-web-components 0.29.0 → 0.29.2
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/24LKRHU7.js +4 -0
- package/dist/cdn/25XI7QSG.js +4 -0
- package/dist/cdn/26DTX7SR.js +4 -0
- package/dist/cdn/26V4HRJ7.js +4 -0
- package/dist/cdn/27GRN4XN.js +4 -0
- package/dist/cdn/2AEJ4WBE.js +4 -0
- package/dist/cdn/2ARRS36U.js +8 -0
- package/dist/cdn/2HRXC3WN.js +4 -0
- package/dist/cdn/2IMEVEWO.js +4 -0
- package/dist/cdn/2JJEV2EH.js +4 -0
- package/dist/cdn/2K4EADPE.js +4 -0
- package/dist/cdn/2KAQVXS7.js +4 -0
- package/dist/cdn/2MEIV5PJ.js +4 -0
- package/dist/cdn/2MK4JPTJ.js +4 -0
- package/dist/cdn/2NTFY5JA.js +4 -0
- package/dist/cdn/2NVQ27KS.js +4 -0
- package/dist/cdn/2OZH37HG.js +4 -0
- package/dist/cdn/2QBTJFOM.js +4 -0
- package/dist/cdn/2QQ4LUNR.js +4 -0
- package/dist/cdn/2ROCGCVJ.js +4 -0
- package/dist/cdn/2TL3XNFB.js +4 -0
- package/dist/cdn/2WU7RIES.js +4 -0
- package/dist/cdn/2WWMC254.js +4 -0
- package/dist/cdn/2XIK5WGG.js +4 -0
- package/dist/cdn/2XJIKGRC.js +4 -0
- package/dist/cdn/33F7PYZ6.js +4 -0
- package/dist/cdn/34CWCDXR.js +59 -0
- package/dist/cdn/35D4H7N3.js +4 -0
- package/dist/cdn/35TJQO4A.js +4 -0
- package/dist/cdn/37YAX5CS.js +4 -0
- package/dist/cdn/3E6QDZY3.js +4 -0
- package/dist/cdn/3EEH22F2.js +4 -0
- package/dist/cdn/3HWUGPLR.js +4 -0
- package/dist/cdn/3ICJG4ER.js +4 -0
- package/dist/cdn/3J5IQEO3.js +4 -0
- package/dist/cdn/3KDCP6SA.js +6 -0
- package/dist/cdn/3LZAHQRF.js +4 -0
- package/dist/cdn/3M5OQLXY.js +4 -0
- package/dist/cdn/3MG7HZ5D.js +4 -0
- package/dist/cdn/3N3CSO7H.js +4 -0
- package/dist/cdn/3NH75RF6.js +4 -0
- package/dist/cdn/3O2TUSIN.js +4 -0
- package/dist/cdn/3PDUKBJT.js +4 -0
- package/dist/cdn/3QBCF7VY.js +4 -0
- package/dist/cdn/3RA7Q5SL.js +4 -0
- package/dist/cdn/3SQ74LS3.js +4 -0
- package/dist/cdn/3SUZ3X77.js +4 -0
- package/dist/cdn/3TJCIESB.js +4 -0
- package/dist/cdn/3XLLGYQ5.js +4 -0
- package/dist/cdn/3XWV7PET.js +4 -0
- package/dist/cdn/422A452D.js +4 -0
- package/dist/cdn/46ZNPINI.js +4 -0
- package/dist/cdn/4743A7FS.js +4 -0
- package/dist/cdn/47ES55RB.js +4 -0
- package/dist/cdn/4CPP4DKF.js +4 -0
- package/dist/cdn/4G7FKLIQ.js +4 -0
- package/dist/cdn/4LYLC6EA.js +4 -0
- package/dist/cdn/4N3QZ2JF.js +4 -0
- package/dist/cdn/4NBBD5CS.js +11 -0
- package/dist/cdn/4QAZIKJ7.js +4 -0
- package/dist/cdn/4RBGHBOY.js +4 -0
- package/dist/cdn/4S5BKO2G.js +4 -0
- package/dist/cdn/4V2Y4JI3.js +4 -0
- package/dist/cdn/4VZSQK7G.js +5 -0
- package/dist/cdn/4XUOPGPM.js +4 -0
- package/dist/cdn/53QYNSZU.js +4 -0
- package/dist/cdn/54HZUFDE.js +4 -0
- package/dist/cdn/55OSSUZV.js +4 -0
- package/dist/cdn/56P72VTZ.js +4 -0
- package/dist/cdn/573YRC75.js +4 -0
- package/dist/cdn/57QIUXZK.js +4 -0
- package/dist/cdn/5C2KD445.js +4 -0
- package/dist/cdn/5DH74T23.js +4 -0
- package/dist/cdn/5E5AWAWH.js +4 -0
- package/dist/cdn/5GIWVCNA.js +4 -0
- package/dist/cdn/5K6N3UYW.js +4 -0
- package/dist/cdn/5LLT37HQ.js +4 -0
- package/dist/cdn/5MPCMGR2.js +4 -0
- package/dist/cdn/5OMJ7JWU.js +4 -0
- package/dist/cdn/5U6BNRNM.js +4 -0
- package/dist/cdn/5UIJWFOL.js +4 -0
- package/dist/cdn/5UPIYGMG.js +4 -0
- package/dist/cdn/5XQNY5X6.js +4 -0
- package/dist/cdn/5ZP5YQEB.js +4 -0
- package/dist/cdn/655R6PGR.js +4 -0
- package/dist/cdn/67XCAFIF.js +4 -0
- package/dist/cdn/6A3IVHO5.js +4 -0
- package/dist/cdn/6CYE7R3A.js +4 -0
- package/dist/cdn/6JW4IZ4Q.js +4 -0
- package/dist/cdn/6LAQC3AL.js +4 -0
- package/dist/cdn/6LN3PFN7.js +4 -0
- package/dist/cdn/6OTITMSL.js +4 -0
- package/dist/cdn/6PBE6LT2.js +4 -0
- package/dist/cdn/6SQCLEEC.js +4 -0
- package/dist/cdn/6TTB2E3J.js +4 -0
- package/dist/cdn/6VAASSOG.js +4 -0
- package/dist/cdn/6YYBNJO5.js +4 -0
- package/dist/cdn/72KM7ITB.js +4 -0
- package/dist/cdn/75GQ7IOO.js +4 -0
- package/dist/cdn/75LVXEPK.js +4 -0
- package/dist/cdn/77BW56VU.js +4 -0
- package/dist/cdn/7A75QERC.js +4 -0
- package/dist/cdn/7DVQUUAV.js +4 -0
- package/dist/cdn/7F5BA5AC.js +4 -0
- package/dist/cdn/7IDGD7ZK.js +4 -0
- package/dist/cdn/7ISKLOAA.js +4 -0
- package/dist/cdn/7L44VF6L.js +4 -0
- package/dist/cdn/7LJNGZMB.js +4 -0
- package/dist/cdn/7P3LKU5X.js +4 -0
- package/dist/cdn/7PKMLHDK.js +4 -0
- package/dist/cdn/7PUBRSVR.js +4 -0
- package/dist/cdn/7Q3YRT3Q.js +4 -0
- package/dist/cdn/7WRYLMHN.js +4 -0
- package/dist/cdn/A2YYCYTL.js +4 -0
- package/dist/cdn/A7XVCF5A.js +4 -0
- package/dist/cdn/A7YGBRAB.js +4 -0
- package/dist/cdn/ABK6G4QZ.js +4 -0
- package/dist/cdn/ACPBFT6U.js +4 -0
- package/dist/cdn/AFNBC5CD.js +4 -0
- package/dist/cdn/AOM7BPZJ.js +4 -0
- package/dist/cdn/APZNNUGT.js +4 -0
- package/dist/cdn/AWV3UGPO.js +4 -0
- package/dist/cdn/AXFAHRAJ.js +4 -0
- package/dist/cdn/AXYF27WF.js +4 -0
- package/dist/cdn/B2U7S53R.js +4 -0
- package/dist/cdn/B3B6XBF2.js +4 -0
- package/dist/cdn/B3XNZJIX.js +4 -0
- package/dist/cdn/B6RSOUKM.js +4 -0
- package/dist/cdn/BDVX6IX7.js +4 -0
- package/dist/cdn/BEVJZPZU.js +4 -0
- package/dist/cdn/BGNJQLVM.js +4 -0
- package/dist/cdn/BHHRGRFI.js +4 -0
- package/dist/cdn/BKHNRSSB.js +4 -0
- package/dist/cdn/BO3JYCXE.js +4 -0
- package/dist/cdn/BP6D3UHC.js +4 -0
- package/dist/cdn/BSXN7XFY.js +4 -0
- package/dist/cdn/BTCZDZEB.js +4 -0
- package/dist/cdn/BTRSNMFS.js +4 -0
- package/dist/cdn/BUB4DUIZ.js +4 -0
- package/dist/cdn/BUVE3YG5.js +4 -0
- package/dist/cdn/BV3ITRTR.js +4 -0
- package/dist/cdn/BVS7E5HG.js +4 -0
- package/dist/cdn/BWF2CJUV.js +4 -0
- package/dist/cdn/BXPLG5HP.js +4 -0
- package/dist/cdn/BXQKN3CR.js +4 -0
- package/dist/cdn/BYITSUR3.js +4 -0
- package/dist/cdn/BZGRJKHA.js +5 -0
- package/dist/cdn/BZTP6S7E.js +4 -0
- package/dist/cdn/BZUAQDSC.js +4 -0
- package/dist/cdn/C4AD3GJ6.js +4 -0
- package/dist/cdn/C5AO5SUZ.js +4 -0
- package/dist/cdn/CCMQCRHY.js +4 -0
- package/dist/cdn/CCVULNEF.js +4 -0
- package/dist/cdn/CDQTJLLE.js +4 -0
- package/dist/cdn/CE4RIROF.js +4 -0
- package/dist/cdn/CELYDZFD.js +4 -0
- package/dist/cdn/CGC436WO.js +4 -0
- package/dist/cdn/CMNEE4EE.js +4 -0
- package/dist/cdn/CQ2X5AHM.js +4 -0
- package/dist/cdn/CQLHX2OY.js +4 -0
- package/dist/cdn/CSTDY27E.js +4 -0
- package/dist/cdn/CTBQZGDW.js +4 -0
- package/dist/cdn/CU6HXOBQ.js +4 -0
- package/dist/cdn/CUF3PMIU.js +4 -0
- package/dist/cdn/CV47XVCX.js +4 -0
- package/dist/cdn/CX54RYCX.js +4 -0
- package/dist/cdn/D37WUI4C.js +4 -0
- package/dist/cdn/D3WBIN2Y.js +4 -0
- package/dist/cdn/D4MVENDL.js +4 -0
- package/dist/cdn/D752SJ36.js +4 -0
- package/dist/cdn/D7NQXYK6.js +4 -0
- package/dist/cdn/D7S4Z3R4.js +4 -0
- package/dist/cdn/DADB5YEQ.js +4 -0
- package/dist/cdn/DB33FT5Y.js +4 -0
- package/dist/cdn/DBHOVWOR.js +4 -0
- package/dist/cdn/DBK3DT36.js +4 -0
- package/dist/cdn/DD3ZPJEM.js +4 -0
- package/dist/cdn/DD44I7RG.js +4 -0
- package/dist/cdn/DEGSSENI.js +4 -0
- package/dist/cdn/DFRCRNCT.js +4 -0
- package/dist/cdn/DG223IV4.js +4 -0
- package/dist/cdn/DGNXHVIK.js +4 -0
- package/dist/cdn/DHKQI33E.js +4 -0
- package/dist/cdn/DI3Q67QF.js +4 -0
- package/dist/cdn/DJAASNK3.js +4 -0
- package/dist/cdn/DJZ2NEPC.js +4 -0
- package/dist/cdn/DK53COPL.js +4 -0
- package/dist/cdn/DK5TWZWE.js +4 -0
- package/dist/cdn/DKIP23SB.js +4 -0
- package/dist/cdn/DKSZ3GH6.js +4 -0
- package/dist/cdn/DP72U2HE.js +4 -0
- package/dist/cdn/DQA6GDBL.js +4 -0
- package/dist/cdn/DROOEMFP.js +4 -0
- package/dist/cdn/DRZHOCSD.js +4 -0
- package/dist/cdn/DS6L7B6L.js +4 -0
- package/dist/cdn/DSG2RIMN.js +4 -0
- package/dist/cdn/DSGD4JYX.js +25 -0
- package/dist/cdn/DUVD44LE.js +4 -0
- package/dist/cdn/DW7DMDNU.js +4 -0
- package/dist/cdn/DWJTCIFH.js +4 -0
- package/dist/cdn/DXLUYCHM.js +4 -0
- package/dist/cdn/DZGFHUY4.js +4 -0
- package/dist/cdn/E25PYHST.js +4 -0
- package/dist/cdn/E2JIR3U7.js +4 -0
- package/dist/cdn/E3HXSXHI.js +4 -0
- package/dist/cdn/E4UETMQA.js +4 -0
- package/dist/cdn/E5JCCKKN.js +4 -0
- package/dist/cdn/E5YHZT7X.js +4 -0
- package/dist/cdn/E7OBAA3X.js +4 -0
- package/dist/cdn/EAQL4G5F.js +4 -0
- package/dist/cdn/EBMWDUEG.js +4 -0
- package/dist/cdn/ECTBT46M.js +4 -0
- package/dist/cdn/EDFKZNDM.js +4 -0
- package/dist/cdn/EF47LBXZ.js +4 -0
- package/dist/cdn/EGFZJ5NK.js +41 -0
- package/dist/cdn/EGRJO7QN.js +4 -0
- package/dist/cdn/EGYI55NS.js +4 -0
- package/dist/cdn/EI65KG52.js +4 -0
- package/dist/cdn/EI7MH2GK.js +4 -0
- package/dist/cdn/EJNJQJLB.js +4 -0
- package/dist/cdn/EKHMV2IP.js +4 -0
- package/dist/cdn/ENMT6R2Q.js +4 -0
- package/dist/cdn/ENYTKSZ7.js +4 -0
- package/dist/cdn/ETGK36SD.js +4 -0
- package/dist/cdn/EVRY5MFP.js +4 -0
- package/dist/cdn/EWX2GPMZ.js +16 -0
- package/dist/cdn/EXIQRU4W.js +4 -0
- package/dist/cdn/EYGUUZ2D.js +4 -0
- package/dist/cdn/EZHMDLM7.js +4 -0
- package/dist/cdn/F3HOQRNV.js +4 -0
- package/dist/cdn/F5C6YQUT.js +4 -0
- package/dist/cdn/F6EOD33T.js +4 -0
- package/dist/cdn/F6RK3FF7.js +4 -0
- package/dist/cdn/FAVVVVRX.js +4 -0
- package/dist/cdn/FCTTKCI6.js +4 -0
- package/dist/cdn/FCZLOFJM.js +4 -0
- package/dist/cdn/FE4QM5D3.js +4 -0
- package/dist/cdn/FE6LYKMO.js +4 -0
- package/dist/cdn/FFSBI3U5.js +4 -0
- package/dist/cdn/FHGIHVDD.js +4 -0
- package/dist/cdn/FJCF3OL5.js +4 -0
- package/dist/cdn/FJQ5CW7D.js +4 -0
- package/dist/cdn/FLNSA4LM.js +4 -0
- package/dist/cdn/FOK5WBGO.js +4 -0
- package/dist/cdn/FPA5LMWW.js +4 -0
- package/dist/cdn/FPJSEISO.js +4 -0
- package/dist/cdn/FQLVCAYT.js +4 -0
- package/dist/cdn/FTZGOF4U.js +4 -0
- package/dist/cdn/FWHJYORH.js +4 -0
- package/dist/cdn/FWO2GDBJ.js +4 -0
- package/dist/cdn/FWUCO5KJ.js +4 -0
- package/dist/cdn/FXIJC7DI.js +4 -0
- package/dist/cdn/G4PJ5DMH.js +4 -0
- package/dist/cdn/G4V6AE6K.js +4 -0
- package/dist/cdn/G6BPWCKZ.js +4 -0
- package/dist/cdn/GCMXODOA.js +4 -0
- package/dist/cdn/GD4JLJGC.js +4 -0
- package/dist/cdn/GFN33R3W.js +4 -0
- package/dist/cdn/GJC35H3A.js +4 -0
- package/dist/cdn/GK26T26B.js +24 -0
- package/dist/cdn/GMDAYFJG.js +4 -0
- package/dist/cdn/GND6SCBE.js +4 -0
- package/dist/cdn/GNH4FR7Y.js +4 -0
- package/dist/cdn/GNHXCA65.js +4 -0
- package/dist/cdn/GNYMTKAT.js +4 -0
- package/dist/cdn/GTGQHIQO.js +4 -0
- package/dist/cdn/GUZLOMK5.js +6 -0
- package/dist/cdn/GWISOE2X.js +4 -0
- package/dist/cdn/GZBALUVP.js +4 -0
- package/dist/cdn/H2UIZ37E.js +4 -0
- package/dist/cdn/H35KBYAJ.js +4 -0
- package/dist/cdn/H37LCIUA.js +4 -0
- package/dist/cdn/H4C37DYC.js +4 -0
- package/dist/cdn/HA4FXHU6.js +4 -0
- package/dist/cdn/HAA6IOIW.js +4 -0
- package/dist/cdn/HDKOA4UO.js +4 -0
- package/dist/cdn/HDSZ62SI.js +4 -0
- package/dist/cdn/HEG4U5ED.js +4 -0
- package/dist/cdn/HIJL3LQG.js +4 -0
- package/dist/cdn/HJAIX32E.js +4 -0
- package/dist/cdn/HJO3M6MQ.js +4 -0
- package/dist/cdn/HKHZPMZ5.js +4 -0
- package/dist/cdn/HKLEGMIJ.js +4 -0
- package/dist/cdn/HL7OGGKC.js +4 -0
- package/dist/cdn/HLLBUCZD.js +4 -0
- package/dist/cdn/HMSE3JEO.js +4 -0
- package/dist/cdn/HN37FSQV.js +4 -0
- package/dist/cdn/HNAKR53S.js +4 -0
- package/dist/cdn/HPVFQWLJ.js +4 -0
- package/dist/cdn/HSJXNH4U.js +4 -0
- package/dist/cdn/HTF72V6F.js +4 -0
- package/dist/cdn/I65Y26WD.js +4 -0
- package/dist/cdn/I6OEQEHP.js +4 -0
- package/dist/cdn/I7WRNTTF.js +4 -0
- package/dist/cdn/ICMRZXDV.js +4 -0
- package/dist/cdn/IGGOLVXZ.js +4 -0
- package/dist/cdn/IGZDRB2Z.js +4 -0
- package/dist/cdn/IJVWDVY3.js +4 -0
- package/dist/cdn/IK5B6VBJ.js +4 -0
- package/dist/cdn/IKCQD4YX.js +4 -0
- package/dist/cdn/ILYSIRQT.js +4 -0
- package/dist/cdn/INHSGYQ3.js +4 -0
- package/dist/cdn/IOSKUXQ7.js +4 -0
- package/dist/cdn/IPXQF75F.js +4 -0
- package/dist/cdn/IQXTF7PA.js +4 -0
- package/dist/cdn/IUJSUO36.js +4 -0
- package/dist/cdn/IW2CJPNK.js +4 -0
- package/dist/cdn/IWQUBRGB.js +4 -0
- package/dist/cdn/IYLXFPMX.js +4 -0
- package/dist/cdn/J3KT4GYB.js +4 -0
- package/dist/cdn/J4COUA3Y.js +4 -0
- package/dist/cdn/J4OA7ZDE.js +4 -0
- package/dist/cdn/J4QCHK3X.js +4 -0
- package/dist/cdn/J56KJVIB.js +4 -0
- package/dist/cdn/JBE26RSF.js +4 -0
- package/dist/cdn/JBK4JN2N.js +4 -0
- package/dist/cdn/JGS3NXTT.js +4 -0
- package/dist/cdn/JHNWLRDN.js +4 -0
- package/dist/cdn/JKRKZ6ZC.js +4 -0
- package/dist/cdn/JLHVWHD6.js +4 -0
- package/dist/cdn/JMGUOBD5.js +4 -0
- package/dist/cdn/JOUDOEHD.js +4 -0
- package/dist/cdn/JPPCOFE2.js +4 -0
- package/dist/cdn/JUFO3ICZ.js +4 -0
- package/dist/cdn/JVZ6QFLE.js +4 -0
- package/dist/cdn/JWHVW5QH.js +4 -0
- package/dist/cdn/JX5VII2D.js +4 -0
- package/dist/cdn/JZCLPZ3Q.js +4 -0
- package/dist/cdn/K35SA6IJ.js +4 -0
- package/dist/cdn/K37CH2HO.js +4 -0
- package/dist/cdn/K3SDW5GF.js +4 -0
- package/dist/cdn/K42IKCYP.js +4 -0
- package/dist/cdn/K6ZQHZBR.js +4 -0
- package/dist/cdn/K7573CL6.js +4 -0
- package/dist/cdn/KAGLQ6BE.js +4 -0
- package/dist/cdn/KAHT5BVD.js +4 -0
- package/dist/cdn/KBN4F3Y7.js +4 -0
- package/dist/cdn/KDSEI653.js +4 -0
- package/dist/cdn/KE6PKU6L.js +4 -0
- package/dist/cdn/KGL43XH2.js +4 -0
- package/dist/cdn/KHRMMYDT.js +4 -0
- package/dist/cdn/KLQA6IAF.js +4 -0
- package/dist/cdn/KMJKRLZO.js +4 -0
- package/dist/cdn/KMVDVJ6A.js +4 -0
- package/dist/cdn/KN3HXNNE.js +4 -0
- package/dist/cdn/KQRXDH54.js +4 -0
- package/dist/cdn/KSQHD3SG.js +4 -0
- package/dist/cdn/KTE4NDWM.js +4 -0
- package/dist/cdn/KTTVMU4K.js +4 -0
- package/dist/cdn/KUJHL2DS.js +4 -0
- package/dist/cdn/KVROOEFH.js +4 -0
- package/dist/cdn/KWFUJCEE.js +4 -0
- package/dist/cdn/KWJWEYUX.js +4 -0
- package/dist/cdn/KWXQHRGO.js +4 -0
- package/dist/cdn/KY2ROCBF.js +4 -0
- package/dist/cdn/KYM2EKWY.js +4 -0
- package/dist/cdn/L7KJFZVN.js +4 -0
- package/dist/cdn/LCXOG6OW.js +4 -0
- package/dist/cdn/LF53VF2Y.js +4 -0
- package/dist/cdn/LF5ZD3CB.js +4 -0
- package/dist/cdn/LF6EVENI.js +4 -0
- package/dist/cdn/LFXDA76Z.js +4 -0
- package/dist/cdn/LH2KX3JL.js +4 -0
- package/dist/cdn/LHMAHTUT.js +4 -0
- package/dist/cdn/LKHZUHDD.js +4 -0
- package/dist/cdn/LKM2WMOC.js +4 -0
- package/dist/cdn/LLC4UWZV.js +5 -0
- package/dist/cdn/LQCYU4KQ.js +4 -0
- package/dist/cdn/LSYE25M6.js +4 -0
- package/dist/cdn/LTWLHKZR.js +4 -0
- package/dist/cdn/LUUOZFJY.js +4 -0
- package/dist/cdn/LVQ2CDB7.js +4 -0
- package/dist/cdn/LZBQVHE5.js +4 -0
- package/dist/cdn/LZQXQE4O.js +4 -0
- package/dist/cdn/M2OT7Q7T.js +4 -0
- package/dist/cdn/M45LEU2M.js +4 -0
- package/dist/cdn/M5SM5SPW.js +4 -0
- package/dist/cdn/M6JW6LVR.js +4 -0
- package/dist/cdn/M7QD6ASF.js +4 -0
- package/dist/cdn/MAPR4VZI.js +4 -0
- package/dist/cdn/MCLWLZ5M.js +4 -0
- package/dist/cdn/MCVSZFCC.js +4 -0
- package/dist/cdn/MEYNUPSB.js +4 -0
- package/dist/cdn/MGKQ5R4U.js +4 -0
- package/dist/cdn/MH5WMXL2.js +4 -0
- package/dist/cdn/MHVKJKZ2.js +4 -0
- package/dist/cdn/MI4K3XTX.js +4 -0
- package/dist/cdn/MIPOQZAE.js +4 -0
- package/dist/cdn/MKE4T6JN.js +4 -0
- package/dist/cdn/MLRVCNTY.js +4 -0
- package/dist/cdn/MP3QMDXM.js +4 -0
- package/dist/cdn/MQJVDNXJ.js +4 -0
- package/dist/cdn/MRJZSH7Z.js +4 -0
- package/dist/cdn/MRPK2FHE.js +4 -0
- package/dist/cdn/MRU7ET6O.js +4 -0
- package/dist/cdn/MSVINGTN.js +4 -0
- package/dist/cdn/MUQUWRVF.js +4 -0
- package/dist/cdn/MWTPVMOX.js +4 -0
- package/dist/cdn/MXQNIX77.js +4 -0
- package/dist/cdn/MXVCBTGF.js +4 -0
- package/dist/cdn/MYMF5Y56.js +4 -0
- package/dist/cdn/MZ363HL4.js +4 -0
- package/dist/cdn/N2TIXOK6.js +5 -0
- package/dist/cdn/N47DCDRA.js +4 -0
- package/dist/cdn/N5ZHHBHI.js +4 -0
- package/dist/cdn/N7ENF4B7.js +52 -0
- package/dist/cdn/NA7E2M7I.js +4 -0
- package/dist/cdn/NBVLUN56.js +4 -0
- package/dist/cdn/NE3DG7TP.js +4 -0
- package/dist/cdn/NE4NFE2R.js +4 -0
- package/dist/cdn/NEG5233Y.js +4 -0
- package/dist/cdn/NEY5HMLM.js +4 -0
- package/dist/cdn/NH45YS4G.js +4 -0
- package/dist/cdn/NLIWLZMC.js +4 -0
- package/dist/cdn/NOGZYB42.js +4 -0
- package/dist/cdn/NPZ2RWVN.js +4 -0
- package/dist/cdn/NQ22WRCF.js +4 -0
- package/dist/cdn/NUWAXGB6.js +4 -0
- package/dist/cdn/NYLA7XTE.js +4 -0
- package/dist/cdn/NZG6FJMQ.js +4 -0
- package/dist/cdn/O5MN24NE.js +4 -0
- package/dist/cdn/ODRNVCZG.js +4 -0
- package/dist/cdn/ODWJ3WXC.js +4 -0
- package/dist/cdn/OFLJIOCU.js +4 -0
- package/dist/cdn/OFPLZJ6S.js +4 -0
- package/dist/cdn/OFSET67Y.js +4 -0
- package/dist/cdn/OK4JY3CS.js +4 -0
- package/dist/cdn/OLLVJ5CE.js +4 -0
- package/dist/cdn/OOSFNA6W.js +4 -0
- package/dist/cdn/OOYHFD34.js +4 -0
- package/dist/cdn/OPFLNRBR.js +4 -0
- package/dist/cdn/OPHRPJTB.js +4 -0
- package/dist/cdn/OQ37TIIH.js +4 -0
- package/dist/cdn/OQ3FIVQ5.js +4 -0
- package/dist/cdn/OUT667EG.js +4 -0
- package/dist/cdn/OV5JOPAJ.js +4 -0
- package/dist/cdn/OV5LBUG7.js +4 -0
- package/dist/cdn/OWGMS453.js +4 -0
- package/dist/cdn/OX7NXUAH.js +4 -0
- package/dist/cdn/P27PWHME.js +4 -0
- package/dist/cdn/P46Y6NPF.js +4 -0
- package/dist/cdn/P5DMAHDJ.js +4 -0
- package/dist/cdn/PAWQJVZS.js +4 -0
- package/dist/cdn/PBHVUKXI.js +4 -0
- package/dist/cdn/PBYUAO7T.js +8 -0
- package/dist/cdn/PCNXU5DI.js +4 -0
- package/dist/cdn/PDERGEOU.js +4 -0
- package/dist/cdn/PDWYL4PU.js +4 -0
- package/dist/cdn/PDZQDVMK.js +4 -0
- package/dist/cdn/PF34HSHV.js +4 -0
- package/dist/cdn/PF6FW5XH.js +12 -0
- package/dist/cdn/PFAP52DX.js +4 -0
- package/dist/cdn/PFOFIFV5.js +4 -0
- package/dist/cdn/PFZTMLCA.js +4 -0
- package/dist/cdn/PHR3IAPR.js +4 -0
- package/dist/cdn/PIEIJIVF.js +4 -0
- package/dist/cdn/PIIZEAQR.js +4 -0
- package/dist/cdn/POD2XE7Z.js +4 -0
- package/dist/cdn/PVLNL6BD.js +4 -0
- package/dist/cdn/PWCVZIGU.js +4 -0
- package/dist/cdn/QACWESOC.js +4 -0
- package/dist/cdn/QCTJSJKX.js +4 -0
- package/dist/cdn/QD23TFTR.js +4 -0
- package/dist/cdn/QHBV5XF3.js +4 -0
- package/dist/cdn/QHNFKRTR.js +4 -0
- package/dist/cdn/QLHOWH7V.js +4 -0
- package/dist/cdn/QPGTSKUX.js +4 -0
- package/dist/cdn/QRVHFQTX.js +4 -0
- package/dist/cdn/QTVXWUJG.js +4 -0
- package/dist/cdn/QV5VIDCJ.js +4 -0
- package/dist/cdn/QV6M5YQP.js +4 -0
- package/dist/cdn/QXN74ILP.js +4 -0
- package/dist/cdn/QXX5XXVX.js +4 -0
- package/dist/cdn/QYJ2SQWL.js +4 -0
- package/dist/cdn/QYXSKR54.js +4 -0
- package/dist/cdn/QZDU7FF5.js +4 -0
- package/dist/cdn/QZFRIIAR.js +4 -0
- package/dist/cdn/QZMIHJN4.js +4 -0
- package/dist/cdn/QZWJEOC7.js +4 -0
- package/dist/cdn/R2IJ5SOO.js +4 -0
- package/dist/cdn/R37HFGEQ.js +4 -0
- package/dist/cdn/R3QOP4G4.js +4 -0
- package/dist/cdn/R4T7POKE.js +4 -0
- package/dist/cdn/R5EU4OCL.js +4 -0
- package/dist/cdn/R6NQDKKY.js +4 -0
- package/dist/cdn/RARC2HAP.js +4 -0
- package/dist/cdn/RBGN64II.js +4 -0
- package/dist/cdn/RBQMOKHX.js +4 -0
- package/dist/cdn/RD56WB6R.js +4 -0
- package/dist/cdn/RGQRVCNK.js +4 -0
- package/dist/cdn/RGXUOKAW.js +4 -0
- package/dist/cdn/RIRN5SFS.js +4 -0
- package/dist/cdn/RJWDG4XZ.js +4 -0
- package/dist/cdn/RKU2TNEZ.js +4 -0
- package/dist/cdn/RMDXPZQW.js +4 -0
- package/dist/cdn/RMIPPQT7.js +4 -0
- package/dist/cdn/RMN6OL2N.js +4 -0
- package/dist/cdn/RNARF5MV.js +4 -0
- package/dist/cdn/RVCPVS6B.js +4 -0
- package/dist/cdn/RVXMGYSF.js +4 -0
- package/dist/cdn/RWXBLBJI.js +5 -0
- package/dist/cdn/S2VUUTT5.js +4 -0
- package/dist/cdn/S3NH4PAH.js +4 -0
- package/dist/cdn/S55GMBA2.js +4 -0
- package/dist/cdn/SAOKF275.js +4 -0
- package/dist/cdn/SBFZ3W22.js +4 -0
- package/dist/cdn/SCXSHORA.js +4 -0
- package/dist/cdn/SCY7NO33.js +4 -0
- package/dist/cdn/SDEFQN4V.js +4 -0
- package/dist/cdn/SDZZVPEF.js +4 -0
- package/dist/cdn/SF227R4N.js +4 -0
- package/dist/cdn/SJ7CBW5F.js +4 -0
- package/dist/cdn/SJEZDTXN.js +59 -0
- package/dist/cdn/SLMPCBTA.js +4 -0
- package/dist/cdn/SN6ESYGX.js +4 -0
- package/dist/cdn/SNSEOOUU.js +4 -0
- package/dist/cdn/STK2G4CO.js +5470 -0
- package/dist/cdn/STR7U4LI.js +4 -0
- package/dist/cdn/T3AXKAF2.js +4 -0
- package/dist/cdn/T3ZSUD66.js +4 -0
- package/dist/cdn/T7LOHURD.js +4 -0
- package/dist/cdn/TB7FO2Q7.js +4 -0
- package/dist/cdn/TCBGP5ES.js +4 -0
- package/dist/cdn/TEUOMWIX.js +4 -0
- package/dist/cdn/TF4JH3QE.js +4 -0
- package/dist/cdn/TI3ONWZG.js +4 -0
- package/dist/cdn/TJYLLJ7Y.js +4 -0
- package/dist/cdn/TLJ7XYWN.js +5 -0
- package/dist/cdn/TM7JXHRK.js +4 -0
- package/dist/cdn/TNCY5N6S.js +4 -0
- package/dist/cdn/TNDY2JFD.js +4 -0
- package/dist/cdn/TNQ5MYO6.js +4 -0
- package/dist/cdn/TR2NXVM6.js +4 -0
- package/dist/cdn/TU6C77DM.js +4 -0
- package/dist/cdn/TUE2CQ2V.js +4 -0
- package/dist/cdn/TWNX5NLL.js +4 -0
- package/dist/cdn/TWUJQQMS.js +4 -0
- package/dist/cdn/TXQ6XVGH.js +4 -0
- package/dist/cdn/U2SHB7K7.js +4 -0
- package/dist/cdn/U3KYSO76.js +4 -0
- package/dist/cdn/UBY5Z2OF.js +4 -0
- package/dist/cdn/UD5QFKJA.js +4 -0
- package/dist/cdn/UESCSU7P.js +4 -0
- package/dist/cdn/UL7UGNIE.js +4 -0
- package/dist/cdn/UM563D3B.js +4 -0
- package/dist/cdn/UMP3YCKY.js +4 -0
- package/dist/cdn/URBFRLFM.js +4 -0
- package/dist/cdn/UUYQYGVK.js +4 -0
- package/dist/cdn/UX32TS23.js +4 -0
- package/dist/cdn/UX7RVOS5.js +4 -0
- package/dist/cdn/UXNKLTTE.js +4 -0
- package/dist/cdn/UXXP76UW.js +42 -0
- package/dist/cdn/V276GGIL.js +4 -0
- package/dist/cdn/V2CEGK63.js +4 -0
- package/dist/cdn/V2WQRK5C.js +4 -0
- package/dist/cdn/V3DID4LL.js +4 -0
- package/dist/cdn/V4H5BSFY.js +4 -0
- package/dist/cdn/V4UBBUZV.js +4 -0
- package/dist/cdn/VDPKJZA2.js +4 -0
- package/dist/cdn/VFCERDY5.js +4 -0
- package/dist/cdn/VFNH3VH7.js +4 -0
- package/dist/cdn/VH7PYS6R.js +4 -0
- package/dist/cdn/VHHOVZAG.js +4 -0
- package/dist/cdn/VIXVIMG5.js +4 -0
- package/dist/cdn/VJYOISAZ.js +4 -0
- package/dist/cdn/VK7QXZ2D.js +4 -0
- package/dist/cdn/VKSIHGL7.js +4 -0
- package/dist/cdn/VLQBJSZZ.js +4 -0
- package/dist/cdn/VMWTUHFU.js +4 -0
- package/dist/cdn/VMXU4IIJ.js +4 -0
- package/dist/cdn/VO6SMQU2.js +51 -0
- package/dist/cdn/VOIW3OO2.js +4 -0
- package/dist/cdn/VP2UBYMS.js +4 -0
- package/dist/cdn/VQ5XNAFE.js +4 -0
- package/dist/cdn/VR6HHU6O.js +4 -0
- package/dist/cdn/VSFYTD5L.js +4 -0
- package/dist/cdn/VU7XANHA.js +4 -0
- package/dist/cdn/VWOSXDSB.js +4 -0
- package/dist/cdn/VXBDSQP4.js +4 -0
- package/dist/cdn/VXRE2ZJA.js +4 -0
- package/dist/cdn/VZFUUNZG.js +4 -0
- package/dist/cdn/W243ZMJL.js +4 -0
- package/dist/cdn/W2SQXZYP.js +4 -0
- package/dist/cdn/W4QC4KZK.js +4 -0
- package/dist/cdn/W4UKQUVO.js +4 -0
- package/dist/cdn/W5UFHINI.js +4 -0
- package/dist/cdn/W73JBBPH.js +4 -0
- package/dist/cdn/W7UG5K2L.js +4 -0
- package/dist/cdn/WAJ25ZET.js +4 -0
- package/dist/cdn/WAKZKEPF.js +4 -0
- package/dist/cdn/WEATSPB6.js +4 -0
- package/dist/cdn/WHHY52KW.js +4 -0
- package/dist/cdn/WI65J4JY.js +4 -0
- package/dist/cdn/WKSL7S4I.js +4 -0
- package/dist/cdn/WOQG3X7P.js +4 -0
- package/dist/cdn/WRTG72AK.js +4 -0
- package/dist/cdn/WTI237Z4.js +4 -0
- package/dist/cdn/WTR745V7.js +4 -0
- package/dist/cdn/WU2MC4GH.js +4 -0
- package/dist/cdn/WVIFILEO.js +4 -0
- package/dist/cdn/WZAKSYNL.js +4 -0
- package/dist/cdn/WZBMAPWM.js +4 -0
- package/dist/cdn/X3UNH7CI.js +4 -0
- package/dist/cdn/X7VXTZPW.js +4 -0
- package/dist/cdn/XANTH45J.js +4 -0
- package/dist/cdn/XFZXKY34.js +4 -0
- package/dist/cdn/XHAS5VHA.js +4 -0
- package/dist/cdn/XKXR7FSW.js +4 -0
- package/dist/cdn/XQJB3A6C.js +4 -0
- package/dist/cdn/XR4JDH3S.js +4 -0
- package/dist/cdn/XRAEPG7J.js +4 -0
- package/dist/cdn/XTACCQSP.js +4 -0
- package/dist/cdn/XU7D6WXG.js +4 -0
- package/dist/cdn/XUS6TXTQ.js +4 -0
- package/dist/cdn/XXVQFQMW.js +4 -0
- package/dist/cdn/Y5VWWDML.js +4 -0
- package/dist/cdn/Y5YOWTYB.js +4 -0
- package/dist/cdn/Y7IUJDV2.js +4 -0
- package/dist/cdn/YBAAXO7H.js +4 -0
- package/dist/cdn/YBB5QY76.js +4 -0
- package/dist/cdn/YDZ5EVFM.js +4 -0
- package/dist/cdn/YH47I3LW.js +4 -0
- package/dist/cdn/YHK2WVST.js +4 -0
- package/dist/cdn/YKT5QRFI.js +4 -0
- package/dist/cdn/YLZG6WYD.js +4 -0
- package/dist/cdn/YNTAYTEQ.js +4 -0
- package/dist/cdn/YOYVMUA4.js +4 -0
- package/dist/cdn/YQA7KSSC.js +4 -0
- package/dist/cdn/YQL7HXJD.js +4 -0
- package/dist/cdn/YQTXMKWH.js +4 -0
- package/dist/cdn/YTAC2JSQ.js +6 -0
- package/dist/cdn/YTP25Z7H.js +4 -0
- package/dist/cdn/YXAIJ2T3.js +4 -0
- package/dist/cdn/YY6VN6ES.js +4 -0
- package/dist/cdn/YYNFMA6Z.js +4 -0
- package/dist/cdn/Z4CG63KR.js +4 -0
- package/dist/cdn/Z4UW2F7Y.js +4 -0
- package/dist/cdn/Z6VTTL7X.js +4 -0
- package/dist/cdn/ZBVT2ZM2.js +4 -0
- package/dist/cdn/ZDNSPJD6.js +12 -0
- package/dist/cdn/ZEOSG4IK.js +4 -0
- package/dist/cdn/ZEPFUGHI.js +9 -0
- package/dist/cdn/ZEYIHBYX.js +4 -0
- package/dist/cdn/ZFEZTFJB.js +4 -0
- package/dist/cdn/ZFJV6DZA.js +4 -0
- package/dist/cdn/ZGPZGL5C.js +4 -0
- package/dist/cdn/ZIUWWW6A.js +4 -0
- package/dist/cdn/ZK72TZGZ.js +4 -0
- package/dist/cdn/ZKYOR3VN.js +4 -0
- package/dist/cdn/ZNBE7LQE.js +4 -0
- package/dist/cdn/ZPY4OMSH.js +4 -0
- package/dist/cdn/ZQCUVJRD.js +4 -0
- package/dist/cdn/ZQEMJOQQ.js +4 -0
- package/dist/cdn/ZSWHENRW.js +4 -0
- package/dist/cdn/ZTLLMEXT.js +4 -0
- package/dist/cdn/ZTZIHTTJ.js +4 -0
- package/dist/cdn/ZW56K6PM.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/findColumnAndNodeIndex.js +1 -1
- package/dist/chunks/getResponsiveClasses.js +1 -1
- package/dist/chunks/interpolate-translations.js +1 -1
- package/dist/chunks/isNodeVisible.js +1 -1
- package/dist/chunks/layoutContext.js +1 -1
- package/dist/chunks/migrateTextCard.js +1 -1
- package/dist/chunks/processLayout.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/state.js +1 -1
- package/dist/chunks/typeGuards.js +1 -1
- package/dist/chunks/useGlobalContext.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/util.js +1 -1
- package/dist/components/arcgis-chat-shell/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/customElement.js +47 -44
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/util/types.d.ts +6 -5
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +27 -24
- package/dist/components/arcgis-hub-ai-assistant/util/framework.d.ts +4 -4
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +1 -1
- package/dist/components/arcgis-layout/customElement.js +1 -1
- package/dist/components/arcgis-layout-column/customElement.js +1 -1
- package/dist/components/arcgis-layout-container/customElement.js +1 -1
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-controls/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-editor/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-wrapper/customElement.js +1 -1
- package/dist/components/arcgis-layout-row/customElement.js +1 -1
- package/dist/components/arcgis-layout-section/customElement.js +1 -1
- package/dist/components/arcgis-nav-card/customElement.js +1 -1
- package/dist/components/arcgis-text-card/customElement.js +1 -1
- package/dist/components/layouts/components/layout-node/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/embed-config.js +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -2
- package/dist/cdn/22AHJDSR.js +0 -4
- package/dist/cdn/23VX6O56.js +0 -4
- package/dist/cdn/2C64BB7U.js +0 -4
- package/dist/cdn/2CM5FYUP.js +0 -4
- package/dist/cdn/2HOQW4GX.js +0 -4
- package/dist/cdn/2J3AUXHX.js +0 -4
- package/dist/cdn/2JOPX2ZA.js +0 -4
- package/dist/cdn/2JZZ2JD4.js +0 -4
- package/dist/cdn/2KER4DP5.js +0 -4
- package/dist/cdn/2KTWVZ2J.js +0 -4
- package/dist/cdn/2P6E6REB.js +0 -4
- package/dist/cdn/2PU2VDVO.js +0 -4
- package/dist/cdn/2PX3UZJ2.js +0 -4
- package/dist/cdn/2Q6ATD2A.js +0 -4
- package/dist/cdn/2QBFEHAB.js +0 -4
- package/dist/cdn/2QLZR5YL.js +0 -4
- package/dist/cdn/2RWUJ3XV.js +0 -4
- package/dist/cdn/2S6OYEYO.js +0 -4
- package/dist/cdn/2WRQCD3I.js +0 -4
- package/dist/cdn/2XJFLSKJ.js +0 -4
- package/dist/cdn/2YPL3V4E.js +0 -4
- package/dist/cdn/2ZNVI4LM.js +0 -4
- package/dist/cdn/34J3TQKS.js +0 -4
- package/dist/cdn/35LXCBKT.js +0 -4
- package/dist/cdn/376HZI62.js +0 -4
- package/dist/cdn/3A36DIUD.js +0 -4
- package/dist/cdn/3GNUAHUG.js +0 -4
- package/dist/cdn/3IYR66LG.js +0 -4
- package/dist/cdn/3J356TLH.js +0 -4
- package/dist/cdn/3K4IN7S2.js +0 -4
- package/dist/cdn/3L4HNGD5.js +0 -4
- package/dist/cdn/3LYCGIES.js +0 -4
- package/dist/cdn/3M2UH5RZ.js +0 -4
- package/dist/cdn/3MLL52K7.js +0 -4
- package/dist/cdn/3OPXNSYM.js +0 -4
- package/dist/cdn/3Q4XAY4K.js +0 -4
- package/dist/cdn/3R4MXJ5M.js +0 -4
- package/dist/cdn/3VUHVDDB.js +0 -4
- package/dist/cdn/3WGRB57R.js +0 -4
- package/dist/cdn/3WS6AQFV.js +0 -4
- package/dist/cdn/3XUTMVJA.js +0 -4
- package/dist/cdn/3YWTJVQ6.js +0 -4
- package/dist/cdn/44HOGGTC.js +0 -4
- package/dist/cdn/45KM6LP2.js +0 -4
- package/dist/cdn/46HR4M3T.js +0 -4
- package/dist/cdn/46NTWJ5E.js +0 -6
- package/dist/cdn/4BNP3D2H.js +0 -4
- package/dist/cdn/4BT7DQBO.js +0 -4
- package/dist/cdn/4C67J2YJ.js +0 -4
- package/dist/cdn/4CZLLYGW.js +0 -4
- package/dist/cdn/4EG423AZ.js +0 -4
- package/dist/cdn/4HFGVHYZ.js +0 -4
- package/dist/cdn/4HGOE6CC.js +0 -4
- package/dist/cdn/4LJ77PC6.js +0 -4
- package/dist/cdn/4PP7KWFH.js +0 -4
- package/dist/cdn/4QAKSF6K.js +0 -4
- package/dist/cdn/4TTEQZAD.js +0 -4
- package/dist/cdn/4TVZTZY5.js +0 -5
- package/dist/cdn/4UAZKDL5.js +0 -4
- package/dist/cdn/4VEFWMXJ.js +0 -4
- package/dist/cdn/4VV6YG65.js +0 -4
- package/dist/cdn/4WNOWHZI.js +0 -4
- package/dist/cdn/4Y2ALGF3.js +0 -4
- package/dist/cdn/4Y5NASUU.js +0 -4
- package/dist/cdn/5224UGB5.js +0 -4
- package/dist/cdn/52WR7TYV.js +0 -4
- package/dist/cdn/54IZFPGX.js +0 -4
- package/dist/cdn/565764EU.js +0 -4
- package/dist/cdn/57EYQC7V.js +0 -4
- package/dist/cdn/5AT6KDV3.js +0 -4
- package/dist/cdn/5E4GOXXI.js +0 -4
- package/dist/cdn/5F6QRL7U.js +0 -4
- package/dist/cdn/5FOIFSUU.js +0 -4
- package/dist/cdn/5K6ZUNUC.js +0 -4
- package/dist/cdn/5KJYVAIK.js +0 -4
- package/dist/cdn/5NN2FVUF.js +0 -4
- package/dist/cdn/5OM23AYK.js +0 -4
- package/dist/cdn/5TQJTHJX.js +0 -4
- package/dist/cdn/5ULMCG2L.js +0 -4
- package/dist/cdn/5UXQK6BE.js +0 -4
- package/dist/cdn/5VYJQPI3.js +0 -4
- package/dist/cdn/5YNDBWGJ.js +0 -4
- package/dist/cdn/636WCW4R.js +0 -4
- package/dist/cdn/65BR73G4.js +0 -4
- package/dist/cdn/66MNGXO2.js +0 -4
- package/dist/cdn/673MFJUF.js +0 -4
- package/dist/cdn/6AED5XVE.js +0 -4
- package/dist/cdn/6AFW75KM.js +0 -4
- package/dist/cdn/6APMMLOT.js +0 -4
- package/dist/cdn/6CS4XBQG.js +0 -4
- package/dist/cdn/6DE6RSTD.js +0 -4
- package/dist/cdn/6IRLQMXV.js +0 -4
- package/dist/cdn/6IXTIIUB.js +0 -4
- package/dist/cdn/6L7JP2C3.js +0 -4
- package/dist/cdn/6MGBWDMR.js +0 -4
- package/dist/cdn/6NH2OFTJ.js +0 -4
- package/dist/cdn/6NHDVAJQ.js +0 -4
- package/dist/cdn/6PGDBYCA.js +0 -4
- package/dist/cdn/6QU3MVPR.js +0 -4
- package/dist/cdn/6QUFI36E.js +0 -4
- package/dist/cdn/6UD4XXYA.js +0 -4
- package/dist/cdn/6ULU6THP.js +0 -4
- package/dist/cdn/6VM7QTQ2.js +0 -4
- package/dist/cdn/6WRVJ2YU.js +0 -4
- package/dist/cdn/76CM7RUR.js +0 -4
- package/dist/cdn/77ZB6UKO.js +0 -4
- package/dist/cdn/7BDUBIPO.js +0 -4
- package/dist/cdn/7BHZELPW.js +0 -4
- package/dist/cdn/7CA7LSYI.js +0 -4
- package/dist/cdn/7D4PGZKY.js +0 -4
- package/dist/cdn/7DCMUDSM.js +0 -4
- package/dist/cdn/7DDJTAHA.js +0 -4
- package/dist/cdn/7FFXC2L3.js +0 -4
- package/dist/cdn/7ISGHQMV.js +0 -4
- package/dist/cdn/7IXDEESL.js +0 -4
- package/dist/cdn/7KTIRGN3.js +0 -4
- package/dist/cdn/7NLT6I66.js +0 -4
- package/dist/cdn/7OVISQTL.js +0 -4
- package/dist/cdn/7VWOND6G.js +0 -4
- package/dist/cdn/7XE5OD45.js +0 -4
- package/dist/cdn/7XYTCMGP.js +0 -4
- package/dist/cdn/7YAPQDER.js +0 -4
- package/dist/cdn/7YCCSCN5.js +0 -4
- package/dist/cdn/7Z45QN5N.js +0 -12
- package/dist/cdn/A5DT7NE6.js +0 -4
- package/dist/cdn/ABC2I3ZR.js +0 -4
- package/dist/cdn/ABTIHJNV.js +0 -4
- package/dist/cdn/ADBKULDR.js +0 -4
- package/dist/cdn/ADIPQ4VU.js +0 -4
- package/dist/cdn/AETS43GU.js +0 -4
- package/dist/cdn/AEWLKFBU.js +0 -4
- package/dist/cdn/AHCRPC4L.js +0 -4
- package/dist/cdn/ALKVZFQO.js +0 -4
- package/dist/cdn/ALOODCII.js +0 -4
- package/dist/cdn/ALOTF2JS.js +0 -4
- package/dist/cdn/AOGCOFUL.js +0 -4
- package/dist/cdn/APZRVZOS.js +0 -4
- package/dist/cdn/AQ46NNHU.js +0 -4
- package/dist/cdn/ARRE7HE2.js +0 -4
- package/dist/cdn/ASJS72NM.js +0 -4
- package/dist/cdn/AST5IXCY.js +0 -4
- package/dist/cdn/ASX5STXU.js +0 -4
- package/dist/cdn/AT27P2RX.js +0 -4
- package/dist/cdn/AUUNZDWY.js +0 -4
- package/dist/cdn/AXKLBSGA.js +0 -4
- package/dist/cdn/AY2HO6FN.js +0 -4
- package/dist/cdn/AZ3IEWPS.js +0 -4
- package/dist/cdn/B2R2MIEZ.js +0 -4
- package/dist/cdn/B3WF2US3.js +0 -4
- package/dist/cdn/BAR5PEE5.js +0 -4
- package/dist/cdn/BB52DPT6.js +0 -4
- package/dist/cdn/BBM7UQFW.js +0 -4
- package/dist/cdn/BBYRNE4Y.js +0 -4
- package/dist/cdn/BDAXGRXY.js +0 -4
- package/dist/cdn/BH42DFEL.js +0 -4
- package/dist/cdn/BHDPDSAP.js +0 -4
- package/dist/cdn/BHTPSE2K.js +0 -4
- package/dist/cdn/BIABFBHF.js +0 -4
- package/dist/cdn/BJM64HCL.js +0 -4
- package/dist/cdn/BLWWPPKZ.js +0 -4
- package/dist/cdn/BOLHP6ME.js +0 -5470
- package/dist/cdn/BPEB5TL6.js +0 -4
- package/dist/cdn/BRMLZGYQ.js +0 -4
- package/dist/cdn/BUPSWVQN.js +0 -4
- package/dist/cdn/BXDFE2QL.js +0 -4
- package/dist/cdn/BZHFXNC5.js +0 -4
- package/dist/cdn/C2BE6TOK.js +0 -4
- package/dist/cdn/C2SYSUBB.js +0 -4
- package/dist/cdn/C5CKY5VH.js +0 -4
- package/dist/cdn/CBRYN73L.js +0 -4
- package/dist/cdn/CBTQGIID.js +0 -9
- package/dist/cdn/CCYDXMOQ.js +0 -4
- package/dist/cdn/CDE57SH5.js +0 -4
- package/dist/cdn/CDUANDLC.js +0 -4
- package/dist/cdn/CE5Q3TAF.js +0 -16
- package/dist/cdn/CESPKWMC.js +0 -4
- package/dist/cdn/CGLHNXT7.js +0 -24
- package/dist/cdn/CI6S62PS.js +0 -4
- package/dist/cdn/CJKTAEQ3.js +0 -4
- package/dist/cdn/CK6UVWP3.js +0 -4
- package/dist/cdn/CLC3EG55.js +0 -4
- package/dist/cdn/CLTTYQ2Y.js +0 -4
- package/dist/cdn/CLUJCRQ7.js +0 -4
- package/dist/cdn/CPVBXDV3.js +0 -4
- package/dist/cdn/CPVKT2ID.js +0 -41
- package/dist/cdn/CQUCKKNV.js +0 -4
- package/dist/cdn/CR2JC3CO.js +0 -4
- package/dist/cdn/CTGKFDJZ.js +0 -4
- package/dist/cdn/CYMKWCIH.js +0 -4
- package/dist/cdn/CZ3OVKO7.js +0 -4
- package/dist/cdn/CZQYMDPB.js +0 -4
- package/dist/cdn/D2YWYQGZ.js +0 -4
- package/dist/cdn/D75U427R.js +0 -4
- package/dist/cdn/DD3IPIPX.js +0 -4
- package/dist/cdn/DGF5R54L.js +0 -4
- package/dist/cdn/DGY7EKVO.js +0 -4
- package/dist/cdn/DHRRG7ZP.js +0 -4
- package/dist/cdn/DJHGJ2UY.js +0 -4
- package/dist/cdn/DLUM5TGI.js +0 -4
- package/dist/cdn/DQBHMREK.js +0 -4
- package/dist/cdn/DQUQ24IX.js +0 -4
- package/dist/cdn/DRJUYHWG.js +0 -4
- package/dist/cdn/DSUTE6OR.js +0 -4
- package/dist/cdn/DT2ZLCD6.js +0 -4
- package/dist/cdn/DTO6WAHI.js +0 -4
- package/dist/cdn/DUA4CPK2.js +0 -4
- package/dist/cdn/DWSS7M2M.js +0 -4
- package/dist/cdn/DYW7XT46.js +0 -4
- package/dist/cdn/E2O432KX.js +0 -4
- package/dist/cdn/E5A6ANVZ.js +0 -4
- package/dist/cdn/E6Q3UTBA.js +0 -4
- package/dist/cdn/E7G6CN5C.js +0 -4
- package/dist/cdn/E7JESQFM.js +0 -4
- package/dist/cdn/EAOJJP3Q.js +0 -4
- package/dist/cdn/EBBAOJ26.js +0 -4
- package/dist/cdn/EBMDUFBM.js +0 -4
- package/dist/cdn/ECBTSVYM.js +0 -4
- package/dist/cdn/EDM6FN6X.js +0 -4
- package/dist/cdn/EE7MABSU.js +0 -4
- package/dist/cdn/EHVFG76R.js +0 -4
- package/dist/cdn/EKB3TS5F.js +0 -4
- package/dist/cdn/EKCUXPH3.js +0 -4
- package/dist/cdn/EKS3HSIB.js +0 -4
- package/dist/cdn/ELYHQS4S.js +0 -4
- package/dist/cdn/EM6IA2D7.js +0 -4
- package/dist/cdn/EMYJVXCD.js +0 -4
- package/dist/cdn/ENVA6BQV.js +0 -4
- package/dist/cdn/EPJK23PS.js +0 -4
- package/dist/cdn/ERHDAV5X.js +0 -4
- package/dist/cdn/ETU4HLOS.js +0 -4
- package/dist/cdn/EVANRNGX.js +0 -4
- package/dist/cdn/EWPH4ZGK.js +0 -4
- package/dist/cdn/EZLGYZCL.js +0 -4
- package/dist/cdn/F36I43RJ.js +0 -4
- package/dist/cdn/F4KVA3KL.js +0 -4
- package/dist/cdn/F5DKVCER.js +0 -4
- package/dist/cdn/FBEQKPKM.js +0 -4
- package/dist/cdn/FEGH3M7J.js +0 -4
- package/dist/cdn/FFSKQQB2.js +0 -4
- package/dist/cdn/FGAZFXDU.js +0 -4
- package/dist/cdn/FI5UDICX.js +0 -4
- package/dist/cdn/FI73S54G.js +0 -4
- package/dist/cdn/FMGVM3PL.js +0 -4
- package/dist/cdn/FNKVLB56.js +0 -4
- package/dist/cdn/FOFPPTFX.js +0 -4
- package/dist/cdn/FR3JKRZI.js +0 -4
- package/dist/cdn/FSDXV2LK.js +0 -4
- package/dist/cdn/FSI6WNRL.js +0 -4
- package/dist/cdn/FU65EZAN.js +0 -4
- package/dist/cdn/FV35QIAG.js +0 -11
- package/dist/cdn/FXHXRFCX.js +0 -4
- package/dist/cdn/G2TSVPOP.js +0 -4
- package/dist/cdn/G4LDSCNT.js +0 -4
- package/dist/cdn/G542GJZ6.js +0 -4
- package/dist/cdn/GDHKPKCL.js +0 -4
- package/dist/cdn/GEPRSWUS.js +0 -4
- package/dist/cdn/GERVHENC.js +0 -4
- package/dist/cdn/GJAEHYE4.js +0 -4
- package/dist/cdn/GJMGVQKA.js +0 -4
- package/dist/cdn/GJUDGNVS.js +0 -4
- package/dist/cdn/GKYLIW6Q.js +0 -4
- package/dist/cdn/GOEU3WDV.js +0 -4
- package/dist/cdn/GPZUXEM5.js +0 -4
- package/dist/cdn/GSG2Z7DB.js +0 -4
- package/dist/cdn/GSOOB2TR.js +0 -4
- package/dist/cdn/GXAGKJXB.js +0 -4
- package/dist/cdn/GXRTI76Q.js +0 -4
- package/dist/cdn/GY6KUPFE.js +0 -4
- package/dist/cdn/H2TFOKXW.js +0 -4
- package/dist/cdn/H47TURSU.js +0 -4
- package/dist/cdn/H5MVVEOX.js +0 -4
- package/dist/cdn/H6E7YOCJ.js +0 -4
- package/dist/cdn/H7U4RZQP.js +0 -4
- package/dist/cdn/HCFBUZAD.js +0 -4
- package/dist/cdn/HDWIZ2NC.js +0 -4
- package/dist/cdn/HENYNRGK.js +0 -4
- package/dist/cdn/HHWHHXRI.js +0 -4
- package/dist/cdn/HJ5WZNDT.js +0 -4
- package/dist/cdn/HKCFZILF.js +0 -4
- package/dist/cdn/HPLPS2JT.js +0 -4
- package/dist/cdn/HTZBMGZB.js +0 -4
- package/dist/cdn/HWOTAW6Z.js +0 -4
- package/dist/cdn/HXFOP2HN.js +0 -4
- package/dist/cdn/HZ5SEBTX.js +0 -4
- package/dist/cdn/HZIZ32JA.js +0 -4
- package/dist/cdn/HZMPKAQP.js +0 -4
- package/dist/cdn/HZQK334J.js +0 -4
- package/dist/cdn/I46GDW7X.js +0 -4
- package/dist/cdn/I5DDXCYU.js +0 -4
- package/dist/cdn/I5HKIPIX.js +0 -4
- package/dist/cdn/I5SGU6CJ.js +0 -4
- package/dist/cdn/I5WZ5BPU.js +0 -4
- package/dist/cdn/IDLNSSQH.js +0 -4
- package/dist/cdn/IFX4GW2F.js +0 -4
- package/dist/cdn/IGHCEOJD.js +0 -5
- package/dist/cdn/IHWHDECI.js +0 -4
- package/dist/cdn/IIYXGOTU.js +0 -4
- package/dist/cdn/IJMPHCXA.js +0 -4
- package/dist/cdn/IJMY4PUS.js +0 -4
- package/dist/cdn/IKBXOSFK.js +0 -4
- package/dist/cdn/IKN3F2Z2.js +0 -4
- package/dist/cdn/IKQGF57T.js +0 -4
- package/dist/cdn/IMVDVU5J.js +0 -4
- package/dist/cdn/ITS3KMKT.js +0 -4
- package/dist/cdn/IVAPF4QO.js +0 -4
- package/dist/cdn/J2PECBQT.js +0 -4
- package/dist/cdn/J4MFCABD.js +0 -4
- package/dist/cdn/JCDDALPT.js +0 -4
- package/dist/cdn/JDXTYI6Y.js +0 -4
- package/dist/cdn/JEJIDON5.js +0 -4
- package/dist/cdn/JEQG6ES5.js +0 -4
- package/dist/cdn/JFOJSQD6.js +0 -4
- package/dist/cdn/JFZ5GYML.js +0 -4
- package/dist/cdn/JG2Y4RQG.js +0 -4
- package/dist/cdn/JHSP6XRD.js +0 -4
- package/dist/cdn/JKND3TIV.js +0 -4
- package/dist/cdn/JKYLXN2O.js +0 -4
- package/dist/cdn/JL2RBE6A.js +0 -4
- package/dist/cdn/JOOCEMT5.js +0 -4
- package/dist/cdn/JPS3MCG6.js +0 -4
- package/dist/cdn/JPZLPSFU.js +0 -4
- package/dist/cdn/JROPFWVO.js +0 -4
- package/dist/cdn/JRVERVAC.js +0 -4
- package/dist/cdn/JSNO5ZRF.js +0 -4
- package/dist/cdn/JSOZATGE.js +0 -4
- package/dist/cdn/JXIVGHYT.js +0 -4
- package/dist/cdn/K6LOD6C7.js +0 -4
- package/dist/cdn/K7EUXM5M.js +0 -4
- package/dist/cdn/KAU2APD3.js +0 -4
- package/dist/cdn/KBW72ZZ3.js +0 -4
- package/dist/cdn/KCV7XCTI.js +0 -4
- package/dist/cdn/KEDF2TSP.js +0 -4
- package/dist/cdn/KEPSCC7V.js +0 -4
- package/dist/cdn/KFQ2M336.js +0 -4
- package/dist/cdn/KIRX47PY.js +0 -4
- package/dist/cdn/KK6CFYKF.js +0 -4
- package/dist/cdn/KKBEYANH.js +0 -4
- package/dist/cdn/KNCLSSWL.js +0 -4
- package/dist/cdn/KO6HE3EY.js +0 -4
- package/dist/cdn/KQACWXI2.js +0 -4
- package/dist/cdn/KQEK43HI.js +0 -4
- package/dist/cdn/KRBJZ6SW.js +0 -4
- package/dist/cdn/KSKWZSUE.js +0 -4
- package/dist/cdn/KV2GSRRX.js +0 -51
- package/dist/cdn/KWGUK7G6.js +0 -4
- package/dist/cdn/KZ7VCRUL.js +0 -4
- package/dist/cdn/KZLGGJWN.js +0 -4
- package/dist/cdn/KZU443E5.js +0 -4
- package/dist/cdn/L32MA43M.js +0 -4
- package/dist/cdn/L3DJ74GQ.js +0 -4
- package/dist/cdn/L52YSOGV.js +0 -4
- package/dist/cdn/L5I55DE2.js +0 -4
- package/dist/cdn/L6KNTGSJ.js +0 -4
- package/dist/cdn/LALWV6A6.js +0 -4
- package/dist/cdn/LBL5KMIT.js +0 -4
- package/dist/cdn/LD3NJ7KQ.js +0 -4
- package/dist/cdn/LETSHOZX.js +0 -4
- package/dist/cdn/LGP7V6PM.js +0 -5
- package/dist/cdn/LJZFR2QN.js +0 -4
- package/dist/cdn/LKIDOLIB.js +0 -4
- package/dist/cdn/LKRKN2QF.js +0 -4
- package/dist/cdn/LLQ2HFT3.js +0 -4
- package/dist/cdn/LOD5HXAR.js +0 -4
- package/dist/cdn/LTDJ2QBL.js +0 -52
- package/dist/cdn/LTEYTFVK.js +0 -4
- package/dist/cdn/LTXRBE7M.js +0 -4
- package/dist/cdn/LVQHI6KR.js +0 -4
- package/dist/cdn/LW5OYDFW.js +0 -4
- package/dist/cdn/LWRF4GYP.js +0 -4
- package/dist/cdn/LZFZCIGH.js +0 -4
- package/dist/cdn/LZGUUQBW.js +0 -4
- package/dist/cdn/M25DZELT.js +0 -4
- package/dist/cdn/M4R7BR23.js +0 -4
- package/dist/cdn/MBESX4NJ.js +0 -4
- package/dist/cdn/MCO4VYYZ.js +0 -4
- package/dist/cdn/MEBDPQGN.js +0 -4
- package/dist/cdn/MIILJ5XU.js +0 -4
- package/dist/cdn/MJ7M5XDG.js +0 -4
- package/dist/cdn/MJF5EW7S.js +0 -4
- package/dist/cdn/MKIAL5CE.js +0 -4
- package/dist/cdn/MKY364EQ.js +0 -4
- package/dist/cdn/MMW34LVS.js +0 -4
- package/dist/cdn/MPKB2FO3.js +0 -4
- package/dist/cdn/MPZLREAF.js +0 -59
- package/dist/cdn/MQBO5FDJ.js +0 -4
- package/dist/cdn/MSLJN5CL.js +0 -4
- package/dist/cdn/MTAJL3XZ.js +0 -4
- package/dist/cdn/MV2M3HY3.js +0 -4
- package/dist/cdn/MVPH2TDC.js +0 -4
- package/dist/cdn/MX3PO5SJ.js +0 -4
- package/dist/cdn/MYFRO3H3.js +0 -4
- package/dist/cdn/N3DBXROE.js +0 -4
- package/dist/cdn/N3E2YFA2.js +0 -5
- package/dist/cdn/NB7RWM4J.js +0 -4
- package/dist/cdn/NDKJHAOK.js +0 -4
- package/dist/cdn/NE5HRL26.js +0 -4
- package/dist/cdn/NIFXTC22.js +0 -4
- package/dist/cdn/NJMU4GKE.js +0 -4
- package/dist/cdn/NJR4Y54C.js +0 -4
- package/dist/cdn/NMPSBKLN.js +0 -4
- package/dist/cdn/NU6PEGUF.js +0 -4
- package/dist/cdn/NVNYZZUA.js +0 -4
- package/dist/cdn/NVZ3OWW2.js +0 -4
- package/dist/cdn/NX4ONT62.js +0 -4
- package/dist/cdn/NZIJMV44.js +0 -4
- package/dist/cdn/NZKUGEB2.js +0 -4
- package/dist/cdn/O3ADDHSX.js +0 -4
- package/dist/cdn/O56DI2NP.js +0 -4
- package/dist/cdn/OAB5MYWY.js +0 -4
- package/dist/cdn/OEFJNUWW.js +0 -4
- package/dist/cdn/OFED3QPZ.js +0 -4
- package/dist/cdn/OGNVJ765.js +0 -4
- package/dist/cdn/OGSCYJQK.js +0 -4
- package/dist/cdn/OHH4J4SV.js +0 -4
- package/dist/cdn/OIBXSTXJ.js +0 -4
- package/dist/cdn/OLMR3IJM.js +0 -4
- package/dist/cdn/OM2AIPKK.js +0 -4
- package/dist/cdn/ONI4M4OC.js +0 -4
- package/dist/cdn/OO27PGZ7.js +0 -4
- package/dist/cdn/OR2NNQ53.js +0 -4
- package/dist/cdn/OV25IV7Z.js +0 -4
- package/dist/cdn/OVIRU6L4.js +0 -4
- package/dist/cdn/OWGAN3TA.js +0 -4
- package/dist/cdn/OXFGDBGT.js +0 -4
- package/dist/cdn/OXQTTNE3.js +0 -4
- package/dist/cdn/OYGVQKRA.js +0 -4
- package/dist/cdn/OYZJZA5Z.js +0 -4
- package/dist/cdn/OZPD5RGL.js +0 -4
- package/dist/cdn/P2K4WEDJ.js +0 -4
- package/dist/cdn/P3WBHLDO.js +0 -4
- package/dist/cdn/P4XP3J2S.js +0 -4
- package/dist/cdn/P5NOJJ6X.js +0 -4
- package/dist/cdn/P7GO3LRW.js +0 -4
- package/dist/cdn/P7YQSWNR.js +0 -4
- package/dist/cdn/PA5B54YV.js +0 -4
- package/dist/cdn/PCUZFTYD.js +0 -4
- package/dist/cdn/PE2EEIM5.js +0 -4
- package/dist/cdn/PF7DDKGY.js +0 -4
- package/dist/cdn/PHZJANSX.js +0 -4
- package/dist/cdn/PISEOX5Q.js +0 -4
- package/dist/cdn/PNVO2EU3.js +0 -4
- package/dist/cdn/POA4MQSN.js +0 -4
- package/dist/cdn/POSE46MR.js +0 -4
- package/dist/cdn/PQANUCIQ.js +0 -4
- package/dist/cdn/PYHF7GXO.js +0 -4
- package/dist/cdn/Q4SPFI4D.js +0 -4
- package/dist/cdn/QCX3YY2Y.js +0 -4
- package/dist/cdn/QJBHIAZY.js +0 -4
- package/dist/cdn/QJNRSARZ.js +0 -4
- package/dist/cdn/QKFGOST7.js +0 -4
- package/dist/cdn/QLF72Y5W.js +0 -4
- package/dist/cdn/QOAPCP4X.js +0 -4
- package/dist/cdn/QOKW3RWP.js +0 -4
- package/dist/cdn/QQIZKSP5.js +0 -4
- package/dist/cdn/QQOSTJKE.js +0 -25
- package/dist/cdn/QSBQUT2O.js +0 -4
- package/dist/cdn/QSJEIMIX.js +0 -4
- package/dist/cdn/QTA2OGSJ.js +0 -4
- package/dist/cdn/QUBBZNPN.js +0 -4
- package/dist/cdn/QUFMQ4D2.js +0 -4
- package/dist/cdn/QW3QWCMF.js +0 -4
- package/dist/cdn/QYNB5AJ7.js +0 -4
- package/dist/cdn/QZT5ICRT.js +0 -4
- package/dist/cdn/R2PVK5UN.js +0 -4
- package/dist/cdn/R3I4J3L7.js +0 -4
- package/dist/cdn/R3UDD63K.js +0 -4
- package/dist/cdn/R5LJOROF.js +0 -4
- package/dist/cdn/RA3YKBRT.js +0 -5
- package/dist/cdn/RCTIA5EP.js +0 -4
- package/dist/cdn/RDR7JRIH.js +0 -4
- package/dist/cdn/REJ63WP2.js +0 -4
- package/dist/cdn/RES35CWQ.js +0 -4
- package/dist/cdn/REWJNW4C.js +0 -4
- package/dist/cdn/RFRK7Y2N.js +0 -4
- package/dist/cdn/RIIWH6BS.js +0 -4
- package/dist/cdn/RKDCPP5C.js +0 -4
- package/dist/cdn/RM4JKVDT.js +0 -42
- package/dist/cdn/RNXDFO4J.js +0 -4
- package/dist/cdn/RQJHWA53.js +0 -4
- package/dist/cdn/RQW5LRW4.js +0 -4
- package/dist/cdn/RSIRQOK5.js +0 -4
- package/dist/cdn/RSOPGSCE.js +0 -4
- package/dist/cdn/RSTAFOZD.js +0 -4
- package/dist/cdn/RTSZ536G.js +0 -4
- package/dist/cdn/RTWSGMSN.js +0 -4
- package/dist/cdn/RY6UQNV4.js +0 -4
- package/dist/cdn/RZJY53OX.js +0 -4
- package/dist/cdn/S2RNRPCD.js +0 -4
- package/dist/cdn/S5RPR2FS.js +0 -4
- package/dist/cdn/S6RKOVKR.js +0 -4
- package/dist/cdn/SBAMIHLH.js +0 -4
- package/dist/cdn/SBRFC3RE.js +0 -4
- package/dist/cdn/SEWOKUNR.js +0 -4
- package/dist/cdn/SFJGEYRM.js +0 -4
- package/dist/cdn/SJ34APFJ.js +0 -4
- package/dist/cdn/SKIQ2XLC.js +0 -4
- package/dist/cdn/SKSI2EGH.js +0 -4
- package/dist/cdn/SLLUKHGE.js +0 -4
- package/dist/cdn/SP3APUUG.js +0 -4
- package/dist/cdn/SPW4XUMU.js +0 -4
- package/dist/cdn/SQLDIR4G.js +0 -4
- package/dist/cdn/SS6E7FFW.js +0 -4
- package/dist/cdn/STTZX4NM.js +0 -4
- package/dist/cdn/SVRUPQ4H.js +0 -4
- package/dist/cdn/SYEREYRL.js +0 -4
- package/dist/cdn/SYOOEWQZ.js +0 -4
- package/dist/cdn/T3HXFS5E.js +0 -8
- package/dist/cdn/T4732O3Z.js +0 -4
- package/dist/cdn/T52VQHP2.js +0 -4
- package/dist/cdn/T7RVKJMB.js +0 -4
- package/dist/cdn/T7SLHAA5.js +0 -4
- package/dist/cdn/TBAPHRX5.js +0 -4
- package/dist/cdn/TC46RBXP.js +0 -4
- package/dist/cdn/TE2XW7QM.js +0 -12
- package/dist/cdn/TFQTUZIA.js +0 -4
- package/dist/cdn/TG6ZEHWY.js +0 -4
- package/dist/cdn/TLQKNXCO.js +0 -4
- package/dist/cdn/TLUBNYDN.js +0 -4
- package/dist/cdn/TMZQB324.js +0 -4
- package/dist/cdn/TN6OVP4G.js +0 -4
- package/dist/cdn/TNT7E7JL.js +0 -4
- package/dist/cdn/TOHYZYPW.js +0 -4
- package/dist/cdn/TP5OSMTE.js +0 -4
- package/dist/cdn/TR4IDLV7.js +0 -4
- package/dist/cdn/TUBNOCPT.js +0 -4
- package/dist/cdn/TVC6TZLR.js +0 -4
- package/dist/cdn/TWME2NY3.js +0 -4
- package/dist/cdn/TWOPF52C.js +0 -4
- package/dist/cdn/TWY3Z5LL.js +0 -4
- package/dist/cdn/TXCUF56P.js +0 -4
- package/dist/cdn/TXTE5PL3.js +0 -4
- package/dist/cdn/TYVU4MPL.js +0 -4
- package/dist/cdn/TZKM5SKQ.js +0 -4
- package/dist/cdn/U23QRMXZ.js +0 -4
- package/dist/cdn/U3AFCEGX.js +0 -4
- package/dist/cdn/U57WT5TZ.js +0 -4
- package/dist/cdn/U5ETQWCO.js +0 -4
- package/dist/cdn/U5UGJJLM.js +0 -4
- package/dist/cdn/UAWCHGY6.js +0 -4
- package/dist/cdn/UCMQ3TZO.js +0 -4
- package/dist/cdn/UDT2ACBX.js +0 -4
- package/dist/cdn/UHV4B7RY.js +0 -4
- package/dist/cdn/UIEZB2GH.js +0 -4
- package/dist/cdn/UM73YLN4.js +0 -4
- package/dist/cdn/UMXFPNAN.js +0 -4
- package/dist/cdn/UOFJRL5C.js +0 -4
- package/dist/cdn/UPA3NIBA.js +0 -4
- package/dist/cdn/UQZQQTEJ.js +0 -4
- package/dist/cdn/UTVH4LLV.js +0 -4
- package/dist/cdn/UTZJAYCY.js +0 -4
- package/dist/cdn/UZMIJ53L.js +0 -4
- package/dist/cdn/UZNO6PMZ.js +0 -4
- package/dist/cdn/V23X7OXZ.js +0 -4
- package/dist/cdn/V3OJ3O7B.js +0 -4
- package/dist/cdn/V4TM3IDY.js +0 -6
- package/dist/cdn/V7OG2ZYE.js +0 -4
- package/dist/cdn/VAJGZFLK.js +0 -4
- package/dist/cdn/VB6ZJCYU.js +0 -4
- package/dist/cdn/VB7VSNQV.js +0 -4
- package/dist/cdn/VE4WQW5N.js +0 -8
- package/dist/cdn/VEB6AZPK.js +0 -4
- package/dist/cdn/VEUGVS3T.js +0 -4
- package/dist/cdn/VF6AXDQV.js +0 -4
- package/dist/cdn/VFAPXQKI.js +0 -4
- package/dist/cdn/VFGIWRQ5.js +0 -4
- package/dist/cdn/VFHFDAOP.js +0 -4
- package/dist/cdn/VIIWQIBS.js +0 -4
- package/dist/cdn/VOTIHNJG.js +0 -4
- package/dist/cdn/VTLMWR6A.js +0 -4
- package/dist/cdn/VXOX5OUM.js +0 -4
- package/dist/cdn/VY6ZZJE4.js +0 -6
- package/dist/cdn/VZVFI7FI.js +0 -4
- package/dist/cdn/W2HI5MSG.js +0 -4
- package/dist/cdn/W2LTU3DO.js +0 -4
- package/dist/cdn/W2OMR42G.js +0 -4
- package/dist/cdn/W462UCIU.js +0 -4
- package/dist/cdn/W4CUUQ7S.js +0 -4
- package/dist/cdn/W4XQNEW2.js +0 -4
- package/dist/cdn/W5AOQJ7F.js +0 -4
- package/dist/cdn/WABFUGS6.js +0 -4
- package/dist/cdn/WANC2VLR.js +0 -4
- package/dist/cdn/WAXO2APU.js +0 -4
- package/dist/cdn/WFGLNALD.js +0 -4
- package/dist/cdn/WHEMMJRG.js +0 -4
- package/dist/cdn/WO3I273U.js +0 -4
- package/dist/cdn/WOVWOVZT.js +0 -4
- package/dist/cdn/WOW2GLHN.js +0 -4
- package/dist/cdn/WPD66NZJ.js +0 -4
- package/dist/cdn/WQMTF266.js +0 -4
- package/dist/cdn/WQRLD4B2.js +0 -4
- package/dist/cdn/WRG7XO5K.js +0 -4
- package/dist/cdn/WTB5P2UP.js +0 -4
- package/dist/cdn/WUJYYVCT.js +0 -4
- package/dist/cdn/WXVNSK2H.js +0 -4
- package/dist/cdn/WY2PT3VR.js +0 -4
- package/dist/cdn/X3B2VI43.js +0 -4
- package/dist/cdn/X67LERSF.js +0 -4
- package/dist/cdn/X7SFB7DO.js +0 -4
- package/dist/cdn/XBVRNUX5.js +0 -4
- package/dist/cdn/XEB5NNFP.js +0 -4
- package/dist/cdn/XFGAMS74.js +0 -4
- package/dist/cdn/XGFOAUBN.js +0 -4
- package/dist/cdn/XHBH25LH.js +0 -4
- package/dist/cdn/XHVOB2PT.js +0 -4
- package/dist/cdn/XJR3YYIG.js +0 -4
- package/dist/cdn/XUHS5Q4N.js +0 -4
- package/dist/cdn/XWASMXGR.js +0 -4
- package/dist/cdn/XXBHRWNS.js +0 -4
- package/dist/cdn/XY3C2SW5.js +0 -4
- package/dist/cdn/XYDGAV2W.js +0 -4
- package/dist/cdn/XZAH4KNF.js +0 -4
- package/dist/cdn/XZSY5FUG.js +0 -4
- package/dist/cdn/Y3YQ5JB6.js +0 -4
- package/dist/cdn/Y4TH7I75.js +0 -5
- package/dist/cdn/YEDZN5WH.js +0 -4
- package/dist/cdn/YJ3V74K6.js +0 -4
- package/dist/cdn/YJH563YU.js +0 -4
- package/dist/cdn/YK6MPJUY.js +0 -4
- package/dist/cdn/YKKMWOYG.js +0 -4
- package/dist/cdn/YKO4EDFL.js +0 -4
- package/dist/cdn/YM4OL5WE.js +0 -4
- package/dist/cdn/YNEY3RME.js +0 -4
- package/dist/cdn/YPIWVPPX.js +0 -4
- package/dist/cdn/YPLE7E76.js +0 -4
- package/dist/cdn/YRSQ5V7I.js +0 -4
- package/dist/cdn/YSCQD7O4.js +0 -4
- package/dist/cdn/YSR3WNLV.js +0 -4
- package/dist/cdn/YTLTIQPV.js +0 -4
- package/dist/cdn/YUNR4CYZ.js +0 -4
- package/dist/cdn/YX3VLRQH.js +0 -4
- package/dist/cdn/YYXOEJN2.js +0 -4
- package/dist/cdn/YZS7XGYR.js +0 -4
- package/dist/cdn/Z26OLT3V.js +0 -4
- package/dist/cdn/Z2CEUKFF.js +0 -4
- package/dist/cdn/Z2ZIPFRX.js +0 -4
- package/dist/cdn/Z3QH576N.js +0 -4
- package/dist/cdn/Z7HE7FPN.js +0 -4
- package/dist/cdn/ZBN4USZP.js +0 -4
- package/dist/cdn/ZDHS42A7.js +0 -4
- package/dist/cdn/ZFH7XNYM.js +0 -4
- package/dist/cdn/ZIJVF6PB.js +0 -4
- package/dist/cdn/ZJQH2RT5.js +0 -4
- package/dist/cdn/ZKYQWQWD.js +0 -4
- package/dist/cdn/ZLSWFFXL.js +0 -4
- package/dist/cdn/ZMHFITSU.js +0 -4
- package/dist/cdn/ZPE3OS6A.js +0 -4
- package/dist/cdn/ZQ2VOJ6Z.js +0 -59
- package/dist/cdn/ZQIE7WNO.js +0 -4
- package/dist/cdn/ZR7JG3DG.js +0 -4
- package/dist/cdn/ZRA6E7AP.js +0 -4
- package/dist/cdn/ZU2BVDGM.js +0 -4
- package/dist/cdn/ZU5IVBV6.js +0 -4
- package/dist/cdn/ZVCPDXAL.js +0 -4
- package/dist/cdn/ZVPQUT3G.js +0 -4
- package/dist/cdn/ZWJDK2SI.js +0 -4
- package/dist/cdn/ZXDZ6ADG.js +0 -4
- package/dist/cdn/ZYVEA4S3.js +0 -4
package/dist/cdn/UHV4B7RY.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.0 */
|
|
4
|
-
import{a as nt}from"./UAWCHGY6.js";import{a as D}from"./2JZZ2JD4.js";import{b as $e}from"./6CS4XBQG.js";import{a as K}from"./BBYRNE4Y.js";import"./H7U4RZQP.js";import c from"./QLF72Y5W.js";import{a as Ke,b as P}from"./AUUNZDWY.js";import"./2P6E6REB.js";import{a as he,b as We,c as de,d as qe,e as Ue,f as j,g as Ve,h as V,i as Qe,j as Ye,k as Ze,l as Je,m as Xe,n as et,o as F,p as Q,q as Y,r as tt,s as it,t as st}from"./JKYLXN2O.js";import{a as E}from"./W5AOQJ7F.js";import{a as Ne}from"./7YAPQDER.js";import{a as Z}from"./6AFW75KM.js";import{a as ue}from"./54IZFPGX.js";import{a as at}from"./OR2NNQ53.js";import{d as lt,e as ct}from"./P7YQSWNR.js";import{a as Ie}from"./VE4WQW5N.js";import{a as G}from"./GY6KUPFE.js";import{a as ze}from"./DYW7XT46.js";import"./BDAXGRXY.js";import"./WOW2GLHN.js";import{a as Pe}from"./UM73YLN4.js";import"./NZIJMV44.js";import"./JPZLPSFU.js";import{b as ce}from"./UMXFPNAN.js";import"./YSR3WNLV.js";import"./RA3YKBRT.js";import"./IGHCEOJD.js";import{b as Ee,j as Me}from"./QJNRSARZ.js";import b from"./LTEYTFVK.js";import{r as Be}from"./44HOGGTC.js";import"./JDXTYI6Y.js";import"./EVANRNGX.js";import"./DWSS7M2M.js";import"./WRG7XO5K.js";import"./CGLHNXT7.js";import"./DT2ZLCD6.js";import{a as je}from"./EWPH4ZGK.js";import"./66MNGXO2.js";import{a as De}from"./ETU4HLOS.js";import"./G4LDSCNT.js";import"./TWY3Z5LL.js";import"./ZWJDK2SI.js";import"./NIFXTC22.js";import"./3LYCGIES.js";import"./CLC3EG55.js";import"./YSCQD7O4.js";import"./V3OJ3O7B.js";import"./M4R7BR23.js";import"./2PU2VDVO.js";import"./KZLGGJWN.js";import"./TXCUF56P.js";import"./CLTTYQ2Y.js";import"./EAOJJP3Q.js";import"./BRMLZGYQ.js";import"./3XUTMVJA.js";import{a as He}from"./M25DZELT.js";import"./VAJGZFLK.js";import"./D2YWYQGZ.js";import"./TP5OSMTE.js";import"./TVC6TZLR.js";import"./P5NOJJ6X.js";import"./OVIRU6L4.js";import"./LOD5HXAR.js";import"./VOTIHNJG.js";import"./T52VQHP2.js";import"./TWOPF52C.js";import"./MVPH2TDC.js";import"./4EG423AZ.js";import"./5ULMCG2L.js";import"./YRSQ5V7I.js";import"./VB7VSNQV.js";import"./Z2CEUKFF.js";import"./EKCUXPH3.js";import"./RIIWH6BS.js";import"./OAB5MYWY.js";import{c as Le}from"./POSE46MR.js";import{a as Ge}from"./AHCRPC4L.js";import"./W2LTU3DO.js";import"./JROPFWVO.js";import"./HXFOP2HN.js";import{k as Ae}from"./ZU5IVBV6.js";import"./OM2AIPKK.js";import"./JHSP6XRD.js";import"./34J3TQKS.js";import"./FBEQKPKM.js";import"./VZVFI7FI.js";import"./CPVBXDV3.js";import"./FNKVLB56.js";import"./7BDUBIPO.js";import"./5YNDBWGJ.js";import"./ZR7JG3DG.js";import{da as H}from"./6VM7QTQ2.js";import"./YYXOEJN2.js";import"./7VWOND6G.js";import"./XXBHRWNS.js";import"./KRBJZ6SW.js";import"./2PX3UZJ2.js";import"./ZRA6E7AP.js";import"./REJ63WP2.js";import"./XY3C2SW5.js";import"./FI73S54G.js";import"./MKY364EQ.js";import{a as L}from"./ADIPQ4VU.js";import{W as Re}from"./OHH4J4SV.js";import"./OYGVQKRA.js";import"./WXVNSK2H.js";import"./6NHDVAJQ.js";import"./SPW4XUMU.js";import"./GOEU3WDV.js";import"./BH42DFEL.js";import"./KKBEYANH.js";import"./7Z45QN5N.js";import"./EHVFG76R.js";import"./EBMDUFBM.js";import"./RZJY53OX.js";import"./CZ3OVKO7.js";import"./JPS3MCG6.js";import"./FU65EZAN.js";import"./MJ7M5XDG.js";import{a as U,b as ke}from"./4TTEQZAD.js";import"./DGF5R54L.js";import"./TWME2NY3.js";import"./P7GO3LRW.js";import"./3A36DIUD.js";import"./3WS6AQFV.js";import"./MMW34LVS.js";import"./PA5B54YV.js";import"./3K4IN7S2.js";import"./3MLL52K7.js";import"./WANC2VLR.js";import"./XZSY5FUG.js";import"./ZKYQWQWD.js";import"./Z7HE7FPN.js";import"./VF6AXDQV.js";import{a as ae,b as q,d as ve}from"./MYFRO3H3.js";import"./APZRVZOS.js";import"./RTWSGMSN.js";import"./LTXRBE7M.js";import"./RTSZ536G.js";import"./VFHFDAOP.js";import"./R2PVK5UN.js";import"./SBAMIHLH.js";import{c as R,j as J}from"./BAR5PEE5.js";import"./EDM6FN6X.js";import"./5OM23AYK.js";import"./YEDZN5WH.js";import"./7XE5OD45.js";import"./LZFZCIGH.js";import"./S6RKOVKR.js";import"./FR3JKRZI.js";import"./6DE6RSTD.js";import{a as re,d as Fe,l as le}from"./TG6ZEHWY.js";import{o as Oe}from"./IMVDVU5J.js";import{a as oe}from"./BHDPDSAP.js";import"./RFRK7Y2N.js";import"./IJMPHCXA.js";import{a as k}from"./HPLPS2JT.js";import{a as C}from"./QQOSTJKE.js";import{b as Te}from"./NDKJHAOK.js";import"./TC46RBXP.js";import{a as d}from"./OFED3QPZ.js";import"./AST5IXCY.js";import{a as ht,b as a,c as w,d as v,e as u,h as I,i as S}from"./R3UDD63K.js";import{a as y}from"./2S6OYEYO.js";import{a as f,e as xe,t as _e}from"./PE2EEIM5.js";import{a as x}from"./DQUQ24IX.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";export default $arcgis.t(([,qt,{watch:pe,on:ge},{a:dt,b:ut,c:pt,d:gt,e:mt,i:ft,j:bt,k:yt,l:wt,m:St,n:Ct,o:vt,q:kt,r:xt,s:_t,v:Ot,x:Tt},{a:ot,g:rt}])=>{function Et(e,t){let i={corners:"round",facets:[{label:t.t("contentGallery.facets.type.label"),key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:t.t("contentGallery.facets.tags.label"),key:"tags",display:"multi-select",field:"tags",options:[],operation:"OR"},{label:t.t("contentGallery.facets.categories.label"),key:"categories",display:"tree",field:"categories",options:[],operation:"OR"},{label:t.t("contentGallery.facets.modified.label"),key:"modified",display:"date-range",field:"modified",state:"open",max:new Date}],gallerySelection:{[t.query.targetEntity]:oe(t,"selectedContentIds",[])},layout:t.isMobile?"table":"grid",limit:8,linkTarget:"siteRelative",mobileView:t.isMobile,query:t.query,selectionMode:"multiple",showFacets:!0,showLayoutSwitcher:!0,showMoreResultsBtn:!0,showResultsCount:!0,showSearch:!0,showSelection:!0,showThumbnail:!t.isMobile,state:t.state,tableColumns:["title","type","updated"]};return t.canAddOthersContent&&(i.facets=[{label:t.t("contentGallery.facets.access.label"),key:"access",display:"multi-select",field:"access",options:[],operation:"OR"},...i.facets]),i}function It(e,t){let i={targetEntity:"group",filters:[{predicates:[{searchUserAccess:"groupMember",searchUserName:e.currentUser.username}]}]};x(t,"catalogGroupIds.length")&&(i.filters[0].predicates[0]=Object.assign(Object.assign({},i.filters[0].predicates[0]),{id:t.catalogGroupIds}));let s=e.currentUser.groups.reduce((l,h)=>(h.userMembership.memberType==="admin"&&l.push(h.id),l),[]),n={corners:"round",facets:[{label:t.t("groupsGallery.facets.from.label"),key:"from",display:"single-select",options:[{label:t.t("groupsGallery.facets.from.options.myGroups"),key:"myGroups",selected:!1,predicates:[{owner:x(e,"currentUser.username")}]},{label:t.t("groupsGallery.facets.from.options.myOrganization"),key:"myOrganization",selected:!0,predicates:[{orgid:x(e,"currentUser.orgId"),isviewonly:!1}]}]},{label:t.t("groupsGallery.facets.access.label"),key:"access",display:"multi-select",operation:"OR",options:[{label:t.t("groupsGallery.facets.access.options.public"),key:"public",selected:!1,predicates:[{access:"public"}]},{label:t.t("groupsGallery.facets.access.options.org"),key:"organization",selected:!1,predicates:[{access:"org"}]},{label:t.t("groupsGallery.facets.access.options.private"),key:"mine",selected:!1,predicates:[{access:"private"}]}]},{label:t.t("groupsGallery.facets.type.label"),key:"types",display:"multi-select",pageSize:4,operation:"AND",options:[{label:t.t("groupsGallery.facets.type.options.sharedUpdate"),key:"sharedUpdate",selected:!1,predicates:[{capabilities:"updateitemcontrol"}]},{label:t.t("groupsGallery.facets.type.options.opendata"),key:"opendata",selected:!1,predicates:[{isopendata:!0}]}]}],gallerySelection:{group:t.selectedGroupIds},layout:t.isMobile?"table":"grid",limit:8,linkTarget:"siteRelative",mobileView:t.isMobile,newTab:!0,query:i,selectionMode:"multiple",showFacets:!0,showLayoutSwitcher:!0,showMoreResultsBtn:!0,showResultsCount:!0,showSearch:!0,showSelection:!0,showSort:!0,showThumbnail:!t.isMobile,state:x(t,"state"),tableColumns:["title","sharedUpdate","updated"]},o=n.facets.find(l=>l.key==="from"),r=x(e,"communityOrgId");return r&&o.options.push({label:t.t("groupsGallery.facets.from.options.myCommunity"),key:"myCommunity",selected:!1,predicates:[{orgid:r,isviewonly:!1},{orgid:r,id:s}]}),o.options.push({label:t.t("groupsGallery.facets.from.options.world"),key:"world",selected:!1,predicates:[{isviewonly:!1}]}),n}function Rt(e){return{event:"event",discussion:"speech-bubbles",group:"group",initiative:"initiative",page:"maximize",project:"projects",site:"browser",channel:"channels"}[e]||"file"}function Ut(e){return{_urlInfo:{_:"_"}}}var Mt={site:Ut};function Vt(e,t,i){var s;let n=(s=Mt[e])===null||s===void 0?void 0:s.call(Mt,i);return Object.assign(Object.assign({},t),n)}function we(e){let t={event:"event",item:"content"};return t[e]||t.item}function Qt(e){let t=we(e);return{tag:"Working",component:D,componentArgs:{state:"loading",headingKey:`working.existing.${t}.heading`,loadingLabel:`working.existing.${t}.loadingLabel`}}}function Yt(e){return{tag:"Working",component:D,componentArgs:{state:"loading",headingKey:`working.create.${e}.heading`,loadingLabel:`working.create.${e}.loadingLabel`}}}var Zt=":host(:not([hydrated])) *[slot]{visibility:hidden}calcite-dropdown:not([calcite-hydrated]) *,calcite-button:not([calcite-hydrated]) *{visibility:hidden}calcite-dropdown-group:not([calcite-hydrated]) *,calcite-dropdown-item:not([calcite-hydrated]) *{display:none}",Jt=Zt,Xt=":host{display:block;--calcite-dialog-min-size-y:80vh}.dropdown-item{display:flex;flex-direction:row;align-items:center}.dropdown-item-icon{height:3.5rem;width:3.5rem;margin-right:0.75rem;display:flex;align-items:center;background-color:var(--calcite-color-background)}.dropdown-item-icon-end{margin-left:auto;margin-right:0.75rem;display:flex;align-items:center}.dropdown-item-icon calcite-icon{width:70px}.dropdown-item-content{display:flex;flex-direction:column;white-space:normal;overflow-wrap:break-word}.dropdown-item-content :first-child{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.dropdown-item-content :last-child{color:var(--calcite-color-text-2)}calcite-dropdown{display:var(--arcgis-hub-add-content-dropdown-display, inline-block)}",ei=Xt,ti=class{constructor(e){S(this,e),this.hubTelemetry=u(this,"hubTelemetry",7),this.arcgisHubAddContentWorkflowComplete=u(this,"arcgisHubAddContentWorkflowComplete",7),this.handleAddContentWorkflowComplete=t=>{t.stopPropagation(),this.arcgisHubAddContentWorkflowComplete.emit(t.detail)},this.handleDropdownButtonClick=()=>{this.hubTelemetry.emit(d.dictionary.category.interaction.action.open.label.options.details.add)},this.handleDropdownItemSelect=t=>{this.selectDropdownEntry(this.dropDownEntries[t.target.dataset.index])},this.handleButtonClick=()=>{this.selectDropdownEntry(this.specificEntityTypeToCreate)},this.handleModalClose=()=>{this.shouldShowModal=!1,this.selectedConfig=null,this.hubTelemetry.emit(d.dictionary.category.interaction.action.close.label.modal.details.add)},this.handleClose=()=>{this.shouldShowModal=!1},this.handleExternalDropdownItemSelect=()=>{let t=ze(this._context.portalUrl);this.hubTelemetry.emit({telemetry:d.dictionary.category.navigation.action.external.label.arcGisOnline.details.myContent}),window.open(t,"_blank")},this.renderDropdownItem=(t,i)=>{let s=this._context.isPortal?"ArcGIS Enterprise":"ArcGIS Online",n=t.workflowConfig.workflow,o=t.entityType||"",r=n;if(n==="create")r=`${n}.${o}`;else if(n==="existing"){let p=we(t.workflowConfig.targetEntity);r=`${n}.${p}`}let l=this.intl.t(`${r}.title`),h=this.intl.t(`${r}.description`,{onlineOrEnterprise:s});return n==="existing"&&(l=this.addExistingTitle||l,h=this.addExistingDescription||h),a("calcite-dropdown-item",{"data-index":i,key:`${n}${o}`,label:this.intl.t(`${r}.title`),onCalciteDropdownItemSelect:this.handleDropdownItemSelect},a("div",{class:"dropdown-item"},a("div",{class:"dropdown-item-icon"},a("calcite-icon",{icon:Rt(t.entityType),scale:"m"})),a("div",{class:"dropdown-item-content"},a("div",null,l),a("div",null,h))))},this.query=void 0,this.catalog=void 0,this.config=void 0,this.entity=void 0,this.site=void 0,this.entityType=void 0,this.workflowConfig=void 0,this.allowGroupSelection=!0,this.buttonText=void 0,this.buttonProps={},this.addExistingTitle=void 0,this.addExistingDescription=void 0,this.showSiteTemplatesButton=void 0,this._context=R(),this.shouldShowModal=!1,this.selectedConfig=void 0}async componentWillLoad(){await this.loadTranslations(),this.processConfiguration()}async loadTranslations(){this.intl=await C.loadIntlForComponent(this.element)}connectedCallback(){J(this)}disconnectedCallback(){this.disconnectContext()}processConfiguration(){this._context.isAuthenticated&&(this.config?(y.info("AC: Using provided config"),this.workflowConfig=this.config):this.query?(y.info("AC: Using query"),this.workflowConfig=K(this._context,this.query)):this.catalog?(y.info("AC: Using catalog"),this.workflowConfig=K(this._context,this.catalog)):(y.info("AC: Using default config"),this.workflowConfig=this.entityType?K(this._context,null,this.entityType):K(this._context)))}get dropDownEntries(){let e=[];return this.workflowConfig&&(this.workflowConfig.create&&(this.workflowConfig.create.types||[]).filter(s=>{let o=`hub:${P(s)}:create`;return y.info(`AC: Checking permission: ${o}`),Oe(o,this._context).access}).forEach(s=>{let n=f(this.workflowConfig.create);n.types=[s],e.push({workflow:"create",workflowConfig:n,entityType:P(s)})}),this.workflowConfig.existing&&e.push({workflow:"existing",workflowConfig:this.workflowConfig.existing})),e}get isMemberOfRequiredGroup(){return this.dropDownEntries.length>0}get isDisabled(){return!this.workflowConfig||this.workflowConfig.state==="disabled"}get tooltip(){if(this.isDisabled){if(this.workflowConfig.reason)return this.intl.t(`tooltip.${this.workflowConfig.reason}`);if(!this.isMemberOfRequiredGroup)return this.intl.t("tooltip.noCatalog")}}get specificEntityTypeToCreate(){if(this.entityType)return this.dropDownEntries.find(({entityType:e})=>e===this.entityType)}get _buttonText(){let e;return this.buttonText?e=this.buttonText:this.specificEntityTypeToCreate?e=this.intl.t(`addContentType.${this.specificEntityTypeToCreate.entityType}`):e=this.intl.t("addContent"),e}selectDropdownEntry(e){this.selectedConfig=e,this.hubTelemetry.emit(d.dictionary.category.interaction.action.open.label.modal.details.add),this.shouldShowModal=!0}get modalHeader(){if(this.selectedConfig){let e=this.selectedConfig.workflowConfig.workflow,t="content";return e==="create"?t=this.selectedConfig.entityType:e==="existing"&&(t=this.selectedConfig.workflowConfig.types.length===1?P(this.selectedConfig.workflowConfig.types[0]):"content"),this.intl.t(`${e}.${t}.modalTitle`)}}renderModalContent(){if(this.selectedConfig){let e=this.selectedConfig.workflowConfig;return a("arcgis-hub-add-content-workflow",{allowGroupSelection:this.allowGroupSelection,entity:this.entity,onArcgisHubAddContentWorkflowClose:this.handleClose,onArcgisHubAddContentWorkflowComplete:this.handleAddContentWorkflowComplete,showSiteTemplatesButton:this.showSiteTemplatesButton,site:this.site,workflowConfig:e})}}renderExternalDropdownItem(){let e=this._context.isPortal;return a("calcite-dropdown-item",{label:this.intl.t("create.external.title"),onCalciteDropdownItemSelect:this.handleExternalDropdownItemSelect,"selection-mode":"none"},a("div",{class:"dropdown-item"},a("div",{class:"dropdown-item-icon"},a("calcite-icon",{icon:e?"arcgis-data-store":"arcgis-online",scale:"m"})),a("div",{class:"dropdown-item-content"},a("div",null,this.intl.t("create.external.title")),a("div",null,e?this.intl.t("create.external.enterpriseDescription"):this.intl.t("create.external.description"))),a("div",{class:"dropdown-item-icon-end"},a("calcite-icon",{icon:"launch",scale:"s"}))))}renderDropdown(){return a(I,null,a("calcite-dropdown",{disabled:this.isDisabled,id:"add-content-dropdown","max-items":this.dropDownEntries.length,placement:"bottom-end"},this._renderButton({iconEnd:"chevron-down",onClick:this.handleDropdownButtonClick,slot:"trigger"}),a("calcite-dropdown-group",{"selection-mode":"none"},this.dropDownEntries.map(this.renderDropdownItem)),a("slot",{name:"dropdown-items"}),this.renderExternalDropdownItem()),this.tooltip&&a("calcite-tooltip",{label:this.intl.t("tooltip.label"),"reference-element":"add-content-dropdown"},a("span",null,this.tooltip)))}_renderButton(e={}){let t=Object.assign(Object.assign({round:!0},e),this.buttonProps);return a("calcite-button",Object.assign({},t),this._buttonText)}renderButton(){return this._renderButton({onClick:this.handleButtonClick})}render(){if(this.workflowConfig){let e=ce()?"m":"l";return a(w,{key:"06537be99ac008f2cb278cb028fb78213114253f","data-element":"add-entity"},this.specificEntityTypeToCreate?this.renderButton():this.renderDropdown(),a("arcgis-wormhole",{key:"28d752e83132eb548646c7624d6716218eb4ba12",elAttributes:{unthemed:"true"},styles:{"--calcite-dialog-background-color":"#fff","--calcite-dialog-min-size-y":"80vh"}},a("calcite-dialog",{key:"d7ae1ab9cf212c3af044cc85e025d252c6524e30","escape-disabled":!0,heading:this.modalHeader,headingLevel:3,modal:!0,onCalciteDialogClose:this.handleModalClose,open:this.shouldShowModal,"outside-close-disabled":!0,scale:e,widthScale:"l"},this.renderModalContent())))}}static get assetsDirs(){return["locales"]}get element(){return v(this)}static get watchers(){return{_context:["processConfiguration"],config:["processConfiguration"],query:["processConfiguration"],catalog:["processConfiguration"]}}};ti.style=Jt+ei;var $=class{constructor(t,i,s){this.overrideAllowGroupSelection=!1,this.isMobile=!1,this.context=i,this.workflowConfig=t,this.t=s?.t,this.overrideAllowGroupSelection=s?.allowGroupSelection,this.isMobile=s?.isMobile}get allowGroupSelection(){let t=!0;return this.workflowConfig.types.includes("Group")?t=!1:t=this.workflowConfig.groups?this.workflowGroupIds.length>=1:this.overrideAllowGroupSelection,t}get workflowGroupIds(){let t=this.workflowConfig.groups||{owner:[],admin:[],member:[]};return[...t.owner,...t.admin,...t.member]}start(){return this.reduce({tag:"Initialize"})}},c={isSelectContent:e=>e.tag==="SelectContent",isCreateContent:e=>e.tag==="CreateContent",isSelectGroups:e=>e.tag==="SelectGroups",isWorking:e=>e.tag==="Working",isConfirmation:e=>e.tag==="Confirmation",isFailure:e=>e.tag==="Failure",isNotImplemented:e=>e.tag==="NotImplemented"},X={tag:"SelectContent",component:"arcgis-hub-gallery",selectedContentIds:[],selectedGroupIds:[],stepIndex:0},ee={tag:"CreateContent",component:"arcgis-hub-entity-editor",configurationValues:{},selectedGroupIds:[],stepIndex:0},B={tag:"SelectGroups",component:"arcgis-hub-gallery",selectedContentIds:[],selectedGroupIds:[],stepIndex:1},g={isInitialize:e=>e.tag==="Initialize",isGallerySelectionChanged:e=>e.tag==="GallerySelectionChanged",isGalleryStateChanged:e=>e.tag==="GalleryStateChanged",isEntityEditorChanged:e=>e.tag==="EntityEditorChanged",isNextStep:e=>e.tag==="NextStep",isPreviousStep:e=>e.tag==="PreviousStep",isStepChanged:e=>e.tag==="StepChanged",isSuccess:e=>e.tag==="Success",isFailure:e=>e.tag==="Failure",isRetry:e=>e.tag==="Retry"},fe=class extends ${constructor(t,i,s){super(t,i,s),this.workflow="existing",this.defaultWorkingState=Qt(this.workflowConfig.targetEntity)}get entityI18nKey(){return we(this.workflowConfig.targetEntity)}get canAddOthersContent(){let t=this.workflowConfig.groups||{owner:[],admin:[],member:[]};return[...t.owner,...t.admin].length>1}get _reduceSelectContentTelemetry(){return this.allowGroupSelection?d.dictionary.category.interaction.action.open.label.stepper.details.selectGroups:void 0}_icon(t){return t?"check-circle":"exclamation-mark-triangle"}get _stepIndex(){return this.allowGroupSelection?2:1}_kind(t){return t?"success":"warning"}get _scale(){return this.isMobile?"s":"m"}_confirmationHelpStateHeading(t){return t?"successHeading":"failureHeading"}reduce(t,i){let s;if(i?c.isSelectContent(i)?s=this.reduceSelectContent(t,i):c.isSelectGroups(i)?s=this.reduceSelectGroups(t,i):c.isWorking(i)?s=this.reduceWorking(t,i):c.isFailure(i)&&(s=this.reduceFailure(t,i)):s=this.reduceInitial(t),s){let n=this.reduceSteps(t,s),o=this.reduceControls(t,s);return Object.assign(Object.assign(Object.assign({},s),n),o)}return y.warn(`reducer for workflow: ${this.workflow}, state: ${i.tag}, and action: ${t.tag} not implemented yet`),i}reduceInitial(t){if(g.isInitialize(t))return Object.assign(Object.assign({},X),{componentArgs:Et(this.context,{t:this.t,query:this.workflowConfig.query,canAddOthersContent:this.canAddOthersContent,isMobile:this.isMobile})})}reduceSelectContent(t,i){let{componentArgs:s,contentGalleryState:n,groupsGalleryState:o,selectedContentIds:r,selectedGroupIds:l,stepIndex:h}=i,p=this.workflowConfig.targetEntity;if(g.isGallerySelectionChanged(t))return s.gallerySelection=t.selected,Object.assign(Object.assign({},X),{componentArgs:s,contentGalleryState:n,groupsGalleryState:o,selectedContentIds:t.selected[p],selectedGroupIds:l,stepIndex:h});if(g.isGalleryStateChanged(t))return Object.assign(Object.assign({},X),{componentArgs:s,contentGalleryState:t.galleryState,groupsGalleryState:o,selectedContentIds:r,selectedGroupIds:l,stepIndex:h});if(g.isNextStep(t))return this.allowGroupSelection?Object.assign(Object.assign({},B),{componentArgs:It(this.context,{selectedGroupIds:i.selectedGroupIds,state:o,t:this.t,catalogGroupIds:this.workflowGroupIds,isMobile:this.isMobile}),contentGalleryState:n,groupsGalleryState:o,selectedContentIds:r,selectedGroupIds:l,telemetry:this._reduceSelectContentTelemetry}):Object.assign(Object.assign({},this.defaultWorkingState),{action:"addExistingContent",selectedContentIds:r,selectedGroupIds:l,stepIndex:1});if(g.isStepChanged(t)){if(t.stepIndex===i.stepIndex)return i;if(t.stepIndex===1)return this.reduceSelectContent({tag:"NextStep"},i);if(t.stepIndex===2)return Object.assign(Object.assign({},this.defaultWorkingState),{action:"addExistingContent",selectedContentIds:r,selectedGroupIds:l,stepIndex:t.stepIndex})}}reduceSelectGroups(t,i){let{componentArgs:s,contentGalleryState:n,groupsGalleryState:o,selectedContentIds:r,selectedGroupIds:l,stepIndex:h}=i;if(g.isGallerySelectionChanged(t))return s.gallerySelection=t.selected,Object.assign(Object.assign({},B),{componentArgs:s,contentGalleryState:n,groupsGalleryState:o,selectedGroupIds:t.selected.group,selectedContentIds:r,stepIndex:h});if(g.isGalleryStateChanged(t))return Object.assign(Object.assign({},B),{componentArgs:s,contentGalleryState:n,groupsGalleryState:t.galleryState,selectedContentIds:r,selectedGroupIds:l,stepIndex:h});if(g.isPreviousStep(t))return Object.assign(Object.assign({},X),{componentArgs:Et(this.context,{selectedContentIds:r,state:n,t:this.t,query:this.workflowConfig.query,canAddOthersContent:this.canAddOthersContent,isMobile:this.isMobile}),contentGalleryState:n,groupsGalleryState:o,selectedContentIds:r,selectedGroupIds:l,telemetry:d.dictionary.category.interaction.action.open.label.stepper.details.selectContent});if(g.isNextStep(t))return Object.assign(Object.assign({},this.defaultWorkingState),{action:"addExistingContent",selectedContentIds:r,selectedGroupIds:l,stepIndex:2,telemetry:d.dictionary.category.interaction.action.open.label.stepper.details.confirm});if(g.isStepChanged(t)){if(t.stepIndex===i.stepIndex)return i;if(t.stepIndex===0)return this.reduceSelectGroups({tag:"PreviousStep"},i);if(t.stepIndex===2)return this.reduceSelectGroups({tag:"NextStep"},i)}}reduceWorking(t,i){let{selectedContentIds:s,selectedGroupIds:n}=i;if(g.isSuccess(t)){let o=t.results.overallStatus==="success",r=this._icon(o),h=[this.workflow,this.entityI18nKey].filter(Boolean).join(".");return{tag:"Confirmation",component:"arcgis-hub-add-content-results",stepIndex:this._stepIndex,componentArgs:{workflow:this.workflow,results:t.results,icon:r,helpStateClass:this._kind(o),helpStateConfig:{heading:`${h}.${this._confirmationHelpStateHeading(o)}`,icon:r,isMain:!1,kind:this._kind(o),scale:this._scale}},telemetry:Object.assign(Object.assign({},d.dictionary.category.content.action.create),{response:d.constants.response.SUCCESS})}}if(g.isFailure(t))return{tag:"Failure",component:D,selectedContentIds:s,selectedGroupIds:n,stepIndex:this._stepIndex,componentArgs:{className:"danger",actionKey:"failure.action",headingKey:`failure.${this.workflow}.${this.entityI18nKey}.heading`,icon:"frown",kind:"danger",messageKey:`failure.${this.workflow}.${this.entityI18nKey}.message`,scale:this._scale},telemetry:Object.assign(Object.assign({},d.dictionary.category.content.action.create),{response:d.constants.response.FAILURE})}}reduceFailure(t,i){let{selectedContentIds:s,selectedGroupIds:n}=i;if(g.isRetry(t))return Object.assign(Object.assign({},this.defaultWorkingState),{action:"addExistingContent",selectedContentIds:s,selectedGroupIds:n,stepIndex:this._stepIndex})}reduceSteps(t,i){let s=i.selectedContentIds||[],n=i.selectedGroupIds||[],o=[{labelKey:`steps.select.${this.entityI18nKey}`,complete:c.isWorking(i)||c.isSelectGroups(i)||c.isConfirmation(i)||c.isFailure(i),disabled:c.isWorking(i)||c.isConfirmation(i)||c.isFailure(i),error:!1}];if(this.allowGroupSelection){let r=!0;c.isWorking(i)||c.isConfirmation(i)||c.isFailure(i)?r=!0:r=!s.length,o.push({labelKey:"steps.select.group",descriptionKey:"steps.selectGroups.description",complete:c.isWorking(i)||c.isConfirmation(i)||c.isFailure(i),disabled:r,error:!1})}return o.push({labelKey:"steps.confirmation",complete:c.isConfirmation(i),disabled:!c.isConfirmation(i)&&!c.isFailure(i)&&!c.isWorking(i)&&(!s.length||!n.length),error:c.isFailure(i)}),{steps:o}}reduceControls(t,i){let s=i.selectedContentIds||[],n=i.selectedGroupIds||[],o=!0;c.isSelectContent(i)?o=!s.length||!this.allowGroupSelection&&!n.length:c.isSelectGroups(i)&&(o=!n.length);let r=`controls.add.${this.entityI18nKey}`;return c.isSelectContent(i)&&this.allowGroupSelection&&(r="controls.next"),{controls:{back:{visible:c.isSelectGroups(i),labelKey:"controls.back"},selection:{visible:c.isSelectContent(i)||c.isSelectGroups(i),count:c.isSelectContent(i)?s.length:n.length},next:{visible:c.isSelectContent(i)||c.isSelectGroups(i),disabled:o,labelKey:r},cancel:{visible:c.isSelectContent(i)||c.isSelectGroups(i),labelKey:"controls.cancel"},close:{visible:c.isConfirmation(i)||c.isFailure(i)||c.isWorking(i),disabled:c.isWorking(i),labelKey:"controls.close"}}}}},be=class extends ${constructor(t,i,s){super(t,i,s),this.workflow="create",this.requireGroupSelection=!1,this.requireGroupSelection=!!this.workflowConfig.requireGroupSelection,this.entity=s?.entity,this.site=s?.site,this.defaultWorkingState=Yt(this.entityType)}get entityType(){let t=this.workflowConfig.types[0];return P(t)}reduce(t,i){let s;if(i?c.isCreateContent(i)?s=this.reduceCreateContent(t,i):c.isSelectGroups(i)?s=this.reduceSelectGroups(t,i):c.isWorking(i)?s=this.reduceWorking(t,i):c.isFailure(i)&&(s=this.reduceFailure(t,i)):s=this.reduceInitial(t),s){let n=this.reduceSteps(t,s),o=this.reduceControls(t,s);return Object.assign(Object.assign(Object.assign({},s),n),o)}return y.warn(`reducer for workflow: ${this.workflow}, state: ${i.tag}, and action: ${t.tag} not implemented yet`),i}get _scale(){return this.isMobile?"s":"m"}_kind(t){return t?"success":"warning"}get _stepIndex(){return this.allowGroupSelection?2:1}_icon(t){return t?"check-circle":"exclamation-mark-triangle"}get _editorTypeVersion(){return["initiative","project"].includes(this.entityType)?"2":""}get _reduceCreateContentTelemetry(){return this.allowGroupSelection?d.dictionary.category.interaction.action.open.label.stepper.details.selectGroups:void 0}_stepIsDisabled(t){return this.requireGroupSelection&&!t.length}get helpStateProps(){let t=`createHelpState.${this.entityType}.`;return{heading:this.t(`${t}heading`),icon:this.isMobile?null:Rt(this.entityType),isMain:!1,message:this.t(`${t}message`),scale:this._scale}}reduceInitial(t){if(g.isInitialize(t)){let{helpStateProps:i}=this,s=this._editorTypeVersion,n=`hub:${this.entityType}:create${s}`;return Object.assign(Object.assign({},ee),{componentArgs:{editorType:n,entity:Vt(this.entityType,ee.configurationValues,{entity:this.entity,site:this.site}),isOpen:!0,layout:"step",scale:"l"},helpStateProps:i})}}reduceCreateContent(t,i){let{componentArgs:s,configurationValues:n,groupsGalleryState:o,selectedGroupIds:r}=i;if(g.isEntityEditorChanged(t)){let{helpStateProps:l}=this;return Object.assign(Object.assign({},ee),{componentArgs:Object.assign({},s),configurationValues:t.configurationValues,helpStateProps:l,selectedGroupIds:r})}if(g.isNextStep(t))return this.allowGroupSelection?Object.assign(Object.assign({},B),{componentArgs:It(this.context,{selectedGroupIds:i.selectedGroupIds,state:o,t:this.t,catalogGroupIds:this.workflowGroupIds,isMobile:this.isMobile}),configurationValues:n,groupsGalleryState:o,selectedGroupIds:r,telemetry:this._reduceCreateContentTelemetry}):Object.assign(Object.assign({},this.defaultWorkingState),{action:"addNewContent",configurationValues:n,selectedGroupIds:r,stepIndex:1});if(g.isStepChanged(t)){if(t.stepIndex===i.stepIndex)return i;if(t.stepIndex===1)return this.reduceCreateContent({tag:"NextStep"},i);if(t.stepIndex===2)return Object.assign(Object.assign({},this.defaultWorkingState),{action:"addNewContent",configurationValues:n,selectedGroupIds:r,stepIndex:t.stepIndex})}}reduceSelectGroups(t,i){let{componentArgs:s,configurationValues:n,groupsGalleryState:o,selectedGroupIds:r,stepIndex:l}=i;if(g.isGallerySelectionChanged(t))return s.gallerySelection=t.selected,Object.assign(Object.assign({},B),{componentArgs:s,groupsGalleryState:o,configurationValues:n,selectedGroupIds:t.selected.group,stepIndex:l});if(g.isGalleryStateChanged(t))return Object.assign(Object.assign({},B),{componentArgs:s,configurationValues:n,groupsGalleryState:t.galleryState,selectedGroupIds:r,stepIndex:l});if(g.isPreviousStep(t)){let{helpStateProps:h}=this,p=this._editorTypeVersion,m=`hub:${this.entityType}:create${p}`;return Object.assign(Object.assign({},ee),{componentArgs:{context:this.context,editorType:m,entity:i.configurationValues.values,isOpen:!0,layout:"step"},configurationValues:i.configurationValues,groupsGalleryState:o,helpStateProps:h,selectedGroupIds:r})}if(g.isNextStep(t))return Object.assign(Object.assign({},this.defaultWorkingState),{action:"addNewContent",configurationValues:n,selectedGroupIds:r,stepIndex:2,telemetry:d.dictionary.category.interaction.action.open.label.stepper.details.confirm});if(g.isStepChanged(t)){if(t.stepIndex===i.stepIndex)return i;if(t.stepIndex===0)return this.reduceSelectGroups({tag:"PreviousStep"},i);if(t.stepIndex===2)return this.reduceSelectGroups({tag:"NextStep"},i)}}reduceWorking(t,i){var s,n,o,r,l,h,p;let{configurationValues:m,selectedGroupIds:b}=i;if(g.isSuccess(t)){let _=((s=t.results)===null||s===void 0?void 0:s.overallStatus)==="success",A=this._icon(_),T=[this.workflow,this.entityType],ne=_?[...T,"successMessage"].join("."):void 0;_?x(t,"results.groups.length")?T.push("successWithGroupHeading"):T.push("successWithoutGroupHeading"):T.push("failureHeading");let z="",Ce=(r=(o=(n=t.results)===null||n===void 0?void 0:n.entities)===null||o===void 0?void 0:o[0])===null||r===void 0?void 0:r.type,Wt=(p=(h=(l=t.results)===null||l===void 0?void 0:l.entities)===null||h===void 0?void 0:h[0])===null||p===void 0?void 0:p.isSharedUpdate;return Ce==="Group"?Wt&&(z="updateitemcontrol"):z=Ce,{tag:"Confirmation",component:"arcgis-hub-add-content-results",stepIndex:this._stepIndex,componentArgs:{workflow:this.workflow,results:t.results,icon:A,helpStateClass:this._kind(_),helpStateConfig:{heading:T.filter(Boolean).join("."),icon:A,kind:this._kind(_),message:ne,scale:this._scale}},telemetry:Object.assign(Object.assign({},d.dictionary.category.content.action.create),{label:z,response:d.constants.response.SUCCESS})}}if(g.isFailure(t))return{tag:"Failure",component:D,configurationValues:m,selectedGroupIds:b,stepIndex:this._stepIndex,componentArgs:{className:"danger",actionKey:"failure.action",headingKey:`failure.${this.workflow}.${this.entityType}.heading`,icon:"frown",kind:"danger",messageKey:`failure.${this.workflow}.${this.entityType}.message`,scale:this._scale},telemetry:Object.assign(Object.assign({},d.dictionary.category.content.action.create),{label:m.values.type,response:d.constants.response.FAILURE})}}reduceFailure(t,i){let{configurationValues:s,selectedGroupIds:n}=i;if(g.isRetry(t))return Object.assign(Object.assign({},this.defaultWorkingState),{action:"addNewContent",configurationValues:s,selectedGroupIds:n,stepIndex:this._stepIndex})}reduceSteps(t,i){let s=i.selectedGroupIds||[],n=i.configurationValues||{},o=[{labelKey:"steps.createContent",complete:c.isWorking(i)||c.isSelectGroups(i)||c.isConfirmation(i)||c.isFailure(i),disabled:c.isWorking(i)||c.isConfirmation(i)||c.isFailure(i),error:!1}];if(this.allowGroupSelection){let l=!0;c.isWorking(i)||c.isConfirmation(i)||c.isFailure(i)?l=!0:l=!i.configurationValues.isValid,o.push({labelKey:"steps.shareWithGroups.label",descriptionKey:`steps.shareWithGroups.description.${this.entityType}`,complete:c.isWorking(i)||c.isConfirmation(i)||c.isFailure(i),disabled:l,error:!1})}let r=!0;return c.isConfirmation(i)||c.isFailure(i)||c.isWorking(i)?r=!1:(c.isCreateContent(i)||c.isSelectGroups(i))&&(r=!n.isValid||this._stepIsDisabled(s)),o.push({labelKey:"steps.confirmation",complete:c.isConfirmation(i),disabled:r,error:c.isFailure(i)}),{steps:o}}reduceControls(t,i){let s=i.selectedGroupIds||[],n=!0;c.isCreateContent(i)?n=!x(i,"configurationValues.isValid"):c.isSelectGroups(i)&&(n=this._stepIsDisabled(s));let o="controls.create";return c.isCreateContent(i)&&this.allowGroupSelection&&(o="controls.next"),{controls:{back:{visible:c.isSelectGroups(i),labelKey:"controls.back"},selection:{visible:c.isSelectGroups(i),count:s.length},next:{visible:c.isCreateContent(i)||c.isSelectGroups(i),disabled:n,labelKey:o},cancel:{visible:c.isCreateContent(i)||c.isSelectGroups(i),labelKey:"controls.cancel"},close:{visible:c.isConfirmation(i)||c.isFailure(i)||c.isWorking(i),disabled:c.isWorking(i),labelKey:"controls.close"}}}}},ye=class extends ${reduce(t,i){let s;if(i||(s=this.reduceInitial(t)),s){let n=this.reduceSteps(t,s),o=this.reduceControls(t,s);return Object.assign(Object.assign(Object.assign({},s),n),o)}return y.warn(`reducer for workflow: not-implemented, state: ${i?.tag}, and action: ${t.tag} not implemented yet`),i}reduceInitial(t){if(g.isInitialize(t))return{tag:"NotImplemented",component:D,componentArgs:{className:"warning",headingKey:"notImplemented.heading",icon:"frown"},controls:{},configurationValues:{},selectedContentIds:[],selectedGroupIds:[],stepIndex:0,steps:[]}}reduceSteps(t,i){if(c.isNotImplemented(i))return{steps:[{labelKey:"steps.notImplemented",complete:!1,disabled:!1,error:!1}]}}reduceControls(t,i){if(c.isNotImplemented(i))return{controls:{back:{visible:!1,labelKey:"controls.back"},selection:{visible:!1,count:0},next:{visible:!1,disabled:!1,labelKey:"controls.next"},cancel:{visible:!1,labelKey:"controls.cancel"},close:{visible:!0,disabled:!1,labelKey:"controls.close"}}}}};async function ii(e,t,i){switch(e.workflow){case"existing":return new fe(e,t,i);case"create":return new be(e,t,i);default:return new ye(null,t,i)}}var si=".sc-arcgis-hub-add-content-workflow-h{display:flex;height:100%;flex-direction:column;justify-content:space-between;--gap:1rem;gap:var(--gap)}calcite-stepper.sc-arcgis-hub-add-content-workflow,calcite-stepper-item.sc-arcgis-hub-add-content-workflow{overflow:hidden}.sc-arcgis-hub-add-content-workflow-scroll-container{height:var(--scroll-container-height, 100%);overflow-y:auto}arcgis-hub-entity-editor.sc-arcgis-hub-add-content-workflow{max-width:60%;margin:0 auto}arcgis-configuration-editor-field.sc-arcgis-hub-add-content-workflow calcite-label.sc-arcgis-hub-add-content-workflow>span.sc-arcgis-hub-add-content-workflow:first-child{font-weight:var(--calcite-font-weight-bold)}arcgis-hub-help-state.danger.sc-arcgis-hub-add-content-workflow{--calcite-ui-icon-color:var(--calcite-color-status-danger)}arcgis-hub-help-state.warning.sc-arcgis-hub-add-content-workflow{--calcite-ui-icon-color:var(--calcite-color-status-warning)}.sc-arcgis-hub-add-content-workflow.browse-templates-button.sc-arcgis-hub-add-content-workflow{display:grid;justify-content:center}.sc-arcgis-hub-add-content-workflow-footer.sc-arcgis-hub-add-content-workflow{display:flex;align-items:center;justify-content:space-between;gap:0.5rem;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-start:var(--calcite-panel-content-space)}.sc-arcgis-hub-add-content-workflow-footer-start.sc-arcgis-hub-add-content-workflow,.sc-arcgis-hub-add-content-workflow-footer-end.sc-arcgis-hub-add-content-workflow{display:flex;align-items:center;gap:0.5rem;align-self:stretch;flex:0 1}.sc-arcgis-hub-add-content-workflow-footer-start.sc-arcgis-hub-add-content-workflow{flex:1}.sc-arcgis-hub-add-content-workflow-selection-count{display:flex;align-items:center;align-self:stretch;border-radius:0.25rem;padding-left:0.75rem;padding-right:0.75rem;background-color:var(--calcite-color-foreground-1);--calcite-label-margin-bottom:0;border:solid 1px var(--calcite-color-text-1)}[data-mobile].sc-arcgis-hub-add-content-workflow-h arcgis-hub-entity-editor.sc-arcgis-hub-add-content-workflow{max-width:80%}.sc-arcgis-hub-add-content-workflow-h[data-mobile] .sc-arcgis-hub-add-content-workflow-selection-count{padding-left:0.25rem;padding-right:0.25rem}",ni=si,ai=function(e,t,i,s){var n=arguments.length,o=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(o=(n<3?r(o):n>3?r(t,i,o):r(t,i))||o);return n>3&&o&&Object.defineProperty(t,i,o),o},At=class{constructor(e){S(this,e),this.arcgisHubAddContentWorkflowClose=u(this,"arcgisHubAddContentWorkflowClose",7),this.arcgisHubAddContentWorkflowComplete=u(this,"arcgisHubAddContentWorkflowComplete",7),this.hubTelemetry=u(this,"hubTelemetry",7),this.onFooterRef=t=>{this.footerElement=t},this.handleStepperItemChange=t=>{let{state:i}=this,n={tag:"StepChanged",stepIndex:Array.from(t.target.children).reduce((o,r,l)=>r.selected?l:o,-1)};this.state=this.machine.reduce(n,i)},this.handleBackButton=()=>{let{state:t}=this,i={tag:"PreviousStep"};this.state=this.machine.reduce(i,t)},this.handleNextButton=()=>{let{state:t}=this,i={tag:"NextStep"};this.state=this.machine.reduce(i,t)},this.handleCancelButton=()=>{this.arcgisHubAddContentWorkflowClose.emit()},this.handleBrowseTemplatesButton=()=>{this.hubTelemetry.emit(d.dictionary.category.interaction.action.open.label.modal.details.templates),this.arcgisHubAddContentWorkflowClose.emit()},this.handleCloseButton=()=>{this.arcgisHubAddContentWorkflowClose.emit()},this.workflowConfig=void 0,this.allowGroupSelection=!1,this.entity=void 0,this.site=void 0,this.showSiteTemplatesButton=void 0,this.machine=void 0,this.isMobile=!1,this.state=void 0}get _context(){return R()}componentDidRender(){requestAnimationFrame(()=>{this.handleResize()})}getStepperHeaderHeight(){var e,t;let i=95,s=this.element.querySelector(".sc-arcgis-hub-add-content-workflow-scroll-container");if(s){let n=(t=(e=s.closest("calcite-stepper-item"))===null||e===void 0?void 0:e.shadowRoot)===null||t===void 0?void 0:t.querySelector(".stepper-item-header");n&&(i=n.offsetHeight)}return i}handleResize(){var e;this.isMobile=ce();let t=this.isMobile?4:16;this.element.style.setProperty("--gap",`${t}px`);let i=((e=this.footerElement)===null||e===void 0?void 0:e.offsetHeight)||0,s=this.getStepperHeaderHeight();this.element.style.setProperty("--scroll-container-height",`${this.element.offsetHeight-s-8-i-t}px`)}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element),this.initMachine()}async initMachine(){let e={allowGroupSelection:this.allowGroupSelection,isMobile:this.isMobile,t:(t,i)=>this.intl.t(t,i),entity:this.entity,site:this.site};this.machine=await ii(this.workflowConfig,this._context,e),this.state=this.machine.start()}stateChanged(e){e.telemetry&&this.hubTelemetry.emit(e.telemetry),c.isWorking(e)&&e.action&&this[e.action](e),c.isConfirmation(e)&&this.arcgisHubAddContentWorkflowComplete.emit(e.componentArgs.results)}fetchContent(e){switch(this.workflowConfig.targetEntity){case"event":let t=e.selectedContentIds.map(s=>Ge(s,this._context.hubRequestOptions));return Promise.all(t);default:let i=e.selectedContentIds.map(s=>Le(s,this._context.hubRequestOptions));return Promise.all(i)}}async shareEntitiesWithGroups(e,t){let i=e.map(o=>Ae(o,this._context.hubRequestOptions)),s=await Promise.all(i);return await $e(s,t,this._context)}async addExistingContent(e){try{let t=await this.fetchContent(e),s={tag:"Success",results:await this.shareEntitiesWithGroups(e.selectedGroupIds,t)};this.state=this.machine.reduce(s,e)}catch(t){this.state=this.machine.reduce({tag:"Failure",error:t},e)}}async pollForContent(e){var t;let i={targetEntity:Ke(re(e)),filters:[{predicates:[{id:e.id}]}]},s={num:1,requestOptions:(t=this._context)===null||t===void 0?void 0:t.hubRequestOptions};return He(()=>H(i,s),n=>!!n.total)}async addNewContent(e){try{let i=await Be.fromEntity({type:this.workflowConfig.types[0]},this._context).save(f(e.configurationValues.values));if(await this.pollForContent(i),i.type==="Group"){let s={overallStatus:"success",groups:[],entities:[i],results:[],receipts:[]};await this._context.refreshUser();let n={tag:"Success",results:s};this.state=this.machine.reduce(n,e)}else{let n={tag:"Success",results:await this.shareEntitiesWithGroups(e.selectedGroupIds,[i])};this.state=this.machine.reduce(n,e)}}catch(t){this.state=this.machine.reduce({tag:"Failure",error:t},e)}}handleGalleryStateChange(e){if(!e.detail.isInitialization){let{state:t}=this,i={tag:"GalleryStateChanged",galleryState:e.detail};this.state=this.machine.reduce(i,t)}}handleGallerySelect(e){let{state:t}=this,i={tag:"GallerySelectionChanged",selected:e.detail};this.state=this.machine.reduce(i,t)}handleHelpStateActionClick(){let{state:e}=this;this.state=this.machine.reduce({tag:"Retry"},e)}handleEntityEditorChange(e){let{state:t}=this;this.state=this.machine.reduce({tag:"EntityEditorChanged",configurationValues:e.detail},t)}renderCurrentStep(e){var t;let{state:i}=this;if(i&&i.stepIndex===e){let s=[];if(i.helpStateProps&&s.push(a("arcgis-hub-help-state",Object.assign({class:"create-help-state"},i.helpStateProps))),i.component){let n=(t=i.componentArgs)===null||t===void 0?void 0:t.editorType;this.showSiteTemplatesButton&&n==="hub:site:create"&&s.push(a("calcite-button",{class:"browse-templates-button",href:"/edit/new/browse","icon-end":"launch",kind:"neutral",label:this.intl.t("controls.browseTemplates"),onClick:this.handleBrowseTemplatesButton,rel:"noopener noreferrer",round:!0,target:"_blank"},this.intl.t("controls.browseTemplates")));let o=Object.assign(Object.assign({},i.componentArgs),{t:r=>this.intl.t(r)});s.push(a(this.state.component,Object.assign({},o)))}return s}}renderSelectionCount(e){let{selection:t}=e.controls;if(t.visible){let i=t.limit?"selection.limited":"selection.unlimited";return a("div",{class:"sc-arcgis-hub-add-content-workflow-selection-count"},a("calcite-label",null,this.intl.t(i,t)))}}renderControls(e){let t=this.isMobile?"m":"l";return a("div",{class:"sc-arcgis-hub-add-content-workflow-footer",ref:this.onFooterRef},a("div",{class:"sc-arcgis-hub-add-content-workflow-footer-start"},e.controls.back.visible&&a("calcite-button",{apperance:"outline",disabled:e.controls.back.disabled,kind:"neutral",onClick:this.handleBackButton,round:!0,scale:t},this.intl.t(e.controls.back.labelKey)),this.renderSelectionCount(e)),a("div",{class:"sc-arcgis-hub-add-content-workflow-footer-end"},e.controls.cancel.visible&&a("calcite-button",{appearance:"outline",disabled:e.controls.cancel.disabled,onClick:this.handleCancelButton,round:!0,scale:t},this.intl.t(e.controls.cancel.labelKey)),e.controls.next.visible&&a("calcite-button",{disabled:e.controls.next.disabled,onClick:this.handleNextButton,round:!0,scale:t},this.intl.t(e.controls.next.labelKey)),e.controls.close.visible&&a("calcite-button",{disabled:e.controls.close.disabled,onClick:this.handleCloseButton,round:!0,scale:t},this.intl.t(e.controls.close.labelKey))))}render(){let{state:e}=this;if(e)return a(w,{key:"17d537147af8640d517e11ba794fb93ac06e8e78","data-element":"add-content-workflow","data-mobile":this.isMobile},a("calcite-stepper",{key:"aac1f9821ad119c12595ec32ed2daa6c3ddeb863",icon:!0,layout:this.isMobile?"horizontal-single":"horizontal",numbered:!0,onCalciteStepperChange:this.handleStepperItemChange,scale:this.isMobile?"s":"m"},e.steps.map((t,i)=>a("calcite-stepper-item",{complete:t.complete,description:t.descriptionKey?this.intl.t(t.descriptionKey):void 0,disabled:t.disabled,error:t.error,heading:this.intl.t(t.labelKey),key:t.labelKey,selected:e.stepIndex===i},a("div",{class:"sc-arcgis-hub-add-content-workflow-scroll-container"},this.renderCurrentStep(i))))),this.renderControls(e))}static get assetsDirs(){return["locales"]}get element(){return v(this)}static get watchers(){return{workflowConfig:["initMachine"],state:["stateChanged"]}}};ai([G({timeout:100})],At.prototype,"handleResize",null);At.style=ni;var O;(function(e){e.RECENT="recent",e.SEARCH="search",e.LOCATION="location"})(O||(O={}));function te(){return{recent:[],search:[],location:[]}}var N;(function(e){e.AUTO_SUGGEST="ESRI_HUB_AUTO_SUGGEST"})(N||(N={}));function W(){try{let e={recent:[]},t=localStorage.getItem(N.AUTO_SUGGEST);if(t){let i=ke(t);e=JSON.parse(i)}return e.recent}catch{throw new Error("Error getting recent matches from local storage")}}function oi(e,t=10){return W().filter(s=>s.label.toLowerCase().includes(e.toLowerCase().trim())).slice(0,t)}async function ri(e,t,i){let s=[];if(!e)throw new L("hubAutoSuggestResult","term is required");if(!t)throw new L("hubAutoSuggestResult","searchQuery is required");let n=li(t.targetEntity);if(!n.searchField)throw new L("hubAutoSuggestResult",`suggestField is not implemented for entity type ${t.targetEntity}`);let o=f(t);o.filters.push({predicates:[{[n.searchField]:e}]});let{results:r}=await H(o,i);return s=r.map(l=>{let h=oe(n,"resultField",n.searchField),p=l[h];if(!p)throw new Error(`suggestField "${h}" is not present in search result ${l.id}`);return{source:O.SEARCH,label:p,icon:Ne(l.type),description:l.type,result:l}}),s}function li(e){let t={searchField:null};switch(e){case"item":t={searchField:"title",resultField:"name"};break}return t}async function ci(e){if(!e.term)throw new L("fetchAutoSuggestMatches","term is required");let i=te();if(e.matchRecent&&(i.recent=oi(e.term,5)),e.matchSearch){let s={api:e.searchApi,requestOptions:x(e,"context.hubRequestOptions"),num:5,httpMethod:"POST"};i.search=await ri(e.term,e.query,s)}if(e.matchLocation)throw new L("fetchAutoSuggestMatches","Location matches are not yet implemented");return i}function hi(e){try{let s={recent:W().filter(o=>o.label!==e.label)},n=U(JSON.stringify(s));localStorage.setItem(N.AUTO_SUGGEST,n)}catch{y.error("Error removing recent match from local storage")}}function di(e){try{let t=W();if(!t.some(s=>s.label.toLowerCase()===e.label.toLowerCase())){t.unshift(e);let n=U(JSON.stringify({recent:t}));localStorage.setItem(N.AUTO_SUGGEST,n)}}catch{y.error("Error saving recent match to local storage")}}var ui=":host{display:block}.container{position:relative}.matches-dropdown{position:absolute;left:0px;right:0px;z-index:50;margin-top:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2)}.matches-section{padding:0.5rem}.matches-section:not(:last-of-type){border-bottom:1px solid #ECECEC}.section-header{line-height:1.5rem;font-style:italic;font-size:var(--calcite-font-size--1);color:var(--calcite-color-border-input)}:host([use-global-nav-text-color]) .section-header,:host([use-global-nav-text-color]) .matches-dropdown{color:var(--globalNavText)}arcgis-hub-auto-suggest-match:not(:last-of-type){margin-bottom:0.5rem}",pi=ui,gi=function(e,t,i,s){var n=arguments.length,o=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(o=(n<3?r(o):n>3?r(t,i,o):r(t,i))||o);return n>3&&o&&Object.defineProperty(t,i,o),o},Gt=class{constructor(e){S(this,e),this.inputChangeEvent=u(this,"arcgisHubAutoSuggestInputChange",7),this.matchSelectedEvent=u(this,"arcgisHubAutoSuggestMatchSelected",7),this.hubTelemetry=u(this,"hubTelemetry",7),this._minTermLength=3,this._numDefaultRecentMatches=3,this.term="",this.searchApi="portal",this.query=void 0,this.matchRecent=!1,this.matchSearch=!1,this.matchLocation=!1,this.clearButton=!1,this.searchButton=!1,this.showSearchIcon=!1,this.disableTelemetry=!1,this.placeholder=void 0,this.scale="l",this.readOnly=!1,this.useGlobalNavTextColor=!1,this.lastResponse=void 0,k(this,"setInputElement","refreshMatches","clearMatches","handleInputFocused","handleInputKeyDown","handleInputTyped","handleInputCommitted","handleMatchKeyDown","handleMatchSelected","handleRecentMatchRemoved","handleMatchTabOut")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element),this.lastResponse=te(),this.term&&(this.term=E(this.term))}preventClickPropagation(e){e.stopPropagation()}connectedCallback(){document.addEventListener("click",this.clearMatches)}disconnectedCallback(){document.removeEventListener("click",this.clearMatches)}get shouldShowRecentMatches(){return this.matchRecent&&!!this.lastResponse.recent.length}get shouldShowSearchMatches(){return this.matchSearch&&!!this.lastResponse.search.length}get shouldShowLocationMatches(){return this.matchLocation&&!!this.lastResponse.location.length}get shouldShowDropdown(){return this.shouldShowRecentMatches||this.shouldShowSearchMatches||this.shouldShowLocationMatches}get searchIcon(){return this.showSearchIcon?"search":null}get _placeholder(){return this.placeholder||this.intl.t("search")}handleTermInputChanged(e){e!==this.term&&(this.term=E(e),this.refreshMatches())}async setFocus(){var e;(e=this._inputElement)===null||e===void 0||e.setFocus()}setInputElement(e){this._inputElement=e}refreshMatches(){this._refreshMatches()}async _refreshMatches(){if((this.term||"").length<this._minTermLength){let e=te();this.matchRecent&&(e.recent=W().slice(0,this._numDefaultRecentMatches)),this.lastResponse=e}else this.term=E(this.term),this.lastResponse=await ci({term:this.term,searchApi:this.searchApi,query:this.query,matchRecent:this.matchRecent,matchSearch:this.matchSearch,matchLocation:this.matchLocation,context:R()})}clearMatches(){this.lastResponse=te()}handleInputFocused(){!this.shouldShowDropdown&&this.refreshMatches()}handleInputKeyDown(e){switch(e.key){case"Enter":this.handleInputCommitted();break;case"ArrowDown":if(this.shouldShowDropdown){e.preventDefault();let t=this.element.shadowRoot.querySelector("arcgis-hub-auto-suggest-match");t?.setFocus()}break;case"Escape":e.preventDefault(),this.clearMatches();break}}handleInputTyped(e){this.term=E(e.target.value),this.refreshMatches()}handleInputCommitted(){var e,t;if(this.term=E(this.term),this.matchRecent&&(!((e=this.term)===null||e===void 0)&&e.trim())){let i={label:this.term.trim(),source:O.RECENT,icon:"recent"};di(i)}this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.query),{search:(t=this.term)===null||t===void 0?void 0:t.trim()})),this.inputChangeEvent.emit(this.term),this.clearMatches()}async handleMatchKeyDown(e){let{event:t,match:i}=e.detail,s=Array.from(this.element.shadowRoot.querySelectorAll("arcgis-hub-auto-suggest-match")),n=s.findIndex(o=>o===e.target);switch(t.key){case"ArrowDown":{t.preventDefault();let o=n+1;o<s.length?s[o].setFocus():this._inputElement.setFocus();break}case"ArrowUp":{t.preventDefault();let o=n-1;if(o>=0){let r=s[o];r?.setFocus()}else this._inputElement.setFocus();break}case" ":{t.preventDefault(),this.term=i.label,await this._inputElement.setFocus(),this.clearMatches();break}case"Enter":{t.preventDefault(),this.selectMatch(i);break}case"Escape":{t.preventDefault(),await this._inputElement.setFocus(),this.clearMatches();break}}}handleMatchSelected(e){e.preventDefault();let t=e.detail;this.selectMatch(t)}selectMatch(e){let t=e.source===O.RECENT?d.dictionary.category.interaction.action.search.label.recent:d.dictionary.category.interaction.action.search.label.suggest;this.maybeSendTelemetry(Object.assign(Object.assign({},t),{details:e.label,search:this.term,position:this.lastResponse[e.source].findIndex(i=>i===e),count:this.lastResponse[e.source].length})),this.matchSelectedEvent.emit(e),this.term=E(e.label),this.clearMatches()}handleRecentMatchRemoved(e){var t;e.preventDefault();let i=e.detail;hi(i);let s=f(this.lastResponse);s.recent=((t=this.term)===null||t===void 0?void 0:t.length)>=this._minTermLength?s.recent.filter(n=>n.label!==i.label):W().slice(0,this._numDefaultRecentMatches),this.lastResponse=s}handleMatchTabOut(e){let t=Array.from(this.element.shadowRoot.querySelectorAll("arcgis-hub-auto-suggest-match"));t.findIndex(s=>s===e.target)+1>=t.length&&setTimeout(this.clearMatches,0)}maybeSendTelemetry(e){this.disableTelemetry||this.hubTelemetry.emit(e)}renderMatchesSection(e){return a("div",{class:"matches-section"},a("div",{class:"section-header"},this.intl.t(`sections.${e}`)),this.lastResponse[e].map(t=>a("arcgis-hub-auto-suggest-match",{key:t.label,match:t,onMatchKeyDown:this.handleMatchKeyDown,onMatchSelected:this.handleMatchSelected,onMatchTabOut:this.handleMatchTabOut,onRecentMatchRemoved:this.handleRecentMatchRemoved,term:this.term,useGlobalNavTextColor:this.useGlobalNavTextColor})))}render(){return a(w,{key:"123ae944d76ba44220d94ea1875b23b15807f635","data-element":"auto-suggest"},a("div",{key:"c379d734064bdf7321be82829903d36f6052e4cc",class:"container"},a("calcite-input",{key:"e241a50fec96439dcf81b9aef048c7e061ad4bcb",clearable:this.clearButton,icon:this.searchIcon,label:this._placeholder,onCalciteInputInput:this.handleInputTyped,onFocus:this.handleInputFocused,onKeyDown:this.handleInputKeyDown,placeholder:this._placeholder,readOnly:this.readOnly,ref:this.setInputElement,scale:this.scale,value:this.term},this.searchButton&&a("calcite-button",{onClick:this.handleInputCommitted,scale:this.scale,slot:"action"},this.intl.t("search"))),this.shouldShowDropdown&&a("div",{class:"matches-dropdown"},this.shouldShowRecentMatches&&this.renderMatchesSection(O.RECENT),this.shouldShowSearchMatches&&this.renderMatchesSection(O.SEARCH),this.shouldShowLocationMatches&&this.renderMatchesSection(O.LOCATION))))}static get assetsDirs(){return["locales"]}get element(){return v(this)}static get watchers(){return{term:["handleTermInputChanged"]}}};gi([G({timeout:100})],Gt.prototype,"refreshMatches",null);Gt.style=pi;function mi(e,t){let i=e;if(t){let s=e.toLowerCase(),n=t.toLowerCase(),o=[],r=s.indexOf(n);for(;r!==-1;)o.push(r),r=s.indexOf(n,r+1);let l=[],h=0,p=0;for(;h<e.length;)if(p<o.length){let m=o[p];if(h===m){let b=e.slice(h,h+t.length);l.push({type:"term",value:b}),h+=t.length,p++}else{let b=e.slice(h,m);l.push({type:"non-term",value:b}),h=m}}else{let m=e.slice(h);l.push({type:"non-term",value:m}),h=e.length}i=l.map(({type:m,value:b})=>m==="non-term"?`<b>${b}</b>`:b).join("")}return i}var fi=":host{display:flex;align-items:flex-start;gap:0.5rem}.match-icon{margin-top:0.25rem}.match-info{display:flex;min-width:0px;flex:1 1 0%;flex-direction:column}.match-link{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit;text-decoration:none}.match-link:hover,.match-link:focus{text-decoration:underline}.match-description{margin-top:-0.25rem;font-size:var(--calcite-font-size--1);color:var(--calcite-color-border-input)}:host([use-global-nav-text-color]) .match-description{color:var(--globalNavText)}.remove-match-button{margin-left:auto}",bi=fi,yi=class{setLinkElement(e){this._link=e}async setFocus(){this._link.focus()}constructor(e){S(this,e),this.matchSelected=u(this,"matchSelected",7),this.matchKeyDown=u(this,"matchKeyDown",7),this.recentMatchRemoved=u(this,"recentMatchRemoved",7),this.matchTabOut=u(this,"matchTabOut",7),this.match=void 0,this.term="",this.useGlobalNavTextColor=!1,k(this,"setLinkElement","handleMatchSelected","handleMatchKeyDown","handleRecentMatchRemoved","handleRemoveMatchButtonKeyDown")}get isRecentMatch(){return this.match.source===O.RECENT}handleMatchSelected(e){e.preventDefault(),this.matchSelected.emit(this.match)}handleMatchKeyDown(e){this.matchKeyDown.emit({event:e,match:this.match}),!this.isRecentMatch&&e.key==="Tab"&&!e.shiftKey&&this.matchTabOut.emit(this.match)}handleRecentMatchRemoved(){this.recentMatchRemoved.emit(this.match)}handleRemoveMatchButtonKeyDown(e){e.key==="Tab"&&!e.shiftKey&&this.matchTabOut.emit(this.match)}render(){let e=E(this.match.label),t=mi(e,this.term),i=a("a",{key:"c4d25b910222bd6d6b5e648d12a84639b68d4159",class:"match-link",href:"#",innerHTML:t,onClick:this.handleMatchSelected,onKeyDown:this.handleMatchKeyDown,ref:this.setLinkElement});return a(w,{key:"3f8a208dbaf9c453f3272e8b1f30f25a4dd3b082","data-element":"auto-suggest-match"},a("calcite-icon",{key:"7f6225b5b7c2139a4496f31ea6c1008839877f9d",class:"match-icon",icon:this.match.icon,scale:"s"}),a("div",{key:"aa76d11afa56ff173d2e0b5548680cae67e1fc8d",class:"match-info"},i,this.match.description&&a("div",{class:"match-description"},this.match.description)),this.isRecentMatch&&a("calcite-action",{class:"remove-match-button",icon:"x",onClick:this.handleRecentMatchRemoved,onKeyDown:this.handleRemoveMatchButtonKeyDown,scale:"s"}))}};yi.style=bi;var wi=":host{display:block}calcite-input-date-picker{--calcite-color-text-1:#151515;--calcite-color-brand:var(--calcite-color-text-1);--calcite-color-foreground-current:var(--calcite-color-foreground-3);--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3;--calcite-color-foreground-3:#eaeaea;--calcite-color-text-3:#6a6a6a;--calcite-color-border-input:#757575;--calcite-color-border-2:#4a4a4a}",Si=wi,Ci=function(e,t,i,s){var n=arguments.length,o=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(o=(n<3?r(o):n>3?r(t,i,o):r(t,i))||o);return n>3&&o&&Object.defineProperty(t,i,o),o},Lt=class{constructor(e){S(this,e),this.arcgisHubDateRangeFacetChange=u(this,"arcgisHubDateRangeFacetChange",7),this.facet=void 0,k(this,"handleDateRangeChange")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element)}changeDateRange(e={from:null,to:null}){this.arcgisHubDateRangeFacetChange.emit({key:this.facet.key,value:e})}handleDateRangeChange(e){e.preventDefault();let[t,i]=e.target.valueAsDate,s={from:t?.toISOString(),to:i?.toISOString()};Q(s)?this.changeDateRange(s):!t&&!i?this.changeDateRange():this.changeDateRange(s)}get _max(){return this.facet.max?new Date(this.facet.max).toISOString():void 0}get _value(){var e,t;let i=n=>`${n<10?"0":""}${n}`,s=n=>{if(!n)return null;let o=new Date(n);return[o.getFullYear(),i(o.getMonth()+1),i(o.getDate())].join("-")};return[(e=this.facet.value)===null||e===void 0?void 0:e.from,(t=this.facet.value)===null||t===void 0?void 0:t.to].map(s)}get _displayValidationMessage(){return!this._value[0]!=!this._value[1]}render(){return a(w,{key:"3538967be84b47d0ffc547d79599b49a69e33a00","data-element":"date-range-facet"},a("calcite-input-date-picker",{key:"7f99124703945f00b178e3266cdd89d1772ba9c1","aria-describedby":"date-range-facet-validation-message",label:this.intl.t("inputDatePickerLabel"),layout:"vertical",max:this._max,onCalciteInputDatePickerChange:this.handleDateRangeChange,range:!0,scale:"m",status:this._displayValidationMessage?"invalid":"idle",value:this._value}),this._displayValidationMessage&&a("calcite-input-message",{icon:"x-octagon",id:"date-range-facet-validation-message",status:"invalid"},this.intl.t("validationMessage")))}static get assetsDirs(){return["locales"]}get element(){return v(this)}};Ci([Z("facet")],Lt.prototype,"_value",null);Lt.style=Si;var Ht=e=>{let t=vi(e),i=M(t);return i.length===1?i[0]:t},vi=e=>{let t={label:"root",children:{},option:null};return e.forEach(i=>{let s=i.key.slice(1).split("/");Dt(t,i,s)}),t},Dt=(e,t,i)=>{if(!i.length)e.label=t.label,e.option=t;else{let s=i.shift(),n=e.children[s]||{label:s,children:{},option:null};e.children[s]=n,Dt(n,t,i)}},jt=e=>!!M(e).length,M=e=>Object.values(e.children),Bt=e=>{let t=e.option.selected;return jt(e)?t&&M(e).every(Bt):t},zt=(e,t)=>(e.option._telemetryIndex=t,a("calcite-tree-item",{"data-key":e.option.key,selected:e.option.selected},a("div",{class:"option-label"},e.label),jt(e)&&a("calcite-tree",{slot:"children"},M(e).map(i=>zt(i,t))))),ki=(e,t)=>{let i=e.filter(o=>!t.includes(o)),s=t.filter(o=>!e.includes(o)),n=null;return i.length?n={operation:"removed",keys:i}:s.length&&(n={operation:"added",keys:s}),n},Pt=e=>{let t=e.split("/");return t[t.length-1]},xi=e=>e.reduce((t,i)=>{let s=[];switch(i.display){case"single-select":s=_i(i);break;case"multi-select":s=Oi(i);break;case"tree":s=Ti(i);break;case"date-range":s=Ei(i);break}return[...t,...s]},[]),_i=e=>e.options.filter(t=>t.selected&&t._unrecognized).map(t=>({key:e.key,label:e.label,optionKey:t.key,optionLabel:t.label})),Oi=e=>e.options.filter(t=>t.selected).map(t=>{let i=Y(t.label);return{key:e.key,label:e.label,optionKey:t.key,optionLabel:i}}),Ti=e=>{let t=e.options.filter(r=>!r._unrecognized),i=Ht(t),s=M(i).map(r=>Kt(e,r)).flat();return[...e.options.filter(r=>r.selected&&r._unrecognized).map(r=>({key:e.key,label:e.label,optionKey:r.key,optionLabel:r.label})),...s]};function Kt(e,t){let i=[];return t.option.selected&&i.push({key:e.key,label:e.label,optionKey:t.option.key,optionLabel:Y(t.option.label)}),Bt(t)||M(t).forEach(s=>{let n=Kt(e,s);i=i.concat(n)}),i}var Ei=e=>{let t=e.value||{};if(!t.from||!t.to)return[];let i=Te(),s=new Date(e.value.from).toLocaleDateString(i.locale),n=new Date(e.value.to).toLocaleDateString(i.locale);return[{key:e.key,optionKey:e.key,optionLabel:`${s} - ${n}`}]},Mi=(e,t)=>{let i;switch(e.display){case"single-select":i=Fi(e,t);break;case"multi-select":i=Ii(e,t);break;case"tree":i=Ri(e,t);break;case"date-range":i=Ai(e,t);break}return i},Fi=(e,t)=>{let i=f(e),s=i.options.find(o=>o.key===t.optionKey&&o._unrecognized);s.selected=!1;let n=i.options.find(o=>!o._unrecognized);return n.selected=!0,{updatedFacet:i,dismissedKeys:[t.optionKey]}},Ii=(e,t)=>{let i=f(e);return i.options.forEach(s=>{s.key===t.optionKey&&(s.selected=!1)}),{updatedFacet:i,dismissedKeys:[t.optionKey]}},Ri=(e,t)=>{let i=f(e),s=i.options.find(l=>l.key===t.optionKey),n=[],o=!1;s._unrecognized||(n=i.options.filter(l=>!l._unrecognized&&l.key!==t.optionKey&&l.key.includes(t.optionKey)),o=!!n.length&&n.every(l=>l.selected));let r=[];return s.selected=!1,r.push(s.key),o&&n.forEach(l=>{l.selected=!1,r.push(l.key)}),{updatedFacet:i,dismissedKeys:r}},Ai=(e,t)=>{let i=f(e);return i.value.from=null,i.value.to=null,{updatedFacet:i,dismissedKeys:[t.optionKey]}},Gi=(e,t)=>(Ue(e)?t.map(Pt):t).join(", "),Li=":host{display:block}.header-container{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.header-container calcite-button{font-size:1rem}calcite-accordion{--calcite-internal-accordion-item-padding:.75rem 0rem}calcite-accordion-item{border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-color-border-2)}@media (max-width: 1200px){calcite-accordion-item[is-map]{display:none}}calcite-chip{margin-bottom:0.5rem;max-width:100%}calcite-chip:nth-last-of-type(1){margin-bottom:1.25rem}.additional-facet-container{--calcite-font-size--1:var(--calcite-font-size-0);}.facet-popover-content{text-align:center;font-weight:var(--calcite-font-weight-light);font-size:1rem}calcite-tooltip{max-width:13rem}.facet-popover-trigger{margin-inline-start:.375rem}",Hi=Li,Di=class{constructor(e){S(this,e),this.arcgisHubFacetListChange=u(this,"arcgisHubFacetListChange",7),this.arcgisHubFacetListReset=u(this,"arcgisHubFacetListReset",7),this.hubTelemetry=u(this,"hubTelemetry",7),this.showChips=!1,this.facets=[],this.disableTelemetry=!1,this.resultsCount=void 0,k(this,"resetFacets","onChipClose")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element)}maybeSendTelemetry(e){this.disableTelemetry||this.hubTelemetry.emit(e)}onListFacetChange(e){e.preventDefault(),this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.filter),{details:e.detail.checked?`${e.detail.key}: ${e.detail.optionKey}`:`${e.detail.key}: Removed ${e.detail.optionKey}`,element:e.detail.key,position:e.detail.optionIndex}));let t=We(this.facets).find(i=>i.key===e.detail.key);t.options=t.options.map(i=>(i.key===e.detail.optionKey?i.selected=e.detail.checked:t.display==="single-select"&&(i.selected=!1),i)),this.arcgisHubFacetListChange.emit(t)}onTreeFacetChange(e){let t=qe(this.facets).find(n=>n.key===e.detail.key),{optionKeys:i}=e.detail,s=i.map(Pt).join(", ");this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.filter),{details:e.detail.selected?`${e.detail.key}: ${s}`:`${e.detail.key}: Removed ${s}`,element:e.detail.key,position:e.detail.topLevelIndex})),t.options=t.options.map(n=>(i.includes(n.key)&&(n.selected=e.detail.selected),n)),this.arcgisHubFacetListChange.emit(t)}onDateRangeFacetChange(e){let{detail:{key:t,value:i}}=e,s=de(this.facets).find(n=>n.key===t);Q(i)&&this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.filter),{details:d.constants.details.DATE_UPDATED,element:s.key})),s.value=i,this.arcgisHubFacetListChange.emit(s)}onMapFacetChange(e){let{detail:{key:t,value:i}}=e,s=V(this.facets).find(n=>n.key===t);s.value=i,this.arcgisHubFacetListChange.emit(s)}onChipClose(e){let t=this.facets.findIndex(n=>n.key===e.key),{updatedFacet:i,dismissedKeys:s}=Mi(this.facets[t],e);this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.filter),{details:`${i.key}: Removed ${Gi(i,s)}`,element:d.constants.element.CHIPS})),this.facets[t]=i,this.arcgisHubFacetListChange.emit(i)}resetFacets(){this.arcgisHubFacetListReset.emit()}get chips(){return xi(this.facets)}renderFacets(){return this.facets.map(e=>!Ve(e)||e.options.length>1?a("calcite-accordion-item",{expanded:e.state!=="closed",heading:e.label,"is-map":Qe(e),key:e.key},this.renderFacetComponent(e),this.renderFacetTooltip(e)):null)}renderFacetComponent(e){switch(e.display){case"single-select":case"multi-select":return a("arcgis-hub-facet-options",{"data-test":e.key,facet:e});case"date-range":return a("arcgis-hub-date-range-facet",{"data-test":e.key,facet:e});case"tree":return a("arcgis-hub-tree-facet",{"data-test":e.key,facet:e});case"map":return a("arcgis-hub-map-facet",{"data-test":e.key,facet:e,resultsCount:this.resultsCount})}}renderFacetTooltip(e){let t=`popover-toggle-${e.key}`;return e.tooltip&&a("div",{slot:"actions-end"},a("calcite-action",{appearance:"transparent",icon:"information-f",id:t,label:"info tooltip",scale:"s"}),a("calcite-tooltip",{label:`${e.key} info`,overlayPositioning:"fixed",placement:"bottom-end",referenceElement:t},a("span",{class:"facet-popover-content"},e.tooltip)))}renderChips(){return this.chips.map(e=>{let t=e.label?`${e.label}: ${e.optionLabel}`:`${e.optionLabel}`,i=this.onChipClose.bind(this,e);return a("calcite-chip",{closable:!0,"data-test":t,key:e.optionKey,label:t,messageOverrides:{dismissLabel:this.intl.t("dismissLabel",{label:t})},onCalciteChipClose:i,scale:"m",value:t},t)})}render(){return a(w,{key:"8c4e6d07f41c0c755477915c43c6cdebbcf56f47"},a("div",{key:"095fd157d6c7dddb99bdec6fd09651ba53319b25",class:"header-container",id:"filters-header"},a("slot",{key:"dec4fcf0210ed243c1dc939850b1e261da748ae7",name:"header"}),a("calcite-button",{key:"6437d3f24e54f41cacd22d3ae39a29ff1de37c4e",appearance:"transparent","aria-labelledby":"filters-header",class:"reset-facets-button",kind:"neutral",onClick:this.resetFacets,round:!0},this.intl.t("reset"))),this.showChips?this.renderChips():"",a("calcite-accordion",{key:"95d14336df4fe06d3ae3f236d1543b80cd817a12",appearance:"transparent",scale:"l"},a("div",{key:"db64639db8425f3d28985eba277d1065717f0f81",class:"additional-facet-container"},a("slot",{key:"b3ad2ea3a766574098d7eff3907ef3d5b15ea8d6",name:"additional-facet"})),this.renderFacets()))}static get assetsDirs(){return["locales"]}get element(){return v(this)}};Di.style=Hi;var ji=":host{display:block}calcite-input{--calcite-color-foreground-1:var(--hub-gallery-input-background);--calcite-color-text-1:var(--hub-gallery-input-text)}.option-search-bar{margin-bottom:0.75rem}.option{line-height:normal;overflow-wrap:anywhere;hyphens:auto}.option-container{display:flex;gap:0.5rem}.option-container calcite-checkbox{margin-top:0.125rem}calcite-radio-button-group>calcite-label,fieldset>calcite-label{--calcite-font-size--1:var(--calcite-font-size-0)}fieldset{border:0px;padding:0px}legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media (max-width: 576px){calcite-label{padding-top:0.5rem}calcite-label{padding-bottom:0.5rem}}.more-or-less-container{width:100%;display:flex;flex-direction:row-reverse}",Bi=ji,zi=function(e,t,i,s){var n=arguments.length,o=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(o=(n<3?r(o):n>3?r(t,i,o):r(t,i))||o);return n>3&&o&&Object.defineProperty(t,i,o),o},$t=class{constructor(e){S(this,e),this.arcgisHubFacetOptionsChange=u(this,"arcgisHubFacetOptionsChange",7),this.arcgisHubFacetMoreLessClicked=u(this,"arcgisHubFacetMoreLessClicked",7),this.pageSize=5,this.facet=void 0,this.showLimitedOptions=!1,this.query="",k(this,"handleCalciteRadioButtonChangeEvent","handleCalciteCheckboxChangeEvent","toggleMoreOrLessButton","handleCalciteInputInput","setPageSeparator")}async componentWillLoad(){this.facet.optionLimit&&(this.pageSize=this.facet.optionLimit),this.intl=await C.loadIntlForComponent(this.element),this.facet.options.length>this.pageSize&&(this.showLimitedOptions=!0)}updateQuery(){this.query=this._query}handleCalciteInputInput(e){this._query=e.target.value,this.updateQuery()}handleCalciteRadioButtonChangeEvent(e){this.onFacetChanged(e.target.id,e.target.checked)}handleCalciteCheckboxChangeEvent(e,t){this.onFacetChanged(t.target.id,t.target.checked,e)}onFacetChanged(e,t,i){this.arcgisHubFacetOptionsChange.emit({key:this.facet.key,optionKey:e,checked:t,optionIndex:i})}get filteredOptions(){return this.facet.options.filter(({_unrecognized:e,label:t})=>!e&&t.toLowerCase().includes(this.query.toLowerCase()))}get orderedOptions(){switch(this.facet.orderBy){case"label":return this.filteredOptions.slice().sort((e,t)=>e.label.localeCompare(t.label));case"none":return this.filteredOptions;case"count":default:return this.filteredOptions.slice().sort((e,t)=>{var i,s;return((i=t.count)!==null&&i!==void 0?i:0)-((s=e.count)!==null&&s!==void 0?s:0)})}}setPageSeparator(e){this.pageSeparator=e}renderCheckboxes(){let e=this.orderedOptions.map((n,o)=>{let r=n.count?`${n.key}:${n.count}`:n.key,l=this.handleCalciteCheckboxChangeEvent.bind(this,o);return a("calcite-label",{key:r},a("div",{class:"option-container"},a("calcite-checkbox",{checked:n.selected,id:n.key,name:n.label,onCalciteCheckboxChange:l}),a("span",{class:"option"},n.label)))}),t=e.slice(0,this.pageSize),i=this.showLimitedOptions?[]:e.slice(this.pageSize);return[...t,a("span",{key:"page-separator",ref:this.setPageSeparator,tabIndex:-1}),...i]}toggleMoreOrLessButton(){this.arcgisHubFacetMoreLessClicked.emit({facet:this.facet,isMore:this.showLimitedOptions}),this.showLimitedOptions=!this.showLimitedOptions,this.renderCheckboxes(),this.pageSeparator.focus()}get optionsLeftToDisplay(){return this.filteredOptions.length-this.pageSize}get moreOrLessButtonIconEnd(){return this.showLimitedOptions?"chevron-down":"chevron-up"}get moreOrLessButtonLabel(){return this.showLimitedOptions?this.intl.t("showMore",{num:this.optionsLeftToDisplay}):this.intl.t("showLess")}get showNoMatchesNotice(){return this.facet.display==="multi-select"&&!this.filteredOptions.length}renderMoreOrLessButton(){if(this.facet.display==="multi-select"&&this.filteredOptions.length>this.pageSize)return a("div",{class:"more-or-less-container"},a("calcite-button",{appearance:"transparent",color:"blue","icon-end":this.moreOrLessButtonIconEnd,kind:"neutral",label:this.intl.t("moreOrLessButtonLabel",{moreOrLess:this.moreOrLessButtonLabel,label:this.facet.label}),onClick:this.toggleMoreOrLessButton,round:!0},this.moreOrLessButtonLabel))}renderRadioButtons(){return this.facet.options.filter(e=>!e._unrecognized).map(e=>a("calcite-label",{key:e.key,layout:"inline"},a("calcite-radio-button",{checked:e.selected,id:e.key,name:e.label,onCalciteRadioButtonChange:this.handleCalciteRadioButtonChangeEvent,value:e.key}),a("span",{class:"option"},e.label)))}renderNoMatchesNotice(){return this.showNoMatchesNotice&&a("calcite-notice",{id:"no-match-notice",open:!0,width:"full"},a("div",{slot:"message"},this.intl.t("noMatchesNotice")))}render(){let e=this.facet.display==="multi-select",t=e&&this.facet.options.length>5;return a(w,{key:"3ac82e9bd1fa4743bc28f95fe742d573a286460c","data-element":"facet-options"},t&&a("calcite-input",{"aria-label":this.intl.t("inputAriaLabel",{label:this.facet.label}),"aria-labelledby":this.showNoMatchesNotice?"no-match-notice":null,class:"option-search-bar",clearable:!0,onCalciteInputInput:this.handleCalciteInputInput,placeholder:this.intl.t("inputPlaceholder")}),e?a("fieldset",{"data-test":"options-container"},a("legend",null,this.facet.label),this.renderCheckboxes()):a("calcite-radio-button-group",{"data-test":"options-container",layout:"vertical",name:"facet-group"},this.renderRadioButtons()),this.renderMoreOrLessButton(),a("div",{key:"b5622f3a6fa172f2794e7197b4d21b2b8f97f638","aria-live":"polite",role:"status"},this.renderNoMatchesNotice()))}static get assetsDirs(){return["locales"]}get element(){return v(this)}};zi([G({timeout:750})],$t.prototype,"updateQuery",null);$t.style=Bi;var ie;(function(e){e.asc="asc",e.desc="desc"})(ie||(ie={}));var Pi=`:host{display:flex;flex-direction:column;gap:1.25rem;--hub-gallery-input-background:#fff;--hub-gallery-input-text:#151515;--hub-gallery-font-size-large:var(--calcite-font-size-1);--hub-gallery-bulk-actions-bottom:4rem}:host(:not([show-results])) .gallery-main,:host(:not([show-results])) .gallery-list{height:100%}:host([show-facets]) arcgis-hub-facet-list~.gallery-list{flex:0 0 calc(75% - 1.25rem);max-width:calc(75% - 1.25rem)}:host([show-facets]) arcgis-hub-facet-list{flex:0 0 calc(25% - 1.25rem);max-width:calc(25% - 1.25rem)}h1,h2,h3,h4,h5,h6{font-family:var(--hub-heading-family, inherit);font-weight:var(--calcite-font-weight-bold)}.gallery-main{display:flex;flex-direction:row;align-items:flex-start;column-gap:2.5rem}.gallery-list{display:flex;width:100%;flex-direction:column;gap:1.25rem;padding-bottom:2px;}:host([layout="table"]) .gallery-list{overflow-x:scroll}.gallery-list-footer{display:flex;justify-content:space-between}.gallery-list-header{display:flex;flex-wrap:wrap-reverse;align-items:center;justify-content:space-between}.results-count-container{grid-area:resultsCount}.list-header-controls-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0.5rem;grid-area:sortAndLayout;margin-inline-start:auto}.bulk-actions{position:fixed;z-index:10}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -10px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}.bulk-actions{animation:in-down 300ms ease-in-out forwards;align-self:center;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);bottom:var(--hub-gallery-bulk-actions-bottom)}.bulk-actions.sticky{position:sticky;top:1rem;bottom:auto}.bulk-actions .selection-count{display:flex;align-self:center;padding-left:1rem;padding-right:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.bulk-actions calcite-dropdown-item>div{display:flex;flex-direction:column;gap:0.25rem}.bulk-actions calcite-dropdown-item>div div:first-child{font-weight:var(--calcite-font-weight-medium)}.layout-option{height:100%}.actions-popover-container{margin-inline-start:1rem}.actions-popover-content{padding:0.5rem}.gallery-list>.results-count{margin-top:1.25rem}.no-results-action-container{display:grid;justify-content:center}.search-bar{margin-bottom:0px}.search-sort{margin-bottom:0px}.results-count{display:flex;align-items:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal);margin-block-start:0.83em;margin-block-end:0.83em;margin-inline-start:0px;margin-inline-end:0px}[slot="header"]{font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium)}.loading-link-button{position:relative}.loading-link-button:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}.loading-link-button:after{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3)}.loading-link-button{margin-top:1rem;height:2rem}.result-top{position:absolute}.layout-switcher-container{display:flex;align-items:center}.result-bottom{position:absolute}[slot="additional-facet"] calcite-accordion{--calcite-internal-accordion-item-padding:.75rem 0rem}.dropdown-item{display:flex;flex-direction:row;align-items:center}.dropdown-item-icon{height:3.5rem;width:3.5rem;display:flex;align-items:center;background-color:var(--calcite-color-background);margin-right:0.75rem}.dropdown-item-icon calcite-icon{width:70px}.dropdown-item-content{display:flex;flex-direction:column;word-break:break-word;white-space:normal}.dropdown-item-content :first-child{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.dropdown-item-content :last-child{color:(--calcite-color-text-2)}calcite-dropdown{display:var(--arcgis-hub-add-content-dropdown-display, inline-block)}`,Ki=Pi,Se=function(e,t,i,s){var n=arguments.length,o=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(o=(n<3?r(o):n>3?r(t,i,o):r(t,i))||o);return n>3&&o&&Object.defineProperty(t,i,o),o},se=class{get _include(){return this.include?this.include.split("|"):[]}get _activeSortOption(){var e;let t=(e=this._sortOptions)===null||e===void 0?void 0:e.find(i=>i.attribute===this.sortField);return t&&Object.assign(Object.assign({},t),{order:this.sortOrder})}constructor(e){S(this,e),this.hubTelemetry=u(this,"hubTelemetry",7),this.arcgisHubGallerySelect=u(this,"arcgisHubGallerySelect",7),this.arcgisHubGalleryQueryChange=u(this,"arcgisHubGalleryQueryChange",7),this.arcgisHubGalleryStateChange=u(this,"arcgisHubGalleryStateChange",7),this.arcgisHubGalleryLayoutChange=u(this,"arcgisHubGalleryLayoutChange",7),this.arcgisHubGalleryResultsChange=u(this,"arcgisHubGalleryResultsChange",7),this.arcgisHubGalleryAction=u(this,"arcgisHubGalleryAction",7),this.arcgisHubContentGalleryFacetModalClose=u(this,"arcgisHubContentGalleryFacetModalClose",7),this.arcgisHubGalleryBulkAction=u(this,"arcgisHubGalleryBulkAction",7),this.arcgisHubGalleryExecutedQuerySize=u(this,"arcgisHubGalleryExecutedQuerySize",7),this.arcgisHubGalleryError=u(this,"arcgisHubGalleryError",7),this.renderBulkAction=t=>{var i;let s={active:t.loading,icon:t.icon,key:t.key,loading:t.loading,text:t.text,textEnabled:!0,disabled:t.disabled},n,o=`bulk-action-${t.key}`;return t.name&&!t.children?n=a("calcite-action",Object.assign({id:o,onClick:t.handler},s)):t.children&&(n=a("calcite-dropdown",{"width-scale":"m"},a("calcite-action",Object.assign({},s,{id:o,slot:"trigger"})),a("calcite-dropdown-group",{selectionMode:"none"},t.children.map(r=>a("calcite-dropdown-item",{key:r.key,onCalciteDropdownItemSelect:r.handler},a("div",null,a("div",null,r.text),a("div",null,r.helperText))))))),a(I,null,n,((i=t.tooltip)===null||i===void 0?void 0:i.text)&&a("calcite-tooltip",{label:t.tooltip.label||t.tooltip.text,placement:"top","reference-element":o},a("span",null,t.tooltip.text)))},this._context=R(),this.term=void 0,this.baseUrl=void 0,this.path="",this.linkTarget="self",this.api=void 0,this.limit=10,this.sortField=null,this.sortOrder=null,this.sortByIds=void 0,this.layout="list",this.layoutOptions=["grid","list","table"],this.showThumbnail=!0,this.imageType=Me.thumbnail,this.lazy=!1,this.showSort=!1,this.showSearch=!1,this.matchRecent=!1,this.matchSearch=!1,this.showChips=!1,this.showFacets=!1,this.newTab=!1,this.selectionMode="none",this.bulkActions={position:"bottom",actions:[]},this.showMoreResultsBtn=!1,this.showResultsCount=!1,this.showBackToTopBtn=!1,this.query=void 0,this.facets=[],this.galleryType=void 0,this.cardTitleTag=void 0,this.include="",this.showAddContentTemplatesDropdown=void 0,this.state={},this.corners=Ee.square,this.showAdditionalInfo=!0,this.showEmptyState=!0,this.disableTelemetry=!1,this.shadow=void 0,this.showLinkButton=!1,this.linkButtonText=void 0,this.linkButtonStyle=void 0,this.mobileView=!1,this.showAddContent=!1,this.addContentProps={},this.showFacetModal=!1,this._shouldShowFacetModal=!1,this.showBadges=!0,this.showType=!0,this.showOwner=!0,this.showLayoutSwitcher=!1,this.mapSettings=void 0,this.galleryMapSettings=ot,this.expand=void 0,this.showResults=!0,this.disableMapMouseWheelZoom=!1,this.additionalFacet=void 0,this.gallerySelection=void 0,this._gallerySelection=void 0,this.cardActionLinks=[],this.callback=void 0,this.sortOptions=void 0,this.primaryActionsToRender=1,this.tableColumns=void 0,this.reorderable=!1,this.ignoreContentCreatedEvent=!1,this.isInitialized=!1,this.isSearching=!1,this.actions=[],this.searchResults=[],this.error=void 0,this._facets=void 0,k(this,"changeSortField","fetchMore","actionHandler","closeFacetModal","onFacetModalClose","onFacetModalOpen","onFacetChange","resetFacets","backToTop","setResultTopSpan","logGalleryActionsTelemetry","handleSearchChange","handleMatchSelected","handleHubTelemetry","openFacetModal","handleLayoutChange")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element),this._facets=this.buildFacets(),this.initialize()}buildFacets(){var e;let t=(e=this.getActiveQuery())===null||e===void 0?void 0:e.targetEntity,i=lt(this.facets,this._context,this.intl);return ct(i,t)}async initialize(){try{this.error=null,this.isInitialized=!1,delete this.element.dataset.testReady,this.query||(this.query={targetEntity:this.galleryType||"item",filters:[{predicates:[{term:this.term}]}]}),this.setSortOptions(this.sortOptions),(!this.gallerySelection||!Object.entries(this.gallerySelection).length)&&(this.gallerySelection=f(ue)),this._facets&&await this.fetchDynamicFacetOptions(),Object.keys(this.state).length>0&&(this.applySerializedState(this.state),this._facets&&this.updateFacetCounts()),this.arcgisHubGalleryStateChange.emit(Object.assign(Object.assign({},this.serializedGalleryState),{isInitialization:!0})),this._gallerySelection=f(this.gallerySelection),this.prepareAndExecuteSearch()}catch(e){this.handleError("We are sorry but component could not initialize. Please try again.",e,"initialization")}}connectedCallback(){J(this)}disconnectedCallback(){this.disconnectContext()}async handleContextChange(){this._facets&&await this.fetchDynamicFacetOptions(),this.prepareAndExecuteSearch()}fetchFacetsAndSearch(){this._fetchFacetsAndSearch()}async _fetchFacetsAndSearch(){this._facets=this.buildFacets(),this._facets&&(await this.fetchDynamicFacetOptions(),this.applySerializedState({}),this.arcgisHubGalleryStateChange.emit(this.serializedGalleryState)),this.prepareAndExecuteSearch()}async updateFacetCounts(){try{let e=this._aggSearchOptions.map(n=>{let o=n.aggFields[0];return o==="categories"?null:H(this.getActiveQuery(o),n)}).filter(Boolean),i=(await Promise.all(e)).map(n=>{let o=new Map;n.aggregations[0].values.map(h=>{o.set(h.value.toLowerCase(),h.count)});let r=n.aggregations[0].field,l=f(j(this._facets).find(h=>h.key===r));return l.orderBy="none",l.options.map(h=>{h.count=o.get(h.key.toLowerCase())||0,h.label=Y(h.label),h.label=tt(h.label,h.count,this.intl)}),l}),s=new Map(i.map(n=>[n.key,n]));this._facets=this._facets.map(n=>s.get(n.key)||n)}catch(e){throw new Error(`Error dynamically loading facet aggregations: ${e}`)}}async prepareAndExecuteSearch(){await this.search(this.getActiveQuery(),this._searchOptions),this.isInitialized&&this.updateFacetCounts(),this.isInitialized=!0}onStateChanged(){Ze(this.serializedGalleryState,this.state)&&(this.applySerializedState(this.state),this.prepareAndExecuteSearch())}onGallerySelectionChanged(e){this._gallerySelection=Object.assign({},e)}async refresh(){this.error=null;let t=(Math.ceil(this.searchResults.length/this.limit)||1)*this.limit,i=Object.assign(Object.assign({},this._searchOptions),{num:t});this.search(this.getActiveQuery(),i),this.isInitialized&&this.updateFacetCounts()}async clearSelection(){this.gallerySelection=f(ue)}setResultTopSpan(e){this.resultTopSpan=e}applySerializedState(e){let t=Je(this.galleryState,e);t.term!==this.term&&(this.term=t.term),t.sort&&(this.sortField=t.sort.attribute,this.sortOrder=t.sort.order),t.facets&&(this._facets=t.facets),t.layout&&(this.layout=t.layout)}get _baseUrl(){return this.baseUrl?this.baseUrl:Fe(this._context,window)}get _aggFields(){return j(this._facets).reduce((e,t)=>(t.field&&e.push(t.field),e),[])}get _aggFieldBatches(){let e=[];for(let i=0;i<this._aggFields.length;i+=3)e.push(this._aggFields.slice(i,i+3));return e}get _aggLimit(){return j(this._facets).reduce((e,t)=>(t.aggLimit&&t.aggLimit>e&&(e=t.aggLimit),e),10)}get hasSearchResults(){return this.lastSearchResponse&&!!this.searchResults.length}get activeFacetFilters(){let e=[];return j(this._facets).forEach(t=>{var i;let s=(i=t.options)===null||i===void 0?void 0:i.reduce((n,o)=>(o.selected&&(n=[...n,...o.predicates]),n),[]);if(s?.length){let n={operation:t.operation,predicates:s};e.push(n)}}),e}get activeDateRangeFilters(){let e=[];return de(this._facets||[]).forEach(i=>{if(i.value&&Q(i.value)){let s={from:Date.parse(i.value.from),to:Date.parse(i.value.to)},n={operation:"OR",predicates:[{[i.field]:s}]};e.push(n)}}),e}get activeMapFilters(){let e=[];return V(this._facets||[]).forEach(i=>{if(i.value){let s={operation:"OR",predicates:[{[i.field]:q(i.value)}]};e.push(s)}}),e}get hasError(){return!!this.error}async fetchDynamicFacetOptions(){if(this._aggSearchOptionBatches.length)try{let e=this._aggSearchOptionBatches.map(s=>H(this.query,s));(await Promise.all(e)).reduce((s,{aggregations:n})=>{if(n){let o=nt(n);s=s.concat(o)}return s},[]).forEach(s=>{let n=j(this._facets).find(o=>o.field===s.field);if(n){let o=it(s,this.intl);n.options=o}}),this._facets=this._facets.map(s=>f(s))}catch(e){throw new Error(`Error loading facet options: ${e}`)}}async search(e,t){try{this.isSearching=!0;let i=await H(e,t);i.results=he(this.path,i.results),this.lastSearchResponse=i,this.arcgisHubGalleryResultsChange.emit(i.results),i.executedQuerySize&&this.arcgisHubGalleryExecutedQuerySize.emit(i.executedQuerySize);let{sortByIds:s}=this,n=i.results;s&&s.length&&(n=i.results.slice().sort((o,r)=>{let l=s.includes(o.id)?s.indexOf(o.id):1/0,h=s.includes(r.id)?s.indexOf(r.id):1/0;return l-h})),this.searchResults=n,this.element.dataset.testReady=""}catch(i){this.handleError("We are sorry but search ran into an error. Please try again.",i,"search")}this.isSearching=!1}async fetchMore(){this.isSearching=!0;let e=Math.ceil(this.searchResults.length/this.limit);this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.loadMore),{search:F(this.serializedGalleryState),element:d.constants.element.RESULTS_LIST,position:e,count:this.lastSearchResponse.total}));try{this.lastSearchResultsCount=this.searchResults.length,this.lastSearchResponse=await this.lastSearchResponse.next(),this.lastSearchResponse.results=he(this.path,this.lastSearchResponse.results),this.searchResults=[...this.searchResults,...this.lastSearchResponse.results]}catch(t){y.error(`Unable to fetch more results: ${t}`)}this.isSearching=!1}backToTop(){var e;this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.backToTop),{element:d.constants.element.BACK_TO_TOP})),(e=this.resultTopSpan)===null||e===void 0||e.focus({preventScroll:!0}),this.element.parentElement?this.element.parentElement.scrollIntoView({behavior:"smooth"}):this.element.scrollIntoView({behavior:"smooth"})}get _searchOptions(){var e;return{api:this.api,num:this.limit,sortField:this.sortField,sortOrder:ie[this.sortOrder],include:this._include,requestOptions:(e=this._context)===null||e===void 0?void 0:e.hubRequestOptions,httpMethod:"POST"}}get _baseAggregationOptions(){var e;return{api:this.api,num:1,include:[],requestOptions:(e=this._context)===null||e===void 0?void 0:e.hubRequestOptions,aggLimit:this._aggLimit,httpMethod:"POST"}}get _aggSearchOptionBatches(){return this._aggFieldBatches.map(e=>Object.assign(Object.assign({},this._baseAggregationOptions),{aggFields:e}))}get _aggSearchOptions(){return this._aggFields.map(e=>Object.assign(Object.assign({},this._baseAggregationOptions),{aggFields:[e]}))}get galleryState(){return{term:this.term,sort:this._activeSortOption,facets:this._facets,layout:this.layout}}get serializedGalleryState(){return Re(et(this.galleryState))}get _hasSlottedGalleryActions(){return!!this.element.querySelector('[slot="gallery-actions"]')}sendMoreLessClickTelemetry(e){let{facet:t,isMore:i}=e.detail;this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.filter),{details:i?d.constants.details.MORE:d.constants.details.LESS,search:F(this.serializedGalleryState),element:t.key,count:this.lastSearchResponse.total}))}cardSelect(e){e.stopPropagation();let t=e.detail.id,i=this._gallerySelection[this.query.targetEntity];i.includes(t)?this._gallerySelection[this.query.targetEntity]=xe(i,e.detail.id):this.selectionMode==="single"?this._gallerySelection[this.query.targetEntity]=[e.detail.id]:this._gallerySelection[this.query.targetEntity]=[...i,e.detail.id],this._gallerySelection=f(this._gallerySelection),this.arcgisHubGallerySelect.emit(this._gallerySelection)}getActiveQuery(e){var t;let i=f(this.query);this.term&&i.filters.push({predicates:[{term:this.term}]});let s=this.activeFacetFilters.filter(n=>!(e in n.predicates[0]));if(s.length&&(i.filters=[...i.filters,...s]),this.activeDateRangeFilters.length&&(i.filters=[...i.filters,...this.activeDateRangeFilters]),this.activeMapFilters.length&&(i.filters=[...i.filters,...this.activeMapFilters]),!i?.filters.length&&((t=this.query)===null||t===void 0?void 0:t.targetEntity)==="user"&&i.filters.push({predicates:[{term:""}]}),this.gallerySelection&&_e(Object.values(this.gallerySelection)).length){for(let[n,o]of Object.entries(this.gallerySelection))if(n===i.targetEntity){let r="id";(n==="communityUser"||n==="portalUser"||n==="groupMember"||n==="user")&&(r="username"),i.filters.push({predicates:[{[r]:{not:[...o]}}]})}}return i}handleError(e,t,i){var s;this.error=t,this.searchResults=[],this.isInitialized=!0,y.warn(e,t),this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.query),{details:`Failure: ${i} : ${t.message}`,search:F(this.serializedGalleryState),count:((s=this.lastSearchResponse)===null||s===void 0?void 0:s.total)||0})),this.arcgisHubGalleryError.emit()}handleSearchChange(e){e.stopPropagation(),this.searchTerm(e.detail)}searchTerm(e){this.term!==e&&(this.term=e,this.arcgisHubGalleryStateChange.emit(this.serializedGalleryState),this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.query),{details:F(this.serializedGalleryState),search:this.term,element:d.constants.element.ON_PAGE})))}handleMatchSelected(e){let t=e.detail;switch(t.source){case"recent":let i=t;this.searchTerm(i.label);break;case"search":this.handleSearchMatchSelected(t);break;case"location":y.warn("Location matches are not yet supported");break}}handleSearchMatchSelected(e){if(!["none","event"].includes(this.linkTarget)){let t=De(e.result,this.linkTarget,this._baseUrl);st(t)}}onFacetChange(e){e.stopPropagation();let t=f(e.detail),i=this._facets.map(s=>s.key===t.key?Object.assign(Object.assign({},s),t):s);this._facets=i,this.arcgisHubGalleryStateChange.emit(this.serializedGalleryState),this.prepareAndExecuteSearch()}resetFacets(){var e;this.hubTelemetry.emit(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.filter),{details:d.constants.details.RESET,search:F(this.serializedGalleryState),element:d.constants.element.RESET_FILTERS,count:(e=this.lastSearchResponse)===null||e===void 0?void 0:e.total})),this._facets=this._facets.map(Xe),this.arcgisHubGalleryStateChange.emit(this.serializedGalleryState),this.prepareAndExecuteSearch()}handleHubTelemetry(e){Ie(e.detail,d.dictionary.category.interaction.action.search.label.query)&&e.stopPropagation()}maybeSendTelemetry(e){this.disableTelemetry||this.hubTelemetry.emit(e)}changeSortField(e){this.sortField=e.detail.attribute,this.sortOrder=e.detail.order,this.arcgisHubGalleryStateChange.emit(this.serializedGalleryState),this.prepareAndExecuteSearch()}renderSearch(){if(this.showSearch)return a("arcgis-hub-auto-suggest",{class:"search-bar",clearButton:!0,disableTelemetry:this.disableTelemetry,matchRecent:this.matchRecent,matchSearch:this.matchSearch,onArcgisHubAutoSuggestInputChange:this.handleSearchChange,onArcgisHubAutoSuggestMatchSelected:this.handleMatchSelected,onHubTelemetry:this.handleHubTelemetry,query:this.query,searchApi:this.api,showSearchIcon:!0,term:this.term})}renderMobileFacetsTrigger(){var e;if(this.mobileView&&(!((e=this._facets)===null||e===void 0)&&e.length))return a("calcite-button",{appearance:"transparent",iconStart:"filter",label:this.intl.t("filter"),onClick:this.openFacetModal,scale:"l"})}handleLayoutChange(e){var t;let{selectedItems:[{dataset:{value:i}}]}=e.target;this.layout=i,this.maybeSendTelemetry(Object.assign(Object.assign({},d.dictionary.category.interaction.action.search.label.view),{element:d.constants.element.VIEW_BUTTON,details:`${Pe(this.layout)} View`,search:F(this.serializedGalleryState),count:((t=this.lastSearchResponse)===null||t===void 0?void 0:t.total)||0})),this.arcgisHubGalleryLayoutChange.emit(this.layout),this.arcgisHubGalleryStateChange.emit(this.serializedGalleryState)}renderLayoutSwitcher(){let{layout:e}=this,t={compact:"list-bullet","grid-filled":"ungroup-layout-elements"};if(this.showLayoutSwitcher&&!this.mobileView){let i=this.layoutOptions.map(s=>{let n=t[s]||s;return a("calcite-dropdown-item",{"data-value":s,"icon-start":n,key:s,label:this.intl.t(`layoutOptions.${s}.sr`),selected:e===s},this.intl.t(`layoutOptions.${s}.label`))});return a("calcite-dropdown",{label:this.intl.t(`layoutOptions.${e}.sr`),onCalciteDropdownSelect:this.handleLayoutChange},a("calcite-button",{appearance:"outline","icon-end":"chevron-down","icon-start":t[e]||e,kind:"neutral",round:!0,slot:"trigger"},this.intl.t(`layoutOptions.${e}.label`)),a("calcite-dropdown-group",null,i))}}renderMoreResultsBtn(){var e;if(this.showMoreResultsBtn&&(!((e=this.lastSearchResponse)===null||e===void 0)&&e.hasNext))return a("calcite-button",{appearance:"outline-fill",disabled:this.isSearching,kind:"neutral",onClick:this.fetchMore,round:!0},this.intl.t("moreResults"))}renderBackToTopBtn(){if(this.showBackToTopBtn&&this.hasSearchResults)return a("calcite-button",{appearance:"transparent",class:"back-to-top-btn","icon-end":"arrow-up",kind:"neutral",onClick:this.backToTop,round:!0},this.intl.t("backToTop"))}setSortOptions(e){let t={relevance:{attribute:null,label:"Relevance",defaultOrder:null,order:null},title:{attribute:"title",label:"Title",defaultOrder:"asc",order:"asc"},created:{attribute:"created",label:"Date Created",defaultOrder:"desc",order:"desc"},startDate:{attribute:"startDate",label:"Date",defaultOrder:"desc",order:"desc"},modified:{attribute:"modified",label:"Date Updated",defaultOrder:"desc",order:"desc"},username:{attribute:"username",label:"Username",defaultOrder:"asc",order:"asc"},firstName:{attribute:"firstName",label:"First name",defaultOrder:"desc",order:"desc"},lastName:{attribute:"lastName",label:"Last name",defaultOrder:"desc",order:"desc"},joined:{attribute:"joined",label:"Date Joined",defaultOrder:"desc",order:"desc"},memberType:{attribute:"membertype",label:"Role",defaultOrder:"desc",order:"desc"}},i=this.query.targetEntity==="event"?["startDate","title","created","modified"]:["relevance","title","created","modified"];if(e=e||i,this._sortOptions=e.map(s=>t[s]),this.sortField==="relevance"&&(this.sortField=null,this.sortOrder=null),this.showSort){let s=this._sortOptions.map(n=>n.attribute);s.includes(this.sortField)||(this.sortField=s[0]),!this.sortOrder&&this.sortField&&(this.sortOrder=this._sortOptions.find(n=>n.attribute===this.sortField).defaultOrder)}}updateSortOptions(){this.setSortOptions(this.sortOptions)}renderSort(){if(this.showSort&&this.hasSearchResults)return a("arcgis-hub-search-sort",{activeSortOption:this._activeSortOption,class:"search-sort",onHubSearchSortChange:this.changeSortField,sortOptions:this._sortOptions})}handleFacetModalChange(e){this._shouldShowFacetModal=e}openFacetModal(){this._shouldShowFacetModal=!0}closeFacetModal(){this._shouldShowFacetModal=!1}onFacetModalClose(e){e.stopPropagation(),this.closeFacetModal(),this.arcgisHubContentGalleryFacetModalClose.emit()}onFacetModalOpen(e){e.stopPropagation(),this.hubTelemetry.emit(d.dictionary.category.interaction.action.open.label.sheet.details.filters)}renderFacets(){if(this.showFacets)return this.mobileView?this.renderMobileFacets():this.renderDesktopFacets(this._facets)}renderDesktopFacets(e=[]){var t;if(e?.length||this.additionalFacet)return a("arcgis-hub-facet-list",{disableTelemetry:this.disableTelemetry,facets:e,onArcgisHubFacetListChange:this.onFacetChange,onArcgisHubFacetListReset:this.resetFacets,resultsCount:((t=this.lastSearchResponse)===null||t===void 0?void 0:t.total)||0,showChips:this.showChips},a("div",{slot:"additional-facet"},this.additionalFacet),this.mobileView?"":a("h2",{class:"facet-list-header",slot:"header"},this.intl.t("filter")))}renderMobileFacets(){var e;let t=this._facets.map(i=>f(Object.assign(Object.assign({},i),{accordionClosed:!1})));return a("arcgis-wormhole",null,a("calcite-dialog",{heading:this.intl.t("filter"),modal:!0,onCalciteDialogClose:this.onFacetModalClose,onCalciteDialogOpen:this.onFacetModalOpen,open:this._shouldShowFacetModal,scale:"s"},this.renderDesktopFacets(t),a("calcite-button",{onClick:this.closeFacetModal,slot:"footer-end",width:"full"},this.intl.t("viewResults",{numResults:(e=this.lastSearchResponse)===null||e===void 0?void 0:e.total}))))}actionHandler(e){this.arcgisHubGalleryAction.emit(e.detail)}get resultsComponent(){let e="arcgis-hub-gallery-layout-list";switch(this.layout){case"calendar":e="arcgis-hub-gallery-layout-calendar";break;case"map":e="arcgis-hub-gallery-layout-map";break;case"compact":e="arcgis-hub-gallery-layout-compact";break;case"table":e="arcgis-hub-gallery-layout-table";break;default:e="arcgis-hub-gallery-layout-list"}return e}getMapProps(e){let i=this.resultsComponent==="arcgis-hub-gallery-layout-map",s={};return i||(s={initialExtent:e,shouldFilterByExtent:!!this.activeMapFilters.length,shouldShowFilterByExtent:Ye(this._facets)&&this.showResults}),s}renderResults(){let{hasError:e,layout:t,showResults:i}=this,s=i;if(t==="map"&&(s=!e),s){let[n]=V(this._facets||[]),o;if(n){let{value:p}=n;o=p&&new qt(ae(p))}let{searchResults:r}=this,l=this.resultsComponent,h=this.getMapProps(o);return a(I,null,a(l,Object.assign({"aria-label":this.intl.t("resultsSection"),baseUrl:this._baseUrl,callback:this.callback,cardActionLinks:this.cardActionLinks,cardTitleTag:this.cardTitleTag,columns:this.tableColumns,corners:this.corners,disableMouseWheelZoom:this.disableMapMouseWheelZoom,disableTelemetry:this.disableTelemetry,entityType:this.query.targetEntity,expand:this.expand,galleryMapSettings:this.galleryMapSettings,hasError:e,imageType:this.imageType},h,{lastSearchResultsCount:this.lastSearchResultsCount,layout:this.layout,lazy:this.lazy,limit:this.limit,linkButtonStyle:this.linkButtonStyle,linkButtonText:this.linkButtonText,linkTarget:this.linkTarget,loading:!1,mapSettings:this.mapSettings,newTab:this.newTab,primaryActionsToRender:this.primaryActionsToRender,reorderable:this.reorderable,searchResults:r,selectedIds:this._gallerySelection[this.query.targetEntity],selectionMode:this.selectionMode,shadow:this.shadow,shouldShowResults:this.showResults,showAdditionalInfo:this.showAdditionalInfo,showBadges:this.showBadges,showEmptyState:this.showEmptyState,showLinkButton:this.showLinkButton,showOwner:this.showOwner,showThumbnail:this.showThumbnail,showType:this.showType}),a("slot",{name:"search-error-action",slot:"search-error-action"}),a("slot",{name:"no-results-action",slot:"no-results-action"})),!!r.length&&this.renderResultsCount(),!!r.length&&this.renderListFooter())}}renderMain(){return a("div",{class:"gallery-list"},this.renderListHeader(),this.renderBulkActions(),a("span",{class:"result-top",ref:this.setResultTopSpan,tabIndex:-1}),this.renderResults())}renderListHeader(){let e=this.renderResultsCount(),t=this.renderSort()||this.renderLayoutSwitcher()||this.renderGalleryActionsPopover()||this.renderAddContent();if(e||t)return a("div",{class:"gallery-list-header"},e&&a("div",{"aria-live":"polite",class:"results-count-container",role:"status"},this.renderResultsCount()),t&&a("div",{class:"list-header-controls-container"},this.renderAddContent(),this.renderSort(),this.renderMobileFacetsTrigger(),this.renderLayoutSwitcher(),this.renderGalleryActionsPopover()))}async handleEntityCreated(e){this.ignoreContentCreatedEvent||je(re(e.detail.entities[0]))===this.query.targetEntity&&await this.refresh()}renderAddContent(){if(this.showAddContent)return a("arcgis-hub-add-content",Object.assign({query:this.query},this.addContentProps),this.showAddContentTemplatesDropdown&&a("div",{slot:"dropdown-items"},a("calcite-dropdown-item",{href:`${window.location.origin}/content/edit/new/browse?source=org`,label:this.intl.t("addContentTemplatesDropdown.label"),"selection-mode":"none",target:"_blank"},a("div",{class:"dropdown-item"},a("div",{class:"dropdown-item-icon"},a("calcite-icon",{icon:"templates",scale:"m"})),a("div",{class:"dropdown-item-content"},a("div",null,this.intl.t("addContentTemplatesDropdown.label")),a("div",null,this.intl.t("addContentTemplatesDropdown.description")))))))}get selectable(){return this.selectionMode!=="none"}get selectionCount(){var e;return(e=this._gallerySelection[this.query.targetEntity])===null||e===void 0?void 0:e.length}get hasSelection(){return!!this.selectionCount}get _bulkActions(){var e;let t=s=>{s=Object.assign({},s),s.name&&(s.handler=this.handleBulkAction.bind(this,s));let{name:n,args:o}=s;return s.key=U(JSON.stringify({name:n,args:o})),s};return(((e=this.bulkActions)===null||e===void 0?void 0:e.actions)||[]).map(s=>(s=t(s),s.children&&(s.children=s.children.map(t)),s))}async handleBulkAction(e){let t=this._gallerySelection[this.query.targetEntity];if(e&&t.length){let{name:i,args:s}=e;this.arcgisHubGalleryBulkAction.emit({action:{name:i,args:s},selection:t})}}renderBulkActions(){if(this.hasSelection&&this._bulkActions.length){let e={"bulk-actions":!0,sticky:this.bulkActions.position==="top"};return a("calcite-action-pad",{class:e,"expand-disabled":!0,expanded:!0,layout:"horizontal",scale:"s"},a("div",{class:"selection-count"},this.intl.t("selected",{count:this.selectionCount})),this._bulkActions.map(this.renderBulkAction))}}renderGalleryActionsPopover(){let e;return this._hasSlottedGalleryActions&&(e=a("div",{class:"actions-popover-container"},a("calcite-popover",{"auto-close":!0,label:this.intl.t("galleryActionsLabel"),overlayPositioning:"fixed",placement:"bottom-end",referenceElement:"gallery-actions-toggle"},a("div",{class:"actions-popover-content"},a("slot",{name:"gallery-actions"}))),a("calcite-button",{appearance:"transparent","icon-start":"ellipsis",id:"gallery-actions-toggle",kind:"neutral",label:this.intl.t("popoverActionButtonLabel"),onClick:this.logGalleryActionsTelemetry,round:!0,scale:"m"}))),e}logGalleryActionsTelemetry(){this.maybeSendTelemetry(Object.assign({},d.dictionary.category.interaction.action.search.label.action.details.overflow))}renderListFooter(){if(this.renderMoreResultsBtn()||this.renderBackToTopBtn())return a("div",{class:"gallery-list-footer"},a("div",null,this.renderMoreResultsBtn()),a("div",null,this.renderBackToTopBtn()))}renderResultsCount(){if(this.showResultsCount&&this.hasSearchResults)return a("p",{class:"results-count"},this.intl.t("resultsCount",{pageTotal:this.searchResults.length,searchTotal:this.lastSearchResponse.total}))}renderGallery(){return this.renderGalleryDefault()}renderGalleryDefault(){return a(I,null,this.renderSearch(),a("slot",{name:"collection-select"}),a("div",{class:"gallery-main","data-searching":this.isSearching?"true":null},this.renderFacets(),this.renderMain()),a("slot",{name:"click-actions"}))}renderLoadingScreen(){let e=this.resultsComponent;return a("slot",{name:"loading-screen"},a(e,{layout:this.layout,loading:!0,showLinkButton:this.showLinkButton,showOwner:this.showOwner,showType:this.showType}))}render(){return a(w,{key:"a4305f90fd8713a2badcfeb69f607c8f091025a2"},this.isInitialized?this.renderGallery():this.renderLoadingScreen())}static get assetsDirs(){return["assets","locales"]}get element(){return v(this)}static get watchers(){return{_context:["handleContextChange"],query:["fetchFacetsAndSearch","updateSortOptions"],facets:["fetchFacetsAndSearch"],term:["prepareAndExecuteSearch"],limit:["prepareAndExecuteSearch"],state:["onStateChanged"],gallerySelection:["onGallerySelectionChanged"],showFacetModal:["handleFacetModalChange"]}}};Se([G({timeout:100})],se.prototype,"fetchFacetsAndSearch",null);Se([G({timeout:100})],se.prototype,"prepareAndExecuteSearch",null);Se([Z("bulkActions")],se.prototype,"_bulkActions",null);se.style=Ki;var $i=':host{text-align:center;display:flex;flex-direction:column;align-items:center}:host([scale="s"]){font-size:0.75rem}:host([scale="s"]) calcite-icon,:host([scale="s"]) img{height:9rem;width:auto}:host([scale="s"]) calcite-loader{--calcite-loader-size:9rem}:host([scale="m"]){font-size:1rem}:host([kind="brand"]) calcite-icon#help-icon{color:var(--calcite-color-brand)}:host([kind="info"]) calcite-icon#help-icon{color:var(--calcite-color-status-info)}:host([kind="success"]) calcite-icon#help-icon{color:var(--calcite-color-status-success)}:host([kind="warning"]) calcite-icon#help-icon{color:var(--calcite-color-status-warning)}:host([kind="danger"]) calcite-icon#help-icon{color:var(--calcite-color-status-danger)}calcite-icon,img{height:12rem;width:auto}calcite-loader{--calcite-loader-size:12rem}:host([scale="l"]){font-size:1.25rem}:host([scale="l"]) calcite-icon,:host([scale="l"]) img{height:15rem;width:auto}:host([scale="l"]) calcite-loader{--calcite-loader-size:15rem}:host>h1,:host>h2,:host>h3,:host>h4,:host>h5,:host>h6,slot[name="heading"] *{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}p{color:var(--bodyText)}',Ni=$i,Ft=(e,t,i)=>({unauthenticated:{imageUrl:"./assets/sign-in-generic.svg"},"not-found":{icon:"file-magnifying-glass",actionLink:le(window.location.href,window.location.origin,i)},"unsupported-device":{icon:"mobile-off",telemetry:d.dictionary.category.navigation.action.view.label.content,viewedTelemetry:d.dictionary.category.interaction.action.viewed.label.notice.details.unsupportedDevice},"access-denied":{icon:"lock",actionLink:le(window.location.href,window.location.origin,i)},loading:{}}[e]||{})[t],Wi=class{get _context(){return R()}get _imageUrl(){let{imageUrl:e}=this;return e||this._fallbackImageUrl}get _fallbackImageUrl(){let e=Ft(this.state,"imageUrl",this._context);return e?ht(e):void 0}_getProp(e){let t=this[e];return t!==void 0?t:Ft(this.state,e,this._context)}_getMessage(e){let t=this[e];return typeof t=="string"?t:this.state?this.intl.t(`${this.state}.${e}`):void 0}handleClick(e){e.stopPropagation();let t=this._getProp("telemetry");this.arcgisHubHelpStateActionClick.emit(),t&&this.hubTelemetry.emit(t)}constructor(e){S(this,e),this.arcgisHubHelpStateActionClick=u(this,"arcgisHubHelpStateActionClick",7),this.hubTelemetry=u(this,"hubTelemetry",7),this.heading=void 0,this.icon=void 0,this.imageUrl=void 0,this.message=void 0,this.actionText=void 0,this.actionLink=void 0,this.loadingLabel=void 0,this.telemetry=void 0,this.viewedTelemetry=void 0,this.state=void 0,this.headingLevel=3,this.scale="m",this.kind=void 0,this.isMain=!0,k(this,"handleClick")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.el)}async componentDidLoad(){let e=this._getProp("viewedTelemetry");e&&this.hubTelemetry.emit(e)}_renderLoader(){if(this.state==="loading")return a("calcite-loader",{active:!0,label:this._getMessage("loadingLabel"),scale:this.scale})}_renderImage(){let e,t=this._getMessage("heading"),i=this._getProp("icon");return this._imageUrl?e=a("img",{alt:t,src:this._imageUrl}):i&&(e=a("calcite-icon",{icon:i,id:"help-icon",scale:this.scale})),e}render(){let e=this._getMessage("heading"),t=this._getMessage("actionText"),i=`h${this.headingLevel}`;return a(w,{key:"decc0127b2be2844a085591ec96dfb3bebba8ba2","aria-live":"polite","data-element":"help-state",role:this.isMain?"main":""},this._renderLoader(),this._renderImage(),a("slot",{key:"c92119b283a8322be851840b5ccf7a0053d10acc",name:"heading"},a(i,{key:"63d8193256f07996a7c689dfa011b41821d2fcf5"},e)),a("slot",{key:"eaaf2ed0eafcc3eaeb390d41e89afb1d57845122",name:"message"},a("p",{key:"1c029ce560dd50b14f117d3589a8b69bfcd65c2b"},this._getMessage("message"))),a("slot",{key:"40f08bd46bb903ae0ffef696f5bda5ed09655be2",name:"actions"},!!t&&a("div",{class:"actions"},a("calcite-button",{href:this._getProp("actionLink"),onClick:this.handleClick,round:!0,scale:this.scale},t))))}static get assetsDirs(){return["locales","assets"]}get el(){return v(this)}};Wi.style=Ni;var qi=({text:e,class:t,ref:i})=>a("div",{class:t,ref:i},e),Ui=":host{display:block}arcgis-hub-map-view{height:18.5rem;width:100%}.map-control-container{background-color:var(--calcite-color-foreground-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);font-size:0.875rem;box-shadow:var(--tw-shadow);border-radius:0.25rem}.result-count{font-weight:var(--calcite-font-weight-medium);padding:.375rem}.filter-checkbox{padding:0.5rem;cursor:pointer;--calcite-label-margin-bottom:0}",Vi=Ui,Qi=class{constructor(e){S(this,e),this.arcgisMapFacetChange=u(this,"arcgisMapFacetChange",7),this.setFilterEl=t=>{this.filterEl=t},this.setCountEl=t=>{this.countEl=t},this.facet=void 0,this.resultsCount=void 0,this.view=void 0,this.shouldFilterByExtent=!1,this.showComponents=!1,k(this,"toggleFilterOnExtent","handleLocationChange","handleMapViewReady","setFilterEl","setCountEl")}async componentWillLoad(){Ct(this.element),this.intl=await C.loadIntlForComponent(this.element)}handleMapViewReady(e){e.stopPropagation();let t=e.detail.view;t.when(()=>{t.ui.components=[],this.view=t,this.initializeMap(),this.showComponents=!0,this.countEl&&e.detail.view.ui.add(this.countEl,{position:"top-left"}),this.filterEl&&e.detail.view.ui.add(this.filterEl,{position:"bottom-left"})})}handleFacetChange(e,t){let i=q(e.value||[]),s=q(t.value||[]);i!==s&&this.initializeMap()}async initializeMap(){this.facet&&(this.facet.value===null?this.shouldFilterByExtent=!1:Array.isArray(this.facet.value)&&(this.shouldFilterByExtent=!!x(this.facet,"value.length")),this.view&&this._initialExtent&&(this.view.extent=this._initialExtent))}get _initialExtent(){let e=null,{value:t,extent:i}=this.facet;return t?e=ae(t):i&&(e=i),e}async handleLocationChange(e){let{extent:t}=e.detail;this.geographicExtent=ft(t)?t:await bt(this.view),this.handleExtentChange()}handleExtentChange(){let{shouldFilterByExtent:e,geographicExtent:t}=this,i=null;e&&t&&(i=ve(t)),this.arcgisMapFacetChange.emit({key:this.facet.key,value:i})}get shouldShowResultCount(){return!isNaN(this.resultsCount)}toggleFilterOnExtent(e){let t=e.target;this.shouldFilterByExtent=t.checked,this.handleExtentChange()}render(){return a(w,{key:"2a88c5d0e5ec56ef4f94f652e78d1267975574c2","data-element":"map-facet"},a("arcgis-hub-map-view",{key:"896bb78e572cb4c1bdfc36bd6214e4315b1984fa","hide-zoom":!0,onArcgisHubMapExtentChange:this.handleLocationChange,onArcgisHubMapViewReady:this.handleMapViewReady},this.showComponents&&a(I,null,a("arcgis-search",{"popup-disabled":!0,position:"top-left"}),a("arcgis-zoom",{position:"bottom-right"})),this.shouldShowResultCount&&a(qi,{class:"map-control-container result-count",ref:this.setCountEl,text:this.intl.t("resultsCount",{resultsCount:this.resultsCount})}),a(rt,{key:"1466a710029d4c9c698cacfba0fcd223cf8778d4",checked:this.shouldFilterByExtent,class:"map-control-container filter-checkbox",label:this.intl.t("checkboxLabel"),onChange:this.toggleFilterOnExtent,ref:this.setFilterEl})))}static get assetsDirs(){return["locales"]}get element(){return v(this)}static get watchers(){return{facet:["handleFacetChange"]}}};Qi.style=Vi;var Yi=({title:e,message:t})=>a("calcite-notice",{icon:!0,kind:"danger",open:!0},a("div",{slot:"title"},e),t&&a("div",{slot:"message"},t)),me=({component:e,messages:t})=>{let i;switch(e){case"legend":i="bottom-right";break;default:i="top-right";break}let n={"data-element":`map-${e}-expand`,"expand-icon":e,position:i},o=`arcgis-${e}`;return a("arcgis-expand",Object.assign({"close-on-esc":!0,"collapse-tooltip":t?.collapseTooltip,"expand-tooltip":t?.expandTooltip,mode:"floating"},n),a(o,null))},Zi=({scene:e,home:t,hideZoom:i,viewpoint:s})=>{let n="top-right",o={position:n};return a(I,null,!i&&a("arcgis-zoom",Object.assign({},{position:n,"data-element":"map-zoom"})),t&&a("arcgis-home",Object.assign({},o,{viewpoint:s})),e&&a("arcgis-navigation-toggle",Object.assign({},o)),e&&a("arcgis-compass",Object.assign({},o)))},Ji=({extent:e,home:t,layerList:i,legend:s,hideZoom:n,messages:o,navigation:r,ref:l,scene:h,search:p,viewingMode:m,viewpoint:b,zoom:_},A)=>a(h?"arcgis-scene":"arcgis-map",{extent:e,navigation:r,popup:_t(),ref:l,viewingMode:m,zoom:_},A,p&&a(me,{component:"search",messages:o.search}),a(Zi,{hideZoom:n,home:t,scene:h,viewpoint:b}),s&&a(me,{component:"legend",messages:o.legend}),i&&a(me,{component:"layer-list",messages:o.layerList})),Xi=(e,t)=>{switch(e.tagName){case"ARCGIS-EXPAND":t.observe(e,{attributeFilter:["expanded"]})}},es=e=>{let{attributeName:t,target:i}=e,{dataset:s}=i,n=i[t],o;switch(s.element){case"map-legend-expand":o=n===!0?d.dictionary.category.interaction.action.open.label.panel.details.legend:d.dictionary.category.interaction.action.close.label.panel.details.legend;break;case"map-search-expand":o=n===!0?d.dictionary.category.interaction.action.open.label.search:d.dictionary.category.interaction.action.close.label.search}return o},ts=(e,t)=>{t&&e.map!==t&&(e.view.extent=Ot(t),e.map=t)},is=".sc-arcgis-hub-map-view-h{display:block}arcgis-map.sc-arcgis-hub-map-view,arcgis-scene.sc-arcgis-hub-map-view{height:100%}",ss=is,ns=function(e,t,i,s){var n=arguments.length,o=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(o=(n<3?r(o):n>3?r(t,i,o):r(t,i))||o);return n>3&&o&&Object.defineProperty(t,i,o),o},Nt=class{handleViewChange(e){e.stopPropagation(),ts(this.viewElement,this._map),this.view.ready&&this.view.stationary&&this._emitMapLocationChange()}async _emitMapLocationChange(){let{view:e}=this,t=e.extent,i=yt(t,e.zoom);this.arcgisHubMapExtentChange.emit({extent:t,location:i})}handleReady(e){let t=e.target;e.stopPropagation(),Xi(t,this._observer),this.arcgisHubMapComponentReady.emit(t)}handleViewReady(e){let{location:t,hubTelemetry:i,view:s,viewElement:n}=this;e.stopPropagation(),s.addHandles([...kt(s,i,{on:ge,watch:pe}),...xt(n,i,{on:ge})]);let{center:o,zoom:r}=wt(t);o&&r&&s.goTo({center:o,zoom:r},{animate:this._useScene}),this._setGraphics(),this.arcgisHubMapViewReady.emit({view:s,viewElement:n})}async setViewWatchHandlers(e){if(!e)return;let{view:t}=this;Object.keys(e).forEach(i=>{let s=e[i];if(typeof s=="function"){let n=pe(()=>t[i],s);t.addHandles(n,"arcgis-hub-map-view")}})}async setPopupEventHandlers(e){if(!e)return;let{view:t}=this;Object.keys(e).forEach(i=>{let s=e[i];if(typeof s=="function"){let n=ge(()=>t.popup,i,s);t.addHandles(n,"arcgis-hub-map-view")}})}async _setGraphics(){let{graphics:e,viewElement:t}=this;t&&(t.graphics.removeAll(),!(!e||!e.length)&&(t.graphics.addMany(e),t.view.goTo(t.view.graphics)))}async _createMap(){this._map=void 0,this._error=void 0;try{let{basemap:e,itemId:t,_context:i,scene:s}=this;this._map=await ut({id:t,context:i,basemap:e,ground:s}),St(this._map,this._handleError,pe)}catch(e){this._handleError(e)}}async _setBasemap(){let{basemap:e,_map:t}=this;t&&(t.basemap=dt(e)||await pt(e))}async addLayer(e,t){let{view:i}=this;if(!(!i||!i.map))try{let s=t?.layerId,n=s?i.map.findLayerById(s):void 0;n&&i.map.remove(n);let o=await gt(e);if(o){let r=t&&t.name;return s&&(o.id=s),await Tt({layer:o,view:i,name:r})}}catch(s){this._handleError(s)}}get view(){var e;return(e=this.viewElement)===null||e===void 0?void 0:e.view}get _navigation(){let{mouseWheel:e}=this;return{actionMap:{mouseWheel:e}}}get _loading(){return!this._map}get _useScene(){var e;return((e=this._map)===null||e===void 0?void 0:e.declaredClass)==="esri.WebScene"||this.scene}get _messages(){return{loading:this.intl.t("loading"),legend:{expandTooltip:this.intl.t("legend.expandTooltip"),collapseTooltip:this.intl.t("legend.collapseTooltip")},search:{expandTooltip:this.intl.t("search.expandTooltip"),collapseTooltip:this.intl.t("search.collapseTooltip")}}}get _errorMessages(){return{title:this.intl.t("error.title"),message:this.intl.t("error.message")}}get _extent(){let{extent:e,expand:t}=this;return e&&t?at(e,t,!0):e}constructor(e){S(this,e),this.hubTelemetry=u(this,"hubTelemetry",7),this.arcgisHubMapError=u(this,"arcgisHubMapError",7),this.arcgisHubMapViewReady=u(this,"arcgisHubMapViewReady",7),this.arcgisHubMapExtentChange=u(this,"arcgisHubMapExtentChange",7),this.arcgisHubMapComponentReady=u(this,"arcgisHubMapComponentReady",7),this._setViewElement=t=>{this.viewElement=t},this._handleMutation=t=>{let i=es(t);i&&this.hubTelemetry.emit(i)},this._handleError=t=>{y.error(this._errorMessages.title,t),this._error=t,this.arcgisHubMapError.emit(t)},this.basemap=void 0,this.itemId=void 0,this.graphics=void 0,this.extent=void 0,this.expand=void 0,this.home=!1,this.layerList=!1,this.legend=!1,this.search=!1,this.hideZoom=!1,this.hideError=!1,this.mouseWheel="none",this.location=void 0,this.zoom=void 0,this.scene=!1,this.viewingMode="global",this._map=void 0,this._error=void 0,this._viewPoint=null,this._context=R(),k(this,"_setViewElement")}connectedCallback(){J(this),this._observer=new MutationObserver((e,t)=>{for(let i of e)this._handleMutation(i)})}async componentWillLoad(){vt(),this.intl=await C.loadIntlForComponent(this.el),this._createMap(),this._extent&&(this._viewPoint=await mt(Object.assign({type:"extent"},this._extent)))}render(){let{_error:e,_extent:t,home:i,layerList:s,legend:n,search:o,hideZoom:r,_loading:l,_messages:h,_useScene:p,_setViewElement:m,_navigation:b,_viewPoint:_,viewingMode:A,zoom:T}=this,ne=p?void 0:t,z=this.scene?_:void 0;return a(w,{key:"2ab62e16a9dbf2df4040b9ad61d87c54abc11ded","data-element":"map-view"},e&&!this.hideError?a(Yi,Object.assign({},this._errorMessages)):l?a("calcite-loader",{label:h.loading}):a(Ji,{extent:ne,home:i,layerList:s,legend:n,hideZoom:r,messages:h,navigation:b,ref:m,scene:p,search:o,viewingMode:A,zoom:T,viewpoint:z},a("slot",null)))}disconnectedCallback(){this._observer.disconnect(),delete this._observer,this.disconnectContext()}static get assetsDirs(){return["locales"]}get el(){return v(this)}static get watchers(){return{graphics:["_setGraphics"],_context:["_createMap"],itemId:["_createMap"],basemap:["_setBasemap"]}}};ns([Z("extent","expand")],Nt.prototype,"_extent",null);Nt.style=ss;var as=":host{margin-bottom:1.25rem;display:flex;flex-direction:row;justify-content:flex-end}.sort-order{--calcite-font-size-0:var(--hub-gallery-font-size-large)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}",os=as,rs=class{constructor(e){S(this,e),this.hubSearchSortChange=u(this,"hubSearchSortChange",7),this.sortOptions=[],this.activeSortOption=void 0,this.sortOrderIcon=void 0,k(this,"setDropdownEl","handleOrderChange")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element)}componentWillRender(){this.sortOrderIcon=this.activeSortOption.order==="asc"?"sort-ascending-arrow":"sort-descending-arrow"}handleFieldChangeEvent(){let e=this.dropdownEl.selectedItems;if(e.length){let t=e[0].dataset.value||null;this.activeSortOption=this.sortOptions.find(i=>i.attribute===t),this.activeSortOption.order=ie[this.activeSortOption.defaultOrder],this.hubSearchSortChange.emit(this.activeSortOption)}}setDropdownEl(e){this.dropdownEl=e}handleOrderChange(){this.activeSortOption.order=this.activeSortOption.order==="asc"?"desc":"asc",this.sortOrderIcon=this.activeSortOption.order==="asc"?"sort-ascending-arrow":"sort-descending-arrow",this.hubSearchSortChange.emit(this.activeSortOption)}render(){var e,t,i,s,n;let o="relevance",r=this.intl.t("sort-by",{attr:this.intl.t((t=(e=this.activeSortOption)===null||e===void 0?void 0:e.attribute)!==null&&t!==void 0?t:o)}),l=((i=this.activeSortOption)===null||i===void 0?void 0:i.order)&&((n=(s=this.activeSortOption)===null||s===void 0?void 0:s.label)===null||n===void 0?void 0:n.toLowerCase())!==o;return a(w,{key:"d3870167534b3b3d1ace1f713da067df6a28c299"},a("calcite-dropdown",{key:"c542fe19f6b8569646ee412e71e3003b503be09d",ref:this.setDropdownEl},a("calcite-button",{key:"89a4ab27269454ca09be3ce19d4a259a898626ea",appearance:"outline","data-test":"sort-attribute","icon-end":"chevron-down",kind:"neutral",label:r,round:!0,slot:"trigger"},r),a("calcite-dropdown-group",{key:"7cf2ce90bb72a99d309a0b5ee4b7bbbb822d2c75","selection-mode":"single"},this.sortOptions.map(h=>{var p,m,b;return a("calcite-dropdown-item",{"data-value":h.attribute,key:h.attribute,label:this.intl.t("sort-by",{attr:this.intl.t((p=h.attribute)!==null&&p!==void 0?p:o)}),selected:this.activeSortOption.attribute===h.attribute,title:this.intl.t((m=h.attribute)!==null&&m!==void 0?m:o)},this.intl.t((b=h.attribute)!==null&&b!==void 0?b:o))}))),l&&a("calcite-button",{appearance:"transparent",class:"sort-order",color:"blue","data-test":"sort-direction","icon-end":this.sortOrderIcon,label:this.intl.t("sort-by",{attr:this.intl.t(this.activeSortOption.order)}),onClick:this.handleOrderChange,title:this.intl.t(this.activeSortOption.order)}))}static get assetsDirs(){return["locales"]}get element(){return v(this)}};rs.style=os;var ls=":host{display:block}calcite-tree-item{--calcite-font-size--1:16px;--calcite-color-text-3:var(--calcite-color-text-1);padding-top:0.5rem}.option-label{overflow-wrap:anywhere;hyphens:auto}.more-or-less-container{width:100%;display:flex;flex-direction:row-reverse;margin-top:0.5rem}",cs=ls,hs=class{handleTreeSelect(e){e.stopPropagation();let t=e.target.selectedItems.map(r=>r.dataset.key),i=this.facet.options.filter(r=>r.selected&&!r._unrecognized).map(r=>r.key),s=ki(i,t),o=this.facet.options.find(r=>s.keys.includes(r.key))._telemetryIndex;this.arcgisHubTreeFacetChange.emit({key:this.facet.key,optionKeys:s.keys,selected:s.operation==="added",topLevelIndex:o})}constructor(e){S(this,e),this.arcgisHubTreeFacetChange=u(this,"arcgisHubTreeFacetChange",7),this.arcgisHubFacetMoreLessClicked=u(this,"arcgisHubFacetMoreLessClicked",7),this.topLevelPageSize=5,this.facet=void 0,this.showLimitedOptions=!0,k(this,"toggleMoreOrLessButton","handleTreeSelect")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element)}get optionsAsTree(){let e=this.facet.options.filter(t=>!t._unrecognized);return Ht(e)}get numTopLevelOptions(){return M(this.optionsAsTree).length}get optionsLeftToDisplay(){return this.numTopLevelOptions-this.topLevelPageSize}get moreOrLessButtonIconEnd(){return this.showLimitedOptions?"chevron-down":"chevron-up"}get moreOrLessButtonLabel(){return this.showLimitedOptions?this.intl.t("showMore",{num:this.optionsLeftToDisplay}):this.intl.t("showLess")}toggleMoreOrLessButton(){this.arcgisHubFacetMoreLessClicked.emit({facet:this.facet,isMore:this.showLimitedOptions}),this.showLimitedOptions=!this.showLimitedOptions}renderTopLevelOptions(){let e=M(this.optionsAsTree).map((t,i)=>zt(t,i));return this.showLimitedOptions?e.slice(0,this.topLevelPageSize):e}renderMoreLessButton(){if(this.numTopLevelOptions>this.topLevelPageSize)return a("div",{class:"more-or-less-container"},a("calcite-button",{appearance:"transparent",color:"blue","icon-end":this.moreOrLessButtonIconEnd,kind:"neutral",label:this.intl.t("moreOrLessButtonLabel",{moreOrLess:this.moreOrLessButtonLabel,label:this.facet.label}),onClick:this.toggleMoreOrLessButton,round:!0},this.moreOrLessButtonLabel))}render(){return a(w,{key:"d83ffad749921dcbd5b37a6004c6bffdc3340148","data-element":"tree-facet"},a("div",{key:"b16f469d20c605ffb231de51a90480c4ead73d05"},a("calcite-tree",{key:"0cca73d6c2d1318aaafd2b41956bbf35093766ae",onCalciteTreeSelect:this.handleTreeSelect,"selection-mode":"ancestors"},this.renderTopLevelOptions()),this.renderMoreLessButton()))}static get assetsDirs(){return["locales"]}get element(){return v(this)}};hs.style=cs;return{arcgis_hub_add_content:ti,arcgis_hub_add_content_workflow:At,arcgis_hub_auto_suggest:Gt,arcgis_hub_auto_suggest_match:yi,arcgis_hub_date_range_facet:Lt,arcgis_hub_facet_list:Di,arcgis_hub_facet_options:$t,arcgis_hub_gallery:se,arcgis_hub_help_state:Wi,arcgis_hub_map_facet:Qi,arcgis_hub_map_view:Nt,arcgis_hub_search_sort:rs,arcgis_hub_tree_facet:hs}},"config","geometry/Extent","core/reactiveUtils",b,c)
|
package/dist/cdn/UIEZB2GH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.0 */
|
|
4
|
-
import{a as y}from"./HENYNRGK.js";import{a as h}from"./2ZNVI4LM.js";import{a as b}from"./TNT7E7JL.js";import"./TR4IDLV7.js";import{a as u}from"./HPLPS2JT.js";import{a as m}from"./QQOSTJKE.js";import"./NDKJHAOK.js";import"./TC46RBXP.js";import{a as d}from"./OFED3QPZ.js";import"./AST5IXCY.js";import{b as a,c as f,d as S,e as g,h as v,i as _}from"./R3UDD63K.js";import{a as c,g as p}from"./PE2EEIM5.js";import"./DQUQ24IX.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";var C={required:[],type:"object",properties:{title:{type:"string",maxLength:255},description:{type:"string",maxLength:500},canCollapse:{type:"boolean"}}},E={type:"Layout",elements:[{labelKey:"title",scope:"/properties/title",type:"Control"},{labelKey:"description",scope:"/properties/description",type:"Control",options:{control:"hub-field-input-input",type:"textarea"}}]},T={required:["title"],type:"object",properties:{title:{type:"string",maxLength:255,minLength:1},timeframe:{type:"string"},stageDescription:{type:"string",maxLength:500},link:{type:"object",properties:{href:{type:"string",if:{minLength:1},then:{format:"url"}},title:{type:"string"}}},status:{type:"string",default:"notStarted"}}},x={type:"Layout",elements:[{labelKey:"title",scope:"/properties/title",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"titleRequiredError"}]}},{labelKey:"timeframe",scope:"/properties/timeframe",type:"Control"},{labelKey:"stageDescription",scope:"/properties/stageDescription",type:"Control",options:{control:"hub-field-input-input",type:"textarea"}},{labelKey:"linkHref",scope:"/properties/link/properties/href",type:"Control",options:{helperText:{labelKey:"linkHrefHelperText"},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"linkHrefFormatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"linkTitle",scope:"/properties/link/properties/title",type:"Control"},{labelKey:"status",scope:"/properties/status",type:"Control",options:{control:"hub-field-input-combobox",clearDisabled:!0,selectionMode:"single",placeholder:"{{setStatus:translate}}",items:Object.keys(h).map(e=>({value:e,label:`{{${e}:translate}}`}))}}]},A=".sc-arcgis-hub-timeline-editor-h{display:block}calcite-sortable-list.sc-arcgis-hub-timeline-editor{margin-bottom:1.5rem}.stage-editor.sc-arcgis-hub-timeline-editor{margin-left:1rem}calcite-combobox.sc-arcgis-hub-timeline-editor{margin-bottom:0.5rem}.collapse-toggle-heading.sc-arcgis-hub-timeline-editor{display:flex;gap:0.25rem}.steps-heading.sc-arcgis-hub-timeline-editor{padding-top:0.75rem;padding-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-1)}.add-step-btn.sc-arcgis-hub-timeline-editor{margin-bottom:1.5rem}",O=A,I=class{constructor(e){_(this,e),this.arcgisHubTimelineEditorChange=g(this,"arcgisHubTimelineEditorChange",7),this.hubTelemetry=g(this,"hubTelemetry",7),this._timelineSchema=c(C),this._timelineUiSchema=c(E),this._stageSchema=c(T),this.handleRemoveStage=t=>{var i;let s=(i=t.target)===null||i===void 0?void 0:i.getAttribute("data-key"),l=[...this._timeline.stages],n;l.forEach((o,r)=>{o.key===s&&(n=r)}),!isNaN(n)&&l.splice(n,1),this._currentStageIdx=-1,this.updateStages(l),this.hubTelemetry.emit(Object.assign(Object.assign({},d.dictionary.category.interaction.action.remove.label.step.details.timeline),{count:l.length}))},this.handleStageEditorChangeEvent=t=>{var i;t.stopPropagation();let s=(i=t.target)===null||i===void 0?void 0:i.getAttribute("data-key"),l=[...this._timeline.stages];l.forEach((n,o)=>{n.key===s&&(l[o]=Object.assign(Object.assign({},n),t.detail.values))}),this.updateStages(l,t.detail.valid)},this.onStageEditorOpen=t=>{var i;let s=(i=t.target)===null||i===void 0?void 0:i.getAttribute("data-key");[...this._timeline.stages].forEach((n,o)=>{n.key===s&&(this._currentStageIdx=o)})},this.handleCalciteTileSelect=t=>{this._timeline.canCollapse=!!+t.target.dataset.value,this.arcgisHubTimelineEditorChange.emit({values:this._timeline,valid:!0});let i=t.target.checked?"enable":"disable";this.hubTelemetry.emit(Object.assign(Object.assign({},d.dictionary.category.interaction.action[i].label.collapse.details.timeline),{count:this.stages.length}))},this.values=void 0,this.showTitleAndDescription=!0,this.stages=[],this._currentStageIdx=-1,u(this,"handleAddStage","handleEditorChangeEvent","handleStageOrderChangeEvent","translationFunc")}async componentWillLoad(){var e;this.intl=await m.loadIntlForComponent(this.element),this._timeline=this.values,this.stages=((e=this.values)===null||e===void 0?void 0:e.stages)||[],this._stageUiSchema=c(b(this.intl,x))}get isCollapseToggleDisabled(){var e;return((e=this._timeline.stages)===null||e===void 0?void 0:e.length)<6}translationFunc(e,t,i){return this.intl.t(e,t,i)}updateStages(e,t=!0){this.stages=e,this._timeline.stages=e,(this._timeline.canCollapse||this._timeline.canCollapse===void 0&&this.stages.length>=6)&&(this._timeline.canCollapse=this.stages.length>=6),this.arcgisHubTimelineEditorChange.emit({values:this._timeline,valid:t})}handleAddStage(){let e=p("stage"),t={key:e,title:"",timeframe:"",stageDescription:"",status:h.notStarted},i=[...this._timeline.stages||[]],s=i.push(t);this._currentStageIdx=s-1,this.updateStages(i),setTimeout(()=>{this.setStageFocus(e)},300),this.hubTelemetry.emit(Object.assign(Object.assign({},d.dictionary.category.interaction.action.add.label.step.details.timeline),{count:s}))}setStageFocus(e){this.element.querySelector(`calcite-block[data-key=${e}] arcgis-configuration-editor`).setFocus()}handleEditorChangeEvent(e){e.stopPropagation(),this._timeline=Object.assign(Object.assign({},this._timeline),e.detail.values),this.arcgisHubTimelineEditorChange.emit({values:this._timeline,valid:e.detail.valid})}handleStageOrderChangeEvent(e){var t,i;e.stopPropagation();let s=(t=this._timeline.stages[this._currentStageIdx])===null||t===void 0?void 0:t.key,l=((i=e.target)===null||i===void 0?void 0:i.children)||[],n=Array.from(l).map(r=>r.getAttribute("data-key")),o=[...this._timeline.stages];o.sort(function(r,k){return n.indexOf(r.key)-n.indexOf(k.key)}),this._currentStageIdx=o.findIndex(r=>r.key===s),this.updateStages(o)}renderStages(){return a("calcite-block-group",{"drag-enabled":!0,onCalciteBlockGroupOrderChange:this.handleStageOrderChangeEvent},this.stages.map((e,t)=>this.renderStage(e,t)))}renderStage(e,t){let i={title:e.title,timeframe:e.timeframe,stageDescription:e.stageDescription,link:e.link,status:e.status};return a(v,null,a("calcite-block",{collapsible:!0,"data-key":e.key,description:e.timeframe,"drag-handle":!0,expanded:t===this._currentStageIdx,heading:e.title,key:e.key,onCalciteBlockToggle:this.onStageEditorOpen},e.status&&a("calcite-icon",{icon:y(e.status),scale:"s",slot:"icon-start"}),a("calcite-card",{class:"stage-editor",dir:this.intl.direction},a("arcgis-configuration-editor",{"data-key":e.key,onArcgisConfigurationEditorChange:this.handleStageEditorChangeEvent,schema:this._stageSchema,t:this.translationFunc,uiSchema:this._stageUiSchema,values:i}),a("calcite-button",{appearance:"transparent","data-key":e.key,kind:"danger",onClick:this.handleRemoveStage,round:!0,scale:"m",width:"auto"},this.intl.t("delete")))))}render(){var e,t,i,s;let l={title:(e=this._timeline)===null||e===void 0?void 0:e.title,description:(t=this._timeline)===null||t===void 0?void 0:t.description};return a(f,{key:"3dc5165b80c6d428466b02bc905e1b17cdfe4abb","data-element":"timeline-editor"},this.showTitleAndDescription&&a("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChangeEvent,schema:this._timelineSchema,t:this.translationFunc,uiSchema:this._timelineUiSchema,values:l}),a("calcite-label",{key:"3218206a41fa0166f270c9d1033b802345a43f0e"},a("div",{key:"947870f28381338c812c48de0ac256e6bf57455f",class:"collapse-toggle-heading"},this.intl.t("enableCollapse"),a("div",{key:"d41393853727b45f9c356f33221c0025cac78d1c"},a("calcite-icon",{key:"3c7fd59eecb32a27e41c8dbacc47f8047d73d1d5",icon:"information-f",id:"collapse-tooltip",scale:"s"}),a("calcite-tooltip",{key:"fced3bfd5f898c3eb3cd5f87bbfc42b9bb57c90d",label:this.intl.t("collapseToggle"),placement:"right","reference-element":"collapse-tooltip"},a("span",{key:"9ea1a63ad3fc93656936a3ac2e03c6502ac942bc"},this.intl.t("collapseToggleTooltip"))))),a("calcite-tile-group",{key:"0303ce7b075ede7241a0107166b710ec18dadf64",disabled:this.isCollapseToggleDisabled,label:this.intl.t("enableCollapse"),layout:"vertical",selectionAppearance:"icon",selectionMode:"single-persist"},a("calcite-tile",{key:"80bc4708cebec75cc57281de72190bf6f0d36c45","data-value":"0",description:this.intl.t("showFullDescription"),heading:this.intl.t("showFull"),onCalciteTileSelect:this.handleCalciteTileSelect,selected:!(!((i=this._timeline)===null||i===void 0)&&i.canCollapse)}),a("calcite-tile",{key:"eded2755e5e387944b5a0f2c0425ebbe9620d7b9","data-value":"1",description:this.intl.t("showCollapsedDescription"),heading:this.intl.t("showCollapsed"),onCalciteTileSelect:this.handleCalciteTileSelect,selected:(s=this._timeline)===null||s===void 0?void 0:s.canCollapse}))),a("div",{key:"8083fbdcfadac848112bc5f604ab22eb7d62dad8",class:"steps-heading"},this.intl.t("steps")),this.renderStages(),a("calcite-button",{key:"447722f976e967f654f24fe7c0131c93637bad4c",appearance:"outline-fill",class:"add-step-btn",color:"blue",onClick:this.handleAddStage,round:!0,type:"button",width:"auto"},this.intl.t("addNewStep")))}static get assetsDirs(){return["locales"]}get element(){return S(this)}};I.style=O;export{I as arcgis_hub_timeline_editor};
|
package/dist/cdn/UM73YLN4.js
DELETED
package/dist/cdn/UMXFPNAN.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.0 */
|
|
4
|
-
var L;(function(n){n[n.EXTRA_SMALL=576]="EXTRA_SMALL",n[n.SMALL=768]="SMALL",n[n.MEDIUM=992]="MEDIUM",n[n.LARGE=1200]="LARGE"})(L||(L={}));function i(){return Math.min(window.innerWidth,window.innerHeight)<L.SMALL}export{L as a,i as b};
|
package/dist/cdn/UOFJRL5C.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.0 */
|
|
4
|
-
var r=a=>{let e;switch(a){case"public":e="globe";break;case"org":e="organization";break;case"shared":e="users";break;case"private":e="user";break}return e};export{r as a};
|
package/dist/cdn/UPA3NIBA.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.0 */
|
|
4
|
-
var D=["today","yesterday","last7Days","last30Days","thisMonth","lastMonth","pastYear","custom"],n=e=>D.includes(e),r=(e,s)=>{let t=new Date().getDate(),a=new Date().getMonth();return{today:{startDate:new Date(new Date().setHours(0,0,0,0))},yesterday:{startDate:new Date(new Date(new Date().setDate(t-1)).setHours(0,0,0,0)),endDate:new Date(new Date(new Date().setDate(t-1)).setHours(23,59,59,999))},last7Days:{startDate:new Date(new Date().setDate(t-7))},last30Days:{startDate:new Date(new Date().setDate(t-30))},thisMonth:{startDate:new Date(new Date(new Date().setDate(1)).setHours(0,0,0,0))},lastMonth:{startDate:new Date(new Date(new Date(new Date().setMonth(a-1)).setDate(1)).setHours(0,0,0,0)),endDate:new Date(new Date(new Date().setDate(0)).setHours(23,59,59,999))},pastYear:{startDate:new Date(new Date(new Date().setMonth(a-12)).setDate(t+1))},custom:{startDate:e,endDate:s}}};export{D as a,n as b,r as c};
|
package/dist/cdn/UQZQQTEJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.0 */
|
|
4
|
-
import{a as zl,b as Yl}from"./J4MFCABD.js";import{a as bd,b as Td}from"./5NN2FVUF.js";import{a as Kl}from"./PQANUCIQ.js";import{a as Bm,b as zm,c as Ym,d as Km,e as Wm,f as qm}from"./SKIQ2XLC.js";import{a as od,b as nd}from"./FSI6WNRL.js";import{a as hd}from"./C2BE6TOK.js";import{a as Et}from"./3VUHVDDB.js";import{a as De,b as Ne,c as Qm}from"./AETS43GU.js";import{a as ed,b as td,c as rd,d as sd}from"./XUHS5Q4N.js";import{a as id}from"./ALOTF2JS.js";import{a as Jm,b as Xm,c as Zm}from"./XFGAMS74.js";import{a as tu}from"./K7EUXM5M.js";import{a as Em,b as Sm}from"./4WNOWHZI.js";import{a as eu}from"./4BNP3D2H.js";import{a as Wc,b as qc,c as ft,d as Qc,e as Jc}from"./EKB3TS5F.js";import{a as I,b as dd,c as pd,d as fd}from"./NJR4Y54C.js";import{a as kl,b as Bl}from"./L5I55DE2.js";import{a as we,b as jl}from"./DTO6WAHI.js";import{a as Fl,b as $l,c as Vl}from"./IKBXOSFK.js";import{a as Tm}from"./ALOODCII.js";import{a as Wl}from"./2ZNVI4LM.js";import{a as gd}from"./3L4HNGD5.js";import{a as hc}from"./R3I4J3L7.js";import{a as ql,b as Ql}from"./XHVOB2PT.js";import{a as Me}from"./WO3I273U.js";import{a as Cm,b as Am,c as Pm,d as vm,e as Um,f as Om,g as _m,h as xm,i as H,j as Rm,k as wm,l as Mm,m as Dm,n as ht,o as yt,p as bt,q as Tt,r as Nm,s as Hm,t as Gm,u as Lm,v as Fm}from"./PCUZFTYD.js";import{a as Im}from"./DGY7EKVO.js";import{a as im,b as cm,c as um,d as lm,e as mm,f as dm,g as pm,h as fm}from"./4QAKSF6K.js";import{a as $m,b as Vm}from"./VEB6AZPK.js";import{a as Ll}from"./GJMGVQKA.js";import{a as Nl,b as Hl,c as Gl}from"./SLLUKHGE.js";import{a as Jl,b as Xl}from"./MIILJ5XU.js";import{b as He}from"./BUPSWVQN.js";import{a as jm}from"./4LJ77PC6.js";import{a as Fe}from"./YJH563YU.js";import{a as km}from"./CR2JC3CO.js";import{a as em,b as tm,c as rm,d as sm,e as am,f as om,g as nm}from"./R5LJOROF.js";import{a as Xc}from"./RCTIA5EP.js";import{a as Zc}from"./TBAPHRX5.js";import{a as Yc,b as Kc}from"./U23QRMXZ.js";import{c as yc,g as bc}from"./YNEY3RME.js";import{a as x,b as z}from"./2JOPX2ZA.js";import{a as da}from"./7BHZELPW.js";import{a as yd}from"./DYW7XT46.js";import{a as cd,b as ud,c as ld}from"./BDAXGRXY.js";import{a as ym,b as bm}from"./WOW2GLHN.js";import{a as Ed}from"./UM73YLN4.js";import{a as Zl}from"./NZIJMV44.js";import{a as md}from"./AEWLKFBU.js";import{a as gm}from"./7CA7LSYI.js";import{a as Le,b as ad}from"./RDR7JRIH.js";import{a as Ge}from"./TR4IDLV7.js";import{a as yl,b as bl,c as Tl,d as El,e as Sl,f as Il,g as Cl,h as Al,i as Pl,j as vl,k as Ul,l as Ol,m as _l,n as xl,o as Rl,p as wl,q as Ml,r as Dl}from"./44HOGGTC.js";import{b as Ju}from"./JDXTYI6Y.js";import{a as ml,b as dl,c as pl,d as fl,e as gl}from"./EVANRNGX.js";import{a as nl}from"./DWSS7M2M.js";import{d as il,e as cl,f as ul,g as ll}from"./WRG7XO5K.js";import{a as gt,b as zu,c as Yu,d as Ku,f as Wu,g as qu,h as Qu,i as xe}from"./CGLHNXT7.js";import{a as yu}from"./DT2ZLCD6.js";import{a as ol}from"./EWPH4ZGK.js";import{a as el}from"./66MNGXO2.js";import{a as J,b as Re}from"./ETU4HLOS.js";import{a as Zu}from"./G4LDSCNT.js";import{a as gu,b as hu}from"./TWY3Z5LL.js";import{a as pu}from"./ZWJDK2SI.js";import{a as Xu}from"./NIFXTC22.js";import{a as ou,b as nu}from"./3LYCGIES.js";import{a as ju,b as ku,c as Bu}from"./CLC3EG55.js";import{a as bu,b as Tu,c as Eu,d as Su,e as Iu,f as Cu,g as Au,h as Pu,i as vu,j as Uu,k as Ou,l as _u,m as xu,n as Ru,o as wu,p as Mu,q as Du,r as Nu,s as Hu}from"./YSCQD7O4.js";import{a as Gu,b as Lu}from"./V3OJ3O7B.js";import{c as Lc,d as Fc,e as $c,f as Vc,g as jc,h as kc,i as Bc,j as zc}from"./M4R7BR23.js";import{a as Fu}from"./2PU2VDVO.js";import{a as tl,b as rl,c as sl,d as al}from"./KZLGGJWN.js";import{a as hl}from"./TXCUF56P.js";import"./CLTTYQ2Y.js";import"./EAOJJP3Q.js";import{a as su,b as au}from"./BRMLZGYQ.js";import"./3XUTMVJA.js";import{a as ru}from"./M25DZELT.js";import"./VAJGZFLK.js";import"./D2YWYQGZ.js";import"./TP5OSMTE.js";import"./TVC6TZLR.js";import"./P5NOJJ6X.js";import{a as du}from"./OVIRU6L4.js";import"./LOD5HXAR.js";import{a as ki,b as Bi,c as zi,d as Yi,e as Ki,f as Wi,g as qi,h as Qi,i as Ji,j as Xi,l as Zi,m as ec,n as tc,o as rc,p as sc,q as ac,r as oc}from"./VOTIHNJG.js";import{b as mc,c as dc,d as pc,e as fc,f as gc}from"./T52VQHP2.js";import"./TWOPF52C.js";import{a as cc,b as uc,c as lc}from"./MVPH2TDC.js";import{e as Vo}from"./4EG423AZ.js";import"./5ULMCG2L.js";import{a as $o}from"./YRSQ5V7I.js";import{a as Lo,b as Fo}from"./VB7VSNQV.js";import{a as Vu}from"./Z2CEUKFF.js";import"./EKCUXPH3.js";import{a as fu}from"./RIIWH6BS.js";import{a as iu,b as cu,c as uu,d as lu,e as mu}from"./OAB5MYWY.js";import{a as vc,b as Uc,c as Oc,d as _c,e as xc,f as Rc,g as wc,h as Mc,j as Dc,k as Nc,m as Hc,n as Gc}from"./POSE46MR.js";import{a as Ec,b as Sc}from"./AHCRPC4L.js";import{a as dt,b as E,c as pt}from"./W2LTU3DO.js";import{b as Ho,c as Ee}from"./JROPFWVO.js";import{a as D}from"./HXFOP2HN.js";import{b as lt,c as mt,d as Gi,e as Li,j as Fi,k as $i,l as Vi,m as ji}from"./ZU5IVBV6.js";import{a as ge}from"./OM2AIPKK.js";import"./JHSP6XRD.js";import{a as nc,b as ic}from"./34J3TQKS.js";import"./FBEQKPKM.js";import{a as _o,b as xo,c as Ro,d as wo,e as Mo,f as Do}from"./VZVFI7FI.js";import{a as Oe,b as N,c as Cc,d as _e,e as Ac,f as Pc,h as Q}from"./CPVBXDV3.js";import{a as _i,b as xi,c as Ri,d as wi,e as Mi,f as Di,g as Ni,h as Hi}from"./FNKVLB56.js";import{a as Ic}from"./7BDUBIPO.js";import{c as Tc}from"./5YNDBWGJ.js";import"./ZR7JG3DG.js";import{$ as Ai,A as Jn,B as Xn,C as Zn,D as ei,E as ti,F as ri,G as si,H as ai,I as oi,J as ni,K as ii,L as ci,M as ui,N as li,O as mi,P as di,Q as pi,R as fi,S as gi,T as hi,U as yi,V as bi,W as Ti,X as Ei,Y as Si,Z as Ii,_ as Ci,a as vn,aa as Pi,b as Un,ba as vi,c as On,ca as Ui,d as _n,da as Oi,f as xn,g as Rn,h as wn,i as Mn,j as Dn,k as Nn,l as Hn,m as Gn,n as Ln,o as Fn,p as $n,q as Vn,r as jn,s as kn,t as Bn,u as zn,v as Yn,w as Kn,x as Wn,y as qn,z as Qn}from"./6VM7QTQ2.js";import{a as ve}from"./YYXOEJN2.js";import{a as Ue}from"./7VWOND6G.js";import{b as Pn}from"./XXBHRWNS.js";import"./KRBJZ6SW.js";import"./2PX3UZJ2.js";import{a as Go,b as Se}from"./ZRA6E7AP.js";import{a as q}from"./REJ63WP2.js";import{A as ln,B as mn,C as dn,D as pn,E as fn,F as gn,G as hn,J as Pe,L as yn,M as bn,N as Tn,O as En,P as Sn,Q as In,R as Cn,S as An,a as Wo,b as qo,c as Ae,d as Qo,e as Jo,g as Xo,h as Zo,j as en,l as tn,m as rn,n as sn,o as an,p as on,q as nn,r as cn,z as un}from"./XY3C2SW5.js";import"./FI73S54G.js";import{a as Ko}from"./MKY364EQ.js";import{a as Ys}from"./ADIPQ4VU.js";import{$ as yo,A as za,B as Ya,C as Ka,D as Wa,E as qa,F as Qa,G as Ja,H as Xa,I as Za,J as eo,K as to,L as ro,M as so,N as ao,O as oo,Q as no,R as io,S as fe,T as co,U as uo,V as lo,W as mo,X as po,Y as fo,Z as go,_ as ho,a as Ga,aa as bo,b as La,ba as To,ca as Eo,da as So,e as me,ea as Io,f as Fa,fa as Co,g as $a,ga as Ao,h as ut,ha as Po,ia as vo,ja as Uo,ka as Oo,q as de,s as Va,t as ja,u as ka,v as R,w,x as K,y as pe,z as Ba}from"./OHH4J4SV.js";import{a as ct}from"./OYGVQKRA.js";import{d as Na,e as Y,f as Ha}from"./WXVNSK2H.js";import{a as S,b as fa,c as ga,d,e as ha,f as ya,g as ba,h as Ta,i as Ea,j as Sa,k as Ia,l as Ca,m as Aa,n as Pa,o as va,p as Ua,t as Oa,u as _a,v as le}from"./6NHDVAJQ.js";import{a as xa,b as Ra,c as wa,d as Ma}from"./SPW4XUMU.js";import"./GOEU3WDV.js";import{a as jo,b as ko,c as Bo}from"./BH42DFEL.js";import{a as Ie,b as zo,c as Yo,d as Ce}from"./KKBEYANH.js";import{a as ca,b as ua,c as la,d as ma}from"./7Z45QN5N.js";import{a as it}from"./EHVFG76R.js";import{a as zs}from"./EBMDUFBM.js";import{a as qs,b as ie,c as ce,d as Qs,e as Js,f as Xs,g as ue,h as Zs,i as ea,j as ta,k as ra,l as _,m as sa,n as aa,o as oa,p as na,q as ia,r as B}from"./RZJY53OX.js";import{a as Ks,b as Ws}from"./CZ3OVKO7.js";import{a as Da}from"./JPS3MCG6.js";import{a as P}from"./FU65EZAN.js";import{a as gs,b as hs,c as ys,d as bs,e as Ts,f as Es,g as Ss,h as Is}from"./MJ7M5XDG.js";import{a as wr,b as Mr}from"./4TTEQZAD.js";import{a as L}from"./DGF5R54L.js";import"./TWME2NY3.js";import"./P7GO3LRW.js";import{a as as,b as os,c as ns,e as is,f as cs,g as us,h as ls,i as ms,j as re,k as ds,l as ps}from"./3A36DIUD.js";import{a as T}from"./3WS6AQFV.js";import{a as Ms,b as Ds,c as Ze,d as et,g as Ns,h as Hs,i as Gs,j as Ls,k as Fs,l as $s,m as Vs,n as js,o as j}from"./MMW34LVS.js";import{a as Rs,b as ws}from"./PA5B54YV.js";import{a as _s}from"./3K4IN7S2.js";import{a as xs}from"./3MLL52K7.js";import{a as fs}from"./WANC2VLR.js";import"./XZSY5FUG.js";import"./ZKYQWQWD.js";import{a as A,b as Jr,c as oe,d as Us,h as Os,n as Qe,o as Je,x as Xe}from"./Z7HE7FPN.js";import{a as $,b as vs}from"./VF6AXDQV.js";import{a as Tr,b as Er,c as Sr,d as Ir,e as Cr,f as Ar,g as Pr,h as vr,i as Ur,j as Or,k as _r,l as xr,m as Rr}from"./MYFRO3H3.js";import"./APZRVZOS.js";import{c as nt}from"./RTWSGMSN.js";import{a as ne}from"./LTXRBE7M.js";import{d as tt,e as rt,f as k,g as st,h as at,i as ot}from"./RTSZ536G.js";import"./VFHFDAOP.js";import"./R2PVK5UN.js";import{b as ze,c as Ye,d as Ke,h as We}from"./SBAMIHLH.js";import{a as hm}from"./5TQJTHJX.js";import{a as $u}from"./5OM23AYK.js";import{a as Bs}from"./YEDZN5WH.js";import{a as No,b as he,c as ye,d as be,e as Te,f as M,g as W}from"./7XE5OD45.js";import{a as pa}from"./LZFZCIGH.js";import{a as ae}from"./S6RKOVKR.js";import{a as se}from"./FR3JKRZI.js";import{a as ks}from"./6DE6RSTD.js";import{a as Ps}from"./TG6ZEHWY.js";import{k as Zr,l as es,m as ts,n as rs,o as ss}from"./IMVDVU5J.js";import{a as y}from"./BHDPDSAP.js";import{a as As}from"./RFRK7Y2N.js";import{a as qe,c as V,d as Cs}from"./IJMPHCXA.js";import{a as Xr}from"./2S6OYEYO.js";import{a as f,b as Dr,c as Nr,d as te,e as Hr,f as Gr,g as Lr,h as Fr,i as $r,j as F,k as Vr,l as jr,m as kr,n as Br,o as zr,p as Yr,q as Kr,r as Wr,s as qr,t as Qr}from"./PE2EEIM5.js";import{a as m}from"./DQUQ24IX.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";function hg(e,t){let r=!1;if(x(t)){let s=e.initiative?m(e,"initiative.item.properties.collaborationGroupId"):m(e,"site.properties.collaborationGroupId"),{groups:a=[]}=t;r=!!s&&!!te(a,"id",s)}return r}function yg(e,t){let r=!1;return!m(e,"properties.isDefaultHubHome")&&x(t)&&(r=z(e,t)),r}var Sd=["portal:user:createGroup","portal:user:createItem","portal:user:shareToGroup","portal:user:viewOrgGroups","portal:user:viewOrgItems"];function bg(e,t){let r=!1,s=m(e,"properties.isDefaultHubHome"),a=x(t);if(!s&&a)r=z(e,t);else if(a){let o=t.orgId,n=e.orgId;if(!!o&&o===n){let c=t.privileges||[];r=Sd.every(l=>P(c,l))}}return r}var Tg=(e,t,r)=>{let s=f(e),a=_(e);return ae("type",a,s),Ee({item:s},t,r)};function Id(e=""){console.warn("DEPRECATED: Use getFamily() instead. getCategory will be removed at the next breaking version");let t=qe(e);return t==="feedback"?"app":t}function Eg(e=""){return ce[e.toLowerCase()]}function Sg(e={}){console.warn("DEPRECATED: getTypeCategories will be removed at the next breaking version");let t=_(e),r=Id(t);if(r){let s=Array.from(r);return s[0]=s[0].toUpperCase(),[s.join("")]}else return["Other"]}function Ig(e,t){if(P(["template","feedback"],e.family))return e.id;if(Je(e.type,e.typeKeywords)){let s=(m(t,"data.values.pages")||[]).find(o=>o.id===e.id);return s?s.slug:de(e.item).split(ut).pop()}if(e.slug){let r,s=m(t,"domainInfo.orgKey");return m(t,"data.values.isUmbrella")?r=e.slug:r=Ce(e.slug,s),r}return e.hubId||e.id}function Cg(e){return B(e)}function Ag(e){let t=Cd(e),{errors:r,boundary:s,metadata:a,slug:o,groupIds:n,orgId:i,orgName:c,organization:l,orgExtent:u,server:p,layers:h,layer:b,recordCount:v,statistics:U,extent:O,searchDescription:X}=e.attributes,Z=b&&b.id;return B(t,{layerId:Z,slug:o,errors:r,metadata:a||null,groupIds:n,org:i&&{id:i,name:c||l,extent:u},server:p,layers:h,recordCount:v,boundary:s,extent:O,searchDescription:X,statistics:U})}function Cd(e){if(!e)return;let{id:t,attributes:r}=e;if(!r)return;let{itemId:s}=Ie(t),{owner:a,orgId:o,created:n,modified:i,name:c,title:l,type:u,typeKeywords:p,description:h,snippet:b,tags:v,thumbnail:U,categories:O,contentStatus:X,spatialReference:Z,accessInformation:Be,licenseInfo:Yt,culture:Kt,url:ee,access:Wt,proxyFilter:qt,properties:Qt,appCategories:Jt,industries:Xt,languages:Zt,largeThumbnail:er,banner:tr,screenshots:rr,listed:sr,ownerFolder:ar,size:or,protected:nr,commentsEnabled:ir,numComments:cr,numRatings:ur,avgRating:lr,numViews:mr,itemControl:dr,scoreCompleteness:pr,itemExtent:fr,itemModified:gr,modifiedProvenance:hr,serviceSpatialReference:yr}=r,br=ee&&Se(ee);return{id:s,owner:a,orgId:o,created:n,modified:gr||hr==="item.modified"&&i,title:l||c,type:br||u,typeKeywords:p,description:h,tags:v,snippet:b,thumbnail:U,extent:fr||[],categories:O,contentStatus:X,spatialReference:Z||yr,accessInformation:Be,licenseInfo:Yt,culture:Kt,url:ee,access:Wt,size:or,protected:nr,proxyFilter:qt,properties:Qt,appCategories:Jt,industries:Xt,languages:Zt,largeThumbnail:er,banner:tr,screenshots:rr,listed:sr,ownerFolder:ar,commentsEnabled:ir,numComments:cr,numRatings:ur,avgRating:lr,numViews:mr,itemControl:dr,scoreCompleteness:pr}}var Pg=(e,t)=>{let r=_(Object.assign(Object.assign({},e.item),{type:t})),s=V(r),a=ue(r),o=Ad(r,e.isProxied),n=Object.assign(Object.assign({},e),{type:r,family:s,contentTypeIcon:a,contentTypeLabel:o});return Pd(n,{relative:vd(n)})},Ad=(e,t)=>t?"CSV":F(e||""),Pd=(e,t)=>{let r=Object.assign(Object.assign({},e.urls),t);return Object.assign(Object.assign({},e),{urls:r})},vd=(e,t)=>Qe(e.type,t||e.identifier,e.typeKeywords),C=e=>({kind:"service",service:{availability:e}});async function vg(e,t){let{timeout:r=3e3}=t,s=q(t,["timeout"]),{url:a}=e;if(!!!a)return C("available");let n=a.includes("?");if(ge(n?a.split("?")[0]:a)){let c=it(Object.assign({url:a},s)).then(()=>C("available")).catch(u=>{if(u.response){let p=u.response.error.code,h=[401,403,499].includes(p);return C(h?"auth-required":"unavailable")}else return C("auth-required")});return Promise.race([c,await we(r)]).then(u=>u||C("slow"))}else return C("available")}var St;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info"})(St||(St={}));var Ud=["portal","discussions","events","metrics","notifications","hub-search","domains","hub-downloads","hub-ai-assistant"];function Ug(e){return Ud.includes(e)}var It;(function(e){e.CREATED_AT="createdAt",e.CREATOR="creator",e.EDITOR="editor",e.ID="id",e.UPDATED_AT="updatedAt"})(It||(It={}));var Ct;(function(e){e.HUB="hub",e.AGO="ago",e.URBAN="urban"})(Ct||(Ct={}));var At;(function(e){e.POST="post"})(At||(At={}));function Og(e,t={}){let{access:r,groups:s,orgs:a}=e;return Od(t,{access:r,groups:s,orgs:a})}function Od(e,t){let{username:r,groups:s=[]}=e,{access:a,groups:o=[],orgs:n}=t;return r?a===d.PRIVATE?Pt(s,o):Pt(s,o)&&Rd(e,n):!1}function Pt(e,t){return t.every(r=>{let s=e.find(a=>a.id===r);return s&&_d(s)&&xd(s)})}function _d(e){let{userMembership:{memberType:t}}=e;return["owner","admin","member"].includes(t)}function xd(e){let{typeKeywords:t=[]}=e;return!t.includes(S)}function Rd(e,t){return N(e)&&t.includes(e.orgId)}function _g(e,t={}){return new Q(e).canCreateChannel(t)}var wd=Object.freeze(["owner","admin"]);function je(e={},t){let{username:r,groups:s=[]}=e,{access:a,groups:o=[],orgs:n=[],creator:i}=t;return r?r===i?!0:a===d.PRIVATE?vt(o,s):vt(o,s)||Md(n,e):!1}function vt(e,t){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o}}=s;return r===a&&wd.includes(o)}))}function Md(e,t){return N(t)&&e.includes(t.orgId)}function xg(e,t={}){return pt(t,e.orgId)?!0:je(t,e)}function Rg(e,t={}){return E(t,e.orgId)?!0:je(t,e)}function wg(e,t={}){return _e(t,e.orgId)?!0:je(t,e)}var Dd=Object.freeze(["owner","admin","member"]);function Mg(e,t={}){let{access:r,groups:s,orgs:a,allowAnonymous:o}=e;return E(t,e.orgId)?!0:Nd(t,{access:r,groups:s,orgs:a,allowAnonymous:o})}function Nd(e,t){let{username:r,groups:s,orgId:a}=e,{allowAnonymous:o,access:n,groups:i,orgs:c}=t;return o===!0?!0:r?n===d.PUBLIC?!0:n===d.PRIVATE?Hd(i,s):n===d.ORG?c.includes(a):!1:!1}function Hd(e=[],t=[]){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o},typeKeywords:n}=s;return r===a&&Dd.includes(o)&&!n.includes(S)}))}function Lt(e,t={}){return dt(t,e.orgId)?!0:e.access==="private"?Ut(["member","owner","admin"])(t,e):e.access==="org"?Ut(["member","owner","admin"])(t,e)||Gd(e,t):!0}function Dg(e,t={}){return Lt(e,t)}function Ut(e){return(t,r)=>{let{groups:s=[]}=r,{groups:a=[]}=t,o=a.reduce(Oe(e),[]);return s["some"](i=>o.indexOf(i)>-1)}}function Gd(e,t){return e.orgs.length===1&&e.orgs.indexOf(t.orgId)>-1}var Ld=Object.freeze(["owner","admin","member"]);function Ng(e,t={}){let{access:r,groups:s,orgs:a}=e;return E(t,e.orgId)?!0:Fd(t,{access:r,groups:s,orgs:a})}function Fd(e,t){let{username:r,groups:s,orgId:a}=e,{access:o,groups:n,orgs:i}=t;return r?o===d.PUBLIC?!0:o===d.PRIVATE?$d(n,s):o===d.ORG?i.includes(a):!1:!1}function $d(e=[],t=[]){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o},typeKeywords:n}=s;return r===a&&Ld.includes(o)&&!n.includes(S)}))}var Vd=Object.freeze(["owner","admin","member"]);function Hg(e,t={}){let{access:r,groups:s,orgs:a}=e;return E(t,e.orgId)?!0:jd(t,{access:r,groups:s,orgs:a})}function jd(e,t){let{username:r,groups:s,orgId:a}=e,{access:o,groups:n,orgs:i}=t;return r?o===d.PUBLIC?!0:o===d.PRIVATE?kd(n,s):o===d.ORG?i.includes(a):!1:!1}function kd(e=[],t=[]){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o},typeKeywords:n}=s;return r===a&&Vd.includes(o)&&!n.includes(S)}))}function Gg(e,t={}){return E(t,e.orgId)?!0:e.allowReply?new Q(e).canPostToChannel(t):!1}function Lg(e,t,r={}){return Bd(e,r)||zd(t,r)}function Bd(e,t){return!!t.username&&e.creator===t.username}function zd(e,t){return E(t,e.orgId)?!0:e.channelAcl?new Q(e).canModerateChannel(t):!1}function Fg(e,t={},r){return Yd(e,t,r)}function Yd(e,t={},r){let{access:s,groups:a,orgs:o,allowAnonymous:n}=r;return Kd(e,t)&&Wd(t,{access:s,groups:a,orgs:o,allowAnonymous:n})}function Kd(e,t){return!!t.username&&e.creator===t.username}function Wd(e,t){let{groups:r=[],orgId:s}=e,{access:a,groups:o=[],orgs:n=[]}=t;return a===d.PUBLIC?!0:a===d.ORG?Ot(o,r)||n.includes(s):Ot(o,r)}function Ot(e,t){return e.some(r=>t.some(s=>{let{id:a,typeKeywords:o=[]}=s;return r===a&&!o.includes(S)}))}var qd=Object.freeze(["owner","admin"]);function $g(e,t={}){return Qd(e,t)}function Qd(e,t={}){return E(t,e.orgId)?!0:Jd(t,e)}function Jd(e,t){let{username:r,groups:s=[]}=e,{access:a,groups:o=[],orgs:n=[],creator:i}=t;return r?i===r?!0:a===d.PRIVATE?_t(o,s):_t(o,s)||Xd(n,e):!1}function _t(e,t){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o}}=s;return r===a&&qd.includes(o)}))}function Xd(e,t){return N(t)&&e.includes(t.orgId)}function Vg(e,t,r={}){return Zd(e,t)?Lt(e,r):!1}function Zd(e,t){let{allowReaction:r,allowedReactions:s}=e;return r?s?s.includes(t):!0:!1}function jg(e,t,r={}){return ep(e,t)?Me(e,r):!1}function ep(e,t){let{allowReaction:r,allowedReactions:s}=e;return r?s?s.includes(t):!0:!1}function tp(e){let{autoAddResult:t,inviteResult:r,primaryEmailResult:s,secondaryEmailResult:a}=e,o;if(s||a){let i=[s,a].filter(u=>u),c=i.every(u=>u.success),l=i.reduce((u,p)=>u.concat(y(p,"errors",[])),[]);o={success:c},l.length&&(o.errors=l)}return{success:[t,r,o].filter(i=>i).every(i=>i.success),autoAdd:t,invite:r,email:o}}function rp(e,t){if(e){let r=!m(e,"notAdded.length")&&!e.errors;if(t.autoAddResult={success:r},!r){let s=e.errors||[];m(e,"notAdded.length")&&s.push(new ze(`Users not auto-added: ${e.notAdded.join(", ")}`)),t.autoAddResult.errors=s;let a=t.usersToAutoAdd.filter(o=>P(e.notAdded,o.username));t.usersToInvite=t.usersToInvite.concat(a)}}return t}function sp(e){return De(m(e,"groupId"),m(e,"usersToAutoAdd"),m(e,"primaryRO.authentication")).then(t=>rp(t,e))}function ap(e){return Ne(m(e,"groupId"),m(e,"usersToInvite"),m(e,"primaryRO.authentication")).then(t=>(e.inviteResult=t,e))}function Ft(e){return e.role==="org_admin"&&!e.roleId}function $t(e,t,r,s){let a=Promise.resolve(null);if(e.length){let o={authentication:r,message:t.body,subject:t.subject,notificationChannelType:"email",users:e.map(n=>n.username)};s||(o.batchSize=1),a=Et(o)}return a}function op(e){let t=Promise.resolve(e);return e.email&&m(e,"inviteResult.success")&&(t=$t(e.usersToEmail,e.email,e.primaryRO.authentication,Ft(e.requestingUser)).then(r=>(e.primaryEmailResult=r,e))),t}function Vt(e,t){return e.orgId===t.orgId}function np(e){let t=Promise.resolve(e);if(e.email&&e.secondaryRO&&m(e,"inviteResult.success")){let r=y(e,"secondaryRO.portalSelf.user",{}),s=e.usersToInvite.filter(a=>Vt(a,r));t=$t(s,e.email,e.secondaryRO.authentication,Ft(r)).then(a=>(e.secondaryEmailResult=a,e))}return t}function jt(e,t){let r=[];if(t.privileges.indexOf("portal:admin:assignToGroups")!==-1){let s=[t.orgId,t.cOrgId].filter(a=>a);r=e.filter(a=>s.indexOf(a.orgId)!==-1)}return r}function kt(e,t){let r=jt(e,t);return e.filter(s=>!r.some(a=>a.username===s.username))}function ip(e,t,r=!1){let a=kt(e,t).filter(o=>Vt(o,t));return r&&a.push(t),a}function kg(e,t,r,s,a){let o=f(y(r,"portalSelf.user",{}));o.cOrgId=m(r,"portalSelf.portalProperties.hub.settings.communityOrg.orgId");let n={groupId:e,allUsers:t,primaryRO:r,email:s,secondaryRO:a,requestingUser:o,usersToAutoAdd:jt(t,o),usersToInvite:kt(t,o),usersToEmail:ip(t,o,m(s,"copyMe"))};return sp(n).then(ap).then(op).then(np).then(tp)}function Bg(e){let t=T(lt,{success:!0}),r=T(mt,{success:!0});return t(e).then(()=>r(e))}var xt=["ar","bs","ca","cs","da","de","en","es","et","el","fi","fr","hr","he","hu","it","id","ja","ko","lt","lv","nb","nl","pl","pt","pt-br","pt-pt","ro","ru","sl","sr","sv","th","tr","uk","vi","zh","zh-cn","zh-tw","zh-hk"];function zg(e="en"){let t="en";if(e=e.toLowerCase(),xt.indexOf(e)>-1)t=e;else{let r=e.split("-");r.length>1&&xt.indexOf(r[0])>-1&&(t=r[0])}return t}var Rt={devext:"https://hubdevcdn.arcgis.com",qaext:"https://hubqacdn.arcgis.com",www:"https://hubcdn.arcgis.com"};function cp(e){if(e.isPortal)return`${$(e)}${re}`;{let t=e.portalHostname.split(".")[0];return`${Rt[t]||Rt.www}/opendata-ui/assets`}}function Yg(e,t,r="cors"){let a=`${cp(t)}/locales/${e}.json`.toLocaleLowerCase();return fetch(a,{method:"GET",credentials:"same-origin",mode:r}).then(n=>n.json()).catch(n=>{throw Error(`Attempt to fetch locale ${e} from ${a} failed: ${JSON.stringify(n)}`)})}function Kg(e){return m(e,"portalSelf.user.culture")||m(e,"portalSelf.culture")||"en-us"}function Wg(e){let t=T(He,{success:!0}),r=T(ct,{success:!0});return t(e).then(()=>r(e))}function qg(e,t){return e.map(r=>(r.properties||(r.properties={}),Object.assign(r.properties,t),r))}function up(e,t,r){let s=Object.keys(t).map(o=>`${o}:"${t[o]}"`).join(" AND "),a={q:`title:"${e}" AND ${s}`,authentication:r};return nt(a).then(o=>o.results.length>0).catch(o=>{throw Error(`Error in doesItemExistWithTitle ${o}`)})}function lp(e){let t=f(e.item);return t.text=JSON.stringify(e.data),t}function Qg(e,t){let r=T(Y,{id:e.item.id,success:!0}),s=Object.assign({item:lp(e)},t);return r(s)}var mp=100;function Jg(e,t,r=-1,s){let a=t.num||mp,o=t.start||1;return(r===-1?e(Object.assign(Object.assign({},t),{num:a,start:o})):Promise.resolve({nextStart:o,total:r,results:[],num:a})).then(i=>{if(i.nextStart===-1)return[i];let c=[];for(let u=i.nextStart;u<=i.total;u+=a)c.push(u);return Ue(c,u=>e(Object.assign(Object.assign({},t),{start:u,num:a})),s).then(u=>[i,...u])}).then(i=>{let c=i.reduce((u,p)=>[...u,...p.results],[]),l=r===-1?c.length:r;return c.slice(0,l)})}function Xg(e,t){let r=`${e}Model`,s=`${e}Id`;if(t[r])return Promise.resolve(t[r]);if(t[s])return T(me,{item:{id:t[s]},isMissing:!0})(t[s],t);throw new Error(`getModelFromOptions requires either a .${r} or .${s} property.`)}function dp(e,t,r,s=0){let a=e;return s&&(a=`${e} ${s}`),up(a,t,r).then(o=>o?(s++,dp(e,t,r,s)):a).catch(o=>{throw Error(`Error in getUniqueItemTitle ${o}`)})}function Zg(e){let t={item:{id:e.item.id},appid:e.item.id};return Ge(e,t,{toISO(s,a){return a}})}var pp=["id","isOrgItem","proxyFilter","ownerFolder","protected","owner","created","modified","guid","name","access","size","listed","numComments","numRatings","avgRating","numViews","scoreCompleteness","groupDesignations","listed","screenshots","banner","appCategories","industries","languages","largeThumbnail"];function eh(e){let t=f(e);return pp.forEach(r=>{delete t[r]}),t.extent="{{organization.defaultExtentBBox}}",t}function th(e,t,r){let s=`${A(r)}/oauth2/registerApp`,a={method:"POST",authentication:r.authentication,params:{itemId:e,appType:"browser",redirect_uris:JSON.stringify(t)}};return We(s,a)}function fp(e,t,r){return he(e,function(a){if(!ye(a))return a;let o;return W(t)?o=t:o=new RegExp(t,"g"),a.replace(o,r)})}function rh(e,t,r="{{appid}}"){let s=f(e),a=new RegExp(t,"g");return fp(s,a,r)}function sh(e,t){if(e.item.protected){let r=Object.assign({id:e.item.id},t);return He(r)}else return Promise.resolve({success:!0})}function ah(e,t,r){let s=e.map(o=>o.attributes[t]),a=null;switch(r){case"sum":a=s.reduce((o,n)=>o+n,0);break;case"count":a=s.length;break;case"avg":a=s.reduce((o,n)=>o+n,0)/s.length;break;case"min":a=s.reduce((o,n)=>Math.min(o,n),Number.MAX_VALUE);break;case"max":a=s.reduce((o,n)=>Math.max(o,n),Number.MIN_VALUE);break;case"countByValue":a=s.reduce((o,n)=>(o[n]?o[n]+=1:o[n]=1,o),{});break}return a}async function oh(e,t,r){return Object.entries(t).reduce(async(s,[a,o])=>{let i=await T(at,null)(e.id,Object.assign({fileName:o,readAs:o.split(".").pop()},r));return i&&(s[a]=i),s},{})}function nh(e,t){return Ae(e,t).then(r=>{let s=[Promise.resolve(r)];return r?s.push(rt(r.id,t)):s.push(Promise.resolve(null)),Promise.all(s)}).then(r=>r[0]?{item:r[0],data:r[1]}:null)}async function ih(e,t,r){let s=[];return t.forEach(a=>{s.push(xe(e.item.id,e.item.owner,a.resource,a.filename,r))}),Promise.all(s).then(()=>{let a=t.reduce((o,n)=>{let i=n.filename.split(".").shift();return o[i]=n.resource,o},{});return Object.assign({resources:a},e)})}function gp(e){let{token:t,authentication:r}=e;return r?r.getToken(r.portal):Promise.resolve(t)}async function hp(e,t){let{url:r,method:s,data:a}=e,{mode:o,cache:n,credentials:i}=t,{headers:c,params:l}=bp(e,t),p=`${yp(t.hubApiUrl)}${r}?${new URLSearchParams(l)}`,h={headers:c,method:s,cache:n,credentials:i,mode:o};a&&(h.body=JSON.stringify(a));let b=await fetch(p,h),{statusText:v,status:U}=b;if(b.ok)return b.json();let O=await b.json();throw new Ve(v,p,U,JSON.stringify(O.message))}function yp(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function bp(e,t){let r=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&r.set("Authorization",t.token);let s=Object.assign(Object.assign({},e.params),t.params);return{headers:r,params:s}}var Ve=class extends Error{constructor(t,r,s,a){super(t),this.status=s,this.url=r,this.error=a}},wt;(function(e){e.EMAIL="EMAIL"})(wt||(wt={}));var Mt;(function(e){e.TELEMETRY_REPORT="TELEMETRY_REPORT",e.EVENT="EVENT",e.DISCUSSION_ON_ENTITY="DISCUSSION_ON_ENTITY"})(Mt||(Mt={}));var Dt;(function(e){e.DISCUSSION="DISCUSSION"})(Dt||(Dt={}));var Nt;(function(e){e.ON_EVENT="ON_EVENT",e.DAILY="DAILY",e.WEEKLY="WEEKLY",e.MONTHLY="MONTHLY"})(Nt||(Nt={}));var Ht;(function(e){e.DISCUSSION_POST_PENDING="DISCUSSION_POST_PENDING"})(Ht||(Ht={}));var Tp=(e,t)=>hp({url:"/api/newsletters-scheduler/v1/subscriptions/notify",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);async function ch(e){return e.token=await gp(e),Tp(e.data,e)}async function uh(e){return e.token=await H(e),ht(e.data,e)}async function lh(e){return e.token=await H(e),yt(e.userId,e)}async function mh(e){return e.token=await H(e),bt(e.userId,e.data,e)}async function dh(e){return e.token=await H(e),Tt(e.userId,e)}function Gt(e,t){if(!D(e,t))return Array.isArray(e)?e.reduce((r,s)=>{if(Le(s)){let a=Gt(s,t);a!==void 0&&(r=[...r,a])}else s!==t&&(r=[...r,s]);return r},[]):M(e)?Object.keys(e).reduce((r,s)=>{if(Le(e[s])&&!D(e[s],t)){let a=Gt(e[s],t);r[s]=a}else D(e[s],t)||(r=Object.assign(Object.assign({},r),{[s]:e[s]}));return r},{}):e}function ph(e,t){return se(e,t)}function fh(e,t){return t.reduce((r,s)=>{let a=m(e,s);return a&&r.push(a),r},[])}function $e(e,t){let r=Object.keys(e);return t=t||f(e),r.reduce(function(a,o){if(Array.isArray(e[o]))a[o]=e[o].map(n=>$e(n,t));else if(e[o]&&M(e[o])&&!be(e[o])&&!W(e[o])&&!Te(e[o]))if(e[o]&&e[o].$use){let n=m(t,e[o].$use);M(n)?a[o]=$e(n,t):a[o]=n}else a[o]=$e(e[o],t);else a[o]=e[o];return a},{})}function Ep(e,t){let r=e;return e.indexOf("token")===-1&&e.indexOf(t.authentication.portal)>-1&&(r=`${e}?token=${t.authentication.token}`),r}function gh(e,t){let r=e.assets||e.resources||[];if(e.bundleItemId){let a=`${A(t.portalSelf)}/content/items/${e.bundleItemId}`,o=e.itemId;r=r.map(n=>({name:n.name,type:n.type||"resource",url:`${a}/resources/${o}-${n.name}`}))}return r}function hh(e,t){let r=[];if(e.resources&&e.bundleItemId){let a=`${A(t.portalSelf)}/content/items/${e.bundleItemId}`,o=e.itemId;r=e.resources.map(n=>({name:n,type:"resource",url:`${a}/resources/${o}-${n}`}))}return r}async function Bt(e,t={}){t.credentials||(t.credentials="same-origin");return Ke(e)&&await Ye(e),fetch(e,t).then(r=>r.blob())}function Sp(e){return Bt(e.url).then(t=>gt({id:e.id,owner:e.owner,name:e.fileName,resource:t,authentication:e.authentication}))}function Ip(e){return Bt(e.url).then(t=>Y({item:{id:e.id,owner:e.owner},params:{fileName:e.fileName,thumbnail:t},authentication:e.authentication}).catch(r=>Promise.resolve())).catch(t=>Promise.resolve())}function yh(e,t){let s=`${A(t.portalSelf)}/content/items/${e.id}`,a=ie(e,t),o=[];return a&&o.push({name:e.thumbnail,url:a,type:"thumbnail"}),st(e.id,t).then(n=>{let i=n.resources.map(c=>({name:c.resource,type:"resource",url:`${s}/resources/${c.resource}`}));return o.concat(i)})}function bh(e,t,r){if(Array.isArray(t)){let s=t.reduce((a,o)=>{if(o.url){let n={id:e.item.id,owner:e.item.owner,fileName:o.name,url:Ep(o.url,r),authentication:r.authentication};o.type==="thumbnail"?a.push(Ip(n)):a.push(Sp(n))}return a},[]);return Promise.all(s)}else return Promise.resolve([])}function Cp(e,t,r){throw new Error("Not implemented")}function Ap(e,t,r){throw new Error("Not implemented")}async function Pp(e,t,r){let s=Object.keys(e)[0],a=e[s],o={predicate:f(e),matched:!0,reasons:[]},n={};if(s==="group"){let c=await ot(t.id,r);n.groups=[...y(c,"admin",[]),...y(c,"member",[]),...y(c,"other",[])].map(l=>({id:l.id,title:l.title})),t.group=n.groups.map(l=>l.id)}let i=m(t,s);if(i){let c={any:vp,all:Up,not:Op};Object.keys(c).forEach(l=>{let u=m(a,l);if(u){let h=m(c,l)(s,u,i);h.meta=n,o.reasons.push(h)}}),o.matched=o.reasons.every(l=>l.matched)}else o.matched=!1,o.reasons.push({attribute:s,matched:!1,message:`Property ${s} not present on search result, cannot provide explanation`});return Promise.resolve(o)}function vp(e,t,r){let s={attribute:e,values:g(r).join(","),condition:"IN",matched:!1,requirement:g(t).join(","),message:"No match"},{matches:a}=ke(g(t),g(r));return s.matched=a.length>0,s.matched?s.message=`Value(s) ${s.values} contained at least one of value from [${s.requirement}]`:s.message=`Value(s) ${s.values} did not contain any of value from [${s.requirement}]`,s}function Up(e,t,r){let s={attribute:e,values:g(r).join(","),condition:"ALL",requirement:g(t).join(","),matched:!1,message:"No match"},{options:a,matches:o}=ke(g(t),g(r));return s.matched=o.length===a.length,s.matched?s.message=`Value(s) ${s.values} contained all values from [${s.requirement}]`:s.message=`Value(s) ${s.values} did not contain all values from [${s.requirement}]`,s}function Op(e,t,r){let s={attribute:e,values:g(r).join(","),condition:"NOT_IN",requirement:g(t).join(","),matched:!1,message:"No match"},{matches:a}=ke(g(t),g(r));return s.matched=a.length===0,s.matched?s.message=`Value(s) ${s.values} is not contained in [${s.requirement}]`:s.message=`Value(s) ${s.values} is contained in [${s.requirement}]`,s}function g(e){return Array.isArray(e)?e:[e]}function ke(e,t){let r={options:e,values:t,matches:[]};return r.matches=e.reduce((s,a)=>(t.includes(a)&&s.push(a),s),[]),r}async function _p(e,t,r){let s=Object.keys(e)[0],a=Pp;return et.includes(s)&&(Ze.includes(s)?a=Cp:a=Ap),a(e,t,r)}async function xp(e,t,r){let s={filter:f(e),matched:!1,reasons:[]};for(let a of e.predicates){let o=await _p(a,t,r);s.reasons.push(o)}return e.operation==="OR"?s.matched=s.reasons.some(a=>a.matched):s.matched=s.reasons.every(a=>a.matched),s}async function Th(e,t,r){if(t.targetEntity!=="item")throw new Error('explainQueryResult: Only queries with targetEntity: "item" are supported');let s=j(t),a=[];for(let c of s.filters){let l=await xp(c,e,r);a.push(l)}let o=a.reduce((c,l)=>(l.matched||(c=!1),c),!0),n=[];return a.forEach(c=>{c.reasons.forEach(l=>{l.reasons.forEach(u=>{n.push(u)})})}),{result:f(e),query:f(t),matched:o,reasons:a,summary:n}}async function Eh(e,t,r,s){let a=y(e,"catalogs",[]);return Fe(a,t,r,s)}function Sh(e,t){let s=le(e).scopes[t];if(!s)throw new Error(`No query found for scope: ${t}`);let a=j(s);return Pe(a)}function Ih(e,t){if(t.isPortal)return Promise.resolve([]);let r=`${R(t.hubApiUrl)}?siteId=${e}`,s=w(t);return fetch(r,{method:"GET",headers:s,mode:"cors"}).then(K).catch(a=>{throw Error(`Error in getDomainsForSite ${a.toString()}`)})}function Ch(e){return!ne(e.siteId)}function Ah(e,t,r){return pe(e,r).then(s=>s.siteId!==t).catch(()=>!1)}function Ph(e,t){if(t.isPortal)throw new Error("isValidDomain is not available in ArcGIS Enterprise.");let r=`${R(t.hubApiUrl)}/validate?hostname=${e}`,s=w(t);return fetch(r,{method:"GET",headers:s,mode:"cors"}).then(a=>a.json()).catch(a=>({success:!1,input:e,error:{code:400,detail:a,message:"lookupFailed"}}))}function vh(e,t){if(t.isPortal)throw new Error("updateDomain is not available in ArcGIS Enterprise. Instead, edit the hubdomain typekeyword on the item");let r=w(t);r["Content-Type"]="application/json";let s=`${R(t.hubApiUrl)}/${e.id}`,a=e.siteTitle;return typeof a=="number"&&(e.siteTitle=a.toString()),e.clientKey&&(e.clientKey=""),fetch(s,{method:"PUT",headers:r,mode:"cors",body:JSON.stringify(e)}).then(K)}function Uh(e,t){return ve(e,{},t)}function Oh(e,t,r){if(t==="dcat-us")return wp(e,r);if(t==="dcat-ap")return Rp(e,r);if(t==="rss")return Mp(e,r);throw new Error("Unsupported feed format")}function _h(e,t,r,s){if(t==="dcat-us"){Np(e,r,s);return}if(t==="dcat-ap"){Dp(e,r,s);return}if(t==="rss"){Hp(e,r,s);return}throw new Error("Unsupported feed format")}function Rp(e,t){if(I(t)==="2")return e.data.feeds.dcatAP2XX||e.data.feeds.dcatAP201;throw new Error("Unsupported DCAT AP version")}function wp(e,t){if(I(t)==="1")return e.data.feeds.dcatUS1X||e.data.feeds.dcatUS11;throw new Error("Unsupported DCAT US version")}function Mp(e,t){if(I(t)==="2")return e.data.feeds.rss2;throw new Error("Unsupported RSS version")}function Dp(e,t,r){if(I(t)==="2"){e.data.feeds.dcatAP2XX=r;return}throw new Error("Unsupported DCAT AP Version")}function Np(e,t,r){if(I(t)==="1"){e.data.feeds.dcatUS1X=r;return}throw new Error("Unsupported DCAT US Version")}function Hp(e,t,r){if(I(t)==="2"){e.data.feeds.rss2=r;return}throw new Error("Unsupported RSS Version")}var Gp=(e,t)=>k(Object.assign({id:e,relationshipType:"Survey2Service",direction:"forward"},t)).then(({relatedItems:[r]})=>{let s;return r&&(s={item:r}),s});function xh(e,t){return`${t.survey123Url}/share/${e}?portalUrl=${encodeURIComponent(t.portalUrl)}`}var Lp=(e,t)=>k(Object.assign({id:e,relationshipType:"Service2Data",direction:"forward"},t)).then(({relatedItems:[r]})=>{let s;return r&&(s={item:r}),s}),Fp=(e,t)=>k(Object.assign({id:e,relationshipType:"Survey2Data",direction:"forward"},t)).then(({relatedItems:[r]})=>{let s;return r&&(s={item:r}),s});function $p(e){let t=s=>e.typeKeywords.indexOf(s)>-1,r=t("FieldworkerView");return r||(r=["Survey123","Feature Service","View Service"].every(t)&&!t("StakeholderView")),r}var Rh=(e,t)=>{let r,s;return(typeof e=="string"?tt(e,t):Promise.resolve(e)).then(o=>{let n=[Gp(o.id,t),Fp(o.id,t)];return Promise.all(n).then(([i,c])=>(s=c,i&&$p(i.item)?(r=i,Lp(r.item.id,t)):i)).then(i=>({form:{item:o},featureService:i,fieldworker:r,stakeholder:s}))})};function wh(e){return e.typeKeywords.indexOf("Draft")>-1}var Mh=(e,t,r)=>{let{actionLinks:s=[],baseUrl:a="",locale:o="en-US",target:n="self"}=r||{},i=Re(e,t,n,a);return Object.assign(Object.assign(Object.assign({},zt(e,o)),{actionLinks:s,titleUrl:i}),e.thumbnailUrl&&{thumbnailUrl:e.thumbnailUrl})},Dh=(e,t)=>{let{actionLinks:r=[],baseUrl:s="",locale:a="en-US",target:o="self"}=t||{},n=J(e,o,s);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},zt(e,a)),{actionLinks:r}),!isNaN(e.index)&&{index:e.index}),{titleUrl:n}),e.links.thumbnail&&{thumbnailUrl:e.links.thumbnail})},zt=(e,t)=>{var r,s;let a=[{i18nKey:"type",value:e.type},{i18nKey:"dateUpdated",value:e.updatedDate.toLocaleDateString(t)},...!((r=e.tags)===null||r===void 0)&&r.length?[{i18nKey:"tags",value:e.tags.join(", ")}]:[],...!((s=e.categories)===null||s===void 0)&&s.length?[{i18nKey:"categories",value:Xe(e.categories).join(", ")}]:[],{i18nKey:"dateCreated",value:e.createdDate.toLocaleDateString(t)}];return{access:e.access,badges:[],id:e.id,family:V(e.type),source:e.owner,summary:e.summary,title:e.name,type:e.type,additionalInfo:a}};function Nh(e){if(!e)return[];let t=e.replace(/^http(s?):\/\//,"");return[`http://${t}`,`https://${t}`]}function Hh(){if(window)return window.location}function Gh(e){let t=e.match(/((((ftp|https?):\/\/)|(w{3}\.))[-\w@:%_+.~#?,&//=]+)/g);return t&&t.forEach(function(r){e=e.replace(r,'<a target="_blank" href="'+r+'">'+r+"</a>")}),e.replace("(","<br/>(")}function Lh(e){let{portal:t}=e,r=q(e,["portal"]),s=$(t),a=oe(s),o=new URL(`${a}/c`),n=L.btoa(JSON.stringify(r));return o.searchParams.set("d",n),o.toString()}function Vp(e){if(e.isPortal)throw new Error("Hub Url is not available in ArcGIS Enterprise");return oe(e.portalHostname)}function Fh(e){return`${Vp(e)}/api/v3`}var jp=new RegExp("^https?:\\/\\/([a-z0-9-]+\\.)*(arcgis|esri)\\.com"),kp=new RegExp("^https?:$");async function $h(e){let{url:t}=e,r=q(e,["url"]),s;try{if(s=jp.test(t),!s){let{protocol:a,hostname:o}=new URL(t);if(!kp.test(a))throw new Error("invalid protocol");s=await fe(o,r)}}catch{s=!1}return s}function Vh(e){return e.indexOf("http")===-1?`https://${e}`:e.indexOf("http://")!==-1?e.replace(/^http:/i,"https:"):e}var jh=(e,t)=>{let{actionLinks:r=[],baseUrl:s="",target:a="self"}=t||{},o=J(e,a,s);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Bp(e)),{actionLinks:r}),!isNaN(e.index)&&{index:e.index}),{titleUrl:o}),e.links.thumbnail&&{thumbnailUrl:e.links.thumbnail})},Bp=e=>{let t=[],r=e.memberType;return r&&(e.isGroupOwner?t.push({icon:"user-key",color:"gray",i18nKey:"badges.members.owner",hideLabel:!0,tooltip:{i18nKey:"badges.members.owner"}}):r==="admin"?t.push({icon:"user-up",color:"gray",i18nKey:"badges.members.admin",hideLabel:!0,tooltip:{i18nKey:"badges.members.admin"}}):t.push({icon:"user",color:"gray",i18nKey:"badges.members.member",hideLabel:!0,tooltip:{i18nKey:"badges.members.member"}})),{access:e.access,badges:t,family:e.family,id:e.id,source:e.name?`@${e.id}`:void 0,summary:e.summary,title:e.name||`@${e.id}`,type:e.type}};function kh(e,t){let r=!1,s=0,a=t;for(;!r;)P(e,a)?(s++,a=`${t}-${s}`):r=!0;return a}function Bh(e){let r=m(e,"portalProperties.hub.enabled")||!1?"premium":"basic";return e.isPortal&&e.portalMode==="singletenant"&&(r="portal"),r}var zh=e=>y(e,"subscriptionInfo.type","Enterprise");function Yh(e){let t=/-\s(\d+$)/.exec(e);if(t){let r=parseInt(t[1],10),s=r+1;e=e.replace(`- ${r}`,`- ${s}`)}else e=e+" - 1";return e}var zp=e=>e.reduce((t,r)=>t+=`_${typeof r=="object"?JSON.stringify(e):String(r)}_`,""),G={},Kh=e=>{if(!G[`_${e.name}`]){let t={},r=(...s)=>{let a=zp(s);if(t[a])return t[a];let o=e.call(void 0,...s);return t[a]=o,o};G[`_${e.name}`]=r}return G[`_${e.name}`]},Wh=e=>{if(e)delete G[`_${e}`];else{G={};return}};function qh(e){let t=e;return t=t.replace(/^[0-9]*/g,""),t=t.replace(/[^\w\s]/g,""),t=F(t),t}var Qh=(e,t)=>e().then(r=>({status:"fullfilled",results:r,revert:t})).catch(r=>({status:"rejected",error:r})),Jh=e=>Promise.all(e).then(t=>{let r=n=>n.status==="fullfilled",s=t.filter(r),a=t.filter(n=>!r(n));if(a.length){let n=s.map(i=>i.revert());throw Promise.all(n).catch(()=>{}),a[0].error}return s.map(n=>n.results)});function Xh(e,t,r){return r.filter(s=>s[e]!==t)}var Zh=["arcgis-layout-section","arcgis-layout-row","arcgis-layout-column","calcite-button","calcite-chip","calcite-avatar","arcgis-text-card","arcgis-hub-gallery-card","arcgis-hub-image","arcgis-hub-embed-card","arcgis-nav-card","arcgis-hub-timeline","arcgis-hub-entity-metadata","arcgis-hub-catalog","arcgis-hub-map-view","arcgis-hub-entity-metrics-card","arcgis-hub-entity-associations-card","arcgis-hub-entity-status-card","arcgis-hub-entity-metrics-view","arcgis-hub-project-initiatives-view","arcgis-hub-entity-hero","div"],ey=L.atob,ty=L.btoa;export{Is as ALPHA_ORGS,tu as ASSOCIATION_REFERENCE_LIMIT,ga as AclCategory,ha as AclSubCategory,ps as ArcGISContext,Ts as ArcGISContextManager,$l as ArcgisHubDownloadError,Vl as ArcgisHubDownloadFileTooLargeError,S as CANNOT_DISCUSS,em as CARD_TITLE_TAGS,_a as CATALOG_SCHEMA_VERSION,bu as CATALOG_SETUP_TYPES,Mc as COLLABORATION_TYPES,mu as Catalog,nm as CatalogSchema,Hn as ChannelFilter,Gn as ChannelRelation,Ln as ChannelSort,lu as Collection,om as CollectionSchema,It as CommonSort,po as DEFAULT_THEME,Uu as DISCUSSION_SETTINGS_SCHEMA,Rm as DeliveryMethod,Ct as DiscussionSource,Im as DiscussionType,Ll as DownloadOperationStatus,ds as ENTERPRISE_HOME_SUBDOMAIN,re as ENTERPRISE_SITES_PATH,Ss as ENTERPRISE_SITES_SERVICE_STATUS,Su as ENTERPRISE_SITE_ENTITY_NAME_SCHEMA,So as ENTERPRISE_SITE_ITEM_TYPE,Cu as ENTITY_ACCESS_SCHEMA,Nu as ENTITY_CATALOG_SETUP_SCHEMA,Pu as ENTITY_CATEGORIES_SCHEMA,Ou as ENTITY_FEATURED_CONTENT_SCHEMA,Ru as ENTITY_IMAGE_SCHEMA,vu as ENTITY_IS_DISCUSSABLE_SCHEMA,Hu as ENTITY_LAYOUT_SETUP_SCHEMA,_u as ENTITY_LOCATION_SCHEMA,xu as ENTITY_MAP_SCHEMA,Tu as ENTITY_NAME_SCHEMA,Iu as ENTITY_SUMMARY_SCHEMA,Au as ENTITY_TAGS_SCHEMA,wu as ENTITY_TIMELINE_SCHEMA,Tm as EmbedKind,Dl as EntityEditor,La as EntityResourceMap,Gi as EntitySettingType,pu as ExpressionRelationships,Kl as FeatureLayerStyle,_s as FileExtension,sm as FilterSchema,Cr as GLOBAL_EXTENT,tm as GalleryDisplayConfigSchema,Rr as GeoJSONPolygonToBBox,Rt as HUB_CDN_URLMAP,Ra as HUB_ENTITY_TYPES,xa as HUB_ITEM_ENTITY_TYPES,xt as HUB_LOCALES,Es as HUB_SERVICE_STATUS,Eo as HUB_SITE_ITEM_TYPE,El as HubChannel,Sl as HubContent,Il as HubDiscussion,Xo as HubEntityHero,Zo as HubEntityStatus,Ys as HubError,_l as HubEvent,nc as HubEventAttendanceType,ic as HubEventCapacityType,Rs as HubFamilies,Xu as HubGroup,Pl as HubInitiative,wl as HubInitiativeTemplate,Ju as HubPage,Zr as HubPermissionsPolicies,Ol as HubProject,gl as HubSite,Ml as HubTemplate,xs as ItemType,St as JobRecordStatus,kl as JobRecordType,Xr as Logger,Em as MAX_ENTITY_METRICS_ALLOWED,Sm as MAX_FEATURED_METRICS_ALLOWED,fa as MENTION_ATTRIBUTE,fu as MetricVisibility,wm as NewsletterCadence,zs as OperationError,ca as OperationStack,Fl as PORTAL_EXPORT_TYPES,Mu as PRIVACY_CONFIG_SCHEMA,Cm as PostReaction,mi as PostRelation,li as PostSort,ci as PostStatus,ui as PostType,rm as PredicateSchema,Os as PublisherSource,am as QuerySchema,Sd as REQUIRED_PRIVS,At as ReactionRelation,ko as RemoteServerError,Ic as Role,Eu as SITE_ENTITY_NAME_SCHEMA,Ba as SITE_SCHEMA_VERSION,Du as SLUG_SCHEMA,Ks as STANDARD_LICENSES,Nt as SchedulerCadence,wt as SchedulerDeliveryMethod,Ht as SchedulerSubscriptionAction,Mt as SchedulerSystemNotificationSpecNames,vn as SearchPostsFormat,Ho as ServiceCapabilities,$o as ServiceDownloadFormat,d as SharingAccess,Fn as SortOrder,Mm as SubscriptionAction,Dt as SubscriptionEntityType,Dm as SystemNotificationSpecNames,Wl as TIMELINE_STAGE_STATUSES,hm as UiSchemaElementTypes,$u as UiSchemaMessageTypes,Bs as UiSchemaRuleEffects,gm as UiSchemaSectionTypes,Xs as UpdateFrequency,$c as WELL_KNOWN_EVENT_CATALOGS,Fc as WELL_KNOWN_GROUP_CATALOGS,Lc as WELL_KNOWN_ITEM_CATALOGS,Bm as WGS84_WKID,Ep as _addTokenToResourceUrl,Vt as _canEmailUser,K as _checkStatusAndParseJson,tp as _consolidateResults,he as _deepMapValues,uo as _ensureSafeDomainLength,za as _ensureTelemetry,rp as _formatAutoAddResponse,w as _getAuthHeader,jt as _getAutoAddUsers,R as _getDomainServiceUrl,ip as _getEmailUsers,Nh as _getHttpAndHttpsUris,kt as _getInviteUsers,Hh as _getLocation,be as _isDate,Te as _isFunction,M as _isObject,Ft as _isOrgAdmin,W as _isRegExp,ye as _isString,ka as _lookupPortal,No as _mapValues,Ka as _migrateEventListCardConfigs,Ya as _migrateFeedConfig,Ja as _migrateLinkUnderlinesCapability,Wa as _migrateTelemetryConfig,to as _migrateToV2Catalog,sp as _processAutoAdd,ap as _processInvite,op as _processPrimaryEmail,np as _processSecondaryEmail,Bg as _unprotectAndRemoveGroup,Wg as _unprotectAndRemoveItem,ft as acceptAssociation,Yo as addContextToSlug,ws as addCreateItemTypes,Yr as addDays,Vs as addDefaultItemSearchPredicates,go as addDomain,Qm as addGroupMembers,as as addHistoryEntry,ou as addPermissionPolicy,ho as addSiteDomains,gh as addSolutionResourceUrlToAssets,kg as addUsersToGroup,ah as aggregateMetrics,xr as allCoordinatesPossiblyWGS84,qg as applyPropertiesToItems,ml as applyVersion,Dr as arrayToObject,nl as asyncForEach,ey as atob,De as autoAddUsers,Tr as bBoxToExtent,Mr as base64ToUnicode,Ue as batch,Er as bboxToString,Wc as breakAssociation,ty as btoa,Uh as buildDraft,Ym as buildExistingExportsPortalQuery,jo as buildUrl,hu as buildWhereClause,Fu as cacheBustUrl,F as camelize,Og as canCreateChannel,_g as canCreateChannelV2,Ng as canCreatePost,$m as canCreatePostV2,Vg as canCreateReaction,jg as canCreateReactionV2,Hg as canCreateReply,Gg as canCreateReplyV2,xg as canDeleteChannel,Nc as canDeleteChannelV2,Lg as canDeletePost,Om as canDeletePostV2,Rg as canEditChannel,Dc as canEditChannelV2,hg as canEditEvent,z as canEditItem,Yd as canEditPost,Qd as canEditPostStatus,_m as canEditPostStatusV2,jm as canEditPostV2,yg as canEditSite,bg as canEditSiteContent,wg as canModifyChannel,Fg as canModifyPost,$g as canModifyPostStatus,Mg as canPostToChannel,Lt as canReadChannel,Me as canReadChannelV2,Dg as canReadFromChannel,Lo as canUseCreateReplica,Nl as canUseHubDownloadApi,Fo as canUseHubDownloadSystem,Vm as cannotCreatePostGroupsBlockedV2,qr as capitalize,cu as catalogContains,ce as categories,va as channelToSearchResult,dl as checkForStaleVersion,ss as checkPermission,Kr as chunkArray,Wh as clearMemoizedCache,f as cloneObject,Ko as combineQueries,Ha as commitItemUpload,Ga as compareAccess,Gr as compose,B as composeContent,Tg as composeHubContent,Wo as constructSlug,Sc as convertClientEventToHubEvent,_c as convertItemToContent,Uc as convertItemToDiscussion,on as convertItemToInitiative,Rc as convertItemToInitiativeTemplate,fn as convertItemToPage,Cn as convertItemToProject,Uo as convertItemToSite,bn as convertItemToTemplate,pn as convertModelToPage,vo as convertModelToSite,hh as convertSolutionTemplateResourcesToAssets,zg as convertToWellKnownLocale,Gh as convertUrlsToAnchorTags,wn as convertUserToHubUser,jn as createChannel,Kn as createChannelNotificationOptOut,ti as createChannelNotificationOptOutV2,Qn as createChannelV2,ki as createContent,Ki as createDiscussion,Sr as createExtent,yl as createHubChannel,mc as createHubEvent,fc as createHubEventRegistration,Fi as createHubGroup,Lr as createId,tn as createInitiative,Zi as createInitiativeTemplate,Na as createItem,Jm as createItemFromFile,Xm as createItemFromUrl,Zm as createItemFromUrlOrFile,Fa as createModel,ma as createOperationPipeline,ln as createPage,fi as createPost,Ii as createPostV2,Qi as createProject,Am as createReaction,vm as createReactionV2,gi as createReply,Ci as createReplyV2,_i as createSetting,Mi as createSettingV2,Io as createSite,Hm as createSubscription,rc as createTemplate,uh as createUser,fl as createVersion,ks as dasherize,Ag as datasetToContent,Cd as datasetToItem,zl as deepCatalogContains,Gt as deepDeletePropByValue,D as deepEqual,ad as deepFilter,nd as deepFind,od as deepFindById,se as deepSet,fp as deepStringReplace,Xa as defaultSiteCollectionKeys,zi as deleteContent,qi as deleteDiscussion,Tl as deleteHubChannel,pc as deleteHubEvent,gc as deleteHubEventRegistration,ji as deleteHubGroup,an as deleteInitiative,tc as deleteInitiativeTemplate,Yu as deleteItemThumbnail,gn as deletePage,Xi as deleteProject,pa as deleteProp,Ao as deleteSite,oc as deleteTemplate,dh as deleteUser,ll as deleteVersion,ku as deriveUserRoleV2,Un as discussionsApiRequest,On as discussionsApiRequestV2,up as doesItemExistWithTitle,Wu as doesResourceExist,fe as domainExists,no as domainExistsPortal,Vc as dotifyString,Yi as editorToContent,gu as editorToMetric,ac as editorToTemplate,$t as emailOrgUsers,En as enrichContentSearchResult,Nn as enrichGroupSearchResult,Sn as enrichImageSearchResult,nn as enrichInitiativeSearchResult,wc as enrichInitiativeTemplateSearchResult,hn as enrichPageSearchResult,An as enrichProjectSearchResult,Oo as enrichSiteSearchResult,Tn as enrichTemplateSearchResult,Mn as enrichUserSearchResult,ph as ensureProp,lo as ensureUniqueDomainName,kh as ensureUniqueString,j as expandPortalQuery,Th as explainQueryResult,pi as exportPosts,Si as exportPostsV2,zr as extend,Ir as extentToBBox,Or as extentToPolygon,T as failSafe,Qg as failSafeUpdate,Jg as fetchAllPages,Sp as fetchAndUploadResource,Ip as fetchAndUploadThumbnail,Gu as fetchCategoriesUiSchemaElement,kn as fetchChannel,Yn as fetchChannelNotifcationOptOut,ei as fetchChannelNotifcationOptOutV2,Jn as fetchChannelV2,Tc as fetchContent,vc as fetchDiscussion,jl as fetchDownloadFile,Ec as fetchEvent,Hc as fetchHubChannel,Oc as fetchHubContent,Gc as fetchHubEntity,$i as fetchHubGroup,Yg as fetchHubTranslation,Dn as fetchHubUser,Bt as fetchImageAsBlob,sn as fetchInitiative,xc as fetchInitiativeTemplate,un as fetchItem,Bl as fetchItemJobRecords,ys as fetchMaxNumUserGroupsLimit,Va as fetchModelFromItem,oh as fetchModelResources,la as fetchOrg,hs as fetchOrgLimits,oi as fetchOrganization,dn as fetchPage,hi as fetchPost,Ai as fetchPostV2,In as fetchProject,xi as fetchSetting,Di as fetchSettingV2,Po as fetchSite,oo as fetchSiteModel,yn as fetchTemplate,ls as fetchUserHubSettings,cs as fetchUserSiteSettings,Br as filterBy,te as findBy,Qo as findItemsBySlug,Qr as flattenArray,rd as followEntity,Da as generateRandomString,bc as getAssociatedEntitiesQuery,Xc as getAssociationStats,Jc as getAvailableToRequestAssociationCatalogs,qc as getAvailableToRequestEntitiesQuery,Lh as getCampaignUrl,Re as getCardModelUrlFromEntity,J as getCardModelUrlFromResult,eo as getCatalogFromSiteModel,ld as getCatalogGroups,Id as getCategory,ju as getCdnAssetUrl,Ia as getChannelAccess,Aa as getChannelGroupIds,Ca as getChannelOrgIds,Pa as getChannelUsersQuery,yd as getContentHomeUrl,Ig as getContentIdentifier,ue as getContentTypeIcon,Ad as getContentTypeLabel,Kg as getCulture,uc as getDatePickerDate,Li as getDefaultEntitySettings,Ih as getDomainsForSite,Vo as getDownloadConfiguration,Gl as getDownloadFormats,Bu as getEditorConfig,ed as getEntityFollowersGroupId,ql as getEntityGroups,Zu as getEntityMetrics,Vu as getEntityThumbnailUrl,ol as getEntityTypeFromHubEntityType,Jr as getEnvironmentFromPortalUrl,hl as getEventGroups,Pn as getEventThumbnail,Wm as getExportItemTypeKeyword,qm as getExportLayerTypeKeyword,_r as getExtentCenter,V as getFamily,Cs as getFamilyTypes,Oh as getFeedConfiguration,dd as getFeedTemplate,_n as getGroupHomeUrl,Fs as getGroupPredicate,Ns as getGroupThumbnailUrl,gs as getHubApiFromPortalUrl,Us as getHubApiUrl,Fh as getHubApiUrlFromPortal,Hl as getHubDownloadApiFormats,sl as getHubEntityTypeFromPath,cp as getHubLocaleAssetUrl,Bh as getHubProduct,uu as getHubTypeFromItemType,Vp as getHubUrlFromPortal,Gp as getInputFeatureServiceModel,qs as getItemApiUrl,yh as getItemAssets,Ae as getItemBySlug,Js as getItemDataUrl,vs as getItemHomeUrl,aa as getItemHubId,de as getItemIdentifier,na as getItemLayer,sa as getItemLayerId,ie as getItemThumbnailUrl,js as getKilobyteSizeOfQuery,ta as getLayerIdFromUrl,me as getModel,nh as getModelBySlug,Xg as getModelFromOptions,ns as getObjectSize,fo as getOrgDefaultTheme,Pr as getOrgExtentAsBBox,ms as getOrgThumbnailUrl,rl as getPathForHubEntityType,Yc as getPendingEntitiesQuery,cn as getPendingProjectsQuery,es as getPermissionPolicy,A as getPortalApiUrl,fs as getPortalBaseFromOrgUrl,$ as getPortalUrl,Zs as getPortalUrls,Ua as getPostCSVFileName,ai as getPredicateValues,m as getProp,fh as getProps,ea as getProxyUrl,Zc as getReferencedEntityIds,Ma as getRelativeWorkspaceUrl,Kc as getRequestingEntitiesQuery,$s as getResultSiteRelativeLink,hd as getS123EditUrl,xh as getS123ShareUrl,Ls as getScopeGroupPredicate,vg as getServiceStatus,Se as getServiceTypeFromUrl,ao as getSiteById,Lp as getSourceFeatureServiceModelFromFieldworker,Km as getSpatialRefTypeKeyword,Fp as getStakeholderModel,Ws as getStructuredLicense,Lm as getSubscription,zh as getSubscriptionType,Gm as getSubscriptions,Rh as getSurveyModels,Lu as getTagItems,lc as getTimePickerTime,Sg as getTypeCategories,Ps as getTypeFromEntity,Eg as getTypes,yc as getTypesFromEntityType,co as getUniqueDomainName,io as getUniqueDomainNamePortal,dp as getUniqueItemTitle,Jo as getUniqueSlug,lh as getUser,cd as getUserGroupsByMembership,ud as getUserGroupsFromQuery,Rn as getUserHomeUrl,Hs as getUserThumbnailUrl,il as getVersion,Qc as getWellKnownAssociationsCatalog,kc as getWellKnownCatalog,jc as getWellKnownCatalogs,du as getWellKnownGroup,zc as getWellknownCollection,Bc as getWellknownCollections,y as getWithDefault,cc as guessTimeZone,x as hasBasePriv,Mo as hasServiceCapability,Bo as hubApiRequest,Oi as hubSearch,P as includes,Yh as incrementString,Al as initiativeResultToCardModel,Rl as initiativeTemplateResultToCardModel,xl as initiativeTemplateToCardModel,Cl as initiativeToCardModel,Ge as interpolate,Zg as interpolateItemId,Ne as inviteUsers,Ro as isAGOFeatureServiceUrl,bd as isArrayEqual,vr as isBBox,Td as isComboboxItemSelected,iu as isCuid,ya as isDiscussable,Ch as isDomainForLegacySite,Ah as isDomainUsedElsewhere,Qs as isDownloadable,wh as isDraft,bs as isEnterprisePortalUrl,ra as isFeatureService,$p as isFieldworkerView,ne as isGuid,xo as isHostedFeatureServiceMainEntity,_o as isHostedFeatureServiceMainItem,Ug as isHubService,ia as isLayerView,Go as isMapOrFeatureServerUrl,Wr as isNil,Yl as isOpenDataGroup,N as isOrgAdmin,_e as isOrgAdminInOrg,Ea as isOrgChannel,ts as isPermission,Sa as isPrivateChannel,Ta as isPublicChannel,$h as isSafeRedirectUrl,wo as isSecureProxyServiceUrl,ge as isService,ua as isServicesDirectoryDisabled,As as isSiteType,zo as isSlug,da as isUpdateGroup,td as isUserFollowing,Cc as isUserInOrg,Ph as isValidDomain,wa as isValidEntityType,Ur as isValidExtent,pp as itemPropsNotInTemplates,Cg as itemToContent,kr as last,Zh as layoutNodeTags,pe as lookupDomain,rs as mapBy,Fr as maybeAdd,$r as maybePush,Kh as memoize,ve as mergeObjects,qa as migrateBadBasemap,ro as migrateEnsureHeaderComponentName,Gs as migrateToCollectionKey,Qa as migrateWebMappingApplicationSites,Ee as modelToHubEditableContent,en as negateGroupPredicates,_ as normalizeItemType,eh as normalizeSolutionTemplateItem,ch as notify,Nr as objectToArray,yu as objectToJsonBlob,Ar as orgExtent,al as parseContainmentPath,Ie as parseDatasetId,km as parseDiscussionURI,oa as parseItemCategories,xm as parseMentionedUsers,tl as pathMap,xn as pickProps,ru as poll,ii as portalToOrganization,ni as portalToSearchResult,pd as previewFeed,Xl as processActionLink,Jl as processActionLinks,Jh as processRevertableTasks,Ul as projectResultToCardModel,vl as projectToCardModel,qh as propifyString,Oe as reduceByGroupMembership,th as registerBrowserApp,gd as reharvestSiteCatalog,Ds as relativeDateToDateRange,zn as removeChannel,qn as removeChannelActivity,si as removeChannelActivityV2,Wn as removeChannelNotificationOptOut,ri as removeChannelNotificationOptOutV2,Zn as removeChannelV2,Ce as removeContextFromSlug,bo as removeDomain,To as removeDomainByHostname,yo as removeDomainsBySiteId,mo as removeEmptyProps,os as removeHistoryEntry,nu as removePermissionPolicy,yi as removePost,Pi as removePostV2,Pm as removeReaction,Um as removeReactionV2,qu as removeResource,wi as removeSetting,Hi as removeSettingV2,rh as replaceItemId,ft as requestAssociation,el as resolveMetric,$e as resolveReferences,Qh as runRevertableTask,md as searchAssociatedContent,Fe as searchCatalogs,Za as searchCategoriesToCollections,$n as searchChannels,Vn as searchChannelsV2,Eh as searchEntityCatalogs,di as searchPosts,Ei as searchPostsV2,cl as searchVersions,Sh as serializeCatalogScope,lp as serializeModel,Pe as serializeQueryForPortal,zm as serializeSpatialReference,Pg as setContentType,ba as setDiscussableKeyword,Ql as setEntityAccess,eu as setEntityAssociationGroup,_h as setFeedConfiguration,fd as setFeedTemplate,Ku as setItemThumbnail,ae as setProp,qo as setSlugKeyword,ym as shareEntityWithGroups,au as shareItemToGroups,Oa as slugify,Qu as stringToBlob,ja as stripProtocol,Nm as subscribe,Zl as targetEntities,Dh as templateResultToCardModel,Mh as templateToCardModel,Ed as titleize,Do as toggleServiceCapability,sd as unfollowEntity,wr as unicodeToBase64,Vr as unique,jr as uniqueBy,sh as unprotectModel,bm as unshareEntityWithGroups,su as unshareItemFromGroups,Bn as updateChannel,Xn as updateChannelV2,Bi as updateContent,Wi as updateDiscussion,vh as updateDomain,bl as updateHubChannel,hc as updateHubEntity,dc as updateHubEvent,Vi as updateHubGroup,rn as updateInitiative,ec as updateInitiativeTemplate,Y as updateItem,$a as updateModel,mn as updatePage,bi as updatePost,Ti as updatePostStatus,Ui as updatePostStatusV2,vi as updatePostV2,Ji as updateProject,Ri as updateSetting,Ni as updateSettingV2,Co as updateSite,Fm as updateSubscription,sc as updateTemplate,mh as updateUser,us as updateUserHubSettings,is as updateUserSiteSettings,pl as updateVersion,ul as updateVersionMetadata,le as upgradeCatalogSchema,Vh as upgradeProtocol,so as upgradeSiteSchema,zu as uploadImageResource,bh as uploadResourcesFromUrl,ih as upsertModelResources,xe as upsertResource,Ac as userHasPrivilege,Pc as userHasPrivileges,jh as userResultToCardModel,pm as validCardEditorTypes,dm as validDiscussionSettingsEditorTypes,fm as validEditorTypes,mm as validEmbedCardEditorTypes,im as validEntityEditorTypes,lm as validEventGalleryCardEditorTypes,um as validFollowCardEditorTypes,cm as validStatCardEditorTypes,id as validateUrl,Ms as valueToMatchOptions,we as wait,Hr as without,Xh as withoutByProp};
|
package/dist/cdn/UTVH4LLV.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.0 */
|
|
4
|
-
import{f as r,s,t as i,x as o}from"./V4TM3IDY.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
|
package/dist/cdn/UTZJAYCY.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.0 */
|
|
4
|
-
import b from"./W2HI5MSG.js";import{a}from"./JKND3TIV.js";import"./JPZLPSFU.js";import"./UMXFPNAN.js";import"./YSR3WNLV.js";import"./RA3YKBRT.js";import"./IGHCEOJD.js";import"./QJNRSARZ.js";import"./EDM6FN6X.js";import"./TG6ZEHWY.js";import"./IMVDVU5J.js";import"./BHDPDSAP.js";import"./RFRK7Y2N.js";import"./IJMPHCXA.js";import{a as o}from"./HPLPS2JT.js";import"./TC46RBXP.js";import"./OFED3QPZ.js";import"./AST5IXCY.js";import{b as i,c,d,e as r,i as p}from"./R3UDD63K.js";import"./2S6OYEYO.js";import"./PE2EEIM5.js";import"./DQUQ24IX.js";import"./I5WZ5BPU.js";export default $arcgis.t(([,{a:h,b:l}])=>{var u=":not(.workspace-link__text){--calcite-link-blue-underline:transparent;--calcite-color-text-link:transparent}::slotted(*){height:100%}",k=u,g=class{constructor(t){p(this,t),this.arcgisHubWorkspaceLinkClicked=r(this,"arcgisHubWorkspaceLinkClicked",7),this.hubTelemetry=r(this,"hubTelemetry",7),this.pane=void 0,this.href=void 0,this.relativeToOrigin=void 0,this.telemetry={},this.iconStart=void 0,this.iconEnd=void 0,this.target=void 0,this.isText=!0,this.isButton=!1,o(this,"handleClick","handleKeyDown","handleSlotChange")}get _href(){let t=this.href;return this.pane&&(t=h(this.pane)),this.href&&!this.href.startsWith("http")&&this.relativeToOrigin?`${window.location.origin}${t}`:t}handleSlotChange(t){var s,e;let n=a(t);if(this.isText=!n.length,((e=(s=n[0])===null||s===void 0?void 0:s.tagName)===null||e===void 0?void 0:e.toLowerCase())==="calcite-button"){this.isButton=!0;let m=n[0];m.href=this._href}}handleClick(t){let e=t.currentTarget.getAttribute("data-value"),n=e?{clickEvent:t,pane:e}:{clickEvent:t,href:this._href};this.arcgisHubWorkspaceLinkClicked.emit(n),l({pane:this.pane,href:this._href,hubTelemetry:this.hubTelemetry,telemetry:this.telemetry})}handleKeyDown(t){t.key==="enter"&&this.handleClick(t)}render(){return i(c,{key:"873589e89610cb5d1ba5ab534ee8b62074ae2868"},this.isButton?i("div",{"data-value":this.pane,onClick:this.handleClick,onKeyDown:this.handleKeyDown},i("slot",null)):i("calcite-link",{class:{"workspace-link__text":this.isText},"data-value":this.pane,href:this._href,iconEnd:this.iconEnd,iconStart:this.iconStart,onClick:this.handleClick,target:this.target},i("slot",{onSlotchange:this.handleSlotChange})))}get element(){return d(this)}};g.style=k;return g},"config",b)
|
package/dist/cdn/UZMIJ53L.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.0 */
|
|
4
|
-
import"./I5WZ5BPU.js";var a={chart:"Diagramm",barChart:"Lintdiagramm",lineChart:"Joondiagramm",pieChart:"Sektordiagramm",histogram:"Histogramm",scatterplot:"Punktdiagramm",boxPlot:"Karpdiagramm"},e={mean:"Keskmine",median:"Keskmine",sum:"Summa",discretePercentile:"Diskreetne protsentiil",minimum:"Miinimum",maximum:"Maksimum",variance:"Dispersioon",count:"Kogus",aggregation:"${ statistics } /${ fieldName }",noAggregation:"Agregeerimist pole"},i="Diagramm",t="Sarjade arv",s="X-telg",m="Pole k\xE4ttesaadav",r={start:"Haagi esimesse andmepunkti",end:"Haagi viimasesse andmepunkti"},n={chartType:a,statistics:e,defaultTitle:i,countSeries:t,xAxis:s,notAvailable:m,timeAggregationTypes:r};export{a as chartType,t as countSeries,n as default,i as defaultTitle,m as notAvailable,e as statistics,r as timeAggregationTypes,s as xAxis};
|