@esri/hub-web-components 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/22ELUOM2.js +4 -0
- package/dist/cdn/23D2Z2WL.js +4 -0
- package/dist/cdn/23VFSFTJ.js +4 -0
- package/dist/cdn/2BHXOHNP.js +4 -0
- package/dist/cdn/2BL7SZZO.js +4 -0
- package/dist/cdn/2DP5I3NE.js +4 -0
- package/dist/cdn/2EODRJET.js +4 -0
- package/dist/cdn/2EXHN662.js +4 -0
- package/dist/cdn/2H4FRWGV.js +4 -0
- package/dist/cdn/2HDQORSZ.js +4 -0
- package/dist/cdn/2HPIGBU5.js +4 -0
- package/dist/cdn/2LFESU6W.js +4 -0
- package/dist/cdn/2LNXKRRV.js +4 -0
- package/dist/cdn/2MEIOUFG.js +4 -0
- package/dist/cdn/2MI3NOOS.js +4 -0
- package/dist/cdn/2NH5R5MA.js +4 -0
- package/dist/cdn/2NUJLCJY.js +4 -0
- package/dist/cdn/2R6GDFTD.js +4 -0
- package/dist/cdn/2SUTMP6Z.js +4 -0
- package/dist/cdn/2T446PAY.js +4 -0
- package/dist/cdn/2TTARZ7G.js +4 -0
- package/dist/cdn/2UOA7GHU.js +4 -0
- package/dist/cdn/2VWK4OHS.js +4 -0
- package/dist/cdn/2WJE2XRZ.js +4 -0
- package/dist/cdn/2WPZQART.js +4 -0
- package/dist/cdn/2YWWSACV.js +4 -0
- package/dist/cdn/2ZOPBX2Y.js +4 -0
- package/dist/cdn/33FF4MLT.js +4 -0
- package/dist/cdn/34VZT72E.js +4 -0
- package/dist/cdn/35AWK6O4.js +4 -0
- package/dist/cdn/36WJAUQ5.js +4 -0
- package/dist/cdn/37X6XVPL.js +4 -0
- package/dist/cdn/3BLCTNGP.js +4 -0
- package/dist/cdn/3BY2BXCV.js +4 -0
- package/dist/cdn/3CEZRTAX.js +4 -0
- package/dist/cdn/3CSHLMXQ.js +4 -0
- package/dist/cdn/3E4KDXVW.js +4 -0
- package/dist/cdn/3G4ARZGM.js +4 -0
- package/dist/cdn/3GS6GFQN.js +4 -0
- package/dist/cdn/3HGETRZC.js +4 -0
- package/dist/cdn/3HXJND3F.js +4 -0
- package/dist/cdn/3IXHWBY5.js +4 -0
- package/dist/cdn/3JD3P2GE.js +4 -0
- package/dist/cdn/3JD63F7T.js +4 -0
- package/dist/cdn/3K6KIDGN.js +4 -0
- package/dist/cdn/3KD5EYRZ.js +4 -0
- package/dist/cdn/3KJN7HJS.js +4 -0
- package/dist/cdn/3TASLOLK.js +52 -0
- package/dist/cdn/3UPYGHDS.js +5 -0
- package/dist/cdn/3URFUH7T.js +4 -0
- package/dist/cdn/3VRXFJYX.js +4 -0
- package/dist/cdn/3W5HBL7F.js +4 -0
- package/dist/cdn/3XHA2EWK.js +4 -0
- package/dist/cdn/3YJTIQOC.js +4 -0
- package/dist/cdn/42HQM7QR.js +4 -0
- package/dist/cdn/42V6CIQW.js +4 -0
- package/dist/cdn/446N6AR7.js +4 -0
- package/dist/cdn/44EPBGMK.js +4 -0
- package/dist/cdn/45CHTSQH.js +4 -0
- package/dist/cdn/45HTVU7G.js +4 -0
- package/dist/cdn/4A462HXP.js +4 -0
- package/dist/cdn/4ADSWH7E.js +4 -0
- package/dist/cdn/4BQI7LLC.js +4 -0
- package/dist/cdn/4BQUYTNU.js +4 -0
- package/dist/cdn/4C5GPYL7.js +4 -0
- package/dist/cdn/4EDMAP6B.js +4 -0
- package/dist/cdn/4FCMJ4O4.js +4 -0
- package/dist/cdn/4FNSGNLF.js +4 -0
- package/dist/cdn/4GRXUW2R.js +4 -0
- package/dist/cdn/4IYMB7GI.js +4 -0
- package/dist/cdn/4J7IW5WX.js +4 -0
- package/dist/cdn/4JME2Q4X.js +4 -0
- package/dist/cdn/4JXCTBDR.js +4 -0
- package/dist/cdn/4KYBYFUU.js +4 -0
- package/dist/cdn/4MT6VMR7.js +4 -0
- package/dist/cdn/4NC6F5EE.js +4 -0
- package/dist/cdn/4NLRCIN7.js +4 -0
- package/dist/cdn/4O5QTU6B.js +4 -0
- package/dist/cdn/4ONZPMUV.js +4 -0
- package/dist/cdn/4RNXSEHQ.js +7 -0
- package/dist/cdn/4TAP4E6Z.js +4 -0
- package/dist/cdn/4THCAACV.js +59 -0
- package/dist/cdn/4TJLOU7F.js +4 -0
- package/dist/cdn/4U22QXC3.js +4 -0
- package/dist/cdn/4UHOA5PL.js +4 -0
- package/dist/cdn/4URYUG43.js +4 -0
- package/dist/cdn/4ZGUM7W3.js +41 -0
- package/dist/cdn/52UISQVC.js +4 -0
- package/dist/cdn/53YDUBMT.js +4 -0
- package/dist/cdn/55O2DMTV.js +4 -0
- package/dist/cdn/55OHC5FC.js +4 -0
- package/dist/cdn/56PUMFPL.js +4 -0
- package/dist/cdn/5B7ACPBG.js +4 -0
- package/dist/cdn/5CJRYHE7.js +4 -0
- package/dist/cdn/5EJIVXTW.js +4 -0
- package/dist/cdn/5ERQH3OM.js +4 -0
- package/dist/cdn/5FZHLKXQ.js +4 -0
- package/dist/cdn/5G5CKAVJ.js +4 -0
- package/dist/cdn/5H5K5OPQ.js +4 -0
- package/dist/cdn/5JNA2KJO.js +4 -0
- package/dist/cdn/5JVO2RNZ.js +4 -0
- package/dist/cdn/5KM6WEEH.js +4 -0
- package/dist/cdn/5LBANAND.js +4 -0
- package/dist/cdn/5QPO4V2O.js +4 -0
- package/dist/cdn/5S5SC273.js +4 -0
- package/dist/cdn/5SBY6UO4.js +4 -0
- package/dist/cdn/5SJ3RLMM.js +4 -0
- package/dist/cdn/5TBKWS6Q.js +4 -0
- package/dist/cdn/5VJ43Q7B.js +4 -0
- package/dist/cdn/5XLQ5XL3.js +4 -0
- package/dist/cdn/5XQNL25W.js +4 -0
- package/dist/cdn/5YJFXTW4.js +4 -0
- package/dist/cdn/62APTYFL.js +4 -0
- package/dist/cdn/63JDK4EP.js +4 -0
- package/dist/cdn/64QLAVT7.js +4 -0
- package/dist/cdn/64UB7GKN.js +4 -0
- package/dist/cdn/65FPSMF4.js +4 -0
- package/dist/cdn/664OX4LA.js +4 -0
- package/dist/cdn/67V6JWZR.js +4 -0
- package/dist/cdn/6CB47MEY.js +4 -0
- package/dist/cdn/6CFS7SN6.js +4 -0
- package/dist/cdn/6CLIVFVI.js +4 -0
- package/dist/cdn/6FKZHC62.js +4 -0
- package/dist/cdn/6FUOKMYI.js +4 -0
- package/dist/cdn/6GTDK3U3.js +4 -0
- package/dist/cdn/6IMGAMJG.js +24 -0
- package/dist/cdn/6LYDWIS2.js +4 -0
- package/dist/cdn/6MM2UDND.js +4 -0
- package/dist/cdn/6N5YOMTG.js +4 -0
- package/dist/cdn/6NHPDDPA.js +4 -0
- package/dist/cdn/6NJ3KJ6A.js +4 -0
- package/dist/cdn/6OMNJDSJ.js +4 -0
- package/dist/cdn/6QSDZC6B.js +4 -0
- package/dist/cdn/6SIXBJ75.js +4 -0
- package/dist/cdn/6TCLEVMS.js +4 -0
- package/dist/cdn/6UEU4FSH.js +4 -0
- package/dist/cdn/6V6GHPY5.js +4 -0
- package/dist/cdn/6VXUNBHJ.js +4 -0
- package/dist/cdn/6W2TV7XX.js +4 -0
- package/dist/cdn/6W6HPBLZ.js +4 -0
- package/dist/cdn/6WFEML5H.js +51 -0
- package/dist/cdn/6WXKXTQ3.js +4 -0
- package/dist/cdn/6Y34CQCO.js +4 -0
- package/dist/cdn/6YMYTI2Z.js +4 -0
- package/dist/cdn/6YZZPYL6.js +4 -0
- package/dist/cdn/6ZHBBU7J.js +4 -0
- package/dist/cdn/72MESGYE.js +4 -0
- package/dist/cdn/72RQEQMC.js +4 -0
- package/dist/cdn/73X7PMFN.js +4 -0
- package/dist/cdn/74SGLWKM.js +4 -0
- package/dist/cdn/75LIUCDG.js +4 -0
- package/dist/cdn/765PB6LW.js +4 -0
- package/dist/cdn/76BDK3ZC.js +4 -0
- package/dist/cdn/7AKMK4QD.js +4 -0
- package/dist/cdn/7B36G6TO.js +4 -0
- package/dist/cdn/7BSQMIQ7.js +4 -0
- package/dist/cdn/7C6U2AAB.js +4 -0
- package/dist/cdn/7D65VHBA.js +4 -0
- package/dist/cdn/7DASROMZ.js +4 -0
- package/dist/cdn/7IXF3PDK.js +4 -0
- package/dist/cdn/7LFUPPJO.js +4 -0
- package/dist/cdn/7LX7GYRW.js +4 -0
- package/dist/cdn/7MOB6X7V.js +4 -0
- package/dist/cdn/7N3R3S2X.js +4 -0
- package/dist/cdn/7PV3ULT5.js +4 -0
- package/dist/cdn/7SMZL6LX.js +4 -0
- package/dist/cdn/7SPH7G7M.js +4 -0
- package/dist/cdn/7TASE3ZP.js +4 -0
- package/dist/cdn/7UUCNICK.js +4 -0
- package/dist/cdn/7VBE5PUK.js +4 -0
- package/dist/cdn/7WMNZQ4O.js +4 -0
- package/dist/cdn/7Z5MPI4Q.js +4 -0
- package/dist/cdn/7ZMWGGTB.js +4 -0
- package/dist/cdn/A2JF6YLF.js +4 -0
- package/dist/cdn/A47RADMR.js +4 -0
- package/dist/cdn/A4QNXHU4.js +4 -0
- package/dist/cdn/A7FTCRHN.js +4 -0
- package/dist/cdn/A7LPXAB4.js +4 -0
- package/dist/cdn/A7NEG5B5.js +4 -0
- package/dist/cdn/ADTACYS2.js +4 -0
- package/dist/cdn/AHCMHOKT.js +4 -0
- package/dist/cdn/AI2Z4SMJ.js +4 -0
- package/dist/cdn/AIQN7A5E.js +4 -0
- package/dist/cdn/AIT2GE6D.js +4 -0
- package/dist/cdn/AJWLBBXT.js +4 -0
- package/dist/cdn/ALIZIODZ.js +4 -0
- package/dist/cdn/ANG4YFV3.js +4 -0
- package/dist/cdn/APPPIYJF.js +4 -0
- package/dist/cdn/AQGLLJ5G.js +4 -0
- package/dist/cdn/AUQDRR4C.js +4 -0
- package/dist/cdn/AWQAQVIJ.js +4 -0
- package/dist/cdn/AY73YQV5.js +4 -0
- package/dist/cdn/AZKIA3XI.js +4 -0
- package/dist/cdn/B4P62FRF.js +4 -0
- package/dist/cdn/B5UEDFSE.js +4 -0
- package/dist/cdn/B63O4MMI.js +4 -0
- package/dist/cdn/BBSN34E5.js +4 -0
- package/dist/cdn/BCEYNXKB.js +4 -0
- package/dist/cdn/BD7D6ZAJ.js +4 -0
- package/dist/cdn/BHCMY5TB.js +4 -0
- package/dist/cdn/BMD4GVJG.js +4 -0
- package/dist/cdn/BMWJJUH5.js +6 -0
- package/dist/cdn/BO5ZSB35.js +4 -0
- package/dist/cdn/BRFJIYQH.js +4 -0
- package/dist/cdn/BSZ6NM2Z.js +4 -0
- package/dist/cdn/BTNBBKK7.js +4 -0
- package/dist/cdn/BW44HRZC.js +4 -0
- package/dist/cdn/BWV2C6NQ.js +4 -0
- package/dist/cdn/BXV52SIQ.js +4 -0
- package/dist/cdn/BYJBZ25E.js +4 -0
- package/dist/cdn/C3LPSUPU.js +4 -0
- package/dist/cdn/C4PL5OXR.js +4 -0
- package/dist/cdn/C6EQIBFG.js +4 -0
- package/dist/cdn/C6JDU2JN.js +4 -0
- package/dist/cdn/C6YQI6OL.js +4 -0
- package/dist/cdn/CAITYQLZ.js +4 -0
- package/dist/cdn/CC7EY4WO.js +4 -0
- package/dist/cdn/CCHYZI3R.js +4 -0
- package/dist/cdn/CCI3ELV6.js +4 -0
- package/dist/cdn/CCVYNHNA.js +4 -0
- package/dist/cdn/CEANI6GN.js +4 -0
- package/dist/cdn/CFZBHSRE.js +4 -0
- package/dist/cdn/CGOJPL5B.js +4 -0
- package/dist/cdn/CGPT6O32.js +4 -0
- package/dist/cdn/CH4MRZFS.js +11 -0
- package/dist/cdn/CIOFC3BJ.js +4 -0
- package/dist/cdn/CL4EGXQL.js +42 -0
- package/dist/cdn/CL6SHWJS.js +4 -0
- package/dist/cdn/CLBJUY5I.js +4 -0
- package/dist/cdn/CLNABEMB.js +4 -0
- package/dist/cdn/CMF5UAYT.js +4 -0
- package/dist/cdn/CMH3HZN7.js +4 -0
- package/dist/cdn/CN3J2G3C.js +4 -0
- package/dist/cdn/CNA2TTXC.js +4 -0
- package/dist/cdn/CNRI6TRD.js +4 -0
- package/dist/cdn/COOFKK5K.js +4 -0
- package/dist/cdn/CP56NOKS.js +4 -0
- package/dist/cdn/CR2MTGVV.js +4 -0
- package/dist/cdn/CTXORZC2.js +4 -0
- package/dist/cdn/CUYR66OU.js +4 -0
- package/dist/cdn/CV53KE74.js +4 -0
- package/dist/cdn/CVGVCLTU.js +4 -0
- package/dist/cdn/CVKA5GS7.js +4 -0
- package/dist/cdn/CWXB7WSV.js +4 -0
- package/dist/cdn/CXLZDA6W.js +4 -0
- package/dist/cdn/CYCQNBGN.js +4 -0
- package/dist/cdn/CYNZL5Y3.js +4 -0
- package/dist/cdn/D3GHGZJA.js +4 -0
- package/dist/cdn/D3XJYG6M.js +4 -0
- package/dist/cdn/D6G3H5NJ.js +16 -0
- package/dist/cdn/D7TIV3LM.js +4 -0
- package/dist/cdn/DAA6YEXO.js +4 -0
- package/dist/cdn/DARLGMSX.js +4 -0
- package/dist/cdn/DBSDGD62.js +4 -0
- package/dist/cdn/DCRLJGIW.js +4 -0
- package/dist/cdn/DDUIE3JQ.js +4 -0
- package/dist/cdn/DFHHONGT.js +4 -0
- package/dist/cdn/DFNHWC7Y.js +4 -0
- package/dist/cdn/DG4UXUAA.js +4 -0
- package/dist/cdn/DGTZVJYA.js +4 -0
- package/dist/cdn/DH4SHKA7.js +4 -0
- package/dist/cdn/DHGIHI7T.js +4 -0
- package/dist/cdn/DI43XB3G.js +4 -0
- package/dist/cdn/DJSFFHZG.js +9 -0
- package/dist/cdn/DKURHNSW.js +4 -0
- package/dist/cdn/DLPZCLBD.js +4 -0
- package/dist/cdn/DLWLPVUH.js +4 -0
- package/dist/cdn/DLWSJ6NR.js +4 -0
- package/dist/cdn/DLYJVFYH.js +4 -0
- package/dist/cdn/DMGBF75S.js +4 -0
- package/dist/cdn/DNQ47VD2.js +4 -0
- package/dist/cdn/DTFO6JSY.js +4 -0
- package/dist/cdn/DUG53SGD.js +4 -0
- package/dist/cdn/DV2CECUX.js +4 -0
- package/dist/cdn/DWKJN4OR.js +4 -0
- package/dist/cdn/DXDSNUR7.js +4 -0
- package/dist/cdn/DZ2IUDRL.js +4 -0
- package/dist/cdn/E2W3HFMV.js +4 -0
- package/dist/cdn/E3ECSXAY.js +4 -0
- package/dist/cdn/E3TF6ELN.js +4 -0
- package/dist/cdn/E4S5PT33.js +4 -0
- package/dist/cdn/ECCPRHNB.js +4 -0
- package/dist/cdn/ECH56KZV.js +4 -0
- package/dist/cdn/EENSIZ7N.js +4 -0
- package/dist/cdn/EFXS4A5J.js +4 -0
- package/dist/cdn/EGWWWCYV.js +4 -0
- package/dist/cdn/EJ5URVY3.js +4 -0
- package/dist/cdn/EKDW6GPE.js +4 -0
- package/dist/cdn/EKFCVQPV.js +4 -0
- package/dist/cdn/EKKMOSQK.js +4 -0
- package/dist/cdn/ELGFMB3N.js +4 -0
- package/dist/cdn/ELYKSGGV.js +7 -0
- package/dist/cdn/EMLPDT6S.js +4 -0
- package/dist/cdn/ERK4ESTY.js +4 -0
- package/dist/cdn/ERQNVU5I.js +4 -0
- package/dist/cdn/ESYZ7RGO.js +4 -0
- package/dist/cdn/EUSAJYXG.js +4 -0
- package/dist/cdn/EV6XUHDF.js +4 -0
- package/dist/cdn/EWYCGVQF.js +4 -0
- package/dist/cdn/EYNTOOHL.js +4 -0
- package/dist/cdn/EZS3HST3.js +4 -0
- package/dist/cdn/F2E5MJ4T.js +4 -0
- package/dist/cdn/F3ZZEJU6.js +4 -0
- package/dist/cdn/F44OFGC7.js +4 -0
- package/dist/cdn/F7DYMDDL.js +4 -0
- package/dist/cdn/F7PIAM6K.js +4 -0
- package/dist/cdn/F7QH22ZT.js +4 -0
- package/dist/cdn/F7SWI77R.js +4 -0
- package/dist/cdn/FB2QHWDU.js +4 -0
- package/dist/cdn/FBXURUFL.js +4 -0
- package/dist/cdn/FCXBCF2M.js +4 -0
- package/dist/cdn/FDH6EULT.js +4 -0
- package/dist/cdn/FFEY5G4O.js +4 -0
- package/dist/cdn/FH3G2LMF.js +4 -0
- package/dist/cdn/FHOYV2RT.js +4 -0
- package/dist/cdn/FJMPK27B.js +4 -0
- package/dist/cdn/FK7TXIOY.js +4 -0
- package/dist/cdn/FPAKTWAB.js +4 -0
- package/dist/cdn/FPRHF2CQ.js +4 -0
- package/dist/cdn/FQ4JHWU5.js +4 -0
- package/dist/cdn/FREPPS2R.js +4 -0
- package/dist/cdn/FS4KYZ7J.js +4 -0
- package/dist/cdn/FS4UHYKK.js +4 -0
- package/dist/cdn/FTB7I2DO.js +4 -0
- package/dist/cdn/FTNDUJNR.js +4 -0
- package/dist/cdn/FUMNGZPA.js +4 -0
- package/dist/cdn/FUVZSYB4.js +4 -0
- package/dist/cdn/FVMASXB6.js +4 -0
- package/dist/cdn/FYUQONQ3.js +4 -0
- package/dist/cdn/FZMKR2LS.js +4 -0
- package/dist/cdn/G34Q7TJM.js +4 -0
- package/dist/cdn/G35UBXZF.js +4 -0
- package/dist/cdn/G3EPKAAG.js +4 -0
- package/dist/cdn/G3VYMZVR.js +4 -0
- package/dist/cdn/G46V5H3Y.js +4 -0
- package/dist/cdn/G74DAJPD.js +4 -0
- package/dist/cdn/GAFW6OSG.js +4 -0
- package/dist/cdn/GDBVKSZB.js +4 -0
- package/dist/cdn/GDGZ2H46.js +4 -0
- package/dist/cdn/GDISIUVA.js +4 -0
- package/dist/cdn/GDSMH7AO.js +4 -0
- package/dist/cdn/GDSQB4LZ.js +4 -0
- package/dist/cdn/GETJXK7J.js +4 -0
- package/dist/cdn/GG5RUUQX.js +4 -0
- package/dist/cdn/GHCF52GW.js +4 -0
- package/dist/cdn/GLMLBN5Y.js +4 -0
- package/dist/cdn/GMKIOPNM.js +4 -0
- package/dist/cdn/GN56UP27.js +4 -0
- package/dist/cdn/GTE4CA4S.js +4 -0
- package/dist/cdn/GTO4QYKS.js +4 -0
- package/dist/cdn/GTPYUJHV.js +4 -0
- package/dist/cdn/GU7GZJM3.js +4 -0
- package/dist/cdn/GUDCM3A3.js +4 -0
- package/dist/cdn/GUYH444U.js +4 -0
- package/dist/cdn/GVXCSONW.js +4 -0
- package/dist/cdn/GZAETXRR.js +4 -0
- package/dist/cdn/GZLV2LXE.js +4 -0
- package/dist/cdn/GZN5J4OL.js +4 -0
- package/dist/cdn/GZWDR3LD.js +4 -0
- package/dist/cdn/H2YR3JYF.js +4 -0
- package/dist/cdn/H3QA2N2D.js +4 -0
- package/dist/cdn/H5RZGRQV.js +4 -0
- package/dist/cdn/H6SE4QD6.js +4 -0
- package/dist/cdn/H7BRPSKE.js +4 -0
- package/dist/cdn/H7PGPYCD.js +4 -0
- package/dist/cdn/H7QQRX6J.js +4 -0
- package/dist/cdn/HACJGWCU.js +4 -0
- package/dist/cdn/HACMYYEC.js +4 -0
- package/dist/cdn/HATNPJJZ.js +4 -0
- package/dist/cdn/HD7D4JYC.js +4 -0
- package/dist/cdn/HDJ6FM5O.js +4 -0
- package/dist/cdn/HDYLJITM.js +4 -0
- package/dist/cdn/HEYHJTC4.js +4 -0
- package/dist/cdn/HF5YNR2J.js +4 -0
- package/dist/cdn/HI22DNMY.js +4 -0
- package/dist/cdn/HI37V4DR.js +25 -0
- package/dist/cdn/HJR2GEFN.js +4 -0
- package/dist/cdn/HKMYHQIB.js +4 -0
- package/dist/cdn/HMFWFVDZ.js +4 -0
- package/dist/cdn/HNJWLRIO.js +4 -0
- package/dist/cdn/HOMO4X67.js +4 -0
- package/dist/cdn/HOQTETSA.js +4 -0
- package/dist/cdn/HQ7XOICW.js +4 -0
- package/dist/cdn/HTBPXZ47.js +4 -0
- package/dist/cdn/HTREESNI.js +4 -0
- package/dist/cdn/HUGSUHUS.js +4 -0
- package/dist/cdn/HV7AYGEB.js +4 -0
- package/dist/cdn/HWLTS46V.js +4 -0
- package/dist/cdn/HYCTUZUL.js +4 -0
- package/dist/cdn/HYRZA6V4.js +4 -0
- package/dist/cdn/HZV2D5BO.js +4 -0
- package/dist/cdn/I2CFRGUC.js +4 -0
- package/dist/cdn/I3KQM53A.js +5470 -0
- package/dist/cdn/I3RCX5XH.js +4 -0
- package/dist/cdn/I4O47AX6.js +4 -0
- package/dist/cdn/I6366VQC.js +4 -0
- package/dist/cdn/I67IRBAT.js +4 -0
- package/dist/cdn/I7R5G6DR.js +4 -0
- package/dist/cdn/IBGVZ74S.js +4 -0
- package/dist/cdn/ICBQE45Q.js +4 -0
- package/dist/cdn/ID7PBBEF.js +4 -0
- package/dist/cdn/IEIOS44Q.js +4 -0
- package/dist/cdn/IELTPXWO.js +4 -0
- package/dist/cdn/IGV32REW.js +4 -0
- package/dist/cdn/IIHASD36.js +4 -0
- package/dist/cdn/IJIU57D7.js +4 -0
- package/dist/cdn/ING7KFL5.js +4 -0
- package/dist/cdn/INVV2P77.js +4 -0
- package/dist/cdn/INYMAKGZ.js +4 -0
- package/dist/cdn/IQMBW3LV.js +4 -0
- package/dist/cdn/ISEOUG4D.js +4 -0
- package/dist/cdn/ISJQUMF2.js +4 -0
- package/dist/cdn/IT66SQVA.js +4 -0
- package/dist/cdn/IUL3QYB6.js +4 -0
- package/dist/cdn/IVJACGWE.js +4 -0
- package/dist/cdn/IWAZOFLF.js +4 -0
- package/dist/cdn/IWMRLOOZ.js +4 -0
- package/dist/cdn/J227OLWZ.js +4 -0
- package/dist/cdn/J25JOKN7.js +4 -0
- package/dist/cdn/J2MXJMID.js +4 -0
- package/dist/cdn/J3EP46U2.js +4 -0
- package/dist/cdn/J3UN7SQG.js +4 -0
- package/dist/cdn/J4XIWIZG.js +4 -0
- package/dist/cdn/J5F3IQMF.js +4 -0
- package/dist/cdn/J6FPRG56.js +4 -0
- package/dist/cdn/J6O7KASA.js +4 -0
- package/dist/cdn/JB7NN5L7.js +8 -0
- package/dist/cdn/JCOTNK47.js +4 -0
- package/dist/cdn/JCY64CZO.js +4 -0
- package/dist/cdn/JD677L3V.js +4 -0
- package/dist/cdn/JEKKHRYB.js +4 -0
- package/dist/cdn/JFLBXCBE.js +4 -0
- package/dist/cdn/JGYKQN7S.js +4 -0
- package/dist/cdn/JHJPL6S5.js +4 -0
- package/dist/cdn/JIV7KCJJ.js +4 -0
- package/dist/cdn/JJMJPDGO.js +6 -0
- package/dist/cdn/JKMZBPB7.js +4 -0
- package/dist/cdn/JMJOIN2M.js +4 -0
- package/dist/cdn/JNEFA2ZY.js +4 -0
- package/dist/cdn/JNKDLQGH.js +4 -0
- package/dist/cdn/JPISNYXQ.js +4 -0
- package/dist/cdn/JPQRPWIP.js +4 -0
- package/dist/cdn/JSUMPHR3.js +4 -0
- package/dist/cdn/JV55FBTQ.js +4 -0
- package/dist/cdn/JYAVAK46.js +4 -0
- package/dist/cdn/JYWE3FW3.js +4 -0
- package/dist/cdn/JZ7UVITX.js +4 -0
- package/dist/cdn/K2RTEK5Q.js +4 -0
- package/dist/cdn/K32LVOD3.js +4 -0
- package/dist/cdn/K3URAO2P.js +4 -0
- package/dist/cdn/K4Q4Z2C7.js +4 -0
- package/dist/cdn/K5ILXEIJ.js +4 -0
- package/dist/cdn/K5MJ3RD3.js +4 -0
- package/dist/cdn/K6HAJS64.js +4 -0
- package/dist/cdn/K6NZM7HU.js +4 -0
- package/dist/cdn/K6SHGFLE.js +4 -0
- package/dist/cdn/KBJNH42U.js +4 -0
- package/dist/cdn/KCMP5ZXR.js +4 -0
- package/dist/cdn/KFU5RGKO.js +4 -0
- package/dist/cdn/KGN7BOZF.js +4 -0
- package/dist/cdn/KHK4EFEJ.js +4 -0
- package/dist/cdn/KK6AWPG7.js +4 -0
- package/dist/cdn/KKJMVB5Z.js +4 -0
- package/dist/cdn/KKLV4IIN.js +4 -0
- package/dist/cdn/KM35ZPQJ.js +4 -0
- package/dist/cdn/KND3RQNV.js +4 -0
- package/dist/cdn/KSCG5NNV.js +4 -0
- package/dist/cdn/KSKUP7V5.js +4 -0
- package/dist/cdn/KTKZNQOE.js +4 -0
- package/dist/cdn/KWSZDKTH.js +4 -0
- package/dist/cdn/KZMG4DI3.js +4 -0
- package/dist/cdn/L4RDMOKV.js +4 -0
- package/dist/cdn/L567RBQ7.js +4 -0
- package/dist/cdn/L5PJWM7Z.js +4 -0
- package/dist/cdn/L7WLV5QA.js +4 -0
- package/dist/cdn/LBZKHDN2.js +4 -0
- package/dist/cdn/LBZNQYI5.js +4 -0
- package/dist/cdn/LCDOHZUD.js +4 -0
- package/dist/cdn/LDGM6OHK.js +4 -0
- package/dist/cdn/LDSAB6NP.js +4 -0
- package/dist/cdn/LFDITS4A.js +4 -0
- package/dist/cdn/LG7BJCGZ.js +4 -0
- package/dist/cdn/LITBIZEB.js +4 -0
- package/dist/cdn/LMUFLRBV.js +4 -0
- package/dist/cdn/LOU2XYEU.js +4 -0
- package/dist/cdn/LOVGVIDN.js +4 -0
- package/dist/cdn/LQ36TGXF.js +4 -0
- package/dist/cdn/LQ46HNFY.js +4 -0
- package/dist/cdn/LQIKVIBX.js +4 -0
- package/dist/cdn/LRSUCKYM.js +4 -0
- package/dist/cdn/LS6XHJXU.js +4 -0
- package/dist/cdn/LSLILL7W.js +4 -0
- package/dist/cdn/LT4AC5JS.js +4 -0
- package/dist/cdn/LTJSFNKZ.js +4 -0
- package/dist/cdn/LWHA44JI.js +4 -0
- package/dist/cdn/LXNZSRPA.js +4 -0
- package/dist/cdn/LYNAOKNI.js +4 -0
- package/dist/cdn/LYULXLTY.js +4 -0
- package/dist/cdn/LZ6DCDZJ.js +4 -0
- package/dist/cdn/M3CCHTQS.js +4 -0
- package/dist/cdn/M5GFP5OQ.js +4 -0
- package/dist/cdn/M5MALGZT.js +4 -0
- package/dist/cdn/M7WY4MT2.js +4 -0
- package/dist/cdn/MAYSYJ4Y.js +4 -0
- package/dist/cdn/MCJDXV5M.js +4 -0
- package/dist/cdn/MCW2JGNN.js +4 -0
- package/dist/cdn/MDEWICGB.js +4 -0
- package/dist/cdn/MEGRT7JG.js +4 -0
- package/dist/cdn/MEQ5ZYPE.js +4 -0
- package/dist/cdn/MG6L2OVX.js +4 -0
- package/dist/cdn/MH2LKNJ5.js +4 -0
- package/dist/cdn/MHKYKZUJ.js +4 -0
- package/dist/cdn/MHXTN6HI.js +4 -0
- package/dist/cdn/MJC2OHVY.js +4 -0
- package/dist/cdn/MLMUWN6W.js +4 -0
- package/dist/cdn/MLW6QNUO.js +4 -0
- package/dist/cdn/MLXAECJX.js +4 -0
- package/dist/cdn/MMN7IQY5.js +4 -0
- package/dist/cdn/MP5LZTP3.js +4 -0
- package/dist/cdn/MPYIXU2S.js +4 -0
- package/dist/cdn/MQLLCZVH.js +4 -0
- package/dist/cdn/MR2TLM7K.js +4 -0
- package/dist/cdn/MRVJSR2V.js +4 -0
- package/dist/cdn/MS7RJDQI.js +4 -0
- package/dist/cdn/MVCGPTM7.js +4 -0
- package/dist/cdn/MVPSEEWO.js +4 -0
- package/dist/cdn/MWSOJTST.js +4 -0
- package/dist/cdn/MY36MNET.js +4 -0
- package/dist/cdn/MYRPCOVY.js +4 -0
- package/dist/cdn/MYTJ4D54.js +4 -0
- package/dist/cdn/MZABAF5D.js +4 -0
- package/dist/cdn/N353UNL3.js +4 -0
- package/dist/cdn/N6ZTXYS4.js +4 -0
- package/dist/cdn/N7QIDMFF.js +4 -0
- package/dist/cdn/NCATOME2.js +4 -0
- package/dist/cdn/NE7N7J7Y.js +4 -0
- package/dist/cdn/NETUHYFV.js +4 -0
- package/dist/cdn/NGBSHT7S.js +4 -0
- package/dist/cdn/NI5HRAGP.js +4 -0
- package/dist/cdn/NIP4MU24.js +4 -0
- package/dist/cdn/NLPGCOZ4.js +4 -0
- package/dist/cdn/NN4HZVJ2.js +4 -0
- package/dist/cdn/NP656FBW.js +4 -0
- package/dist/cdn/NRNJGOGR.js +4 -0
- package/dist/cdn/NSBRFPCZ.js +4 -0
- package/dist/cdn/NUZCG3IV.js +4 -0
- package/dist/cdn/NVN32YFB.js +4 -0
- package/dist/cdn/NXCWWRU4.js +4 -0
- package/dist/cdn/NXV7EO2A.js +4 -0
- package/dist/cdn/NXYWWLP7.js +4 -0
- package/dist/cdn/NYNS2HAP.js +4 -0
- package/dist/cdn/NZFTKBJ6.js +4 -0
- package/dist/cdn/O2JKY7NA.js +4 -0
- package/dist/cdn/O4HX2FYL.js +4 -0
- package/dist/cdn/O4ZKGGP6.js +4 -0
- package/dist/cdn/O64EDNFC.js +4 -0
- package/dist/cdn/O6HQGENT.js +4 -0
- package/dist/cdn/O7EJQPET.js +4 -0
- package/dist/cdn/O7RPG7HC.js +5 -0
- package/dist/cdn/OBRSIJGN.js +4 -0
- package/dist/cdn/OCNIRZ2M.js +4 -0
- package/dist/cdn/OCOAF75X.js +4 -0
- package/dist/cdn/ODUHNAFQ.js +4 -0
- package/dist/cdn/OERSTTYT.js +4 -0
- package/dist/cdn/OG3GQO7I.js +4 -0
- package/dist/cdn/OHBH2Y5T.js +4 -0
- package/dist/cdn/OJNXIE3S.js +4 -0
- package/dist/cdn/OK4GKVXX.js +4 -0
- package/dist/cdn/OLUDQIR2.js +3 -0
- package/dist/cdn/ON6SQ5ML.js +4 -0
- package/dist/cdn/ONF2OKIY.js +4 -0
- package/dist/cdn/OO2NWM3N.js +4 -0
- package/dist/cdn/OP2B7LWP.js +4 -0
- package/dist/cdn/ORJGP3S7.js +4 -0
- package/dist/cdn/ORPHM7KV.js +4 -0
- package/dist/cdn/OS54I7WA.js +4 -0
- package/dist/cdn/OSA4OIN6.js +4 -0
- package/dist/cdn/OSJIIZAV.js +4 -0
- package/dist/cdn/OTEUSWDL.js +4 -0
- package/dist/cdn/OTQFY2DR.js +4 -0
- package/dist/cdn/OTTWO655.js +4 -0
- package/dist/cdn/OUX7NPAI.js +4 -0
- package/dist/cdn/OW4XMTEE.js +4 -0
- package/dist/cdn/OXUSL2LU.js +4 -0
- package/dist/cdn/OYMO3RDY.js +4 -0
- package/dist/cdn/OYNNPVZ5.js +4 -0
- package/dist/cdn/OYRMBSHB.js +5 -0
- package/dist/cdn/OYYPAERA.js +4 -0
- package/dist/cdn/P22FJNCJ.js +4 -0
- package/dist/cdn/P2J22J4V.js +4 -0
- package/dist/cdn/P2WJZWXA.js +4 -0
- package/dist/cdn/P3DMKYX3.js +4 -0
- package/dist/cdn/P53VNUHH.js +4 -0
- package/dist/cdn/P7Z7KWO4.js +4 -0
- package/dist/cdn/PCTDGMGB.js +4 -0
- package/dist/cdn/PCXSFLBR.js +4 -0
- package/dist/cdn/PD5CPXFI.js +4 -0
- package/dist/cdn/PDUSD5OH.js +4 -0
- package/dist/cdn/PGAQ643C.js +4 -0
- package/dist/cdn/PGE2Q2O2.js +4 -0
- package/dist/cdn/PHEXWTSI.js +4 -0
- package/dist/cdn/PHMUUGEU.js +4 -0
- package/dist/cdn/PINYE7HJ.js +4 -0
- package/dist/cdn/PLZNNZHU.js +4 -0
- package/dist/cdn/PQN5OTST.js +4 -0
- package/dist/cdn/PQS2LRYZ.js +5 -0
- package/dist/cdn/PS4NGVXW.js +4 -0
- package/dist/cdn/PUYNVU5C.js +4 -0
- package/dist/cdn/PVZOBT7B.js +4 -0
- package/dist/cdn/PWKKJI5J.js +4 -0
- package/dist/cdn/PXCOXED3.js +4 -0
- package/dist/cdn/PYKXQIKG.js +4 -0
- package/dist/cdn/Q25I24AE.js +4 -0
- package/dist/cdn/Q2BE7OJF.js +4 -0
- package/dist/cdn/Q62AU4X7.js +4 -0
- package/dist/cdn/Q6CABWHB.js +4 -0
- package/dist/cdn/Q7YIZE5N.js +4 -0
- package/dist/cdn/Q7ZJIXDU.js +4 -0
- package/dist/cdn/QAXCIPEP.js +4 -0
- package/dist/cdn/QEO6EC3R.js +4 -0
- package/dist/cdn/QERDM6GR.js +4 -0
- package/dist/cdn/QFA37L2S.js +4 -0
- package/dist/cdn/QGDQXC5J.js +4 -0
- package/dist/cdn/QGEQK6VU.js +4 -0
- package/dist/cdn/QIN5KVET.js +4 -0
- package/dist/cdn/QJV4L3RY.js +4 -0
- package/dist/cdn/QKLWIJ46.js +4 -0
- package/dist/cdn/QL35Z3PN.js +9 -0
- package/dist/cdn/QMDSMHSN.js +4 -0
- package/dist/cdn/QNQGT6JP.js +4 -0
- package/dist/cdn/QQ7ICBCL.js +4 -0
- package/dist/cdn/QQDPRGB2.js +4 -0
- package/dist/cdn/QQJ5ZJAP.js +4 -0
- package/dist/cdn/QT7I2OSE.js +4 -0
- package/dist/cdn/QTEYESLD.js +4 -0
- package/dist/cdn/QTL7NFIT.js +4 -0
- package/dist/cdn/QVJ7EH3G.js +5 -0
- package/dist/cdn/QXTHLYFD.js +4 -0
- package/dist/cdn/QY6WVLA3.js +4 -0
- package/dist/cdn/QYGE4LHL.js +4 -0
- package/dist/cdn/R2JTO4SC.js +4 -0
- package/dist/cdn/R2MVH6L4.js +4 -0
- package/dist/cdn/R3SXK443.js +4 -0
- package/dist/cdn/R4JNEB53.js +4 -0
- package/dist/cdn/R5NYL2EL.js +4 -0
- package/dist/cdn/RA6DZLA2.js +4 -0
- package/dist/cdn/RC4DSLBE.js +4 -0
- package/dist/cdn/REQ34FLR.js +4 -0
- package/dist/cdn/REYFLKL7.js +4 -0
- package/dist/cdn/RFKQT7QE.js +4 -0
- package/dist/cdn/RGE4KTJL.js +4 -0
- package/dist/cdn/RLZ7DG56.js +4 -0
- package/dist/cdn/RMFOPJMY.js +4 -0
- package/dist/cdn/RNEN6EAZ.js +4 -0
- package/dist/cdn/RPQZGM4A.js +4 -0
- package/dist/cdn/RQ7JFETH.js +4 -0
- package/dist/cdn/RR4PJ7DS.js +4 -0
- package/dist/cdn/RRPBSNRJ.js +4 -0
- package/dist/cdn/RSJSJD7A.js +4 -0
- package/dist/cdn/RSS7HVQQ.js +4 -0
- package/dist/cdn/RT5676GQ.js +4 -0
- package/dist/cdn/RT5Q6A32.js +4 -0
- package/dist/cdn/RVOKXPWW.js +4 -0
- package/dist/cdn/RZUXSUF4.js +4 -0
- package/dist/cdn/S2OCDF2N.js +4 -0
- package/dist/cdn/S3IQUPH7.js +4 -0
- package/dist/cdn/S4BQMJQH.js +4 -0
- package/dist/cdn/S5FPJZOV.js +4 -0
- package/dist/cdn/S67S5EUT.js +4 -0
- package/dist/cdn/S7VOW77N.js +4 -0
- package/dist/cdn/SEIROEQC.js +4 -0
- package/dist/cdn/SEMDCEAK.js +4 -0
- package/dist/cdn/SFVA4ZS2.js +4 -0
- package/dist/cdn/SJOA4MPE.js +4 -0
- package/dist/cdn/SPBN4CQ2.js +4 -0
- package/dist/cdn/SPD2JJ7P.js +59 -0
- package/dist/cdn/SQ7NGJIW.js +4 -0
- package/dist/cdn/SQG3CEHS.js +4 -0
- package/dist/cdn/SS5QMXPI.js +4 -0
- package/dist/cdn/SSFPFOY7.js +4 -0
- package/dist/cdn/SV2MG7AG.js +4 -0
- package/dist/cdn/SVDKZCOX.js +4 -0
- package/dist/cdn/SVNZXC5L.js +4 -0
- package/dist/cdn/SWDNDIBJ.js +4 -0
- package/dist/cdn/SXGENRIP.js +4 -0
- package/dist/cdn/SXQHBFDG.js +4 -0
- package/dist/cdn/SYTX74V4.js +4 -0
- package/dist/cdn/SZH5S2HG.js +4 -0
- package/dist/cdn/T65VWLJ2.js +4 -0
- package/dist/cdn/T6CMKTCB.js +4 -0
- package/dist/cdn/T7A5M5MM.js +4 -0
- package/dist/cdn/T7LDWXQR.js +4 -0
- package/dist/cdn/T7MPDGRV.js +4 -0
- package/dist/cdn/TA2ZGBGP.js +4 -0
- package/dist/cdn/TBVMV6MS.js +4 -0
- package/dist/cdn/TD3BEZDC.js +4 -0
- package/dist/cdn/TEIW2X2B.js +4 -0
- package/dist/cdn/TEU6AOMT.js +4 -0
- package/dist/cdn/TFEJB334.js +4 -0
- package/dist/cdn/TFZX5HYW.js +4 -0
- package/dist/cdn/TGUCAQXW.js +4 -0
- package/dist/cdn/TI5HUZW4.js +4 -0
- package/dist/cdn/TIHDXDEK.js +4 -0
- package/dist/cdn/TK37PTWX.js +4 -0
- package/dist/cdn/TK65V4EZ.js +4 -0
- package/dist/cdn/TL2YUPOV.js +4 -0
- package/dist/cdn/TLKHR4VX.js +4 -0
- package/dist/cdn/TLT5B4DT.js +4 -0
- package/dist/cdn/TO4ZWM6P.js +4 -0
- package/dist/cdn/TO5BZY26.js +4 -0
- package/dist/cdn/TPX3Z3AS.js +4 -0
- package/dist/cdn/TS4EBSSW.js +4 -0
- package/dist/cdn/TSSUOPBK.js +4 -0
- package/dist/cdn/TT6FFLSJ.js +4 -0
- package/dist/cdn/TTZPS6IE.js +4 -0
- package/dist/cdn/TU23NKTZ.js +4 -0
- package/dist/cdn/TU5YMOAD.js +4 -0
- package/dist/cdn/TUPEBYYI.js +4 -0
- package/dist/cdn/TVYBPEMZ.js +4 -0
- package/dist/cdn/TXD3AOGH.js +4 -0
- package/dist/cdn/TY5QLKTX.js +4 -0
- package/dist/cdn/TZCEO4ES.js +4 -0
- package/dist/cdn/TZTEJHJ2.js +4 -0
- package/dist/cdn/U4GACPOH.js +4 -0
- package/dist/cdn/U4JDVLV5.js +5 -0
- package/dist/cdn/U4YIHR6E.js +4 -0
- package/dist/cdn/U67N6BTQ.js +4 -0
- package/dist/cdn/U6CZBEQZ.js +4 -0
- package/dist/cdn/U764ZRXS.js +4 -0
- package/dist/cdn/UCJVIFSN.js +4 -0
- package/dist/cdn/UD4YXCS6.js +4 -0
- package/dist/cdn/UDTFQMAY.js +4 -0
- package/dist/cdn/UDWYEML7.js +4 -0
- package/dist/cdn/UE2ASBLC.js +4 -0
- package/dist/cdn/UEIBPBWW.js +4 -0
- package/dist/cdn/UEK7RQC4.js +4 -0
- package/dist/cdn/UFEPYOGU.js +4 -0
- package/dist/cdn/UFUQJ5AK.js +4 -0
- package/dist/cdn/UH4NFIMU.js +4 -0
- package/dist/cdn/UHESR4NN.js +4 -0
- package/dist/cdn/UHS43DFA.js +4 -0
- package/dist/cdn/UIAOKORW.js +4 -0
- package/dist/cdn/UINHLDHS.js +4 -0
- package/dist/cdn/UIU7SQ7X.js +4 -0
- package/dist/cdn/UJNSJBVU.js +4 -0
- package/dist/cdn/UKAXKSUU.js +4 -0
- package/dist/cdn/UNRDUBEM.js +4 -0
- package/dist/cdn/UO7I7OGM.js +4 -0
- package/dist/cdn/UOOQZA7S.js +4 -0
- package/dist/cdn/UOPOW3E5.js +4 -0
- package/dist/cdn/UP7ZGXUP.js +4 -0
- package/dist/cdn/UPM2OZ2Y.js +4 -0
- package/dist/cdn/UQ2JFC6J.js +4 -0
- package/dist/cdn/US3DDHYX.js +4 -0
- package/dist/cdn/UW6WMUKW.js +4 -0
- package/dist/cdn/UX63YLNK.js +4 -0
- package/dist/cdn/UXB4ADHK.js +4 -0
- package/dist/cdn/UZATEB6C.js +4 -0
- package/dist/cdn/UZQCTSYO.js +4 -0
- package/dist/cdn/V3IMTIDG.js +4 -0
- package/dist/cdn/V4KRDK5L.js +4 -0
- package/dist/cdn/V4TRK7Q6.js +4 -0
- package/dist/cdn/V4WQA4SE.js +6 -0
- package/dist/cdn/V54L27II.js +4 -0
- package/dist/cdn/V5GEKPFX.js +4 -0
- package/dist/cdn/V77T2QXD.js +4 -0
- package/dist/cdn/V7FJMPF7.js +4 -0
- package/dist/cdn/VH5DHTYK.js +4 -0
- package/dist/cdn/VIST7HB7.js +4 -0
- package/dist/cdn/VIWYSFN5.js +4 -0
- package/dist/cdn/VLOXA6BG.js +4 -0
- package/dist/cdn/VMUZMNDT.js +4 -0
- package/dist/cdn/VNEUOT25.js +9 -0
- package/dist/cdn/VOSMUWAS.js +4 -0
- package/dist/cdn/VS6ZLHE3.js +4 -0
- package/dist/cdn/VSDIB7NL.js +4 -0
- package/dist/cdn/VSFO2X4J.js +4 -0
- package/dist/cdn/VUISVLCY.js +4 -0
- package/dist/cdn/VUPAAACP.js +4 -0
- package/dist/cdn/VVDJ33EN.js +4 -0
- package/dist/cdn/VVF6K3KU.js +4 -0
- package/dist/cdn/VVK4NIKZ.js +4 -0
- package/dist/cdn/VVXGOXHK.js +4 -0
- package/dist/cdn/VXAMULPB.js +4 -0
- package/dist/cdn/VXV2JBYB.js +4 -0
- package/dist/cdn/VYG3T3TG.js +4 -0
- package/dist/cdn/W2LLXJ25.js +4 -0
- package/dist/cdn/W44KHTO6.js +4 -0
- package/dist/cdn/W467YGH3.js +4 -0
- package/dist/cdn/W54XJDQ5.js +4 -0
- package/dist/cdn/W7LN2YC3.js +4 -0
- package/dist/cdn/WBN6LMKI.js +4 -0
- package/dist/cdn/WF4FJE6F.js +4 -0
- package/dist/cdn/WHBJOQ62.js +4 -0
- package/dist/cdn/WHMNSR6R.js +4 -0
- package/dist/cdn/WHUGAIDW.js +4 -0
- package/dist/cdn/WJPPPAP6.js +4 -0
- package/dist/cdn/WKJSQZ3S.js +4 -0
- package/dist/cdn/WKMPLYLH.js +4 -0
- package/dist/cdn/WL4VQZTB.js +4 -0
- package/dist/cdn/WMDN7LTM.js +4 -0
- package/dist/cdn/WOLZBW2O.js +4 -0
- package/dist/cdn/WQHD7S3A.js +4 -0
- package/dist/cdn/WQIOB4AH.js +4 -0
- package/dist/cdn/WTIUBTQB.js +4 -0
- package/dist/cdn/WTXVZBB5.js +4 -0
- package/dist/cdn/WZCXF3G3.js +4 -0
- package/dist/cdn/WZKHRAMZ.js +4 -0
- package/dist/cdn/X2IXDORX.js +4 -0
- package/dist/cdn/X2LN7ZMI.js +4 -0
- package/dist/cdn/X3RUXWYO.js +4 -0
- package/dist/cdn/X3XXJJ2V.js +4 -0
- package/dist/cdn/X44DE23S.js +4 -0
- package/dist/cdn/X73X26XZ.js +4 -0
- package/dist/cdn/X7OXMNNU.js +4 -0
- package/dist/cdn/XA4P5F7Y.js +4 -0
- package/dist/cdn/XE3ZI5RR.js +4 -0
- package/dist/cdn/XE5BINRO.js +4 -0
- package/dist/cdn/XEHHJXNL.js +4 -0
- package/dist/cdn/XESGQLCH.js +4 -0
- package/dist/cdn/XFAIZ7OH.js +4 -0
- package/dist/cdn/XFC6SDBT.js +4 -0
- package/dist/cdn/XGDLBB2T.js +4 -0
- package/dist/cdn/XGFSKZWY.js +4 -0
- package/dist/cdn/XHF4V7W5.js +4 -0
- package/dist/cdn/XHT2KCWN.js +4 -0
- package/dist/cdn/XHVTCFJW.js +4 -0
- package/dist/cdn/XJ6LXQ44.js +4 -0
- package/dist/cdn/XJGJ4SON.js +4 -0
- package/dist/cdn/XKANSDG4.js +4 -0
- package/dist/cdn/XKI7AQ4R.js +4 -0
- package/dist/cdn/XKRQ253Y.js +4 -0
- package/dist/cdn/XLO6JDNX.js +4 -0
- package/dist/cdn/XMRPEFCK.js +4 -0
- package/dist/cdn/XNJDVR6V.js +4 -0
- package/dist/cdn/XRHDOR2V.js +4 -0
- package/dist/cdn/XRP236S2.js +4 -0
- package/dist/cdn/XSZYTV6L.js +4 -0
- package/dist/cdn/XW7HQSXL.js +4 -0
- package/dist/cdn/Y2TNBCHU.js +4 -0
- package/dist/cdn/Y36YH5EX.js +4 -0
- package/dist/cdn/Y3MKSMR4.js +4 -0
- package/dist/cdn/Y6EWOY4Z.js +4 -0
- package/dist/cdn/Y7JH7QTL.js +4 -0
- package/dist/cdn/YBJGELCY.js +4 -0
- package/dist/cdn/YBPTFCSM.js +4 -0
- package/dist/cdn/YBXNWQKY.js +4 -0
- package/dist/cdn/YDRJ24PG.js +44 -0
- package/dist/cdn/YGPMGLTU.js +4 -0
- package/dist/cdn/YH3QHAT4.js +4 -0
- package/dist/cdn/YILJBX7J.js +4 -0
- package/dist/cdn/YJFFAGR3.js +4 -0
- package/dist/cdn/YMAN7MIN.js +4 -0
- package/dist/cdn/YOUPCOS2.js +4 -0
- package/dist/cdn/YQFKNFTJ.js +4 -0
- package/dist/cdn/YQH4FNYK.js +4 -0
- package/dist/cdn/YTP4HL7K.js +4 -0
- package/dist/cdn/YY42LV2X.js +4 -0
- package/dist/cdn/YYMOMLFH.js +4 -0
- package/dist/cdn/YYY4XFZ3.js +4 -0
- package/dist/cdn/YZ5LRP57.js +4 -0
- package/dist/cdn/YZ6TXD2N.js +4 -0
- package/dist/cdn/YZQDEM2N.js +4 -0
- package/dist/cdn/Z3IRPPUS.js +4 -0
- package/dist/cdn/Z4RGND6G.js +4 -0
- package/dist/cdn/Z6QBKA2A.js +4 -0
- package/dist/cdn/Z7AWJCUK.js +4 -0
- package/dist/cdn/ZCMRSWJB.js +4 -0
- package/dist/cdn/ZD4P2NUO.js +4 -0
- package/dist/cdn/ZDK6JM76.js +4 -0
- package/dist/cdn/ZF36JCNQ.js +4 -0
- package/dist/cdn/ZFLRFDR7.js +4 -0
- package/dist/cdn/ZGN4IH4O.js +4 -0
- package/dist/cdn/ZHCJKGHZ.js +4 -0
- package/dist/cdn/ZN64AHW5.js +4 -0
- package/dist/cdn/ZNFNITON.js +4 -0
- package/dist/cdn/ZO5OBCMF.js +4 -0
- package/dist/cdn/ZOQ2BADD.js +4 -0
- package/dist/cdn/ZP3VRRXN.js +4 -0
- package/dist/cdn/ZRAWD5YS.js +4 -0
- package/dist/cdn/ZTBTR4XM.js +4 -0
- package/dist/cdn/ZTXTXN67.js +4 -0
- package/dist/cdn/ZVA3RJDA.js +4 -0
- package/dist/cdn/ZWERNXYL.js +4 -0
- package/dist/cdn/ZWQSJFDX.js +4 -0
- package/dist/cdn/ZWZPHIZL.js +4 -0
- package/dist/cdn/ZXDPJ2JK.js +4 -0
- package/dist/cdn/ZYCM22PO.js +4 -0
- package/dist/cdn/ZYGJ7LES.js +4 -0
- package/dist/cdn/ZYRTMBLB.js +4 -0
- package/dist/cdn/ZYWGNRDO.js +4 -0
- package/dist/cdn/index.js +3 -3
- package/dist/chunks/getResponsiveClasses.js +2 -2
- package/dist/chunks/interpolate-translations.js +2 -2
- package/dist/chunks/migrateTextCard.js +2 -2
- package/dist/chunks/processLayout.js +2 -2
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/typeGuards.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/chunks/util.js +47 -0
- package/dist/components/arcgis-chat-shell/customElement.js +13 -12
- package/dist/components/arcgis-chat-ui/customElement.d.ts +2 -0
- package/dist/components/arcgis-chat-ui/customElement.js +33 -31
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.d.ts +2 -1
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +17 -6
- package/dist/components/arcgis-chat-ui/functional/chat-action/index.d.ts +1 -0
- package/dist/components/arcgis-chat-ui/functional/chat-action/index.js +1 -0
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.d.ts +3 -2
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +31 -29
- package/dist/components/arcgis-chat-ui/functional/chat-response/index.d.ts +3 -4
- package/dist/components/arcgis-chat-ui/functional/chat-response/index.js +3 -4
- package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/util/customElement.d.ts +9 -1
- package/dist/components/arcgis-chat-ui/util/types.d.ts +6 -1
- package/dist/components/arcgis-hub-ai-assistant/customElement.d.ts +4 -2
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +96 -90
- package/dist/components/arcgis-hub-ai-assistant/index.d.ts +1 -5
- package/dist/components/arcgis-hub-ai-assistant/index.js +1 -5
- package/dist/components/arcgis-hub-ai-assistant/util/map.d.ts +1 -1
- package/dist/components/arcgis-layout/customElement.js +2 -2
- package/dist/components/arcgis-layout-column/customElement.js +2 -2
- package/dist/components/arcgis-layout-container/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
- package/dist/components/arcgis-layout-row/customElement.js +2 -2
- package/dist/components/arcgis-layout-section/customElement.js +2 -2
- package/dist/components/arcgis-nav-card/customElement.js +2 -2
- package/dist/components/arcgis-text-card/customElement.js +2 -2
- package/dist/components/layouts/components/layout-node/customElement.js +2 -2
- package/dist/docs/api.json +58 -7
- package/dist/docs/docs.json +58 -9
- package/dist/docs/vscode.html-custom-data.json +4 -0
- package/dist/docs/web-types.json +21 -6
- package/dist/embed-config.d.ts +5 -0
- package/dist/embed-config.js +9 -4
- package/dist/index.js +2 -2
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/util/configuration.d.ts +0 -3
- package/package.json +16 -23
- package/dist/cdn/22Z564FS.js +0 -4
- package/dist/cdn/23FCCUMR.js +0 -4
- package/dist/cdn/23GGY3T5.js +0 -24
- package/dist/cdn/2462GO2U.js +0 -4
- package/dist/cdn/25DKNUOJ.js +0 -4
- package/dist/cdn/2A4FYRA2.js +0 -4
- package/dist/cdn/2CSM7XK5.js +0 -4
- package/dist/cdn/2CWJCXUQ.js +0 -4
- package/dist/cdn/2ELGE4HS.js +0 -4
- package/dist/cdn/2FCL6PFV.js +0 -4
- package/dist/cdn/2FMNDICL.js +0 -4
- package/dist/cdn/2IGF6V5O.js +0 -4
- package/dist/cdn/2J7BIGSF.js +0 -4
- package/dist/cdn/2KPZDAWL.js +0 -4
- package/dist/cdn/2KXAISNS.js +0 -4
- package/dist/cdn/2MHYUQOS.js +0 -4
- package/dist/cdn/2NIFWAXD.js +0 -4
- package/dist/cdn/2PT52KH7.js +0 -4
- package/dist/cdn/2PWE37YW.js +0 -4
- package/dist/cdn/2QBTX3KG.js +0 -4
- package/dist/cdn/2RFB3QZI.js +0 -4
- package/dist/cdn/2SQSCO2G.js +0 -4
- package/dist/cdn/2XVWIZSP.js +0 -4
- package/dist/cdn/2Y5IKIEU.js +0 -4
- package/dist/cdn/2YKUFVHE.js +0 -4
- package/dist/cdn/33XWODRV.js +0 -4
- package/dist/cdn/35FTQJ4V.js +0 -4
- package/dist/cdn/35WAO4T7.js +0 -4
- package/dist/cdn/36AYCDKD.js +0 -4
- package/dist/cdn/36V4LZOZ.js +0 -4
- package/dist/cdn/3ASOURE4.js +0 -4
- package/dist/cdn/3DJUEVVP.js +0 -4
- package/dist/cdn/3F5GCUXV.js +0 -4
- package/dist/cdn/3MAY4Q6G.js +0 -4
- package/dist/cdn/3MGY5KTZ.js +0 -4
- package/dist/cdn/3QS5ZM55.js +0 -4
- package/dist/cdn/3RHEXSBK.js +0 -4
- package/dist/cdn/3UAOOPPS.js +0 -4
- package/dist/cdn/3VFVSOLK.js +0 -4
- package/dist/cdn/3VZBRNM7.js +0 -4
- package/dist/cdn/3YI4243L.js +0 -4
- package/dist/cdn/3Z6WRQLZ.js +0 -4
- package/dist/cdn/42OHFK4X.js +0 -4
- package/dist/cdn/43MIGN35.js +0 -4
- package/dist/cdn/4437ZSAX.js +0 -4
- package/dist/cdn/44JRDCRM.js +0 -4
- package/dist/cdn/457YW267.js +0 -4
- package/dist/cdn/45JSD4AR.js +0 -4
- package/dist/cdn/45WUFWFG.js +0 -4
- package/dist/cdn/46JGHGZV.js +0 -4
- package/dist/cdn/47Q2NMBH.js +0 -4
- package/dist/cdn/4BFXRWUH.js +0 -4
- package/dist/cdn/4CU7M3Q5.js +0 -4
- package/dist/cdn/4EMTZDVK.js +0 -4
- package/dist/cdn/4F62GVCY.js +0 -4
- package/dist/cdn/4H63YHWD.js +0 -4
- package/dist/cdn/4HBGSCYC.js +0 -4
- package/dist/cdn/4IXMASJH.js +0 -4
- package/dist/cdn/4J4QQELA.js +0 -4
- package/dist/cdn/4JJKRUKW.js +0 -4
- package/dist/cdn/4JLLFXKB.js +0 -4
- package/dist/cdn/4KCHVHB5.js +0 -4
- package/dist/cdn/4KYBS2RL.js +0 -4
- package/dist/cdn/4M6SMY55.js +0 -4
- package/dist/cdn/4NFIOFNO.js +0 -4
- package/dist/cdn/4NQW5YJI.js +0 -4
- package/dist/cdn/4OLNZRTV.js +0 -4
- package/dist/cdn/4ORISFIN.js +0 -4
- package/dist/cdn/4OUYYOXL.js +0 -4
- package/dist/cdn/4P7BUVIF.js +0 -4
- package/dist/cdn/4PAJFUET.js +0 -4
- package/dist/cdn/4PTXJLRZ.js +0 -4
- package/dist/cdn/4PXMRLLA.js +0 -4
- package/dist/cdn/4QGZVLUB.js +0 -4
- package/dist/cdn/4RHGTQ5X.js +0 -4
- package/dist/cdn/4RSX7YWX.js +0 -4
- package/dist/cdn/4SUTMPNK.js +0 -4
- package/dist/cdn/4TSWZ6NZ.js +0 -4
- package/dist/cdn/4TXCDMSA.js +0 -4
- package/dist/cdn/4VBI2TMT.js +0 -4
- package/dist/cdn/4YVKWP2T.js +0 -4
- package/dist/cdn/4ZQC4M4R.js +0 -4
- package/dist/cdn/54673EOQ.js +0 -4
- package/dist/cdn/55HFDX7A.js +0 -4
- package/dist/cdn/56EUZCNP.js +0 -4
- package/dist/cdn/57DNZ35U.js +0 -4
- package/dist/cdn/5AE47FSA.js +0 -4
- package/dist/cdn/5AIBFNTY.js +0 -4
- package/dist/cdn/5B2FFOQE.js +0 -4
- package/dist/cdn/5BRQWM36.js +0 -4
- package/dist/cdn/5E4PLCSB.js +0 -4
- package/dist/cdn/5G4QN53S.js +0 -4
- package/dist/cdn/5GXHHB3M.js +0 -4
- package/dist/cdn/5HC3IVQ2.js +0 -4
- package/dist/cdn/5HRKEWOV.js +0 -4
- package/dist/cdn/5JAM232V.js +0 -4
- package/dist/cdn/5JML5JY5.js +0 -4
- package/dist/cdn/5JU6LVYE.js +0 -4
- package/dist/cdn/5K53H5YA.js +0 -4
- package/dist/cdn/5KZRTW3O.js +0 -4
- package/dist/cdn/5LNENTMB.js +0 -4
- package/dist/cdn/5LSTN4ZM.js +0 -4
- package/dist/cdn/5MJIFQVE.js +0 -51
- package/dist/cdn/5MQTSZKG.js +0 -4
- package/dist/cdn/5MZENZQO.js +0 -4
- package/dist/cdn/5O7OZ3ZW.js +0 -4
- package/dist/cdn/5OQZEJJ7.js +0 -9
- package/dist/cdn/5PEV6ZCH.js +0 -4
- package/dist/cdn/5PRPCFAD.js +0 -4
- package/dist/cdn/5SOFEKN5.js +0 -4
- package/dist/cdn/5SP6WGCL.js +0 -4
- package/dist/cdn/5SS6ATXB.js +0 -4
- package/dist/cdn/5T2R5NJN.js +0 -4
- package/dist/cdn/5TCQHFMW.js +0 -4
- package/dist/cdn/5THOPNZ2.js +0 -4
- package/dist/cdn/5U4ZYL4N.js +0 -4
- package/dist/cdn/5VUG5LLE.js +0 -4
- package/dist/cdn/5WDVGKVI.js +0 -4
- package/dist/cdn/5WGKS25X.js +0 -4
- package/dist/cdn/5XA2FBQK.js +0 -4
- package/dist/cdn/5XAGTR4W.js +0 -4
- package/dist/cdn/5XCDG77T.js +0 -4
- package/dist/cdn/5ZL35P3M.js +0 -4
- package/dist/cdn/62DCI5M5.js +0 -4
- package/dist/cdn/63L3NNCW.js +0 -4
- package/dist/cdn/64OQGHSN.js +0 -4
- package/dist/cdn/67EDO3LP.js +0 -4
- package/dist/cdn/6CFGPGDB.js +0 -4
- package/dist/cdn/6EZDONX5.js +0 -4
- package/dist/cdn/6IS6CQRQ.js +0 -4
- package/dist/cdn/6KORFZCZ.js +0 -4
- package/dist/cdn/6LCVZZOT.js +0 -4
- package/dist/cdn/6MT7DULH.js +0 -4
- package/dist/cdn/6N2BZ3LE.js +0 -4
- package/dist/cdn/6O2UMYFO.js +0 -4
- package/dist/cdn/6OAMWCVN.js +0 -4
- package/dist/cdn/6PW4DIBJ.js +0 -4
- package/dist/cdn/6Q66SREJ.js +0 -4
- package/dist/cdn/6RWDHG3B.js +0 -4
- package/dist/cdn/6SG2YROH.js +0 -4
- package/dist/cdn/6SGFHPHO.js +0 -4
- package/dist/cdn/6SI6HDXA.js +0 -4
- package/dist/cdn/6TONMGPA.js +0 -4
- package/dist/cdn/6VADLUAH.js +0 -4
- package/dist/cdn/6WVU3XDI.js +0 -4
- package/dist/cdn/6WX7ZUA7.js +0 -4
- package/dist/cdn/6XEAE2M6.js +0 -4
- package/dist/cdn/6YIRCHRJ.js +0 -4
- package/dist/cdn/6ZTZLQNI.js +0 -4
- package/dist/cdn/72KCFYJM.js +0 -4
- package/dist/cdn/72OTHRVM.js +0 -4
- package/dist/cdn/73KFO3FN.js +0 -4
- package/dist/cdn/74GPKNY6.js +0 -4
- package/dist/cdn/75F3QX5T.js +0 -4
- package/dist/cdn/75KLUU4G.js +0 -4
- package/dist/cdn/75TSDVQU.js +0 -4
- package/dist/cdn/76F547ZN.js +0 -4
- package/dist/cdn/76K2CDEF.js +0 -4
- package/dist/cdn/777LOMRG.js +0 -4
- package/dist/cdn/77WM7PC2.js +0 -4
- package/dist/cdn/7BUZ5KI2.js +0 -4
- package/dist/cdn/7BYGV6RP.js +0 -4
- package/dist/cdn/7CFTWYNL.js +0 -4
- package/dist/cdn/7CJFNEDT.js +0 -4
- package/dist/cdn/7E55DYDU.js +0 -4
- package/dist/cdn/7F2IRXW3.js +0 -4
- package/dist/cdn/7HSCETK7.js +0 -4
- package/dist/cdn/7HTAODS2.js +0 -4
- package/dist/cdn/7JHCREQV.js +0 -4
- package/dist/cdn/7KJIPCSE.js +0 -4
- package/dist/cdn/7LIHYFCW.js +0 -4
- package/dist/cdn/7LISH4AL.js +0 -4
- package/dist/cdn/7LWQMD3V.js +0 -4
- package/dist/cdn/7M3H3QOV.js +0 -4
- package/dist/cdn/7OR2C6QC.js +0 -4
- package/dist/cdn/7P7I3WYY.js +0 -4
- package/dist/cdn/7PKARJB2.js +0 -4
- package/dist/cdn/7QRPT2U5.js +0 -4
- package/dist/cdn/7R7S7MX6.js +0 -4
- package/dist/cdn/7RG3P5YV.js +0 -4
- package/dist/cdn/7SV2PVXQ.js +0 -4
- package/dist/cdn/7TLFVSJC.js +0 -4
- package/dist/cdn/7U4LHQ4F.js +0 -4
- package/dist/cdn/7WYKZ6D4.js +0 -4
- package/dist/cdn/7XX74YZD.js +0 -4
- package/dist/cdn/7Y5NPEA2.js +0 -4
- package/dist/cdn/7YO5F5EZ.js +0 -4
- package/dist/cdn/7YVX3MWT.js +0 -4
- package/dist/cdn/A26CXWDQ.js +0 -4
- package/dist/cdn/A2PSAGAY.js +0 -4
- package/dist/cdn/A33UTXH3.js +0 -4
- package/dist/cdn/A3EUGLBF.js +0 -4
- package/dist/cdn/A46I5P27.js +0 -59
- package/dist/cdn/A5J3JROX.js +0 -4
- package/dist/cdn/A5YCDOW4.js +0 -5
- package/dist/cdn/A6ETFAPB.js +0 -4
- package/dist/cdn/A6GOAR6D.js +0 -4
- package/dist/cdn/A6WDPPWZ.js +0 -4
- package/dist/cdn/A7PI7UAJ.js +0 -4
- package/dist/cdn/A7XTKD3Q.js +0 -4
- package/dist/cdn/ABRTNBKT.js +0 -4
- package/dist/cdn/ACRF5DSV.js +0 -4
- package/dist/cdn/AE5YUJLC.js +0 -4
- package/dist/cdn/AF4QSIYZ.js +0 -4
- package/dist/cdn/AG2MI3C7.js +0 -4
- package/dist/cdn/AGDYUAH2.js +0 -9
- package/dist/cdn/AH4DE4DB.js +0 -4
- package/dist/cdn/AHGW5KT6.js +0 -4
- package/dist/cdn/AHT4SZR3.js +0 -4
- package/dist/cdn/AIY2JBM5.js +0 -4
- package/dist/cdn/AKKIDE5J.js +0 -4
- package/dist/cdn/AKPB2NKS.js +0 -4
- package/dist/cdn/AKZDBMGB.js +0 -4
- package/dist/cdn/ALA6GOUX.js +0 -4
- package/dist/cdn/ANST4ELP.js +0 -4
- package/dist/cdn/AQI7XZO3.js +0 -4
- package/dist/cdn/AQPOSVME.js +0 -4
- package/dist/cdn/ARGCWYBR.js +0 -4
- package/dist/cdn/ATDTCWHA.js +0 -4
- package/dist/cdn/AU6BVOLE.js +0 -4
- package/dist/cdn/AV6QVWX3.js +0 -4
- package/dist/cdn/AX4KWHHZ.js +0 -4
- package/dist/cdn/AXFCWEZT.js +0 -5
- package/dist/cdn/AXLD23TF.js +0 -4
- package/dist/cdn/AXTWSFLV.js +0 -7
- package/dist/cdn/AYPTZDUR.js +0 -4
- package/dist/cdn/B2IDZ6MQ.js +0 -4
- package/dist/cdn/B2SBFHF3.js +0 -4
- package/dist/cdn/BBYZHODE.js +0 -4
- package/dist/cdn/BCE4ANJU.js +0 -4
- package/dist/cdn/BCJKPINK.js +0 -4
- package/dist/cdn/BE2KEOQP.js +0 -4
- package/dist/cdn/BFUQMDFF.js +0 -4
- package/dist/cdn/BG4BAFOS.js +0 -4
- package/dist/cdn/BG52THY7.js +0 -4
- package/dist/cdn/BJJSAQRR.js +0 -4
- package/dist/cdn/BKTFZAUL.js +0 -4
- package/dist/cdn/BNYC7Y4K.js +0 -4
- package/dist/cdn/BPMHMKM4.js +0 -4
- package/dist/cdn/BS3QD3QI.js +0 -4
- package/dist/cdn/BUBNNTMR.js +0 -4
- package/dist/cdn/BUO22K4U.js +0 -16
- package/dist/cdn/BVYKQKSL.js +0 -4
- package/dist/cdn/BWKT335D.js +0 -4
- package/dist/cdn/BXPMEGNB.js +0 -4
- package/dist/cdn/BYDB6KMZ.js +0 -4
- package/dist/cdn/C2XZSJTS.js +0 -4
- package/dist/cdn/C36UNB34.js +0 -4
- package/dist/cdn/C52VSQAG.js +0 -4
- package/dist/cdn/CCTP7EVI.js +0 -4
- package/dist/cdn/CD36HUXZ.js +0 -4
- package/dist/cdn/CGP3LGLZ.js +0 -4
- package/dist/cdn/CIL7BW5U.js +0 -4
- package/dist/cdn/CK3WVL5Q.js +0 -4
- package/dist/cdn/CKSITHMD.js +0 -4
- package/dist/cdn/CKX7IYP4.js +0 -4
- package/dist/cdn/CM65VCKU.js +0 -4
- package/dist/cdn/CN3FLKMR.js +0 -4
- package/dist/cdn/CPWVG5HI.js +0 -4
- package/dist/cdn/CQBOBYF3.js +0 -4
- package/dist/cdn/CRTZ7AYR.js +0 -4
- package/dist/cdn/CSIK7FLF.js +0 -4
- package/dist/cdn/CT27CKFP.js +0 -4
- package/dist/cdn/CUXZRIRY.js +0 -4
- package/dist/cdn/D2QNIAC7.js +0 -4
- package/dist/cdn/D33VHDEA.js +0 -4
- package/dist/cdn/D5QOSQFZ.js +0 -4
- package/dist/cdn/D7IU7BAZ.js +0 -4
- package/dist/cdn/D7OEY4VU.js +0 -4
- package/dist/cdn/DADAVU4V.js +0 -4
- package/dist/cdn/DBEPB23J.js +0 -4
- package/dist/cdn/DENB2FNO.js +0 -4
- package/dist/cdn/DFN2YZAR.js +0 -4
- package/dist/cdn/DHNJPX3Y.js +0 -4
- package/dist/cdn/DHPKOWRY.js +0 -4
- package/dist/cdn/DI7VXMYF.js +0 -4
- package/dist/cdn/DJSX3ROM.js +0 -4
- package/dist/cdn/DMGQQVUH.js +0 -4
- package/dist/cdn/DNE3426E.js +0 -4
- package/dist/cdn/DNIAMQAL.js +0 -4
- package/dist/cdn/DNPVSY2N.js +0 -4
- package/dist/cdn/DODQSO5R.js +0 -4
- package/dist/cdn/DOV2DPQQ.js +0 -4
- package/dist/cdn/DQGWFD2A.js +0 -4
- package/dist/cdn/DROGMTIY.js +0 -4
- package/dist/cdn/DSOZ3WX3.js +0 -4
- package/dist/cdn/DTLRBOSW.js +0 -4
- package/dist/cdn/DUMHLWE5.js +0 -4
- package/dist/cdn/DVCZUEVM.js +0 -4
- package/dist/cdn/DVEZCXEB.js +0 -4
- package/dist/cdn/DXBPL52P.js +0 -4
- package/dist/cdn/E2WQXL74.js +0 -4
- package/dist/cdn/E4ELUNI3.js +0 -4
- package/dist/cdn/EATLJU45.js +0 -4
- package/dist/cdn/EBDTTRUH.js +0 -5
- package/dist/cdn/EBNRVXGF.js +0 -4
- package/dist/cdn/EC3OME3C.js +0 -4
- package/dist/cdn/ED4YGP7J.js +0 -4
- package/dist/cdn/EDEWYY7W.js +0 -4
- package/dist/cdn/EFDB2UU2.js +0 -4
- package/dist/cdn/EFQSM4WN.js +0 -4
- package/dist/cdn/EFRJAY4R.js +0 -4
- package/dist/cdn/EIUGT45D.js +0 -4
- package/dist/cdn/EIZS7TMP.js +0 -4
- package/dist/cdn/EJFF54FP.js +0 -4
- package/dist/cdn/EMMQPOJL.js +0 -4
- package/dist/cdn/ENCOMS3S.js +0 -4
- package/dist/cdn/EO2H7ATD.js +0 -4
- package/dist/cdn/EO3RCK6U.js +0 -4
- package/dist/cdn/EOGFZAAN.js +0 -4
- package/dist/cdn/EOMKZPGY.js +0 -4
- package/dist/cdn/EON2ZCJH.js +0 -4
- package/dist/cdn/EOU7K4EC.js +0 -4
- package/dist/cdn/EPOAYEPY.js +0 -4
- package/dist/cdn/ERFW5DF3.js +0 -4
- package/dist/cdn/ESFGCYW3.js +0 -4
- package/dist/cdn/EX7JOK2B.js +0 -4
- package/dist/cdn/EXV2YMRF.js +0 -4
- package/dist/cdn/EYEZGJC4.js +0 -4
- package/dist/cdn/EYKS764H.js +0 -4
- package/dist/cdn/F2YT235J.js +0 -4
- package/dist/cdn/F4F7MEKY.js +0 -4
- package/dist/cdn/F5LUI6YT.js +0 -4
- package/dist/cdn/F6IERF4H.js +0 -4
- package/dist/cdn/F7WQFVZN.js +0 -4
- package/dist/cdn/FBKOU64I.js +0 -4
- package/dist/cdn/FD66DNVG.js +0 -4
- package/dist/cdn/FDB32UBL.js +0 -4
- package/dist/cdn/FEDPYDC3.js +0 -4
- package/dist/cdn/FFRWK3FM.js +0 -4
- package/dist/cdn/FGHZN3MA.js +0 -4
- package/dist/cdn/FH63B2CQ.js +0 -4
- package/dist/cdn/FHASIMJS.js +0 -4
- package/dist/cdn/FHWXJVUX.js +0 -4
- package/dist/cdn/FLLNH45I.js +0 -8
- package/dist/cdn/FN7NE433.js +0 -4
- package/dist/cdn/FNCDZPM5.js +0 -4
- package/dist/cdn/FND2VWGC.js +0 -4
- package/dist/cdn/FNVA5TBO.js +0 -4
- package/dist/cdn/FO64RK2H.js +0 -4
- package/dist/cdn/FO6WY5UO.js +0 -4
- package/dist/cdn/FOJVALLG.js +0 -4
- package/dist/cdn/FPKCNQKL.js +0 -4
- package/dist/cdn/FRC3CZNM.js +0 -4
- package/dist/cdn/FRHHNOGV.js +0 -4
- package/dist/cdn/FUIA732V.js +0 -41
- package/dist/cdn/FUONVQIP.js +0 -4
- package/dist/cdn/FVAIWZEB.js +0 -4
- package/dist/cdn/FVRKZBHF.js +0 -4
- package/dist/cdn/FX64KBB2.js +0 -4
- package/dist/cdn/FXXTIT23.js +0 -4
- package/dist/cdn/G25AVDAJ.js +0 -9
- package/dist/cdn/G3WXEKNT.js +0 -4
- package/dist/cdn/G4UOFXMY.js +0 -4
- package/dist/cdn/G4WP3PHW.js +0 -4
- package/dist/cdn/G4XMGE77.js +0 -4
- package/dist/cdn/G7D6KPER.js +0 -4
- package/dist/cdn/GBOO7PNA.js +0 -4
- package/dist/cdn/GCG4SAWC.js +0 -4
- package/dist/cdn/GDN2WKSR.js +0 -4
- package/dist/cdn/GDNLVCGB.js +0 -4
- package/dist/cdn/GEVNC5KW.js +0 -4
- package/dist/cdn/GFY2FD52.js +0 -4
- package/dist/cdn/GHB6FN7F.js +0 -4
- package/dist/cdn/GHSHXFGE.js +0 -4
- package/dist/cdn/GIFNN3O3.js +0 -4
- package/dist/cdn/GMYF34IF.js +0 -4
- package/dist/cdn/GNZWVKEY.js +0 -4
- package/dist/cdn/GQ5AAL3P.js +0 -4
- package/dist/cdn/GRKP7VZ4.js +0 -4
- package/dist/cdn/GRSZDM24.js +0 -4
- package/dist/cdn/GTOQ2JNK.js +0 -4
- package/dist/cdn/GTQGJNGN.js +0 -4
- package/dist/cdn/GTRAEPQY.js +0 -4
- package/dist/cdn/GZDAMJDN.js +0 -7
- package/dist/cdn/GZLFPW6V.js +0 -4
- package/dist/cdn/H23CZ733.js +0 -4
- package/dist/cdn/H2O7NDWE.js +0 -4
- package/dist/cdn/H3E7AJX3.js +0 -4
- package/dist/cdn/H4B2ILG4.js +0 -4
- package/dist/cdn/H4HGLH2Y.js +0 -4
- package/dist/cdn/H4UAERC3.js +0 -25
- package/dist/cdn/H6GBNZQI.js +0 -4
- package/dist/cdn/H74D7UDR.js +0 -4
- package/dist/cdn/HB2JZR5U.js +0 -4
- package/dist/cdn/HC25ZCBE.js +0 -4
- package/dist/cdn/HDO7CXJ2.js +0 -4
- package/dist/cdn/HE5DBCLP.js +0 -4
- package/dist/cdn/HEMQWCJ6.js +0 -4
- package/dist/cdn/HFEKHAPV.js +0 -4
- package/dist/cdn/HFNRPKJZ.js +0 -4
- package/dist/cdn/HHACNPQ4.js +0 -4
- package/dist/cdn/HIUW43UD.js +0 -4
- package/dist/cdn/HIYUBZYA.js +0 -4
- package/dist/cdn/HJC4Q2QJ.js +0 -4
- package/dist/cdn/HKCIFRSF.js +0 -4
- package/dist/cdn/HKU5NZIY.js +0 -4
- package/dist/cdn/HMUOOWJO.js +0 -4
- package/dist/cdn/HMYNG4IO.js +0 -4
- package/dist/cdn/HONVFPEC.js +0 -4
- package/dist/cdn/HPZNLU4F.js +0 -4
- package/dist/cdn/HRELJLLU.js +0 -4
- package/dist/cdn/HRUALL7O.js +0 -4
- package/dist/cdn/HS2FKO3Y.js +0 -4
- package/dist/cdn/HSFP5XXC.js +0 -4
- package/dist/cdn/HTXOHEWK.js +0 -4
- package/dist/cdn/HVSLB3WM.js +0 -4
- package/dist/cdn/HW3IYVZF.js +0 -4
- package/dist/cdn/HY4GCFKM.js +0 -4
- package/dist/cdn/HY4HNKIX.js +0 -4
- package/dist/cdn/HYIS5TFB.js +0 -4
- package/dist/cdn/I3R42JN5.js +0 -4
- package/dist/cdn/I476KHTL.js +0 -4
- package/dist/cdn/I5EWXG2M.js +0 -4
- package/dist/cdn/I63E3IBA.js +0 -4
- package/dist/cdn/I6PPWL6M.js +0 -4
- package/dist/cdn/ICGJ5K7V.js +0 -4
- package/dist/cdn/IDUNZFWO.js +0 -4
- package/dist/cdn/IFIMCWFE.js +0 -4
- package/dist/cdn/IH3X6YTA.js +0 -4
- package/dist/cdn/IIJ2Q4LU.js +0 -4
- package/dist/cdn/IJWVS3E3.js +0 -4
- package/dist/cdn/IMKJW5XQ.js +0 -4
- package/dist/cdn/ING5JKC2.js +0 -4
- package/dist/cdn/IQUEWWZ7.js +0 -4
- package/dist/cdn/IRMVKT6O.js +0 -4
- package/dist/cdn/ITCGAOPU.js +0 -4
- package/dist/cdn/IVOMPFJF.js +0 -4
- package/dist/cdn/IVW625TK.js +0 -4
- package/dist/cdn/IXZJPYN7.js +0 -4
- package/dist/cdn/IZXAXSYX.js +0 -4
- package/dist/cdn/J73DFW7I.js +0 -4
- package/dist/cdn/J77CELFU.js +0 -4
- package/dist/cdn/JA4J5FC2.js +0 -4
- package/dist/cdn/JBEO62OS.js +0 -4
- package/dist/cdn/JBEZMR2E.js +0 -4
- package/dist/cdn/JBWWRNI7.js +0 -4
- package/dist/cdn/JCCWQSXN.js +0 -4
- package/dist/cdn/JD6DKL66.js +0 -4
- package/dist/cdn/JDNBWGS2.js +0 -4
- package/dist/cdn/JE6PLSY5.js +0 -4
- package/dist/cdn/JF3523JP.js +0 -4
- package/dist/cdn/JF44MERV.js +0 -4
- package/dist/cdn/JFOSVSLN.js +0 -4
- package/dist/cdn/JHHR7FXB.js +0 -4
- package/dist/cdn/JJIF2XC6.js +0 -4
- package/dist/cdn/JLSRYNK6.js +0 -4
- package/dist/cdn/JLU2IJO6.js +0 -4
- package/dist/cdn/JMNUNOAD.js +0 -4
- package/dist/cdn/JMPTN3QG.js +0 -4
- package/dist/cdn/JPIVFDIO.js +0 -4
- package/dist/cdn/JPWPHTIO.js +0 -4
- package/dist/cdn/JQNBKON3.js +0 -4
- package/dist/cdn/JQTYDAUI.js +0 -4
- package/dist/cdn/JRZWSOVP.js +0 -4
- package/dist/cdn/JTUCMHUT.js +0 -4
- package/dist/cdn/JWIVLAVK.js +0 -4
- package/dist/cdn/JY3V2Q6K.js +0 -4
- package/dist/cdn/JZMSBVHJ.js +0 -4
- package/dist/cdn/JZTFM3LW.js +0 -4
- package/dist/cdn/K2UE5ZFR.js +0 -4
- package/dist/cdn/K2XOUB4X.js +0 -4
- package/dist/cdn/K3UJQ2UZ.js +0 -4
- package/dist/cdn/K3XC7KP2.js +0 -4
- package/dist/cdn/K43LIGFN.js +0 -4
- package/dist/cdn/K4Z3XZ42.js +0 -4
- package/dist/cdn/K5KIWH6Y.js +0 -4
- package/dist/cdn/K6EMI6TZ.js +0 -4
- package/dist/cdn/K7WJ3AE4.js +0 -4
- package/dist/cdn/K7XFLPSW.js +0 -4
- package/dist/cdn/KCYYAGPX.js +0 -4
- package/dist/cdn/KEA2RIVM.js +0 -4
- package/dist/cdn/KEZZRUVD.js +0 -4
- package/dist/cdn/KGDLIQJI.js +0 -44
- package/dist/cdn/KHSSUGG7.js +0 -4
- package/dist/cdn/KIDGXZJJ.js +0 -4
- package/dist/cdn/KKCPYQLN.js +0 -4
- package/dist/cdn/KNR6S5YV.js +0 -3
- package/dist/cdn/KPB7NQOX.js +0 -4
- package/dist/cdn/KPHJQ2KM.js +0 -4
- package/dist/cdn/KQAIAOEW.js +0 -4
- package/dist/cdn/KRBMFOQF.js +0 -4
- package/dist/cdn/KRM7LTGM.js +0 -4
- package/dist/cdn/KRXPG2CT.js +0 -4
- package/dist/cdn/KSGVVQ5G.js +0 -4
- package/dist/cdn/KT3E7PYQ.js +0 -4
- package/dist/cdn/KUCVKHNA.js +0 -4
- package/dist/cdn/KVHGI2B3.js +0 -4
- package/dist/cdn/KXNYE2JY.js +0 -4
- package/dist/cdn/KXXMTXL6.js +0 -4
- package/dist/cdn/L2UJIDNZ.js +0 -4
- package/dist/cdn/L354LUYJ.js +0 -4
- package/dist/cdn/L6IWJME4.js +0 -4
- package/dist/cdn/L6JDYEVN.js +0 -4
- package/dist/cdn/L7YZM24F.js +0 -4
- package/dist/cdn/LCSSTVK2.js +0 -4
- package/dist/cdn/LD7LJ2DF.js +0 -4
- package/dist/cdn/LHYT4PIU.js +0 -4
- package/dist/cdn/LJIBNV56.js +0 -4
- package/dist/cdn/LJWSTOPZ.js +0 -4
- package/dist/cdn/LP5VYFD7.js +0 -4
- package/dist/cdn/LQ4LFOM6.js +0 -4
- package/dist/cdn/LRXV7NHX.js +0 -4
- package/dist/cdn/LS4HVOXZ.js +0 -4
- package/dist/cdn/LSPHBERE.js +0 -4
- package/dist/cdn/LSQZV3N5.js +0 -4
- package/dist/cdn/LT7VSW6R.js +0 -4
- package/dist/cdn/LTZYURNW.js +0 -4
- package/dist/cdn/LVIPGOGZ.js +0 -4
- package/dist/cdn/LWPYNZRU.js +0 -4
- package/dist/cdn/LXT6FOBH.js +0 -4
- package/dist/cdn/LXWQXTFD.js +0 -4
- package/dist/cdn/LYWBHWHZ.js +0 -4
- package/dist/cdn/LZYHXKLO.js +0 -4
- package/dist/cdn/M24SQJ7F.js +0 -4
- package/dist/cdn/M2T472C3.js +0 -4
- package/dist/cdn/M2WRO3CI.js +0 -6
- package/dist/cdn/M37MKLOX.js +0 -4
- package/dist/cdn/M7AVPFRY.js +0 -4
- package/dist/cdn/MDPPRBMI.js +0 -4
- package/dist/cdn/MDQGENTF.js +0 -4
- package/dist/cdn/MFB53HWU.js +0 -4
- package/dist/cdn/MFDTLLLK.js +0 -4
- package/dist/cdn/MGN5TT7H.js +0 -4
- package/dist/cdn/MGNZ7EGY.js +0 -4
- package/dist/cdn/MIDGITGI.js +0 -4
- package/dist/cdn/MLST3LAL.js +0 -4
- package/dist/cdn/MMXD6N4G.js +0 -4
- package/dist/cdn/MMYFFDGT.js +0 -4
- package/dist/cdn/MOF2V6YU.js +0 -4
- package/dist/cdn/MPMXHUAE.js +0 -4
- package/dist/cdn/MQ2GRLJN.js +0 -4
- package/dist/cdn/MQSCHSBZ.js +0 -4
- package/dist/cdn/MSDRINUY.js +0 -4
- package/dist/cdn/MVRFIIE2.js +0 -4
- package/dist/cdn/MWCA4HVG.js +0 -4
- package/dist/cdn/MWKBCDP3.js +0 -4
- package/dist/cdn/MYD7RGPM.js +0 -4
- package/dist/cdn/MZCZMQ77.js +0 -4
- package/dist/cdn/N422TVR7.js +0 -4
- package/dist/cdn/N5QXBDXD.js +0 -4
- package/dist/cdn/N7BZBMJH.js +0 -4
- package/dist/cdn/N7FU5WY4.js +0 -4
- package/dist/cdn/N7V2OOS5.js +0 -4
- package/dist/cdn/NBGEA2HK.js +0 -4
- package/dist/cdn/NCAZR73O.js +0 -4
- package/dist/cdn/NDWV4E7H.js +0 -4
- package/dist/cdn/NE2ZSSVD.js +0 -6
- package/dist/cdn/NEI36OX3.js +0 -4
- package/dist/cdn/NELEAQTQ.js +0 -4
- package/dist/cdn/NG4AFNFA.js +0 -4
- package/dist/cdn/NG7MQZGX.js +0 -4
- package/dist/cdn/NH7JATJ6.js +0 -4
- package/dist/cdn/NIKCRJL5.js +0 -4
- package/dist/cdn/NIQFACUG.js +0 -4
- package/dist/cdn/NJ5UW7YG.js +0 -4
- package/dist/cdn/NJP6HUNJ.js +0 -4
- package/dist/cdn/NOMC35RH.js +0 -4
- package/dist/cdn/NPJYWOET.js +0 -4
- package/dist/cdn/NQE2J4CO.js +0 -4
- package/dist/cdn/NQXHAOFZ.js +0 -4
- package/dist/cdn/NR4F7TDF.js +0 -4
- package/dist/cdn/NT5TST5S.js +0 -4
- package/dist/cdn/NTUIXO2H.js +0 -4
- package/dist/cdn/NUGBRI34.js +0 -4
- package/dist/cdn/NVWLA5V2.js +0 -4
- package/dist/cdn/NWLGG7K5.js +0 -4
- package/dist/cdn/NYFLE57C.js +0 -4
- package/dist/cdn/NYOTA2IB.js +0 -4
- package/dist/cdn/O4CPFT5U.js +0 -4
- package/dist/cdn/O5CZIVJ5.js +0 -4
- package/dist/cdn/O5HQFUJR.js +0 -4
- package/dist/cdn/O6VEDMUL.js +0 -4
- package/dist/cdn/O7NQGXHN.js +0 -4
- package/dist/cdn/OA6O2NKJ.js +0 -4
- package/dist/cdn/OAHXPHRY.js +0 -4
- package/dist/cdn/OAS3E2RB.js +0 -4
- package/dist/cdn/OBJGIKPJ.js +0 -4
- package/dist/cdn/OC2QGAFN.js +0 -4
- package/dist/cdn/OEL7UE5J.js +0 -4
- package/dist/cdn/OHDGAZG6.js +0 -4
- package/dist/cdn/OI3VB6KE.js +0 -4
- package/dist/cdn/OJTEFL4B.js +0 -4
- package/dist/cdn/ONH2BSGZ.js +0 -4
- package/dist/cdn/OOHNDEYI.js +0 -4
- package/dist/cdn/OP4L3ASB.js +0 -4
- package/dist/cdn/OPCLUAB4.js +0 -4
- package/dist/cdn/ORCFUPFG.js +0 -4
- package/dist/cdn/OSNBCDOF.js +0 -4
- package/dist/cdn/OSW4I2TX.js +0 -4
- package/dist/cdn/OVCSMWT3.js +0 -4
- package/dist/cdn/OVSONCZ5.js +0 -4
- package/dist/cdn/OZG7BOCB.js +0 -4
- package/dist/cdn/P2COCWXJ.js +0 -4
- package/dist/cdn/P2XS23ED.js +0 -4
- package/dist/cdn/P3E4QXIP.js +0 -4
- package/dist/cdn/P42IHKOP.js +0 -4
- package/dist/cdn/P75WIAHQ.js +0 -4
- package/dist/cdn/PA34DKVW.js +0 -4
- package/dist/cdn/PAIIE5EX.js +0 -4
- package/dist/cdn/PC3WXZUY.js +0 -4
- package/dist/cdn/PGV2GWRJ.js +0 -4
- package/dist/cdn/PHCGINVM.js +0 -4
- package/dist/cdn/PHD72JUF.js +0 -4
- package/dist/cdn/PJJI22IC.js +0 -4
- package/dist/cdn/PM2JIGOM.js +0 -4
- package/dist/cdn/PM523LT7.js +0 -4
- package/dist/cdn/PNGQHN54.js +0 -4
- package/dist/cdn/PSPWUIB5.js +0 -11
- package/dist/cdn/PWCKTLSC.js +0 -4
- package/dist/cdn/PWXFTRML.js +0 -4
- package/dist/cdn/PZ465WLO.js +0 -4
- package/dist/cdn/Q22YRKXF.js +0 -4
- package/dist/cdn/Q2F2BP2F.js +0 -4
- package/dist/cdn/Q2YXRKI5.js +0 -4
- package/dist/cdn/Q42MCY7N.js +0 -4
- package/dist/cdn/Q4JUYGYW.js +0 -6
- package/dist/cdn/Q54I7QAZ.js +0 -4
- package/dist/cdn/Q72DN2KL.js +0 -4
- package/dist/cdn/Q7SGTGSF.js +0 -4
- package/dist/cdn/QBYO5U2O.js +0 -4
- package/dist/cdn/QCPLGJ5C.js +0 -4
- package/dist/cdn/QCX4ZGYF.js +0 -4
- package/dist/cdn/QDKMO543.js +0 -4
- package/dist/cdn/QEN5QAF3.js +0 -4
- package/dist/cdn/QF35JS33.js +0 -4
- package/dist/cdn/QFAEQ5BQ.js +0 -4
- package/dist/cdn/QFGIJSTZ.js +0 -4
- package/dist/cdn/QHDEMXQK.js +0 -4
- package/dist/cdn/QHEO2AFZ.js +0 -4
- package/dist/cdn/QIJSX3D6.js +0 -4
- package/dist/cdn/QJVV6H4C.js +0 -4
- package/dist/cdn/QLYC5MR6.js +0 -4
- package/dist/cdn/QMMTRN6Y.js +0 -4
- package/dist/cdn/QNKUXA4O.js +0 -4
- package/dist/cdn/QNMVZYTM.js +0 -4
- package/dist/cdn/QPEU72P6.js +0 -4
- package/dist/cdn/QRFDWYDH.js +0 -4
- package/dist/cdn/QRIYQ2KK.js +0 -4
- package/dist/cdn/QSRNRI4I.js +0 -4
- package/dist/cdn/QTAZXU3S.js +0 -4
- package/dist/cdn/QTYHUXZI.js +0 -4
- package/dist/cdn/QUZCSGOS.js +0 -4
- package/dist/cdn/QV2RDQYV.js +0 -4
- package/dist/cdn/QWCHHC2F.js +0 -4
- package/dist/cdn/QYZTRTG3.js +0 -4
- package/dist/cdn/R2OGEYHJ.js +0 -4
- package/dist/cdn/R3NFKLPL.js +0 -4
- package/dist/cdn/R4ARGO33.js +0 -4
- package/dist/cdn/R4ZMZX4I.js +0 -4
- package/dist/cdn/R6DWHXYL.js +0 -4
- package/dist/cdn/RD23Y3CP.js +0 -4
- package/dist/cdn/RDJQXOCL.js +0 -4
- package/dist/cdn/RE4BW2GM.js +0 -4
- package/dist/cdn/RF27NQJK.js +0 -4
- package/dist/cdn/RIUSMIKL.js +0 -4
- package/dist/cdn/RJB6XNKF.js +0 -4
- package/dist/cdn/RJGKT3UJ.js +0 -4
- package/dist/cdn/RKEUWJ2I.js +0 -4
- package/dist/cdn/RLO4E542.js +0 -4
- package/dist/cdn/ROCMIDDS.js +0 -4
- package/dist/cdn/ROWPGPA3.js +0 -4
- package/dist/cdn/RPY4HKDB.js +0 -4
- package/dist/cdn/RQLDZJZO.js +0 -4
- package/dist/cdn/RT5XYICL.js +0 -4
- package/dist/cdn/RTTHQVIG.js +0 -4
- package/dist/cdn/RTVJK5FH.js +0 -4
- package/dist/cdn/RU3U55X7.js +0 -4
- package/dist/cdn/RUPYCXJT.js +0 -4
- package/dist/cdn/RXG2INT2.js +0 -4
- package/dist/cdn/S27L2MZP.js +0 -4
- package/dist/cdn/S2DMD2IE.js +0 -4
- package/dist/cdn/S2UL4FAF.js +0 -4
- package/dist/cdn/S3VV4MUP.js +0 -4
- package/dist/cdn/S4QWJOKP.js +0 -4
- package/dist/cdn/S4UYF3XD.js +0 -4
- package/dist/cdn/S5OUB2K3.js +0 -4
- package/dist/cdn/S5QMKXIE.js +0 -4
- package/dist/cdn/S6EBNS7D.js +0 -4
- package/dist/cdn/S6LKN4KP.js +0 -4
- package/dist/cdn/SAZSGSF3.js +0 -4
- package/dist/cdn/SBBT657E.js +0 -4
- package/dist/cdn/SCDIEWZ4.js +0 -4
- package/dist/cdn/SCGJLS2A.js +0 -4
- package/dist/cdn/SDOXPRR6.js +0 -4
- package/dist/cdn/SEKCIXGY.js +0 -4
- package/dist/cdn/SFYFYCNV.js +0 -4
- package/dist/cdn/SGDWL5P6.js +0 -4
- package/dist/cdn/SI3X2IWT.js +0 -4
- package/dist/cdn/SIGC6PJY.js +0 -4
- package/dist/cdn/SLYYBFJN.js +0 -4
- package/dist/cdn/SNVBTSDV.js +0 -4
- package/dist/cdn/SOMTOUR3.js +0 -4
- package/dist/cdn/SP7TDM5H.js +0 -4
- package/dist/cdn/SRDLBLNJ.js +0 -4
- package/dist/cdn/SS2NYDFH.js +0 -4
- package/dist/cdn/SSWQ62SC.js +0 -4
- package/dist/cdn/SSYBP7X6.js +0 -4
- package/dist/cdn/SUIEXCF2.js +0 -4
- package/dist/cdn/SVXVPEYX.js +0 -4
- package/dist/cdn/SWBKHR3E.js +0 -4
- package/dist/cdn/SYHFXJTX.js +0 -4
- package/dist/cdn/SZANLXOV.js +0 -4
- package/dist/cdn/SZCIH37F.js +0 -4
- package/dist/cdn/T2GTWJFT.js +0 -4
- package/dist/cdn/T5IQ2M2Z.js +0 -4
- package/dist/cdn/T6FUMN44.js +0 -4
- package/dist/cdn/T6P4WPSE.js +0 -4
- package/dist/cdn/T7GJJ3VG.js +0 -4
- package/dist/cdn/TBAHZWUG.js +0 -4
- package/dist/cdn/TCX336TO.js +0 -4
- package/dist/cdn/TDAXXSTO.js +0 -4
- package/dist/cdn/TDB2YPNY.js +0 -4
- package/dist/cdn/TDCKB7EY.js +0 -4
- package/dist/cdn/TEIDTFDP.js +0 -4
- package/dist/cdn/TEJ5J64A.js +0 -4
- package/dist/cdn/TF2FW3BN.js +0 -4
- package/dist/cdn/TFA7VDOM.js +0 -4
- package/dist/cdn/TFZIIUHJ.js +0 -4
- package/dist/cdn/TGMOTI3U.js +0 -4
- package/dist/cdn/TGO7RBXN.js +0 -4
- package/dist/cdn/TGSDNCKC.js +0 -4
- package/dist/cdn/TGXMZWNL.js +0 -4
- package/dist/cdn/TH3HIDYR.js +0 -4
- package/dist/cdn/THDAZ3AB.js +0 -4
- package/dist/cdn/THJFUVCL.js +0 -4
- package/dist/cdn/TIV5TQIO.js +0 -4
- package/dist/cdn/TKDLXQ2F.js +0 -4
- package/dist/cdn/TLDM7MOJ.js +0 -4
- package/dist/cdn/TMTBU277.js +0 -4
- package/dist/cdn/TNEWDXDW.js +0 -4
- package/dist/cdn/TONH5NOT.js +0 -4
- package/dist/cdn/TOWUTGHA.js +0 -4
- package/dist/cdn/TPN3L64W.js +0 -4
- package/dist/cdn/TQNKWBK5.js +0 -4
- package/dist/cdn/TSPAKDYS.js +0 -4
- package/dist/cdn/TSQVETBQ.js +0 -4
- package/dist/cdn/TSXSBGMI.js +0 -4
- package/dist/cdn/TTWCZIXI.js +0 -4
- package/dist/cdn/TUPKVIGL.js +0 -4
- package/dist/cdn/TVWZYH2J.js +0 -4
- package/dist/cdn/TVYHLPJN.js +0 -4
- package/dist/cdn/TZ6ZKLHC.js +0 -4
- package/dist/cdn/U4B46G2Y.js +0 -42
- package/dist/cdn/U4GJTDMV.js +0 -4
- package/dist/cdn/U5PZOF2G.js +0 -4
- package/dist/cdn/U5QOZBKJ.js +0 -4
- package/dist/cdn/U6V424LV.js +0 -4
- package/dist/cdn/U6V7ITHK.js +0 -4
- package/dist/cdn/UBHHOLQG.js +0 -4
- package/dist/cdn/UBM6R6IX.js +0 -4
- package/dist/cdn/UBZNQGDI.js +0 -4
- package/dist/cdn/UEDL6W77.js +0 -4
- package/dist/cdn/UEPJAADX.js +0 -4
- package/dist/cdn/UEPOGJFN.js +0 -4
- package/dist/cdn/UETQJPSN.js +0 -4
- package/dist/cdn/UF7XE7IU.js +0 -4
- package/dist/cdn/UFW2YWC6.js +0 -4
- package/dist/cdn/UGIHKW47.js +0 -4
- package/dist/cdn/UIZWRHD6.js +0 -4
- package/dist/cdn/UJ57JDTZ.js +0 -52
- package/dist/cdn/UJGT7JYX.js +0 -4
- package/dist/cdn/UL32IAP7.js +0 -4
- package/dist/cdn/ULEZHAJA.js +0 -5
- package/dist/cdn/ULUFS6XR.js +0 -4
- package/dist/cdn/UMDFT6CW.js +0 -4
- package/dist/cdn/UMGBTRVL.js +0 -4
- package/dist/cdn/UNTJQF4G.js +0 -4
- package/dist/cdn/UP4WBY2S.js +0 -4
- package/dist/cdn/UPTWK4GI.js +0 -4
- package/dist/cdn/UQQN6S2A.js +0 -4
- package/dist/cdn/URNGGG2U.js +0 -4
- package/dist/cdn/UUCJ4H7I.js +0 -4
- package/dist/cdn/UX43E7J3.js +0 -4
- package/dist/cdn/UZALD2BT.js +0 -4
- package/dist/cdn/UZQ66DET.js +0 -4
- package/dist/cdn/V2KCVXOC.js +0 -4
- package/dist/cdn/V2VMP6JU.js +0 -4
- package/dist/cdn/V3DG2E5Z.js +0 -4
- package/dist/cdn/V54TSAJA.js +0 -4
- package/dist/cdn/V62AHCLS.js +0 -4
- package/dist/cdn/V67CPSFB.js +0 -4
- package/dist/cdn/V7NIYZEN.js +0 -4
- package/dist/cdn/VG5OKWVT.js +0 -4
- package/dist/cdn/VHJFUZXI.js +0 -4
- package/dist/cdn/VLQQ2MDK.js +0 -4
- package/dist/cdn/VMTG3JHC.js +0 -4
- package/dist/cdn/VMYRO6XM.js +0 -4
- package/dist/cdn/VOTDT347.js +0 -4
- package/dist/cdn/VPBRSPNS.js +0 -4
- package/dist/cdn/VPDZ7CNV.js +0 -4
- package/dist/cdn/VPGWT4UZ.js +0 -4
- package/dist/cdn/VSDCDCLV.js +0 -4
- package/dist/cdn/VSRJOQMQ.js +0 -4
- package/dist/cdn/VU3Q7HDX.js +0 -4
- package/dist/cdn/VU677GR7.js +0 -4
- package/dist/cdn/VWCHZ63R.js +0 -4
- package/dist/cdn/VWHQ2N5A.js +0 -5
- package/dist/cdn/VZLAYHHD.js +0 -4
- package/dist/cdn/W2KY7AMC.js +0 -4
- package/dist/cdn/W3GUWN2J.js +0 -4
- package/dist/cdn/W6IE5X4N.js +0 -4
- package/dist/cdn/WE3UD3C5.js +0 -4
- package/dist/cdn/WIMIPJRC.js +0 -4
- package/dist/cdn/WKC4K7FQ.js +0 -4
- package/dist/cdn/WNLQUUOF.js +0 -4
- package/dist/cdn/WOMLQPNX.js +0 -4
- package/dist/cdn/WOSJM7BP.js +0 -4
- package/dist/cdn/WQKHSRFH.js +0 -4
- package/dist/cdn/WRV4FD65.js +0 -4
- package/dist/cdn/WS5ZANWN.js +0 -4
- package/dist/cdn/WUKCC4DU.js +0 -4
- package/dist/cdn/WUYTLMNO.js +0 -4
- package/dist/cdn/X2JAHCRF.js +0 -4
- package/dist/cdn/X37F356S.js +0 -4
- package/dist/cdn/X4CAQ5SS.js +0 -4
- package/dist/cdn/XBL6ULTH.js +0 -4
- package/dist/cdn/XBNSIAKY.js +0 -4
- package/dist/cdn/XEGJFX5O.js +0 -4
- package/dist/cdn/XEL567TD.js +0 -4
- package/dist/cdn/XJTYLBQ7.js +0 -4
- package/dist/cdn/XJZADYHF.js +0 -4
- package/dist/cdn/XK33FZ27.js +0 -4
- package/dist/cdn/XKNVTL2X.js +0 -4
- package/dist/cdn/XKWN5STS.js +0 -4
- package/dist/cdn/XL4ZMHYL.js +0 -4
- package/dist/cdn/XNQWYIOE.js +0 -4
- package/dist/cdn/XNVD2HAE.js +0 -4
- package/dist/cdn/XNYT5L2G.js +0 -4
- package/dist/cdn/XONRFQZI.js +0 -4
- package/dist/cdn/XPTNGD3U.js +0 -4
- package/dist/cdn/XPV6ZBBC.js +0 -5
- package/dist/cdn/XQ3QYSWO.js +0 -4
- package/dist/cdn/XSN4YFU4.js +0 -4
- package/dist/cdn/XTTPUKYQ.js +0 -4
- package/dist/cdn/XUPLE72N.js +0 -4
- package/dist/cdn/XWJ5CQWC.js +0 -4
- package/dist/cdn/XY7XFGQD.js +0 -4
- package/dist/cdn/XZUS5FO3.js +0 -4
- package/dist/cdn/XZVT32L5.js +0 -4
- package/dist/cdn/Y2VTWHY2.js +0 -4
- package/dist/cdn/Y6LQZSAA.js +0 -4
- package/dist/cdn/Y7ATZT4N.js +0 -4
- package/dist/cdn/Y7WXA2UB.js +0 -4
- package/dist/cdn/YB4DFI5I.js +0 -4
- package/dist/cdn/YDGFHEJ4.js +0 -4
- package/dist/cdn/YE2HKT2F.js +0 -4
- package/dist/cdn/YFPAHEDW.js +0 -4
- package/dist/cdn/YHGXVSXH.js +0 -5470
- package/dist/cdn/YHHFRJQJ.js +0 -4
- package/dist/cdn/YLAVVUP7.js +0 -4
- package/dist/cdn/YLVJZRYF.js +0 -4
- package/dist/cdn/YM2VNBCO.js +0 -4
- package/dist/cdn/YMCR4NJ3.js +0 -4
- package/dist/cdn/YNFFNUVZ.js +0 -4
- package/dist/cdn/YNSQ6TLW.js +0 -4
- package/dist/cdn/YQTQD2SH.js +0 -4
- package/dist/cdn/YRFAZXJK.js +0 -4
- package/dist/cdn/YRRCXC6T.js +0 -4
- package/dist/cdn/YRS56F23.js +0 -4
- package/dist/cdn/YSZ4CKQH.js +0 -4
- package/dist/cdn/YTWCBN7S.js +0 -4
- package/dist/cdn/YU3VBP2I.js +0 -4
- package/dist/cdn/YVNCTVSH.js +0 -4
- package/dist/cdn/YVZPJTSY.js +0 -4
- package/dist/cdn/YWEG4U3Y.js +0 -4
- package/dist/cdn/YXNSO3XF.js +0 -4
- package/dist/cdn/YXSQAVUH.js +0 -4
- package/dist/cdn/Z3EOESC3.js +0 -4
- package/dist/cdn/Z4IA2ZV5.js +0 -4
- package/dist/cdn/Z6XGTSOC.js +0 -4
- package/dist/cdn/Z7OHHYRX.js +0 -4
- package/dist/cdn/Z7RABDC2.js +0 -4
- package/dist/cdn/ZADWBSNG.js +0 -4
- package/dist/cdn/ZC4JOPVJ.js +0 -4
- package/dist/cdn/ZDN2HLT6.js +0 -4
- package/dist/cdn/ZJQG4P5G.js +0 -4
- package/dist/cdn/ZKXUGWOH.js +0 -4
- package/dist/cdn/ZPBCITUL.js +0 -4
- package/dist/cdn/ZTPC6MYF.js +0 -4
- package/dist/cdn/ZWFIOVEN.js +0 -4
- package/dist/cdn/ZWQ2JLYM.js +0 -4
- package/dist/cdn/ZXU56ELP.js +0 -4
- package/dist/cdn/ZZFM5GOB.js +0 -4
- package/dist/cdn/ZZUUFBE3.js +0 -4
- package/dist/chunks/chat-action.js +0 -24
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{a as Ze,c as et}from"./DJSFFHZG.js";import{a as st}from"./WHBJOQ62.js";import{a as Pe,b as Ae,c as ke,d as De,e as Ee}from"./U764ZRXS.js";import{a as tt}from"./42HQM7QR.js";import{a as ie}from"./WQIOB4AH.js";import{a as Ie}from"./V5GEKPFX.js";import{a as de}from"./XRHDOR2V.js";import{a as le,b as j}from"./KSKUP7V5.js";import{a as he}from"./GDSMH7AO.js";import c from"./6YZZPYL6.js";import"./X44DE23S.js";import a from"./2UOA7GHU.js";import"./3W5HBL7F.js";import"./7LFUPPJO.js";import{a as Re}from"./SEIROEQC.js";import{a as B}from"./QQJ5ZJAP.js";import{c as Be,d as Ge,e as Ce,f as ze,g as re}from"./XFAIZ7OH.js";import{a as Ke,b as qe}from"./6YMYTI2Z.js";import{a as _e}from"./WTIUBTQB.js";import{a as We}from"./VVXGOXHK.js";import"./LMUFLRBV.js";import"./RNEN6EAZ.js";import"./NXV7EO2A.js";import"./2SUTMP6Z.js";import{b as Le}from"./MVCGPTM7.js";import{f as Me}from"./BWV2C6NQ.js";import"./TLKHR4VX.js";import"./LDSAB6NP.js";import"./F44OFGC7.js";import"./7BSQMIQ7.js";import"./QVJ7EH3G.js";import"./U4JDVLV5.js";import"./K5ILXEIJ.js";import"./FS4KYZ7J.js";import{a as Te}from"./WBN6LMKI.js";import{a as W}from"./6NJ3KJ6A.js";import{c as Z,j as ne}from"./36WJAUQ5.js";import"./DARLGMSX.js";import{a as g}from"./JZ7UVITX.js";import"./FTB7I2DO.js";import{a as V}from"./HI37V4DR.js";import"./PINYE7HJ.js";import"./YBPTFCSM.js";import{b as r,c as G,d as z,e as C,h as D,i as K}from"./QQ7ICBCL.js";import"./IWMRLOOZ.js";import"./UEIBPBWW.js";import{O as He,Q as Fe,R as Ne,S as M,T as Ue,U as ve,V as Ve}from"./DH4SHKA7.js";import"./XKI7AQ4R.js";import"./WMDN7LTM.js";import"./QGDQXC5J.js";import"./UHESR4NN.js";import"./V3IMTIDG.js";import"./A47RADMR.js";import"./GDGZ2H46.js";import"./HTREESNI.js";import"./KHK4EFEJ.js";import"./4TJLOU7F.js";import"./PUYNVU5C.js";import"./MQLLCZVH.js";import"./ELYKSGGV.js";import"./CNA2TTXC.js";import"./6V6GHPY5.js";import"./ISEOUG4D.js";import"./SPBN4CQ2.js";import"./GDSQB4LZ.js";import"./MJC2OHVY.js";import"./ZWERNXYL.js";import"./S7VOW77N.js";import"./XJ6LXQ44.js";import"./D3GHGZJA.js";import"./APPPIYJF.js";import"./37X6XVPL.js";import{a as ye,f as x,g as Se,h as fe,i as je}from"./W2LLXJ25.js";import"./UNRDUBEM.js";import"./VIWYSFN5.js";import{c as $,d as b,f as A,i as v,o as ae}from"./FBXURUFL.js";import"./XHT2KCWN.js";import{h as me}from"./ORJGP3S7.js";import"./RA6DZLA2.js";import"./JIV7KCJJ.js";import"./AZKIA3XI.js";import"./6TCLEVMS.js";import"./VVDJ33EN.js";import"./7VBE5PUK.js";import"./WTXVZBB5.js";import"./KGN7BOZF.js";import"./RGE4KTJL.js";import"./SYTX74V4.js";import"./G3VYMZVR.js";import"./ALIZIODZ.js";import"./DMGBF75S.js";import"./MZABAF5D.js";import"./HUGSUHUS.js";import"./HI22DNMY.js";import"./VMUZMNDT.js";import"./QJV4L3RY.js";import"./G34Q7TJM.js";import"./3JD63F7T.js";import{a as Y}from"./JYWE3FW3.js";import"./CN3J2G3C.js";import"./LTJSFNKZ.js";import"./ZWQSJFDX.js";import{a as J}from"./V4KRDK5L.js";import"./3CSHLMXQ.js";import"./K6NZM7HU.js";import"./LQ36TGXF.js";import"./YMAN7MIN.js";export default $arcgis.t(([,{a:ce,b:$e,c:xe,h:we,i:se,j:X,n:Qe,p:Ye,q:Oe,r:Je,s:Xe},ue])=>{function gt(e){function t(s,i,o){let{get:n}=o,a=function(){let l=n.call(this);return Ze(l,e)};return Object.assign(Object.assign({},o),{get:a})}return t}var bt="data-mention",mt=new RegExp(`<[a-z-]+( [a-z-]+(=('|")[\\w- ]+('|"))?)*( ${bt}=('|")[\\w@\\.-]+('|"))( [a-z-]+(=('|")[\\w- ]+('|"))?)*>@[\\w@\\.-]+</[a-z-]+>`,"g"),yt=(e,t)=>{let s=re(e)[0];return t?t.find(i=>i.userId===s):null};function ft(e,t,s,i,o){let n=Z(),a=(c="")=>{var l,d,u,h,p,y,m,f,_,w,T;let E=c.match(mt);if(E){let[k]=E,O=c.indexOf(k),P=O+k.length,L=O>0?c.substring(0,O):"",N=c.substring(O,O+k.length),R=yt(N,i),U=N.replace(k,`<arcgis-hub-discussions-mention-popover
|
|
5
|
+
access="${(d=(l=R?.user)===null||l===void 0?void 0:l.access)!==null&&d!==void 0?d:""}"
|
|
6
|
+
channel-access="${x(o)}"
|
|
7
|
+
channel-id="${o.id}"
|
|
8
|
+
creator-username="${s?.username||t.creator}"
|
|
9
|
+
full-name="${(h=(u=R.user)===null||u===void 0?void 0:u.fullName)!==null&&h!==void 0?h:""}"
|
|
10
|
+
organization="${(y=(p=R.org)===null||p===void 0?void 0:p.name)!==null&&y!==void 0?y:""}"
|
|
11
|
+
region="${((m=R.user)===null||m===void 0?void 0:m.region)||""}"
|
|
12
|
+
thumbnail="${((f=R.user)===null||f===void 0?void 0:f.thumbnail)||""}"
|
|
13
|
+
token="${(_=n.hubRequestOptions.authentication)===null||_===void 0?void 0:_.token}"
|
|
14
|
+
user-id="${(T=(w=R.user)===null||w===void 0?void 0:w.id)!==null&&T!==void 0?T:""}"
|
|
15
|
+
username="${R.userId}"
|
|
16
|
+
>${k}</arcgis-hub-discussions-mention-popover>`);return L+U+a(c.substring(P))}else return c};return a(e)}function vt(){function e(t,s,i){let{get:o}=i,n=function(){let c=o.call(this);return ft(c,this.post,this.postCreator,this.postMentionedUsers,this.channel)};return Object.assign(Object.assign({},i),{get:n})}return e}function Ct(e,t,s){let i={channelId:e,postId:t,discussions:!0};s&&(i.replyId=t,i.postId=s);let o=new URL(globalThis.location.href);Object.entries(i).forEach(([n,a])=>{o.searchParams.set(n,a.toString())}),navigator.clipboard.writeText(o.toString())}async function it(e,t){let{post:s}=e,{postMentionedUsers:i}=e;if(s){let o=re(s.body);i=(i??[]).filter(c=>o.includes(c.userId));let n=o.filter(c=>!i.find(l=>c===l.userId)),a=await Promise.all(n.map(async c=>{let l,d,u,h;try{l=await Ae(c,t),d=null}catch(p){d=p,l=null}try{u=l?.orgId?await tt(l.orgId,t):null,h=null}catch(p){h=p,u=null}return{userId:c,user:l,userError:d,org:u,orgError:h}}));i=[...i,...a]}else i=null;return{postMentionedUsers:i}}function rt(e,t){function s(i,o,n){let{get:a}=n,c=function(...d){var u;let h=a.apply(this,d);return h&&this.post.status!==A.APPROVED?et(h,(u=this.channel.blockWords)!==null&&u!==void 0?u:[],e,t,this.intl,{labelKey:"blockedWordTooltipLabel",textKey:"blockedWordTooltipText"}):h};return Object.assign(Object.assign({},n),{get:c})}return s}var _t=`.sc-arcgis-hub-discussions-post-h{display:block}.sc-arcgis-hub-discussions-post-h:not([parent-id]){padding-top:0.75rem;padding-bottom:0.75rem}[data-view$="renderPost"].sc-arcgis-hub-discussions-post-h{background-color:var(--calcite-color-foreground-1)}[data-view$="renderEditor"].sc-arcgis-hub-discussions-post-h:not([parent-id]){background-color:transparent}arcgis-hub-discussions-post-header.sc-arcgis-hub-discussions-post,.sc-arcgis-hub-discussions-post-s>[slot='metadata']{margin-left:1rem;margin-right:1rem;margin-bottom:0.5rem}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-header.sc-arcgis-hub-discussions-post,.sc-arcgis-hub-discussions-post-h[parent-id].sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h[parent-id] .sc-arcgis-hub-discussions-post-s>[slot='metadata']{margin-left:0px;margin-right:0px}.sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-s>[slot='editor']{display:none}.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='metadata']).sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='metadata']) .sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='editor']).sc-arcgis-hub-discussions-post-s>[slot='editor'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='editor']) .sc-arcgis-hub-discussions-post-s>[slot='editor']{display:block}arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{padding-left:1rem;padding-right:1rem;padding-bottom:0.75rem}header.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-bottom:0.25rem;overflow-wrap:break-word;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post{margin:0px;margin-left:1rem;margin-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.375rem;color:var(--calcite-color-text-1)}footer.sc-arcgis-hub-discussions-post{display:flex;flex-direction:column}article.sc-arcgis-hub-discussions-post:has(arcgis-hub-discussions-post-geography[data-count='0']) footer.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-reactions)){margin-top:0.5rem}footer.sc-arcgis-hub-discussions-post .actions.sc-arcgis-hub-discussions-post{margin-left:0.5rem;margin-right:0.5rem;display:flex;justify-content:space-between}footer.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-top:0.75rem;margin-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{margin-top:0px;margin-bottom:0px;margin-left:var(--arcgis-hub-discussions-post-editor-x-margin, 0.75rem);margin-right:var(--arcgis-hub-discussions-post-editor-x-margin, 0.75rem)}calcite-notice.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}footer.sc-arcgis-hub-discussions-post+calcite-notice.sc-arcgis-hub-discussions-post{margin-top:1rem}arcgis-hub-discussions-post-geography[loading].sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem}calcite-popover[data-popper-placement][data-popper-reference-hidden].sc-arcgis-hub-discussions-post{pointer-events:auto;opacity:1}calcite-popover.sc-arcgis-hub-discussions-post{pointer-events:auto !important}.discussions-post-action-menu.sc-arcgis-hub-discussions-post:active .discussions-post-action-menu-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-action-menu-options.sc-arcgis-hub-discussions-post:active{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-action-menu-options.sc-arcgis-hub-discussions-post:active .discussions-post-action-menu-options-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-replies.sc-arcgis-hub-discussions-post:active{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-replies.sc-arcgis-hub-discussions-post:active .discussions-post-replies-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.actions.sc-arcgis-hub-discussions-post{display:flex;align-items:center}[parent-id].sc-arcgis-hub-discussions-post-h article.sc-arcgis-hub-discussions-post{position:relative;display:grid;grid-template-rows:repeat(1, minmax(0, 1fr));gap:0.75rem;grid-template-columns:2rem auto}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{padding-bottom:0px}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips:not([data-count='0'])) div.sc-arcgis-hub-discussions-post{grid-row-start:2;grid-row-end:2}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1.25rem}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{position:relative;z-index:10}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{position:absolute;top:0px;display:block;height:100%;width:0.125rem;background-color:var(--calcite-color-foreground-2);left:15px;content:''}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{top:2.25rem;height:calc(100% - 2.25rem)}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{top:2.75rem;height:calc(100% - 2.75rem)}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:2.25rem}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post{padding-top:0.25rem}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-chips))::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-chips)) arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1.5rem}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{z-index:-10}[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before{top:2.25rem;height:calc(100% - 2.25rem)}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h calcite-action-group.sc-arcgis-hub-discussions-post{margin-left:-0.5rem}.hidden.sc-arcgis-hub-discussions-post{visibility:hidden}@keyframes in-right{0%{opacity:0;transform:translate3D(-100%, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}article.in.sc-arcgis-hub-discussions-post{animation:in-right 300ms ease-out forwards}@keyframes out-left{0%{opacity:1;transform:translate3D(0, 0, 0)}100%{opacity:0;transform:translate3D(-100%, 0, 0)}}article.out.sc-arcgis-hub-discussions-post{animation:out-left 300ms ease-out forwards}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1rem}.arcgis-hub-discussions-post-editor-container.sc-arcgis-hub-discussions-post{overflow:visible}@keyframes in-left{0%{opacity:0;transform:translate3D(100%, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}.arcgis-hub-discussions-post-editor-container.in.sc-arcgis-hub-discussions-post{animation:in-left 300ms ease-out forwards}@keyframes out-right{0%{opacity:1;transform:translate3D(0, 0, 0)}100%{opacity:0;transform:translate3D(100%, 0, 0)}}.arcgis-hub-discussions-post-editor-container.out.sc-arcgis-hub-discussions-post{animation:out-right 300ms ease-out forwards}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor[post-id][parent-id].sc-arcgis-hub-discussions-post{padding-left:0px;padding-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post+calcite-notice.sc-arcgis-hub-discussions-post{margin-top:1rem}[parent-id].sc-arcgis-hub-discussions-post-h article.sc-arcgis-hub-discussions-post{padding-top:0.75rem;padding-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;display:grid;gap:0.5rem;font-style:normal;grid-template-columns:1fr}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post{display:grid;gap:0.25rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post>arcgis-hub-discussions-post-geography.sc-arcgis-hub-discussions-post{margin-left:-1rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post>arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{grid-column:span 1 / span 1}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-popover.sc-arcgis-hub-discussions-post{grid-row:span 2 / span 2;grid-row-start:1;grid-row-end:1}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips:not([data-count='0'])) arcgis-hub-discussions-popover.sc-arcgis-hub-discussions-post{grid-row-start:2;grid-row-end:2}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{grid-column-start:2;grid-row-start:1;grid-row-end:1;height:1.5rem}[parent-id].sc-arcgis-hub-discussions-post-h calcite-avatar.sc-arcgis-hub-discussions-post{position:relative;margin-top:-0.25rem;padding-top:0.25rem;padding-bottom:0.25rem;background-color:var(--calcite-color-foreground-1);box-sizing:initial}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post{display:grid;grid-template-columns:auto 48px}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post calcite-action.sc-arcgis-hub-discussions-post{grid-column-start:2}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{grid-column:span 2 / span 2;margin-top:0.75rem;margin-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h calcite-notice.sc-arcgis-hub-discussions-post{margin:0px}.blocked.sc-arcgis-hub-discussions-post{-webkit-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-color:var(--calcite-color-status-danger);text-decoration-color:var(--calcite-color-status-danger);-webkit-text-decoration-style:dashed;text-decoration-style:dashed;color:var(--calcite-color-status-danger)}`,xt=_t,Q=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},I;(function(e){e.Skeleton="skeleton",e.Post="post",e.Reply="reply",e.OutOfContext="outOfContext",e.Editor="editor",e.Deleted="deleted",e.Hidden="hidden"})(I||(I={}));var S;(function(e){e.IN="in",e.OUT="out",e.HIDDEN="hidden"})(S||(S={}));var q=class{constructor(e){K(this,e),this.arcgisHubDiscussionsPostEdit=C(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsPostDelete=C(this,"arcgisHubDiscussionsPostDelete",7),this.arcgisHubDiscussionsPostSelect=C(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisHubDiscussionsGeometryDrawReset=C(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometryDeselect=C(this,"arcgisHubDiscussionsGeometryDeselect",7),this.hubTelemetry=C(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReady=C(this,"arcgisHubDiscussionsPostReady",7),this.postId=void 0,this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.postError=void 0,this.postMentionedUsers=void 0,this.channelId=void 0,this.channel=void 0,this.channelGroups=void 0,this.parentId=void 0,this.parent=void 0,this.parentCreator=void 0,this.parentCreatorOrg=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.preview=void 0,this.index=void 0,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.isMobile=void 0,this.locationId=void 0,this.lead=void 0,this.lastIndex=void 0,this.loading=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=Z(),this.minHeight=null,this.popoverIsOpen=void 0,this.articleClass=null,this.editorClass=S.HIDDEN,this.renderedEl=null,this.editing=!1,this.errorMessage=null,this.intl=void 0,this.isCopied=void 0,this._loading=!1,W(this,"handleDelete","handleEdit","handleCopyLink","handleCopyTooltipBeforeOpen","handleCopyTooltipClose","handleActionsPopoverBeforeOpenClose","handleToggleVisibility","handleViewThread","handleReply","handleViewReplies","handleLinkClicked","renderDeleted","renderHidden","renderPost","renderReply","renderEditor","renderSkeleton","handleViewPost","handleSetComponentRef","handleAnimationEnd","renderReplyOutOfContext","handleViewAllReplies","handleReplyOutOfContextReadMore")}connectedCallback(){ne(this),this.addAnimationEventListeners(this.renderedEl)}componentWillLoad(){this.initialize()}disconnectedCallback(){this.removeAnimationEventListeners(this.renderedEl),this.disconnectContext()}handlePostViewAllGeography(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:t,parentId:e,parentCreator:s,parentCreatorOrg:i,channelId:a,channel:o,channelGroups:n})}handleMultilineEllipsisExpanded(e){this.isReply||(e.preventDefault(),e.stopPropagation(),this.handleViewThread())}handleCalcitePopoverOpen(e){var t;let{open:s}=e.target;e.target!==this.menuPopoverElement&&(!((t=this.menuPopoverElement)===null||t===void 0)&&t.open)?this.menuPopoverElement.setFocus():e.target===this.menuPopoverElement&&s&&this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.popover.details.options),{position:this.index}))}handleReactionChanged(e){e.stopPropagation();let t=e.target;this.post=t.post,this.arcgisHubDiscussionsPostEdit.emit(t.post)}emitHubTelemetry(e){let{postId:t,parentId:s,channel:i,channelId:o}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:t,parentId:s,channelId:o,channelAccess:i?x(i):void 0}))}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this._loading=!1,this.arcgisHubDiscussionsPostReady.emit()})}fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){let{postId:e,postCreator:t,postCreatorOrg:s,parent:i,parentId:o,parentCreator:n,post:a,postMentionedUsers:c,channel:l,channelId:d,_context:u,discussion:h,entityId:p,entity:y,entityType:m,discussionSettings:f,displayFieldKey:_,displayFieldValid:w,displayFieldValue:T,isHub:E,locationId:k,channelGroups:O}=this,[P,L]=await Promise.all([Pe({postId:e,post:a},u.hubRequestOptions),de({isHub:E},u.hubRequestOptions)]),[N,R]=await Promise.all([ke(Object.assign({postCreator:t,postCreatorOrg:s},P),u.hubRequestOptions),De(Object.assign({parentId:o,parent:i},P),u.hubRequestOptions)]),[U,pe,ge,be]=await Promise.all([ue(Object.assign(Object.assign({discussion:h,entityId:p,entityType:m,entity:y,displayFieldKey:_,displayFieldValid:w,displayFieldValue:T,locationId:k,discussionSettings:f},P),R),u.hubRequestOptions,!0),he(Object.assign(Object.assign({channelId:d,channel:l,channelGroups:O},P),R),u.hubRequestOptions),Ee(Object.assign({parentCreator:n},R),u.hubRequestOptions),it(Object.assign({postMentionedUsers:c},P),u.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},P),N),R),ge),pe),U),L),be)}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await V.loadIntlForComponent(this.element)}get postBody(){return this.post.body}get postTitle(){return this.post.title}get isRtl(){return this.intl.direction==="rtl"}handleDelete(){let{_context:e,postId:t,post:s,menuPopoverElement:i,isReply:o}=this;return this.errorMessage=null,i&&(i.open=!1),Ue(Object.assign({postId:t},e.hubRequestOptions)).then(()=>{this.deletedDuringSession=!0,this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.delete),{response:g.constants.response.SUCCESS})),this.arcgisHubDiscussionsPostDelete.emit(s)}).catch(n=>{this.errorMessage=o?"deleteFailureReply":"deleteFailure",this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.delete),{response:g.constants.response.FAILURE})),console.error("Could not delete post:",n.message)})}handleEdit(){this.menuPopoverElement&&(this.menuPopoverElement.open=!1),setTimeout(()=>this.transitionEditorView(!0),100),this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.editor),{position:this.index}))}handleCopyLink(){Ct(this.channelId,this.postId,this.parentId),this.isCopied=!0,this.copyTooltipRef.open=!0}handleCopyTooltipBeforeOpen(){this.isCopied||(this.copyTooltipRef.open=!1)}handleCopyTooltipClose(){this.isCopied=!1}handleActionsPopoverBeforeOpenClose(){this.isCopied=!1,this.copyTooltipRef&&(this.copyTooltipRef.open=!1)}handleToggleVisibility(){let{_context:e,post:t,menuPopoverElement:s}=this;this.errorMessage=null,s&&(s.open=!1);let i,o;return t.status===A.HIDDEN||t.status===A.BLOCKED?(i=A.APPROVED,o="show"):(i=A.HIDDEN,o="hide"),Ve(Object.assign({data:{status:i},postId:t.id},e.hubRequestOptions)).then(n=>M(Object.assign({postId:n.id,data:{relations:[v.REACTIONS,v.REPLIES,v.CHANNEL,v.CHANNEL_ACL]}},this._context.hubRequestOptions))).then(n=>(n.replyCount=n.replies.total,delete n.replies,this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.status.details[o]),{response:g.constants.response.SUCCESS})),this.arcgisHubDiscussionsPostEdit.emit(n),n)).catch(n=>(console.error("Could not update post status:",n.message),this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.status.details[o]),{response:g.constants.response.FAILURE})),null))}handleViewThread(){let{index:e,postId:t,post:s,postCreator:i,postCreatorOrg:o,channel:n,channelGroups:a,channelId:c}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:t,parent:s,parentCreator:i,parentCreatorOrg:o,channel:n,channelGroups:a,channelId:c}),e!==void 0&&this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.thread),{position:e}))}handleReply(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:e,parent:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelGroups:n,channelId:a,scrollTarget:"editor"}),this.emitHubTelemetry(g.dictionary.category.interaction.action.open.label.editor.details.reply)}handleViewReplies(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:e,parent:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelGroups:n,channelId:a,scrollTarget:"list"}),this.emitHubTelemetry(g.dictionary.category.interaction.action.open.label.thread.details.bodyAction)}handleLinkClicked(e){let t=e.target;if(["CALCITE-LINK"].includes(t.nodeName)&&!t.hasAttribute("data-mention")){let{postId:s,parentId:i,channel:o,index:n}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.navigation.action.external.label.link),{details:t.href,postId:s,parentId:i,channelId:o.id,channelAccess:x(o),position:n}))}}capturePostDeepLinkImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.SUCCESS}))}capturePostListImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.postList),{position:this.index}))}capturePostDeletedImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.FAILURE}))}capturePostHiddenImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.FAILURE}))}handleRenderedElChange(e,t){this.removeAnimationEventListeners(t),this.addAnimationEventListeners(e)}handleContextChanged(e,t){var s,i;((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username)&&this.loadDependencies()}addAnimationEventListeners(e){e&&e.addEventListener("animationend",this.handleAnimationEnd)}removeAnimationEventListeners(e){e&&e.removeEventListener("animationend",this.handleAnimationEnd)}handleViewAllReplies(){let{parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelId:n,channelGroups:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channelId:n,channel:o,channelGroups:a})}handleReplyOutOfContextReadMore(){let{parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelId:n,channelGroups:a,postId:c,post:l,postCreator:d,postCreatorOrg:u}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channelId:n,channel:o,channelGroups:a,postId:c,post:l,postCreator:d,postCreatorOrg:u})}handleViewPost(e){e.stopPropagation();let{parent:t,parentId:s,parentCreator:i,parentCreatorOrg:o,channel:n,channelId:a,channelGroups:c,post:l,postId:d,postCreator:u,postCreatorOrg:h}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:t,parentId:s,parentCreator:i,parentCreatorOrg:o,channelId:a,channel:n,channelGroups:c,post:l,postId:d,postCreator:u,postCreatorOrg:h})}handleSetComponentRef(e){e&&(this.renderedEl=e)}handlePostCanceled(e){e.stopPropagation(),this.transitionEditorView(!1),this.arcgisHubDiscussionsGeometryDeselect.emit(),this.arcgisHubDiscussionsGeometryDrawReset.emit()}async handlePostCreatedOrDeleted(e){var t;if(e.detail.parentId===((t=this.post)===null||t===void 0?void 0:t.id)){let s=await M(Object.assign({postId:this.post.id,data:{relations:[v.REACTIONS,v.REPLIES,v.CHANNEL,v.CHANNEL_ACL]}},this._context.hubRequestOptions));s.replyCount=s.replies.total,delete s.replies,this.arcgisHubDiscussionsPostEdit.emit(s)}}handleAnimationEnd(e){e.animationName==="out-left"?(this.editing=!0,this.editorClass=S.IN,this.articleClass=S.HIDDEN):e.animationName==="out-right"?(this.editing=!1,this.editorClass=S.HIDDEN,this.articleClass=S.IN):(this.editorClass=null,this.articleClass=null,this.minHeight=null)}async handlePostEditedBody(e){var t;if(((t=this.post)===null||t===void 0?void 0:t.id)===e.detail.id){this.post=e.detail;let{postMentionedUsers:s}=await it({postMentionedUsers:this.postMentionedUsers,post:this.post},this._context.hubRequestOptions);this.postMentionedUsers=s}}handlePostEdited(e){e.target.nodeName.toLowerCase()==="arcgis-hub-discussions-post-editor"&&this.transitionEditorView(!1)}handlePopoverOpen(){this.popoverIsOpen=!0}handlePopoverClose(){this.popoverIsOpen=!1}transitionEditorView(e){var t,s;this.minHeight=(s=(t=this.renderedEl)===null||t===void 0?void 0:t.offsetHeight)!==null&&s!==void 0?s:null,this.editorClass=e?S.HIDDEN:S.OUT,this.articleClass=e?S.OUT:S.HIDDEN}get isLoading(){return!this._context||this._loading||!this.intl||this.loading}get locationListIsDisabled(){let e=!1;return this.locationDescriptionText&&!this.isMobile||this.showLocations?e=!1:(!this.hasMap||this.isMobile)&&(e=!0),e}get views(){let{renderEditor:e,renderDeleted:t,renderHidden:s,renderPost:i,renderReply:o,renderSkeleton:n,renderReplyOutOfContext:a}=this;return{[I.Skeleton]:{render:n},[I.Post]:{render:i},[I.Reply]:{render:o},[I.OutOfContext]:{render:a},[I.Editor]:{render:e},[I.Deleted]:{render:t},[I.Hidden]:{render:s}}}get view(){let{views:e,post:t,postError:s,editing:i,isLoading:o,outOfContext:n,isReply:a}=this,c=s?.status,l;return o?l=I.Skeleton:c===404?l=I.Deleted:c===422?l=I.Hidden:t?i?l=I.Editor:n?l=I.OutOfContext:a?l=I.Reply:l=I.Post:l=I.Deleted,e[l]}get actionMenuActions(){let{isReply:e,post:t,channel:s,_context:i,intl:o,isHub:n}=this,a=[];return!e&&n&&a.push({icon:"link",text:o.t("link"),fn:this.handleCopyLink,ref:c=>{this.copyActionRef=c}}),i.currentUser&&(ze(s,i.currentUser)&&a.push(t.status===A.HIDDEN||t.status===A.BLOCKED?{icon:"view-visible",text:o.t("show"),fn:this.handleToggleVisibility}:{icon:"view-hide",text:o.t("hide"),fn:this.handleToggleVisibility}),e||((t.creator===i.currentUser.username||_e(t,i.currentUser,s))&&a.push({icon:"pencil",text:o.t("edit"),fn:this.handleEdit}),Ce(t,s,i.currentUser)&&a.push({icon:"trash",text:o.t("delete"),fn:this.handleDelete}))),a}get creatorFullName(){let{intl:e,post:t,postCreator:s}=this,i=e.t("anonymous");return(s||t?.creator)&&(i=s?.fullName||e.t("privateUser")),i}get outOfContext(){let{index:e,lead:t,isReply:s}=this;return s&&!t&&e!==void 0}get styles(){let{minHeight:e}=this,t={};return e&&(t.minHeight=`${e}px`),t}get isReply(){var e;return!!(this.parent||this.parentId||!((e=this.post)===null||e===void 0)&&e.parentId)}renderEditor(){let{hasMap:e,index:t,isHub:s,unsavedFeatures:i,unsavedRelatedFeatures:o,unsavedExistingFeatures:n,post:a,postCreator:c,postCreatorOrg:l,displayFieldKey:d,displayFieldValue:u,displayFieldValid:h,entity:p,discussionSettings:y,discussion:m,entityId:f,entityType:_,isMobile:w,channelId:T,channel:E,channelGroups:k,locationId:O,postId:P,isReply:L,lead:N,lastIndex:R,editorClass:U,parent:pe,parentId:ge,parentCreator:be,showLocations:ht,disableSelectExistingLocation:pt}=this;return r("div",{class:{"arcgis-hub-discussions-post-lead":L&&N,"arcgis-hub-discussions-post-last":L&&t===R,[U]:!!U,"arcgis-hub-discussions-post-editor-container":!0},ref:this.handleSetComponentRef},r("slot",{name:"editor"},r("arcgis-hub-discussions-post-editor",{channel:E,channelGroups:k,channelId:T,disableSelectExistingLocation:pt,discussion:m,discussionSettings:y,displayFieldKey:d,displayFieldValid:h,displayFieldValue:u,entity:p,entityId:f,entityType:_,hasMap:e,index:t,isHub:s,isMobile:w,locationId:O,parent:pe,parentCreator:be,parentId:ge,post:a,postCreator:c,postCreatorOrg:l,postId:P,showLocations:ht,unsavedExistingFeatures:n,unsavedFeatures:i,unsavedRelatedFeatures:o})))}renderReactions(){let{post:e,channel:t}=this;if(t.allowReaction)return r("arcgis-hub-discussions-post-reactions",{channel:t,post:e})}renderMetadata(e,t,s,i,o,n,a,c,l){let{isHub:d,post:u,postCreator:h,postCreatorOrg:p,parentCreator:y,channel:m,index:f,parent:_,handleViewPost:w}=this;return r("slot",{name:"metadata"},r("arcgis-hub-discussions-post-header",{channel:m,iconScale:"l",index:f,isHub:d,metadataOrientation:e,onArcgisHubDiscussionsPostSelect:w,parent:_,parentCreator:y,post:u,postCreator:h,postCreatorOrg:p,showChannelAccessIcon:t,showChannelAvatar:s,showChannelName:i,showCreatorAvatar:o,showPopover:n,showReplyingTo:a,showTimestamp:l,showViewPostAction:c}))}renderPost(){let{intl:e,errorMessage:t,preview:s,post:i,channel:o,index:n,articleClass:a,showChannelAvatar:c,showChannelName:l}=this;return n===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:{[a]:!!a},ref:this.handleSetComponentRef},r("arcgis-hub-discussions-post-chips",{channel:o,index:n,post:i}),this.renderMetadata("block",!0,c,l,!0,!0,!1,!1,!0),r("header",{innerHTML:this.postTitle}),r("arcgis-multiline-ellipsis",{"expand-enabled":s,"expand-icon":this.isRtl?"arrow-left":"arrow-right",innerHTML:this.postBody,lines:s?4:0,onClick:this.handleLinkClicked}),this.renderGeography(!1,!0),r("footer",null,this.renderReactions(),r("div",{class:"actions"},this.renderTextActions(),this.renderActionMenu())),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t))))}renderTextActions(){let{intl:e,post:t,preview:s,channel:i,_context:o}=this,n;return s?n=t.replyCount>1?"actions.viewMany":"actions.viewOne":n=t.replyCount>1?"actions.replies":"actions.oneReply",r("calcite-action-group",{layout:"horizontal"},s&&Ke(i,o.currentUser)&&ye(this.entity)&&r("calcite-action",{class:"text-action-reply",onClick:this.handleReply,scale:"s",text:e.t("actions.reply"),textEnabled:!0}),t.replyCount!==0&&r("calcite-action",{class:"text-action-view-reply",disabled:!s,onClick:this.handleViewReplies,scale:"s",text:e.t(n,{count:t.replyCount}),textEnabled:!0}))}renderActionMenu(){let{intl:e,isReply:t,actionMenuActions:s}=this;if(s.length)return r(D,null,r("calcite-action",{alignment:"center",class:"discussions-post-action-menu",ref:i=>{this.menuActionElement=i},scale:"s",text:e.t("options")},r("calcite-icon",{class:"discussions-post-action-menu-icon",icon:"ellipsis",scale:"s"})),r("calcite-popover",{autoClose:!0,flipPlacements:t?["top","bottom"]:["top-end","bottom-end"],label:e.t("options"),offsetDistance:0,onCalcitePopoverBeforeClose:this.handleActionsPopoverBeforeOpenClose,onCalcitePopoverBeforeOpen:this.handleActionsPopoverBeforeOpenClose,overlayPositioning:"absolute",placement:"bottom-end",pointerDisabled:!0,ref:i=>{this.menuPopoverElement=i},referenceElement:this.menuActionElement},r("calcite-action-group",{layout:"vertical"},s.map(({text:i,fn:o,icon:n,ref:a})=>r("calcite-action",{class:"discussions-post-action-menu-options","data-action":i.toLowerCase(),id:"discussions-post-action-menu-option-"+n,key:n,onClick:o,ref:a,scale:"m",text:i,"text-enabled":"true"},r("calcite-icon",{class:"discussions-post-action-menu-options-icon",flipRtl:this.isRtl,icon:n,scale:"s"}))))),s.some(({icon:i})=>i==="link")&&r("calcite-tooltip",{onCalciteTooltipBeforeOpen:this.handleCopyTooltipBeforeOpen,onCalciteTooltipClose:this.handleCopyTooltipClose,open:!1,placement:"top",ref:i=>{this.copyTooltipRef=i},referenceElement:this.copyActionRef},r("span",null,e.t("copied"))))}renderDeleted(){let{intl:e,deletedDuringSession:t,isReply:s,handleViewAllReplies:i}=this;return t||this.capturePostDeletedImpression(),r("calcite-notice",{kind:"danger",open:!0,scale:"m"},r("div",{slot:"title"},e.t(s?"deleted.title.reply":"deleted.title")),r("div",{slot:"message"},e.t(s?"deleted.message.reply":"deleted.message")),s&&r("calcite-link",{onClick:i,slot:"link"},e.t("delete.action")))}renderHidden(){let{intl:e,isReply:t}=this;return this.capturePostHiddenImpression(),r("calcite-notice",{kind:"warning",open:!0,scale:"m"},r("div",{slot:"title"},e.t(t?"hidden.title.reply":"hidden.title")),r("div",{slot:"message"},e.t("hidden.message")))}renderSkeleton(){return r("arcgis-hub-discussions-post-skeleton",null)}render(){return r(G,{key:"daada33da6c284aab5db9cdb6ba55dc87efb5cee",class:{loading:this._loading},"data-element":"discussions-post","data-view":this.view.render.name,style:this.styles},this.view.render())}renderAvatars(){var e;let{_context:t,isHub:s,parent:i,parentCreator:o,post:n,postCreator:a,postCreatorOrg:c,channel:l,intl:d,index:u,outOfContext:h}=this,p=!a&&n?{username:n.creator}:a,y=h?"l":"m",m=[r("calcite-avatar",{"full-name":p?.fullName,key:"creator",scale:y,thumbnail:p?.thumbnail&&me(t.hubRequestOptions.portal,p,(e=t.hubRequestOptions.authentication)===null||e===void 0?void 0:e.token),"user-id":p?.id,username:p?.username})];return h&&m.push(r("calcite-avatar",{"full-name":Qe(l,d.t("unnamedChannel")),scale:"m"})),o&&(m=r("arcgis-hub-discussions-popover",{channel:l,index:u,isHub:s,parent:i,parentCreator:o,post:n,postCreator:a,postCreatorOrg:c},m)),m}renderActions(){let{intl:e,_context:t,channel:s,post:i,isHub:o}=this,n=[];if(o&&n.push({text:e.t("link"),onClick:this.handleCopyLink,ref:a=>{this.copyActionRef=a}}),t.currentUser&&((i.creator===t.currentUser.username||_e(i,t.currentUser,s))&&n.push({text:e.t("edit"),onClick:this.handleEdit}),Ce(i,s,t.currentUser)&&n.push({text:e.t("delete"),onClick:this.handleDelete})),n.length)return r("calcite-action-group",{layout:"horizontal"},n.map(a=>r("calcite-action",{appearance:a.appearance,"data-action":a.text.toLowerCase(),icon:a.icon,key:a.text||a.pin,onClick:a.onClick,onMouseOver:a.onMouseOver,ref:a.ref,scale:"s",text:a.text,"text-enabled":!!a.text})),o&&r("calcite-tooltip",{onCalciteTooltipBeforeOpen:this.handleCopyTooltipBeforeOpen,onCalciteTooltipClose:this.handleCopyTooltipClose,open:!1,placement:"top",ref:a=>{this.copyTooltipRef=a},referenceElement:this.copyActionRef},r("span",null,e.t("copied"))))}renderReplyOutOfContext(){let{intl:e,errorMessage:t,index:s,lead:i,lastIndex:o,articleClass:n,handleReplyOutOfContextReadMore:a}=this;return s===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:{"out-of-context":!0,"arcgis-hub-discussions-post-last":i&&s===o,[n]:!!n},ref:this.handleSetComponentRef},this.renderMetadata("block",!1,!0,!1,!0,!0,!0,!0,!1),r("div",{class:"reply-body"},r("arcgis-multiline-ellipsis",{"collapse-enabled":!0,"expand-enabled":!0,"expand-icon":this.isRtl?"arrow-left":"arrow-right",innerHTML:this.postBody,lines:4,onClick:a}),this.renderGeography(!0,!1),this.renderReactions(),r("footer",null,this.renderActions()),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t)))))}renderGeography(e,t){let{hasMap:s,channel:i,channelId:o,parentId:n,displayFieldKey:a,displayFieldValid:c,entity:l,isMobile:d,locationDescriptionText:u,locationListIsDisabled:h,post:p,postId:y,showLocations:m}=this;if(m)return r("arcgis-hub-discussions-post-geography",{channel:i,channelId:o,disabled:h,displayFieldKey:a,displayFieldValid:c,expandable:t,hasMap:s,isMobile:d,locationDescriptionText:u,parentId:n,post:p,postId:y,showLocationDescriptionText:!d,toggleable:e,url:l?.url})}renderReply(){let{intl:e,errorMessage:t,channel:s,post:i,articleClass:o,lead:n,index:a,lastIndex:c}=this,l={"arcgis-hub-discussions-post-lead":n,"arcgis-hub-discussions-post-last":n&&a===c};return o&&(l[o]=!0),a===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:l,ref:this.handleSetComponentRef},r("arcgis-hub-discussions-post-chips",{channel:s,index:a,post:i}),this.renderAvatars(),r("div",null,this.renderMetadata("inline",!1,!1,!1,!1,!1,!1,!1,!0),r("arcgis-multiline-ellipsis",{"collapse-enabled":!0,"expand-enabled":!0,innerHTML:this.postBody,lines:4}),this.renderGeography(!0,!1),r("footer",null,this.renderReactions(),this.renderActions(),this.renderActionMenu()),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t)))))}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{renderedEl:["handleRenderedElChange"],_context:["handleContextChanged"]}}};Q([le({delay:300})],q.prototype,"fetchDependencies",null);Q([B("post.body","post.status"),gt({ignoreTags:["calcite-link"],replaceExisting:!0,tagName:"calcite-link"}),vt(),rt("postBody","sc-arcgis-hub-discussions-post blocked"),Ie({filterOptions:{whiteList:{"calcite-link":["href","data-mention"]}},extendDefaults:!0})],q.prototype,"postBody",null);Q([B("post.title","post.status"),rt("postTitle","sc-arcgis-hub-discussions-post blocked"),Ie()],q.prototype,"postTitle",null);Q([ie()],q.prototype,"capturePostDeepLinkImpression",null);Q([ie()],q.prototype,"capturePostListImpression",null);Q([ie()],q.prototype,"capturePostDeletedImpression",null);Q([ie()],q.prototype,"capturePostHiddenImpression",null);q.style=xt;var wt=':host{display:block}calcite-chip-group{display:flex;flex-direction:row;justify-content:flex-start;gap:0.25rem}:host([data-count="0"]){display:none}.end{margin-left:auto}',Ot=wt,Rt=class{constructor(e){K(this,e),this.hubTelemetry=C(this,"hubTelemetry",7),this.post=void 0,this.index=void 0,this.channel=void 0,this.activeTooltip=null,W(this,"handleTooltipOpen","renderChip","handleChipMouseEnter","handleChipMouseOut")}async componentWillLoad(){this.intl=await V.loadIntlForComponent(this.element)}handleTooltipOpen(e){let{post:t,channel:s,chipsToRender:i,index:o}=this,{tooltip:{telemetry:n}}=i.find(a=>a.type===e.target.dataset.type);this.hubTelemetry.emit(Object.assign(Object.assign({},n),{postId:t.id,parentId:t.parentId,channelId:s.id,channelAccess:x(s),position:o}))}handleChipMouseEnter(e){this.activeTooltip=e.target.dataset.type}handleChipMouseOut(){this.activeTooltip=null}get chipsToRender(){let{post:e,intl:t}=this,s=[];return(e.status===A.HIDDEN||e.status===A.BLOCKED)&&s.push({appearance:"outline",icon:"view-hide",kind:"neutral",tooltip:{telemetry:g.dictionary.category.interaction.action.open.label.tooltip.details.chipComponentWithStringHidden,text:e.status===A.BLOCKED?t.t("chip.hidden.label.blocked"):t.t("chip.hidden.label.moderator")},type:"hidden",value:t.t("chip.hidden.text")}),s}renderChip(e){let{activeTooltip:t,handleTooltipOpen:s}=this;return r(D,null,r("calcite-chip",{appearance:e.appearance,class:e.type==="hidden"&&"end","data-type":e.type,icon:e.icon,id:e.type,key:e.type,kind:e.kind,label:e.value,onMouseEnter:this.handleChipMouseEnter,onMouseOut:this.handleChipMouseOut,scale:"s",value:e.value},e.value),e.tooltip&&r("calcite-tooltip",{"data-type":e.type,label:e.tooltip.text,onCalciteTooltipOpen:s,open:t===e.type,overlayPositioning:"fixed",placement:"bottom",referenceElement:e.type},r("div",{class:"tooltip-body"},e.tooltip.text)))}render(){let{chipsToRender:e,index:t,intl:s}=this;return r(G,{key:"9b140dffc7513db36148c38f6443f5fb5d53fe45","data-count":e.length,"data-element":"post-chips","data-index":t},r("calcite-chip-group",{key:"b1507cf25dd2dae0ba53b9386b93b7aa92a26f94",label:s.t("label"),scale:"s"},e.map(this.renderChip)))}static get assetsDirs(){return["locales"]}get element(){return z(this)}};Rt.style=Ot;var F;(function(e){e.AUDIENCE="audience",e.CONTENT="content"})(F||(F={}));var It="arcgis-hub-discussions-post-editor:not([parent-id]){display:block;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-post-editor-header{margin-bottom:1.5rem;display:grid;grid-template-rows:repeat(1, minmax(0, 1fr));align-items:center;column-gap:0.75rem;grid-template-columns:44px auto 44px}.hub-discussions-post-editor-header__title{margin:0px;text-align:center;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.hub-discussions-post-editor-header__popover{padding:1rem;margin-top:revert;margin-bottom:revert}.hub-discussions-post-editor-audience__description{font-size:var(--calcite-font-size-0);line-height:1.25rem}.hub-discussions-post-editor-audience__header{margin-top:1.5rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.hub-discussions-post-editor-audience__gallery{--calcite-color-border-3:transparent}.hub-discussions-post-editor-audience__button{margin-top:1rem;margin-bottom:0.5rem}.hub-discussions-post-editor-groups__action{margin-top:0.75rem}.hub-discussions-post-editor-recent__list{margin-top:0px;margin-bottom:0px;list-style-type:none;padding:0px}.hub-discussions-post-editor-recent__item{margin-bottom:0.75rem;margin-top:0px;display:grid;grid-auto-flow:column;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;grid-template-columns:44px auto 44px}.hub-discussions-post-editor-recent__item:last-child{margin-bottom:0px}.hub-discussions-post-editor-recent__avatar{grid-row:span 2 / span 2}.hub-discussions-post-editor-recent__title{font-weight:var(--calcite-font-weight-bold);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hub-discussions-post-editor-recent__last-activity{font-size:var(--calcite-font-size--1);line-height:1rem;font-style:normal;color:var(--calcite-color-text-2)}.hub-discussions-post-editor-recent__action{grid-row:span 2 / span 2}.hub-discussions-post-editor-post-actions,.hub-discussions-post-editor-geometry-actions{margin-top:1rem;display:flex;justify-content:flex-end}.hub-discussions-post-editor-post-actions>calcite-action{margin-right:auto}.hub-discussions-post-editor-geometry-actions__feature,.hub-discussions-post-editor-geometry-actions__related,.hub-discussions-post-editor-post-actions__primary,.hub-discussions-post-editor-post-actions__secondary{margin-left:0.75rem}arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-geometry-actions__feature,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-geometry-actions__related,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-post-actions__primary,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-post-actions__secondary{margin-left:0px;margin-right:0.75rem}.hub-discussions-post-editor__title{margin:0px;margin-top:1rem;height:auto;width:100%;resize:none;border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-post-editor__title:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.hub-discussions-post-editor__title::placeholder{color:var(--calcite-color-text-3);opacity:1}.hub-discussions-post-editor__body{margin-top:0.5rem;white-space:pre-wrap}.hub-discussions-post-editor__body[scale=m] .ck.ck-editor__editable{border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1);outline:2px solid transparent;outline-offset:2px;min-height:6rem}.hub-discussions-post-editor__body .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border-style:none;outline:2px solid transparent;outline-offset:2px}.hub-discussions-post-editor__body[scale=m] .ck.ck-editor__editable .ck-placeholder:before{color:var(--calcite-color-text-3)}.hub-discussions-post-editor__body .ck.ck-editor__editable_inline>:first-child{margin-top:0px}.hub-discussions-post-editor__body .ck.ck-editor__editable_inline>:last-child{margin-bottom:0px}.hub-discussions-post-editor__message{margin-top:0.5rem}.hub-discussions-post-editor__empty,.hub-discussions-post-editor__load-error{margin-top:1rem}.hub-discussions-post-editor__crud-error,.hub-discussions-post-editor__not-discussable-notice{margin-top:1rem}.hub-discussions-post-editor-cancel-confirm__header{margin-left:0px;margin-right:0px;margin-top:0.5rem;margin-bottom:0px;display:block;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}.hub-discussions-post-editor-cancel-confirm__message{margin-top:0.5rem;margin-bottom:0px}.hub-discussions-post-editor-cancel-confirm__footer{margin-top:1.5rem;display:flex;justify-content:flex-end;column-gap:0.75rem}.hub-discussions-post-editor-recent__skeleton{margin-bottom:0.75rem;margin-top:0px}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader{display:flex}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(1),.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div{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)}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(1){height:2.75rem;width:2.75rem;border-radius:50%}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2){margin-left:1rem;display:flex;flex-grow:1;flex-direction:column;justify-content:center}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div:nth-of-type(1){margin-bottom:0.5rem;height:0.75rem;border-radius:0.375rem}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div:nth-of-type(2){height:0.5rem;border-radius:0.25rem}.location-popover>div.popover,.popover{max-width:20rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1.25rem;padding-right:1.25rem}.add-location-post:active .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.add-location-post[active] .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor[parent-id]{display:block}.hub-discussions-reply-editor__form{border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-reply-editor-user-details{margin:0px;display:grid;align-items:center;column-gap:0.75rem;grid-template-columns:32px auto}.hub-discussions-reply-editor-user-details__name{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);font-style:normal}.hub-discussions-reply-editor__notice,.hub-discussions-reply-editor__not-discussable-notice{margin-left:0px;margin-right:0px;margin-top:1rem}.hub-discussions-post-editor-cancel-confirm{display:block}.hub-discussions-post-editor-cancel-confirm__button{margin:0px}.hub-discussions-reply-editor__body{margin-top:0.75rem;white-space:pre-wrap}.hub-discussions-reply-editor__body[scale=m] .ck.ck-editor__editable{border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1);outline:2px solid transparent;outline-offset:2px;min-height:6rem}.hub-discussions-reply-editor__body .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border-style:none;outline:2px solid transparent;outline-offset:2px}.hub-discussions-reply-editor__body[scale=m] .ck.ck-editor__editable .ck-placeholder:before{color:var(--calcite-color-text-3)}.hub-discussions-reply-editor__body .ck.ck-editor__editable_inline>:first-child{margin-top:0px}.hub-discussions-reply-editor__body .ck.ck-editor__editable_inline>:last-child{margin-bottom:0px}.hub-discussions-reply-editor__message{margin-top:0.5rem}.hub-discussions-reply-editor__location-popover>div.hub-discussions-reply-editor__location-popover__content,.hub-discussions-reply-editor__location-popover__content{max-width:20rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1.25rem;padding-right:1.25rem}.add-location-post:active .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.add-location-post[active] .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor>form>header{padding-top:0.25rem;padding-bottom:1rem;text-align:center;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);text-transform:capitalize;color:var(--calcite-color-text-1)}.anon-toggle{margin-bottom:0.75rem;display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;border-radius:0.75rem;background-color:var(--calcite-color-background);padding:1rem}.anon-toggle p:first-of-type{margin:0px;color:var(--calcite-color-text-1)}.anon-toggle p:nth-of-type(2){margin:0px;flex-basis:100%;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-2)}arcgis-hub-entity-editor{--calcite-dialog-size-y:95%}",Pt=It,oe=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},te=class{constructor(e){K(this,e),this.arcgisHubDiscussionsPostEditorReady=C(this,"arcgisHubDiscussionsPostEditorReady",7),this.arcgisHubDiscussionsPostCancel=C(this,"arcgisHubDiscussionsPostCancel",7),this.arcgisHubDiscussionsPostCreate=C(this,"arcgisHubDiscussionsPostCreate",7),this.arcgisHubDiscussionsPostEdit=C(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsGeometryDrawCreate=C(this,"arcgisHubDiscussionsGeometryDrawCreate",7),this.arcgisHubDiscussionsGeometryDrawTypeSelect=C(this,"arcgisHubDiscussionsGeometryDrawTypeSelect",7),this.arcgisHubDiscussionsGeometryDrawEdit=C(this,"arcgisHubDiscussionsGeometryDrawEdit",7),this.arcgisHubDiscussionsGeometryDrawReset=C(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometrySelect=C(this,"arcgisHubDiscussionsGeometrySelect",7),this.arcgisHubDiscussionsGeometryDeselect=C(this,"arcgisHubDiscussionsGeometryDeselect",7),this.arcgisHubDiscussionsGeometryClearAll=C(this,"arcgisHubDiscussionsGeometryClearAll",7),this.arcgisHubDiscussionsPostClose=C(this,"arcgisHubDiscussionsPostClose",7),this.hubTelemetry=C(this,"hubTelemetry",7),this.handleSubmit=t=>{t.preventDefault();let s=this.postId?this.handleEdit():this.handleCreate();return this.pending=!0,s.finally(()=>{this.pending=!1,this.arcgisHubDiscussionsGeometryClearAll.emit(),this.addLocationsActiveGeometryType=null})},this.handleCancel=t=>{var s,i,o,n,a,c,l,d;let{channel:u,post:h,parent:p}=this;t.preventDefault(),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.close.label.editor),{parentId:(s=p?.id)!==null&&s!==void 0?s:null,postId:(i=h?.id)!==null&&i!==void 0?i:null,channelId:(o=u?.id)!==null&&o!==void 0?o:null,channelAccess:u?x(u):null})),this.arcgisHubDiscussionsPostCancel.emit(),this.collapse(),this.confirmAction=null;let y=Y(h?.geometry);this.geometryValue=Object.keys(y||{}).length?y:null,this.titleValue=(n=h?.title)!==null&&n!==void 0?n:"",this.bodyValue=(a=h?.body)!==null&&a!==void 0?a:"",this._unsavedExistingFeatures=(c=this.unsavedExistingFeatures)!==null&&c!==void 0?c:[],this._unsavedFeatures=(l=this.unsavedFeatures)!==null&&l!==void 0?l:[],this._unsavedRelatedFeatures=(d=this.unsavedRelatedFeatures)!==null&&d!==void 0?d:[],this.arcgisHubDiscussionsGeometryClearAll.emit()},this.handleCancelOrConfirm=t=>{this.hasChanges?this.confirmAction=this.handleCancel:this.handleCancel(t)},this.handleConfirmBackButtonClicked=()=>{this.confirmAction=null},this.handleBackOrConfirm=()=>{this.hasChanges?this.confirmAction=this.handleBack:this.handleBack()},this.handleBack=()=>{var t,s,i,o,n,a,c,l;let d=Y((t=this.post)===null||t===void 0?void 0:t.geometry);this.geometryValue=Object.keys(d||{}).length?d:null,this._unsavedExistingFeatures=(s=this.unsavedExistingFeatures)!==null&&s!==void 0?s:[],this._unsavedFeatures=(i=this.unsavedFeatures)!==null&&i!==void 0?i:[],this._unsavedRelatedFeatures=(o=this.unsavedRelatedFeatures)!==null&&o!==void 0?o:[],this.channelId=null,this.channelGroups=null,this.channel=null,this._mentionQuery=null,this.confirmAction=null,this.titleValue=(a=(n=this.post)===null||n===void 0?void 0:n.title)!==null&&a!==void 0?a:"",this.bodyValue=(l=(c=this.post)===null||c===void 0?void 0:c.body)!==null&&l!==void 0?l:"",this.step=F.AUDIENCE,this.arcgisHubDiscussionsGeometryClearAll.emit()},this.handleHelpPopoverOpen=()=>{this.hubTelemetry.emit(g.dictionary.category.interaction.action.open.label.popover.details.help)},this.handleHelpPopoverClose=()=>{this.hubTelemetry.emit(g.dictionary.category.interaction.action.close.label.popover.details.help)},this.handleLocationPopoverOpen=()=>{this.addLocationsPopoverOpen=!0},this.handleLocationPopoverClose=()=>{this.addLocationsPopoverOpen=!1},this.updateTitleValue=t=>{this.titleValue=t.target.value},this.setActiveGeometryDrawType=t=>{let{target:s}=t,i=s.dataset.type;this.addLocationsActiveGeometryType=i,this.locationPopoverRef.open=!1,this.enableAddLocation()},this.channelCardCallback=t=>Object.assign(Object.assign({},t),{actionLinks:[{action:"channelSelect",ariaLabel:"aria label",label:"label",buttonStyle:"outline",buttonKind:"brand",icon:this.isRtl?"chevron-left":"chevron-right"}]}),this.toggleChannelPickerOpen=()=>{this.galleryPickerOpen=!this.galleryPickerOpen},this.handleChannelPickerSelectionUpdate=async t=>{await this.loadChannelDetails({channelId:t.detail.channel[0]})},this.getMentionQuery=t=>{let s=Y(this._mentionQuery),i=o=>{var n,a;return!!(!((n=o.predicates[0])===null||n===void 0)&&n.username&&(!((a=o.predicates[1])===null||a===void 0)&&a.fullname))};return s.filters=t?s.filters.map(o=>i(o)?Object.assign(Object.assign({},o),{predicates:[{username:t},{fullname:t}]}):o):s.filters.filter(o=>!i(o)),s},this.handleAnonToggle=t=>{let s=t.target;this.asAnonymous=s.checked},this.handleEntityEditorClosed=()=>{this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.close.label.modal.details.viewChannel),{channelId:this.channelEntityToView.id,channelAccess:this.channelEntityToView.access})),this.channelEntityToView=null},this.handleChannelGalleryAction=async t=>{t.detail.action==="channelSelect"&&(await this.loadChannelDetails({channelId:t.detail.model.id}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.select.label.channel.details.recents),{channelId:this.channel.id,channelAccess:x(this.channel)})))},this.handleChannelGalleryError=()=>{this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.recents),{response:g.constants.response.FAILURE}))},this.handleChannelGalleryResultsChange=t=>{this.hubTelemetry.emit(t.detail.length?Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.recents),{response:g.constants.response.SUCCESS}):g.dictionary.category.interaction.action.viewed.label.empty)},this.focusInput=()=>{setTimeout(()=>{let{titleRef:t,bodyRef:s,isReply:i}=this;i?s&&s.setFocus():t&&t.focus()},500)},this.handleReplySubmit=t=>(t.preventDefault(),this.pending=!0,(this.postId?this.handleEditReply():this.handleCreateReply()).catch(i=>(J.error("Could not create reply:",i.message),null)).finally(async()=>{this.pending=!1,this.arcgisHubDiscussionsGeometryClearAll.emit(),this.addLocationsActiveGeometryType=null,this.focusInput()})),this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.postId=void 0,this.parent=void 0,this.parentCreator=void 0,this.parentId=void 0,this.channel=void 0,this.channelGroups=void 0,this.channelId=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.discussion=void 0,this.displayFieldKey=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.locationId=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=[],this.unsavedRelatedFeatures=[],this.unsavedExistingFeatures=[],this.index=void 0,this.isMobile=void 0,this.createParentSaveButtonText=void 0,this.createParentBodyPlaceholderText=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.showHeader=void 0,this.collapsible=void 0,this.collapsed=void 0,this.helpButtonRef=void 0,this._context=Z(),this._unsavedFeatures=[],this._unsavedRelatedFeatures=[],this._unsavedExistingFeatures=[],this.pending=!1,this.loading=void 0,this.titleValue="",this.bodyValue="",this.discussionValue="",this.geometryValue=void 0,this.geometryValueHasChanges=void 0,this.locationActionElement=void 0,this.step=null,this.errorMessage=null,this.confirmAction=null,this.addLocationsActiveGeometryType=void 0,this.addLocationsPopoverOpen=void 0,this.asAnonymous=!1,this.galleryPickerOpen=!1,this.numPostableChannels=null,this.channelEntityToView=null}async componentWillLoad(){await Promise.all([this.loadIntl(),this.initialize(this._context)])}async loadIntl(){this.intl=await V.loadIntlForComponent(this.element)}connectedCallback(){ne(this)}disconnectedCallback(){this.disconnectContext()}get isRtl(){return this.intl.direction==="rtl"}get hasChanges(){let{titleValue:e,bodyValue:t,post:s,isReply:i}=this,o;return s?o=i?t!==s.body:t!==s.body||e!==s.title:o=i?t.length>0:e.length>0||t.length>0,o}get postWithLocationEdits(){let{post:e,geometryValue:t,discussionValue:s}=this,i;return e&&(i=Y(e),i.geometry=t,s!==e.discussion&&(i.discussion=s)),i}get hasMentionedUsers(){return!!re(this.bodyValue).length}async fetchDependencies(){let[e,t]=await Promise.all([Pe({postId:this.postId,post:this.post},this._context.hubRequestOptions),de({isHub:this.isHub},this._context.hubRequestOptions)]),[s,i]=await Promise.all([ke(Object.assign({postCreator:this.postCreator,postCreatorOrg:this.postCreatorOrg},e),this._context.hubRequestOptions),De(Object.assign({parentId:this.parentId,parent:this.parent},e),this._context.hubRequestOptions)]),[o,n,a]=await Promise.all([ue(Object.assign(Object.assign({discussion:this.discussion,entityId:this.entityId,entityType:this.entityType,entity:this.entity,discussionSettings:this.discussionSettings,displayFieldKey:this.displayFieldKey,displayFieldValid:this.displayFieldValid,displayFieldValue:this.displayFieldValue,locationId:this.locationId},e),i),this._context.hubRequestOptions,!0),he(Object.assign(Object.assign({channelId:this.channelId,channel:this.channel,channelGroups:this.channelGroups},e),i),this._context.hubRequestOptions),Ee(Object.assign({parentCreator:this.parentCreator},i),this._context.hubRequestOptions)]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),s),i),a),n),o),t);Object.assign(this,c)}async initialize(e,t){var s,i,o;if(((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username)){this.loading=!0,await this.fetchDependencies();let{post:n,channel:a}=this;if(n){let{title:c,body:l,discussion:d,geometry:u}=n;this.bodyValue=l,n.title&&(this.titleValue=c),this.discussionValue=d;let h=Y(u);this.geometryValue=Object.keys(h||{}).length?h:null}if(a)this.step=F.CONTENT;else{let{total:c,results:l}=await Xe({allowedChannelIds:(o=this.discussionSettings)===null||o===void 0?void 0:o.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1});this.numPostableChannels=c,c===1?(await this.loadChannelDetails({channel:l[0].rawResult}),this.step=F.CONTENT):this.step=F.AUDIENCE}this.arcgisHubDiscussionsPostEditorReady.emit(n),this.loading=!1}}emitHubTelemetry(e){let{channel:t,channelGroups:s}=this,{groupAccesses:i,groupOrgIds:o,groupIds:n}=(s??[]).reduce((c,l)=>l?{groupAccesses:[...c.groupAccesses,l.access],groupOrgIds:[...c.groupOrgIds,l.orgId],groupIds:[...c.groupIds,l.id]}:c,{groupAccesses:[],groupOrgIds:[],groupIds:[]}),a=Object.assign(Object.assign({},e),{channelAccess:x(t),channelId:t.id,groupAccess:i.filter(Boolean).join(", "),groupId:n.filter(Boolean).join(", "),groupOrgId:o.filter(Boolean).join(", "),orgId:Se(t).join(", ")});this.hubTelemetry.emit(a)}handleGeometryValueUpdated(){if(this.post){let{post:{geometry:e},geometryValue:t}=this;this.geometryValueHasChanges=JSON.stringify(t)!==JSON.stringify(e)}}mapFeaturePropToState(e){var t;let{postId:s,post:i}=this;if(e.length){let o=(t=e[0].properties)===null||t===void 0?void 0:t.id;(s===o||!i&&!o)&&(this._unsavedFeatures=e.filter(({properties:a})=>!a?.pending),this.resetActiveGeometryDrawType())}else this._unsavedFeatures=[]}mapExistingFeaturePropToState(e){var t;let{postId:s}=this;if(e.length){let i=(t=e[0].properties)===null||t===void 0?void 0:t.id;s===i&&(this._unsavedExistingFeatures=e,e.forEach(n=>{let{geometry:a,properties:c}=n;a||this.removeFeature(c.index,null,!1)}),this.resetActiveGeometryDrawType())}else this._unsavedExistingFeatures=[]}mapRelatedFeaturePropToState(e){let{postId:t}=this;if(e.length){let s=e[0].postId;(t===s||!t&&!s)&&(this._unsavedRelatedFeatures=e,this.resetActiveGeometryDrawType())}else this._unsavedRelatedFeatures=[]}handleAddLocationsActiveGeometryTypeChanged(e){e&&this.arcgisHubDiscussionsGeometryDrawTypeSelect.emit(e)}async handleCreate(){var e;let{_context:t,_unsavedFeatures:s,_unsavedRelatedFeatures:i,bodyValue:o,titleValue:n,channelId:a,discussion:c,asAnonymous:l,entity:{url:d},arcgisHubDiscussionsPostCreate:u}=this,{channel:h}=this,p=c;if(i.length){let f=d.split("/").pop(),_=new Set(i.map(w=>w.objectId));p=X(p,f,Array.from(_))}let y=null;s.length&&(y=s.length>1?se(s):s[0].geometry),this.errorMessage=null;let m;try{let{id:f}=await Fe(Object.assign({data:{channelId:h.id,discussion:p,title:n.trim()||void 0,body:o.trim(),geometry:y,asAnonymous:l},mentionUrl:window.location.href},t.hubRequestOptions));return m=await M(Object.assign({postId:f,data:{relations:[v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]}},this._context.hubRequestOptions)),m.replyCount=0,this.titleValue="",this.bodyValue="",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.post),{response:g.constants.response.SUCCESS,details:(e=m.title)!==null&&e!==void 0?e:null,groupId:fe(h).join(", "),postId:m.id,channelId:h.id,channelAccess:x(h)})),u.emit(m),this.focusInput(),m}catch(f){return this.errorMessage="error.create",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.post),{response:g.constants.response.FAILURE,groupId:fe(h).join(", "),channelId:a,channelAccess:h?x(h):""})),J.error("Failed to create post:",f.message),null}}handleEdit(){let{_context:e,bodyValue:t,titleValue:s,channelId:i,channel:o,post:n,_unsavedFeatures:a,_unsavedExistingFeatures:c,_unsavedRelatedFeatures:l,arcgisHubDiscussionsPostEdit:d,entity:{url:u}}=this;this.errorMessage=null;let h=this.discussionValue;if(l.length){let f=u.split("/").pop(),_=l.map(w=>w.objectId);h=X(h,f,_)}let p=this.geometryValue&&Object.keys(this.geometryValue).length?we(Object.assign(Object.assign({},n),{geometry:this.geometryValue})):[];c.forEach(f=>{let{properties:{index:_},geometry:w}=f;w&&(p[+_].geometry=w)});let y=null,m=[...p,...a];return m.length&&(y=m.length>1?se(m):m[0].geometry.coordinates.length?m[0].geometry:null),ve(Object.assign({postId:n.id,data:{title:s.trim()||null,body:t.trim(),discussion:h,geometry:y},mentionUrl:window.location.href},e.hubRequestOptions)).then(f=>M(Object.assign({postId:f.id,data:{relations:[v.REACTIONS,v.REPLIES,v.CHANNEL,v.CHANNEL_ACL]}},this._context.hubRequestOptions))).then(f=>(this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.post),{response:g.constants.response.SUCCESS,postId:n.id,channelId:i,channelAccess:x(o)})),f.replyCount=f.replies.total,delete f.replies,d.emit(f),f)).catch(f=>(this.errorMessage="error.edit",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.post),{response:g.constants.response.FAILURE,postId:n.id,channelId:i,channelAccess:x(o)})),J.error("Failed to edit post:",f.message),null))}handleFocusin(){this.expand()}expand(){this.collapsible&&(this.collapsed=!1)}collapse(){this.collapsible&&(this.collapsed=!0)}handleFocusout(){this.collapse()}updateBodyValue(e){this.bodyValue=e.target.value}handleFeatureRemove(e){let{detail:{properties:{relatedFeatureId:t,index:s,unsaved:i}}}=e;this.removeFeature(s,t,i)}removeFeature(e,t,s){var i;if(!s)if(t){let{features:o}=We(this.discussionValue),n=this.entity.url.split("/").pop();o.splice(o.indexOf(t),1),this.discussionValue=X(this.discussionValue.split("?")[0],n,o)}else((i=this.geometryValue)===null||i===void 0?void 0:i.type)==="GeometryCollection"?(s?this.geometryValue.geometries.splice(e,1):this.geometryValue.geometries[e]=null,this.geometryValue=Object.assign({},this.geometryValue)):this.geometryValue=null}handleDrawDone(){this.arcgisHubDiscussionsGeometryDrawReset.emit(),this.addLocationsActiveGeometryType=null}handleDrawCancel(){this.addLocationsActiveGeometryType=null}resetActiveGeometryDrawType(){this.addLocationsActiveGeometryType=void 0}enableAddLocation(){let{post:e,arcgisHubDiscussionsGeometryDrawCreate:t,isReply:s}=this,i=s?"reply":"post";t.emit({post:e,postType:i})}get isTitleValid(){let{titleValue:e}=this;return e.length<=ce}get isBodyValid(){let{bodyValue:e}=this,t=e.trim();return t.length>0&&t.length<=$e}get hasLocationChanges(){if(this.post){let{post:{discussion:e},discussionValue:t}=this;return!!(this._unsavedFeatures.length+this._unsavedRelatedFeatures.length+this._unsavedExistingFeatures.length)||t!==e||this.geometryValueHasChanges}return!1}get hasAllowedChannelsList(){var e,t;return!!(!((t=(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds)===null||t===void 0)&&t.length)}get titleMessage(){let{titleValue:e,isTitleValid:t,intl:s}=this,{length:i}=e;if(i>=ce-5)return t?{status:"idle",text:s.t("post.title.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("post.title.validation.error",{characters:i-ce})}}get bodyMessage(){let{bodyValue:e,isBodyValid:t,intl:s}=this,{length:i}=e;if(i>=xe)return t?{status:"idle",text:s.t("post.body.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("post.body.validation.error")}}get isReply(){return!!(this.parent||this.parentId)}get blockedNotice(){let e,t=qe(this.channel,this._context.currentUser),s=!ye(this.entity);return t&&s?e=this.isReply?j.EditReply:j.EditPost:t?e=this.isReply?j.EditReplyGroup:j.EditPostGroup:s&&(this.entityType==="group"?e=this.isReply?j.EditReplyGroup:j.EditPostGroup:e=this.isReply?j.EditReplyItem:j.EditPostItem),e}renderPrimaryActionButton(){let{post:e,isReply:t,intl:s,titleValue:i,bodyValue:o,isBodyValid:n,isTitleValid:a,pending:c,hasLocationChanges:l,blockedNotice:d,createParentSaveButtonText:u}=this,h,p;t?(p=!n,h=s.t("createReply")):(p=!n||!a,h=u||s.t("post.create"));let y=!!d||p;return e&&(t?(h=s.t("saveReply"),y=y||o===e.body&&!l):(h=s.t("post.save"),y=y||(!i&&!e.title||i===e.title)&&o===e.body&&!l)),r("calcite-button",{appearance:"solid",class:"hub-discussions-post-editor-post-actions__primary",disabled:y||c,key:"primary",kind:"brand",label:h,loading:c,round:!0,scale:"l",type:"submit"},h)}renderSecondaryActionButton(){let e=this.intl.t("cancel");if(!this.isReply||this.isReply&&this.post)return r("calcite-button",{appearance:"transparent",class:"hub-discussions-post-editor-post-actions__secondary",kind:"neutral",label:e,onClick:this.handleCancelOrConfirm,round:!0,scale:"l",type:"reset"},e)}renderAddLocationsButton(){if(this.showLocations&&this.hasMap){let t=[...this.disableSelectExistingLocation?[]:[{type:"select",icon:"select"}],{type:"point",icon:"pin"},{type:"polyline",icon:"freehand"},{type:"polygon",icon:"freehand-area"}].map(({type:s,icon:i})=>r("calcite-action",{active:this.addLocationsActiveGeometryType===s,"data-type":s,icon:i,key:s,onClick:this.setActiveGeometryDrawType,text:this.intl.t(`location.action.${s}`),textEnabled:!0}));return r(D,null,r("calcite-action",{active:this.addLocationsPopoverOpen,appearance:"solid",class:"add-location-post",disabled:!this.hasMap||!!this.blockedNotice,ref:s=>{this.locationActionElement=s},text:this.intl.t("location.heading")},r("calcite-icon",{class:"add-location-icon",icon:"pin-plus",scale:"s"})),r("calcite-tooltip",{closeOnClick:!0,label:this.intl.t("location.tooltip"),referenceElement:this.locationActionElement},r("span",null,this.intl.t("location.tooltip"))),this.hasMap&&!this.blockedNotice&&r("calcite-popover",{autoClose:!0,label:this.intl.t("location.heading"),onCalcitePopoverClose:this.handleLocationPopoverClose,onCalcitePopoverOpen:this.handleLocationPopoverOpen,overlayPositioning:"fixed",pointerDisabled:!0,ref:s=>{this.locationPopoverRef=s},referenceElement:this.locationActionElement},t))}}renderTitleField(){let{collapsible:e,collapsed:t,intl:s,titleValue:i,updateTitleValue:o,titleMessage:n,blockedNotice:a}=this;if(!e||e&&!t)return r(D,null,r("input",{"aria-label":s.t("post.title.label"),class:"hub-discussions-post-editor__title",disabled:!!a,onInput:o,placeholder:s.t("post.title.placeholder"),ref:c=>{this.titleRef=c},type:"text",value:i}),n&&r("calcite-input-message",{class:"hub-discussions-post-editor__message",icon:n.icon,scale:"l",status:n.status},n.text))}renderBodyField(){let{createParentBodyPlaceholderText:e,intl:t,bodyValue:s,bodyMessage:i,pending:o,getMentionQuery:n,blockedNotice:a,asAnonymous:c}=this;return r(D,null,r("arcgis-hub-rich-text",{class:"hub-discussions-post-editor__body",disabled:!!a||o,getMentionQuery:n,label:t.t("post.body.label"),mention:!c,mentionCount:100,placeholder:e||t.t("post.body.placeholder"),ref:l=>{this.bodyRef=l},"text-transform":!0,toolbar:"",value:s}),i&&r("calcite-input-message",{class:"hub-discussions-post-editor__message",icon:i.icon,scale:"l",status:i.status},i.text))}renderPostHeader(e,t,s,i,o,n,a,c){let{postId:l,post:d,postCreator:u,postCreatorOrg:h,channel:p,index:y,isHub:m,asAnonymous:f}=this;return r("arcgis-hub-discussions-post-header",{channel:p,class:"hub-discussions-post-editor__header",displayAnon:f,iconScale:e,index:y,isHub:m,post:l&&p&&d,postCreator:l&&p&&u,postCreatorOrg:l&&p&&h,showChannelAccessIcon:i,showChannelAvatar:s,showChannelName:o,showCreatorAvatar:t,showCreatorUsername:a,showPopover:c,showTimestamp:n})}renderAnonToggle(){let{channel:e,postId:t,asAnonymous:s,hasMentionedUsers:i,intl:o}=this;return e.allowAsAnonymous&&!t&&r("div",{class:"anon-toggle"},r("calcite-switch",{disabled:i,label:o.t("anonymous.label"),onCalciteSwitchChange:this.handleAnonToggle,ref:n=>{this.anonToggleRef=n}}),r("p",null,o.t("anonymous.label")),s&&r("p",null,o.t("anonymous.desc")),i&&r("calcite-tooltip",{referenceElement:this.anonToggleRef},r("span",null,o.t("anonymous.tooltip"))))}renderContentStep(){return r(D,null,this.showHeader&&r("header",{class:"hub-discussions-post-editor-header"},r("span",null,this.numPostableChannels>1&&r("calcite-button",{appearance:"outline-fill",disabled:!!this.confirmAction,iconFlipRtl:"start",iconStart:"chevron-left",kind:"neutral",label:this.intl.t("header.content.back"),onClick:this.handleBackOrConfirm,round:!0,scale:"l"})),r("p",{class:"hub-discussions-post-editor-header__title"},this.intl.t("header.content.title")),r("calcite-button",{appearance:"transparent",disabled:!!this.confirmAction,"icon-start":"x",kind:"neutral",label:this.intl.t(`header.${this.step}.back`),onClick:this.handleCancelOrConfirm,round:!0,scale:"l",type:"button"})),this.confirmAction?this.renderConfirmCancel():r("form",{onSubmit:this.handleSubmit},!!(this.showHeader&&this.post)&&r("header",null,this.intl.t("editPost")),this.renderAnonToggle(),this.isCollapsed?this.renderPostHeader("m",!0):this.renderPostHeader("l",!0,!0,!0,!0,!0,!1,!0),this.renderTitleField(),this.renderBodyField(),this.renderGeographies(),r("div",{class:"hub-discussions-post-editor-post-actions"},this.renderAddLocationsButton(),!this.isCollapsed&&this.renderSecondaryActionButton(),this.renderPrimaryActionButton()),this.blockedNotice&&r("arcgis-hub-discussions-blocked-notice",{class:"hub-discussions-post-editor__not-discussable-notice",scale:"s",variant:this.blockedNotice}),this.errorMessage&&r("calcite-notice",{class:"hub-discussions-post-editor__crud-error",kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},this.intl.t("error.title")),r("div",{slot:"message"},this.errorMessage&&this.intl.t(this.errorMessage)))))}renderConfirmCancel(){return r("div",{class:"hub-discussions-post-editor-cancel-confirm"},r("header",{class:"hub-discussions-post-editor-cancel-confirm__header"},this.intl.t("confirm.header")),r("p",{class:"hub-discussions-post-editor-cancel-confirm__message"},this.intl.t(this.isReply?"confirm":"confirm.body")),r("footer",{class:"hub-discussions-post-editor-cancel-confirm__footer"},r("calcite-button",{appearance:"transparent",class:"hub-discussions-post-editor-cancel-confirm__button",kind:"neutral",onClick:this.handleConfirmBackButtonClicked,round:!0,scale:"l"},this.intl.t("confirm.back")),r("calcite-button",{class:"hub-discussions-post-editor-cancel-confirm__button",kind:"danger",onClick:this.confirmAction,round:!0,scale:"l"},this.intl.t("confirm.discard"))))}renderAudienceStep(){return r(D,null,this.showHeader&&r("header",{class:"hub-discussions-post-editor-header"},r("calcite-button",{appearance:"outline","icon-start":"lightbulb",kind:"neutral",label:this.intl.t("header.help"),ref:e=>{this.helpButtonRef=e},round:!0,scale:"l",type:"button"}),r("calcite-popover",{closable:!0,label:this.intl.t("header.help"),onCalcitePopoverClose:this.handleHelpPopoverClose,onCalcitePopoverOpen:this.handleHelpPopoverOpen,overlayPositioning:"fixed",placement:"bottom-end",referenceElement:this.helpButtonRef},r("p",{class:"hub-discussions-post-editor-header__popover"},this.intl.t(`header.${this.step}.help`))),r("p",{class:"hub-discussions-post-editor-header__title"},this.intl.t(`header.${this.step}.title`)),r("calcite-button",{appearance:"transparent","icon-start":"x",kind:"neutral",label:this.intl.t(`header.${this.step}.back`),onClick:this.handleCancel,round:!0,scale:"l",type:"button"})),r("p",{class:"hub-discussions-post-editor-audience__description"},this.intl.t("selectChannelDescription")),r("header",{class:"hub-discussions-post-editor-audience__header"},this.intl.t(this.hasAllowedChannelsList?"allowedChannels":"recentChannels")),this.channelGalleryQuery&&r("arcgis-hub-gallery",{callback:this.channelCardCallback,class:"hub-discussions-post-editor-audience__gallery",include:"groups",layout:"compact",limit:this.channelGalleryLimit,linkTarget:"event",onArcgisHubGalleryAction:this.handleChannelGalleryAction,onArcgisHubGalleryError:this.handleChannelGalleryError,onArcgisHubGalleryResultsChange:this.handleChannelGalleryResultsChange,query:this.channelGalleryQuery,showEmptyState:!0,sortField:"lastActivity",sortOrder:"desc"}),this.numPostableChannels>4&&r(D,null,r("calcite-button",{appearance:"outline",class:"hub-discussions-post-editor-audience__button",kind:"neutral",label:this.intl.t("header.audience.title"),onClick:this.toggleChannelPickerOpen,ref:e=>{this.browseChannelsButtonRef=e},round:!0,width:"full"},this.intl.t("channels.select.button")),r("arcgis-wormhole",{elAttributes:{unthemed:""}},r("arcgis-hub-gallery-picker",{catalogs:this.channelPickerCatalog,enablePrimaryButton:!0,facets:this.channelPickerFacets,gallerySelection:{channel:[]},isMobile:!1,limit:1,linkTarget:"none",modalTitle:this.intl.t("channels.select.modal.title"),onArcgisHubGalleryPickerClose:this.toggleChannelPickerOpen,onArcgisHubGalleryPickerSelectionUpdate:this.handleChannelPickerSelectionUpdate,open:this.galleryPickerOpen,primaryButtonLabel:this.intl.t("channels.select.modal.button"),selectionMode:"single",showAllCollectionFacet:!1,showSearch:!0,showThumbnail:!0,sortField:"relevance",sortOptions:["relevance","created","modified"],triggerElement:this.browseChannelsButtonRef}))),this.channelEntityToView&&r("arcgis-wormhole",{elAttributes:{unthemed:""}},r("arcgis-hub-entity-editor",{editorType:"hub:channel:edit",entity:this.channelEntityToView,isDisabled:!0,isOpen:!0,layout:"modal",modalTitle:this.intl.t("viewChannel"),onArcgisHubEntityEditorModalClosed:this.handleEntityEditorClosed,variant:Le.workspace})))}async loadChannelDetails(e){var t;let s=await he(e,this._context.hubRequestOptions),i=await je(["placeholder"],s.channel,(t=this._context.currentUser)===null||t===void 0?void 0:t.username,this._context.requestOptions);Object.assign(this,Object.assign(Object.assign({},s),{step:F.CONTENT,_mentionQuery:i}))}async handleChannelTitleClick(e){this.channelEntityToView=await Me(e.detail.model.id,this._context),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.modal.details.viewChannel),{channelId:this.channelEntityToView.id,channelAccess:this.channelEntityToView.access}))}get channelGalleryQuery(){if(this.discussionSettings!==void 0)return{targetEntity:"channel",filters:[{predicates:[this.hasAllowedChannelsList?Oe(this.discussionSettings.allowedChannelIds):Je()]}]}}get channelPickerCatalog(){return[{schemaVersion:1,title:this.intl.t("channels.catalog.title"),scopes:{channel:{targetEntity:"channel",filters:[{predicates:[]}]}},collections:[{label:this.intl.t("channels.catalog.title"),key:"channels",targetEntity:"channel",sortField:"modfied",sortDirection:"asc",scope:this.channelPickerQuery}]}]}get channelPickerFacets(){return[{label:this.intl.t("channels.facets.access.label"),key:"access",display:"multi-select",operation:"OR",options:[{label:this.intl.t("channels.facets.access.public"),key:"public",selected:!1,predicates:[{access:"public"}]},{label:this.intl.t("channels.facets.access.organization"),key:"organization",selected:!1,predicates:[{access:"org"}]},{label:this.intl.t("channels.facets.access.private"),key:"private",selected:!1,predicates:[{access:"private"}]}]},{label:this.intl.t("channels.facets.group"),key:"groups",display:"multi-select",operation:"OR",options:this._context.currentUser.groups.map(e=>({label:e.title,key:e.title,selected:!1,predicates:[{group:e.id}]}))}]}get channelPickerQuery(){return{targetEntity:"channel",filters:[{predicates:[this.hasAllowedChannelsList?Oe(this.discussionSettings.allowedChannelIds):Ye()]}]}}get channelGalleryLimit(){return this.hasAllowedChannelsList?this.discussionSettings.allowedChannelIds.length>4?4:this.discussionSettings.allowedChannelIds.length:4}renderCreate(){if(this.step===F.AUDIENCE)return this.renderAudienceStep();if(this.step===F.CONTENT)return this.renderContentStep()}renderPostEditor(){return this.postId?this.renderContentStep():this.renderCreate()}render(){let{isReply:e,_context:t,loading:s,isRtl:i}=this;return r(G,{key:"814563049da3bdc3241572e0eae729d774586b1a",class:{rtl:i},"data-element":"discussions-post-editor"},!!t&&!s&&(e?this.renderReplyEditor():this.renderPostEditor()))}get isCollapsed(){return this.collapsible&&this.collapsed}get inputMessage(){let{bodyValue:e,isBodyValid:t,intl:s}=this;if(e.trim().length>=xe)return t?{status:"idle",text:s.t("reply.body.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("reply.body.validation.error")}}handleCreateReply(){let{_context:e,_unsavedFeatures:t,_unsavedRelatedFeatures:s,bodyValue:i,parent:o,channel:n,discussion:a,asAnonymous:c,entity:{url:l},arcgisHubDiscussionsPostCreate:d}=this,u=a;if(s.length){let p=l.split("/").pop(),y=new Set(s.map(m=>m.objectId));u=X(u,p,Array.from(y))}let h=null;return t.length&&(h=t.length>1?se(t):t[0].geometry),this.errorMessage=null,Ne(Object.assign({postId:o.id,data:{discussion:u,body:i.trim(),geometry:h,asAnonymous:c},mentionUrl:window.location.href},e.hubRequestOptions)).then(p=>(this.bodyValue="",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reply),{response:g.constants.response.SUCCESS,postId:p.id,parentId:o.id,channelId:n.id,channelAccess:x(n)})),M(Object.assign({postId:p.id,data:{relations:[v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]}},e.hubRequestOptions)))).then(p=>(p.replyCount=0,d.emit(p),p)).catch(p=>(this.errorMessage="createFailure",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reply),{response:g.constants.response.FAILURE,parentId:o.id,channelId:n.id,channelAccess:x(n)})),J.error("Failed to create reply:",p.message),null))}handleEditReply(){let{_context:e,bodyValue:t,post:s,parentId:i,channel:o,arcgisHubDiscussionsPostEdit:n,_unsavedFeatures:a,_unsavedRelatedFeatures:c,_unsavedExistingFeatures:l,entity:{url:d}}=this;this.errorMessage=null;let u=this.discussionValue;if(c.length){let m=d.split("/").pop(),f=c.map(_=>_.objectId);u=X(u,m,f)}let h=this.geometryValue&&Object.keys(this.geometryValue).length?we(Object.assign(Object.assign({},s),{geometry:this.geometryValue})):[];l.forEach(m=>{let{properties:{index:f},geometry:_}=m;_&&(h[+f].geometry=_)});let p=null,y=[...h,...a];return y.length&&(y.length>1?p=se(y):p=y[0].geometry.coordinates.length?y[0].geometry:null),ve(Object.assign({postId:s.id,data:{body:t.trim(),discussion:u,geometry:p},mentionUrl:window.location.href},e.hubRequestOptions)).then(m=>M(Object.assign({postId:m.id,data:{relations:[v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]}},e.hubRequestOptions))).then(m=>(m.replyCount=0,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.reply),{response:g.constants.response.SUCCESS,postId:s.id,parentId:i,channelId:o.id,channelAccess:x(o)})),n.emit(m),m)).catch(m=>(this.errorMessage="editFailure",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.reply),{response:g.constants.response.FAILURE,postId:s.id,parentId:i,channelId:o.id,channelAccess:x(o)})),J.error("Failed to edit reply:",m.message),null))}renderInput(){let{bodyValue:e,inputMessage:t,pending:s,intl:i,parentCreator:o,getMentionQuery:n,blockedNotice:a,asAnonymous:c}=this,l=o?.firstName?i.t("replyToUserPost",{firstName:o.firstName}):i.t("replyToPost");return r(D,null,r("arcgis-hub-rich-text",{class:"hub-discussions-reply-editor__body",disabled:!!a||s,getMentionQuery:n,label:i.t("inputLabel"),mention:!c,mentionCount:100,placeholder:l,ref:d=>{this.bodyRef=d},"text-transform":!0,toolbar:"",value:e}),t&&r("calcite-input-message",{class:"hub-discussions-reply-editor__message",icon:t.icon,scale:"l",status:t.status},t.text))}renderGeographies(){let{channelId:e,channel:t,hasMap:s,postWithLocationEdits:i,_unsavedFeatures:o,_unsavedRelatedFeatures:n,_unsavedExistingFeatures:a,displayFieldValid:c,displayFieldKey:l,blockedNotice:d,isMobile:u,parentId:h,entity:p,showLocations:y}=this;if(y)return r("arcgis-hub-discussions-post-geography",{channel:t,channelId:e,disabled:!s,disabledActions:!!d,displayFieldKey:l,displayFieldValid:c,hasMap:s,isMobile:u,parentId:h,post:i,postId:i?.id,renderedInEditor:!0,showLocationDescriptionText:!u,unsavedExistingFeatures:a,unsavedFeatures:o,unsavedRelatedFeatures:n,url:p?.url})}renderEditor(){let{intl:e,errorMessage:t,blockedNotice:s}=this;return r(D,null,this.renderInput(),this.renderGeographies(),r("div",{class:"hub-discussions-post-editor-post-actions"},this.renderAddLocationsButton(),this.renderSecondaryActionButton(),this.renderPrimaryActionButton()),s&&r("arcgis-hub-discussions-blocked-notice",{class:"hub-discussions-reply-editor__not-discussable-notice",scale:"s",variant:s}),t&&r("calcite-notice",{class:"hub-discussions-reply-editor__notice",kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t))))}renderReplyEditor(){return r("form",{class:"hub-discussions-reply-editor__form",onSubmit:this.handleReplySubmit},this.renderAnonToggle(),this.renderPostHeader("m",!0),this.confirmAction?this.renderConfirmCancel():this.renderEditor())}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{_context:["initialize"],geometryValue:["handleGeometryValueUpdated"],unsavedFeatures:["mapFeaturePropToState"],unsavedExistingFeatures:["mapExistingFeaturePropToState"],unsavedRelatedFeatures:["mapRelatedFeaturePropToState"],addLocationsActiveGeometryType:["handleAddLocationsActiveGeometryTypeChanged"]}}};oe([B("bodyValue")],te.prototype,"hasMentionedUsers",null);oe([B("discussionSettings","hasAllowedChannelsList")],te.prototype,"channelGalleryQuery",null);oe([B("channelPickerQuery")],te.prototype,"channelPickerCatalog",null);oe([B()],te.prototype,"channelPickerFacets",null);oe([B("discussionSettings")],te.prototype,"channelPickerQuery",null);te.style=Pt;var At='.sc-arcgis-hub-discussions-post-list-h{display:block}arcgis-load-more-button.sc-arcgis-hub-discussions-post-list{margin-top:0.75rem;margin-right:1rem;margin-bottom:1.5rem;margin-left:1rem}calcite-input[type="search"].sc-arcgis-hub-discussions-post-list{margin-bottom:1rem}calcite-dropdown.sc-arcgis-hub-discussions-post-list{position:relative}.post-results-info-and-controls.sc-arcgis-hub-discussions-post-list{display:flex;align-items:center;gap:0.25rem}.post-count.sc-arcgis-hub-discussions-post-list{flex-grow:1}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions-post-list:first-of-type{padding-top:1rem}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions-post-list:last-of-type{padding-bottom:1rem}arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list,arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list:not([parent-id]){margin:0px;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}.location-list.sc-arcgis-hub-discussions-post-list-h arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list{padding-left:1rem;padding-right:1rem}.replies-only.sc-arcgis-hub-discussions-post-list arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list{padding-left:0px;padding-right:0px}.sc-arcgis-hub-discussions-post-list-h:not(.has-error).sc-arcgis-hub-discussions-post-list-s>[slot="error"]{display:none}[total="0"].sc-arcgis-hub-discussions-post-list-h calcite-list.sc-arcgis-hub-discussions-post-list{display:none}.sc-arcgis-hub-discussions-post-list-h:not([total="0"]).sc-arcgis-hub-discussions-post-list-s>[slot="empty"]{display:none}',kt=At,Dt=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},ee;(function(e){e.List="list",e.Loading="isLoading"})(ee||(ee={}));var ct=class{constructor(e){K(this,e),this.arcgisHubDiscussionsPostListUpdated=C(this,"arcgisHubDiscussionsPostListUpdated",7),this.arcgisHubDiscussionsPostListReady=C(this,"arcgisHubDiscussionsPostListReady",7),this.arcgisHubDiscussionsPostListLayoutChanged=C(this,"arcgisHubDiscussionsPostListLayoutChanged",7),this.hubTelemetry=C(this,"hubTelemetry",7),this.impressionLogged=!1,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.entity=void 0,this.discussionSettings=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.nextStart=-1,this.start=1,this.total=0,this.items=void 0,this.sortBy=ae.UPDATED_AT,this.sortOrder=$.DESC,this.titleText=void 0,this.bodyText=void 0,this.geometry=void 0,this.featureGeometry=void 0,this.parentIds=void 0,this.creator=void 0,this.editor=void 0,this.status=[A.APPROVED,A.HIDDEN,A.PENDING,A.REJECTED,A.BLOCKED],this.groupIds=void 0,this.channelIds=void 0,this.createdBefore=void 0,this.createdAfter=void 0,this.updatedBefore=void 0,this.updatedAfter=void 0,this.access=void 0,this.num=10,this.isMobile=void 0,this.locationId=void 0,this.layout="list",this.showLayoutActions=void 0,this.showSearchActions=void 0,this.showCounts=void 0,this.showSortActions=void 0,this.renderPost=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=Z(),this.pending=!1,this.error=void 0,this.loadedPostIds=[],this.ready=!1,this.mostRecentPagePostIds=[],this._loading=!0,this.intl=void 0,W(this,"renderListAndActions","renderLoading","handleSortBySelect","handleSortOrderSelected","handleSearchInputChanged","_renderPost")}async componentWillLoad(){this.initialize()}connectedCallback(){ne(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){this.loadTranslations(),this._context&&(await this.loadDependencies(),this.items?(this.mostRecentPagePostIds=this.items.map(({id:e})=>e),this.emitPostListOpenEvent(!0),this.loadedPostIds=[]):this.searchPosts(1))}async loadTranslations(){this.intl=await V.loadIntlForComponent(this.element)}loadDependencies(){if(this._context)return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this._loading=!1})}fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){let{isHub:e,_context:t,discussion:s,entityId:i,entityType:o,entity:n,discussionSettings:a,locationId:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u}=this,h=await de({isHub:e},t.hubRequestOptions),p=await ue({discussion:s,entityId:i,entityType:o,entity:n,discussionSettings:a,locationId:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u},t.hubRequestOptions,!0);return Object.assign(Object.assign({},h),p)}handleContextChanged(e,t){var s,i;if(((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username))return this.loadDependencies().then(()=>{this.items?this.emitPostListOpenEvent(!0):this.searchPosts(1)})}handleReadyChanged(e){e&&this.arcgisHubDiscussionsPostListReady.emit()}handleLoadedPostIdsChanged(e){this.ready||(this.ready=!!e&&!!this.items&&this.items.every(({id:t})=>e.includes(t)))}emitPostListOpenEvent(e){this.impressionLogged||(this.impressionLogged=!0,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.postList),{response:e?g.constants.response.SUCCESS:g.constants.response.FAILURE})))}handlePostReady(e){this.loadedPostIds=[...this.loadedPostIds,e.target.postId]}handleLayoutSelected(e){e.stopPropagation(),this.arcgisHubDiscussionsPostListLayoutChanged.emit(e.detail);let t={grid:"gridView",list:"listView",map:"mapView"}[e.detail];this.hubTelemetry.emit(g.dictionary.category.interaction.action.select.label.discussionBoardView.details[t])}get sortByMenuConfigs(){return[{label:"sortRecent",value:ae.UPDATED_AT},{label:"sortCreator",value:ae.CREATOR}]}get activeSortConfig(){return this.sortByMenuConfigs.find(({value:e})=>e===this.sortBy)}get isRtl(){var e;return((e=this.intl)===null||e===void 0?void 0:e.direction)==="rtl"||!1}get views(){let{renderListAndActions:e,renderLoading:t}=this;return{[ee.List]:{render:e},[ee.Loading]:{render:t}}}get isLoading(){let{intl:e,_context:t,_loading:s}=this;return!e||!t||s}get view(){let{views:e,isLoading:t}=this,s=t?ee.Loading:ee.List;return e[s]}handlePostDeleted(e){this.items.findIndex(({id:s})=>e.detail.id===s)>-1&&(this.items=this.items.filter(({id:s})=>e.detail.id!==s),this.total-=1,this.nextStart>-1&&(this.nextStart-=1),this.arcgisHubDiscussionsPostListUpdated.emit())}handlePostCreated(e){let t=e.detail.discussion.includes(this.discussion),s=!0;this.parentIds&&(s=this.parentIds.length?this.parentIds.includes(e.detail.parentId):!e.detail.parentId),t&&s&&(this.sortOrder===$.DESC?this.items.find(({id:i})=>e.detail.id===i)||(this.items=[e.detail,...this.items],this.total+=1,this.nextStart>-1&&(this.nextStart+=1),this.arcgisHubDiscussionsPostListUpdated.emit()):(this.total+=1,this.arcgisHubDiscussionsPostListUpdated.emit()))}handlePostEdited(e){this.items.findIndex(({id:s})=>e.detail.id===s)>-1&&(this.items=this.items.map(s=>s.id===e.detail.id?e.detail:s),this.arcgisHubDiscussionsPostListUpdated.emit())}handleLoadMoreChange(e){e.stopPropagation(),this.searchPosts(this.nextStart)}async getPostRefByPostId(e){return Array.prototype.find.call(this.layoutListRef.childNodes,t=>t.postId===e)||null}handleSortByChanged(){this.searchPosts(1)}handleSortBySelect(e){let{selectedItems:[{dataset:{value:t}}]}=e.target;this.sortBy=t}get searchParams(){let{sortBy:e,sortOrder:t,access:s,status:i,channelIds:o,groupIds:n,titleText:a,bodyText:c,discussion:l,geometry:d,creator:u,editor:h,featureGeometry:p,parentIds:y,createdBefore:m,createdAfter:f,updatedBefore:_,updatedAfter:w,num:T}=this,E=O=>O===void 0?O:new Date(O),k={title:a&&`%${a}%`,body:c&&`%${c}%`,term:c&&`%${c}%`,discussion:l&&!l.endsWith("%")?`${l}%`:l,geometry:d,featureGeometry:p,parents:y,status:i,creator:u,editor:h,sortBy:e,sortOrder:t,access:s,channels:o,groups:n,createdBefore:E(m),createdAfter:E(f),updatedBefore:E(_),updatedAfter:E(w),num:T};return Object.entries(k).reduce((O,[P,L])=>L?Object.assign(Object.assign({},O),{[P]:L}):O,{})}searchPosts(e){let{_context:t,searchParams:s,arcgisHubDiscussionsPostListUpdated:i,items:o,loadedPostIds:n}=this;return Object.assign(this,{pending:!0,error:null}),e===1&&Object.assign(this,{items:[],total:0,nextStart:-1}),He(Object.assign({data:Object.assign({start:e,relations:[v.REPLIES,v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]},s)},t.hubRequestOptions)).then(({items:a,nextStart:c,total:l})=>{let d,u;e===1?(d=a,u=[]):(u=n,d=[...o,...a]),Object.assign(this,{items:d,nextStart:c,total:l,loadedPostIds:u,mostRecentPagePostIds:a.map(({id:h})=>h)}),this.emitPostListOpenEvent(!0),i.emit()}).catch(a=>{this.error=a,this.emitPostListOpenEvent(!1)}).finally(()=>{this.pending=!1})}renderCount(){if(this.showCounts){let{items:e,total:t,intl:s}=this,i=e.length?1:0,o=e.length?e.length:0;return r("div",{class:"post-count"},s.t("searchCount",{start:i,end:o,total:t}))}}renderSortByDropdown(){if(this.showSortActions){let{intl:e,sortBy:t,sortByMenuConfigs:s,activeSortConfig:i,pending:o,handleSortBySelect:n,total:a}=this;return r("calcite-dropdown",{disabled:o||!a,onCalciteDropdownSelect:n},r("calcite-button",{appearance:"transparent",iconEnd:"caret-down",slot:"trigger"},e.t(i.label)),r("calcite-dropdown-group",null,s.map(({label:c,value:l})=>r("calcite-dropdown-item",{"data-value":l,key:l,selected:l===t},e.t(c)))))}}handleSortOrderSelected(){this.sortOrder=this.sortOrder===$.DESC?$.ASC:$.DESC}handleSearchInputChanged(e){this.bodyText=e.target.value}handleSortOrderChanged(){this.searchPosts(1)}handleBodyChanged(){this.searchPosts(1),this.hubTelemetry.emit(g.dictionary.category.interaction.action.search.label.searchPosts.details.mapView)}renderSortDirectionAction(){if(this.showSortActions){let{sortOrder:e,intl:t,handleSortOrderSelected:s,pending:i,total:o}=this,n,a;return e===$.DESC?(n="sort-descending-arrow",a="orderDesc"):(a="orderAsc",n="sort-ascending-arrow"),r("calcite-action",{class:"sort-direction-action",disabled:i||!o,icon:n,iconFlipRtl:this.isRtl,onClick:s,scale:"s",text:t.t(a)})}}renderSearch(){if(this.showSearchActions){let{intl:e,pending:t,handleSearchInputChanged:s,isRtl:i,total:o,bodyText:n}=this;return r("calcite-input",{disabled:t||!n&&!o,icon:!0,iconFlipRtl:i,onCalciteInputChange:s,placeholder:e.t("searchIdeas"),type:"search",value:n})}}renderList(){let{items:e,layout:t,parentIds:s,pending:i,isMobile:o}=this;return r("arcgis-layout-list",{class:{"replies-only":!!s?.length},disabled:i,layout:t,ref:n=>{this.layoutListRef=n},showMapControl:!o},this.renderCountAndActions(),e.map(this._renderPost))}_renderPost(e,t,s){let{hasMap:i,isHub:o,unsavedFeatures:n,unsavedRelatedFeatures:a,unsavedExistingFeatures:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u,showChannelAvatar:h,showChannelName:p,entity:y,entityId:m,entityType:f,discussionSettings:_,isMobile:w,locationDescriptionText:T,locationId:E,mostRecentPagePostIds:k,loadedPostIds:O,parentIds:P,showLocations:L,disableSelectExistingLocation:N}=this,R=k.includes(e.id)?k.some(U=>!O.includes(U)):!O.includes(e.id);return this.renderPost?this.renderPost(e,t,s,R):r("arcgis-hub-discussions-post",{channel:e.channel,channelId:e.channel.id,disableSelectExistingLocation:N,discussionSettings:_,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u,entity:y,entityId:m,entityType:f,hasMap:i,index:t,isHub:o,isMobile:w,key:e.id,lastIndex:s.length-1,lead:!!P?.length,loading:R,locationDescriptionText:T,locationId:E,parentId:e.parentId,post:e,postId:e.id,preview:!e.parentId,role:"listitem",showChannelAvatar:h,showChannelName:p,showLocations:L,unsavedExistingFeatures:c,unsavedFeatures:n,unsavedRelatedFeatures:a})}renderCountAndActions(){let{showLayoutActions:e,showCounts:t,showSortActions:s}=this;if(e||t||s)return r("div",{class:"post-results-info-and-controls",slot:"actions"},this.renderCount(),this.renderSortByDropdown(),this.renderSortDirectionAction())}renderListAndActions(){let{nextStart:e,pending:t}=this;return r(D,null,r("slot",{name:"list-before"}),this.renderSearch(),this.renderList(),this.renderEmpty(),this.renderError(),r("arcgis-load-more-button",{appearance:"outline-fill",loading:t,nextStart:e}))}renderLoading(){return null}renderEmpty(){return r("slot",{name:"empty"})}renderError(){return r("slot",{name:"error"})}render(){let{view:e,error:t,items:s}=this;return r(G,{key:"8089e69bcd210f46b1074e6ed66ffc353277fd2b",class:{"has-error":!!t,rtl:!0},"data-count":s?.length||0,"data-element":"discussions-post-list"},e.render())}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChanged"],loadedPostIds:["handleLoadedPostIdsChanged"],sortBy:["handleSortByChanged"],sortOrder:["handleSortOrderChanged"],bodyText:["handleBodyChanged"]}}};Dt([le({delay:300})],ct.prototype,"fetchDependencies",null);ct.style=kt;var lt=[b.THUMBS_UP,b.THINKING,b.GRINNING,b.PARTY_POPPER],nt=[...lt,b.SLIGHTLY_SMILING,b.CONFUSED,b.LAUGH,b.FACE_WITH_TEARS_OF_JOY,b.WINKING,b.PARTYING,b.SAD,b.SURPRISED,b.THUMBS_DOWN,b.CLAPPING_HANDS,b.RAISING_HANDS,b.WAVING_HAND,b.HEART,b.ONE_HUNDRED,b.FIRE,b.ROCKET,b.UP_ARROW,b.DOWN_ARROW,b.EYES,b.TROPHY,b.WORLD_MAP],H={[b.SLIGHTLY_SMILING]:{emoji:"\u{1F642}",telemetryKey:"smilingFace"},[b.CONFUSED]:{emoji:"\u{1F615}",telemetryKey:"confusedFace"},[b.LAUGH]:{emoji:"\u{1F600}",telemetryKey:"laughingFace"},[b.GRINNING]:{emoji:"\u{1F606}",telemetryKey:"grinningFace"},[b.FACE_WITH_TEARS_OF_JOY]:{emoji:"\u{1F602}",telemetryKey:"faceWithTearsOfJoy"},[b.THINKING]:{emoji:"\u{1F914}",telemetryKey:"thinkingFace"},[b.WINKING]:{emoji:"\u{1F609}",telemetryKey:"winkingFace"},[b.PARTYING]:{emoji:"\u{1F973}",telemetryKey:"partyingFace"},[b.SAD]:{emoji:"\u{1F625}",telemetryKey:"sadFace"},[b.SURPRISED]:{emoji:"\u{1F632}",telemetryKey:"shockedFace"},[b.THUMBS_UP]:{emoji:"\u{1F44D}",telemetryKey:"thumbsUp"},[b.THUMBS_DOWN]:{emoji:"\u{1F44E}",telemetryKey:"thumbsDown"},[b.CLAPPING_HANDS]:{emoji:"\u{1F44F}",telemetryKey:"clappingHands"},[b.RAISING_HANDS]:{emoji:"\u{1F64C}",telemetryKey:"raisingHands"},[b.WAVING_HAND]:{emoji:"\u{1F44B}",telemetryKey:"wavingHand"},[b.HEART]:{emoji:"\u2764\uFE0F",telemetryKey:"redHeart"},[b.ONE_HUNDRED]:{emoji:"\u{1F4AF}",telemetryKey:"hundredPoints"},[b.FIRE]:{emoji:"\u{1F525}",telemetryKey:"fire"},[b.PARTY_POPPER]:{emoji:"\u{1F389}",telemetryKey:"partyPopper"},[b.ROCKET]:{emoji:"\u{1F680}",telemetryKey:"rocket"},[b.UP_ARROW]:{emoji:"\u2B06",telemetryKey:"upArrow"},[b.DOWN_ARROW]:{emoji:"\u2B07",telemetryKey:"downArrow"},[b.EYES]:{emoji:"\u{1F440}",telemetryKey:"eyes"},[b.TROPHY]:{emoji:"\u{1F3C6}",telemetryKey:"trophy"},[b.WORLD_MAP]:{emoji:"\u{1F5FA}",telemetryKey:"worldMap"}},Et=`:host{display:inline-block}:host>div>calcite-button{margin-right:0.125rem;border-width:2px;border-style:solid;border-color:transparent;padding:0.125rem}:host>div>calcite-button:last-of-type{margin-right:0px}.submitted_reactions_list calcite-button{border-width:2px;border-style:solid;border-color:transparent;padding:0.125rem}.submitted_reactions_list calcite-button span{margin-left:0.25rem}calcite-button[aria-checked="true"],calcite-button[data-reaction="add"][aria-expanded="true"]{border-color:var(--calcite-color-brand)}:host(.rtl) calcite-button[data-reaction="add"]{transform:scaleX(-1)}calcite-button[aria-checked="true"] span{font-weight:var(--calcite-font-weight-bold)}:host>div{display:flex}.submitted_reactions_list{margin:0px;display:inline-flex;list-style-type:none;padding:0px}.submitted_reactions_list li{margin-right:0.125rem}.user_reactions_popover{width:20rem}.user_reactions_list{margin:0px;display:grid;max-height:407px;list-style-type:none;grid-auto-flow:row;row-gap:0.75rem;overflow:auto;padding:0.75rem}.user_reaction_item{display:grid;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;row-gap:0.125rem;background-color:var(--calcite-color-foreground-1);grid-template-columns:2.75rem auto}.user_reaction_item:has(div:nth-of-type(3)){grid-template-columns:2.75rem auto minmax(0, 16px)}.user_reaction_item calcite-avatar{grid-row:span 2 / span 2;height:2.75rem;width:2.75rem}.user_reaction_item div:nth-of-type(1){display:flex;flex-grow:1;align-items:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);text-transform:capitalize;color:var(--calcite-color-text-1)}.user_reaction_item div:nth-of-type(2){display:flex;align-items:center;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.user_reaction_item:has(div:nth-of-type(3)) div:nth-of-type(2){grid-row:span 2 / span 2;justify-content:flex-end}.user_reaction_item div:nth-of-type(2):before{content:'@'}.user_reaction_item:has(div:nth-of-type(3)) div:nth-of-type(2):before{content:''}.user_reaction_item div:nth-of-type(3){display:flex;align-items:center;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.user_reaction_item div:nth-of-type(3):before{content:'@'}arcgis-skeleton-loader{display:grid;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;row-gap:0.125rem;grid-template-columns:2.75rem auto}arcgis-skeleton-loader:has(div:nth-of-type(4)){grid-template-columns:2.75rem auto minmax(0, 16px)}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(1){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);grid-row:span 2 / span 2;height:2.75rem;width:2.75rem;border-radius:50%}arcgis-skeleton-loader>div:nth-of-type(2){display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(2) div{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);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}arcgis-skeleton-loader>div:nth-of-type(3){display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(3) div{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);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size--1);line-height:1rem}arcgis-skeleton-loader:has(div:nth-of-type(4))>div:nth-of-type(3){grid-row:span 2 / span 2;display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader::has(div:nth-of-type(4))>div:nth-of-type(3) div{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);display:flex;height:1rem;flex-grow:1;border-radius:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(4) div{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);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size--1);line-height:1rem}.default_reactions{display:flex;flex-direction:row;padding:0.75rem}.default_reactions ul{margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0.5rem;display:inline-flex;list-style-type:none;padding:0px}.default_reactions li{margin-right:0.5rem}.default_reactions li:last-of-type{margin-right:0px}.all_reactions_list{margin:0px;display:grid;list-style-type:none;grid-template-columns:repeat(5, minmax(0, 1fr));gap:0.5rem;padding:0.75rem}`,Tt=Et,Lt=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},ot=(e,t)=>{let s=new Date(e.createdAt),i=new Date(t.createdAt);return s>i?-1:s<i?1:0},at=e=>(t,s)=>e[t.value].length>e[s.value].length?1:e[t.value].length<e[s.value].length?-1:0,dt=class{async handlePostIdChanged(e,t){await this.fetchPostDetails(e,t)}handleContextChanged(e,t){var s,i;((s=e.currentUser)===null||s===void 0?void 0:s.username)!==((i=t.currentUser)===null||i===void 0?void 0:i.username)&&(this.users={})}handlePopoverOpen(e){e.target!==this.element&&(this.activePopover=null)}constructor(e){K(this,e),this.hubTelemetry=C(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReactionChange=C(this,"arcgisHubDiscussionsPostReactionChange",7),this.reactionListButtons={},this.postId=void 0,this.post=void 0,this.channel=void 0,this._context=Z(),this.showAllReactions=!1,this.activePopover=null,this.pending=!1,this.users={},W(this,"handleAddReactionClick","handleViewAllReactionsClick","handleAddReactionPopoverClose","handleReactionFocus","handleReactionMouseEnter","handleReactionPopoverClose","handleReactionClicked","handleReactionPopoverOpen","handleReactionRef","deleteUserReaction","handleReactionPopoverBeforeOpen")}async componentWillLoad(){let[e]=await Promise.all([V.loadIntlForComponent(this.element),this.handlePostIdChanged(this.postId)]);this.intl=e}connectedCallback(){ne(this)}disconnectedCallback(){this.disconnectContext()}get isDisabled(){let{_context:e,channel:t,pending:s}=this;return[!e.currentUser,!t.allowReaction,s].some(i=>!!i)}get overflowReactionRecords(){let{listReactions:e,reactionRecordGroups:t}=this,s=(i,[o,n])=>e.find(a=>a.value===o)?i:[...i,...n];return Object.entries(t).reduce(s,[]).sort(ot)}get currentUserReactions(){let{_context:e,reactionRecordGroups:t}=this;return Object.values(t).reduce((s,i)=>[...s,...i.filter(o=>{var n;return o.creator===((n=e.currentUser)===null||n===void 0?void 0:n.username)})],[]).sort(at(t))}get otherUserReactions(){let{reactionRecordGroups:e,currentUserReactions:t}=this;return Object.values(e).reduce((i,o)=>[...i,...o],[]).reduce((i,o)=>t.find(a=>a.value===o.value)||i.find(a=>a.value===o.value)?i:[...i,o],[]).sort(at(e))}get listReactions(){let{currentUserReactions:e,otherUserReactions:t,reactionRecordGroups:s}=this,i=[...t,...e],o=Object.keys(s).length>4?3:4,n,a;return i.length>o?(n=i.length-o,a=i.length):(n=0,a=i.length),i.slice(n,a)}get reactionRecordGroups(){let{post:{reactions:e}}=this,t=(s,i)=>nt.includes(i.value)?Object.assign(Object.assign({},s),{[i.value]:[...s[i.value]||[],i]}):s;return[...e].sort(ot).reduce(t,{})}async fetchPostDetails(e,t){let{_context:s}=this;if(e&&e!==t){let i=await M(Object.assign({postId:e,data:{relations:[v.CHANNEL,v.CHANNEL_ACL,v.REACTIONS,v.REPLIES]}},s.hubRequestOptions));i.replyCount=i.replies.total,delete i.replies,this.channel=i.channel,this.post=i}}handleAddReactionClick(e){let{dataset:{reaction:t}}=e.target,{post:s,channel:i}=this;this.activePopover=t,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.popover.details.addReaction),{postId:s.id,parentId:s.parentId,channelId:i.id,channelAccess:x(i)}))}handleViewAllReactionsClick(){this.showAllReactions=!0}handleAddReactionPopoverClose(){this.showAllReactions=!1,this.activePopover=null}handleReactionFocus(e){let{dataset:{reaction:t}}=e.target;this.activePopover=t}handleReactionMouseEnter(e){let t=e.target,{nodeName:s,dataset:{reaction:i}}=t;s==="CALCITE-BUTTON"&&this.activePopover!=="add"&&(this.activePopover=i)}handleReactionPopoverClose(e){let{dataset:{reaction:t}}=e.target;this.activePopover===t&&(this.activePopover=null)}async handleReactionPopoverBeforeOpen(e){let{reaction:t}=e.target.dataset,s=await this.fetchUserRecords(t);this.users=Object.assign(Object.assign({},this.users),s)}async handleReactionClicked(e){let{currentUserReactions:t,arcgisHubDiscussionsPostReactionChange:s,activePopover:i}=this,{dataset:{reaction:o}}=e.currentTarget,n=t.find(({value:a})=>a===o);this.pending=!0;try{if(await Promise.all(t.map(this.deleteUserReaction)),n||await this.createReaction(o),i==="add"&&(this.activePopover=null),this.activePopover){let a=await this.fetchUserRecords(o);this.users=Object.assign(Object.assign({},this.users),a)}}catch{}finally{s.emit(),this.pending=!1}}handleReactionPopoverOpen(e){let{channel:t,post:s}=this,{dataset:{reaction:i}}=e.target,o=i==="overflow"?g.dictionary.category.interaction.action.open.label.popover.details.reactionOverflow:g.dictionary.category.interaction.action.open.label.popover.details[H[i].telemetryKey];this.hubTelemetry.emit(Object.assign(Object.assign({},o),{postId:s.id,parentId:s.parentId,channelId:t.id,channelAccess:x(t)}))}async handleReactionRef(e){var t;+((t=e?.dataset)===null||t===void 0?void 0:t.index)==0&&await e.setFocus()}async fetchUserRecords(e){let{reactionRecordGroups:t,overflowReactionRecords:s,users:i}=this,n=(e==="overflow"?s:t[e]).reduce((a,c)=>i[c.creator]?a:[...a,c.creator],[]);if(n.length){let a=n.reduce((l,d)=>[...l,this.fetchUserRecord(d)],[]);return(await Promise.all(a)).reduce((l,d,u)=>Object.assign(Object.assign({},l),{[n[u]]:d}),{})}}async fetchUserRecord(e){return Ae(e,this._context.hubRequestOptions).catch(t=>null)}async createReaction(e){let{_context:t,post:s,channel:i}=this;try{let o=await Be(Object.assign({data:{postId:s.id,value:e}},t.hubRequestOptions));this.post=Object.assign(Object.assign({},this.post),{reactions:[...this.post.reactions,o]}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reaction.details[H[e].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.SUCCESS}))}catch(o){throw this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reaction.details[H[e].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.FAILURE})),console.error("Failed to create reaction:",e,o.message),o}}async deleteUserReaction(e){let{_context:t,post:s,channel:i,currentUserReactions:o}=this;try{await Ge(Object.assign({reactionId:e.id},t.hubRequestOptions)),this.post=Object.assign(Object.assign({},s),{reactions:s.reactions.filter(({id:n})=>!o.find(a=>a.id===n))}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.delete.label.reaction.details[H[e.value].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.SUCCESS}))}catch(n){throw console.error("Failed to delete reaction:",e.value,e.id,n.message),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.delete.label.reaction.details[H[e.value].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.FAILURE})),n}}renderList(){let{listReactions:e,reactionRecordGroups:t,intl:s,_context:i,activePopover:o,isDisabled:n,handleReactionPopoverClose:a,handleReactionPopoverOpen:c}=this;return r("ul",{class:"submitted_reactions_list"},e.reduce((l,d)=>{var u;let h=d.creator===((u=i.currentUser)===null||u===void 0?void 0:u.username),p=t[d.value].length>99?s.t("reaction_count_99_plus"):t[d.value].length;return[...l,r("li",{key:d.value},r("calcite-button",{appearance:"outline","aria-checked":h?"true":"false","data-reaction":d.value,disabled:n,kind:h?"brand":"neutral",label:s.t(h?"reaction_list_label_remove":"reaction_list_label_add",{reaction:s.t(d.value),count:p}),onClick:this.handleReactionClicked,onFocus:this.handleReactionFocus,onMouseEnter:this.handleReactionMouseEnter,ref:y=>{this.reactionListButtons=Object.assign(Object.assign({},this.reactionListButtons),{[d.value]:y})},role:"radio",round:!0,scale:"m"},H[d.value].emoji,r("span",null,p)),r("calcite-popover",{"auto-close":!0,class:"user_reactions_popover","data-reaction":d.value,"focus-trap-disabled":!0,heading:s.t(d.value),label:s.t(d.value),onCalcitePopoverBeforeOpen:this.handleReactionPopoverBeforeOpen,onCalcitePopoverClose:a,onCalcitePopoverOpen:c,open:o===d.value,overlayPositioning:"fixed",placement:"bottom",referenceElement:this.reactionListButtons[d.value],"trigger-disabled":!0},this.renderUserReactions(t[d.value],!1)))]},[]))}renderUserSkeleton(e){return r("arcgis-skeleton-loader",{active:!0,role:"listitem",rows:0,showFooter:!1,showHeading:!1,showThumbnail:!1},r("div",null),r("div",null,r("div",null,"\xA0")),e&&r("div",null,r("div",null,"\xA0")),r("div",null,r("div",null,"\xA0")))}renderUserReaction(e,t){var s;let{users:i,_context:o,intl:n}=this,a=i[e.creator],c=a?.fullName||n.t("privateUser");return r("li",{"aria-label":n.t("reaction_user_label",{userFullName:c,reaction:n.t(e.value)}),class:"user_reaction_item"},r("calcite-avatar",{"full-name":a?.fullName,scale:"l",thumbnail:a?.thumbnail&&me(o.hubRequestOptions.portal,{username:a.username,access:a.access,thumbnail:a.thumbnail},(s=o.hubRequestOptions.authentication)===null||s===void 0?void 0:s.token),"user-id":a?.id,username:a?.username}),r("div",null,c),t&&r("div",null,H[e.value].emoji),r("div",null,a?.username||n.t("noUser")))}renderUserReactions(e,t){let{users:s}=this;return r("ul",{class:"user_reactions_list"},e.map(i=>s[i.creator]===void 0?this.renderUserSkeleton(t):this.renderUserReaction(i,t)))}renderOverflow(){let{intl:e,overflowReactionRecords:t,handleReactionPopoverClose:s,handleReactionPopoverOpen:i,activePopover:o,isDisabled:n,overflowButton:a}=this,c=t.length>99?e.t("reaction_count_99_plus"):e.formatNumber(t.length,{signDisplay:"always"});return!!t.length&&r(D,null,r("calcite-button",{appearance:"outline","data-reaction":"overflow",disabled:n,kind:"neutral",label:e.t(t.length>1?"n_more_reactions":"one_more_reaction",{count:c}),onFocus:this.handleReactionFocus,onMouseOver:this.handleReactionMouseEnter,ref:l=>{this.overflowButton=l},round:!0,scale:"m"},c),r("calcite-popover",{"auto-close":!0,class:"user_reactions_popover","data-reaction":"overflow","focus-trap-disabled":!0,heading:e.t("moreReactions"),label:e.t("moreReactions"),onCalcitePopoverBeforeOpen:this.handleReactionPopoverBeforeOpen,onCalcitePopoverClose:s,onCalcitePopoverOpen:i,open:o==="overflow",overlayPositioning:"fixed",placement:"bottom",referenceElement:a,"trigger-disabled":!0},this.renderUserReactions(t,!0)))}renderDefaultReactions(){let{currentUserReactions:e,intl:t,isDisabled:s}=this;return r("div",{class:"default_reactions"},r("ul",null,lt.map(i=>{let o=e.find(n=>n.value===i);return r("li",{key:i},r("calcite-button",{appearance:o?"outline":"transparent","aria-checked":o?"true":"false","data-reaction":i,disabled:s,kind:o?"brand":"neutral",label:t.t(o?"reaction_picker_label_remove":"reaction_picker_label_add",{reaction:t.t(i)}),onClick:this.handleReactionClicked,role:"radio",round:!0,scale:"m"},H[i].emoji))})),r("calcite-button",{appearance:"transparent",disabled:s,"icon-start":"plus",kind:"neutral",label:t.t("viewAllReactions"),onClick:this.handleViewAllReactionsClick,round:!0,scale:"m"}))}renderAllReactions(){let{intl:e,currentUserReactions:t,isDisabled:s,handleReactionClicked:i,handleReactionRef:o}=this;return r("ul",{class:"all_reactions_list"},nt.map((n,a)=>{let c=t.find(l=>l.value===n);return r("li",{key:n},r("calcite-button",{appearance:c?"outline":"transparent","aria-checked":c?"true":"false","data-index":a,"data-reaction":n,disabled:s,kind:c?"brand":"neutral",label:e.t(c?"reaction_picker_label_remove":"reaction_picker_label_add",{reaction:e.t(n)}),onClick:i,ref:o,round:!0,scale:"m"},H[n].emoji))}))}renderAddReaction(){let{intl:e,handleAddReactionClick:t,handleAddReactionPopoverClose:s,isDisabled:i,activePopover:o,showAllReactions:n,addReactionButton:a}=this;return r(D,null,r("calcite-button",{appearance:"outline","data-reaction":"add",disabled:i,"icon-start":"add-reaction",kind:o==="add"?"brand":"neutral",label:e.t("addReaction"),onClick:t,ref:c=>{this.addReactionButton=c},round:!0,scale:"m"}),r("calcite-popover",{"auto-close":!0,"data-reaction":"add",label:e.t("addReaction"),onCalcitePopoverClose:s,open:o==="add",overlayPositioning:"fixed",placement:"bottom",referenceElement:a,scale:"m"},n?this.renderAllReactions():this.renderDefaultReactions()))}render(){return r(G,{key:"7518eea516296bf3dc155e55a63fe6fdddd71a61",class:{rtl:this.intl.direction==="rtl"},"data-element":"arcgis-hub-discussions-post-reactions"},r("div",{key:"37289988b1e1a4d82f37f444b17532ec35724066"},this.renderList(),this.renderOverflow(),this.renderAddReaction()))}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{postId:["handlePostIdChanged"],_context:["handleContextChanged"]}}};Lt([le({delay:300})],dt.prototype,"fetchUserRecord",null);dt.style=Tt;var St=":host{display:block}ol{margin:0px;display:grid;padding:0px;gap:var(--arcgis-hub-layout-list-gap, 1rem)}.map{grid-template-columns:1fr}.list{grid-template-columns:1fr}.grid{grid-template-columns:repeat(auto-fill, minmax(var(--arcgis-hub-layout-list-min-column-width, 20rem), 1fr))}.actions{display:grid;align-items:center;gap:var(--arcgis-hub-layout-list-actions-gap, 0.25rem);grid-template-columns:1fr;grid-template-rows:1fr;margin-bottom:var(--arcgis-hub-layout-list-actions-margin, 1rem)}.actions:has(.layout-actions){grid-template-columns:auto max-content}.actions:not(.hasActions){display:none}:host(.rtl) .layout-actions calcite-action{transform:scaleX(-1)}",jt=St,Ht=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},ut=class{constructor(e){K(this,e),this.arcgisLayoutListLayoutSelected=C(this,"arcgisLayoutListLayoutSelected",7),this.layout="list",this.disabled=!1,this.showMapControl=void 0,this.scale="s",this.listStyleDeclaration=void 0,this.hasSlottedActions=!1,W(this,"handleResized","handleLayoutSelected","handleSlotChanged")}connectedCallback(){Re.addHandler(this.element,this.handleResized)}async componentWillLoad(){await this.loadTranslations()}disconnectedCallback(){Re.unobserve(this.element)}async loadTranslations(){this.intl=await V.loadIntlForComponent(this.element)}handleResized(){this.listRef&&(this.listStyleDeclaration=globalThis.getComputedStyle(this.listRef))}get showActions(){return this.hasLayoutActions||this.hasSlottedActions}handleSlotChanged(){this.hasSlottedActions=!!this.element.querySelector('[slot="actions"]')}get hasLayoutActions(){let{listStyleDeclaration:e}=this,t=!1;if(e){let s=parseInt(e.getPropertyValue("gap"),10),i=e.getPropertyValue("grid-template-columns").split(" "),o=parseFloat(i[0]),n=e.getPropertyValue("--arcgis-hub-layout-list-min-column-width"),a=parseFloat(n)*(n.endsWith("rem")?16:1);t=i.length>1||a*2+s<o}return!!t}handleLayoutSelected(e){this.layout=e.target.icon,this.arcgisLayoutListLayoutSelected.emit(this.layout)}renderList(){return r("ol",{class:{[this.layout]:!0},ref:e=>{this.listRef=e}},r("slot",null))}renderLayoutActions(){let{hasLayoutActions:e,showMapControl:t}=this;if(e||t){let{layout:s,intl:i,disabled:o,handleLayoutSelected:n,scale:a}=this,c=[...t?["map"]:[],...e?["grid"]:[],"list"],l=d=>{let u=d===s;return!e&&s=="grid"&&d==="list"&&(u=!0),u};return r("div",{class:"layout-actions"},r("calcite-action-bar",{"expand-disabled":!0,layout:"horizontal"},c.map(d=>r("calcite-action",{active:l(d),disabled:o,icon:d,key:d,label:i.t(`${d}.label`),onClick:n,scale:a,text:i.t(`${d}.text`)}))))}}renderActions(){return r("div",{class:{actions:!0,hasActions:this.showActions}},r("div",null,r("slot",{name:"actions",onSlotchange:this.handleSlotChanged})),this.renderLayoutActions())}render(){return r(G,{key:"55a9cddaa561bd5b351fc3d1a17d5d45d1134102",class:{rtl:this.intl.direction==="rtl"}},this.renderActions(),this.renderList())}static get assetsDirs(){return["locales"]}get element(){return z(this)}};Ht([Te({timeout:250})],ut.prototype,"handleResized",null);ut.style=jt;var Ft=":host{display:block}",Nt=Ft,Ut=class{constructor(e){K(this,e),this.arcgisLoadMoreChange=C(this,"arcgisLoadMoreChange",7),this.nextStart=void 0,this.color="neutral",this.appearance="transparent",this.scale="l",this.width="full",this.round=!0,this.loading=!1,W(this,"handleLoadMore")}get hasMoreResults(){let{nextStart:e}=this;return e!==-1}get disabled(){let{loading:e,hasMoreResults:t}=this;return e||!t}async componentWillLoad(){this.intl=await V.loadIntlForComponent(this.el)}handleLoadMore(){let{nextStart:e}=this;this.arcgisLoadMoreChange.emit(e)}render(){let{loading:e,handleLoadMore:t,round:s,scale:i,width:o,intl:n,hasMoreResults:a,disabled:c,color:l,appearance:d}=this,u=n.t("loadMore");return r(G,{key:"de2c01e48d47104bf0cbb1de8262b16b271a6d3e"},a&&r("calcite-button",{appearance:d,disabled:c||e,kind:st(l),label:u,loading:e,onClick:t,round:s,scale:i,width:o},u))}static get assetsDirs(){return["locales"]}get el(){return z(this)}};Ut.style=Nt;return{arcgis_hub_discussions_post:q,arcgis_hub_discussions_post_chips:Rt,arcgis_hub_discussions_post_editor:te,arcgis_hub_discussions_post_list:ct,arcgis_hub_discussions_post_reactions:dt,arcgis_layout_list:ut,arcgis_load_more_button:Ut}},"config",a,c)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{c as o}from"./LMUFLRBV.js";import"./RNEN6EAZ.js";import"./NXV7EO2A.js";import"./2SUTMP6Z.js";import{b as i,c as s,i as m}from"./QQ7ICBCL.js";import"./IWMRLOOZ.js";import"./UHESR4NN.js";import"./PUYNVU5C.js";import"./MQLLCZVH.js";import"./ELYKSGGV.js";import"./CNA2TTXC.js";import"./6V6GHPY5.js";import"./ISEOUG4D.js";import"./SPBN4CQ2.js";import"./GDSQB4LZ.js";import"./S7VOW77N.js";import"./D3GHGZJA.js";import"./RA6DZLA2.js";import"./JIV7KCJJ.js";import"./6TCLEVMS.js";import"./WTXVZBB5.js";import"./SYTX74V4.js";import"./G3VYMZVR.js";import"./ALIZIODZ.js";import"./DMGBF75S.js";import"./HUGSUHUS.js";import"./HI22DNMY.js";import"./G34Q7TJM.js";import"./3JD63F7T.js";import"./JYWE3FW3.js";import"./CN3J2G3C.js";import"./LTJSFNKZ.js";import"./3CSHLMXQ.js";import"./K6NZM7HU.js";import{a as r}from"./LQ36TGXF.js";import"./YMAN7MIN.js";var n=":host{display:block;border:thin solid #DDD;margin:0.5rem 0}tr:nth-child(even){background-color:#f3f3f3}th,td{padding:0.8rem 1rem}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}td.loading{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite}tbody tr.active-row{font-weight:bold;color:#009879}",p=n,c=class{constructor(t){m(this,t),this.isLoading=!0,this.entityId=null,this.metadata=[],this.entity={}}metadataUpdated(t){console.log("ArcGISHubMetadataList: metadata",t),t&&(this.metadata=JSON.parse(t))}entityIdUpdated(t){t&&this.fetchEntity(t)}lookup(t,d){let a=r(d,t.element),e=a;if(a!==null)switch(t.format){case"datetime":{e=new Date(a).toISOString();break}case"array":{Array.isArray(a)&&(e=a.join(", "));break}}return e}async fetchEntity(t){this.entity=await o(t),this.isLoading=!1,console.log("ArcGISHubMetadataList: fetchEntity",[this.entity.title,this.entity.title,this.metadata,this.entity])}componentWillLoad(){this.fetchEntity(this.entityId)}render(){return i(s,{key:"9410d8786e14705815c26658cd30a790e8538960","data-element":"metadata-list"},i("slot",{key:"4df11a4e02585eeb08a1b8080873dc0e1d328b5c"}),i("table",{key:"48e6201deb821f4c6b806a4b5445c5a1e301e7b7"},this.metadata.map(t=>i("tr",{key:t.label},i("td",null,t.label),i("td",null,this.isLoading?"Lame Loading State \u{1F92E}...":this.lookup(t,this.entity))))))}static get watchers(){return{metadata:["metadataUpdated"],entityId:["entityIdUpdated"]}}};c.style=p;export{c as arcgis_hub_metadata_list};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{a as n,b as p}from"./2YWWSACV.js";import{a as u,b as i}from"./G74DAJPD.js";import{p as o}from"./ZWQSJFDX.js";async function w(s,a,e){let t=o(s),r;switch(t){case"event":r=await n(a,s,e);break;default:r=s,await i(s.id,a,e.requestOptions,s.owner);break}return r}async function f(s,a,e){let t=o(s),r;switch(t){case"event":r=await p(a,s,e);break;default:r=s,await u(s.id,a,e.requestOptions,s.owner);break}return r}export{w as a,f as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{f as d,g}from"./QQ7ICBCL.js";var M=(e,o,s)=>{let c=e.get(o);c?c.includes(s)||c.push(s):e.set(o,[s])},O=(e,o)=>{let s;return(...c)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...c)},o)}},_=e=>!("isConnected"in e)||e.isConnected,w=O(e=>{for(let o of e.keys())e.set(o,e.get(o).filter(_))},2e3),T=()=>{if(typeof d!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:o=>{let s=d();s&&M(e,o,s)},set:o=>{let s=e.get(o);s&&e.set(o,s.filter(g)),w(e)},reset:()=>{e.forEach(o=>o.forEach(g)),w(e)}}},l=e=>typeof e=="function"?e():e,U=(e,o=(s,c)=>s!==c)=>{let s=l(e),c=new Map(Object.entries(s??{})),i={dispose:[],get:[],set:[],reset:[]},h=()=>{var t;c=new Map(Object.entries((t=l(e))!==null&&t!==void 0?t:{})),i.reset.forEach(n=>n())},E=()=>{i.dispose.forEach(t=>t()),h()},a=t=>(i.get.forEach(n=>n(t)),c.get(t)),p=(t,n)=>{let r=c.get(t);o(n,r,t)&&(c.set(t,n),i.set.forEach(f=>f(t,n,r)))},x=typeof Proxy>"u"?{}:new Proxy(s,{get(t,n){return a(n)},ownKeys(t){return Array.from(c.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(t,n){return c.has(n)},set(t,n,r){return p(n,r),!0}}),u=(t,n)=>(i[t].push(n),()=>{P(i[t],n)});return{state:x,get:a,set:p,on:u,onChange:(t,n)=>{let r=u("set",(y,C)=>{y===t&&n(C)}),f=u("reset",()=>n(l(e)[t]));return()=>{r(),f()}},use:(...t)=>{let n=t.reduce((r,f)=>(f.set&&r.push(u("set",f.set)),f.get&&r.push(u("get",f.get)),f.reset&&r.push(u("reset",f.reset)),f.dispose&&r.push(u("dispose",f.dispose)),r),[]);return()=>n.forEach(r=>r())},dispose:E,reset:h,forceUpdate:t=>{let n=c.get(t);i.set.forEach(r=>r(t,n,n))}}},P=(e,o)=>{let s=e.indexOf(o);s>=0&&(e[s]=e[e.length-1],e.length--)},R=(e,o)=>{let s=U(e,o);return s.use(T()),s},V=R({context:null,site:null,notices:[],urlState:{}});export{V as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{a as r}from"./V4KRDK5L.js";var c=async o=>{try{await navigator.clipboard.writeText(o)}catch{r.error("Unable to copy to clipboard")}};export{c as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{a as D}from"./OTEUSWDL.js";import{a as j}from"./VOSMUWAS.js";import{e as n,f as c}from"./SXQHBFDG.js";import{c as p,d as m,h as S,j as U,l as C}from"./GDGZ2H46.js";import{b as d}from"./ISEOUG4D.js";import{l as E}from"./W2LLXJ25.js";import{d as K}from"./UNRDUBEM.js";import{l as g,s as f,x as w,y as l}from"./WTXVZBB5.js";import{a as v}from"./G3VYMZVR.js";import{a as y}from"./JYWE3FW3.js";import{i as b}from"./ZWQSJFDX.js";import{a as u}from"./LQ36TGXF.js";function P(){let t=p();t.push({entityKey:"permissions",storeKey:"data.permissions"}),t.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),t.push({entityKey:"size",storeKey:"item.size"});let e=t.findIndex(s=>s.entityKey==="view");return e>-1?t[e].storeKey="item.properties.view":t.push({entityKey:"view",storeKey:"item.properties.view"}),t}function k(t,e,s,a={}){let r;s.authentication&&(r=s.authentication.token),e=m(t.item,e);let o=d(t.item,s,r);if(e.thumbnailUrl=o,e.links={self:v(e.id,s),siteRelative:g(e.type,e.slug||e.id,e.typeKeywords),siteRelativeEntityType:g(e.type),workspaceRelative:K("content",e.id),thumbnail:o,contentEditUrl:w(t.item,s)},e.licenseInfo=t.item.licenseInfo||"",e.schedule=a.schedule,e.extendedProps=j(e.url)?R(t.item,a,s):x(t.item,a,s),a.server){e.serverQueryCapability=c(n.QUERY,a.server),e.serverExtractCapability=c(n.EXTRACT,a.server);let i=u(a,"server.supportedExportFormats");e.serverExtractFormats=i&&i.split(",")}return a.metadata&&(e.additionalResources=f(t.item,a.metadata,s)),e}function R(t,e,s){let a=I(t,e,s),r=Object.assign(Object.assign({},a),{kind:"service"});if(e.server){r.server=e.server,r.serverQueryCapability=c(n.QUERY,e.server),r.serverExtractCapability=c(n.EXTRACT,e.server);let o=u(e,"server.supportedExportFormats");r.serverExtractFormats=o&&o.split(",")}return r}function x(t,e,s){let a=I(t,e,s);return Object.assign(Object.assign({},a),{kind:"content"})}function I(t,e,s){return{kind:null,metadata:e.metadata,additionalResources:f(t,e.metadata,s),downloads:u(t,"properties.downloads")}}function Z(t,e,s,a={}){let o=new E(P()).storeToEntity(t,a);return k(t,o,e,s)}var T=async(t,e)=>{let s=await fetch(l(t,e)),a=await s.json();if(!s.ok||a.statusCode===404)return{message:`Download schedule not found for item ${t}`,statusCode:404,schedule:null};if(a.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${t}`,statusCode:200};switch(delete a.itemId,a.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},a),{mode:"scheduled"}),message:`Download schedule found for item ${t}`,statusCode:200}}},_=async(t,e,s)=>{let a=y(e);a.mode!=="manual"&&delete a.mode;let r=l(t,s),o={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},a),{itemId:t}))},i=await fetch(r,o);return Object.assign(Object.assign({},await i.json()),{statusCode:i.status})},A=async(t,e)=>{let s=l(t,e),r=await fetch(s,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await r.json()),{statusCode:r.status})},q=async(t,e)=>{let s=await T(t.id,e);return t.schedule.mode==="automatic"&&s.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:D(t.schedule,s.schedule)?{message:"No action needed as schedules deepEqual each other."}:t.schedule.mode==="automatic"?await A(t.id,e):await _(t.id,t.schedule,e)},ee=(t,e)=>{var s,a;let r=(s=t.authentication)===null||s===void 0?void 0:s.token;return((a=t.portal)===null||a===void 0?void 0:a.includes("arcgis.com"))&&e==="public"&&!!r};function te(){let t=p();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"catalog",storeKey:"data.catalog"}),t}var F="Discussion",h=1.1,se={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalog:{schemaVersion:0},schemaVersion:h,isDiscussable:!0},ae={item:{type:F,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:h}},data:{catalog:{schemaVersion:0},prompt:""}};function M(t){if(t.schemaVersion>=1.1)return t;let e=y(t),{slug:s,orgUrlKey:a,typeKeywords:r}=S(e.slug||"",e.orgUrlKey||"",e.typeKeywords||[]);return e.slug=s,e.orgUrlKey=a,e.typeKeywords=r,e.schemaVersion=1.1,e}function N(t){return t.schemaVersion===h?t:M(t)}function re(t,e,s){let a;return s.authentication&&(a=s.authentication.token),e=m(t.item,e),e.thumbnailUrl=d(t.item,s,a),e=N(e),e}function H(t,e){return C(t,e)}function oe(t,e,s){var a;let r;return s.authentication&&(r=s.authentication.token),e=m(t.item,e),e.thumbnailUrl=d(t.item,s,r),e.features=U(((a=t.data.settings)===null||a===void 0?void 0:a.features)||{},b),e.links=H(t.item,s),e}function ie(){let t=p();return t.push({entityKey:"previewUrl",storeKey:"item.properties.previewUrl"}),t.push({entityKey:"siteSolutionId",storeKey:"data.siteSolutionId"}),t.push({entityKey:"recommendedTemplates",storeKey:"data.recommendedTemplates"}),t}export{P as a,Z as b,T as c,q as d,ee as e,te as f,se as g,ae as h,re as i,H as j,oe as k,ie as l};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import c from"./TTZPS6IE.js";import b from"./56PUMFPL.js";import a from"./SPD2JJ7P.js";export default $arcgis.t(([,,,,,,,{ua:t},{j:o,k:m},{a:n,b:a,c:l,d:c}])=>{var x=(s,e)=>{if(o(e.series[s])||m(e.series[s]))return n(e.series[s])},u=(s,e,i)=>{(o(i.series[e])||m(i.series[e]))&&a(s,i.series[e])},I=(s,e)=>{if(o(e.series[s])||m(e.series[s]))return l(e.series[s])},V=(s,e,i)=>{(o(i.series[e])||m(i.series[e]))&&c(s,i.series[e])},B=(s,e)=>o(e.series[s])||m(e.series[s])?e.series[s].markerSymbol?.color:void 0,N=(s,e,i)=>{if(o(i.series[e])||m(i.series[e])){let r=i.series[e];r.markerSymbol===void 0&&(r.markerSymbol=t()),r.markerSymbol.color=s}},T=(s,e)=>o(e.series[s])||m(e.series[s])?e.series?.[s]?.markerSymbol?.style:void 0,w=(s,e,i)=>{if(o(i.series[e])||m(i.series[e])){let r=i.series[e];r.markerSymbol===void 0&&(r.markerSymbol=t()),r.markerSymbol.style=s}},z=(s,e)=>o(e.series[s])||m(e.series[s])?e.series?.[s]?.markerSymbol?.size:void 0,A=(s,e,i)=>{if(o(i.series[e])||m(i.series[e])){let r=i.series[e];r.markerSymbol===void 0&&(r.markerSymbol=t()),r.markerSymbol.size=s}},L=(s,e)=>o(e.series[s])||m(e.series[s])?e.series?.[s]?.lineSmoothed??!1:!1,C=s=>{let{smoothed:e,seriesIndex:i,config:r}=s;(o(r.series[i])||m(r.series[i]))&&(r.series[i].lineSmoothed=e)},K=(s,e)=>o(e.series[s])||m(e.series[s])?e.series[s].showArea??!1:!1,j=s=>{let{visible:e,seriesIndex:i,config:r}=s;(o(r.series[i])||m(r.series[i]))&&(r.series[i].showArea=e)},q=(s,e)=>o(e.series[s])||m(e.series[s])?e.series[s].markerVisible??!0:!1,D=s=>{let{visible:e,seriesIndex:i,config:r}=s;(o(r.series[i])||m(r.series[i]))&&(r.series[i].markerVisible=e)},E=(s,e)=>o(e.series[s])||m(e.series[s])?e.series[s].areaColor:void 0,F=(s,e)=>o(e.series[s])||m(e.series[s])?e.series?.[s]?.connectLines:void 0,G=s=>{let{connect:e,seriesIndex:i,config:r}=s;(o(r.series[i])||m(r.series[i]))&&(r.series[i].connectLines=e)},H=(s,e)=>o(e.series[s])||m(e.series[s])?e.series[s].stackNegativeValuesToBaseline??!0:!1,J=s=>{let{stackNegativeValuesToBaseline:e,seriesIndex:i,config:r}=s;(o(r.series[i])||m(r.series[i]))&&(r.series[i].stackNegativeValuesToBaseline=e)};return{a:x,b:u,c:I,d:V,e:B,f:N,g:T,h:w,i:z,j:A,k:L,l:C,m:K,n:j,o:q,p:D,q:E,r:F,s:G,t:H,u:J}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,c)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import"./YMAN7MIN.js";var e={percent:"\u041F\u0440\u043E\u0446\u0435\u043D\u0442",values:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F",standardizedValues:"\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F",count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E",aggregationOfValues:"${ aggregation } \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439",aggregationOfFieldName:"${ aggregation } \u0438\u0437 ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } \u043F\u043E ${ category }",aggrTypeCategory:"${ aggregationType } \u043F\u043E ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } \u043F\u043E ${ category } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } \u0438\u0437 ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } \u0438\u0437 ${ aggregationField } \u043F\u043E ${ category } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } \u0438\u0437 ${ aggregationFields } \u043F\u043E ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } \u043F\u043E ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } \u043F\u043E ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } \u043F\u043E ${ xAxisField } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } \u0438\u0437 ${ aggregationField } \u043F\u043E ${ xAxisField } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } \u0438\u0437 ${ aggregationFields } \u043F\u043E ${ xAxisField }",distributionOfField:"\u0420\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 ${ valueField }",distributionOfFields:"\u0420\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 ${ valueFields }",distributionOfFieldsByCategory:"\u0420\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 ${ valueFields } \u043F\u043E ${ category }",distributionOfFieldsByCategoryAndSplitBy:"\u0420\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 ${ valueFields } \u043F\u043E ${ category } \u0438 ${ splitByField }",xAndY:"${ x } \u0438 ${ y }"},i={barChart:"\u041B\u0438\u043D\u0435\u0439\u0447\u0430\u0442\u0430\u044F \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430",lineChart:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430-\u0433\u0440\u0430\u0444\u0438\u043A",pieChart:"\u041A\u0440\u0443\u0433\u043E\u0432\u0430\u044F \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430",histogram:"\u0413\u0438\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u043C\u0430",scatterplot:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0440\u0430\u0441\u0441\u0435\u044F\u043D\u0438\u044F"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{a as h}from"./SFVA4ZS2.js";import{a as m}from"./YBJGELCY.js";import"./CLBJUY5I.js";import{a as N}from"./EUSAJYXG.js";import{a as R}from"./YJFFAGR3.js";import{c as T}from"./2VWK4OHS.js";import{a as O}from"./QQJ5ZJAP.js";import{a as S,d as I}from"./CWXB7WSV.js";import"./NN4HZVJ2.js";import"./SS5QMXPI.js";import{e as F}from"./HF5YNR2J.js";import"./J6FPRG56.js";import"./NETUHYFV.js";import"./LMUFLRBV.js";import"./RNEN6EAZ.js";import"./NXV7EO2A.js";import"./2SUTMP6Z.js";import"./FHOYV2RT.js";import"./MLW6QNUO.js";import"./BWV2C6NQ.js";import"./TLKHR4VX.js";import"./LDSAB6NP.js";import"./ANG4YFV3.js";import{f as w}from"./CTXORZC2.js";import{i as c}from"./CGOJPL5B.js";import"./FS4KYZ7J.js";import"./I67IRBAT.js";import"./PYKXQIKG.js";import"./O4ZKGGP6.js";import"./O4HX2FYL.js";import{a as E}from"./6NJ3KJ6A.js";import{c as y}from"./36WJAUQ5.js";import"./DARLGMSX.js";import"./JZ7UVITX.js";import"./FTB7I2DO.js";import{a as _}from"./HI37V4DR.js";import{a as b}from"./PINYE7HJ.js";import"./YBPTFCSM.js";import{b as a,c as k,d as L,e as M,h as A,i as D}from"./QQ7ICBCL.js";import"./IWMRLOOZ.js";import"./DCRLJGIW.js";import"./OTEUSWDL.js";import"./UDTFQMAY.js";import"./VOSMUWAS.js";import"./ICBQE45Q.js";import"./UEIBPBWW.js";import"./XEHHJXNL.js";import"./SXQHBFDG.js";import"./DH4SHKA7.js";import"./XKI7AQ4R.js";import"./WMDN7LTM.js";import"./QGDQXC5J.js";import"./UHESR4NN.js";import"./V3IMTIDG.js";import{a as v}from"./A47RADMR.js";import"./GDGZ2H46.js";import"./HTREESNI.js";import"./KHK4EFEJ.js";import"./4TJLOU7F.js";import"./PUYNVU5C.js";import"./MQLLCZVH.js";import"./ELYKSGGV.js";import"./CNA2TTXC.js";import"./6V6GHPY5.js";import"./ISEOUG4D.js";import"./SPBN4CQ2.js";import"./GDSQB4LZ.js";import"./MJC2OHVY.js";import"./ZWERNXYL.js";import"./S7VOW77N.js";import"./XJ6LXQ44.js";import"./D3GHGZJA.js";import"./APPPIYJF.js";import"./37X6XVPL.js";import"./W2LLXJ25.js";import"./UNRDUBEM.js";import"./VIWYSFN5.js";import"./FBXURUFL.js";import"./XHT2KCWN.js";import"./ORJGP3S7.js";import"./RA6DZLA2.js";import"./JIV7KCJJ.js";import"./AZKIA3XI.js";import"./6TCLEVMS.js";import"./VVDJ33EN.js";import"./7VBE5PUK.js";import"./WTXVZBB5.js";import{a as C}from"./KGN7BOZF.js";import"./RGE4KTJL.js";import"./SYTX74V4.js";import"./G3VYMZVR.js";import"./ALIZIODZ.js";import"./DMGBF75S.js";import"./MZABAF5D.js";import"./HUGSUHUS.js";import"./HI22DNMY.js";import"./VMUZMNDT.js";import"./QJV4L3RY.js";import"./G34Q7TJM.js";import"./3JD63F7T.js";import{a as d}from"./JYWE3FW3.js";import"./CN3J2G3C.js";import"./LTJSFNKZ.js";import{o as n}from"./ZWQSJFDX.js";import{a as f}from"./V4KRDK5L.js";import"./3CSHLMXQ.js";import{a as g}from"./K6NZM7HU.js";import{a as u}from"./LQ36TGXF.js";import"./YMAN7MIN.js";var x=d(I);delete x.properties.filters.minItems;var q=e=>({type:"object",properties:{targetEntity:{type:"string",enum:n("hub:feature:gallery-card:enterprise",e).access?["item"]:["item","event"],default:"item"},source:{type:"string",enum:["all","references"],default:"all"},sortField:{type:"string",enum:["numviews","title","created","modified","manual"],default:"numviews"},sortOrder:{type:"string",enum:["asc","desc"],default:"desc"},entityIds:{type:"array",items:{type:"string"},maxItems:1,default:[]},query:x,shouldLimitResults:{type:"boolean",default:!0,enum:[!0,!1]},limit:{type:["integer","null"],minimum:1,maximum:100,default:8},appearance:S,options:{type:"object",properties:{openInNewTab:{type:"boolean",default:!1,enum:[!1,!0]}}}},allOf:[{if:{properties:{source:{const:"references"},entityIds:{type:"array",minItems:1}}},then:{properties:{query:{type:"object",properties:{filters:{type:"array",minItems:0}}}}}},{if:{anyOf:[{properties:{source:{const:"all"}}},{properties:{source:{const:"references"},entityIds:{type:"array",maxItems:0}}}]},then:{properties:{query:{type:"object",properties:{filters:{type:"array",minItems:1}}}}}}]}),G=e=>{let{context:t,targetEntity:i,source:s,hasCatalogSource:o,predicateOptionScopes:r}=e,l=t.hubLicense,p={allowConfig:!0,filters:{max:10,isMinItemsErrorHidden:o,predicates:{categories:Object.assign({},r?.length&&{scope:v(r)}),id:{canReorder:!0}}}};return{type:"Layout",elements:[{type:"Section",label:"{{source.section.label:translate}}",options:{section:"block",open:!0},elements:[{scope:"/properties/targetEntity",label:"{{source.targetEntity.label:translate}}",type:"Control",options:{control:"hub-field-input-tile-select",labels:n("hub:feature:gallery-card:enterprise",t).access?["{{source.targetEntity.item.label:translate}}"]:["{{source.targetEntity.item.label:translate}}","{{source.targetEntity.event.label:translate}}"],disabled:n("hub:feature:gallery-card:enterprise",t).access?[!1]:[!1,l!=="hub-premium"]},rules:[{effect:c.HIDE,conditions:[n("hub:feature:gallery-card:enterprise",t).access]}]},{type:"Notice",options:{notice:{configuration:{id:"gallery-card-edit-license-notice",noticeType:"notice",icon:"lock",closable:!1,kind:"brand",scale:"m"},title:"{{eventsTypeUnavailable.notice.title:translate}}",message:"{{eventsTypeUnavailable.notice.body:translate}}",autoShow:!0,actions:[{label:"{{eventsTypeUnavailable.notice.link:translate}}",ariaLabel:"{{eventsTypeUnavailable.notice.link:translate}}",href:"https://www.esri.com/en-us/arcgis/products/arcgis-hub/purchase-options"}]}},rules:[{effect:c.SHOW,conditions:[!n("hub:feature:gallery-card:enterprise",t).access&&l==="hub-basic"]}]},{scope:"/properties/source",label:"{{source.source.label:translate}}",type:"Control",options:{control:"hub-field-input-tile-select",labels:[n("hub:feature:gallery-card:enterprise",t).access?`{{source.source.org.label.${i}:translate}}`:`{{source.source.all.label.${i}:translate}}`,"{{source.source.references.label:translate}}"],descriptions:[n("hub:feature:gallery-card:enterprise",t).access?`{{source.source.org.description.${i}:translate}}`:`{{source.source.all.description.${i}:translate}}`,`{{source.source.references.description.${i}:translate}}`]}},{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",canReorder:!1,pickerTitle:{label:"{{source.entityIds.label:translate}}"},catalogs:w("source.entityIds","item",n("hub:feature:gallery-card:enterprise",t).access?["myContent","organization"]:["myContent","organization","world"],t,{collectionNames:n("hub:feature:gallery-card:enterprise",t).access?["site"]:["site","project","initiative"]}),facets:T,widthScale:"l"},rules:[{effect:c.SHOW,conditions:[s==="references"]}]},{scope:"/properties/sortField",label:"{{source.sortField.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{source.sortField.numviews.label:translate}}","{{source.sortField.title.label:translate}}","{{source.sortField.created.label:translate}}","{{source.sortField.modified.label:translate}}","{{source.sortField.manual.label:translate}}"],messages:[{type:"CUSTOM",display:"notice",kind:"info",titleKey:"source.sortField.manual.filtersNotice.title",labelKey:"source.sortField.manual.filtersNotice.body",allowShowBeforeInteract:!0,conditions:[{scope:"/properties/sortField",schema:{const:"manual"}}]}]},rules:[{effect:c.SHOW,conditions:[{scope:"/properties/targetEntity",schema:{const:"item"}}]}]},{scope:"/properties/sortOrder",label:"{{source.sortOrder.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{source.sortOrder.asc.label:translate}}","{{source.sortOrder.desc.label:translate}}"]},rules:[{effect:c.SHOW,conditions:[{scope:"/properties/targetEntity",schema:{const:"item"}}]},{effect:c.HIDE,conditions:[{scope:"/properties/sortField",schema:{const:"manual"}}]}]},{scope:"/properties/shouldLimitResults",label:"{{source.shouldLimitResults.label:translate}}",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:"{{source.shouldLimitResults.helperText:translate}}"}}},{scope:"/properties/limit",label:"{{source.limit.label:translate}}",type:"Control",options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"minimum",icon:!0,label:"{{source.limit.minimumError:translate}}"},{type:"ERROR",keyword:"maximum",icon:!0,label:"{{source.limit.maximumError:translate}}"}]},rules:[{effect:c.SHOW,conditions:[{scope:"/properties/shouldLimitResults",schema:{const:!0}}]}]}]},{type:"Section",label:"{{query.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/query",type:"Control",options:{control:"arcgis-hub-query-builder",targetEntity:i,uiOptions:p}}]},{type:"Section",label:"{{appearance.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/appearance",type:"Control",options:{control:"arcgis-hub-gallery-appearance-builder",visibleSections:["layout","cards"],targetEntity:i}}]},{type:"Section",label:"{{options.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/options/properties/openInNewTab",label:"{{options.openInNewTab.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{options.openInNewTab.sameTab.label:translate}}","{{options.openInNewTab.newTab.label:translate}}"]}},{type:"Notice",options:{notice:{configuration:{id:"gallery-card-open-in-notice",noticeType:"notice",closable:!1,kind:"brand",scale:"m"},title:"{{options.openInNewTab.notice.title:translate}}",message:"{{options.openInNewTab.notice.body:translate}}",autoShow:!0,actions:[{label:"{{options.openInNewTab.notice.link:translate}}",ariaLabel:"{{options.openInNewTab.notice.linkAriaLabel:translate}}",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}},P=":host{display:block}",W=P,j=function(e,t,i,s){var o=arguments.length,r=o<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(r=(o<3?l(r):o>3?l(t,i,r):l(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},H=class{get _schema(){return q(this._context)}get _context(){return y()}constructor(e){D(this,e),this.arcgisHubGalleryCardEditorChange=M(this,"arcgisHubGalleryCardEditorChange",7),this._entityIds=[],this.translationFunc=(t,i,s)=>this._intl.t(t,i,s),this.values=void 0,this.targetEntity=void 0,this._values=void 0,this._predicateOptionScopes=[],this._showResetModal=!1,this._resetCause=null,this._resetFields=[],E(this,"handleEditorChange","handleCancelResetFields","handleAcceptResetFields","handleResetFieldsModalClose")}async init(){var e,t,i;this._targetEntity=((e=this.values)===null||e===void 0?void 0:e.targetEntity)||this.targetEntity||"item",this._source=((t=this.values)===null||t===void 0?void 0:t.source)||"all",this._values=this.values,this._entityIds=((i=this._values)===null||i===void 0?void 0:i.entityIds)||[],this._predicateOptionScopes=await this.fetchPredicateOptionScopes()}async componentWillLoad(){this._intl=await _.loadIntlForComponent(this.element),this.init()}get _uiSchema(){return R(this._intl,G({context:this._context,targetEntity:this._targetEntity,source:this._source,hasCatalogSource:this._hasCatalogsSource,predicateOptionScopes:this._predicateOptionScopes}))}get _hasCatalogsSource(){var e;return this._source==="references"&&((e=this._entityIds)===null||e===void 0?void 0:e.length)>0}clearResetState(){this._showResetModal=!1,this._resetCause=null,this._resetFields=[]}handleResetFieldsModalClose(){this.clearResetState()}handleCancelResetFields(){this._values=d(this._values),this._proposedChangeEvent=null,this.clearResetState()}async handleAcceptResetFields(){let e=h(),t=this._proposedChangeEvent.detail.values,i={query:{targetEntity:t.targetEntity,filters:[]},"appearance.layout":u(e,"appearance.layout"),"appearance.layouts":g(e,"appearance.layouts",[])};this._resetFields.forEach(s=>{C(s,i[s],t)}),await this.commitEditorChanges(this._proposedChangeEvent),this._proposedChangeEvent=null,this.clearResetState()}async fetchPredicateOptionScopes(){var e;if(this._targetEntity!=="item")return[];let t={targetEntity:"item",filters:[{predicates:[]}]};if(this._source!=="references")return[t];if(!(!((e=this._entityIds)===null||e===void 0)&&e.length))return[t];try{let s=(await Promise.all(this._entityIds.map(o=>this.fetchCatalog(o,this._context)))).filter(o=>N(this._targetEntity,o)).map(o=>o.scopes[this._targetEntity]);return s.length?s:[t]}catch(i){return f.error("Error fetching catalog scopes for entityIds:",this._entityIds,i),[t]}}async fetchCatalog(e,t){return(await F.init(e,t)).toJson()}hasFiltersConfigured(e){return!!u(e,"query.filters[0].predicates.length")}willRequireFieldsReset(e){if(this._targetEntity!==e.targetEntity){let i=[];this.hasFiltersConfigured(e)&&i.push("query");let s=u(e,"appearance.layout"),o=u(h(),"appearance.layout");s!==o&&i.push("appearance.layout");let r=u(e,"appearance.layouts")||[],l=u(h(),"appearance.layouts")||[];return(r.length!==l.length||r.some(p=>!l.includes(p)))&&i.push("appearance.layouts"),{resetCause:i.length?"targetEntity":null,resetFields:i}}let t=this.hasFiltersConfigured(e)?this.willRequirePredicateOptionScopesRefresh(e):null;return t?{resetCause:t,resetFields:["query"]}:{resetCause:null,resetFields:[]}}willRequirePredicateOptionScopesRefresh(e){return e.targetEntity!==this._targetEntity?"targetEntity":e.targetEntity==="item"&&this._source!==e.source?"source":e.targetEntity==="item"&&e.source==="references"&&m(e.entityIds,this._entityIds)?"entityIds":null}async handleEditorChange(e){e.stopPropagation();let{values:t}=e.detail;t.targetEntity=t.targetEntity||this._targetEntity,t.source=t.source||this._source;let{resetCause:i,resetFields:s}=this.willRequireFieldsReset(t);if(i){this._proposedChangeEvent=e,this._showResetModal=!0,this._resetCause=i,this._resetFields=s;return}await this.commitEditorChanges(e)}async commitEditorChanges(e){let t=e.detail.values,i=this.willRequirePredicateOptionScopesRefresh(t);t.targetEntity!==this._targetEntity&&(this._targetEntity=t.targetEntity),t.source!==this._source&&(this._source=t.source),m(t.entityIds,this._entityIds)&&(this._entityIds=t.entityIds||[]),i&&(this._predicateOptionScopes=await this.fetchPredicateOptionScopes()),this._values=b(d(this._values||{}),d(t)),this.arcgisHubGalleryCardEditorChange.emit({values:this._values,valid:e.detail.valid})}get showEditAccessDeniedNotice(){return this._targetEntity==="event"&&y().hubLicense!=="hub-premium"}renderEditAccessDeniedNotice(){let e={id:"gallery-card-editor-access-denied",dismissable:!1,configuration:{noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:this._intl.t("editAccessDeniedNotices.events.title"),message:this._intl.t("editAccessDeniedNotices.events.body"),actions:[{label:this._intl.t("editAccessDeniedNotices.events.link"),ariaLabel:this._intl.t("editAccessDeniedNotices.events.link"),href:"https://www.esri.com/en-us/arcgis/products/arcgis-hub/purchase-options"}]};return a("arcgis-hub-notice",{notice:e})}renderResetFieldsModal(){return a("arcgis-wormhole",null,a("calcite-dialog",{"close-disabled":!0,"escape-disabled":!0,heading:this._intl.t("resetFieldsModal.title"),modal:!0,onCalciteDialogClose:this.handleResetFieldsModalClose,open:this._showResetModal,"outside-close-disabled":!0,"width-scale":"s"},a("div",null,this._intl.t(`resetFieldsModal.${this._resetCause==="targetEntity"?"targetEntityBody":"sourceBody"}`)),a("ul",null,this._resetFields.map(e=>a("li",{key:e},this._intl.t(`resetFieldsModal.fields.${e}`)))),a("div",null,this._intl.t("resetFieldsModal.endQuestion")),a("calcite-button",{appearance:"outline",onClick:this.handleCancelResetFields,round:!0,slot:"footer-end"},this._intl.t("resetFieldsModal.cancel")),a("calcite-button",{onClick:this.handleAcceptResetFields,round:!0,slot:"footer-end"},this._intl.t("resetFieldsModal.confirm"))))}render(){return a(k,{key:"3d1522530d515ef7f5b95b2b97d565daa84e7784","data-element":"gallery-card-editor"},this.showEditAccessDeniedNotice?this.renderEditAccessDeniedNotice():a(A,null,a("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChange,onArcgisConfigurationEditorInitialized:this.handleEditorChange,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this._values}),this.renderResetFieldsModal()))}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{values:["init"]}}};j([O("_context","_targetEntity","_source","_hasCatalogsSource","_predicateOptionScopes")],H.prototype,"_uiSchema",null);H.style=W;export{H as arcgis_hub_gallery_card_editor};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{b as c}from"./72MESGYE.js";import{c as a}from"./FK7TXIOY.js";import{b as r}from"./QQ7ICBCL.js";export default $arcgis.t(([])=>{var G={extent:"default"},l=a.polygon.color,p={type:"simple-fill",color:[...l,.005],style:"solid",outline:{color:l,width:1}},y={type:"simple-marker",style:"circle",color:[...l,.5],size:"8px",outline:{color:l,width:1}},f={type:"simple-line",color:l,width:"2px",style:"solid"},R=t=>{let o;switch(t){case"point":o=y;break;case"polyline":o=f;break;default:o=p}return o},m={color:"#00ffff",haloOpacity:.8,fillOpacity:0},h={color:"#00ffff",haloOpacity:.8,fillOpacity:.15},w=t=>t==="hover"?m:h,u={type:"extent",xmin:-200375083427892e-7,ymin:-200375083427892e-7,xmax:200375083427892e-7,ymax:200375083427892e-7,spatialReference:{wkid:102100}},C=t=>{t.constraints.minZoom=2,t.constraints.geometry=u},O=t=>c(t.extent),N=(t,o,n=O)=>{if((t.type==="point"||t.type==="polyline")&&(o.type==="point"||o.type==="polyline"))return 0;if(t.type==="point"||t.type==="polyline")return 1;if(o.type==="point"||o.type==="polyline")return-1;try{let e=Math.abs(n(t)),i=Math.abs(n(o));if(e<i)return 1;if(e>i)return-1;if(e===i)return 0}catch{return 0}},A=t=>{t.closePopup()},D=({checked:t,class:o,ref:n,label:e,onChange:i,scale:s="m"})=>r("div",{class:o,ref:n},r("calcite-label",{class:"checkbox-label",layout:"inline",scale:s},r("calcite-checkbox",{checked:t,onCalciteCheckboxChange:i,scale:s}),e));return{a:G,b:R,c:w,d:C,e:N,f:A,g:D}},"config")
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{e as p}from"./HF5YNR2J.js";import{C as u}from"./DH4SHKA7.js";import{k as a}from"./JYWE3FW3.js";function b(i){let o={owner:[],member:[],admin:[]};return(i.groups||[]).forEach(r=>{var n,t,m;((n=r.userMembership)===null||n===void 0?void 0:n.memberType)==="owner"&&o.owner.push(r.id),((t=r.userMembership)===null||t===void 0?void 0:t.memberType)==="admin"&&o.admin.push(r.id),((m=r.userMembership)===null||m===void 0?void 0:m.memberType)==="member"&&!r.isViewOnly&&o.member.push(r.id)}),o}function l(i,o){let e={owner:[],member:[],admin:[]},r=u("group",i),n=b(o);if(r.length){let t=["owner","admin","member"];r.forEach(m=>{t.forEach(s=>{n[s].includes(m)&&e[s].push(m)})})}else e=n;return e}function y(i,o){let e={owner:[],member:[],admin:[]},r=p.fromJson(i,o),n=r.collectionNames.map(s=>{let c=r.getCollection(s);return l(c.scope,o.currentUser)});return[...Object.keys(i.scopes).reduce((s,c)=>((i.collections||[]).some(d=>d.targetEntity===c)||s.push(c),s),[]).map(s=>{let c=r.getScope(s);return l(c,o.currentUser)}),...n].forEach(s=>{e.owner=[...e.owner,...s.owner],e.member=[...e.member,...s.member],e.admin=[...e.admin,...s.admin]}),e.owner=e.owner.filter(a),e.member=e.member.filter(a),e.admin=e.admin.filter(a),e}export{b as a,l as b,y as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.5/esri/copyright.txt for details.
|
|
3
|
+
v0.5.0 */
|
|
4
|
+
import{a as Xe}from"./XKI7AQ4R.js";import{a as fe}from"./WMDN7LTM.js";import{a as he,b as et}from"./QGDQXC5J.js";import{b as tt}from"./UHESR4NN.js";import{H as L,I as U,R as ze,T as de,U as Ke,V as We,W as Je,X as Ye,Y as Ze}from"./V3IMTIDG.js";import{i as le}from"./GDGZ2H46.js";import{a as He,b as Qe}from"./PUYNVU5C.js";import{a as ae,c as ie,d as oe}from"./ELYKSGGV.js";import{a as F}from"./GDSQB4LZ.js";import{a as y}from"./ZWERNXYL.js";import{a as k}from"./D3GHGZJA.js";import{c as at,d as it,f as ot}from"./APPPIYJF.js";import{a as j,b as N,c as $,d as me,e as q,f as V,g as H,h as Q,i as nt,j as st,p as rt}from"./37X6XVPL.js";import{h as ue,j as Le}from"./W2LLXJ25.js";import{d as Ve}from"./UNRDUBEM.js";import{a as ke,c as ce}from"./VIWYSFN5.js";import{c as _,e as Ge,f as Me,i as A,k as xe,m as B,o as S,p as Fe,q as P,r as Be}from"./FBXURUFL.js";import{e as M,f as Ne,g as $e,h as se,n as x,o as qe}from"./ORJGP3S7.js";import{a as Re}from"./RA6DZLA2.js";import{a as Ce}from"./JIV7KCJJ.js";import{i as ne}from"./AZKIA3XI.js";import{a as E}from"./6TCLEVMS.js";import{a as C}from"./VVDJ33EN.js";import{l as Ue}from"./WTXVZBB5.js";import{a as _e}from"./KGN7BOZF.js";import{a as te}from"./ALIZIODZ.js";import{b as re}from"./QJV4L3RY.js";import{b as Ie}from"./3JD63F7T.js";import{a as G,k as v}from"./JYWE3FW3.js";import{h as Pe}from"./CN3J2G3C.js";import{n as ee}from"./ZWQSJFDX.js";import{a as je}from"./K6NZM7HU.js";import{a as D}from"./LQ36TGXF.js";function Pt(e){return re(e,"user")}function jt(e){return re(e,"communityUser")}var pe=class extends Qe{constructor(t,n,s,a){super(t,n,s),this.error=a}};function ht(e){let{token:t,authentication:n}=e,s=()=>Promise.resolve(t);return n&&(s=n.getToken.bind(n,n.portal)),s()}function ft(e,t,n,s){var a;let r=e,i=new Headers(t.headers);i.append("Content-Type","application/json"),s&&i.append("Authorization",`Bearer ${s}`);let o={headers:i,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},l=He({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${n}`});if(t.data)if(t.httpMethod==="GET"){let g=new URLSearchParams(t.data).toString();r+=`?${g}`}else o.body=JSON.stringify(t.data);let d=["/posts","/posts/search"].includes(e)&&(((a=t.data)===null||a===void 0?void 0:a.f)===B.CSV||i.get("Accept")==="text/csv"),f=[l.replace(/\/$/,""),r.replace(/^\//,"")].join("/");return fetch(f,o).then(g=>{if(g.ok)return d?g.text():g.json();{let{statusText:m,status:c}=g;return g.json().then(p=>{throw new pe(m,f,c,JSON.stringify(p.message))})}})}function O(e,t){return ht(t).then(n=>ft(e,t,"v1",n))}function b(e,t){return ht(t).then(n=>ft(e,t,"v2",n))}function It(e,t){return`${te(t)}/home/group.html?id=${e}`}function Rt(e,t){let n;return t.authentication&&(n=t.authentication.token),{self:It(e.id,t),siteRelative:`/groups/${e.id}`,siteRelativeEntityType:Ue("Group"),workspaceRelative:Ve("Group",e.id),thumbnail:$e(t.portal,e,n)}}function Ct(e,t){let{api:n,requestOptions:{isPortal:s}}=t;return s?!1:e==="discussionPost"?!0:e==="item"&&n==="hub"}function _t(e,t){let{requestOptions:{isPortal:n}}=t;return(e==="channel"||e==="post")&&!n}function Ut(e,t){let{requestOptions:{isPortal:n}}=t;return["event","eventAttendee"].includes(e)&&!n}function Nt(e,t){let n="portal";return(_t(e,t)||Ut(e,t)||Ct(e,t))&&(n="hub"),n}function $t(e,t){return Xe(e,{},t)}var qt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichUserOrg");if(t.user.orgId){let r=Object.assign(Object.assign({},s),{portal:`${Re(s.portal)}/sharing/rest`});return F(t.user.orgId,r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{org:i}),stack:n,requestOptions:s})).catch(i=>Gt(i,e,a))}else return n.finish(a),Promise.resolve({data:Object.assign(Object.assign({},t),{org:null}),stack:n,requestOptions:s})},Gt=(e,t,n)=>{let{data:s,stack:a,requestOptions:r}=t;return a.finish(n,{error:e}),{data:Object.assign(Object.assign({},s),{errors:oe(e,s.errors)}),stack:a,requestOptions:r}},Mt={org:qt};function xt(e,t,n){let s=t.reduce((r,i)=>{let o=Mt[i];return o&&r.push(o),r},[]);return ie(s)({data:{user:e},stack:new ae,requestOptions:n}).then(r=>r.data)}async function Ft(e,t,n){var s,a,r;t.settings=n.userHubSettings;let o=await C(Bt,{})(n),d=await C(Ce,{})(n.requestOptions);return t.hubOrgSettings={showInformationalBanner:!!(!((r=(a=(s=d.portalProperties)===null||s===void 0?void 0:s.hub)===null||a===void 0?void 0:a.settings)===null||r===void 0)&&r.informationalBanner),enableTermsAndConditions:!!o.termsAndConditions,termsAndConditions:o.termsAndConditions,enableSignupText:!!o.signupText,signupText:o.signupText},t}function Bt(e){let t=`${Ie(e.requestOptions)}/portals/self/signinSettings`,n=Object.assign(Object.assign({},e.requestOptions),{httpMethod:"GET"});return Pe(t,n)}function ge(e,t){return`${te(t)}/home/user.html?user=${e}`}var mt=e=>{let t=Object.prototype.hasOwnProperty.call(e,"description")?e.description:void 0;return{access:e.access,id:e.username,name:e.fullName,description:t,summary:t,createdDate:new Date(e.created),createdDateSource:"user.created",orgId:e.orgId,owner:e.username,updatedDate:new Date(e.modified),updatedDateSource:"user.modified",tags:e.tags,thumbnail:e.thumbnail,type:"User",typeKeywords:[],links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:null}}};async function pt(e,t,n){var s;let a=mt(e),r=Object.assign(Object.assign({},a),{family:"people",rawResult:e});e.memberType&&(r.memberType=e.memberType,r.isGroupOwner=e.isGroupOwner);let i=t.filter(v).map(le),o=ee("enrichment",i).filter(v),l={};o.length&&(l=await xt(e,o,n)),i.forEach(f=>{r[f.prop]=D(l,f.path)});let d=(s=n.authentication)===null||s===void 0?void 0:s.token;return e.thumbnail&&(r.links.thumbnail=se(n.portal,e,d)),r.links.self=ge(r.id,n),r.links.siteRelative=n.isPortal?ge(r.id,n):`/people/${r.id}`,r}var as=async(e,t)=>{let n=e==="self"?t.currentUser:await E(Object.assign(Object.assign({},t.hubRequestOptions),{username:e})),s=mt(n);return s=await Ft(n,s,t),s};async function kt(e,t){let n;if(e.filters.forEach(r=>{r.predicates.forEach(i=>{let o=D(i,"group");Array.isArray(o)?n=o[0]:typeof o=="string"?n=o:typeof o=="object"&&(n=D(o,"any[0]")||D(o,"all[0]"))})}),!n)throw new y("portalSearchGroupMembers","Group Id required. Please pass as a predicate in the query.");e.filters=e.filters.map(r=>{let i=["name","memberType","joined"];return r.predicates=r.predicates.map(o=>(o.term&&(o.name=o.term,delete o.term),o)).map(o=>$t(o,i)).filter(o=>Object.entries(o).length>0).map(M),r});let s=L(e);return["num","sortField","sortOrder","include","start"].forEach(r=>{Object.prototype.hasOwnProperty.call(t,r)&&(s[r]=t[r])}),s.groupId=n,s.requestOptions=t.requestOptions,gt(s)}async function gt(e){let t=Object.assign(Object.assign({},e),e.requestOptions),n=await ce(e.groupId,t),s=r=>Lt(Object.assign(Object.assign({},r),{isGroupOwner:n.owner.username===r.username}),e.include,e.requestOptions),a=await Promise.all(n.users.map(s));return{total:n.total,results:a,hasNext:n.nextStart>-1,next:U(e,n.nextStart,n.total,gt)}}async function Lt(e,t=[],n){let s={username:e.username,memberType:e.memberType||"member",access:"private",fullName:null,firstName:null,lastName:null,description:null,orgId:null,groups:[],tags:[],thumbnail:null,created:null,modified:null,isGroupOwner:e.isGroupOwner},r=await C(E,s)({username:e.username,authentication:n.authentication,portal:n.portal});return Object.keys(s).forEach(i=>{Object.prototype.hasOwnProperty.call(r,i)&&r[i]!==""&&_e(i,r[i],s)}),pt(s,["org.name as OrgName",...t],n)}var Vt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupContentCount"),r=Object.assign({groupId:t.group.id,num:1},s);return et(r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{contentCount:i.total}),stack:n,requestOptions:s})).catch(i=>Se(i,e,a))},Ht=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupMembershipSummary"),r=Object.assign({num:3},s);return ce(t.group.id,r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{membershipSummary:{total:i.total,users:i.users}}),stack:n,requestOptions:s})).catch(i=>Se(i,e,a))},Qt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupUserMembership");return ke(t.group.id,s).then(r=>(n.finish(a),{data:Object.assign(Object.assign({},t),{membershipAccess:r.membershipAccess,userMembership:D(r,"userMembership.memberType")}),stack:n,requestOptions:s})).catch(r=>Se(r,e,a))},Se=(e,t,n)=>{let{data:s,stack:a,requestOptions:r}=t;return a.finish(n,{error:e}),{data:Object.assign(Object.assign({},s),{errors:oe(e,s.errors)}),stack:a,requestOptions:r}},zt={membershipSummary:Ht,contentCount:Vt,userMembership:Qt};function Kt(e,t,n){let s=t.reduce((r,i)=>{let o=zt[i];return o&&r.push(o),r},[]);return ie(s)({data:{group:e},stack:new ae,requestOptions:n}).then(r=>r.data)}async function Wt(e,t,n){let s={access:e.access,id:e.id,type:"Group",name:e.title,owner:e.owner,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"group.created",updatedDate:new Date(e.modified),updatedDateSource:"group.modified",family:"team",links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},rawResult:e};s.isSharedUpdate=(e.capabilities||[]).includes("updateitemcontrol"),s.membershipAccess=e.membershipAccess,s.isOpenData=!!e.isOpenData,t=[...[],...t].filter(v);let r=t.map(le),i=ee("enrichment",r).filter(v),o={};return i.length&&(o=await Kt(e,i,n)),r.forEach(l=>{s[l.prop]=D(o,l.path)}),s.links=Rt(e,n),s}async function Jt(e,t){if(!t.requestOptions)throw new y("portalSearchGroups","options.requestOptions is required.");e.filters=e.filters.map(a=>(a.predicates=a.predicates.map(M),a));let n=L(e);return["num","sortField","sortOrder","include","start","httpMethod","requestOptions"].forEach(a=>{Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a])}),t.requestOptions.authentication?n.authentication=t.requestOptions.authentication:n.portal=t.requestOptions.portal,Ot(n)}async function Ot(e){let t=await he(e),n=a=>Yt(a,e.include,e.requestOptions),s=await Promise.all(t.results.map(n));return{total:t.total,results:s,hasNext:t.nextStart>-1,next:U(e,t.nextStart,t.total,Ot),executedQuerySize:x(e.q)}}async function Yt(e,t=[],n){return Wt(e,t,n)}function ve(e,t,n){if(!t.requestOptions)throw new y(n,"requestOptions: IHubRequestOptions is required.");if(!t.requestOptions.authentication)throw new y(n,"requestOptions must pass authentication.");let s=G(e);s.filters=s.filters.map(i=>(i.predicates=i.predicates.map(M),i));let a=L(s);return["num","sortField","sortOrder","include","start","requestOptions"].forEach(i=>{Object.prototype.hasOwnProperty.call(t,i)&&(a[i]=t[i])}),a.authentication=t.requestOptions.authentication,a}function Zt(e,t){let n=ve(e,t,"searchPortalUsersLegacy");return ye(Object.assign(Object.assign({},n),{include:["org.name as OrgName",...n.include||[]]}))}function Xt(e,t){let n=ve(e,t,"searchPortalUsers");return ye(n)}function en(e,t){let n=ve(e,t,"searchCommunityUsers");return St(n)}function bt(e,t){let n=s=>tn(s,e.include,e.requestOptions);return Promise.all(t.results.map(n))}async function ye(e){let t=await Pt(e),n=await bt(e,t);return{total:t.total,results:n,hasNext:t.nextStart>-1,next:U(e,t.nextStart,t.total,ye),executedQuerySize:x(e.q)}}async function St(e){let t=await jt(e),n=await bt(e,t);return{total:t.total,results:n,hasNext:t.nextStart>-1,next:U(e,t.nextStart,t.total,St),executedQuerySize:x(e.q)}}function tn(e,t=[],n){return pt(e,t,n)}function nn(e){let t=e.aggregations.aggregations.map(n=>({mode:"terms",field:n.field,values:n.aggregations.map(s=>({value:s.label,count:s.value}))}));return{total:0,results:[],hasNext:!1,next:()=>null,aggregations:t}}function sn(e,t){let n=`terms(fields=(${t.aggFields.join()}))`,s=Ke(e),a=Je(e),r=We(e),i=D(t,"requestOptions.authentication.token");return{aggregations:n,bbox:a,filter:s,q:r,token:i}}async function rn(e,t){let n=`${de(e,t)}/aggregations`,s=sn(e,t),a=await Ye(n,s,t);return nn(a)}async function ct(e,t){var n;let s=qe(e);if(!((n=t.aggFields)===null||n===void 0)&&n.length)return rn(s,t);let a=`${de(s,t)}/items`;return Ze(a,s,t)}var Oe=e=>e.reduce((t,n)=>typeof n=="object"&&n!==null&&"not"in n?Object.assign(Object.assign({},t),{notIds:[...t.notIds,...Array.isArray(n.not)?n.not:[n.not]]}):typeof n=="string"?Object.assign(Object.assign({},t),{ids:[...t.ids,n]}):t,{ids:[],notIds:[]});function De(e){return e.reduce((t,n)=>n.predicates.reduce((s,a)=>Object.keys(a).reduce((r,i)=>{let l=(Array.isArray(a[i])?a[i]:[a[i]]).reduce((d,f)=>d.includes(f)?d:[...d,f],r[i]||[]);return Object.assign(Object.assign({},r),{[i]:l})},s),t),{})}function an(e){var t,n,s,a,r,i,o,l,d,f,g;let m={},c=De(e);if(!((t=c.term)===null||t===void 0)&&t.length&&(m.name=c.term[0]),!((n=c.group)===null||n===void 0)&&n.length&&(m.groups=c.group),!((s=c.access)===null||s===void 0)&&s.length&&(m.access=c.access),!((a=c.orgId)===null||a===void 0)&&a.length&&(m.orgIds=c.orgId),!((r=c.discussion)===null||r===void 0)&&r.length&&(m.discussion=c.discussion[0]),((i=c.hasUserPosts)===null||i===void 0?void 0:i[0])===!0&&(m.filterBy=xe.HAS_USER_POSTS),!((o=c.role)===null||o===void 0)&&o.length&&(m.roles=c.role),!((l=c.owner)===null||l===void 0)&&l.length&&(m.creator=c.owner[0]),!((d=c.id)===null||d===void 0)&&d.length){let{ids:p,notIds:T}=Oe(c.id);p.length&&(m.ids=p),T.length&&(m.notIds=T.filter(v))}return!((f=c.createdDateRange)===null||f===void 0)&&f.length&&(m.createdBefore=new Date(c.createdDateRange[0].to),m.createdAfter=new Date(c.createdDateRange[0].from)),!((g=c.updatedDateRange)===null||g===void 0)&&g.length&&(m.updatedBefore=new Date(c.updatedDateRange[0].to),m.updatedAfter=new Date(c.updatedDateRange[0].from)),m}var ut={access:P.ACCESS,created:P.CREATED_AT,modified:P.UPDATED_AT,owner:P.CREATOR,lastActivity:P.LAST_ACTIVITY},lt={desc:_.DESC,asc:_.ASC};function on(e){let t={relations:[Be.CHANNEL_ACL]};return e.num&&(t.num=e.num),e.start&&(t.start=e.start),e.sortField&&ut[e.sortField]&&(t.sortBy=ut[e.sortField]),e.sortOrder&<[e.sortOrder]&&(t.sortOrder=lt[e.sortOrder]),t}async function cn(e,t){var n;let s=[];if(!((n=t.include)===null||n===void 0)&&n.includes("groups")){let a=e.reduce((i,o)=>ue(o).reduce((l,d)=>l.includes(d)?l:[...l,d],i),[]);s=(await fe(tt(a,100),i=>he(Object.assign({q:i.map(o=>`id:${o}`).join(" OR "),num:i.length},t.requestOptions)),5)).reduce((i,o)=>[...i,...o.results],[])}return e.map(a=>{var r;return Le(a,!((r=t.include)===null||r===void 0)&&r.includes("groups")?ue(a).map(i=>s.find(({id:o})=>o===i)||null):[])})}function is(e){return e.httpMethod="GET",O("/channels",e)}function un(e){return e.httpMethod="GET",b("/channels",e)}function os(e){return e.httpMethod="POST",O("/channels",e)}function cs(e){return e.httpMethod="GET",O(`/channels/${e.channelId}`,e)}function us(e){return e.httpMethod="PATCH",O(`/channels/${e.channelId}`,e)}function ls(e){return e.httpMethod="DELETE",O(`/channels/${e.channelId}`,e)}function ds(e){return e.httpMethod="GET",O(`/channels/${e.channelId}/notifications/opt-out`,e)}function hs(e){return e.httpMethod="POST",O(`/channels/${e.channelId}/notifications/opt-out`,e)}function fs(e){return e.httpMethod="DELETE",O(`/channels/${e.channelId}/notifications/opt-out`,e)}function ms(e){return e.httpMethod="DELETE",O(`/channels/${e.channelId}/activity`,e)}function ps(e){return e.httpMethod="POST",b("/channels",e)}function gs(e){return e.httpMethod="GET",b(`/channels/${e.channelId}`,e)}function Os(e){return e.httpMethod="PATCH",b(`/channels/${e.channelId}`,e)}function bs(e){return e.httpMethod="DELETE",b(`/channels/${e.channelId}`,e)}function Ss(e){return e.httpMethod="GET",b(`/channels/${e.channelId}/notifications/opt-out`,e)}function vs(e){return e.httpMethod="POST",b(`/channels/${e.channelId}/notifications/opt-out`,e)}function ys(e){return e.httpMethod="DELETE",b(`/channels/${e.channelId}/notifications/opt-out`,e)}function Ds(e){return e.httpMethod="DELETE",b(`/channels/${e.channelId}/activity`,e)}var vt=async(e,t)=>{if(!t.requestOptions)throw new y("hubSearchChannels","options.requestOptions is required");let n=an(e.filters),s=on(t),{total:a,nextStart:r,items:i}=await un(Object.assign({data:Object.assign(Object.assign({},n),s)},t.requestOptions)),o=await cn(i,t);return{total:a,results:o,hasNext:r>-1,next:()=>vt(e,Object.assign(Object.assign({},t),{start:r}))}};async function ln(e,t){var n;let s;return!((n=t.include)===null||n===void 0)&&n.includes("ownerUser")&&(s=await E(Object.assign({username:e.creator.username},t.requestOptions))),{access:e.access.toLowerCase(),id:e.id,location:it(e),type:"Event",name:e.title,owner:e.creator.username,ownerUser:s,summary:e.summary||e.description,createdDate:new Date(e.createdAt),createdDateSource:"event.createdAt",updatedDate:new Date(e.updatedAt),updatedDateSource:"event.updatedAt",family:"event",links:at(e),tags:e.tags,categories:e.categories,rawResult:e}}function dn(e){let t={};return e.num>0&&(t.num=e.num),e.start>1&&(t.start=e.start),e.sortField==="modified"?t.sortBy=$.updatedAt:e.sortField==="created"?t.sortBy=$.createdAt:e.sortField==="title"?t.sortBy=$.title:e.sortField==="startDate"&&(t.sortBy=$.startDateTime),t.sortOrder=e.sortOrder==="desc"?N.desc:N.asc,t}function yt(e,t){return t[e]||t[e.toUpperCase()]||t[e.toLowerCase()]||e}function I(e,t){return e.map(n=>yt(n,t))}function hn(e){var t,n,s,a,r,i,o,l,d,f,g,m,c,p,T,K,W,J,Y,Z,X;let u=De(e),h={};if(!((t=u.access)===null||t===void 0)&&t.length&&(h.access=I(u.access,st)),!((n=u.canEdit)===null||n===void 0)&&n.length&&(h.canEdit=u.canEdit[0]),!((s=u.entityId)===null||s===void 0)&&s.length&&(h.entityIds=u.entityId),!((a=u.entityType)===null||a===void 0)&&a.length&&(h.entityTypes=I(u.entityType,nt)),!((r=u.id)===null||r===void 0)&&r.length){let{ids:w,notIds:R}=Oe(u.id);w.length&&(h.eventIds=w.filter(v)),R.length&&(h.notEventIds=R.filter(v))}if(!((i=u.term)===null||i===void 0)&&i.length&&(h.title=u.term[0]),!((o=u.orgId)===null||o===void 0)&&o.length&&(h.orgId=u.orgId[0]),!((l=u.categories)===null||l===void 0)&&l.length&&(h.categories=u.categories),!((d=u.tags)===null||d===void 0)&&d.length&&(h.tags=u.tags),!((f=u.group)===null||f===void 0)&&f.length){let{ids:w,notIds:R}=Oe(u.group);if(w.length&&(h.sharedToGroups=w),R.length){let Ee=R.filter(v);h.withoutEditGroups=Ee,h.withoutReadGroups=Ee}}return!((g=u.attendanceType)===null||g===void 0)&&g.length&&(h.attendanceTypes=I(u.attendanceType,Q)),!((m=u.owner)===null||m===void 0)&&m.length&&(h.createdByIds=u.owner),h.status=!((c=u.status)===null||c===void 0)&&c.length?I(u.status,H):[H.PLANNED,H.CANCELED],!((p=u.startDateRange)===null||p===void 0)&&p.length?(u.startDateRange[0].to&&(h.startDateTimeBefore=new Date(u.startDateRange[0].to).toISOString()),u.startDateRange[0].from&&(h.startDateTimeAfter=new Date(u.startDateRange[0].from).toISOString())):(!((T=u.startDateBefore)===null||T===void 0)&&T.length&&(h.startDateTimeBefore=new Date(u.startDateBefore[0]).toISOString()),!((K=u.startDateAfter)===null||K===void 0)&&K.length&&(h.startDateTimeAfter=new Date(u.startDateAfter[0]).toISOString())),!((W=u.endDateRange)===null||W===void 0)&&W.length?(u.endDateRange[0].to&&(h.endDateTimeBefore=new Date(u.endDateRange[0].to).toISOString()),u.endDateRange[0].from&&(h.endDateTimeAfter=new Date(u.endDateRange[0].from).toISOString())):(!((J=u.endDateBefore)===null||J===void 0)&&J.length&&(h.endDateTimeBefore=new Date(u.endDateBefore[0]).toISOString()),!((Y=u.endDateAfter)===null||Y===void 0)&&Y.length&&(h.endDateTimeAfter=new Date(u.endDateAfter[0]).toISOString())),!((Z=u.occurrence)===null||Z===void 0)&&Z.length&&u.occurrence.forEach(w=>{switch(w){case"upcoming":h.startDateTimeAfter=new Date().toISOString();break;case"past":h.endDateTimeBefore=new Date().toISOString();break;case"inProgress":h.startDateTimeBefore=new Date().toISOString(),h.endDateTimeAfter=new Date().toISOString();break}}),!((X=u.modified)===null||X===void 0)&&X.length&&u.modified[0].to&&u.modified[0].from&&(h.updatedAtBefore=new Date(u.modified[0].to).toISOString(),h.updatedAtAfter=new Date(u.modified[0].from).toISOString()),h}async function Dt(e,t){let n=hn(e.filters),s=dn(t),a=Object.assign(Object.assign(Object.assign({},n),s),{include:[me.creator,me.location]}),{items:r,nextStart:i,total:o}=await rt(Object.assign(Object.assign({},t.requestOptions),{data:a})),l=await Promise.all(r.map(f=>ln(f,t))),d=i>-1;return{total:o,results:l,hasNext:d,next:()=>{if(!d)throw new Error("No more hub events for the given query and options");return Dt(e,Object.assign(Object.assign({},t),{start:i}))}}}async function fn(e,t){var n;let[s,a]=await Promise.all([E(Object.assign({username:e.userId},t.requestOptions)),E(Object.assign({username:e.createdById},t.requestOptions))]);return{id:e.id.toString(),access:s.access,name:s.fullName,createdDate:new Date(e.createdAt),createdDateSource:"attendee.createdAt",updatedDate:new Date(e.updatedAt),updatedDateSource:"attendee.updatedAt",type:"Event Attendee",family:"eventAttendee",owner:a.username,rawResult:e,links:{self:ge(s.username,t.requestOptions),siteRelative:`/people/${s.username}`,thumbnail:s.thumbnail?se(t.requestOptions.portal,s,(n=t.requestOptions.authentication)===null||n===void 0?void 0:n.token):null}}}function mn(e){let t={};return e.num>0&&(t.num=e.num.toString()),e.start>1&&(t.start=e.start.toString()),e.sortField==="modified"?t.sortBy=j.updatedAt:e.sortField==="created"?t.sortBy=j.createdAt:e.sortField==="username"?t.sortBy=j.username:e.sortField==="firstName"?t.sortBy=j.firstName:e.sortField==="lastName"&&(t.sortBy=j.lastName),t.sortOrder=e.sortOrder==="desc"?N.desc:N.asc,t}var be=(e,t)=>{let n=(s,a)=>a.predicates.reduce((r,i)=>Object.entries(i).reduce((o,[l,d])=>l===t?[...o,...Array.isArray(d)?d:[d]]:o,r),s);return e.reduce(n,[])},z=(e,t)=>{let s=be(e,t).filter(v).join(",");if(s)return s};function pn(e){let t={eventId:e.properties.eventId},n=(i,o)=>i?.length?i:o.map(l=>l.toLowerCase()).join(","),s=z(e.filters,"userId");s?.length&&(t.userId=s);let a=be(e.filters,"term");a.length&&(t.name=a[0]),t.type=n(z(e.filters,"attendanceType"),[Q.VIRTUAL,Q.IN_PERSON]),t.role=n(z(e.filters,"role"),[V.OWNER,V.ORGANIZER,V.ATTENDEE]),t.status=n(z(e.filters,"status"),[q.PENDING,q.ACCEPTED,q.DECLINED,q.BLOCKED]);let r=be(e.filters,"updatedDateRange");return r.length&&(t.updatedAtBefore=new Date(r[0].to).toISOString(),t.updatedAtAfter=new Date(r[0].from).toISOString()),t}async function wt(e,t){let n=pn(e),s=mn(t),a=Object.assign(Object.assign({},n),s),{items:r,nextStart:i,total:o}=await ot(Object.assign(Object.assign({},t.requestOptions),{data:a})),l=await Promise.all(r.map(f=>fn(f,t))),d=i>-1;return{total:o,results:l,hasNext:d,next:()=>{if(!d)throw new Error("No more hub events for the given query and options");return wt(e,Object.assign(Object.assign({},t),{start:i}))}}}function gn(e,t,n=["any","all"]){return Ne(t).filters.reduce((a,r)=>[...a,...r.predicates],[]).reduce((a,r)=>(n.forEach(i=>{a=[...a,...je(r,`${e}.${i}`,[])]}),a),[]).filter(v)}async function ws(e,t){let n=await F(e,t),a=t.authentication.token;return At(n,a)}function On(e){let t=At(e);return{id:t.id,title:t.name,name:t.name,url:t.url,type:"Organization",family:"organization",source:"portal",createdDate:t.createdDate,createdDateSource:t.createdDateSource,updatedDate:t.updatedDate,updatedDateSource:t.updatedDateSource,thumbnailUrl:t.thumbnailUrl,thumbnail:t.thumbnail,description:t.description,access:t.access,tags:t.tags,typeKeywords:t.typeKeywords,links:t.links}}function At(e,t){let n=`https://${e.portalHostname}`;return e.urlKey&&(n=`https://${e.urlKey}.${e.customBaseUrl}`),{id:e.id,orgId:e.id,access:e.access,name:e.name,summary:e.description,description:e.description,type:"Organization",source:"portal",createdDate:new Date(e.created),createdDateSource:"portal",updatedDate:new Date(e.modified),updatedDateSource:"portal",portal:e,thumbnail:e.thumbnail,thumbnailUrl:ne(e,t),url:n,links:{self:n,thumbnail:ne(e,t)},typeKeywords:[],tags:[]}}async function bn(e,t){let n=gn("id",e,["any"]);if(!n.length)throw new Error("Organization query must contain an id predicate.");let s=C(F,null),r=(await fe(n,async i=>s(i,t.requestOptions),8)).filter(i=>i!==null);return{total:r.length,hasNext:!1,next:null,results:r.map(i=>On(i))}}function Sn(e){return{access:null,createdDate:new Date(e.createdAt),createdDateSource:"post.createdAt",family:"post",id:e.id,location:null,name:e.title,owner:e.creator,rawResult:e,source:"",summary:e.body,type:"Post",updatedDate:new Date(e.updatedAt),updatedDateSource:"post.updatedAt"}}function vn(e){var t,n,s,a,r,i,o,l,d,f,g,m;let c=De(e),p={};return!((t=c.access)===null||t===void 0)&&t.length&&(p.access=I(c.access,Ge)),!((n=c.body)===null||n===void 0)&&n.length&&(p.body=c.body[0]),!((s=c.channel)===null||s===void 0)&&s.length&&(p.channels=c.channel),!((a=c.owner)===null||a===void 0)&&a.length&&(p.creator=c.owner[0]),!((r=c.discussion)===null||r===void 0)&&r.length&&(p.discussion=c.discussion[0]),!((i=c.editor)===null||i===void 0)&&i.length&&(p.editor=c.editor[0]),!((o=c.status)===null||o===void 0)&&o.length&&(p.status=I(c.status,Me)),!((l=c.title)===null||l===void 0)&&l.length&&(p.title=c.title[0]),Array.isArray(c.parentId)&&(p.parents=c.parentId),!((d=c.groups)===null||d===void 0)&&d.length&&(p.groups=c.groups),!((f=c.postType)===null||f===void 0)&&f.length&&(p.postType=yt(c.postType[0],Fe)),!((g=c.created)===null||g===void 0)&&g.length&&(p.createdBefore=new Date(c.created[0].to),p.createdAfter=new Date(c.created[0].from)),!((m=c.modified)===null||m===void 0)&&m.length&&(p.updatedBefore=new Date(c.modified[0].to),p.updatedAfter=new Date(c.modified[0].from)),p}var yn={body:S.BODY,channelId:S.CHANNEL_ID,created:S.CREATED_AT,modified:S.UPDATED_AT,owner:S.CREATOR,discussion:S.DISCUSSION,editor:S.EDITOR,id:S.ID,parentId:S.PARENT_ID,status:S.STATUS,title:S.TITLE},dt={desc:_.DESC,asc:_.ASC};function Dn(e){let t={};e.num>0&&(t.num=e.num),e.start>1&&(t.start=e.start),e.sortOrder&&dt[e.sortOrder]&&(t.sortOrder=dt[e.sortOrder]);let n=yn[e.sortField];return n&&(t.sortBy=n),t}var wn={channel:A.CHANNEL,channelAcl:A.CHANNEL_ACL,parent:A.PARENT,reactions:A.REACTIONS,replies:A.REPLIES,replyCount:A.REPLY_COUNT};function An(e=[]){let t=[];for(let n of e){let s=wn[n];s&&!t.includes(s)&&t.push(s)}return t}var we=e=>e.channel?Object.assign(Object.assign({},e),{channelId:e.channel.id}):e,Tt=e=>Object.assign(Object.assign({},e),{items:e.items.map(t=>we(t))});function As(e){return O("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign({},e.data),httpMethod:"POST"})).then(Tt)}function Ts(e){return O("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{f:B.CSV}),httpMethod:"POST"}))}function Es(e){return O("/posts",Object.assign({httpMethod:"POST"},Ae(e)))}function Ps(e){let t=`/posts/${e.postId}/reply`;return O(t,Object.assign({httpMethod:"POST"},Ae(e)))}function js(e){let t=`/posts/${e.postId}`;return e.httpMethod="GET",O(t,e).then(we)}function Is(e){let t=`/posts/${e.postId}`;return e.httpMethod="DELETE",O(t,e)}function Rs(e){let t=`/posts/${e.postId}`;return O(t,Object.assign({httpMethod:"PATCH"},Ae(e)))}function Cs(e){let t=`/posts/${e.postId}/status`;return e.httpMethod="PATCH",O(t,e)}function Ae(e){let{mentionUrl:t}=e,n=k(e,["mentionUrl"]);return t&&(n.headers=Object.assign(Object.assign({},n.headers),{"mention-url":t})),n}function Tn(e){return b("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign({},e.data),httpMethod:"POST"})).then(Tt)}function _s(e){return b("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{f:B.CSV}),httpMethod:"POST"}))}function Us(e){return b("/posts",Object.assign({httpMethod:"POST"},Te(e)))}function Ns(e){let t=`/posts/${e.postId}/reply`;return b(t,Object.assign({httpMethod:"POST"},Te(e)))}function $s(e){let t=`/posts/${e.postId}`;return e.httpMethod="GET",b(t,e).then(we)}function qs(e){let t=`/posts/${e.postId}`;return e.httpMethod="DELETE",b(t,e)}function Gs(e){let t=`/posts/${e.postId}`;return b(t,Object.assign({httpMethod:"PATCH"},Te(e)))}function Ms(e){let t=`/posts/${e.postId}/status`;return e.httpMethod="PATCH",b(t,e)}function Te(e){let{mentionUrl:t}=e,n=k(e,["mentionUrl"]);return t&&(n.headers=Object.assign(Object.assign({},n.headers),{"mention-url":t})),n}async function Et(e,t){let n=vn(e.filters),s=Dn(t),a=An(t.include),r=Object.assign(Object.assign(Object.assign({},n),s),{relations:a}),{items:i,nextStart:o,total:l}=await Tn(Object.assign(Object.assign({},t.requestOptions),{token:t.requestOptions.hubApiKey,data:r})),d=await Promise.all(i.map(g=>Sn(g))),f=o>-1;return{total:l,results:d,hasNext:f,next:()=>{if(!f)throw new Error("No more hub posts for the given query and options");return Et(e,Object.assign(Object.assign({},t),{start:o}))}}}async function xs(e,t){if(!e)throw new y("hubSearch","Query is required.");if(!Array.isArray(e.filters))throw new y("hubSearch","Query must have a filters array.");if(!e.filters.length)throw new y("hubSearch","Query must contain at least one Filter.");if(!t.requestOptions)throw new y("hubSearch","requestOptions: IHubRequestOptions is required.");t.include||(t.include=[]);let n=e.targetEntity,{requestOptions:s}=t,a=k(t,["requestOptions"]),r=G(a);r.requestOptions=s,r.api=Nt(n,r);let o=D({portal:{item:ze,group:Jt,user:Zt,portalUser:Xt,communityUser:en,groupMember:kt,organization:bn},hub:{item:ct,channel:vt,discussionPost:ct,event:Dt,eventAttendee:wt,post:Et}},`${r.api}.${n}`);if(!o)throw new y("hubSearch",`Search via "${n}" filter against "${r.api}" api is not implemented. Please ensure "targetEntity" is defined on the query.`);return o(G(e),r)}export{O as a,b,It as c,Rt as d,$t as e,ge as f,mt as g,pt as h,as as i,Wt as j,is as k,un as l,os as m,cs as n,us as o,ls as p,ds as q,hs as r,fs as s,ms as t,ps as u,gs as v,Os as w,bs as x,Ss as y,vs as z,ys as A,Ds as B,gn as C,ws as D,On as E,At as F,As as G,Ts as H,Es as I,Ps as J,js as K,Is as L,Rs as M,Cs as N,Tn as O,_s as P,Us as Q,Ns as R,$s as S,qs as T,Gs as U,Ms as V,xs as W};
|