@esri/hub-web-components 0.13.0 → 0.13.1
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/22BVVS45.js +4 -0
- package/dist/cdn/22KLMUMX.js +4 -0
- package/dist/cdn/22KNHML7.js +4 -0
- package/dist/cdn/22U5TR2O.js +4 -0
- package/dist/cdn/23WAPALJ.js +4 -0
- package/dist/cdn/2A2B5HYT.js +4 -0
- package/dist/cdn/2AQFQGVA.js +4 -0
- package/dist/cdn/2BXWIHSJ.js +4 -0
- package/dist/cdn/2DHJEA4R.js +4 -0
- package/dist/cdn/2FBOEGBD.js +4 -0
- package/dist/cdn/2JFYMKAJ.js +4 -0
- package/dist/cdn/2JXZSQW4.js +16 -0
- package/dist/cdn/2KJOAQSG.js +4 -0
- package/dist/cdn/2L3LZEQA.js +4 -0
- package/dist/cdn/2PRSAXJV.js +4 -0
- package/dist/cdn/2R2TVFZF.js +4 -0
- package/dist/cdn/2RRSN2PS.js +4 -0
- package/dist/cdn/2X4BJKG7.js +4 -0
- package/dist/cdn/2YHCXP56.js +4 -0
- package/dist/cdn/33LS37HN.js +4 -0
- package/dist/cdn/34L55HV7.js +4 -0
- package/dist/cdn/35SM5TP6.js +4 -0
- package/dist/cdn/3BK6FEHB.js +4 -0
- package/dist/cdn/3DJK77GV.js +4 -0
- package/dist/cdn/3H2XVCUA.js +4 -0
- package/dist/cdn/3JNZKALP.js +5 -0
- package/dist/cdn/3JQFOVPN.js +4 -0
- package/dist/cdn/3LYU7GQV.js +4 -0
- package/dist/cdn/3TKT33QR.js +4 -0
- package/dist/cdn/3TYPOE5X.js +4 -0
- package/dist/cdn/3VAZACF5.js +4 -0
- package/dist/cdn/3XBX2VBB.js +4 -0
- package/dist/cdn/43GYHEV3.js +4 -0
- package/dist/cdn/44IHBUAZ.js +4 -0
- package/dist/cdn/46NA4CHE.js +4 -0
- package/dist/cdn/47DVYEBK.js +4 -0
- package/dist/cdn/4BRO2AVB.js +4 -0
- package/dist/cdn/4DHRAVXA.js +4 -0
- package/dist/cdn/4DKGVE4Z.js +4 -0
- package/dist/cdn/4DZQUZ5U.js +4 -0
- package/dist/cdn/4F75G5NR.js +4 -0
- package/dist/cdn/4G6FK5HA.js +4 -0
- package/dist/cdn/4HK7PNUI.js +4 -0
- package/dist/cdn/4HROUK62.js +4 -0
- package/dist/cdn/4IFEVO7E.js +4 -0
- package/dist/cdn/4TYPWALT.js +4 -0
- package/dist/cdn/4U3GHYJ2.js +4 -0
- package/dist/cdn/4UE4WELF.js +4 -0
- package/dist/cdn/4VDAONXX.js +4 -0
- package/dist/cdn/4VSWQM3V.js +4 -0
- package/dist/cdn/4ZCQG4KD.js +4 -0
- package/dist/cdn/56GUCTAF.js +4 -0
- package/dist/cdn/56RHBRLX.js +4 -0
- package/dist/cdn/57G44J3J.js +4 -0
- package/dist/cdn/5AV2EUV3.js +4 -0
- package/dist/cdn/5BAYYQ5X.js +4 -0
- package/dist/cdn/5CWJU6RW.js +4 -0
- package/dist/cdn/5EEYWGMQ.js +4 -0
- package/dist/cdn/5EFAHS6A.js +59 -0
- package/dist/cdn/5HSV2LXE.js +4 -0
- package/dist/cdn/5INRNCIF.js +4 -0
- package/dist/cdn/5J3QTUB3.js +4 -0
- package/dist/cdn/5J5IVZ25.js +4 -0
- package/dist/cdn/5KBR6TL7.js +4 -0
- package/dist/cdn/5KG5GSFA.js +4 -0
- package/dist/cdn/5KHXLSNZ.js +4 -0
- package/dist/cdn/5LD66IBJ.js +4 -0
- package/dist/cdn/5LNMPOSU.js +4 -0
- package/dist/cdn/5MFKDKPI.js +4 -0
- package/dist/cdn/5MRCP2VJ.js +4 -0
- package/dist/cdn/5OWRLEIY.js +11 -0
- package/dist/cdn/5P7Y7FRU.js +4 -0
- package/dist/cdn/5QUJZ5SS.js +4 -0
- package/dist/cdn/5RYO6L3G.js +4 -0
- package/dist/cdn/5VQVC4QF.js +4 -0
- package/dist/cdn/5WDRIQCG.js +4 -0
- package/dist/cdn/5WJTNLD5.js +4 -0
- package/dist/cdn/5YXGJVEE.js +4 -0
- package/dist/cdn/5Z2UH4XD.js +4 -0
- package/dist/cdn/5ZXZF2JP.js +4 -0
- package/dist/cdn/62G2DFL2.js +4 -0
- package/dist/cdn/62I5K7TZ.js +41 -0
- package/dist/cdn/62M4WKMB.js +4 -0
- package/dist/cdn/63AKASWS.js +4 -0
- package/dist/cdn/66XLFAGL.js +4 -0
- package/dist/cdn/672VG6AM.js +4 -0
- package/dist/cdn/67K6Z22L.js +4 -0
- package/dist/cdn/67WT4HLZ.js +4 -0
- package/dist/cdn/6ABLFZCS.js +4 -0
- package/dist/cdn/6AEVM2ZJ.js +4 -0
- package/dist/cdn/6ARLE33F.js +4 -0
- package/dist/cdn/6I7DM3LK.js +4 -0
- package/dist/cdn/6J3QVY4G.js +4 -0
- package/dist/cdn/6K5RAOVH.js +4 -0
- package/dist/cdn/6K5V2I5L.js +4 -0
- package/dist/cdn/6K6RI3QE.js +4 -0
- package/dist/cdn/6K6WKPZQ.js +4 -0
- package/dist/cdn/6LLO3GDI.js +4 -0
- package/dist/cdn/6N54EYC3.js +4 -0
- package/dist/cdn/6NCNGMYZ.js +4 -0
- package/dist/cdn/6OCROZV4.js +4 -0
- package/dist/cdn/6P3RKMCV.js +4 -0
- package/dist/cdn/6P4GZSUJ.js +4 -0
- package/dist/cdn/6PBUIYKP.js +4 -0
- package/dist/cdn/6QDKPPXO.js +4 -0
- package/dist/cdn/6QHM4JX3.js +4 -0
- package/dist/cdn/6RO7I7V7.js +4 -0
- package/dist/cdn/6RUG7WKH.js +4 -0
- package/dist/cdn/6TDKUCJW.js +4 -0
- package/dist/cdn/6WCOGUXU.js +4 -0
- package/dist/cdn/6X5J3RMA.js +4 -0
- package/dist/cdn/6XHEADA3.js +4 -0
- package/dist/cdn/6XYDUWTZ.js +4 -0
- package/dist/cdn/72UN6B64.js +4 -0
- package/dist/cdn/73GZFDLD.js +4 -0
- package/dist/cdn/744WWEJP.js +4 -0
- package/dist/cdn/75IHQG2X.js +4 -0
- package/dist/cdn/77KHZHVY.js +4 -0
- package/dist/cdn/7A7MM5M6.js +4 -0
- package/dist/cdn/7AVD4HSH.js +4 -0
- package/dist/cdn/7BS5JU4R.js +4 -0
- package/dist/cdn/7BWZGM37.js +4 -0
- package/dist/cdn/7DQNQTET.js +4 -0
- package/dist/cdn/7EZSEWT3.js +4 -0
- package/dist/cdn/7FCQMEWY.js +4 -0
- package/dist/cdn/7FVDTFO5.js +4 -0
- package/dist/cdn/7IR3BQUS.js +4 -0
- package/dist/cdn/7IXFNRRQ.js +4 -0
- package/dist/cdn/7J3CCYDL.js +4 -0
- package/dist/cdn/7JBQMLC6.js +4 -0
- package/dist/cdn/7JFLHOXQ.js +4 -0
- package/dist/cdn/7JPJFQDM.js +4 -0
- package/dist/cdn/7M6PWETM.js +4 -0
- package/dist/cdn/7NFLNZHW.js +4 -0
- package/dist/cdn/7OMQGXTT.js +4 -0
- package/dist/cdn/7OYQMW36.js +4 -0
- package/dist/cdn/7QBCZMW5.js +4 -0
- package/dist/cdn/7QUHNBFX.js +4 -0
- package/dist/cdn/7RO2EUMQ.js +4 -0
- package/dist/cdn/7RTTSP6V.js +4 -0
- package/dist/cdn/7RU2JRPK.js +4 -0
- package/dist/cdn/7S7LGGUA.js +4 -0
- package/dist/cdn/7SVQFZUA.js +4 -0
- package/dist/cdn/7UPOQLIX.js +4 -0
- package/dist/cdn/7WLDVEOM.js +4 -0
- package/dist/cdn/7WVVQCX5.js +4 -0
- package/dist/cdn/A3NEWPXF.js +4 -0
- package/dist/cdn/A4OJY5AQ.js +4 -0
- package/dist/cdn/A4ZBGD5O.js +4 -0
- package/dist/cdn/A5GVAFEK.js +4 -0
- package/dist/cdn/A5HPY7H3.js +4 -0
- package/dist/cdn/A5MT46LE.js +4 -0
- package/dist/cdn/A6B6M6IC.js +4 -0
- package/dist/cdn/ACBS3MNR.js +4 -0
- package/dist/cdn/AE3YP3DS.js +4 -0
- package/dist/cdn/AEC3TCO4.js +4 -0
- package/dist/cdn/AFTVC3MS.js +4 -0
- package/dist/cdn/AK6XJTYJ.js +4 -0
- package/dist/cdn/AO6S265A.js +4 -0
- package/dist/cdn/AODOE7CF.js +4 -0
- package/dist/cdn/AOYA5CH5.js +4 -0
- package/dist/cdn/APRI7FIM.js +4 -0
- package/dist/cdn/APSS2Y4K.js +4 -0
- package/dist/cdn/AQP6ETJZ.js +4 -0
- package/dist/cdn/ARKS3QSQ.js +4 -0
- package/dist/cdn/ASSROV6X.js +4 -0
- package/dist/cdn/ATBDURTD.js +4 -0
- package/dist/cdn/AYPK6P2W.js +4 -0
- package/dist/cdn/B7D5PIHU.js +4 -0
- package/dist/cdn/BB4VIFK3.js +4 -0
- package/dist/cdn/BI3DYR2J.js +5 -0
- package/dist/cdn/BKHUA4EN.js +4 -0
- package/dist/cdn/BKYETMUH.js +4 -0
- package/dist/cdn/BOWY5J5N.js +4 -0
- package/dist/cdn/BSMZSC3Y.js +4 -0
- package/dist/cdn/BSRAKE5W.js +4 -0
- package/dist/cdn/BTME3TPF.js +4 -0
- package/dist/cdn/BUHDSOCM.js +4 -0
- package/dist/cdn/BX776ZS6.js +4 -0
- package/dist/cdn/BYUIBLXK.js +4 -0
- package/dist/cdn/C25ZZZR2.js +4 -0
- package/dist/cdn/C354FODK.js +4 -0
- package/dist/cdn/C3RTUV5O.js +4 -0
- package/dist/cdn/C43CRZWM.js +59 -0
- package/dist/cdn/C44U2OB4.js +4 -0
- package/dist/cdn/C4BUEHCI.js +4 -0
- package/dist/cdn/C5POZEKH.js +4 -0
- package/dist/cdn/C6CCUU6L.js +4 -0
- package/dist/cdn/C6ZD5KKD.js +4 -0
- package/dist/cdn/C73E4E2E.js +4 -0
- package/dist/cdn/C7AYSIOJ.js +4 -0
- package/dist/cdn/CA673E3Z.js +4 -0
- package/dist/cdn/CB4FKWZK.js +5 -0
- package/dist/cdn/CC77QXQM.js +4 -0
- package/dist/cdn/CEHNODNL.js +4 -0
- package/dist/cdn/CFQXTKFT.js +4 -0
- package/dist/cdn/CGOC64QV.js +4 -0
- package/dist/cdn/CJYFMZFQ.js +4 -0
- package/dist/cdn/CKZHUXNQ.js +4 -0
- package/dist/cdn/CLY4X4EN.js +4 -0
- package/dist/cdn/CMLGB5T2.js +4 -0
- package/dist/cdn/COVS2GLW.js +4 -0
- package/dist/cdn/CTB2KANG.js +4 -0
- package/dist/cdn/CTUQQTUP.js +4 -0
- package/dist/cdn/CX4UVJ4R.js +4 -0
- package/dist/cdn/D337YWJZ.js +4 -0
- package/dist/cdn/D3GCE3ND.js +4 -0
- package/dist/cdn/D4763FAP.js +4 -0
- package/dist/cdn/D4GA6N3R.js +4 -0
- package/dist/cdn/D5EONY7N.js +4 -0
- package/dist/cdn/DAW2MCJN.js +4 -0
- package/dist/cdn/DCMUYRON.js +4 -0
- package/dist/cdn/DCWYGZNN.js +4 -0
- package/dist/cdn/DDTNJKR4.js +4 -0
- package/dist/cdn/DEZWQAMQ.js +4 -0
- package/dist/cdn/DFDA74PW.js +4 -0
- package/dist/cdn/DH3FQHDF.js +4 -0
- package/dist/cdn/DHX4PK3V.js +4 -0
- package/dist/cdn/DIKYIPRX.js +4 -0
- package/dist/cdn/DKGDIOYH.js +4 -0
- package/dist/cdn/DLTRVV62.js +4 -0
- package/dist/cdn/DN6WLBHD.js +4 -0
- package/dist/cdn/DO6ESWID.js +4 -0
- package/dist/cdn/DP7NOJZ5.js +4 -0
- package/dist/cdn/DQXKKOBB.js +4 -0
- package/dist/cdn/DSQJTUZR.js +4 -0
- package/dist/cdn/DSTT3RNS.js +4 -0
- package/dist/cdn/DTBYT7B3.js +4 -0
- package/dist/cdn/DWBLFAWO.js +4 -0
- package/dist/cdn/DZHKZSWF.js +4 -0
- package/dist/cdn/E47WSUZX.js +4 -0
- package/dist/cdn/E5UAZFQS.js +4 -0
- package/dist/cdn/E5ZQLXWB.js +4 -0
- package/dist/cdn/E6A5O2SE.js +4 -0
- package/dist/cdn/E6DGCAEH.js +4 -0
- package/dist/cdn/EAGKC6YU.js +4 -0
- package/dist/cdn/EAOFGZDD.js +4 -0
- package/dist/cdn/ECCH5F5Q.js +4 -0
- package/dist/cdn/ECFJKPKF.js +4 -0
- package/dist/cdn/EDPJQ6O7.js +4 -0
- package/dist/cdn/EEI6L7I4.js +4 -0
- package/dist/cdn/EESXBBLN.js +4 -0
- package/dist/cdn/EGBO3YSD.js +4 -0
- package/dist/cdn/EKQ64J5K.js +4 -0
- package/dist/cdn/EOHOFS3L.js +4 -0
- package/dist/cdn/EP3W3Q3M.js +4 -0
- package/dist/cdn/ETJLA5EK.js +4 -0
- package/dist/cdn/EV2JXOA6.js +4 -0
- package/dist/cdn/EWRFEQYU.js +4 -0
- package/dist/cdn/EXU3U5Z7.js +4 -0
- package/dist/cdn/EY3XHDQ7.js +4 -0
- package/dist/cdn/F2DYTMUU.js +4 -0
- package/dist/cdn/FB47VYJE.js +4 -0
- package/dist/cdn/FBBDA7U5.js +4 -0
- package/dist/cdn/FBHZFLUE.js +4 -0
- package/dist/cdn/FCWS4IJC.js +4 -0
- package/dist/cdn/FDWJKPKE.js +4 -0
- package/dist/cdn/FGYVTYHF.js +4 -0
- package/dist/cdn/FH7R7SKX.js +4 -0
- package/dist/cdn/FJTKWLFQ.js +4 -0
- package/dist/cdn/FKDK2TET.js +4 -0
- package/dist/cdn/FM43NFJN.js +4 -0
- package/dist/cdn/FMQYK4GL.js +4 -0
- package/dist/cdn/FORQ67CP.js +4 -0
- package/dist/cdn/FRCUZULR.js +4 -0
- package/dist/cdn/FTL6O3Q5.js +4 -0
- package/dist/cdn/FTLZ7UVZ.js +4 -0
- package/dist/cdn/FU7DZMSY.js +4 -0
- package/dist/cdn/FZT3PHG2.js +5 -0
- package/dist/cdn/G5SQ4J4J.js +4 -0
- package/dist/cdn/G65CYRHZ.js +4 -0
- package/dist/cdn/G7OIHTEW.js +4 -0
- package/dist/cdn/GC5IHDG2.js +4 -0
- package/dist/cdn/GCVAR6C3.js +4 -0
- package/dist/cdn/GDMBWK3C.js +4 -0
- package/dist/cdn/GDXJ75VJ.js +4 -0
- package/dist/cdn/GFCNUOH2.js +4 -0
- package/dist/cdn/GHSNF5A5.js +4 -0
- package/dist/cdn/GICMV6T3.js +4 -0
- package/dist/cdn/GILLOMJR.js +4 -0
- package/dist/cdn/GK34X7UX.js +4 -0
- package/dist/cdn/GLMLCIUG.js +4 -0
- package/dist/cdn/GNQFPPG3.js +4 -0
- package/dist/cdn/GOYRZLHW.js +4 -0
- package/dist/cdn/GR7IOR6B.js +4 -0
- package/dist/cdn/GREJ47N2.js +4 -0
- package/dist/cdn/GRILS63E.js +4 -0
- package/dist/cdn/GSWS7GXK.js +4 -0
- package/dist/cdn/GUJII33O.js +4 -0
- package/dist/cdn/GZKQANXW.js +4 -0
- package/dist/cdn/H3BC27SD.js +4 -0
- package/dist/cdn/H4XHK3AC.js +4 -0
- package/dist/cdn/H5IMAPXO.js +4 -0
- package/dist/cdn/H6P2CIOU.js +4 -0
- package/dist/cdn/HCRPG3LA.js +4 -0
- package/dist/cdn/HG3NKY2P.js +4 -0
- package/dist/cdn/HI4W4L45.js +4 -0
- package/dist/cdn/HIF53QHJ.js +4 -0
- package/dist/cdn/HIVAODRS.js +4 -0
- package/dist/cdn/HJTKQEFU.js +4 -0
- package/dist/cdn/HKMJUKWA.js +4 -0
- package/dist/cdn/HLGTHHBD.js +4 -0
- package/dist/cdn/HNGSZ3C4.js +4 -0
- package/dist/cdn/HOPTJ767.js +4 -0
- package/dist/cdn/HPBGHT2D.js +4 -0
- package/dist/cdn/HPTIW7FT.js +4 -0
- package/dist/cdn/HSYAQQZL.js +4 -0
- package/dist/cdn/HW3U4DNV.js +4 -0
- package/dist/cdn/I2E5ROHI.js +4 -0
- package/dist/cdn/I2HU2VTL.js +4 -0
- package/dist/cdn/I436D37I.js +4 -0
- package/dist/cdn/I5QPOSEF.js +4 -0
- package/dist/cdn/IAAN4ODM.js +4 -0
- package/dist/cdn/ICHV62FC.js +4 -0
- package/dist/cdn/IEKINDUK.js +4 -0
- package/dist/cdn/IGYKPYHR.js +4 -0
- package/dist/cdn/IJTUO52R.js +4 -0
- package/dist/cdn/IQRQRTDA.js +4 -0
- package/dist/cdn/IRQH4SGB.js +4 -0
- package/dist/cdn/ITDUI6ZI.js +4 -0
- package/dist/cdn/ITZPX3EO.js +4 -0
- package/dist/cdn/IUABQPWP.js +24 -0
- package/dist/cdn/IV46NMNM.js +5 -0
- package/dist/cdn/IYEJ36PT.js +4 -0
- package/dist/cdn/J7BHFO4R.js +4 -0
- package/dist/cdn/J7XK3YZJ.js +4 -0
- package/dist/cdn/JB4TKJMI.js +4 -0
- package/dist/cdn/JBY7Y4K6.js +4 -0
- package/dist/cdn/JDU67WKF.js +4 -0
- package/dist/cdn/JJRKG76I.js +4 -0
- package/dist/cdn/JJWKT4ED.js +4 -0
- package/dist/cdn/JKEDHTY4.js +4 -0
- package/dist/cdn/JKZGO72Z.js +4 -0
- package/dist/cdn/JLI5LHYE.js +4 -0
- package/dist/cdn/JLMFWKL6.js +4 -0
- package/dist/cdn/JN5KMJNX.js +4 -0
- package/dist/cdn/JNFH4UQD.js +4 -0
- package/dist/cdn/JTSGVRHV.js +4 -0
- package/dist/cdn/JTZP4HRO.js +4 -0
- package/dist/cdn/JVTHWYQR.js +4 -0
- package/dist/cdn/JWC7SBDV.js +4 -0
- package/dist/cdn/JXYXY4BW.js +4 -0
- package/dist/cdn/JY6NP6BO.js +4 -0
- package/dist/cdn/JYQCINX2.js +4 -0
- package/dist/cdn/JZL35I6A.js +4 -0
- package/dist/cdn/K3IRREKY.js +12 -0
- package/dist/cdn/K3NLKF3V.js +4 -0
- package/dist/cdn/K3X7AUNF.js +4 -0
- package/dist/cdn/K3YTLXAB.js +4 -0
- package/dist/cdn/K46ZWJSV.js +4 -0
- package/dist/cdn/K4JFRJB3.js +4 -0
- package/dist/cdn/K4OMVMKC.js +4 -0
- package/dist/cdn/K65BNBIQ.js +4 -0
- package/dist/cdn/K6XLEUN2.js +4 -0
- package/dist/cdn/KAYJ5M5I.js +4 -0
- package/dist/cdn/KETEXK4H.js +4 -0
- package/dist/cdn/KFNCQSWK.js +4 -0
- package/dist/cdn/KGVUZWJJ.js +4 -0
- package/dist/cdn/KK55JYYL.js +4 -0
- package/dist/cdn/KMY33SWW.js +4 -0
- package/dist/cdn/KQN5RBX2.js +4 -0
- package/dist/cdn/KSANEHGK.js +4 -0
- package/dist/cdn/KT5MNF6F.js +4 -0
- package/dist/cdn/KTPCS4DB.js +4 -0
- package/dist/cdn/KUWQJXGW.js +4 -0
- package/dist/cdn/KXCUHEV5.js +4 -0
- package/dist/cdn/KZMZAWDI.js +4 -0
- package/dist/cdn/LB4GHBHE.js +4 -0
- package/dist/cdn/LCODDIGD.js +51 -0
- package/dist/cdn/LEXC2XLO.js +4 -0
- package/dist/cdn/LFVLBUXX.js +4 -0
- package/dist/cdn/LL5DVVLP.js +4 -0
- package/dist/cdn/LLFPFIWD.js +4 -0
- package/dist/cdn/LLWZPA3V.js +4 -0
- package/dist/cdn/LMMS6HAF.js +4 -0
- package/dist/cdn/LOJQPXPZ.js +4 -0
- package/dist/cdn/LP6FFL6L.js +4 -0
- package/dist/cdn/LSAQ2EN6.js +4 -0
- package/dist/cdn/LWQY6CI3.js +4 -0
- package/dist/cdn/LXAZXVMB.js +4 -0
- package/dist/cdn/LZJBMSFO.js +9 -0
- package/dist/cdn/LZRFZ2BY.js +4 -0
- package/dist/cdn/M2QB4PKU.js +4 -0
- package/dist/cdn/M37RDWLY.js +4 -0
- package/dist/cdn/M3BJTBQ3.js +4 -0
- package/dist/cdn/M3ZOO6WU.js +4 -0
- package/dist/cdn/M4PZ5YR2.js +4 -0
- package/dist/cdn/M6G2WUB2.js +52 -0
- package/dist/cdn/M6G56TXZ.js +4 -0
- package/dist/cdn/MCUK7Q63.js +4 -0
- package/dist/cdn/MDB6BDKW.js +4 -0
- package/dist/cdn/ME64HO3F.js +4 -0
- package/dist/cdn/MFF3JAUL.js +4 -0
- package/dist/cdn/MFM3CGL4.js +4 -0
- package/dist/cdn/MFP4RAZJ.js +4 -0
- package/dist/cdn/MGUI3E7N.js +4 -0
- package/dist/cdn/MI2TLPF6.js +4 -0
- package/dist/cdn/MK6T3DM4.js +4 -0
- package/dist/cdn/MKF5SMP7.js +4 -0
- package/dist/cdn/MKS7MV46.js +4 -0
- package/dist/cdn/MKXWZOJU.js +4 -0
- package/dist/cdn/MLG5W3LH.js +4 -0
- package/dist/cdn/MM4UYP4W.js +4 -0
- package/dist/cdn/MOHRFKXA.js +4 -0
- package/dist/cdn/MQTA3I5C.js +4 -0
- package/dist/cdn/MQUYJMV3.js +4 -0
- package/dist/cdn/MQXADBR7.js +4 -0
- package/dist/cdn/MVMKCTRS.js +4 -0
- package/dist/cdn/MXVRMG6A.js +4 -0
- package/dist/cdn/MXY2RNET.js +4 -0
- package/dist/cdn/N2KNG6CX.js +4 -0
- package/dist/cdn/N2T5DYBZ.js +4 -0
- package/dist/cdn/N42LYDNL.js +4 -0
- package/dist/cdn/N6VMMIUA.js +4 -0
- package/dist/cdn/NAW3RAVU.js +4 -0
- package/dist/cdn/NE3OADHY.js +4 -0
- package/dist/cdn/NE4EZOP3.js +4 -0
- package/dist/cdn/NIQVIU3H.js +4 -0
- package/dist/cdn/NKQRQ4F5.js +4 -0
- package/dist/cdn/NKYBH4HW.js +6 -0
- package/dist/cdn/NMHB62K5.js +4 -0
- package/dist/cdn/NNH5MUWE.js +4 -0
- package/dist/cdn/NPM7OWN2.js +4 -0
- package/dist/cdn/NSWO3NKN.js +4 -0
- package/dist/cdn/NXHP6Q2V.js +4 -0
- package/dist/cdn/NYFJWZNA.js +4 -0
- package/dist/cdn/NZHM4Q4B.js +4 -0
- package/dist/cdn/O24HC4W5.js +4 -0
- package/dist/cdn/OE6T5GN4.js +4 -0
- package/dist/cdn/OFGOMONR.js +4 -0
- package/dist/cdn/OG7SFZJA.js +4 -0
- package/dist/cdn/OIYJV7SB.js +4 -0
- package/dist/cdn/OJG6YJU2.js +4 -0
- package/dist/cdn/OJGADDZX.js +4 -0
- package/dist/cdn/OKK3UBCP.js +4 -0
- package/dist/cdn/OLNXYM47.js +4 -0
- package/dist/cdn/OLP4YNLV.js +4 -0
- package/dist/cdn/OPE7JTTE.js +4 -0
- package/dist/cdn/OPZUQV25.js +4 -0
- package/dist/cdn/OQH3BND5.js +4 -0
- package/dist/cdn/ORYOBWHN.js +4 -0
- package/dist/cdn/OSHVE4DC.js +4 -0
- package/dist/cdn/OTFPBMTW.js +4 -0
- package/dist/cdn/OURNK6QZ.js +4 -0
- package/dist/cdn/OXINDUQD.js +4 -0
- package/dist/cdn/P2AOZOA3.js +4 -0
- package/dist/cdn/P2D7WEMP.js +4 -0
- package/dist/cdn/P35K2RQ4.js +4 -0
- package/dist/cdn/P4MXSDZZ.js +4 -0
- package/dist/cdn/P5YKT2E4.js +4 -0
- package/dist/cdn/P5YVCJ76.js +4 -0
- package/dist/cdn/P6JAXX4U.js +4 -0
- package/dist/cdn/PH2FZWCE.js +4 -0
- package/dist/cdn/PIBXDILC.js +4 -0
- package/dist/cdn/PKEWV6AV.js +4 -0
- package/dist/cdn/PNWIFTI5.js +4 -0
- package/dist/cdn/POQ2BQVQ.js +4 -0
- package/dist/cdn/PRHD7LTV.js +4 -0
- package/dist/cdn/PSHRDPMT.js +4 -0
- package/dist/cdn/PSMMF3M2.js +4 -0
- package/dist/cdn/PUAZLJVT.js +4 -0
- package/dist/cdn/PZLJBXRN.js +4 -0
- package/dist/cdn/Q3UD52EG.js +4 -0
- package/dist/cdn/QBHUQMWL.js +4 -0
- package/dist/cdn/QCWR7RUV.js +4 -0
- package/dist/cdn/QIMZUYG3.js +4 -0
- package/dist/cdn/QJMMM6L6.js +4 -0
- package/dist/cdn/QJOUS35R.js +4 -0
- package/dist/cdn/QMB3FDAJ.js +4 -0
- package/dist/cdn/QNZ7PPS6.js +4 -0
- package/dist/cdn/QO5JSWW6.js +4 -0
- package/dist/cdn/QP5VTJTI.js +4 -0
- package/dist/cdn/QRC6OLSO.js +4 -0
- package/dist/cdn/QTCFRPCP.js +4 -0
- package/dist/cdn/QVVPK662.js +4 -0
- package/dist/cdn/R3IZQXXB.js +4 -0
- package/dist/cdn/R3JQTSJM.js +5470 -0
- package/dist/cdn/R5UH5STM.js +4 -0
- package/dist/cdn/R6SX4C2P.js +4 -0
- package/dist/cdn/R6VPN2XK.js +4 -0
- package/dist/cdn/RALWLAPJ.js +4 -0
- package/dist/cdn/RBRBWGI3.js +4 -0
- package/dist/cdn/RE3LTR3N.js +6 -0
- package/dist/cdn/REKPLSOS.js +4 -0
- package/dist/cdn/RFUZRLHK.js +4 -0
- package/dist/cdn/RHUCJWCN.js +4 -0
- package/dist/cdn/RIQRSQQT.js +4 -0
- package/dist/cdn/RNPQT27L.js +4 -0
- package/dist/cdn/RQXWNCER.js +4 -0
- package/dist/cdn/RSPMFOEN.js +4 -0
- package/dist/cdn/RWXQ5OJI.js +4 -0
- package/dist/cdn/RYYTQK6L.js +4 -0
- package/dist/cdn/S26SRG5H.js +4 -0
- package/dist/cdn/S2GFW6XZ.js +4 -0
- package/dist/cdn/S5LMP3K5.js +4 -0
- package/dist/cdn/S5NHFWDS.js +4 -0
- package/dist/cdn/S6E3OY7T.js +4 -0
- package/dist/cdn/S7NFU7QR.js +4 -0
- package/dist/cdn/SDNIOQE2.js +4 -0
- package/dist/cdn/SE4S4E4P.js +4 -0
- package/dist/cdn/SEJYKOZW.js +4 -0
- package/dist/cdn/SG3MRQQS.js +4 -0
- package/dist/cdn/SG7SR3LQ.js +4 -0
- package/dist/cdn/SGHLJAPA.js +4 -0
- package/dist/cdn/SGVV7DJZ.js +4 -0
- package/dist/cdn/SIBUFPAM.js +4 -0
- package/dist/cdn/SM6FLGRN.js +4 -0
- package/dist/cdn/SOJKIFJG.js +4 -0
- package/dist/cdn/SP636M4X.js +4 -0
- package/dist/cdn/SQVPXJAG.js +4 -0
- package/dist/cdn/SRH6TH45.js +4 -0
- package/dist/cdn/SUF7BZZR.js +4 -0
- package/dist/cdn/SUIIPLHT.js +4 -0
- package/dist/cdn/SUYL5G5F.js +4 -0
- package/dist/cdn/SWOFPCXW.js +4 -0
- package/dist/cdn/SXBD3OYL.js +4 -0
- package/dist/cdn/SYEKE27I.js +25 -0
- package/dist/cdn/SZ4GW2BF.js +4 -0
- package/dist/cdn/T4DVEGL4.js +4 -0
- package/dist/cdn/T4HWVPMC.js +4 -0
- package/dist/cdn/T5BAO42T.js +4 -0
- package/dist/cdn/T5RPJTNU.js +4 -0
- package/dist/cdn/T66DYIQS.js +6 -0
- package/dist/cdn/T6VV4ONZ.js +4 -0
- package/dist/cdn/TE7Y77CP.js +4 -0
- package/dist/cdn/TETS77HI.js +4 -0
- package/dist/cdn/TEXK6FRJ.js +4 -0
- package/dist/cdn/THK2KIE2.js +4 -0
- package/dist/cdn/TL7CLK2F.js +4 -0
- package/dist/cdn/TM2YVIKX.js +4 -0
- package/dist/cdn/TMHFYR4U.js +4 -0
- package/dist/cdn/TNGWB2Z2.js +12 -0
- package/dist/cdn/TOENTTZN.js +4 -0
- package/dist/cdn/TQMEM7TX.js +4 -0
- package/dist/cdn/TRT7GRU7.js +4 -0
- package/dist/cdn/TSKWZMU2.js +4 -0
- package/dist/cdn/TSSJJZAQ.js +4 -0
- package/dist/cdn/TU2TZIOE.js +4 -0
- package/dist/cdn/TWOXTFL5.js +4 -0
- package/dist/cdn/TY7YFLIP.js +4 -0
- package/dist/cdn/TYOXE2VF.js +4 -0
- package/dist/cdn/U37R6YH5.js +4 -0
- package/dist/cdn/U5IHILSR.js +4 -0
- package/dist/cdn/UCNNVIFH.js +4 -0
- package/dist/cdn/UETQQWJR.js +4 -0
- package/dist/cdn/UFG3BQVX.js +4 -0
- package/dist/cdn/UHYKOVRK.js +4 -0
- package/dist/cdn/UIHTD25G.js +4 -0
- package/dist/cdn/UIZNTSZ4.js +4 -0
- package/dist/cdn/UJ2ONFPP.js +4 -0
- package/dist/cdn/UJNIWZNR.js +4 -0
- package/dist/cdn/UMGKN7XH.js +4 -0
- package/dist/cdn/UNQVM4WC.js +4 -0
- package/dist/cdn/UQWJCH4B.js +4 -0
- package/dist/cdn/UTA3YMOD.js +4 -0
- package/dist/cdn/UU4RSSY6.js +4 -0
- package/dist/cdn/UVVGFBAO.js +4 -0
- package/dist/cdn/UZXXHWUU.js +4 -0
- package/dist/cdn/V2WG2Z2L.js +4 -0
- package/dist/cdn/V3DIUBHR.js +4 -0
- package/dist/cdn/V3E2SKT5.js +4 -0
- package/dist/cdn/V5QVHIYE.js +4 -0
- package/dist/cdn/V6NHKOVW.js +4 -0
- package/dist/cdn/V6QIK44K.js +4 -0
- package/dist/cdn/VAJUPB4H.js +4 -0
- package/dist/cdn/VDKRXFSF.js +8 -0
- package/dist/cdn/VIIB6PRL.js +4 -0
- package/dist/cdn/VJT66KDA.js +4 -0
- package/dist/cdn/VJTJYEXN.js +4 -0
- package/dist/cdn/VLYR64XL.js +4 -0
- package/dist/cdn/VNCTCE3W.js +5 -0
- package/dist/cdn/VQCAEAMG.js +4 -0
- package/dist/cdn/VQQ3WZ42.js +4 -0
- package/dist/cdn/VRDM4I7J.js +4 -0
- package/dist/cdn/VSPWXVBG.js +4 -0
- package/dist/cdn/VST3UOBN.js +4 -0
- package/dist/cdn/VVUHYTPP.js +4 -0
- package/dist/cdn/VWVG4LGD.js +4 -0
- package/dist/cdn/VYJILSFN.js +4 -0
- package/dist/cdn/W2ENVDR4.js +4 -0
- package/dist/cdn/W2VUBLW2.js +4 -0
- package/dist/cdn/W3KZGJKS.js +4 -0
- package/dist/cdn/W4I6EPD5.js +4 -0
- package/dist/cdn/WAE4Y3GA.js +4 -0
- package/dist/cdn/WBARWQE5.js +4 -0
- package/dist/cdn/WEHYONDE.js +4 -0
- package/dist/cdn/WGCSNCQV.js +4 -0
- package/dist/cdn/WHNYGNQK.js +42 -0
- package/dist/cdn/WKEC2XG3.js +4 -0
- package/dist/cdn/WMWUTDRN.js +4 -0
- package/dist/cdn/WP7DDOMM.js +3 -0
- package/dist/cdn/WQ2BTR2G.js +4 -0
- package/dist/cdn/WQHPGOEB.js +4 -0
- package/dist/cdn/WR47QMI3.js +4 -0
- package/dist/cdn/WSDBFWIV.js +4 -0
- package/dist/cdn/WTP62YJ2.js +4 -0
- package/dist/cdn/WTTN2JXJ.js +4 -0
- package/dist/cdn/WY42U3F5.js +4 -0
- package/dist/cdn/X2QAYAXN.js +4 -0
- package/dist/cdn/X37CVCBK.js +4 -0
- package/dist/cdn/X3O37OTI.js +4 -0
- package/dist/cdn/X4H6BN5G.js +4 -0
- package/dist/cdn/X7SNHOQL.js +4 -0
- package/dist/cdn/XACC7WYK.js +4 -0
- package/dist/cdn/XAURY4UO.js +4 -0
- package/dist/cdn/XBRL2JOD.js +4 -0
- package/dist/cdn/XCC736PP.js +4 -0
- package/dist/cdn/XCROLCMJ.js +4 -0
- package/dist/cdn/XEIXFQQD.js +4 -0
- package/dist/cdn/XEKEHUN2.js +4 -0
- package/dist/cdn/XGARGL7T.js +4 -0
- package/dist/cdn/XHGGBDVC.js +4 -0
- package/dist/cdn/XHSY3PRD.js +4 -0
- package/dist/cdn/XIGFML3Z.js +4 -0
- package/dist/cdn/XIMPBRRO.js +4 -0
- package/dist/cdn/XQSXWOFG.js +4 -0
- package/dist/cdn/XRWD4FIL.js +4 -0
- package/dist/cdn/XRY5Q7JW.js +4 -0
- package/dist/cdn/XUCTVEYH.js +4 -0
- package/dist/cdn/XXASVXXG.js +4 -0
- package/dist/cdn/XZFE4EQY.js +4 -0
- package/dist/cdn/Y3QJZSKH.js +4 -0
- package/dist/cdn/Y6EYKJ7Z.js +4 -0
- package/dist/cdn/Y7VLYSJP.js +4 -0
- package/dist/cdn/YKYP2GDN.js +4 -0
- package/dist/cdn/YNIKQBUV.js +4 -0
- package/dist/cdn/YRJDB7GR.js +4 -0
- package/dist/cdn/YTG4YHNU.js +4 -0
- package/dist/cdn/YWTGV5G4.js +4 -0
- package/dist/cdn/YY3QZUH2.js +4 -0
- package/dist/cdn/YYYBBJD3.js +4 -0
- package/dist/cdn/YYYISRZY.js +4 -0
- package/dist/cdn/Z26QDS3O.js +4 -0
- package/dist/cdn/Z3D65JKJ.js +4 -0
- package/dist/cdn/Z3KWQUUZ.js +4 -0
- package/dist/cdn/Z4DKKK7K.js +4 -0
- package/dist/cdn/Z5YYGKT5.js +4 -0
- package/dist/cdn/Z6OTASFO.js +4 -0
- package/dist/cdn/Z7O7LWBJ.js +4 -0
- package/dist/cdn/ZBI72URB.js +4 -0
- package/dist/cdn/ZC2Z7OX6.js +4 -0
- package/dist/cdn/ZCB7MPIU.js +4 -0
- package/dist/cdn/ZFLCJDOO.js +4 -0
- package/dist/cdn/ZFMJNKLO.js +4 -0
- package/dist/cdn/ZHJOKMWX.js +4 -0
- package/dist/cdn/ZJI4DYQK.js +4 -0
- package/dist/cdn/ZKEJBEA4.js +4 -0
- package/dist/cdn/ZKOMPWXX.js +4 -0
- package/dist/cdn/ZLUYGUDE.js +4 -0
- package/dist/cdn/ZQTQQZZH.js +4 -0
- package/dist/cdn/ZRF7EF5V.js +4 -0
- package/dist/cdn/ZSZ2STJE.js +4 -0
- package/dist/cdn/ZUGTLVFI.js +4 -0
- package/dist/cdn/ZWZXXMCN.js +4 -0
- package/dist/cdn/ZX7P5KCX.js +4 -0
- package/dist/cdn/ZZHBLCYL.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/chat-action.js +1 -1
- package/dist/chunks/getResponsiveClasses.js +1 -1
- package/dist/chunks/interpolate-translations.js +1 -1
- package/dist/chunks/isNodeVisible.js +1 -1
- package/dist/chunks/memoizeAsync.js +1 -1
- package/dist/chunks/messagesContext.js +1 -1
- package/dist/chunks/migrateTextCard.js +1 -1
- package/dist/chunks/processLayout.js +70 -42
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/state.js +1 -1
- package/dist/chunks/typeGuards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/util.js +1 -1
- package/dist/components/arcgis-chat-shell/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +1 -1
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +1 -1
- package/dist/components/arcgis-layout/customElement.js +1 -1
- package/dist/components/arcgis-layout-column/customElement.js +1 -1
- package/dist/components/arcgis-layout-container/customElement.js +8 -8
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-controls/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-editor/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-highlight/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-overlay/customElement.js +1 -1
- package/dist/components/arcgis-layout-row/customElement.js +1 -1
- package/dist/components/arcgis-layout-section/customElement.js +1 -1
- package/dist/components/arcgis-nav-card/customElement.js +1 -1
- package/dist/components/arcgis-text-card/customElement.js +1 -1
- package/dist/components/layouts/components/layout-node/customElement.js +1 -1
- package/dist/components/layouts/utils/findNodeById.d.ts +8 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/embed-config.js +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/22LSHVV6.js +0 -4
- package/dist/cdn/23D6P45M.js +0 -4
- package/dist/cdn/256SABYO.js +0 -4
- package/dist/cdn/27L3CEZJ.js +0 -4
- package/dist/cdn/2AJMQZVV.js +0 -4
- package/dist/cdn/2BFLITCI.js +0 -4
- package/dist/cdn/2CO6PW5L.js +0 -4
- package/dist/cdn/2E56GZ6N.js +0 -4
- package/dist/cdn/2HMDYPUQ.js +0 -4
- package/dist/cdn/2I6DFTEC.js +0 -4
- package/dist/cdn/2MIIM7IA.js +0 -4
- package/dist/cdn/2NT3GE67.js +0 -4
- package/dist/cdn/2Q4GLMGW.js +0 -4
- package/dist/cdn/2R4ED7Q5.js +0 -4
- package/dist/cdn/2SHSOQGU.js +0 -4
- package/dist/cdn/2SR5MDVW.js +0 -4
- package/dist/cdn/2THZ2GZW.js +0 -4
- package/dist/cdn/2TUWH5SK.js +0 -4
- package/dist/cdn/2UKA4NID.js +0 -4
- package/dist/cdn/2V37BNDA.js +0 -4
- package/dist/cdn/2WDLG25N.js +0 -4
- package/dist/cdn/2XBCYPUK.js +0 -4
- package/dist/cdn/2XGRO7FH.js +0 -4
- package/dist/cdn/2YH7AMN7.js +0 -4
- package/dist/cdn/2YNRKCHU.js +0 -4
- package/dist/cdn/2ZDLGDNQ.js +0 -4
- package/dist/cdn/32HSCXFZ.js +0 -4
- package/dist/cdn/33DXDL62.js +0 -4
- package/dist/cdn/33X5KWFK.js +0 -4
- package/dist/cdn/33ZEU7XN.js +0 -4
- package/dist/cdn/36ELLIKY.js +0 -4
- package/dist/cdn/3BFZGWB4.js +0 -4
- package/dist/cdn/3C6YVRPO.js +0 -4
- package/dist/cdn/3DWFLPDC.js +0 -4
- package/dist/cdn/3GVMCIQC.js +0 -4
- package/dist/cdn/3K75V6M6.js +0 -4
- package/dist/cdn/3KC66FGX.js +0 -4
- package/dist/cdn/3KSESJNM.js +0 -4
- package/dist/cdn/3PBCXDJO.js +0 -4
- package/dist/cdn/3QQSLDBT.js +0 -4
- package/dist/cdn/3R6EKZOF.js +0 -4
- package/dist/cdn/3RJZORXQ.js +0 -4
- package/dist/cdn/3SUMNSDG.js +0 -4
- package/dist/cdn/3TRBUCVX.js +0 -4
- package/dist/cdn/3VRXEDE4.js +0 -4
- package/dist/cdn/3ZB2XC5Z.js +0 -4
- package/dist/cdn/4AE4XWC5.js +0 -4
- package/dist/cdn/4AE67PRQ.js +0 -4
- package/dist/cdn/4AHIWWC5.js +0 -4
- package/dist/cdn/4B5X5C4T.js +0 -4
- package/dist/cdn/4CMOHHEQ.js +0 -4
- package/dist/cdn/4DD42CAF.js +0 -4
- package/dist/cdn/4DMFA2KF.js +0 -4
- package/dist/cdn/4EB5IVBP.js +0 -4
- package/dist/cdn/4FFTGF2X.js +0 -42
- package/dist/cdn/4OYAKLGT.js +0 -4
- package/dist/cdn/4PTCFRT5.js +0 -4
- package/dist/cdn/4QIBJ62J.js +0 -59
- package/dist/cdn/4R6YM7VB.js +0 -4
- package/dist/cdn/4STF7NYE.js +0 -5470
- package/dist/cdn/4TTBL3AJ.js +0 -4
- package/dist/cdn/4UX47JCT.js +0 -4
- package/dist/cdn/4UZYMPZE.js +0 -4
- package/dist/cdn/4WMSGLXS.js +0 -4
- package/dist/cdn/4Y5SL73V.js +0 -4
- package/dist/cdn/4YJKRKIH.js +0 -4
- package/dist/cdn/53UAHRQP.js +0 -4
- package/dist/cdn/54BSOG6P.js +0 -4
- package/dist/cdn/576GCQC5.js +0 -4
- package/dist/cdn/5AFYX4UA.js +0 -4
- package/dist/cdn/5AKL7RWO.js +0 -5
- package/dist/cdn/5C3NF3AH.js +0 -4
- package/dist/cdn/5FWG44RX.js +0 -4
- package/dist/cdn/5GPQC3WI.js +0 -4
- package/dist/cdn/5IMMOYZG.js +0 -4
- package/dist/cdn/5VRH3HK3.js +0 -4
- package/dist/cdn/5WZI3MWZ.js +0 -4
- package/dist/cdn/5X3APYWN.js +0 -4
- package/dist/cdn/5XWUA5VW.js +0 -4
- package/dist/cdn/5YQGV67O.js +0 -4
- package/dist/cdn/5ZBXIWBG.js +0 -4
- package/dist/cdn/62D3LP4X.js +0 -4
- package/dist/cdn/63JPQGYH.js +0 -4
- package/dist/cdn/666Z6HT3.js +0 -9
- package/dist/cdn/6BM73VBR.js +0 -4
- package/dist/cdn/6CDSATOQ.js +0 -4
- package/dist/cdn/6ETZYTPN.js +0 -4
- package/dist/cdn/6JLGGOG4.js +0 -4
- package/dist/cdn/6LNE2AIK.js +0 -4
- package/dist/cdn/6RRJSMDI.js +0 -4
- package/dist/cdn/6RZSUGXW.js +0 -4
- package/dist/cdn/6U2UI7ZH.js +0 -4
- package/dist/cdn/6URE55ZR.js +0 -4
- package/dist/cdn/6USIBCJN.js +0 -4
- package/dist/cdn/6WTV4QM7.js +0 -4
- package/dist/cdn/6XX4YB6F.js +0 -4
- package/dist/cdn/6YLC2DE6.js +0 -4
- package/dist/cdn/72DERB5P.js +0 -4
- package/dist/cdn/72H5JI6F.js +0 -4
- package/dist/cdn/75GCRWPM.js +0 -4
- package/dist/cdn/764GCYKW.js +0 -4
- package/dist/cdn/77VXRNJH.js +0 -4
- package/dist/cdn/7B4VEBWS.js +0 -4
- package/dist/cdn/7CXVT3JJ.js +0 -4
- package/dist/cdn/7GH3GR33.js +0 -4
- package/dist/cdn/7GLNPQ3T.js +0 -4
- package/dist/cdn/7IMN6ULD.js +0 -4
- package/dist/cdn/7J5PNI7K.js +0 -4
- package/dist/cdn/7J5R7GWN.js +0 -4
- package/dist/cdn/7JBM3MOP.js +0 -4
- package/dist/cdn/7KAJJSBT.js +0 -4
- package/dist/cdn/7L2WNLNT.js +0 -4
- package/dist/cdn/7N2NKCBV.js +0 -4
- package/dist/cdn/7RTJHYBJ.js +0 -4
- package/dist/cdn/7WPOAMTQ.js +0 -4
- package/dist/cdn/7XJWERVH.js +0 -4
- package/dist/cdn/7XVE7QN2.js +0 -4
- package/dist/cdn/7ZZXQ7LO.js +0 -4
- package/dist/cdn/A324BZXG.js +0 -4
- package/dist/cdn/A4QEC5MO.js +0 -4
- package/dist/cdn/A6P6773P.js +0 -4
- package/dist/cdn/A73QBK7M.js +0 -4
- package/dist/cdn/AAVAO3EQ.js +0 -4
- package/dist/cdn/AB5JLV4G.js +0 -4
- package/dist/cdn/ABCGDPE5.js +0 -4
- package/dist/cdn/ABIQSNKV.js +0 -4
- package/dist/cdn/AE56JUO4.js +0 -4
- package/dist/cdn/AGG66T7V.js +0 -4
- package/dist/cdn/AHJKLMPW.js +0 -4
- package/dist/cdn/AHSQS6Z7.js +0 -4
- package/dist/cdn/AJCM5L4U.js +0 -4
- package/dist/cdn/ALUD4UC3.js +0 -4
- package/dist/cdn/AM3ODDG5.js +0 -4
- package/dist/cdn/AOK7PHWR.js +0 -4
- package/dist/cdn/APXRAGIB.js +0 -11
- package/dist/cdn/ASAKB756.js +0 -4
- package/dist/cdn/AT35KKXI.js +0 -4
- package/dist/cdn/ATVY6N36.js +0 -4
- package/dist/cdn/AVDJKXDA.js +0 -4
- package/dist/cdn/AWWPCQI2.js +0 -4
- package/dist/cdn/AX3U6KMY.js +0 -4
- package/dist/cdn/AZ4A53I6.js +0 -4
- package/dist/cdn/AZWPSTIN.js +0 -4
- package/dist/cdn/B367JULN.js +0 -4
- package/dist/cdn/B3S3FWVY.js +0 -4
- package/dist/cdn/B5GJ3UC7.js +0 -4
- package/dist/cdn/B5OBAHO4.js +0 -4
- package/dist/cdn/B6OCXRAO.js +0 -4
- package/dist/cdn/B6OSFWIT.js +0 -4
- package/dist/cdn/B7LFTUFF.js +0 -4
- package/dist/cdn/B7WIS3VR.js +0 -4
- package/dist/cdn/BC5XTEDW.js +0 -4
- package/dist/cdn/BCQGJWBF.js +0 -4
- package/dist/cdn/BDNT6SQK.js +0 -4
- package/dist/cdn/BELJIXER.js +0 -4
- package/dist/cdn/BF5OLYT2.js +0 -4
- package/dist/cdn/BGLR4E7K.js +0 -4
- package/dist/cdn/BIAO3RI5.js +0 -4
- package/dist/cdn/BJ3LEIS5.js +0 -4
- package/dist/cdn/BJVDBETD.js +0 -4
- package/dist/cdn/BMLLQBWW.js +0 -4
- package/dist/cdn/BNGSKOLR.js +0 -4
- package/dist/cdn/BNTFNSTS.js +0 -4
- package/dist/cdn/BOM5CAPI.js +0 -4
- package/dist/cdn/BR2V3FKU.js +0 -4
- package/dist/cdn/BR6LXX46.js +0 -4
- package/dist/cdn/BS7G4IDY.js +0 -4
- package/dist/cdn/BSBVYKVN.js +0 -4
- package/dist/cdn/BSINTX4J.js +0 -4
- package/dist/cdn/BVH2T72S.js +0 -4
- package/dist/cdn/BW6B5SY3.js +0 -4
- package/dist/cdn/BYFO5HAS.js +0 -4
- package/dist/cdn/BYSK4GWD.js +0 -4
- package/dist/cdn/BZJPPMOI.js +0 -4
- package/dist/cdn/C2I2ZOIY.js +0 -4
- package/dist/cdn/C3KCPOZW.js +0 -4
- package/dist/cdn/C4BDV7TO.js +0 -4
- package/dist/cdn/C5LBYAY2.js +0 -4
- package/dist/cdn/C6PDFNPR.js +0 -4
- package/dist/cdn/CAUBS6UD.js +0 -4
- package/dist/cdn/CBIK5OM2.js +0 -4
- package/dist/cdn/CEDWJKOR.js +0 -4
- package/dist/cdn/CHIJHSOX.js +0 -4
- package/dist/cdn/CJMMQSMM.js +0 -4
- package/dist/cdn/CJQRF6ME.js +0 -4
- package/dist/cdn/CMLCOMLV.js +0 -4
- package/dist/cdn/CNA5ZXDO.js +0 -4
- package/dist/cdn/CNL6QBUS.js +0 -4
- package/dist/cdn/CPRI6XXZ.js +0 -4
- package/dist/cdn/CQ2BT2FI.js +0 -4
- package/dist/cdn/CRUH73PJ.js +0 -4
- package/dist/cdn/CSONDXMD.js +0 -4
- package/dist/cdn/CUPJ44BP.js +0 -4
- package/dist/cdn/CVOTP4FS.js +0 -4
- package/dist/cdn/CW54EYYU.js +0 -4
- package/dist/cdn/CYVIFUDY.js +0 -4
- package/dist/cdn/CZGTVZ3Z.js +0 -4
- package/dist/cdn/D4JEZYOV.js +0 -9
- package/dist/cdn/D5NOR57P.js +0 -4
- package/dist/cdn/DBNK7SOL.js +0 -4
- package/dist/cdn/DBPLCURR.js +0 -4
- package/dist/cdn/DBQMPR73.js +0 -4
- package/dist/cdn/DGDYXZSX.js +0 -4
- package/dist/cdn/DI22MXTU.js +0 -4
- package/dist/cdn/DJ3L3AUA.js +0 -4
- package/dist/cdn/DJ5XVLLE.js +0 -4
- package/dist/cdn/DJ7TA6LM.js +0 -4
- package/dist/cdn/DLUTMPDC.js +0 -4
- package/dist/cdn/DO2PAIZK.js +0 -4
- package/dist/cdn/DOBP7J47.js +0 -3
- package/dist/cdn/DUR3DSWV.js +0 -4
- package/dist/cdn/DV6PBS43.js +0 -4
- package/dist/cdn/DXCLGXLN.js +0 -4
- package/dist/cdn/DXTXZK6R.js +0 -4
- package/dist/cdn/DZDYUG7A.js +0 -4
- package/dist/cdn/E2B5SZL3.js +0 -4
- package/dist/cdn/E2JZUHD6.js +0 -4
- package/dist/cdn/E7BIFLMV.js +0 -4
- package/dist/cdn/EADWDZXK.js +0 -4
- package/dist/cdn/EBLK53RI.js +0 -4
- package/dist/cdn/EBZ5PM7W.js +0 -4
- package/dist/cdn/ECADGNEH.js +0 -4
- package/dist/cdn/ECZQKBFU.js +0 -4
- package/dist/cdn/EEMAMN2E.js +0 -4
- package/dist/cdn/EGO5M67F.js +0 -4
- package/dist/cdn/EH5336LT.js +0 -4
- package/dist/cdn/EIYTSIPN.js +0 -4
- package/dist/cdn/EJACWE4U.js +0 -4
- package/dist/cdn/EL4QDF4I.js +0 -4
- package/dist/cdn/EM4M5QFZ.js +0 -4
- package/dist/cdn/EPGEW2MT.js +0 -4
- package/dist/cdn/EQ4FU24B.js +0 -4
- package/dist/cdn/ETP6OWXH.js +0 -4
- package/dist/cdn/EUZAJH2R.js +0 -4
- package/dist/cdn/EXFDXF6P.js +0 -4
- package/dist/cdn/EYXIAO5Y.js +0 -4
- package/dist/cdn/F4S7AQKM.js +0 -4
- package/dist/cdn/F4TRE3QN.js +0 -4
- package/dist/cdn/F4YJ34BL.js +0 -6
- package/dist/cdn/F6HHCT6T.js +0 -4
- package/dist/cdn/FBDPPFVZ.js +0 -4
- package/dist/cdn/FCBIIZAS.js +0 -4
- package/dist/cdn/FCHVXW3M.js +0 -4
- package/dist/cdn/FFWDEOY7.js +0 -4
- package/dist/cdn/FIFSTKKR.js +0 -4
- package/dist/cdn/FIS37CTS.js +0 -4
- package/dist/cdn/FJVBBBLV.js +0 -4
- package/dist/cdn/FLCHBGV6.js +0 -4
- package/dist/cdn/FNMNGQPS.js +0 -4
- package/dist/cdn/FPK3Q7A5.js +0 -4
- package/dist/cdn/FPZ6NLE3.js +0 -4
- package/dist/cdn/FQFB6PIJ.js +0 -4
- package/dist/cdn/FS54KYRG.js +0 -4
- package/dist/cdn/FV5NH7LV.js +0 -4
- package/dist/cdn/FVONT4AQ.js +0 -4
- package/dist/cdn/FW7G672X.js +0 -4
- package/dist/cdn/FX7COL3I.js +0 -4
- package/dist/cdn/G3OH6WO2.js +0 -4
- package/dist/cdn/G4BLL76X.js +0 -4
- package/dist/cdn/G4YO32FH.js +0 -4
- package/dist/cdn/G6BMJDRC.js +0 -4
- package/dist/cdn/G6D7A7RE.js +0 -4
- package/dist/cdn/GAJJN55A.js +0 -4
- package/dist/cdn/GAUVKHTN.js +0 -4
- package/dist/cdn/GDTY3FAB.js +0 -4
- package/dist/cdn/GEPQFXQJ.js +0 -4
- package/dist/cdn/GFXYMRJM.js +0 -4
- package/dist/cdn/GGMJ365V.js +0 -4
- package/dist/cdn/GJTT2JY6.js +0 -4
- package/dist/cdn/GLYCSWKU.js +0 -4
- package/dist/cdn/GMSUCK4M.js +0 -4
- package/dist/cdn/GN7HA4SG.js +0 -16
- package/dist/cdn/GNGVX3GL.js +0 -4
- package/dist/cdn/GQUB2QH4.js +0 -4
- package/dist/cdn/GR3HVOLD.js +0 -4
- package/dist/cdn/GRIYBNRQ.js +0 -4
- package/dist/cdn/GSCTL6UF.js +0 -4
- package/dist/cdn/GSTRVF7I.js +0 -4
- package/dist/cdn/GTYHTOF5.js +0 -4
- package/dist/cdn/GVQUQU5I.js +0 -4
- package/dist/cdn/GW6AWIFS.js +0 -4
- package/dist/cdn/GW6TSJUU.js +0 -4
- package/dist/cdn/GXVESZJ3.js +0 -4
- package/dist/cdn/GZHLYPMH.js +0 -4
- package/dist/cdn/H4G3SC2Z.js +0 -4
- package/dist/cdn/H4S2ZFRL.js +0 -4
- package/dist/cdn/H53MDZHR.js +0 -4
- package/dist/cdn/H6XKNXX3.js +0 -4
- package/dist/cdn/H6YTTM2C.js +0 -4
- package/dist/cdn/HDLVZXYK.js +0 -4
- package/dist/cdn/HFM4BXZZ.js +0 -4
- package/dist/cdn/HGM3DH62.js +0 -7
- package/dist/cdn/HHW4YIZH.js +0 -4
- package/dist/cdn/HKJYBOWZ.js +0 -4
- package/dist/cdn/HN2CRXZC.js +0 -4
- package/dist/cdn/HNCU4MWV.js +0 -4
- package/dist/cdn/HO7YFV37.js +0 -4
- package/dist/cdn/HQ4NBTIY.js +0 -4
- package/dist/cdn/HQDQTFJE.js +0 -4
- package/dist/cdn/HRHMCX4Z.js +0 -4
- package/dist/cdn/HTUY5OF3.js +0 -4
- package/dist/cdn/HUP36KFZ.js +0 -4
- package/dist/cdn/HW3FDTBQ.js +0 -4
- package/dist/cdn/HWPNGFSC.js +0 -4
- package/dist/cdn/HX3SWXQQ.js +0 -4
- package/dist/cdn/HXAZLLYS.js +0 -4
- package/dist/cdn/HY5J7CZZ.js +0 -4
- package/dist/cdn/HYO4DDJL.js +0 -4
- package/dist/cdn/I5ZK4D4R.js +0 -5
- package/dist/cdn/IAWAM5GS.js +0 -4
- package/dist/cdn/ID6NV75R.js +0 -4
- package/dist/cdn/IEHAL6R5.js +0 -4
- package/dist/cdn/IFXZOY7I.js +0 -4
- package/dist/cdn/IGGRDAFK.js +0 -4
- package/dist/cdn/IGJUSLHE.js +0 -4
- package/dist/cdn/IHFRZKRN.js +0 -4
- package/dist/cdn/IMIKQYUQ.js +0 -4
- package/dist/cdn/IQ3KU47K.js +0 -4
- package/dist/cdn/IQGC5D7Z.js +0 -4
- package/dist/cdn/IQL2PPLV.js +0 -4
- package/dist/cdn/IRBPHU63.js +0 -4
- package/dist/cdn/ITFA3QLI.js +0 -41
- package/dist/cdn/IU2B7EVH.js +0 -4
- package/dist/cdn/IU5HC3OB.js +0 -4
- package/dist/cdn/IUTWDAFA.js +0 -4
- package/dist/cdn/IVMR244J.js +0 -4
- package/dist/cdn/IW3CSYKQ.js +0 -4
- package/dist/cdn/IWAT4XV7.js +0 -4
- package/dist/cdn/IXTLQZRD.js +0 -4
- package/dist/cdn/IZWKMTZH.js +0 -4
- package/dist/cdn/J2VHK4JE.js +0 -4
- package/dist/cdn/J3FU7UJN.js +0 -4
- package/dist/cdn/J3R7RZ7D.js +0 -4
- package/dist/cdn/J4LK3WPU.js +0 -4
- package/dist/cdn/J7IGZ4U5.js +0 -4
- package/dist/cdn/J7QMOKPA.js +0 -4
- package/dist/cdn/JAGKGOM4.js +0 -4
- package/dist/cdn/JCPACK4Z.js +0 -4
- package/dist/cdn/JDLNIYU7.js +0 -4
- package/dist/cdn/JECNYIAM.js +0 -4
- package/dist/cdn/JGHTELB5.js +0 -4
- package/dist/cdn/JGINMLOC.js +0 -4
- package/dist/cdn/JILREGXZ.js +0 -4
- package/dist/cdn/JJAK5OIJ.js +0 -4
- package/dist/cdn/JKUJAFZ4.js +0 -4
- package/dist/cdn/JL7TNRXO.js +0 -4
- package/dist/cdn/JLG4FJBQ.js +0 -4
- package/dist/cdn/JLXDAL6U.js +0 -4
- package/dist/cdn/JM5WORZ6.js +0 -4
- package/dist/cdn/JMYTTJXF.js +0 -4
- package/dist/cdn/JOEWX3GT.js +0 -6
- package/dist/cdn/JQ2LE6EE.js +0 -4
- package/dist/cdn/JT7U3EHZ.js +0 -4
- package/dist/cdn/JTH7WXUC.js +0 -4
- package/dist/cdn/JTLWLKM2.js +0 -4
- package/dist/cdn/JV2O5XRQ.js +0 -4
- package/dist/cdn/JWBHMMK6.js +0 -4
- package/dist/cdn/JWLRL5W4.js +0 -4
- package/dist/cdn/JX66IQIM.js +0 -4
- package/dist/cdn/JXFJOQUT.js +0 -4
- package/dist/cdn/JZPR2S5Y.js +0 -24
- package/dist/cdn/K2A7ZZFK.js +0 -4
- package/dist/cdn/K2L72BJA.js +0 -4
- package/dist/cdn/K37CYEFV.js +0 -4
- package/dist/cdn/K3GOLKAE.js +0 -4
- package/dist/cdn/K5QESPJZ.js +0 -4
- package/dist/cdn/K6EAFMTK.js +0 -4
- package/dist/cdn/KAOD67GI.js +0 -4
- package/dist/cdn/KCOACD73.js +0 -4
- package/dist/cdn/KCQTPDDI.js +0 -4
- package/dist/cdn/KDNCXLVF.js +0 -4
- package/dist/cdn/KJB7R7RS.js +0 -4
- package/dist/cdn/KKDZNABE.js +0 -4
- package/dist/cdn/KLOAE2XI.js +0 -4
- package/dist/cdn/KLSJJBJQ.js +0 -4
- package/dist/cdn/KLSVZKQY.js +0 -4
- package/dist/cdn/KLVX5LJI.js +0 -4
- package/dist/cdn/KN6C5NR7.js +0 -4
- package/dist/cdn/KPY3KRDU.js +0 -4
- package/dist/cdn/KQ44J7JT.js +0 -4
- package/dist/cdn/KQAYSANW.js +0 -4
- package/dist/cdn/KU2CXDK5.js +0 -4
- package/dist/cdn/KXZZE5GR.js +0 -4
- package/dist/cdn/L2BTDKFR.js +0 -4
- package/dist/cdn/L2BUGCZZ.js +0 -4
- package/dist/cdn/L5CQ37PJ.js +0 -4
- package/dist/cdn/L5WU6YO6.js +0 -4
- package/dist/cdn/L6QD5BDG.js +0 -4
- package/dist/cdn/L7UJ7UA2.js +0 -4
- package/dist/cdn/LB3LURVT.js +0 -6
- package/dist/cdn/LDQEV4XP.js +0 -4
- package/dist/cdn/LEPYWV4H.js +0 -4
- package/dist/cdn/LFMSSFFZ.js +0 -4
- package/dist/cdn/LI6FQTTN.js +0 -4
- package/dist/cdn/LIGFSXJM.js +0 -4
- package/dist/cdn/LIJUNFG6.js +0 -4
- package/dist/cdn/LJD2HJTE.js +0 -4
- package/dist/cdn/LJFTUG5Q.js +0 -4
- package/dist/cdn/LLASCI3K.js +0 -4
- package/dist/cdn/LMBE4F65.js +0 -4
- package/dist/cdn/LMWWTZ2L.js +0 -4
- package/dist/cdn/LNEI6DED.js +0 -4
- package/dist/cdn/LR4LVQJC.js +0 -25
- package/dist/cdn/LRBYFL3U.js +0 -4
- package/dist/cdn/LRD72FKN.js +0 -4
- package/dist/cdn/LRQJJ27X.js +0 -4
- package/dist/cdn/LRW76OON.js +0 -4
- package/dist/cdn/LSBSLYGB.js +0 -4
- package/dist/cdn/LSQNVPTI.js +0 -4
- package/dist/cdn/LWJIKP3J.js +0 -4
- package/dist/cdn/LYBZW7GC.js +0 -4
- package/dist/cdn/M3FDQJPT.js +0 -4
- package/dist/cdn/M5FZRBGH.js +0 -4
- package/dist/cdn/M7JSB2O3.js +0 -4
- package/dist/cdn/MANNWWM5.js +0 -4
- package/dist/cdn/MBKNZI7I.js +0 -4
- package/dist/cdn/MBWCAY4F.js +0 -4
- package/dist/cdn/MDF2NKLI.js +0 -4
- package/dist/cdn/MEKMJ5KX.js +0 -4
- package/dist/cdn/MF5QCABB.js +0 -4
- package/dist/cdn/MGUFPG3R.js +0 -4
- package/dist/cdn/MGWANBZO.js +0 -4
- package/dist/cdn/MJGPLMZQ.js +0 -4
- package/dist/cdn/MJTVORR3.js +0 -4
- package/dist/cdn/MKMHNU6D.js +0 -4
- package/dist/cdn/MMEJ5VJF.js +0 -4
- package/dist/cdn/MMTBRFUJ.js +0 -4
- package/dist/cdn/MNKNFEOA.js +0 -4
- package/dist/cdn/MRC2USYG.js +0 -4
- package/dist/cdn/MRT5QFQF.js +0 -4
- package/dist/cdn/MSGX22VC.js +0 -4
- package/dist/cdn/MSYWDSKI.js +0 -4
- package/dist/cdn/MU4B2X3G.js +0 -4
- package/dist/cdn/MXCTDSGT.js +0 -4
- package/dist/cdn/MXTA3LG3.js +0 -4
- package/dist/cdn/MYN2YFOJ.js +0 -4
- package/dist/cdn/MYWF7SEY.js +0 -4
- package/dist/cdn/N4C46ROG.js +0 -4
- package/dist/cdn/N63X3HDM.js +0 -4
- package/dist/cdn/N74BLN7N.js +0 -4
- package/dist/cdn/NBL5AEGT.js +0 -4
- package/dist/cdn/ND4UY3BT.js +0 -4
- package/dist/cdn/ND6GANR3.js +0 -4
- package/dist/cdn/NDMI3Q2Q.js +0 -4
- package/dist/cdn/NE7FRZJ6.js +0 -4
- package/dist/cdn/NHJGUACL.js +0 -4
- package/dist/cdn/NIGGKELY.js +0 -4
- package/dist/cdn/NK65YA3I.js +0 -4
- package/dist/cdn/NLF56Z5W.js +0 -4
- package/dist/cdn/NLMPT4CG.js +0 -4
- package/dist/cdn/NMZNVMOM.js +0 -4
- package/dist/cdn/NNBPLCHT.js +0 -4
- package/dist/cdn/NNQ2TRCH.js +0 -5
- package/dist/cdn/NOQ3INIH.js +0 -4
- package/dist/cdn/NOYQ4DKT.js +0 -4
- package/dist/cdn/NP7XBA37.js +0 -4
- package/dist/cdn/NR4EDGQJ.js +0 -4
- package/dist/cdn/NSVSNZVG.js +0 -4
- package/dist/cdn/NUGX7N54.js +0 -4
- package/dist/cdn/NUS2MKOK.js +0 -4
- package/dist/cdn/NVKXWNVA.js +0 -4
- package/dist/cdn/NXVCN26X.js +0 -4
- package/dist/cdn/NYHV7RSU.js +0 -4
- package/dist/cdn/NZILGKND.js +0 -4
- package/dist/cdn/O36VZJ2B.js +0 -4
- package/dist/cdn/O3KY7Z3N.js +0 -4
- package/dist/cdn/O3XQRAQI.js +0 -4
- package/dist/cdn/O6DPSCBJ.js +0 -4
- package/dist/cdn/OIJ3QBNQ.js +0 -4
- package/dist/cdn/OIWGP3SA.js +0 -4
- package/dist/cdn/OJ7PP73J.js +0 -4
- package/dist/cdn/OKXRKZER.js +0 -4
- package/dist/cdn/OLJV3MWD.js +0 -4
- package/dist/cdn/OLNJ33MQ.js +0 -4
- package/dist/cdn/OMR2CCVD.js +0 -4
- package/dist/cdn/ONFRDPZU.js +0 -4
- package/dist/cdn/ORQZE2QC.js +0 -4
- package/dist/cdn/OSEQSSJR.js +0 -4
- package/dist/cdn/OSGLKKMX.js +0 -4
- package/dist/cdn/OSGWWFKA.js +0 -4
- package/dist/cdn/OT6XI5OC.js +0 -4
- package/dist/cdn/OXEEC526.js +0 -4
- package/dist/cdn/OXKDS2O4.js +0 -4
- package/dist/cdn/OZDDEKWH.js +0 -4
- package/dist/cdn/P3ZLZM22.js +0 -4
- package/dist/cdn/P4RXVW25.js +0 -4
- package/dist/cdn/P4VZT4CZ.js +0 -4
- package/dist/cdn/P554XAVZ.js +0 -4
- package/dist/cdn/P7HHCLSF.js +0 -4
- package/dist/cdn/PBSAPBVQ.js +0 -4
- package/dist/cdn/PBXWKOIY.js +0 -4
- package/dist/cdn/PDKEIINL.js +0 -4
- package/dist/cdn/PDTXHMKP.js +0 -4
- package/dist/cdn/PEXKQS2B.js +0 -4
- package/dist/cdn/PF7JXYYX.js +0 -4
- package/dist/cdn/PFG5XO6M.js +0 -4
- package/dist/cdn/PITQQCH4.js +0 -4
- package/dist/cdn/PNXTHDIY.js +0 -4
- package/dist/cdn/POAYKQDF.js +0 -4
- package/dist/cdn/PPHDCXSD.js +0 -4
- package/dist/cdn/PPRKUHIN.js +0 -4
- package/dist/cdn/PROWNS53.js +0 -4
- package/dist/cdn/PRWABDIU.js +0 -4
- package/dist/cdn/PSYMKYTE.js +0 -4
- package/dist/cdn/PTALEFNQ.js +0 -4
- package/dist/cdn/PV26P7OE.js +0 -4
- package/dist/cdn/PYAYQUVO.js +0 -5
- package/dist/cdn/PYYSUNKE.js +0 -4
- package/dist/cdn/PZULOWL7.js +0 -4
- package/dist/cdn/Q3DDIP3I.js +0 -4
- package/dist/cdn/Q5EWEZYJ.js +0 -4
- package/dist/cdn/Q5T2PUGB.js +0 -4
- package/dist/cdn/QD4PTMTN.js +0 -4
- package/dist/cdn/QEA7NYRC.js +0 -4
- package/dist/cdn/QIMPC63F.js +0 -4
- package/dist/cdn/QMSSSNV4.js +0 -4
- package/dist/cdn/QN7YCSFG.js +0 -4
- package/dist/cdn/QO46PKOL.js +0 -4
- package/dist/cdn/QOIFAJHV.js +0 -4
- package/dist/cdn/QORJ3YNX.js +0 -4
- package/dist/cdn/QQEC6TX2.js +0 -4
- package/dist/cdn/QQMPDQKS.js +0 -4
- package/dist/cdn/QQPJQIV2.js +0 -4
- package/dist/cdn/QROJCHUG.js +0 -4
- package/dist/cdn/QRTEIIOI.js +0 -4
- package/dist/cdn/QS4BUP3V.js +0 -4
- package/dist/cdn/QUDTA7EC.js +0 -4
- package/dist/cdn/QV32W3G2.js +0 -4
- package/dist/cdn/QYW7RK7T.js +0 -4
- package/dist/cdn/QZWUM7NO.js +0 -4
- package/dist/cdn/R2PV52UF.js +0 -4
- package/dist/cdn/R3JNSWCQ.js +0 -4
- package/dist/cdn/R3X3VCWB.js +0 -4
- package/dist/cdn/R4EPE7HV.js +0 -4
- package/dist/cdn/R6QZ5W74.js +0 -4
- package/dist/cdn/R7ZGZFVZ.js +0 -4
- package/dist/cdn/RA72NP67.js +0 -51
- package/dist/cdn/RBT6OP64.js +0 -4
- package/dist/cdn/RC4XU3ZZ.js +0 -4
- package/dist/cdn/RDNHE4L3.js +0 -4
- package/dist/cdn/RDNJM2B7.js +0 -4
- package/dist/cdn/REY6L5PB.js +0 -4
- package/dist/cdn/RFHYK42X.js +0 -4
- package/dist/cdn/RGCFD2IG.js +0 -8
- package/dist/cdn/RKAYFZFC.js +0 -4
- package/dist/cdn/RKDV6O4T.js +0 -4
- package/dist/cdn/RKG63YF4.js +0 -4
- package/dist/cdn/RMCNMVDS.js +0 -4
- package/dist/cdn/RNC677XR.js +0 -4
- package/dist/cdn/RNFP6E26.js +0 -4
- package/dist/cdn/RRK542ZB.js +0 -52
- package/dist/cdn/RS36NDZF.js +0 -4
- package/dist/cdn/RVOMFRCI.js +0 -4
- package/dist/cdn/RWH7TH6Y.js +0 -4
- package/dist/cdn/RWJIWS5J.js +0 -4
- package/dist/cdn/S6O52O5P.js +0 -4
- package/dist/cdn/SAPK4ZSF.js +0 -4
- package/dist/cdn/SCCCSUU7.js +0 -4
- package/dist/cdn/SEHDJ56O.js +0 -4
- package/dist/cdn/SFBNM6EE.js +0 -4
- package/dist/cdn/SFQG777W.js +0 -4
- package/dist/cdn/SG6MBO3C.js +0 -4
- package/dist/cdn/SI3AAW44.js +0 -4
- package/dist/cdn/SIBETZO7.js +0 -4
- package/dist/cdn/SIDBFTZA.js +0 -5
- package/dist/cdn/SK6FLQRE.js +0 -4
- package/dist/cdn/SKMZ3SHL.js +0 -4
- package/dist/cdn/SPWZLFPC.js +0 -4
- package/dist/cdn/SPYHXDBE.js +0 -4
- package/dist/cdn/SQAFWTNY.js +0 -4
- package/dist/cdn/SU72QIO2.js +0 -4
- package/dist/cdn/SYZXCNMG.js +0 -4
- package/dist/cdn/SZ32MMLQ.js +0 -4
- package/dist/cdn/SZ6QQSGN.js +0 -4
- package/dist/cdn/SZU4L2F4.js +0 -4
- package/dist/cdn/T2B7DUZB.js +0 -4
- package/dist/cdn/T36L3OQC.js +0 -4
- package/dist/cdn/T3IL2CCC.js +0 -4
- package/dist/cdn/T4L5R5LP.js +0 -4
- package/dist/cdn/T564B266.js +0 -4
- package/dist/cdn/T6K6F4PY.js +0 -4
- package/dist/cdn/T6MP3JBS.js +0 -4
- package/dist/cdn/T77S63Z4.js +0 -4
- package/dist/cdn/TAT4UTOV.js +0 -4
- package/dist/cdn/TB74XMNP.js +0 -4
- package/dist/cdn/TC2RQKJS.js +0 -4
- package/dist/cdn/TCKOT4ZK.js +0 -4
- package/dist/cdn/TDHMZIUO.js +0 -4
- package/dist/cdn/TDNL4CXL.js +0 -4
- package/dist/cdn/TEOLKDTG.js +0 -4
- package/dist/cdn/TGH2IWOT.js +0 -4
- package/dist/cdn/TGNAK74V.js +0 -4
- package/dist/cdn/TKWVTVR5.js +0 -4
- package/dist/cdn/TNZR2ZC6.js +0 -4
- package/dist/cdn/TOLPGFLZ.js +0 -4
- package/dist/cdn/TOWO2FPW.js +0 -4
- package/dist/cdn/TPM4QVDU.js +0 -4
- package/dist/cdn/TPQX5EZ3.js +0 -4
- package/dist/cdn/TPWNRCDL.js +0 -4
- package/dist/cdn/TVEQ2NME.js +0 -4
- package/dist/cdn/TYAX5NM5.js +0 -4
- package/dist/cdn/TYBIHDQF.js +0 -4
- package/dist/cdn/TYXKJ4MU.js +0 -4
- package/dist/cdn/TZDNRZSP.js +0 -4
- package/dist/cdn/TZNOBMUT.js +0 -4
- package/dist/cdn/TZP76GNZ.js +0 -4
- package/dist/cdn/U2JDFHBL.js +0 -4
- package/dist/cdn/U446UON7.js +0 -4
- package/dist/cdn/U5IO6EJT.js +0 -4
- package/dist/cdn/U5WQ2PD2.js +0 -4
- package/dist/cdn/UF7XJI5I.js +0 -4
- package/dist/cdn/UGG2M5IF.js +0 -4
- package/dist/cdn/UILRLXLS.js +0 -4
- package/dist/cdn/UJRCR6OW.js +0 -4
- package/dist/cdn/UJYUR334.js +0 -4
- package/dist/cdn/UL2FCTR2.js +0 -4
- package/dist/cdn/ULIUMFXL.js +0 -4
- package/dist/cdn/UMQHHXY7.js +0 -4
- package/dist/cdn/UNASCO6M.js +0 -4
- package/dist/cdn/URSIJVMD.js +0 -4
- package/dist/cdn/URZTGF6L.js +0 -4
- package/dist/cdn/US6S5M7A.js +0 -4
- package/dist/cdn/USUOIH4E.js +0 -4
- package/dist/cdn/UTNBAOCU.js +0 -4
- package/dist/cdn/UTNL2XKE.js +0 -4
- package/dist/cdn/UVMV64NO.js +0 -4
- package/dist/cdn/UXOPTH2C.js +0 -4
- package/dist/cdn/UZHESOAI.js +0 -4
- package/dist/cdn/V2G5C56E.js +0 -4
- package/dist/cdn/V37Y2RDH.js +0 -4
- package/dist/cdn/V4GZU5LV.js +0 -59
- package/dist/cdn/V53WK755.js +0 -4
- package/dist/cdn/V77EFUS5.js +0 -4
- package/dist/cdn/VAIDUTB2.js +0 -4
- package/dist/cdn/VC3YWBUU.js +0 -4
- package/dist/cdn/VK4IATGE.js +0 -4
- package/dist/cdn/VLBQOHZ6.js +0 -4
- package/dist/cdn/VLC4QNLN.js +0 -4
- package/dist/cdn/VLTZTMIS.js +0 -4
- package/dist/cdn/VMGVHBGO.js +0 -4
- package/dist/cdn/VMSWIS3P.js +0 -4
- package/dist/cdn/VOPTRYQ5.js +0 -4
- package/dist/cdn/VQGZJN4G.js +0 -4
- package/dist/cdn/VRZBDBDC.js +0 -4
- package/dist/cdn/VUCTDEJE.js +0 -4
- package/dist/cdn/VWYG6243.js +0 -4
- package/dist/cdn/VYFLSBKE.js +0 -4
- package/dist/cdn/VYHLRCX5.js +0 -4
- package/dist/cdn/VYNRATBS.js +0 -4
- package/dist/cdn/VYSLZ2UC.js +0 -4
- package/dist/cdn/W2RH652T.js +0 -4
- package/dist/cdn/W42EKF7C.js +0 -4
- package/dist/cdn/W4HZ6SNW.js +0 -4
- package/dist/cdn/W5QBE5H3.js +0 -4
- package/dist/cdn/W5WNAFFR.js +0 -4
- package/dist/cdn/W7WLOVGX.js +0 -4
- package/dist/cdn/WG3EOREM.js +0 -4
- package/dist/cdn/WINFLO6U.js +0 -4
- package/dist/cdn/WMSPO4A3.js +0 -4
- package/dist/cdn/WOBRJ75C.js +0 -4
- package/dist/cdn/WOGC6ODK.js +0 -4
- package/dist/cdn/WPQVAJTR.js +0 -4
- package/dist/cdn/WR6HBUGX.js +0 -4
- package/dist/cdn/WRWY7Z5X.js +0 -4
- package/dist/cdn/WSIORN5J.js +0 -4
- package/dist/cdn/WSPZPMPD.js +0 -4
- package/dist/cdn/WV6K5DWE.js +0 -4
- package/dist/cdn/WYHBFNZP.js +0 -4
- package/dist/cdn/X2FYZ23F.js +0 -4
- package/dist/cdn/X47SKJJI.js +0 -4
- package/dist/cdn/X66KD4JG.js +0 -4
- package/dist/cdn/XATLWJEI.js +0 -4
- package/dist/cdn/XBACFMTF.js +0 -4
- package/dist/cdn/XBDIGKAD.js +0 -4
- package/dist/cdn/XCW56LOG.js +0 -4
- package/dist/cdn/XEBTXOG4.js +0 -4
- package/dist/cdn/XF5KQRNU.js +0 -4
- package/dist/cdn/XHI3WKK6.js +0 -4
- package/dist/cdn/XHXT5GZH.js +0 -4
- package/dist/cdn/XI3RHWIV.js +0 -4
- package/dist/cdn/XIONQVFO.js +0 -4
- package/dist/cdn/XJ2O6LFH.js +0 -4
- package/dist/cdn/XJ7DHXVJ.js +0 -4
- package/dist/cdn/XJTEYG2C.js +0 -4
- package/dist/cdn/XKREQTJY.js +0 -4
- package/dist/cdn/XMRPBZZJ.js +0 -4
- package/dist/cdn/XP4IVAIU.js +0 -4
- package/dist/cdn/XQ3IVQQF.js +0 -4
- package/dist/cdn/XRPM62ID.js +0 -4
- package/dist/cdn/XRT2BQTI.js +0 -4
- package/dist/cdn/XS24G3OV.js +0 -4
- package/dist/cdn/XSCDNV3K.js +0 -4
- package/dist/cdn/XSVYJIHM.js +0 -4
- package/dist/cdn/XTFLHDQG.js +0 -4
- package/dist/cdn/XTX7ZN3Q.js +0 -4
- package/dist/cdn/XUB4PSLO.js +0 -4
- package/dist/cdn/XUDO6GP2.js +0 -4
- package/dist/cdn/XVF2WCHB.js +0 -4
- package/dist/cdn/XVU4RL6U.js +0 -4
- package/dist/cdn/XYNJWOR6.js +0 -4
- package/dist/cdn/XZRWHRW7.js +0 -4
- package/dist/cdn/Y2H3ULCM.js +0 -4
- package/dist/cdn/Y2U2CPLK.js +0 -4
- package/dist/cdn/Y4XL5N67.js +0 -4
- package/dist/cdn/Y62U4NVD.js +0 -4
- package/dist/cdn/YAKGRJQX.js +0 -4
- package/dist/cdn/YCEP3CEP.js +0 -4
- package/dist/cdn/YCLPSCB3.js +0 -4
- package/dist/cdn/YD4ZMUEB.js +0 -4
- package/dist/cdn/YEDHNB4G.js +0 -4
- package/dist/cdn/YGK5C6YM.js +0 -4
- package/dist/cdn/YIBKN4EX.js +0 -4
- package/dist/cdn/YIVCX6OQ.js +0 -4
- package/dist/cdn/YMUXMZ6S.js +0 -4
- package/dist/cdn/YNHI2GO5.js +0 -4
- package/dist/cdn/YOIQWHFK.js +0 -4
- package/dist/cdn/YQTU3B6L.js +0 -4
- package/dist/cdn/YSTVAL5N.js +0 -4
- package/dist/cdn/YTAEPJYI.js +0 -4
- package/dist/cdn/YTRMQ623.js +0 -4
- package/dist/cdn/YVZFVRNU.js +0 -4
- package/dist/cdn/YW4BSQBG.js +0 -4
- package/dist/cdn/YXRVMC2F.js +0 -4
- package/dist/cdn/Z2IK7EYP.js +0 -4
- package/dist/cdn/Z2LEQCNP.js +0 -4
- package/dist/cdn/Z4HF4EP5.js +0 -4
- package/dist/cdn/Z4X4COMY.js +0 -4
- package/dist/cdn/Z6WEZ472.js +0 -4
- package/dist/cdn/ZBXR6ND5.js +0 -4
- package/dist/cdn/ZCJ23KWZ.js +0 -4
- package/dist/cdn/ZCXMZ3TH.js +0 -4
- package/dist/cdn/ZD7ZCZGF.js +0 -4
- package/dist/cdn/ZGRQRVFP.js +0 -4
- package/dist/cdn/ZHG3JMFA.js +0 -4
- package/dist/cdn/ZI4GUHYC.js +0 -4
- package/dist/cdn/ZLQATR2Y.js +0 -4
- package/dist/cdn/ZNSEHDH2.js +0 -5
- package/dist/cdn/ZPW57ZOV.js +0 -4
- package/dist/cdn/ZXABU5P3.js +0 -4
- package/dist/cdn/ZXKTTIXW.js +0 -4
- package/dist/cdn/ZZ5QS7O2.js +0 -12
package/dist/cdn/GMSUCK4M.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import{a as F}from"./IGJUSLHE.js";import{a as I}from"./L2BTDKFR.js";import{a as g}from"./3R6EKZOF.js";import{a as f}from"./LR4LVQJC.js";import"./NXVCN26X.js";import"./G4BLL76X.js";import{b as l,c as w,d as m,e as h,i as b}from"./M5FZRBGH.js";import"./VK4IATGE.js";import{b as D,c as r,d}from"./AE56JUO4.js";import{d as y}from"./XJ2O6LFH.js";import{a as v}from"./TZP76GNZ.js";import"./OIWGP3SA.js";import"./DBQMPR73.js";import"./QS4BUP3V.js";import{a as x}from"./32HSCXFZ.js";import"./6XX4YB6F.js";import"./2SR5MDVW.js";var T={required:["title"],type:"object",properties:{title:{type:"string",minLength:1},snippet:{type:"string",maxLength:2048},tags:{type:"array",items:{type:"string"}}}},k={type:"Layout",elements:[{labelKey:"title",scope:"/properties/title",type:"Control"},{labelKey:"snippet",scope:"/properties/snippet",type:"Control",options:{control:"hub-field-input-input",type:"textarea"}},{labelKey:"tags",scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-multiselect"}}]},le=class{constructor(e){b(this,e),this.arcgisHubFileMetadataEditorChange=h(this,"arcgisHubFileMetadataEditorChange",7),this._schema=v(T),this._uiSchema=v(k),this.values={},g(this,"translationFunc")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.element)}handleValuesChanged(){this.internalValues=v(this.values)}handleEditorChangeEvent(e){e.stopPropagation(),this.arcgisHubFileMetadataEditorChange.emit(e.detail)}translationFunc(e,i,s){return this.intl.t(e,i,s)}render(){return l("div",{key:"328594fab906ee5da06109a9a0ae7d0a45dbb87a"},l("arcgis-configuration-editor",{key:"a7cc2f7d46889558d3d98160e4ca67b93f50fa7e",schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this.internalValues}))}static get assetsDirs(){return["locales"]}get element(){return m(this)}static get watchers(){return{values:["handleValuesChanged"]}}};function C(e){let i=/(?:\.([^.]+))?$/,s=/\.|-/g,t=e.replace(/^.*(\\|\/|:)/,""),n=t&&i.exec(t)[1]?i.exec(t)[1].toLowerCase():"",a="";if(t.indexOf(".rft.")>-1){let[o,c]=t.split(".rft.");n=`rft.${c}`,a=o}return t&&!a&&(a=t.lastIndexOf(".")===-1?t:t.substring(0,t.lastIndexOf("."))),a=a.replace(s,"_"),{title:a,fileName:t,extension:n}}function H(e,i){let s=Object.keys(d),t=[];return s.forEach(n=>{var a;((a=d[n].fileExt)===null||a===void 0?void 0:a.indexOf(e))>=0&&(i?(x(i,"extensions",[]).indexOf(e)>=0||x(i,"types",[]).indexOf(d[n].type)>=0)&&t.push(d[n]):t.push(d[n]))}),t}function _(e,i,s){let t=!1,n;return e.length>1?n="multipleFilesError":e[0].size>i?n="fileTooLargeError":H(C(e[0].name).extension,s).length>0?t=!0:n="unsupportedFileTypeError",{success:t,errorMessage:n}}var G=":host{box-sizing:border-box;display:block;width:100%;border-width:1px;border-style:dashed;padding-top:2rem;padding-bottom:2rem;text-align:center;transition:all 200ms ease-in-out;border-color:#828282;background-color:var(--calcite-color-foreground-1)}:host(.dragging){border-color:var(--calcite-color-brand);background-color:rgba(0, 121, 193, 0.05)}:host(.error){background-color:#FFF1EF;border-color:var(--calcite-color-status-danger)}:host(.success){border-color:var(--calcite-color-status-success);color:var(--calcite-color-status-success)}header{margin-bottom:5px;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}p{margin-top:5px;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}a{display:block}input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}",O=G,M={"image/png":r.Image,"image/jpeg":r.Image,"image/tiff":r.Image,"image/tif":r.Image,"text/csv":r.CSV,"application/pdf":r.PDF,"application/geo+json":r.GeoJson,"application/vnd.ms-excel":r["Microsoft Excel"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":r["Microsoft Excel"],"application/msword":r["Microsoft Word"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":r["Microsoft Word"],"application/vnd.ms-powerpoint":r["Microsoft Powerpoint"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":r["Microsoft Powerpoint"]},U={month:"short",day:"numeric",year:"numeric"},z=class{constructor(e){b(this,e),this.arcgisHubFileSelected=h(this,"arcgisHubFileSelected",7),this.arcgisHubDragOver=h(this,"arcgisHubDragOver",7),this.componentType="content",this.maxSize=200,this.owner=void 0,this.defaultExtent=void 0,this.allowedFileTypes=void 0,this.portalName=void 0,this.errorMessage=void 0,this.files=void 0,this.isDragging=void 0,g(this,"handleDragOver","handleDragLeave","handleDrop","setInputEl","onInputChange","buttonRef","onButtonClick")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.el)}validateFiles(){let{files:e,allowedFileTypes:i}=this,s=this.maxSize*1e3*1e3;if(e){let{success:t,errorMessage:n}=_(e,s,i);if(t){this.errorMessage=void 0;let a=e[0],o={owner:this.owner,extent:y(this.defaultExtent),spatialReference:this.defaultExtent.spatialReference,source:this.portalName,publishedDate:this.intl.formatDate(new Date,U),access:"private",title:this.trimExtension(a.name),type:M[a.type],modified:a.lastModified,file:a};this.arcgisHubFileSelected.emit(o)}else this.errorMessage=n}}trimExtension(e){let i=e.split(".");return i.splice(0,i.length-1).join(".")}async focusMainInput(){this.mainInputRef.focus()}async clearSelectedFile(){this.files=void 0}get fileExtensionsFromAllowedFileTypes(){var e,i;let{allowedFileTypes:s}=this,t=[];return!((e=s?.extensions)===null||e===void 0)&&e.length&&(t=[...t,...this.allowedFileTypes.extensions]),!((i=s?.types)===null||i===void 0)&&i.length&&(t=s.types.reduce((n,a)=>d[a]&&d[a].fileExt?[...n,...d[a].fileExt]:n,t)),t=[...new Set(t)],t}get isFileSelected(){return this.files&&!this.errorMessage}handleDragOver(e){return e.dataTransfer.types.includes("Files")&&!this.isFileSelected&&(e.preventDefault(),this.isDragging=!0,this.arcgisHubDragOver.emit(this.isDragging)),!1}handleDragLeave(){this.isDragging=!1}handleDrop(e){e.preventDefault(),this.isDragging=!1,this.files=e.dataTransfer.files}onInputChange(e){this.files=Object.assign({},e.target.files)}setInputEl(e){this.inputElement=e}get inputAcceptList(){let e=this.fileExtensionsFromAllowedFileTypes;return e.length||(e=Object.keys(D)),`.${e.join(", .")}`}onButtonClick(){var e;this.isFileSelected?this.clearSelectedFile():(e=this.inputElement)===null||e===void 0||e.click()}buttonRef(e){this.mainInputRef=e}get buttonIntl(){let{isFileSelected:e,componentType:i}=this,s="contentButton";return e?s="clearButton":i==="image"&&(s="imageButton"),s}get headingIntl(){let{componentType:e,errorMessage:i,files:s}=this,t="contentHeading";return i?t="errorHeading":s&&!i?t="selectedHeading":e==="image"&&(t="imageHeading"),t}renderDetails(){let{errorMessage:e,files:i,isFileSelected:s,maxSize:t,fileExtensionsFromAllowedFileTypes:n,intl:a}=this,o,c=!n.length||n.length>15,p="maxSizeAndSupportedTypes";e?p=e:c&&(p="maxSize"),(!c||e)&&(o=n.join(", "));let u=a.t(p,{maxSize:t,fileTypes:o});e?u=a.t(p):s?u=i[0].name:c&&(u=a.t(p,{maxSize:t}));let S=l("p",null,u);return c&&!e&&(S=l("p",null,u,l("a",{href:""},a.t("linkText")))),S}render(){return l(w,{key:"628070d281c34fe2675906b481f71ff0ab1695d6",class:{"file-select-zone":!0,dragging:this.isDragging,error:!!this.errorMessage,success:this.isFileSelected},onDragLeave:this.handleDragLeave,onDragOver:this.handleDragOver,onDrop:this.handleDrop},l("calcite-icon",{key:"91051aa0c7b5ceb830a2bc40c77910537f68667a","aria-hidden":"true",icon:`${this.isFileSelected?"check-circle":"upload"}`,scale:"l"}),l("header",{key:"c71d30775fb733cbad657c119e47bd51b0961b8b"},this.intl.t(this.headingIntl)),this.renderDetails(),l("input",{key:"9bf3949117f756245b0fbf5c812e8dba0f04d76e",accept:this.inputAcceptList,onChange:this.onInputChange,ref:this.setInputEl,tabIndex:-1,type:"file"}),l("calcite-button",{key:"f107bf490468218ce99e9b7d3882ddefdac2d6f0",appearance:"outline",onClick:this.onButtonClick,ref:this.buttonRef},this.intl.t(this.buttonIntl)),l("slot",{key:"a375fc45899d128333b9c786a64bf477f911ed5f"}))}static get assetsDirs(){return["locales"]}get el(){return m(this)}static get watchers(){return{files:["validateFiles"]}}};z.style=O;var j="header{font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);margin-bottom:0.375rem}calcite-label{--calcite-font-size--1:16px}",L=j,A=class{updateSelectedGroups(e){e.target.checked?(this.internalSelectedGroups.push(e.target.value),this.internalDeselectedGroups=this.internalDeselectedGroups.filter(i=>i!==e.target.value)):(this.internalDeselectedGroups.push(e.target.value),this.internalSelectedGroups=this.internalSelectedGroups.filter(i=>i!==e.target.value)),this.arcgisHubSelectedGroupsChange.emit({share:this.internalSelectedGroups,unshare:this.internalDeselectedGroups})}constructor(e){b(this,e),this.arcgisHubSelectedGroupsChange=h(this,"arcgisHubSelectedGroupsChange",7),this.internalSelectedGroups=[],this.internalDeselectedGroups=[],this.groups=[],this.selectedGroups=[],g(this,"updateSelectedGroups","_shouldGroupBeSelected")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.element),this.selectedGroups.length&&(this.internalSelectedGroups=this.internalSelectedGroups.concat(this.selectedGroups))}_shouldGroupBeSelected(e){return!!this.internalSelectedGroups.find(s=>s.id===e)}render(){if(this.groups.length)return l("div",{key:"5c2453ce808a1e1ca07217255aeeee46d16eec1f"},l("header",{key:"a7ff735f61431e6aea7f84c32817b07d6d6c0113"},this.intl.t("heading")),this.groups.map(e=>l("calcite-label",{key:e.id,layout:"inline"},l("calcite-checkbox",{checked:this._shouldGroupBeSelected(e.id),name:e.title,onCalciteCheckboxChange:this.updateSelectedGroups,value:e}),e.title)))}static get assetsDirs(){return["locales"]}get element(){return m(this)}};A.style=L;var R=':host{display:flex;flex-direction:column;align-items:center}header{margin-bottom:5px;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}calcite-input{width:100%}span{margin-top:5px;display:flex;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}calcite-icon[class="error"]{color:var(--calcite-color-status-danger)}calcite-icon[class="success"]{color:var(--calcite-color-status-success)}calcite-icon{margin-right:0.625rem}',B=R,P=function(e,i,s,t){var n=arguments.length,a=n<3?i:t===null?t=Object.getOwnPropertyDescriptor(i,s):t,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,i,s,t);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(n<3?o(a):n>3?o(i,s,a):o(i,s))||a);return n>3&&a&&Object.defineProperty(i,s,a),a},V={month:"short",day:"numeric",year:"numeric"},E=class{constructor(e){b(this,e),this.arcgisHubUrlValidated=h(this,"arcgisHubUrlValidated",7),this.arcgisHubItemTypeSelected=h(this,"arcgisHubItemTypeSelected",7),this.types=[{intl:"doclink",type:"Document Link",active:!0},{intl:"csv",type:"CSV"},{intl:"shp",type:"Shapefile"},{intl:"geojson",type:"GeoJson"},{intl:"featureservice",type:"Feature Service"},{intl:"xls",type:"Microsoft Excel"},{intl:"pdf",type:"PDF"},{intl:"png",type:"Image"},{intl:"jpg",type:"Image"}],this.owner=void 0,this.defaultExtent=void 0,this.portalName=void 0,this.selectedTypeText=void 0,this.errorString=void 0,this.showTypePicker=!1,this.validatedUrlItem=void 0,this.mergedUrlItem=void 0,g(this,"setDropdownEl","setInputEl","handleOnInput","handleOnKeyDown")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.el)}validateDebounced(){this.validateUrl()}handleItemTypeSelection(){let e=this.dropdownEl.selectedItems[0];if(e){let i=e.dataset.value;this.selectedTypeText=e.getAttribute("title"),this.validatedUrlItem&&(this.validatedUrlItem.type=i,this.mergedUrlItem.type=i,this.arcgisHubItemTypeSelected.emit(this.mergedUrlItem))}}async validateUrl(){let e=this.inputEl.value;if(e){let i=await F(e);this.validatedUrlItem=i;let s=i.item.extent||this.defaultExtent,t=Object.assign({owner:this.owner,extent:y(s),spatialReference:s.spatialReference,source:this.portalName,publishedDate:this.intl.formatDate(new Date,V),access:"private"},i.item);if(typeof t.extent=="object"){let n=t.extent;t.extent=y(n)}this.mergedUrlItem=t,i.type||(this.showTypePicker=!0,this.validatedUrlItem.type="Document Link",this.mergedUrlItem.type="Document Link",this.selectedTypeText=this.intl.t("doclink")),this.arcgisHubUrlValidated.emit(this.mergedUrlItem)}else this.validatedUrlItem=void 0}handleOnInput(){this.validateDebounced()}handleOnKeyDown(e){e.key==="Enter"&&this.validateDebounced()}setDropdownEl(e){this.dropdownEl=e}setInputEl(e){this.inputEl=e}renderSubText(){let{intl:e,showTypePicker:i,validatedUrlItem:s}=this,t=l("span",null,e.t("subText"));if(s&&s.error)t=l("span",null,l("calcite-icon",{class:"error",icon:"x-octagon",scale:"s"}),e.t(s.error));else if(s&&s.pass&&i)t=l("span",null,l("calcite-icon",{class:s.type?"success":"error",icon:s.type?"check-circle":"x-octagon",scale:"s"}),s.type&&this.intl.t("recognizedType"),l("calcite-dropdown",{placement:"top",ref:this.setDropdownEl},l("calcite-button",{appearance:"transparent","icon-end":"caret-down",slot:"trigger"},this.selectedTypeText||this.intl.t("fileTypeSelector")),l("calcite-dropdown-group",{"selection-mode":"single"},this.types.map(n=>l("calcite-dropdown-item",{"data-value":n.type,key:n.type,selected:n.active,title:this.intl.t(n.intl)},this.intl.t(n.intl))))));else if(s&&s.pass){let n=s.type.toLowerCase().split(" ").join("");t=l("span",null,l("calcite-icon",{class:"success",icon:"check-circle",scale:"s"}),this.intl.t(n))}return t}render(){return l(w,{key:"b48ad61cc1f4fe2195262e394fb425ee83b26da0"},l("header",{key:"b296f0b9993cf846c8333b1e7195bcc19d78ab35"},this.intl.t("heading")),l("calcite-input",{key:"63280355ad33d4337b1ed9b9b6cd9d2f77f94e2a",onInput:this.handleOnInput,onKeyDown:this.handleOnKeyDown,ref:this.setInputEl}),this.renderSubText())}static get assetsDirs(){return["locales"]}get el(){return m(this)}};P([I({timeout:300})],E.prototype,"validateDebounced",null);E.style=B;export{le as arcgis_hub_file_metadata_editor,z as arcgis_hub_file_select,A as arcgis_hub_groups_sharing,E as arcgis_hub_url_content_form};
|
package/dist/cdn/GN7HA4SG.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import{a as Ze,c as et}from"./D4JEZYOV.js";import{a as st}from"./V53WK755.js";import{a as Ie}from"./YVZFVRNU.js";import{a as Pe,b as Ae,c as ke,d as De,e as Ee}from"./YCLPSCB3.js";import{a as tt}from"./AX3U6KMY.js";import{a as ie}from"./W5QBE5H3.js";import{a as de}from"./CNL6QBUS.js";import{a as le,b as j}from"./T2B7DUZB.js";import{a as he}from"./RFHYK42X.js";import b from"./7IMN6ULD.js";import"./4R6YM7VB.js";import{a as Re}from"./MBWCAY4F.js";import a from"./JTH7WXUC.js";import"./DZDYUG7A.js";import"./JWBHMMK6.js";import{a as B}from"./H6YTTM2C.js";import{c as Be,d as Ge,e as Ce,f as ze,g as re}from"./B6OSFWIT.js";import{a as _e}from"./6ETZYTPN.js";import{a as Ke,b as qe}from"./IGGRDAFK.js";import{a as We}from"./WOGC6ODK.js";import"./SZ6QQSGN.js";import"./BCQGJWBF.js";import{b as Le}from"./TEOLKDTG.js";import{f as Me}from"./K3GOLKAE.js";import"./4TTBL3AJ.js";import"./2YNRKCHU.js";import"./QRTEIIOI.js";import"./FIS37CTS.js";import"./3RJZORXQ.js";import"./SIDBFTZA.js";import"./I5ZK4D4R.js";import"./RMCNMVDS.js";import{a as Te}from"./L2BTDKFR.js";import{a as W}from"./3R6EKZOF.js";import{c as Z,j as ne}from"./TCKOT4ZK.js";import"./CSONDXMD.js";import{a as g}from"./4UX47JCT.js";import"./A4QEC5MO.js";import{a as V}from"./LR4LVQJC.js";import"./NXVCN26X.js";import"./G4BLL76X.js";import{b as r,c as G,d as z,e as C,h as D,i as K}from"./M5FZRBGH.js";import"./IXTLQZRD.js";import"./TOWO2FPW.js";import{O as He,Q as Fe,R as Ne,S as M,T as Ue,U as ve,V as Ve}from"./SZ32MMLQ.js";import"./QN7YCSFG.js";import"./JJAK5OIJ.js";import"./GW6AWIFS.js";import"./R4EPE7HV.js";import"./PPHDCXSD.js";import"./4Y5SL73V.js";import"./TDNL4CXL.js";import"./3C6YVRPO.js";import"./OT6XI5OC.js";import"./PSYMKYTE.js";import"./HYO4DDJL.js";import"./QQEC6TX2.js";import"./HGM3DH62.js";import"./3K75V6M6.js";import"./B367JULN.js";import"./KPY3KRDU.js";import"./2SHSOQGU.js";import"./7B4VEBWS.js";import"./U5IO6EJT.js";import"./HX3SWXQQ.js";import"./USUOIH4E.js";import"./UL2FCTR2.js";import"./RNC677XR.js";import"./6CDSATOQ.js";import"./BZJPPMOI.js";import{a as ye,f as x,g as Se,h as fe,i as je}from"./JV2O5XRQ.js";import"./PYYSUNKE.js";import"./BELJIXER.js";import{c as $,d as m,f as A,i as v,o as ae}from"./RWH7TH6Y.js";import"./Z4X4COMY.js";import{h as be}from"./OXEEC526.js";import"./YEDHNB4G.js";import"./5XWUA5VW.js";import"./OXKDS2O4.js";import"./Y2H3ULCM.js";import"./X47SKJJI.js";import"./AE56JUO4.js";import"./VMGVHBGO.js";import"./BJ3LEIS5.js";import"./UJRCR6OW.js";import"./ZHG3JMFA.js";import"./TGH2IWOT.js";import"./YSTVAL5N.js";import"./XJ2O6LFH.js";import"./KLSVZKQY.js";import"./JCPACK4Z.js";import"./JQ2LE6EE.js";import"./NDMI3Q2Q.js";import"./IVMR244J.js";import"./UGG2M5IF.js";import"./NOQ3INIH.js";import{a as Y}from"./TZP76GNZ.js";import"./OIWGP3SA.js";import"./DBQMPR73.js";import"./BSINTX4J.js";import{a as J}from"./QS4BUP3V.js";import"./L2BUGCZZ.js";import"./32HSCXFZ.js";import"./6XX4YB6F.js";import"./2SR5MDVW.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 mt="data-mention",bt=new RegExp(`<[a-z-]+( [a-z-]+(=('|")[\\w- ]+('|"))?)*( ${mt}=('|")[\\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,b,f,_,w,T;let E=c.match(bt);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="${((b=R.user)===null||b===void 0?void 0:b.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:b,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,me]=await Promise.all([ue(Object.assign(Object.assign({discussion:h,entityId:p,entityType:b,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),me)}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:b,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:me,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:b,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:me,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:b,index:f,parent:_,handleViewPost:w}=this;return r("slot",{name:"metadata"},r("arcgis-hub-discussions-post-header",{channel:b,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:"2b0656f069cf1aad5df0e91ea81ff998eb165fdc",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",b=[r("calcite-avatar",{"full-name":p?.fullName,key:"creator",scale:y,thumbnail:p?.thumbnail&&be(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&&b.push(r("calcite-avatar",{"full-name":Qe(l,d.t("unnamedChannel")),scale:"m"})),o&&(b=r("arcgis-hub-discussions-popover",{channel:l,index:u,isHub:s,parent:i,parentCreator:o,post:n,postCreator:a,postCreatorOrg:c},b)),b}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:b}=this;if(b)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:"6ea6c416f8703ba913201a6ff0a602f8bacd95d9","data-count":e.length,"data-element":"post-chips","data-index":t},r("calcite-chip-group",{key:"22ce595913f6a108c5ed31f387ec7fccdaf76e9f",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 b;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 b=await M(Object.assign({postId:f,data:{relations:[v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]}},this._context.hubRequestOptions)),b.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=b.title)!==null&&e!==void 0?e:null,groupId:fe(h).join(", "),postId:b.id,channelId:h.id,channelAccess:x(h)})),u.emit(b),this.focusInput(),b}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,b=[...p,...a];return b.length&&(y=b.length>1?se(b):b[0].geometry.coordinates.length?b[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:b,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:b,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:"1a0791e6be888ce161cae4e1643d952dcf06cc98",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(b=>b.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 b=d.split("/").pop(),f=c.map(_=>_.objectId);u=X(u,b,f)}let h=this.geometryValue&&Object.keys(this.geometryValue).length?we(Object.assign(Object.assign({},s),{geometry:this.geometryValue})):[];l.forEach(b=>{let{properties:{index:f},geometry:_}=b;_&&(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(b=>M(Object.assign({postId:b.id,data:{relations:[v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]}},e.hubRequestOptions))).then(b=>(b.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(b),b)).catch(b=>(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:",b.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:b,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(b),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:b,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:b,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:"2ed8f4bcd368ecddc615afe597ee687cdae3d2d3",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=[m.THUMBS_UP,m.THINKING,m.GRINNING,m.PARTY_POPPER],nt=[...lt,m.SLIGHTLY_SMILING,m.CONFUSED,m.LAUGH,m.FACE_WITH_TEARS_OF_JOY,m.WINKING,m.PARTYING,m.SAD,m.SURPRISED,m.THUMBS_DOWN,m.CLAPPING_HANDS,m.RAISING_HANDS,m.WAVING_HAND,m.HEART,m.ONE_HUNDRED,m.FIRE,m.ROCKET,m.UP_ARROW,m.DOWN_ARROW,m.EYES,m.TROPHY,m.WORLD_MAP],H={[m.SLIGHTLY_SMILING]:{emoji:"\u{1F642}",telemetryKey:"smilingFace"},[m.CONFUSED]:{emoji:"\u{1F615}",telemetryKey:"confusedFace"},[m.LAUGH]:{emoji:"\u{1F600}",telemetryKey:"laughingFace"},[m.GRINNING]:{emoji:"\u{1F606}",telemetryKey:"grinningFace"},[m.FACE_WITH_TEARS_OF_JOY]:{emoji:"\u{1F602}",telemetryKey:"faceWithTearsOfJoy"},[m.THINKING]:{emoji:"\u{1F914}",telemetryKey:"thinkingFace"},[m.WINKING]:{emoji:"\u{1F609}",telemetryKey:"winkingFace"},[m.PARTYING]:{emoji:"\u{1F973}",telemetryKey:"partyingFace"},[m.SAD]:{emoji:"\u{1F625}",telemetryKey:"sadFace"},[m.SURPRISED]:{emoji:"\u{1F632}",telemetryKey:"shockedFace"},[m.THUMBS_UP]:{emoji:"\u{1F44D}",telemetryKey:"thumbsUp"},[m.THUMBS_DOWN]:{emoji:"\u{1F44E}",telemetryKey:"thumbsDown"},[m.CLAPPING_HANDS]:{emoji:"\u{1F44F}",telemetryKey:"clappingHands"},[m.RAISING_HANDS]:{emoji:"\u{1F64C}",telemetryKey:"raisingHands"},[m.WAVING_HAND]:{emoji:"\u{1F44B}",telemetryKey:"wavingHand"},[m.HEART]:{emoji:"\u2764\uFE0F",telemetryKey:"redHeart"},[m.ONE_HUNDRED]:{emoji:"\u{1F4AF}",telemetryKey:"hundredPoints"},[m.FIRE]:{emoji:"\u{1F525}",telemetryKey:"fire"},[m.PARTY_POPPER]:{emoji:"\u{1F389}",telemetryKey:"partyPopper"},[m.ROCKET]:{emoji:"\u{1F680}",telemetryKey:"rocket"},[m.UP_ARROW]:{emoji:"\u2B06",telemetryKey:"upArrow"},[m.DOWN_ARROW]:{emoji:"\u2B07",telemetryKey:"downArrow"},[m.EYES]:{emoji:"\u{1F440}",telemetryKey:"eyes"},[m.TROPHY]:{emoji:"\u{1F3C6}",telemetryKey:"trophy"},[m.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&&be(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:"f0025fd90cfd946bad8ca7a32d1ee8854a4e2023",class:{rtl:this.intl.direction==="rtl"},"data-element":"arcgis-hub-discussions-post-reactions"},r("div",{key:"8c322a992367783f853a2d750e1287cf3615764c"},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:"ad4348406668558721fe7fab7a3704a7062bc315",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:"e67f48f31b73b5bbed8be786933fa5e7b40f6de8"},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,b)
|
package/dist/cdn/GNGVX3GL.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import{W as r}from"./SZ32MMLQ.js";async function c(e,t){return await Promise.all(e.map(async s=>o(s,t)))}async function o(e,t){if(e.kind==="section"&&(e.children=await c(e.children,t)),e.kind==="content")try{let n={targetEntity:"item",filters:[{predicates:[{id:e.contentId}]}]},{results:s}=await r(n,{requestOptions:t});return delete e.contentId,Object.assign(Object.assign({},e),{kind:"external",href:s[0].links.siteRelative})}catch{throw new Error(`Unable to fetch entity: ${e.contentId}`)}else return e}export{c as a,o as b};
|
package/dist/cdn/GQUB2QH4.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import{a as u}from"./D5NOR57P.js";function l(n,r){return d(n,e=>e.id===r)}function d(n,r){return Array.isArray(n)?n.reduce((i,e)=>{if(r(e))i=e;else if(u(e)){let f=d(e,r);f&&(i=f)}return i},void 0):u(n)?r(n)?n:Object.keys(n).reduce((i,e)=>{if(u(n[e])){let f=d(n[e],r);f&&(i=f)}return i},void 0):void 0}export{l as a,d as b};
|
package/dist/cdn/GR3HVOLD.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import{a as s,b as l}from"./WYHBFNZP.js";import{c as t}from"./AE56JUO4.js";import{a as r}from"./6XX4YB6F.js";function c(e){let{type:o,typeKeywords:a=[]}=e;return o===t["Image Service"]&&!a.includes("Tiled Imagery")}function m(e,o){let a=null;return s(e)?a="createReplica":l(e)&&!o?a=!!r(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":c(e)&&(a="exportImage"),a}export{c as a,m as b};
|
package/dist/cdn/GRIYBNRQ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import{a as c}from"./O6DPSCBJ.js";import{a as n}from"./R3X3VCWB.js";import"./P4VZT4CZ.js";import{a as p,b as s}from"./BR2V3FKU.js";import{a}from"./F6HHCT6T.js";import{a as m}from"./JILREGXZ.js";import{g as l}from"./V77EFUS5.js";import"./3GVMCIQC.js";import{l as i}from"./C6PDFNPR.js";import"./SZ32MMLQ.js";import"./QN7YCSFG.js";import"./JJAK5OIJ.js";import"./GW6AWIFS.js";import"./R4EPE7HV.js";import"./PPHDCXSD.js";import"./4Y5SL73V.js";import"./TDNL4CXL.js";import"./3C6YVRPO.js";import"./OT6XI5OC.js";import"./PSYMKYTE.js";import"./HYO4DDJL.js";import"./QQEC6TX2.js";import"./HGM3DH62.js";import"./3K75V6M6.js";import"./B367JULN.js";import"./KPY3KRDU.js";import"./2SHSOQGU.js";import"./7B4VEBWS.js";import"./U5IO6EJT.js";import"./HX3SWXQQ.js";import"./USUOIH4E.js";import"./UL2FCTR2.js";import"./RNC677XR.js";import"./6CDSATOQ.js";import"./BZJPPMOI.js";import"./JV2O5XRQ.js";import"./PYYSUNKE.js";import"./BELJIXER.js";import"./RWH7TH6Y.js";import"./Z4X4COMY.js";import"./OXEEC526.js";import"./YEDHNB4G.js";import"./5XWUA5VW.js";import"./OXKDS2O4.js";import"./Y2H3ULCM.js";import"./X47SKJJI.js";import"./AE56JUO4.js";import"./VMGVHBGO.js";import"./BJ3LEIS5.js";import"./UJRCR6OW.js";import"./ZHG3JMFA.js";import"./TGH2IWOT.js";import"./YSTVAL5N.js";import"./XJ2O6LFH.js";import"./KLSVZKQY.js";import"./JCPACK4Z.js";import"./JQ2LE6EE.js";import"./NDMI3Q2Q.js";import"./IVMR244J.js";import"./UGG2M5IF.js";import"./NOQ3INIH.js";import"./TZP76GNZ.js";import"./OIWGP3SA.js";import"./DBQMPR73.js";import"./BSINTX4J.js";import"./QS4BUP3V.js";import"./L2BUGCZZ.js";import"./32HSCXFZ.js";import"./6XX4YB6F.js";import"./2SR5MDVW.js";var d=(e,t)=>["myContent","organization"].map(y=>{let r=l("initiativeTemplate.fields.recommendedTemplates",y,"item",{user:e});return r.collections=[b(t)],r}),b=e=>({targetEntity:"item",key:"recommendedTemplates",label:`${e}.fields.recommendedTemplates.collection.label`,scope:{targetEntity:"item",filters:[{predicates:[{type:"Solution"}]},{predicates:[{typekeywords:["hubSolutionTemplate"]},{typekeywords:["Template"]}],operation:"OR"}]}}),Ie=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:i.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.name.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...n(e,t.thumbnail,c(t),"initiativeTemplate",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{type:"Control",scope:"/properties/description",labelKey:`${e}.fields.description.label`,options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await m(t.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a({source:"org",currentValues:t.categories,context:o})]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await p(t.location,o.hubRequestOptions),options:await s(t.id,t.type,t.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{type:"Control",scope:"/properties/recommendedTemplates",labelKey:`${e}.fields.recommendedTemplates.label`,options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:d(o.currentUser,e),facets:[{label:`{{${e}.fields.recommendedTemplates.facets.sharing:translate}}`,key:"access",field:"access",display:"multi-select",operation:"OR"}],canReorder:!1,linkTarget:"siteRelative",pickerTitle:{labelKey:`${e}.fields.recommendedTemplates.pickerTitle`}}}]}]});export{Ie as buildUiSchema};
|
package/dist/cdn/GSCTL6UF.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import{a as g}from"./CYVIFUDY.js";import{a as l,b,c as u,d}from"./B3S3FWVY.js";import"./KCQTPDDI.js";import{a}from"./MBWCAY4F.js";import"./PF7JXYYX.js";import"./MEKMJ5KX.js";import"./CAUBS6UD.js";import"./7GH3GR33.js";import"./C3KCPOZW.js";import"./B5GJ3UC7.js";import{a as h}from"./3R6EKZOF.js";import{c as C}from"./TCKOT4ZK.js";import"./CSONDXMD.js";import{a as n}from"./4UX47JCT.js";import"./A4QEC5MO.js";import{a as p}from"./LR4LVQJC.js";import"./NXVCN26X.js";import"./G4BLL76X.js";import{b as i,c as y,d as f,e as w,i as v}from"./M5FZRBGH.js";import"./SZ32MMLQ.js";import"./QN7YCSFG.js";import"./JJAK5OIJ.js";import"./GW6AWIFS.js";import"./R4EPE7HV.js";import"./PPHDCXSD.js";import"./4Y5SL73V.js";import"./TDNL4CXL.js";import"./3C6YVRPO.js";import"./OT6XI5OC.js";import"./PSYMKYTE.js";import"./HYO4DDJL.js";import"./QQEC6TX2.js";import"./HGM3DH62.js";import"./3K75V6M6.js";import"./B367JULN.js";import"./KPY3KRDU.js";import"./2SHSOQGU.js";import"./7B4VEBWS.js";import"./U5IO6EJT.js";import"./HX3SWXQQ.js";import"./USUOIH4E.js";import"./UL2FCTR2.js";import"./RNC677XR.js";import"./6CDSATOQ.js";import"./BZJPPMOI.js";import"./JV2O5XRQ.js";import"./PYYSUNKE.js";import"./BELJIXER.js";import"./RWH7TH6Y.js";import"./Z4X4COMY.js";import"./OXEEC526.js";import"./YEDHNB4G.js";import"./5XWUA5VW.js";import"./OXKDS2O4.js";import"./Y2H3ULCM.js";import"./X47SKJJI.js";import"./AE56JUO4.js";import"./VMGVHBGO.js";import"./BJ3LEIS5.js";import"./UJRCR6OW.js";import"./ZHG3JMFA.js";import"./TGH2IWOT.js";import"./YSTVAL5N.js";import"./XJ2O6LFH.js";import"./KLSVZKQY.js";import"./JCPACK4Z.js";import"./JQ2LE6EE.js";import"./NDMI3Q2Q.js";import"./IVMR244J.js";import"./UGG2M5IF.js";import"./NOQ3INIH.js";import{s as c}from"./TZP76GNZ.js";import"./OIWGP3SA.js";import"./DBQMPR73.js";import{p as m}from"./BSINTX4J.js";import"./QS4BUP3V.js";import"./L2BUGCZZ.js";import"./32HSCXFZ.js";import"./6XX4YB6F.js";import"./2SR5MDVW.js";function _(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches===!0}var E=`.sc-arcgis-hub-entity-view-h{display:block}arcgis-hub-entity-capabilities.sc-arcgis-hub-entity-view{margin-top:1rem}h2.sc-arcgis-hub-entity-view{font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}arcgis-hub-initiative-hero.sc-arcgis-hub-entity-view:has(~calcite-tabs.sc-arcgis-hub-entity-view calcite-tab-nav.sc-arcgis-hub-entity-view calcite-tab-title[selected].sc-arcgis-hub-entity-view:not([name='about'])){display:block;height:0px}[slot="header"].sc-arcgis-hub-entity-view{font-size:var(--calcite-font-size-4);line-height:2.5rem;font-weight:var(--calcite-font-weight-medium)}@media only screen and (max-width: 768px){arcgis-hub-event-about.sc-arcgis-hub-entity-view{flex-direction:column;gap:0}}`,T=E,k=class{get _context(){return C()}async init(){if(this.entity)try{let t=await u(this.entity,this._context,{path:this.path});this._typeSpecificViews=await Promise.all(t.map(async e=>{try{let o=await d(this.entity,e.name,this._context);return Object.assign(Object.assign({},e),{contentCount:o})}catch(o){console.error(`Error fetching content count for view: ${e.name}`,o)}}))}catch(t){console.error("Error initializing type-specific views:",t)}}get entityType(){return m(this.entity)}constructor(t){v(this,t),this.hubTelemetry=w(this,"hubTelemetry",7),this.view=g.Overview,this.entity=void 0,this.path="",this.isMobile=void 0,this.mode="default",this._hasAboutSlot=!1,this._typeSpecificViews=[],h(this,"handleTabChange","handleResize")}connectedCallback(){a.addHandler(this.element,this.handleResize)}disconnectedCallback(){a.unobserve(this.element)}async handleResize(){this.isMobile=this.element.clientWidth<560}async componentWillLoad(){this._hasAboutSlot=!!this.element.querySelector('[slot="about"]'),this.intl=await p.loadIntlForComponent(this.element),this.init()}get aboutComponent(){let t=l.find(e=>e.entities.includes(this.entityType));return t?t.component:"arcgis-hub-entity-about"}get views(){let t=[{name:"about",i18nLabel:"tabs.overview",component:this.aboutComponent,props:{path:this.path}}];return t=[...t,...this._typeSpecificViews],t}get hasViews(){return!!this.views.length}get heroComponent(){let t=b.find(e=>e.entities.includes(this.entityType));return t?t.component:"arcgis-hub-entity-hero"}handleTabChange(t){var e;t.stopPropagation();let o=((e=t.detail)===null||e===void 0?void 0:e.target)||t.target,r=o.tab||o.getAttribute("data-tab"),V=!!o.getAttribute("data-scroll");this.view=r,V&&this.element.scrollIntoView({behavior:_()?"auto":"smooth"});let s=r==="about"?"overview":r;this.hubTelemetry.emit(Object.assign({label:c(s)},n.dictionary.category.navigation.action.onPage.label[s]||n.dictionary.category.navigation.action.onPage))}renderViewName(t){let e=t.contentCount!==void 0?`${t.i18nLabel}WithCount`:t.i18nLabel;return this.intl.t(e,{count:t.contentCount})}renderViews(){if(this.hasViews)return i("calcite-tabs",{scale:"l"},i("calcite-tab-nav",{slot:"title-group"},this.views.map((t,e)=>i("calcite-tab-title",{key:e,name:t.name,onCalciteTabsActivate:this.handleTabChange,selected:this.view===t.name,tab:t.name},this.renderViewName(t)))),this.views.map((t,e)=>{var o;let r=t.component;return i("calcite-tab",{key:e,name:t.name,tab:t.name},i(r,Object.assign({entity:this.entity,isMobile:this.isMobile,path:(o=t.props)===null||o===void 0?void 0:o.path},t.props)))}))}renderHero(){let t=this.heroComponent,e={showEdit:!1};return this.mode==="inline"&&(e.showEdit=!0),i(t,Object.assign({entity:this.entity},e))}render(){return this.entity&&i(y,{key:"33095477b504303062f509a163e34d7a2fda36f7","data-element":`entity-view-${this.view}`},i("slot",{key:"c35315e10697a033fe069c55ba27264d995728f4",name:"breadcrumbs"}),this.renderHero(),i("slot",{key:"15134185025c55332fce290e4be36f1378a5d589",name:"header"}),i("slot",{key:"85a0f7e9abd1f47601e42d89a2e9a87ac8826408",name:"about",slot:this._hasAboutSlot?"about":""}),this.renderViews(),i("slot",{key:"0c6deb3393652828c4303365b66f5eabc87572d0",name:"footer"}))}static get assetsDirs(){return["locales"]}get element(){return f(this)}static get watchers(){return{entity:["init"]}}};k.style=T;export{k as arcgis_hub_entity_view};
|
package/dist/cdn/GSTRVF7I.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import"./2SR5MDVW.js";var n=(e,o,t)=>({type:"Layout",elements:[{scope:"/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]});export{n as buildUiSchema};
|
package/dist/cdn/GTYHTOF5.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import"./2SR5MDVW.js";var a="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0438 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430.",e="\u041D\u0435\u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u043B\u043E\u0433\u0430\u0440\u0438\u0444\u043C\u0443 \u0434\u043E \u0432\u0456\u0434\u2019\u0454\u043C\u043D\u0438\u0445 \u0430\u0431\u043E \u043D\u0443\u043B\u044C\u043E\u0432\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C.",t="\u041D\u0435\u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u043E\u0433\u043E \u043A\u043E\u0440\u0435\u043D\u044F \u0434\u043E \u0432\u0456\u0434\u2019\u0454\u043C\u043D\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C.",r="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u0448\u0430\u0440\u0443 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430. URL = ${ url }. \u0406\u0414 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u043F\u043E\u0440\u0442\u0430\u043B\u0443 = ${ portalItemId }.",i="\u0412\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u0456 \u0443 \u043A\u043E\u043D\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u043F\u043E\u043B\u044F [${ fieldNames }] \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043D\u0430 \u0448\u0430\u0440\u0456.",s="${ dataPath } \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0431\u0443\u0442\u0438 \u0443\u043D\u0456\u043A\u0430\u043B\u044C\u043D\u0438\u043C. \u0421\u0435\u0440\u0456\u044F \u0437 \u043D\u0430\u0437\u0432\u043E\u044E ${ seriesName } \u043C\u0430\u0454 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440 (${ seriesID }), \u044F\u043A\u0438\u0439 \u0432\u0436\u0435 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F \u0456\u043D\u0448\u043E\u044E \u0441\u0435\u0440\u0456\u0454\u044E.",n="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u0432\u0438\u043A\u043E\u043D\u0443\u0432\u0430\u0442\u0438 \u0430\u0433\u0440\u0435\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u0431\u0435\u0437 \u043F\u0456\u0434\u0440\u0430\u0445\u0443\u043D\u043A\u0443 \u0432 \u043D\u0435\u0447\u0438\u0441\u043B\u043E\u0432\u043E\u043C\u0443 \u043F\u043E\u043B\u0456.",o="${ dataPath } \u043D\u0435 \u043C\u0430\u0454 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0437 \u043D\u0430\u0437\u0432\u043E\u044E ${ missingProperty }.",d="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",l="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",u="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",m="${ dataPath } \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0430\u0442\u0438 \u043F\u0440\u0438\u043D\u0430\u0439\u043C\u043D\u0456 \u043E\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u044F\u043A\u0438\u0439 \u043D\u0435 \u0454 \u043F\u0440\u043E\u0431\u0456\u043B\u043E\u043C.",$="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 ${ additionalProperty }.",p="${ dataPath } \u043C\u0430\u0454 \u0434\u043E\u0440\u0456\u0432\u043D\u044E\u0432\u0430\u0442\u0438 \u043E\u0434\u043D\u043E\u043C\u0443 \u0437 \u0446\u0438\u0445 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C: ${ allowedValues }.",y="${ dataPath } \u043C\u0430\u0454 \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F \u0437\u0456 \u0441\u0445\u0435\u043C\u043E\u044E \u043E\u0434\u043D\u043E\u0433\u043E \u0437 \u0446\u0438\u0445: ${ schemaOptions }.",P="\u0414\u0456\u0430\u0433\u0440\u0430\u043C\u0438 \u0440\u043E\u0437\u0441\u0456\u044E\u0432\u0430\u043D\u043D\u044F \u0437 \u043F\u0440\u043E\u043F\u043E\u0440\u0446\u0456\u0439\u043D\u0438\u043C\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u0430\u043C\u0438 \u043D\u0435 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u044E\u0442\u044C\u0441\u044F. \u0417\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0430\u043D\u043E \u0440\u043E\u0437\u043C\u0456\u0440 \u0441\u0438\u043C\u0432\u043E\u043B\u0443 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C.",g="\u041F\u043E\u043C\u0438\u043B\u043A\u0430 \u0447\u0438\u0442\u0430\u043D\u043D\u044F \u0432\u0445\u0456\u0434\u043D\u0438\u0445 \u0434\u0430\u043D\u0438\u0445.",h="\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u044F queryBins \u043D\u0435 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0454\u0442\u044C\u0441\u044F \u043D\u0430 \u0446\u044C\u043E\u043C\u0443 \u0441\u0435\u0440\u0432\u0456\u0441\u0456.",I="\u041E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u0438\u043C \u0442\u0438\u043F\u043E\u043C \u0441\u0435\u0440\u0456\u0457 \u0437 \u0456\u043D\u0434\u0435\u043A\u0441\u043E\u043C ${ seriesIndex } \u0454 '${ expectedType }', \u0430\u043B\u0435 \u0437\u0430\u043C\u0456\u0441\u0442\u044C \u043D\u044C\u043E\u0433\u043E \u0431\u0443\u043B\u043E \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E '${ receivedType }'",c="\u0430\u0431\u043E",f={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:r,layerFieldsNotFound:i,duplicateSeriesID:s,nonNumericAggregation:n,requiredProperty:o,minLength:d,minItems:l,maxItems:u,whiteSpacePattern:m,additionalProperty:$,enumValues:p,anyOfValues:y,bubbleChartValidateMsg:P,queryError:g,queryBinsNotSupported:h,invalidSeriesType:I,or:"\u0430\u0431\u043E"};export{$ as additionalProperty,y as anyOfValues,P as bubbleChartValidateMsg,f as default,a as defaultError,s as duplicateSeriesID,p as enumValues,I as invalidSeriesType,i as layerFieldsNotFound,r as layerLoadFailure,u as maxItems,l as minItems,d as minLength,e as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,n as nonNumericAggregation,c as or,h as queryBinsNotSupported,g as queryError,o as requiredProperty,m as whiteSpacePattern};
|
package/dist/cdn/GVQUQU5I.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import"./2SR5MDVW.js";var i={percent:"Odstotek",values:"Vrednosti",standardizedValues:"Standardizirane vrednosti",count:"\u0160tevilo",aggregationOfValues:"${ aggregation } vrednosti",aggregationOfFieldName:"${ aggregation } od ${ fieldName }"},e={aggrFieldsByCategory:"${ aggregationFields } od ${ category }",aggrTypeCategory:"${ aggregationType } od ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } od ${ category } od ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } od ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } s/z ${ aggregationField } od ${ category } od ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } s/z ${ aggregationFields } od ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } od ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } od ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } od ${ xAxisField } od ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } s/z ${ aggregationField } od ${ xAxisField } od ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } s/z ${ aggregationFields } od ${ xAxisField }",distributionOfField:"Distribucija ${ valueField }",distributionOfFields:"Distribucija ${ valueFields }",distributionOfFieldsByCategory:"Distribucija ${ valueFields } z ${ category }",distributionOfFieldsByCategoryAndSplitBy:"Distribucija ${ valueFields } z ${ category } in ${ splitByField }",xAndY:"${ x } in ${ y }"},g={barChart:"Pali\u010Dni grafikon",lineChart:"Linijski grafikon",pieChart:"Tortni grafikon",histogram:"Histogram",scatterplot:"Raztreseni grafikon"},a={axisLabels:i,titleLabels:e,chartType:g};export{i as axisLabels,g as chartType,a as default,e as titleLabels};
|
package/dist/cdn/GW6AWIFS.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
-
v0.13.0 */
|
|
4
|
-
import{b as n}from"./IVMR244J.js";function e(r){return n(r,"group")}function t(r){return n(r,"groupContent")}export{e as a,t as b};
|