@esri/hub-web-components 0.13.0 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/23BRE4OB.js +4 -0
- package/dist/cdn/246RHHUF.js +4 -0
- package/dist/cdn/26IVAQIJ.js +4 -0
- package/dist/cdn/27RUJV2T.js +4 -0
- package/dist/cdn/2AFAAWHY.js +4 -0
- package/dist/cdn/2CGYCZKF.js +4 -0
- package/dist/cdn/2CXNVGPV.js +4 -0
- package/dist/cdn/2DHFP53W.js +4 -0
- package/dist/cdn/2E4RUOEK.js +4 -0
- package/dist/cdn/2G7PI3W4.js +4 -0
- package/dist/cdn/2GHJUJDX.js +4 -0
- package/dist/cdn/2JFJWLXF.js +4 -0
- package/dist/cdn/2KJEWZWO.js +4 -0
- package/dist/cdn/2MZAIUQ7.js +4 -0
- package/dist/cdn/2N74XZ6E.js +4 -0
- package/dist/cdn/2OMWUQR6.js +4 -0
- package/dist/cdn/2Q423UCM.js +4 -0
- package/dist/cdn/2RYEXOFM.js +4 -0
- package/dist/cdn/2VKIWQD6.js +4 -0
- package/dist/cdn/2YACHLHX.js +4 -0
- package/dist/cdn/2YFLYNAG.js +4 -0
- package/dist/cdn/327XMNOT.js +4 -0
- package/dist/cdn/33HGKHXZ.js +4 -0
- package/dist/cdn/34IP2DHG.js +4 -0
- package/dist/cdn/35535FBS.js +4 -0
- package/dist/cdn/36U5YSO7.js +4 -0
- package/dist/cdn/3BGJNORL.js +4 -0
- package/dist/cdn/3BJJW5MR.js +4 -0
- package/dist/cdn/3BMGRGZE.js +4 -0
- package/dist/cdn/3CFKE7UB.js +4 -0
- package/dist/cdn/3CXH2DSB.js +4 -0
- package/dist/cdn/3F6E36WD.js +4 -0
- package/dist/cdn/3I76BQVV.js +4 -0
- package/dist/cdn/3IUKY2JD.js +4 -0
- package/dist/cdn/3O3C4OAQ.js +4 -0
- package/dist/cdn/3QN37YN6.js +4 -0
- package/dist/cdn/3SLUVYGW.js +4 -0
- package/dist/cdn/3TK4DI33.js +4 -0
- package/dist/cdn/3TZCC4H5.js +4 -0
- package/dist/cdn/3YFYQFLX.js +4 -0
- package/dist/cdn/42OPNUMF.js +4 -0
- package/dist/cdn/45LDQJIJ.js +4 -0
- package/dist/cdn/4EH73LPH.js +4 -0
- package/dist/cdn/4FJGFYDV.js +4 -0
- package/dist/cdn/4G6LFC66.js +4 -0
- package/dist/cdn/4IZX4NXA.js +4 -0
- package/dist/cdn/4K4S3EVD.js +4 -0
- package/dist/cdn/4MQ4CYSU.js +4 -0
- package/dist/cdn/4O5TGMWQ.js +4 -0
- package/dist/cdn/4OBYPH4J.js +4 -0
- package/dist/cdn/4OUXHE6H.js +4 -0
- package/dist/cdn/4SDXDK3E.js +4 -0
- package/dist/cdn/4VTWY7RD.js +4 -0
- package/dist/cdn/4X66ER3X.js +4 -0
- package/dist/cdn/4ZWBYOLT.js +4 -0
- package/dist/cdn/55WIJKZL.js +4 -0
- package/dist/cdn/5AHAIWP6.js +4 -0
- package/dist/cdn/5AJKFPNT.js +4 -0
- package/dist/cdn/5F5M4DBM.js +4 -0
- package/dist/cdn/5HFMEY6A.js +4 -0
- package/dist/cdn/5HXWIYM3.js +4 -0
- package/dist/cdn/5J2RN4N2.js +4 -0
- package/dist/cdn/5KDAWTKA.js +4 -0
- package/dist/cdn/5KEKSYNP.js +4 -0
- package/dist/cdn/5KR2IVJB.js +4 -0
- package/dist/cdn/5L3BP4KT.js +4 -0
- package/dist/cdn/5LJ2QPTE.js +4 -0
- package/dist/cdn/5M5KFLGD.js +4 -0
- package/dist/cdn/5MI5MIKU.js +4 -0
- package/dist/cdn/5MNB7JGK.js +4 -0
- package/dist/cdn/5O6UMPJK.js +4 -0
- package/dist/cdn/5QPICGIH.js +4 -0
- package/dist/cdn/5RYOZJE3.js +12 -0
- package/dist/cdn/5S4XKY22.js +4 -0
- package/dist/cdn/5SPSAV6M.js +4 -0
- package/dist/cdn/5UTMZNSZ.js +4 -0
- package/dist/cdn/5WQEP7AP.js +4 -0
- package/dist/cdn/5XOOBHDV.js +4 -0
- package/dist/cdn/5XUQMYJP.js +4 -0
- package/dist/cdn/5YAXF7VL.js +4 -0
- package/dist/cdn/63WNWWHI.js +4 -0
- package/dist/cdn/6A4NLU5A.js +4 -0
- package/dist/cdn/6BRUXITN.js +4 -0
- package/dist/cdn/6CB47K5M.js +4 -0
- package/dist/cdn/6CMN4SEL.js +4 -0
- package/dist/cdn/6CYXNSJW.js +4 -0
- package/dist/cdn/6D7PSVGV.js +4 -0
- package/dist/cdn/6ERDQBHM.js +4 -0
- package/dist/cdn/6ICVNLOK.js +4 -0
- package/dist/cdn/6J3BIRE2.js +4 -0
- package/dist/cdn/6KAAJTRF.js +4 -0
- package/dist/cdn/6MGFTBD7.js +4 -0
- package/dist/cdn/6OEN4EC6.js +4 -0
- package/dist/cdn/6OWQDAO6.js +4 -0
- package/dist/cdn/6P4HKDWS.js +4 -0
- package/dist/cdn/6QTUTY62.js +4 -0
- package/dist/cdn/6SR6YHKR.js +4 -0
- package/dist/cdn/6TZWPUUR.js +4 -0
- package/dist/cdn/6UHR7LGL.js +4 -0
- package/dist/cdn/6UOGQ4ET.js +4 -0
- package/dist/cdn/6WAVK5RN.js +4 -0
- package/dist/cdn/6X5Y4Q4R.js +4 -0
- package/dist/cdn/72DOADB5.js +4 -0
- package/dist/cdn/753X5ZJH.js +4 -0
- package/dist/cdn/772IA2ZW.js +4 -0
- package/dist/cdn/7AJ3BYKQ.js +6 -0
- package/dist/cdn/7KYOAYAN.js +4 -0
- package/dist/cdn/7KYUHDE3.js +4 -0
- package/dist/cdn/7L2QEQ3Z.js +4 -0
- package/dist/cdn/7LJ66MXA.js +4 -0
- package/dist/cdn/7LON3SHO.js +4 -0
- package/dist/cdn/7MJIMKKW.js +4 -0
- package/dist/cdn/7O4LQKUJ.js +4 -0
- package/dist/cdn/7OVQ3ZCF.js +4 -0
- package/dist/cdn/7Q2XBQWO.js +4 -0
- package/dist/cdn/7SHUV3EE.js +4 -0
- package/dist/cdn/7XZC2AUK.js +4 -0
- package/dist/cdn/7Y3LOJVL.js +4 -0
- package/dist/cdn/7YVDK5B2.js +4 -0
- package/dist/cdn/7ZMOED4J.js +4 -0
- package/dist/cdn/7ZV6LA7B.js +4 -0
- package/dist/cdn/A2WA3FLF.js +4 -0
- package/dist/cdn/A3FGXXXW.js +4 -0
- package/dist/cdn/A3J4J7TX.js +4 -0
- package/dist/cdn/A4RGCC2Z.js +5 -0
- package/dist/cdn/A5C6TITH.js +4 -0
- package/dist/cdn/A6V6AUQF.js +4 -0
- package/dist/cdn/A732D72Z.js +4 -0
- package/dist/cdn/A7MVU7Z3.js +4 -0
- package/dist/cdn/AA4JJ5ZW.js +4 -0
- package/dist/cdn/AAELR64M.js +4 -0
- package/dist/cdn/AAHMIMTM.js +4 -0
- package/dist/cdn/ABDYWJY7.js +4 -0
- package/dist/cdn/ABJG2FYD.js +4 -0
- package/dist/cdn/AC4GFDLZ.js +4 -0
- package/dist/cdn/ADO6DCED.js +4 -0
- package/dist/cdn/AEAMYD4V.js +4 -0
- package/dist/cdn/AEAYTCNI.js +4 -0
- package/dist/cdn/AEK6ILJQ.js +4 -0
- package/dist/cdn/AF7N6SQH.js +4 -0
- package/dist/cdn/AI5RCQGW.js +4 -0
- package/dist/cdn/AII6S2AA.js +4 -0
- package/dist/cdn/AIW4RCKE.js +4 -0
- package/dist/cdn/AJ45E4BU.js +4 -0
- package/dist/cdn/AK6TCRNM.js +4 -0
- package/dist/cdn/ALF6FW3P.js +4 -0
- package/dist/cdn/APTLLXJC.js +4 -0
- package/dist/cdn/ARRR3WHH.js +4 -0
- package/dist/cdn/ASFROY2D.js +4 -0
- package/dist/cdn/AU35CECY.js +4 -0
- package/dist/cdn/B32LLVRZ.js +4 -0
- package/dist/cdn/B3K2OPKA.js +4 -0
- package/dist/cdn/B5GFMI66.js +4 -0
- package/dist/cdn/B7LTYEFM.js +4 -0
- package/dist/cdn/B7POMZVY.js +4 -0
- package/dist/cdn/BCNVX3K4.js +4 -0
- package/dist/cdn/BCWP6QV7.js +4 -0
- package/dist/cdn/BDCG223O.js +4 -0
- package/dist/cdn/BE44TDZ5.js +4 -0
- package/dist/cdn/BE7764WO.js +4 -0
- package/dist/cdn/BEG4UO2U.js +4 -0
- package/dist/cdn/BGAVPXSY.js +4 -0
- package/dist/cdn/BIPPRYIS.js +4 -0
- package/dist/cdn/BKZIK6DQ.js +4 -0
- package/dist/cdn/BOIQ7XW7.js +4 -0
- package/dist/cdn/BOL4VDGK.js +4 -0
- package/dist/cdn/BPTMTRJL.js +4 -0
- package/dist/cdn/BRFQJODL.js +4 -0
- package/dist/cdn/BTPLMLNF.js +4 -0
- package/dist/cdn/BTVZ2EYQ.js +4 -0
- package/dist/cdn/BV5N56NX.js +4 -0
- package/dist/cdn/BVBIHC24.js +4 -0
- package/dist/cdn/BWE6BWTJ.js +4 -0
- package/dist/cdn/BX2PYUR4.js +4 -0
- package/dist/cdn/BXT4RS44.js +4 -0
- package/dist/cdn/BY6RKAJL.js +4 -0
- package/dist/cdn/BYKT5QQC.js +4 -0
- package/dist/cdn/BZ5RK3IC.js +4 -0
- package/dist/cdn/C2LIBCU5.js +4 -0
- package/dist/cdn/C2NDYPEV.js +4 -0
- package/dist/cdn/C4ZYQVSA.js +4 -0
- package/dist/cdn/CAIOZTND.js +4 -0
- package/dist/cdn/CC7A2AVY.js +4 -0
- package/dist/cdn/CCABA7WZ.js +4 -0
- package/dist/cdn/CCFQI5OQ.js +4 -0
- package/dist/cdn/CDDBU6VX.js +4 -0
- package/dist/cdn/CG475VHU.js +4 -0
- package/dist/cdn/CGRVO5SY.js +4 -0
- package/dist/cdn/CHAJ7KVK.js +4 -0
- package/dist/cdn/CJPABIHI.js +4 -0
- package/dist/cdn/CLGD3KL5.js +4 -0
- package/dist/cdn/CLNJIZOB.js +4 -0
- package/dist/cdn/CMLZASTL.js +4 -0
- package/dist/cdn/CNSSK2Q3.js +4 -0
- package/dist/cdn/COZSNP2D.js +4 -0
- package/dist/cdn/COZTNRBE.js +4 -0
- package/dist/cdn/CPGFUI6B.js +4 -0
- package/dist/cdn/CRCUYTJD.js +4 -0
- package/dist/cdn/CROVQN5N.js +4 -0
- package/dist/cdn/CU2QJJ5M.js +4 -0
- package/dist/cdn/CUDC7ORS.js +4 -0
- package/dist/cdn/D23OFNYV.js +4 -0
- package/dist/cdn/D5KE3NVK.js +4 -0
- package/dist/cdn/DA2BGYIT.js +52 -0
- package/dist/cdn/DCMVD43A.js +4 -0
- package/dist/cdn/DFFVHDM6.js +4 -0
- package/dist/cdn/DG6DKIS2.js +4 -0
- package/dist/cdn/DGMVMYSL.js +4 -0
- package/dist/cdn/DHBRETEU.js +4 -0
- package/dist/cdn/DJBUSGYA.js +4 -0
- package/dist/cdn/DJMTBGD3.js +4 -0
- package/dist/cdn/DJOKAGVX.js +4 -0
- package/dist/cdn/DKE36R5M.js +4 -0
- package/dist/cdn/DO7UK4JT.js +4 -0
- package/dist/cdn/DOJ5M5IA.js +4 -0
- package/dist/cdn/DR2O3RLL.js +4 -0
- package/dist/cdn/DUHVJM6S.js +4 -0
- package/dist/cdn/DW57ZH6G.js +4 -0
- package/dist/cdn/DWX32M5L.js +4 -0
- package/dist/cdn/DXX5XJRG.js +4 -0
- package/dist/cdn/DYNVCXJW.js +4 -0
- package/dist/cdn/DZC32L7G.js +4 -0
- package/dist/cdn/DZE6SLZA.js +4 -0
- package/dist/cdn/DZESTUXK.js +4 -0
- package/dist/cdn/E4CEHS5R.js +4 -0
- package/dist/cdn/E5ZUL63D.js +4 -0
- package/dist/cdn/E6UVE34X.js +4 -0
- package/dist/cdn/ED25RER3.js +4 -0
- package/dist/cdn/EEN52RL7.js +4 -0
- package/dist/cdn/EFHRWXGC.js +4 -0
- package/dist/cdn/EFQOQVE7.js +4 -0
- package/dist/cdn/EI4AFVBT.js +4 -0
- package/dist/cdn/EIHKPZVS.js +4 -0
- package/dist/cdn/EINX4HFT.js +4 -0
- package/dist/cdn/EJLK62YT.js +4 -0
- package/dist/cdn/EO2G4QIU.js +4 -0
- package/dist/cdn/EQS53QMD.js +4 -0
- package/dist/cdn/ESI3655A.js +4 -0
- package/dist/cdn/ETVANAWW.js +4 -0
- package/dist/cdn/EVS35ZYX.js +4 -0
- package/dist/cdn/EYBUA23F.js +4 -0
- package/dist/cdn/EZ5ONHDV.js +4 -0
- package/dist/cdn/F42L4SQZ.js +4 -0
- package/dist/cdn/F5A2PJAI.js +4 -0
- package/dist/cdn/F6JGCGYE.js +4 -0
- package/dist/cdn/F7KHPTCY.js +4 -0
- package/dist/cdn/FAHYSWII.js +4 -0
- package/dist/cdn/FCXLV2TW.js +4 -0
- package/dist/cdn/FEX6GEGZ.js +59 -0
- package/dist/cdn/FFMYJXXN.js +4 -0
- package/dist/cdn/FFZ2N2SR.js +4 -0
- package/dist/cdn/FGYMXCS6.js +4 -0
- package/dist/cdn/FJK2GVLD.js +4 -0
- package/dist/cdn/FK64UKPK.js +4 -0
- package/dist/cdn/FKH3MV3Z.js +4 -0
- package/dist/cdn/FKJBKU5O.js +4 -0
- package/dist/cdn/FLILC5KH.js +4 -0
- package/dist/cdn/FLSBDOEF.js +4 -0
- package/dist/cdn/FNWGEHHB.js +4 -0
- package/dist/cdn/FO4OYX3H.js +4 -0
- package/dist/cdn/FOQFVJPH.js +4 -0
- package/dist/cdn/FOYVZHZK.js +4 -0
- package/dist/cdn/FQRVDYRO.js +4 -0
- package/dist/cdn/FTL6QD3B.js +4 -0
- package/dist/cdn/FZVORFNL.js +4 -0
- package/dist/cdn/G3JF22H2.js +4 -0
- package/dist/cdn/G3LFTWIJ.js +4 -0
- package/dist/cdn/G6BRH65E.js +4 -0
- package/dist/cdn/G6L7SR3Q.js +4 -0
- package/dist/cdn/G7X63WZR.js +24 -0
- package/dist/cdn/GA4ETBPI.js +4 -0
- package/dist/cdn/GBM7JXYC.js +4 -0
- package/dist/cdn/GC7Y76DW.js +4 -0
- package/dist/cdn/GFWFGZHK.js +4 -0
- package/dist/cdn/GH6XSAEQ.js +4 -0
- package/dist/cdn/GIZKDLMN.js +12 -0
- package/dist/cdn/GM43GKJ2.js +4 -0
- package/dist/cdn/GNXHOH2F.js +4 -0
- package/dist/cdn/GOGC5P2M.js +4 -0
- package/dist/cdn/GOPXJGSC.js +4 -0
- package/dist/cdn/GT3GDR3B.js +4 -0
- package/dist/cdn/GU5NF3SB.js +4 -0
- package/dist/cdn/GVV2VRP5.js +4 -0
- package/dist/cdn/GWS4IYAT.js +4 -0
- package/dist/cdn/GX4LIK7X.js +4 -0
- package/dist/cdn/GYR53D7S.js +4 -0
- package/dist/cdn/H2COQ3FI.js +4 -0
- package/dist/cdn/H2QZC2IP.js +4 -0
- package/dist/cdn/H36ZCEO5.js +4 -0
- package/dist/cdn/H6TLLTCH.js +4 -0
- package/dist/cdn/H7K42STG.js +4 -0
- package/dist/cdn/H7NEIFFT.js +4 -0
- package/dist/cdn/H7UOCM5P.js +8 -0
- package/dist/cdn/HA7C7KJJ.js +4 -0
- package/dist/cdn/HADXLWLX.js +4 -0
- package/dist/cdn/HB6TFZEB.js +4 -0
- package/dist/cdn/HBSBNZTF.js +4 -0
- package/dist/cdn/HGC76XYA.js +4 -0
- package/dist/cdn/HHWNGQRB.js +4 -0
- package/dist/cdn/HIUXLGD4.js +4 -0
- package/dist/cdn/HM26DYCT.js +4 -0
- package/dist/cdn/HNEDVBUN.js +4 -0
- package/dist/cdn/HNWPMUM6.js +4 -0
- package/dist/cdn/HP6NSK7K.js +4 -0
- package/dist/cdn/HQE5W4RC.js +4 -0
- package/dist/cdn/HTGW4PPB.js +9 -0
- package/dist/cdn/HTH6FGIP.js +4 -0
- package/dist/cdn/HWTZW62T.js +4 -0
- package/dist/cdn/HWX63RQV.js +4 -0
- package/dist/cdn/HXTHWU6G.js +4 -0
- package/dist/cdn/HYSDKVFV.js +4 -0
- package/dist/cdn/I7YE6SGP.js +4 -0
- package/dist/cdn/IBD3JCAZ.js +4 -0
- package/dist/cdn/ICQ2PTGA.js +4 -0
- package/dist/cdn/ID5IQTJP.js +4 -0
- package/dist/cdn/IEGKMAR4.js +4 -0
- package/dist/cdn/IFD5AZJT.js +4 -0
- package/dist/cdn/IFQP4OK4.js +4 -0
- package/dist/cdn/IH44FGF5.js +4 -0
- package/dist/cdn/II3ONRLY.js +4 -0
- package/dist/cdn/IK5ULE6G.js +4 -0
- package/dist/cdn/IKEMMKMQ.js +4 -0
- package/dist/cdn/IKMPL6A3.js +4 -0
- package/dist/cdn/ILXTJEYQ.js +4 -0
- package/dist/cdn/IP3G3MZ3.js +4 -0
- package/dist/cdn/IVTLKEEP.js +4 -0
- package/dist/cdn/IXGLBB6T.js +4 -0
- package/dist/cdn/IY43H25W.js +4 -0
- package/dist/cdn/IYK6BA4U.js +4 -0
- package/dist/cdn/J2RHA3IN.js +4 -0
- package/dist/cdn/J2SAX32T.js +4 -0
- package/dist/cdn/J3WYBKPL.js +4 -0
- package/dist/cdn/J6VCKZVQ.js +4 -0
- package/dist/cdn/JBHZ3EAM.js +4 -0
- package/dist/cdn/JBJ4RN4E.js +4 -0
- package/dist/cdn/JC5Z5BU6.js +3 -0
- package/dist/cdn/JCMOAHUZ.js +4 -0
- package/dist/cdn/JFUTDVI3.js +4 -0
- package/dist/cdn/JFWQEPZG.js +4 -0
- package/dist/cdn/JLJBRS2D.js +4 -0
- package/dist/cdn/JMFTYPEH.js +4 -0
- package/dist/cdn/JMQ63L3Y.js +4 -0
- package/dist/cdn/JNM35QBG.js +4 -0
- package/dist/cdn/JNTEZKEC.js +4 -0
- package/dist/cdn/JP2WNVJW.js +4 -0
- package/dist/cdn/JQGAC2QV.js +4 -0
- package/dist/cdn/JRFRCS4F.js +4 -0
- package/dist/cdn/JRMCBRYB.js +4 -0
- package/dist/cdn/JS4RYOPJ.js +5 -0
- package/dist/cdn/JTOPCDC3.js +5 -0
- package/dist/cdn/JUDRKSS2.js +4 -0
- package/dist/cdn/JWXIKB6O.js +25 -0
- package/dist/cdn/JYTYY4MI.js +4 -0
- package/dist/cdn/K3XWA4NM.js +4 -0
- package/dist/cdn/K4IJRLSW.js +4 -0
- package/dist/cdn/K4LEM7FU.js +4 -0
- package/dist/cdn/K5EHYHM3.js +4 -0
- package/dist/cdn/K5N2WJE6.js +4 -0
- package/dist/cdn/K5SVEZES.js +4 -0
- package/dist/cdn/K6HQ2NSP.js +4 -0
- package/dist/cdn/KA3LSRYR.js +4 -0
- package/dist/cdn/KDAV3G2G.js +4 -0
- package/dist/cdn/KDEEPMAZ.js +51 -0
- package/dist/cdn/KESNNBE3.js +4 -0
- package/dist/cdn/KFEY3MN3.js +4 -0
- package/dist/cdn/KGB3F7C5.js +5 -0
- package/dist/cdn/KGY2GVJP.js +4 -0
- package/dist/cdn/KKBEYBPS.js +4 -0
- package/dist/cdn/KLGIEUEQ.js +42 -0
- package/dist/cdn/KOMJX6DD.js +4 -0
- package/dist/cdn/KQ6RHRLQ.js +4 -0
- package/dist/cdn/KQGLNXOZ.js +4 -0
- package/dist/cdn/KU52PEXV.js +4 -0
- package/dist/cdn/KVJMPCHB.js +4 -0
- package/dist/cdn/L2VTDOFB.js +4 -0
- package/dist/cdn/L2XWZFWZ.js +4 -0
- package/dist/cdn/L5VSN7UK.js +4 -0
- package/dist/cdn/L6VARAKM.js +4 -0
- package/dist/cdn/LAXTQ2NX.js +4 -0
- package/dist/cdn/LEW5WFEM.js +4 -0
- package/dist/cdn/LEYSEXSA.js +4 -0
- package/dist/cdn/LFK2M337.js +4 -0
- package/dist/cdn/LFZOX5FU.js +4 -0
- package/dist/cdn/LG3PV3UZ.js +4 -0
- package/dist/cdn/LGBRUHLU.js +4 -0
- package/dist/cdn/LGQ3UELH.js +4 -0
- package/dist/cdn/LIFNCSZ6.js +4 -0
- package/dist/cdn/LJJZML5C.js +4 -0
- package/dist/cdn/LK4ABPVP.js +4 -0
- package/dist/cdn/LKW7OOW7.js +4 -0
- package/dist/cdn/LKZMDOYT.js +4 -0
- package/dist/cdn/LNSHT5YN.js +4 -0
- package/dist/cdn/LQFOR2BP.js +4 -0
- package/dist/cdn/LTOMTI6W.js +4 -0
- package/dist/cdn/LW3GIMAC.js +4 -0
- package/dist/cdn/LXPJ36DH.js +4 -0
- package/dist/cdn/LXZ5VVQB.js +4 -0
- package/dist/cdn/M25MRPNV.js +4 -0
- package/dist/cdn/M4EGZ6JL.js +4 -0
- package/dist/cdn/M5DIQHME.js +4 -0
- package/dist/cdn/MACI2WTJ.js +4 -0
- package/dist/cdn/MIQ4OAK5.js +4 -0
- package/dist/cdn/MIWOBHUU.js +4 -0
- package/dist/cdn/MJ7BUMJG.js +4 -0
- package/dist/cdn/MLRMRK5D.js +4 -0
- package/dist/cdn/MLYGRYB7.js +4 -0
- package/dist/cdn/MNO5CKFV.js +4 -0
- package/dist/cdn/MNWVQKXQ.js +4 -0
- package/dist/cdn/MO44ENXJ.js +4 -0
- package/dist/cdn/MOJ4EJ7V.js +4 -0
- package/dist/cdn/MPMBDZBE.js +4 -0
- package/dist/cdn/MRCFXQXZ.js +4 -0
- package/dist/cdn/MRGV2WWU.js +4 -0
- package/dist/cdn/MW6MUFC2.js +4 -0
- package/dist/cdn/MXZSNHQC.js +4 -0
- package/dist/cdn/N7OPNFK3.js +4 -0
- package/dist/cdn/NAOKWPYC.js +4 -0
- package/dist/cdn/NFODNE3N.js +4 -0
- package/dist/cdn/NKH5RSWJ.js +4 -0
- package/dist/cdn/NMO3AW4T.js +4 -0
- package/dist/cdn/NNF7XFIL.js +4 -0
- package/dist/cdn/NNWZMV2T.js +4 -0
- package/dist/cdn/NPZKUZMM.js +4 -0
- package/dist/cdn/NTWB4BSN.js +6 -0
- package/dist/cdn/NTXM6TFU.js +4 -0
- package/dist/cdn/NZBNVOGH.js +6 -0
- package/dist/cdn/NZQSDQE3.js +4 -0
- package/dist/cdn/O25GCGCE.js +4 -0
- package/dist/cdn/O4IWFIH4.js +4 -0
- package/dist/cdn/OAAGV7AX.js +4 -0
- package/dist/cdn/OAERCPNT.js +4 -0
- package/dist/cdn/OAMLJQSJ.js +4 -0
- package/dist/cdn/ODMEXQ5P.js +4 -0
- package/dist/cdn/OFKO5N7E.js +4 -0
- package/dist/cdn/OI34WS5X.js +4 -0
- package/dist/cdn/OI7FIIWI.js +4 -0
- package/dist/cdn/OLHQB3O7.js +4 -0
- package/dist/cdn/OMECHPYK.js +4 -0
- package/dist/cdn/ON4SYZPJ.js +4 -0
- package/dist/cdn/OUTXSQNJ.js +5470 -0
- package/dist/cdn/OWNNPZDI.js +4 -0
- package/dist/cdn/OZYNZQIA.js +4 -0
- package/dist/cdn/P6ZBWPD5.js +4 -0
- package/dist/cdn/P7S7TPAP.js +4 -0
- package/dist/cdn/PIVPA5WO.js +4 -0
- package/dist/cdn/PJWYIOQV.js +4 -0
- package/dist/cdn/POGQQOFL.js +4 -0
- package/dist/cdn/POHIJ5TX.js +4 -0
- package/dist/cdn/PPSQTKA2.js +4 -0
- package/dist/cdn/PRLP7RUI.js +4 -0
- package/dist/cdn/PTE5FU7Y.js +4 -0
- package/dist/cdn/PUJQ47DJ.js +4 -0
- package/dist/cdn/PUMFVABR.js +4 -0
- package/dist/cdn/Q4WXYRBM.js +4 -0
- package/dist/cdn/Q5AD3DOK.js +4 -0
- package/dist/cdn/Q7VAYGIT.js +4 -0
- package/dist/cdn/QB3HCK4R.js +4 -0
- package/dist/cdn/QC7TP4VK.js +4 -0
- package/dist/cdn/QCFKRKMU.js +4 -0
- package/dist/cdn/QGHT7LZV.js +4 -0
- package/dist/cdn/QH5SFRM2.js +4 -0
- package/dist/cdn/QHU6OEME.js +4 -0
- package/dist/cdn/QIZKP2N3.js +4 -0
- package/dist/cdn/QJ54CAPF.js +4 -0
- package/dist/cdn/QL66D6V5.js +4 -0
- package/dist/cdn/QLM5NUOE.js +4 -0
- package/dist/cdn/QMFGVVFC.js +4 -0
- package/dist/cdn/QQATUWZF.js +4 -0
- package/dist/cdn/QQXMIAQB.js +4 -0
- package/dist/cdn/QR3C32BS.js +4 -0
- package/dist/cdn/QSJQA2JK.js +4 -0
- package/dist/cdn/QSJYCQMX.js +4 -0
- package/dist/cdn/QTHFZ2RU.js +4 -0
- package/dist/cdn/QWZLBLSD.js +4 -0
- package/dist/cdn/QZJGGWRS.js +4 -0
- package/dist/cdn/R3KDJPF3.js +4 -0
- package/dist/cdn/R63VRZNG.js +4 -0
- package/dist/cdn/R6RCVWU6.js +4 -0
- package/dist/cdn/RDBBRCW7.js +4 -0
- package/dist/cdn/REZYY5TM.js +4 -0
- package/dist/cdn/RIHTOXJJ.js +4 -0
- package/dist/cdn/RMKTICDO.js +4 -0
- package/dist/cdn/RTUO7YL6.js +4 -0
- package/dist/cdn/RULJ5GS2.js +4 -0
- package/dist/cdn/RVCWHLMJ.js +4 -0
- package/dist/cdn/RXFR2SOC.js +4 -0
- package/dist/cdn/S2AJR3L7.js +4 -0
- package/dist/cdn/S2YHPNVL.js +4 -0
- package/dist/cdn/S3KHEJBV.js +4 -0
- package/dist/cdn/S4PP4WMG.js +4 -0
- package/dist/cdn/S55BGDHX.js +4 -0
- package/dist/cdn/S5OAWIQT.js +4 -0
- package/dist/cdn/S7XI5ZYS.js +4 -0
- package/dist/cdn/SEQZHLK2.js +4 -0
- package/dist/cdn/SF7HWWFS.js +5 -0
- package/dist/cdn/SKPBLGZ2.js +4 -0
- package/dist/cdn/SMDKHSY6.js +4 -0
- package/dist/cdn/SMJQ6NLW.js +16 -0
- package/dist/cdn/SNUHES6H.js +4 -0
- package/dist/cdn/SOEKAD3U.js +4 -0
- package/dist/cdn/SQK2A6TV.js +4 -0
- package/dist/cdn/SQPKSQ4W.js +4 -0
- package/dist/cdn/SQYPHMKH.js +4 -0
- package/dist/cdn/STS3T6C2.js +4 -0
- package/dist/cdn/SUCNNJ3G.js +4 -0
- package/dist/cdn/SUZKJLNK.js +4 -0
- package/dist/cdn/SVKUZ7DP.js +4 -0
- package/dist/cdn/SWYPZHE4.js +4 -0
- package/dist/cdn/SXVVW4TY.js +4 -0
- package/dist/cdn/T2274HAL.js +4 -0
- package/dist/cdn/T2CWYVC5.js +4 -0
- package/dist/cdn/T5LXIRCF.js +4 -0
- package/dist/cdn/TAIUHS56.js +4 -0
- package/dist/cdn/TCUGLN6I.js +4 -0
- package/dist/cdn/TDJXT3C2.js +4 -0
- package/dist/cdn/TF2OI3LG.js +4 -0
- package/dist/cdn/THBF5AJE.js +4 -0
- package/dist/cdn/TJ4ATBAT.js +4 -0
- package/dist/cdn/TLVUI42M.js +4 -0
- package/dist/cdn/TM7RM3N7.js +4 -0
- package/dist/cdn/TOGJ7EAX.js +4 -0
- package/dist/cdn/TS5KRAE3.js +4 -0
- package/dist/cdn/TUX6HFFQ.js +4 -0
- package/dist/cdn/TWFCPQAF.js +4 -0
- package/dist/cdn/TWGRQKUU.js +4 -0
- package/dist/cdn/TXSU4AJX.js +4 -0
- package/dist/cdn/TY36FLKF.js +4 -0
- package/dist/cdn/TZN7UXIK.js +4 -0
- package/dist/cdn/TZZ4CK2Y.js +4 -0
- package/dist/cdn/U3VUCHZG.js +4 -0
- package/dist/cdn/U77Q6M5G.js +4 -0
- package/dist/cdn/U7UJ4GQ4.js +4 -0
- package/dist/cdn/UB3SFE2H.js +4 -0
- package/dist/cdn/UBBE3JVH.js +4 -0
- package/dist/cdn/UDJHGP6P.js +4 -0
- package/dist/cdn/UEPTIXTG.js +4 -0
- package/dist/cdn/UFP2AGXW.js +4 -0
- package/dist/cdn/UGZLDLCX.js +4 -0
- package/dist/cdn/UH55HKKM.js +4 -0
- package/dist/cdn/UI5NZJBQ.js +4 -0
- package/dist/cdn/UITQV6BS.js +4 -0
- package/dist/cdn/UJCLMANX.js +4 -0
- package/dist/cdn/ULOSKY7T.js +4 -0
- package/dist/cdn/UPKHIWPU.js +4 -0
- package/dist/cdn/UQKJSAMI.js +4 -0
- package/dist/cdn/UUUYDT4M.js +4 -0
- package/dist/cdn/UV7NTDAG.js +4 -0
- package/dist/cdn/UXN32UBO.js +4 -0
- package/dist/cdn/UY3254EE.js +4 -0
- package/dist/cdn/UYC4AJB7.js +4 -0
- package/dist/cdn/UYNLZFXU.js +4 -0
- package/dist/cdn/UZE4EF3M.js +4 -0
- package/dist/cdn/UZEVS53O.js +4 -0
- package/dist/cdn/UZI5W2RF.js +4 -0
- package/dist/cdn/V2US55JF.js +41 -0
- package/dist/cdn/V4OGL2CC.js +4 -0
- package/dist/cdn/V4PFAUUV.js +4 -0
- package/dist/cdn/V7GNW4W7.js +4 -0
- package/dist/cdn/VB5AU66N.js +4 -0
- package/dist/cdn/VELV2ZIO.js +4 -0
- package/dist/cdn/VFZCOYR2.js +4 -0
- package/dist/cdn/VJBSLM34.js +4 -0
- package/dist/cdn/VJQWCGWB.js +4 -0
- package/dist/cdn/VJUH7XXH.js +4 -0
- package/dist/cdn/VNZZRJ7R.js +4 -0
- package/dist/cdn/VOWCV7Z7.js +4 -0
- package/dist/cdn/VPAYALF4.js +4 -0
- package/dist/cdn/VPYCKLQ3.js +4 -0
- package/dist/cdn/VQ2BNO2G.js +4 -0
- package/dist/cdn/VQ4RP5XB.js +4 -0
- package/dist/cdn/VU3GELKB.js +4 -0
- package/dist/cdn/VVVU2QG3.js +4 -0
- package/dist/cdn/VWZGQK2O.js +4 -0
- package/dist/cdn/VXKN4IFR.js +4 -0
- package/dist/cdn/W2U2PVJ2.js +4 -0
- package/dist/cdn/W527FOSN.js +4 -0
- package/dist/cdn/W6JRJ7LC.js +4 -0
- package/dist/cdn/W6RGT2WI.js +4 -0
- package/dist/cdn/W7KIG6MS.js +4 -0
- package/dist/cdn/WCYSJRR2.js +4 -0
- package/dist/cdn/WDAFYIM5.js +59 -0
- package/dist/cdn/WHI7EEKO.js +4 -0
- package/dist/cdn/WHKPWRXN.js +4 -0
- package/dist/cdn/WHO5TMWB.js +4 -0
- package/dist/cdn/WI6AVLEQ.js +4 -0
- package/dist/cdn/WNF237VL.js +4 -0
- package/dist/cdn/WOZKCPKE.js +4 -0
- package/dist/cdn/WP52OYF5.js +4 -0
- package/dist/cdn/WPGYHDOL.js +4 -0
- package/dist/cdn/WSVFYHKW.js +4 -0
- package/dist/cdn/WUYPQKN5.js +4 -0
- package/dist/cdn/WVTNKXWF.js +4 -0
- package/dist/cdn/WWMWWJD4.js +4 -0
- package/dist/cdn/WXRYYM2Z.js +4 -0
- package/dist/cdn/X6VK7NMQ.js +4 -0
- package/dist/cdn/XANCIVCT.js +4 -0
- package/dist/cdn/XBDCRFAJ.js +4 -0
- package/dist/cdn/XCT4GJK2.js +4 -0
- package/dist/cdn/XD6BW5RF.js +4 -0
- package/dist/cdn/XDI277WO.js +4 -0
- package/dist/cdn/XDVGGY6E.js +4 -0
- package/dist/cdn/XEBYDVWE.js +4 -0
- package/dist/cdn/XEXC5DFU.js +4 -0
- package/dist/cdn/XFCNSE6N.js +4 -0
- package/dist/cdn/XGGPZKAL.js +4 -0
- package/dist/cdn/XKR2KVAH.js +4 -0
- package/dist/cdn/XLIOQWJ7.js +4 -0
- package/dist/cdn/XLL5WMQQ.js +4 -0
- package/dist/cdn/XMAGYSUJ.js +4 -0
- package/dist/cdn/XR5SQOSL.js +4 -0
- package/dist/cdn/XTWM6POF.js +4 -0
- package/dist/cdn/Y3AHB3KC.js +4 -0
- package/dist/cdn/Y3FAYQZA.js +4 -0
- package/dist/cdn/Y5MYSHBM.js +4 -0
- package/dist/cdn/Y6R2O6P4.js +4 -0
- package/dist/cdn/Y7EHRTAK.js +4 -0
- package/dist/cdn/YCCWPZ6X.js +4 -0
- package/dist/cdn/YD3DS5SG.js +4 -0
- package/dist/cdn/YDCEQGWM.js +4 -0
- package/dist/cdn/YFU322P3.js +4 -0
- package/dist/cdn/YHEHL6NO.js +4 -0
- package/dist/cdn/YJZYJK4E.js +4 -0
- package/dist/cdn/YK6LAZ4Y.js +4 -0
- package/dist/cdn/YL6N6LLY.js +4 -0
- package/dist/cdn/YLB2BTXL.js +4 -0
- package/dist/cdn/YMQRQDIX.js +4 -0
- package/dist/cdn/YN242O7Y.js +5 -0
- package/dist/cdn/YN6JTL5T.js +4 -0
- package/dist/cdn/YSKTRK5U.js +11 -0
- package/dist/cdn/YUDVFGZ4.js +4 -0
- package/dist/cdn/YV3XDUIG.js +4 -0
- package/dist/cdn/YYDZW5FW.js +4 -0
- package/dist/cdn/Z36VZFSJ.js +4 -0
- package/dist/cdn/Z3YNXZDJ.js +4 -0
- package/dist/cdn/Z524DHPM.js +4 -0
- package/dist/cdn/Z57L6TKV.js +4 -0
- package/dist/cdn/Z5Y6BX4W.js +4 -0
- package/dist/cdn/Z75K54IQ.js +4 -0
- package/dist/cdn/ZB2MC4PB.js +4 -0
- package/dist/cdn/ZCQKFX4J.js +4 -0
- package/dist/cdn/ZCVMCVQY.js +4 -0
- package/dist/cdn/ZICCR6P7.js +4 -0
- package/dist/cdn/ZINC3YJ2.js +4 -0
- package/dist/cdn/ZIRYBPNU.js +4 -0
- package/dist/cdn/ZMDJLA6H.js +4 -0
- package/dist/cdn/ZONUJ5CH.js +4 -0
- package/dist/cdn/ZP6GMUCW.js +4 -0
- package/dist/cdn/ZQWKZPL7.js +4 -0
- package/dist/cdn/ZR7DYRBL.js +4 -0
- package/dist/cdn/ZRWYNZS5.js +4 -0
- package/dist/cdn/ZSYWZJRC.js +4 -0
- package/dist/cdn/ZVFF7Q5T.js +4 -0
- package/dist/cdn/ZWJKDDQN.js +4 -0
- package/dist/cdn/ZX75NBEW.js +4 -0
- package/dist/cdn/ZXJ6YFFN.js +4 -0
- package/dist/cdn/ZZM3DH27.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.d.ts +2 -1
- package/dist/components/arcgis-layout/customElement.js +5 -1
- package/dist/components/arcgis-layout-column/customElement.d.ts +2 -2
- package/dist/components/arcgis-layout-column/customElement.js +2 -2
- package/dist/components/arcgis-layout-container/customElement.d.ts +2 -0
- package/dist/components/arcgis-layout-container/customElement.js +123 -121
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +6 -8
- 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 +39 -34
- 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 +31 -31
- package/dist/components/layouts/utils/findNodeById.d.ts +8 -0
- package/dist/components/layouts/utils/getAddableLayoutNodes.d.ts +1 -0
- package/dist/docs/api.json +56 -1
- package/dist/docs/docs.json +60 -1
- package/dist/docs/vscode.html-custom-data.json +2 -2
- package/dist/docs/web-types.json +13 -3
- package/dist/embed-config.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -0
- package/dist/types/preact.d.ts +1 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/stencil.d.ts +1 -0
- package/package.json +9 -10
- 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
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import{b as m}from"./OMECHPYK.js";import{h as p}from"./WUYPQKN5.js";import{b as r}from"./36U5YSO7.js";import"./AC4GFDLZ.js";import"./APTLLXJC.js";import"./MXZSNHQC.js";import"./SF7HWWFS.js";import"./JTOPCDC3.js";import"./HNWPMUM6.js";import{n as c}from"./2N74XZ6E.js";import"./OAERCPNT.js";import"./B7LTYEFM.js";import"./G6L7SR3Q.js";import"./M25MRPNV.js";import"./AJ45E4BU.js";import"./FOYVZHZK.js";import"./OAMLJQSJ.js";import"./3CXH2DSB.js";import"./KU52PEXV.js";import"./FLSBDOEF.js";import"./S55BGDHX.js";import"./VVVU2QG3.js";import"./6CYXNSJW.js";import"./BEG4UO2U.js";import"./DJMTBGD3.js";import"./IEGKMAR4.js";import"./FTL6QD3B.js";import"./WVTNKXWF.js";import"./UBBE3JVH.js";import"./3CFKE7UB.js";import"./DKE36R5M.js";import"./ASFROY2D.js";import"./SQK2A6TV.js";import"./L2VTDOFB.js";import"./HADXLWLX.js";import"./TWGRQKUU.js";import"./OI7FIIWI.js";import"./XD6BW5RF.js";import"./5MI5MIKU.js";import{k as s}from"./W6JRJ7LC.js";import"./V4PFAUUV.js";import"./4K4S3EVD.js";import"./ZX75NBEW.js";import"./5O6UMPJK.js";import"./5AHAIWP6.js";import"./5RYOZJE3.js";import"./ZINC3YJ2.js";import"./ABDYWJY7.js";import"./BTVZ2EYQ.js";import"./PRLP7RUI.js";import"./3BMGRGZE.js";import"./JQGAC2QV.js";import"./UZI5W2RF.js";import"./NNWZMV2T.js";import"./BDCG223O.js";import"./IKEMMKMQ.js";import"./3TK4DI33.js";import"./UH55HKKM.js";import"./4VTWY7RD.js";import"./AAELR64M.js";import"./CPGFUI6B.js";import"./HWTZW62T.js";import"./42OPNUMF.js";import"./26IVAQIJ.js";import"./7LON3SHO.js";import"./DOJ5M5IA.js";import"./NPZKUZMM.js";import"./WPGYHDOL.js";import"./YLB2BTXL.js";import"./TXSU4AJX.js";import"./QSJQA2JK.js";import"./YJZYJK4E.js";import{c as u,g as E}from"./WP52OYF5.js";import"./KVJMPCHB.js";import{a as n}from"./IK5ULE6G.js";import"./TUX6HFFQ.js";import{a as l}from"./JWXIKB6O.js";import"./2GHJUJDX.js";import"./ZR7DYRBL.js";import{b as e,c as h,d,e as a,i as y}from"./LEW5WFEM.js";import"./ADO6DCED.js";import"./DCMVD43A.js";import"./S2YHPNVL.js";import"./FO4OYX3H.js";import"./ZICCR6P7.js";import"./LW3GIMAC.js";import"./S3KHEJBV.js";import"./FNWGEHHB.js";import"./WHO5TMWB.js";import"./HBSBNZTF.js";import"./3F6E36WD.js";import"./XEBYDVWE.js";import"./SQPKSQ4W.js";import"./IFD5AZJT.js";import"./7SHUV3EE.js";export default $arcgis.t(([])=>{var g=":host{display:block;height:100%}.footer-container{display:flex;height:2rem;align-items:center;justify-content:flex-end}",b=g,f={discussion:"hub:discussion:settings:discussions",site:"hub:site:settings:discussions",content:"hub:content:settings:discussions",group:"hub:group:settings:discussions"},C=class{constructor(i){y(this,i),this.arcgisHubWorkspaceEntityChange=a(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=a(this,"hubTelemetry",7),this.handleEntityEditorChange=t=>{t.stopPropagation(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.values,isDirty:!0})},this.handleEntityEditorSaved=t=>{t.stopPropagation(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.entity,isDirty:!t.detail.isSuccess})},this.handleChannelEntitySaved=async t=>{t.stopPropagation();let{isSuccess:o}=t.detail;o&&(E({title:this.intl.t("successNoticeTitle"),configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:"Lorem ipsum"}}),this.channelEntity=null),await this.element.shadowRoot.querySelector("arcgis-hub-gallery").refresh()},this.handleChannelEntityEditorClosed=()=>{let t=this.channelEntity.canEdit?n.dictionary.category.interaction.action.close.label.modal.details.editChannel:n.dictionary.category.interaction.action.close.label.modal.details.viewChannel;this.hubTelemetry.emit(Object.assign(Object.assign({},t),{channelId:this.channelEntity.id,channelAccess:s(this.channelEntity.channel)})),this.channelEntity=null},this.entity=void 0,this.isMobile=!1,this.footerSlotEl=void 0,this.channelEntity=null}async componentWillLoad(){await this.loadTranslations()}get _context(){return u()}async handleGalleryLinkClick(i){i.stopPropagation();let{model:{id:t}}=i.detail;this.channelEntity=await c("channel",t,this._context);let o=this.channelEntity.canEdit?n.dictionary.category.interaction.action.open.label.modal.details.editChannel:n.dictionary.category.interaction.action.open.label.modal.details.viewChannel;this.hubTelemetry.emit(Object.assign(Object.assign({},o),{channelId:t,channelAccess:s(this.channelEntity.channel)}))}handleConfigurationFormClose(){this.channelEntity=null}async loadTranslations(){this.intl=await l.loadIntlForComponent(this.element)}get editorType(){let i=m(this.entity.type);return f[i]||null}get isValidEditorType(){return p.includes(this.editorType)}renderEntityEditor(){if(this.isValidEditorType&&this.footerSlotEl)return e("arcgis-hub-entity-editor",{editorType:this.editorType,entity:this.entity,footerSlotRef:this.footerSlotEl,onArcgisHubEntityEditorChange:this.handleEntityEditorChange,onArcgisHubEntityEditorSaved:this.handleEntityEditorSaved,variant:r.workspace})}renderFooter(){if(this.isValidEditorType)return e("div",{class:"footer-container",ref:i=>{this.footerSlotEl=i},slot:"footer"})}renderChannelEntityEditor(){if(this.channelEntity)return e("arcgis-hub-entity-editor",{editorType:"hub:channel:edit",entity:this.channelEntity,isDisabled:!this.channelEntity.canEdit,isOpen:!0,layout:"modal",modalTitle:this.channelEntity.canEdit?this.intl.t("editChannel"):this.intl.t("viewChannel"),onArcgisHubEntityEditorModalClosed:this.handleChannelEntityEditorClosed,onArcgisHubEntityEditorSaved:this.handleChannelEntitySaved,variant:r.workspace})}render(){return e(h,{key:"167c0d6dc02dd418753c701afaa2530f9425ca2b","data-element":"entity-discussions-settings-pane"},e("arcgis-hub-workspace-pane",{key:"d05c8c54dd599b8c24b6d41932c9324522358801",isMobile:this.isMobile,showHeader:!0,stickyFooter:!0},e("h1",{key:"07b6e632140ff267655a76e352596a68479d8e29",slot:"title"},this.intl.t("title")),this.renderEntityEditor(),this.renderFooter(),this.renderChannelEntityEditor()))}static get assetsDirs(){return["locales"]}get element(){return d(this)}};C.style=b;return C},"config")
|
|
@@ -0,0 +1,12 @@
|
|
|
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.2 */
|
|
4
|
+
import{a as ee}from"./ZINC3YJ2.js";import{a as D}from"./ABDYWJY7.js";import{l as te}from"./BTVZ2EYQ.js";import{a as B}from"./JQGAC2QV.js";import{a as G}from"./AAELR64M.js";import{b as W}from"./CPGFUI6B.js";import{a as x}from"./HWTZW62T.js";import{e as I,v as H}from"./42OPNUMF.js";import{d as j,e as Q,i as Y,k as K}from"./YLB2BTXL.js";import{h as S}from"./YJZYJK4E.js";import{a as w}from"./FNWGEHHB.js";import{c as z}from"./HBSBNZTF.js";import{a as v,g as X}from"./XEBYDVWE.js";import{a as $}from"./SQPKSQ4W.js";import{c as q}from"./IFD5AZJT.js";var R=class{constructor(){this.operations=[]}startOperation(t){let r=v(t);r.startedAt=new Date().getTime(),r.state="working",this.operations.push(r)}start(t,r){let n={type:t,id:w(r,"id",X(`${t}_`)),inputs:w(r,"inputs",{}),cleanup:w(r,"cleanup","n/a"),startedAt:new Date().getTime(),state:"working"};return this.operations.push(n),n.id}getOperation(t){return this.operations.find(r=>r.id===t)}getOperations(){return this.operations}finish(t,r){let n=this.getOperation(t);if(n)n.duration=new Date().getTime()-n.startedAt,n.state="completed",r&&(n.output=v(r));else throw new Error(`No operation with id ${t} present in stack`)}merge(t){this.operations=[...this.operations,...t.operations]}getCompleted(){return v(this.operations.filter(t=>t.state==="completed"))}getWorking(){return v(this.operations.filter(t=>t.state==="working"))}toString(){return this.operations.sort((r,n)=>r.startedAt<n.startedAt?-1:n.startedAt<r.startedAt?1:0).map(Ae).join(`
|
|
5
|
+
`)}serialize(){return{operations:v(this.getOperations())}}};function Ae(e){let t=`${e.startedAt} : Operation ${e.id} started with inputs ${JSON.stringify(e.inputs)} but was not completed`;return e.state==="completed"&&(t=`${e.startedAt} : Operation ${e.id} took ${e.duration} ms with inputs ${JSON.stringify(e.inputs)} and output ${e.output?JSON.stringify(e.output):"n/a"}`),t}function Oe(e){let{url:t}=e,r=q(e,["url"]),n=`${I(t)}/layers`;return S(n,r)}var ye=async(e,t)=>{let r;try{let n=typeof e=="string"?await j(e,t):e;if(n.url){let i=I(n.url);if(n.access!=="public"&&t.authentication){let c=await t.authentication.getToken(n.url,t);c&&(i=`${i}?token=${c}`)}r=(await S(i,Object.assign(Object.assign({},t),{rawResponse:!0,httpMethod:"GET"}))).status!==200}else r=!0}catch{r=!0}return r};function Te(e,t){let r=$(t,"portal")||$(t,"authentication.portal")||"www.arcgis.com";r=r.split("/sharing/rest")[0];let n=`${G(r)}/sharing/rest`;return W(e,Object.assign(Object.assign({},t),{portal:n}))}var ve=e=>t=>e.reduce((r,n)=>r.then(n).catch(i=>{if(i.name==="OperationError")return Promise.reject(i);{let s=`IPipeableFn did not reject with an OperationError
|
|
6
|
+
Operation Stack:
|
|
7
|
+
${t.stack.toString()}`,c=new D("pipeline execution error",s);return c.operationStack=t.stack.serialize(),Promise.reject(c)}}),Promise.resolve(t)),fe={},de={},m={};(function(e){let t=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r=t+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",n="["+t+"]["+r+"]*",i=new RegExp("^"+n+"$"),s=function(a,o){let l=[],f=o.exec(a);for(;f;){let u=[];u.startIndex=o.lastIndex-f[0].length;let h=f.length;for(let p=0;p<h;p++)u.push(f[p]);l.push(u),f=o.exec(a)}return l},c=function(a){let o=i.exec(a);return!(o===null||typeof o>"u")};e.isExist=function(a){return typeof a<"u"},e.isEmptyObject=function(a){return Object.keys(a).length===0},e.merge=function(a,o,l){if(o){let f=Object.keys(o),u=f.length;for(let h=0;h<u;h++)l==="strict"?a[f[h]]=[o[f[h]]]:a[f[h]]=o[f[h]]}},e.getValue=function(a){return e.isExist(a)?a:""},e.buildOptions=function(a,o,l){let f={};if(!a)return o;for(let u=0;u<l.length;u++)a[l[u]]!==void 0?f[l[u]]=a[l[u]]:f[l[u]]=o[l[u]];return f},e.isTagNameInArrayMode=function(a,o,l){return o===!1?!1:o instanceof RegExp?o.test(a):typeof o=="function"?!!o(a,l):o==="strict"},e.isName=c,e.getAllMatches=s,e.nameRegexp=n})(m);var A=m,U=function(e,t,r){let n={};if(!t.alwaysCreateTextNode&&(!e.child||A.isEmptyObject(e.child))&&(!e.attrsMap||A.isEmptyObject(e.attrsMap)))return A.isExist(e.val)?e.val:"";if(A.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let s=A.isTagNameInArrayMode(e.tagname,t.arrayMode,r);n[t.textNodeName]=s?[e.val]:e.val}A.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let s=0;s<i.length;s++){let c=i[s];if(e.child[c]&&e.child[c].length>1){n[c]=[];for(let a in e.child[c])e.child[c].hasOwnProperty(a)&&n[c].push(U(e.child[c][a],t,c))}else{let a=U(e.child[c][0],t,c),o=t.arrayMode===!0&&typeof a=="object"||A.isTagNameInArrayMode(c,t.arrayMode,r);n[c]=o?[a]:a}}return n};de.convertToJson=U;var y={},Ce=function(e,t,r){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=r,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}},Pe=/^[-+]?0x[a-fA-F0-9]+$/,we=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var Ie={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Ee(e,t={}){if(t=Object.assign({},Ie,t),!e||typeof e!="string")return e;let r=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(r))return e;if(t.hex&&Pe.test(r))return Number.parseInt(r,16);{let n=we.exec(r);if(n){let i=n[1],s=n[2],c=Ve(n[3]),a=n[4]||n[6];if(!t.leadingZeros&&s.length>0&&i&&r[2]!==".")return e;if(!t.leadingZeros&&s.length>0&&!i&&r[1]!==".")return e;{let o=Number(r),l=""+o;return l.search(/[eE]/)!==-1||a?t.eNotation?o:e:r.indexOf(".")!==-1?l==="0"&&c===""||l===c||i&&l==="-"+c?o:e:s?c===l||i+c===l?o:e:r===l||r===i+l?o:e}}else return e}}function Ve(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}var ke=Ee,O=m,Fe=m.buildOptions,E=Ce,Me=ke;"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,O.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var he={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};y.defaultOptions=he;var ge=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];y.props=ge;function V(e,t,r){return t&&(r.trimValues&&(t=t.trim()),t=r.tagValueProcessor(t,e),t=pe(t,r.parseNodeValue,r.numParseOptions)),t}function $e(e,t){if(t.ignoreNameSpace){let r=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(r[0]==="xmlns")return"";r.length===2&&(e=n+r[1])}return e}function pe(e,t,r){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:Me(e,r)}else return O.isExist(e)?e:""}var Se=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function re(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let r=O.getAllMatches(e,Se),n=r.length,i={};for(let s=0;s<n;s++){let c=$e(r[s][1],t);c.length&&(r[s][4]!==void 0?(t.trimValues&&(r[s][4]=r[s][4].trim()),r[s][4]=t.attrValueProcessor(r[s][4],c),i[t.attributeNamePrefix+c]=pe(r[s][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+c]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let s={};return s[t.attrNodeName]=i,s}return i}}var je=function(e,t){e=e.replace(/\r\n?/g,`
|
|
8
|
+
`),t=Fe(t,he,ge);let r=new E("!xml"),n=r,i="";for(let s=0;s<e.length;s++)if(e[s]==="<")if(e[s+1]==="/"){let a=C(e,">",s,"Closing Tag is not closed."),o=e.substring(s+2,a).trim();if(t.ignoreNameSpace){let l=o.indexOf(":");l!==-1&&(o=o.substr(l+1))}n&&(n.val?n.val=O.getValue(n.val)+""+V(o,i,t):n.val=V(o,i,t)),t.stopNodes.length&&t.stopNodes.includes(n.tagname)&&(n.child=[],n.attrsMap==null&&(n.attrsMap={}),n.val=e.substr(n.startIndex+1,s-n.startIndex-1)),n=n.parent,i="",s=a}else if(e[s+1]==="?")s=C(e,"?>",s,"Pi Tag is not closed.");else if(e.substr(s+1,3)==="!--")s=C(e,"-->",s,"Comment is not closed.");else if(e.substr(s+1,2)==="!D"){let a=C(e,">",s,"DOCTYPE is not closed.");e.substring(s,a).indexOf("[")>=0?s=e.indexOf("]>",s)+1:s=a}else if(e.substr(s+1,2)==="!["){let a=C(e,"]]>",s,"CDATA is not closed.")-2,o=e.substring(s+9,a);if(i&&(n.val=O.getValue(n.val)+""+V(n.tagname,i,t),i=""),t.cdataTagName){let l=new E(t.cdataTagName,n,o);n.addChild(l),n.val=O.getValue(n.val)+t.cdataPositionChar,o&&(l.val=o)}else n.val=(n.val||"")+(o||"");s=a+2}else{let a=Be(e,s+1),o=a.data,l=a.index,f=o.indexOf(" "),u=o,h=!0;if(f!==-1&&(u=o.substr(0,f).replace(/\s\s*$/,""),o=o.substr(f+1)),t.ignoreNameSpace){let p=u.indexOf(":");p!==-1&&(u=u.substr(p+1),h=u!==a.data.substr(p+1))}if(n&&i&&n.tagname!=="!xml"&&(n.val=O.getValue(n.val)+""+V(n.tagname,i,t)),o.length>0&&o.lastIndexOf("/")===o.length-1){u[u.length-1]==="/"?(u=u.substr(0,u.length-1),o=u):o=o.substr(0,o.length-1);let p=new E(u,n,"");u!==o&&(p.attrsMap=re(o,t)),n.addChild(p)}else{let p=new E(u,n);t.stopNodes.length&&t.stopNodes.includes(p.tagname)&&(p.startIndex=l),u!==o&&h&&(p.attrsMap=re(o,t)),n.addChild(p),n=p}i="",s=l}else i+=e[s];return r};function Be(e,t){let r,n="";for(let i=t;i<e.length;i++){let s=e[i];if(r)s===r&&(r="");else if(s==='"'||s==="'")r=s;else{if(s===">")return{data:n,index:i};s===" "&&(s=" ")}n+=s}}function C(e,t,r,n){let i=e.indexOf(t,r);if(i===-1)throw new Error(n);return i+t.length-1}y.getTraversalObj=je;var be={},M=m,Je={allowBooleanAttributes:!1},Le=["allowBooleanAttributes"];be.validate=function(e,t){t=M.buildOptions(t,Je,Le);let r=[],n=!1,i=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let s=0;s<e.length;s++)if(e[s]==="<"&&e[s+1]==="?"){if(s+=2,s=ne(e,s),s.err)return s}else if(e[s]==="<"){let c=s;if(s++,e[s]==="!"){s=se(e,s);continue}else{let a=!1;e[s]==="/"&&(a=!0,s++);let o="";for(;s<e.length&&e[s]!==">"&&e[s]!==" "&&e[s]!==" "&&e[s]!==`
|
|
9
|
+
`&&e[s]!=="\r";s++)o+=e[s];if(o=o.trim(),o[o.length-1]==="/"&&(o=o.substring(0,o.length-1),s--),!Ge(o)){let u;return o.trim().length===0?u="Invalid space after '<'.":u="Tag '"+o+"' is an invalid name.",g("InvalidTag",u,b(e,s))}let l=_e(e,s);if(l===!1)return g("InvalidAttr","Attributes for '"+o+"' have open quote.",b(e,s));let f=l.value;if(s=l.index,f[f.length-1]==="/"){let u=s-f.length;f=f.substring(0,f.length-1);let h=ie(f,t);if(h===!0)n=!0;else return g(h.err.code,h.err.msg,b(e,u+h.err.line))}else if(a)if(l.tagClosed){if(f.trim().length>0)return g("InvalidTag","Closing tag '"+o+"' can't have attributes or invalid starting.",b(e,c));{let u=r.pop();if(o!==u.tagName){let h=b(e,u.tagStartPos);return g("InvalidTag","Expected closing tag '"+u.tagName+"' (opened in line "+h.line+", col "+h.col+") instead of closing tag '"+o+"'.",b(e,c))}r.length==0&&(i=!0)}}else return g("InvalidTag","Closing tag '"+o+"' doesn't have proper closing.",b(e,s));else{let u=ie(f,t);if(u!==!0)return g(u.err.code,u.err.msg,b(e,s-f.length+u.err.line));if(i===!0)return g("InvalidXml","Multiple possible root nodes found.",b(e,s));r.push({tagName:o,tagStartPos:c}),n=!0}for(s++;s<e.length;s++)if(e[s]==="<")if(e[s+1]==="!"){s++,s=se(e,s);continue}else if(e[s+1]==="?"){if(s=ne(e,++s),s.err)return s}else break;else if(e[s]==="&"){let u=Xe(e,s);if(u==-1)return g("InvalidChar","char '&' is not expected.",b(e,s));s=u}e[s]==="<"&&s--}}else{if(e[s]===" "||e[s]===" "||e[s]===`
|
|
10
|
+
`||e[s]==="\r")continue;return g("InvalidChar","char '"+e[s]+"' is not expected.",b(e,s))}if(n){if(r.length==1)return g("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",b(e,r[0].tagStartPos));if(r.length>0)return g("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return g("InvalidXml","Start tag expected.",1);return!0};function ne(e,t){let r=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){let n=e.substr(r,t-r);if(t>5&&n==="xml")return g("InvalidXml","XML declaration allowed only at the start of the document.",b(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function se(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let r=1;for(t+=8;t<e.length;t++)if(e[t]==="<")r++;else if(e[t]===">"&&(r--,r===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}var Re='"',Ue="'";function _e(e,t){let r="",n="",i=!1;for(;t<e.length;t++){if(e[t]===Re||e[t]===Ue)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){i=!0;break}r+=e[t]}return n!==""?!1:{value:r,index:t,tagClosed:i}}var Ze=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function ie(e,t){let r=M.getAllMatches(e,Ze),n={};for(let i=0;i<r.length;i++){if(r[i][1].length===0)return g("InvalidAttr","Attribute '"+r[i][2]+"' has no space in starting.",k(r[i]));if(r[i][3]===void 0&&!t.allowBooleanAttributes)return g("InvalidAttr","boolean attribute '"+r[i][2]+"' is not allowed.",k(r[i]));let s=r[i][2];if(!xe(s))return g("InvalidAttr","Attribute '"+s+"' is an invalid name.",k(r[i]));if(!n.hasOwnProperty(s))n[s]=1;else return g("InvalidAttr","Attribute '"+s+"' is repeated.",k(r[i]))}return!0}function qe(e,t){let r=/\d/;for(e[t]==="x"&&(t++,r=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(r))break}return-1}function Xe(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,qe(e,t);let r=0;for(;t<e.length;t++,r++)if(!(e[t].match(/\w/)&&r<20)){if(e[t]===";")break;return-1}return t}function g(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function xe(e){return M.isName(e)}function Ge(e){return M.isName(e)}function b(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function k(e){return e.startIndex+e[1].length}var Ne={},N=function(e){return String.fromCharCode(e)},d={nilChar:N(176),missingChar:N(201),nilPremitive:N(175),missingPremitive:N(200),emptyChar:N(178),emptyValue:N(177),boundryChar:N(179),objStart:N(198),arrStart:N(204),arrayEnd:N(185)},We=[d.nilChar,d.nilPremitive,d.missingChar,d.missingPremitive,d.boundryChar,d.emptyChar,d.emptyValue,d.arrayEnd,d.objStart,d.arrStart],P=function(e,t,r){if(typeof t=="string")return e&&e[0]&&e[0].val!==void 0?J(e[0].val):J(e);{let n=ze(e);if(n===!0){let i="";if(Array.isArray(t)){i+=d.arrStart;let s=t[0],c=e.length;if(typeof s=="string")for(let a=0;a<c;a++){let o=J(e[a].val);i=L(i,o)}else for(let a=0;a<c;a++){let o=P(e[a],s,r);i=L(i,o)}i+=d.arrayEnd}else{i+=d.objStart;let s=Object.keys(t);Array.isArray(e)&&(e=e[0]);for(let c in s){let a=s[c],o;!r.ignoreAttributes&&e.attrsMap&&e.attrsMap[a]?o=P(e.attrsMap[a],t[a],r):a===r.textNodeName?o=P(e.val,t[a],r):o=P(e.child[a],t[a],r),i=L(i,o)}}return i}else return n}},J=function(e){switch(e){case void 0:return d.missingPremitive;case null:return d.nilPremitive;case"":return d.emptyValue;default:return e}},L=function(e,t){return!ae(t[0])&&!ae(e[e.length-1])&&(e+=d.boundryChar),e+t},ae=function(e){return We.indexOf(e)!==-1};function ze(e){return e===void 0?d.missingChar:e===null?d.nilChar:e.child&&Object.keys(e.child).length===0&&(!e.attrsMap||Object.keys(e.attrsMap).length===0)?d.emptyChar:!0}var oe=y,He=m.buildOptions,Qe=function(e,t,r){return r=He(r,oe.defaultOptions,oe.props),P(e,t,r)};Ne.convert2nimn=Qe;var me={},F=m,Ye=m.buildOptions,ce=y,Ke=function(e,t){return t=Ye(t,ce.defaultOptions,ce.props),t.indentBy=t.indentBy||"",_(e,t)},_=function(e,t,r){let n="{",i=Object.keys(e.child);for(let s=0;s<i.length;s++){let c=i[s];if(e.child[c]&&e.child[c].length>1){n+='"'+c+'" : [ ';for(let a in e.child[c])n+=_(e.child[c][a],t)+" , ";n=n.substr(0,n.length-1)+" ] "}else n+='"'+c+'" : '+_(e.child[c][0],t)+" ,"}return F.merge(n,e.attrsMap),F.isEmptyObject(n)?F.isExist(e.val)?e.val:"":(F.isExist(e.val)&&(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar)||(n+='"'+t.textNodeName+'" : '+De(e.val))),n[n.length-1]===","&&(n=n.substr(0,n.length-2)),n+"}")};function De(e){return e===!0||e===!1||!isNaN(e)?e:'"'+e+'"'}me.convertToJsonString=Ke;var et=m.buildOptions,tt={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},rt=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function Z(e){this.options=et(e,tt,rt),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=ut),this.options.cdataTagName?this.isCDATA=lt:this.isCDATA=function(){return!1},this.replaceCDATAstr=st,this.replaceCDATAarr=it,this.processTextOrObjNode=nt,this.options.format?(this.indentate=ct,this.tagEndChar=`>
|
|
11
|
+
`,this.newLine=`
|
|
12
|
+
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""),this.options.supressEmptyNode?(this.buildTextNode=ot,this.buildObjNode=at):(this.buildTextNode=le,this.buildObjNode=ue),this.buildTextValNode=le,this.buildObjectNode=ue}Z.prototype.parse=function(e){return Array.isArray(e)&&this.options.rootNodeName&&this.options.rootNodeName.length>1&&(e={[this.options.rootNodeName]:e}),this.j2x(e,0).val};Z.prototype.j2x=function(e,t){let r="",n="";for(let i in e)if(!(typeof e[i]>"u"))if(e[i]===null)n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)n+=this.buildTextNode(e[i],i,"",t);else if(typeof e[i]!="object"){let s=this.isAttribute(i);s?r+=" "+s+'="'+this.options.attrValueProcessor(""+e[i])+'"':this.isCDATA(i)?e[this.options.textNodeName]?n+=this.replaceCDATAstr(e[this.options.textNodeName],e[i]):n+=this.replaceCDATAstr("",e[i]):i===this.options.textNodeName?e[this.options.cdataTagName]||(n+=this.options.tagValueProcessor(""+e[i])):n+=this.buildTextNode(e[i],i,"",t)}else if(Array.isArray(e[i]))if(this.isCDATA(i))n+=this.indentate(t),e[this.options.textNodeName]?n+=this.replaceCDATAarr(e[this.options.textNodeName],e[i]):n+=this.replaceCDATAarr("",e[i]);else{let s=e[i].length;for(let c=0;c<s;c++){let a=e[i][c];typeof a>"u"||(a===null?n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar:typeof a=="object"?n+=this.processTextOrObjNode(a,i,t):n+=this.buildTextNode(a,i,"",t))}}else if(this.options.attrNodeName&&i===this.options.attrNodeName){let s=Object.keys(e[i]),c=s.length;for(let a=0;a<c;a++)r+=" "+s[a]+'="'+this.options.attrValueProcessor(""+e[i][s[a]])+'"'}else n+=this.processTextOrObjNode(e[i],i,t);return{attrStr:r,val:n}};function nt(e,t,r){let n=this.j2x(e,r+1);return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextNode(n.val,t,n.attrStr,r):this.buildObjNode(n.val,t,n.attrStr,r)}function st(e,t){return e=this.options.tagValueProcessor(""+e),this.options.cdataPositionChar===""||e===""?e+"<![CDATA["+t+"]]"+this.tagEndChar:e.replace(this.options.cdataPositionChar,"<![CDATA["+t+"]]"+this.tagEndChar)}function it(e,t){if(e=this.options.tagValueProcessor(""+e),this.options.cdataPositionChar===""||e==="")return e+"<![CDATA["+t.join("]]><![CDATA[")+"]]"+this.tagEndChar;for(let r in t)e=e.replace(this.options.cdataPositionChar,"<![CDATA["+t[r]+"]]>");return e+this.newLine}function ue(e,t,r,n){return r&&e.indexOf("<")===-1?this.indentate(n)+"<"+t+r+">"+e+"</"+t+this.tagEndChar:this.indentate(n)+"<"+t+r+this.tagEndChar+e+this.indentate(n)+"</"+t+this.tagEndChar}function at(e,t,r,n){return e!==""?this.buildObjectNode(e,t,r,n):this.indentate(n)+"<"+t+r+"/"+this.tagEndChar}function le(e,t,r,n){return this.indentate(n)+"<"+t+r+">"+this.options.tagValueProcessor(e)+"</"+t+this.tagEndChar}function ot(e,t,r,n){return e!==""?this.buildTextValNode(e,t,r,n):this.indentate(n)+"<"+t+r+"/"+this.tagEndChar}function ct(e){return this.options.indentBy.repeat(e)}function ut(e){return e.startsWith(this.options.attributeNamePrefix)?e.substr(this.attrPrefixLen):!1}function lt(e){return e===this.options.cdataTagName}var ft=Z;(function(e){let t=de,r=y,n=y,i=m.buildOptions,s=be;e.parse=function(c,a={},o){if(o){o===!0&&(o={});let u=s.validate(c,o);if(u!==!0)throw Error(u.err.msg)}a.parseTrueNumberOnly&&a.parseNodeValue!==!1&&!a.numParseOptions&&(a.numParseOptions={leadingZeros:!1});let l=i(a,n.defaultOptions,n.props),f=r.getTraversalObj(c,l);return t.convertToJson(f,l)},e.convertTonimn=Ne.convert2nimn,e.getTraversalObj=r.getTraversalObj,e.convertToJson=t.convertToJson,e.convertToJsonString=me.convertToJsonString,e.validate=s.validate,e.j2xParser=ft,e.parseToNimn=function(c,a,o){return e.convertTonimn(e.getTraversalObj(c,o),a,o)}})(fe);async function dt(e){let t={ignoreAttributes:!1,attributeNamePrefix:"@_",textNodeName:"#value"};return Promise.resolve(fe.parse(e,t))}async function ht(e,t){try{let r=await K(e,t);return await dt(r)}catch{return null}}var gt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichGroupIds");return Y(t.item.id,n).then(s=>{let{admin:c,member:a,other:o}=s,l=[...c,...a,...o].map(f=>f.id);return r.finish(i),{data:Object.assign(Object.assign({},t),{groupIds:l}),stack:r,requestOptions:n}}).catch(s=>T(s,e,i))},pt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichMetadata");return ht(t.item.id,n).then(s=>(r.finish(i),{data:Object.assign(Object.assign({},t),{metadata:s}),stack:r,requestOptions:n}))},bt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichOwner"),s=Object.assign({username:t.item.owner},n);return x(s).then(c=>(r.finish(i),{data:Object.assign(Object.assign({},t),{ownerUser:c}),stack:r,requestOptions:n})).catch(c=>T(c,e,i))},Nt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichOrg"),s=H(t.item,t.ownerUser);return(s?Te(s,n):Promise.resolve(void 0)).then(a=>(r.finish(i),{data:Object.assign(Object.assign({},t),{org:a}),stack:r,requestOptions:n})).catch(a=>T(a,e,i))},mt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichData");return Q(t.item.id,n).then(s=>(r.finish(i),{data:Object.assign(Object.assign({},t),{data:s}),stack:r,requestOptions:n})).catch(s=>T(s,e,i))},At=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichData");return j(t.item.id,n).then(s=>(r.finish(i),{data:Object.assign(Object.assign({},t),{item:s}),stack:r,requestOptions:n})).catch(s=>T(s,e,i))},Ot=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichServer"),s=I(t.item.url),c=Object.assign(Object.assign({},n),{url:s});return Promise.all([ee(c),ye(t.item,n)]).then(([a,o])=>(r.finish(i),{data:Object.assign(Object.assign({},t),{server:Object.assign(Object.assign({},a),{servicesDirectoryDisabled:o})}),stack:r,requestOptions:n})).catch(a=>T(a,e,i))},yt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichLayers"),s=t.item.url,c=Object.assign(Object.assign({},n),{url:s});return Oe(c).then(a=>[...a.layers,...a.tables].filter(l=>l.type!=="Group Layer")).then(a=>(r.finish(i),{data:Object.assign(Object.assign({},t),{layers:a}),stack:r,requestOptions:n})).catch(a=>T(a,e,i))},T=(e,t,r)=>{let{data:n,stack:i,requestOptions:s}=t;return i.finish(r,{error:e}),{data:Object.assign(Object.assign({},n),{errors:vt(e,n.errors)}),stack:i,requestOptions:s}},Tt={groupIds:gt,metadata:pt,ownerUser:bt,org:Nt,data:mt,server:Ot,layers:yt,item:At},vt=(e,t=[])=>{let r=typeof e=="string"?e:e.message;return[...t,{type:"Other",message:r}]},Rt=(e,t,r)=>{let n=t.reduce((s,c)=>{let a=Tt[c];return a&&s.push(a),s},[]);return ve(n)({data:{item:e},stack:new R,requestOptions:r}).then(s=>s.data)},Ut=e=>{let t=te(e),r=z(t),n=["template","solution"],i=["Web Map","Web Scene","Feature Service","Discussion","Hub Initiative","Hub Page","Hub Project"];return B(n,r)||B(i,t)};export{R as a,ye as b,Te as c,ve as d,vt as e,Rt as f,Ut as g};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import"./7SHUV3EE.js";var a={chart:"Grafikon",barChart:"Trakasti grafikon",lineChart:"Linijski grafikon",pieChart:"Kru\u017Eni grafikon",histogram:"Histogram",scatterplot:"Grafikon",boxPlot:"Kvadratni grafikon"},i={mean:"Sredina",median:"Medijana",sum:"Zbir",discretePercentile:"Diskretni percentil",minimum:"Minimum",maximum:"Maksimum",variance:"Odstupanje",count:"Broj",aggregation:"${ statistics } od ${ fieldName }",noAggregation:"Nema grupisanja"},t="Grafikon",e="Broj serija",r="X-osa",s="Nije dostupno",n={start:"Zaka\u010Di za prvu ta\u010Dku podataka",end:"Zaka\u010Di za zadnju ta\u010Dku podataka"},o={chartType:a,statistics:i,defaultTitle:t,countSeries:e,xAxis:r,notAvailable:s,timeAggregationTypes:n};export{a as chartType,e as countSeries,o as default,t as defaultTitle,s as notAvailable,i as statistics,n as timeAggregationTypes,r as xAxis};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import{e as n}from"./VPYCKLQ3.js";import{n as e}from"./2N74XZ6E.js";import"./OAERCPNT.js";import"./B7LTYEFM.js";import"./G6L7SR3Q.js";import"./M25MRPNV.js";import"./AJ45E4BU.js";import"./FOYVZHZK.js";import"./OAMLJQSJ.js";import"./3CXH2DSB.js";import"./KU52PEXV.js";import"./FLSBDOEF.js";import"./S55BGDHX.js";import"./VVVU2QG3.js";import"./6CYXNSJW.js";import"./BEG4UO2U.js";import"./DJMTBGD3.js";import"./IEGKMAR4.js";import"./FTL6QD3B.js";import"./WVTNKXWF.js";import"./UBBE3JVH.js";import"./3CFKE7UB.js";import"./DKE36R5M.js";import"./ASFROY2D.js";import"./SQK2A6TV.js";import"./L2VTDOFB.js";import"./HADXLWLX.js";import"./TWGRQKUU.js";import{y as r}from"./OI7FIIWI.js";import"./XD6BW5RF.js";import"./5MI5MIKU.js";import"./W6JRJ7LC.js";import"./V4PFAUUV.js";import"./4K4S3EVD.js";import"./ZX75NBEW.js";import"./5O6UMPJK.js";import"./5AHAIWP6.js";import"./5RYOZJE3.js";import"./ZINC3YJ2.js";import"./ABDYWJY7.js";import"./BTVZ2EYQ.js";import"./PRLP7RUI.js";import"./3BMGRGZE.js";import"./JQGAC2QV.js";import"./IY43H25W.js";import"./G3JF22H2.js";import"./FJK2GVLD.js";import"./4OBYPH4J.js";import"./UZI5W2RF.js";import"./NNWZMV2T.js";import"./BDCG223O.js";import"./IKEMMKMQ.js";import"./3TK4DI33.js";import"./UH55HKKM.js";import"./4VTWY7RD.js";import"./AAELR64M.js";import"./CPGFUI6B.js";import"./HWTZW62T.js";import"./42OPNUMF.js";import"./26IVAQIJ.js";import"./7LON3SHO.js";import"./DOJ5M5IA.js";import"./NPZKUZMM.js";import"./WPGYHDOL.js";import"./YLB2BTXL.js";import"./TXSU4AJX.js";import"./QSJQA2JK.js";import"./YJZYJK4E.js";import{c as m}from"./WP52OYF5.js";import"./KVJMPCHB.js";import"./IK5ULE6G.js";import"./TUX6HFFQ.js";import{b as t,c as s,h as o,i as p}from"./LEW5WFEM.js";import"./ADO6DCED.js";import"./DCMVD43A.js";import"./S2YHPNVL.js";import"./FO4OYX3H.js";import"./ZICCR6P7.js";import"./LW3GIMAC.js";import"./S3KHEJBV.js";import"./FNWGEHHB.js";import"./WHO5TMWB.js";import"./HBSBNZTF.js";import"./3F6E36WD.js";import"./XEBYDVWE.js";import"./SQPKSQ4W.js";import"./IFD5AZJT.js";import"./7SHUV3EE.js";var a=":host{display:block}",l=a,c=class{constructor(i){p(this,i),this.entity=void 0,this.identifier="",this.domain="",this.view="browse",this.collection=void 0,this.type=void 0,this.loading=!0}get _context(){return m()}async onIdentifierChange(){await this.loadEntity()}async onDomainChange(){this.loadDomain()}onCollectionSelected(i){this.collection=i.detail,this.view="collection"}async loadDomain(){let i=await r(this.domain,this._context.hubRequestOptions);i&&(this.type="site",this.identifier=i.siteId,await this.loadEntity())}async loadEntity(){this.loading=!0,this.type&&this.identifier&&this._context&&(this.entity=await e(this.type,this.identifier,this._context),this.entity&&this.entity.catalog?this.entity.content={enabled:!0,catalog:this.entity.catalog}:console.info(`No catalog found for ${this.identifier}`),this.loading=!1)}componentWillLoad(){this.entity?this.loading=!1:(this.domain&&this._context&&this.onDomainChange(),!this.entity&&this._context&&this.identifier&&this.type&&this.loadEntity())}get query(){let i=this.entity.content.catalog;return n.fromJson(i,this._context).getCollectionJson(this.collection).scope}renderLoading(){return t("div",null,"Loading...")}renderGallery(){return t(o,null,t("h2",null,"Search ",this.collection," collection"),t("arcgis-hub-gallery",{layout:"grid",limit:12,query:this.query,showBackToTopBtn:!0,showLayoutSwitcher:!0,showMoreResultsBtn:!0,showResultsCount:!0,showSearch:!0,showSort:!0}))}renderBrowse(){return t(o,null,t("arcgis-hub-browse-collections",{capability:"content",entity:this.entity}))}renderContent(){return t(o,null,this.view==="collection"?this.renderGallery():this.renderBrowse())}render(){return t(s,{key:"2b72c870c501d8f68fc868d632c0ed8c31382069","data-element":"browse-collections-wrapper"},this.loading?this.renderLoading():this.renderContent())}static get watchers(){return{type:["onIdentifierChange"],identifier:["onIdentifierChange"],domain:["onDomainChange"]}}};c.style=l;export{c as arcgis_hub_browse_collections_wrapper};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import"./7SHUV3EE.js";var t={chart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34",barChart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E41\u0E17\u0E48\u0E07",lineChart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E40\u0E2A\u0E49\u0E19",pieChart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E17\u0E23\u0E07\u0E01\u0E25\u0E21",histogram:"\u0E2E\u0E35\u0E2A\u0E42\u0E15\u0E41\u0E01\u0E23\u0E21",scatterplot:"\u0E1E\u0E25\u0E47\u0E2D\u0E15\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22",boxPlot:"\u0E1E\u0E25\u0E47\u0E2D\u0E15\u0E41\u0E1A\u0E1A\u0E01\u0E25\u0E48\u0E2D\u0E07"},a={mean:"\u0E04\u0E48\u0E32\u0E40\u0E09\u0E25\u0E35\u0E48\u0E22",median:"\u0E04\u0E48\u0E32\u0E21\u0E31\u0E18\u0E22\u0E10\u0E32\u0E19",sum:"\u0E23\u0E27\u0E21",discretePercentile:"\u0E40\u0E1B\u0E2D\u0E23\u0E4C\u0E40\u0E0B\u0E19\u0E44\u0E17\u0E25\u0E4C\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E15\u0E48\u0E2D\u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07",minimum:"\u0E19\u0E49\u0E2D\u0E22\u0E2A\u0E38\u0E14",maximum:"\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14",variance:"\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1B\u0E23\u0E1B\u0E23\u0E27\u0E19",count:"\u0E19\u0E31\u0E1A",aggregation:"${ statistics } \u0E08\u0E32\u0E01 ${ fieldName }",noAggregation:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E01\u0E32\u0E23\u0E23\u0E27\u0E21"},e="\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34",i="\u0E19\u0E31\u0E1A\u0E0B\u0E35\u0E23\u0E35\u0E2A\u0E4C",s="(\u0E41\u0E01\u0E19 x)",r="\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E43\u0E0A\u0E49\u0E44\u0E14\u0E49",n={start:"\u0E2A\u0E41\u0E19\u0E47\u0E1B\u0E40\u0E02\u0E49\u0E32\u0E01\u0E31\u0E1A\u0E08\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E41\u0E23\u0E01",end:"\u0E2A\u0E41\u0E19\u0E47\u0E1B\u0E40\u0E02\u0E49\u0E32\u0E01\u0E31\u0E1A\u0E08\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2A\u0E38\u0E14\u0E17\u0E49\u0E32\u0E22"},o={chartType:t,statistics:a,defaultTitle:e,countSeries:i,xAxis:s,notAvailable:r,timeAggregationTypes:n};export{t as chartType,i as countSeries,o as default,e as defaultTitle,r as notAvailable,a as statistics,n as timeAggregationTypes,s as xAxis};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import{da as v}from"./IEGKMAR4.js";import{c as y}from"./NPZKUZMM.js";import{h as p}from"./YJZYJK4E.js";import{a as g}from"./6QTUTY62.js";import{a as C}from"./3F6E36WD.js";import{s as b}from"./XEBYDVWE.js";async function O(e,t){let o=`${t.portal}/portals/${e}/categorySchema`;try{let{categorySchema:n}=await p(o,t);return w(n[0].categories,"/Categories")}catch{return[]}}function w(e,t){return e.reduce((o,n)=>{let a=`${t}/${n.title}`;return o.push(a),n.categories&&n.categories.length>0&&o.push(...w(n.categories,a)),o},[])}function h(e){return $(e)||f(e)}function $(e){return e.startsWith("/Categories")}function f(e){return e.startsWith("/categories")}async function E(e,t){var o;let s=(o=(await v(e,{num:1,include:[],requestOptions:t,aggLimit:200,httpMethod:"POST",aggFields:["categories"]})).aggregations)===null||o===void 0?void 0:o.find(i=>i.field==="categories");if(!s)throw new Error("No categories aggregation found while calculating categories for query");return s.values.map(i=>i.value).filter(i=>h(i))}function P(e){let t=e.filter(i=>!h(i));if(t.length)throw new Error(`Invalid categories found: ${t.join(", ")}`);let o=e.every(f),n=e.every($);if(!o&&!n)throw new Error("All categories must have the same prefix ('/categories/' or '/Categories/')");let a=T(e),s={label:"root",children:{},value:null};return[...e,...a].forEach(i=>{let r=i.slice(1).split("/");z(s,i,r)}),Object.values(s.children)[0]}function T(e){let t=[],o={};return e.forEach(n=>{n.slice(1).split("/").reduce((s,i)=>{let r=`${s}/${i}`;return o[r]||(o[r]=!0,e.find(c=>c===r)||t.push(r)),r},"")}),t}var z=(e,t,o)=>{if(o.length){let n=o.shift(),a=e.children[n]||{label:n,children:{},value:null};e.children[n]=a,z(a,t,o)}else{let n=t.split("/").pop();e.label=f(t)?b(n):n,e.value=t}};async function V(e){let t=e.source==="org"?await O(e.context.portal.id,e.context.hubRequestOptions):await E(e.query,e.context.hubRequestOptions),o=(e.currentValues||[]).filter(l=>!t.includes(l)),n=[],a=[];o.forEach(l=>{h(l)?n.push(l):a.push(l)});let s=S(t),i=S(n),u=[...I(a),...i],c=e.i18nScope||"shared.fields.categories",d={control:"hub-field-input-combobox",allowCustomValues:!1,placeholder:`{{${c}.placeholder:translate}}`,selectionDisplay:"fit",selectionMode:"multiple"};d.groups=[!!u.length&&{label:`{{${c}.unrecognizedCategoriesGroup.label:translate}}`,items:u},!!s.length&&{label:`{{${c}.recognizedCategoriesGroup.label:translate}}`,items:s}].filter(Boolean);let m=!s.length&&!u.length;return[{labelKey:`${c}.label`,scope:e.elementScope||"/properties/categories",type:"Control",options:d,rules:[{effect:g.DISABLE,conditions:[m]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:`{{${c}.noCategoriesNotice.body:translate}}`,autoShow:!0,actions:[{label:`{{${c}.noCategoriesNotice.link:translate}}`,href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:g.SHOW,conditions:[m]}]}]}function S(e){if(!e.length)return[];let t;try{let o=P(e);t=x(o,!1)}catch(o){let n=o;C.error(`Error building nested category list; falling back to flattened list: ${n.message}`),t=I(e)}return t}function I(e){return e.map(t=>({label:t,value:t,children:[]}))}function x(e,t=!0){let o=Object.values(e.children).reduce((a,s)=>a.concat(x(s)),[]),n;return t&&(n={label:e.label,value:e.value,children:o}),n?[n]:o}async function _(e,t,o){try{let n={q:`orgid:${t}`,countFields:"tags",countSize:200,authentication:o.authentication},a=await y(n),[s]=a.aggregations.counts.map(r=>({mode:"terms",field:r.fieldName,values:r.fieldValues})),i=e||[];return[...new Set([...i,...s.values.map(r=>r.value)])].filter(r=>r).map(r=>({value:r}))}catch{return[]}}export{V as a,_ as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import{a as g}from"./DHBRETEU.js";import{a as u}from"./U3VUCHZG.js";import"./DZESTUXK.js";import{e as d}from"./VPYCKLQ3.js";import"./2N74XZ6E.js";import"./OAERCPNT.js";import"./B7LTYEFM.js";import"./G6L7SR3Q.js";import"./M25MRPNV.js";import"./AJ45E4BU.js";import"./FOYVZHZK.js";import"./OAMLJQSJ.js";import"./3CXH2DSB.js";import"./KU52PEXV.js";import"./FLSBDOEF.js";import"./S55BGDHX.js";import"./VVVU2QG3.js";import"./6CYXNSJW.js";import"./BEG4UO2U.js";import"./DJMTBGD3.js";import"./IEGKMAR4.js";import"./FTL6QD3B.js";import"./WVTNKXWF.js";import"./UBBE3JVH.js";import"./3CFKE7UB.js";import"./DKE36R5M.js";import"./ASFROY2D.js";import"./SQK2A6TV.js";import"./L2VTDOFB.js";import"./HADXLWLX.js";import"./TWGRQKUU.js";import"./OI7FIIWI.js";import"./XD6BW5RF.js";import"./5MI5MIKU.js";import"./W6JRJ7LC.js";import"./V4PFAUUV.js";import"./4K4S3EVD.js";import"./ZX75NBEW.js";import"./5O6UMPJK.js";import"./5AHAIWP6.js";import"./5RYOZJE3.js";import"./ZINC3YJ2.js";import"./ABDYWJY7.js";import"./BTVZ2EYQ.js";import"./PRLP7RUI.js";import"./3BMGRGZE.js";import"./JQGAC2QV.js";import"./IY43H25W.js";import"./G3JF22H2.js";import"./FJK2GVLD.js";import"./4OBYPH4J.js";import"./UZI5W2RF.js";import"./NNWZMV2T.js";import"./BDCG223O.js";import"./IKEMMKMQ.js";import"./3TK4DI33.js";import"./UH55HKKM.js";import"./4VTWY7RD.js";import"./AAELR64M.js";import"./CPGFUI6B.js";import"./HWTZW62T.js";import"./42OPNUMF.js";import"./26IVAQIJ.js";import"./7LON3SHO.js";import"./DOJ5M5IA.js";import"./NPZKUZMM.js";import"./WPGYHDOL.js";import"./YLB2BTXL.js";import"./TXSU4AJX.js";import"./QSJQA2JK.js";import"./YJZYJK4E.js";import{a as h}from"./7KYOAYAN.js";import{c as w}from"./WP52OYF5.js";import"./KVJMPCHB.js";import"./IK5ULE6G.js";import"./TUX6HFFQ.js";import{a as m}from"./JWXIKB6O.js";import"./2GHJUJDX.js";import"./ZR7DYRBL.js";import{b as e,c as f,d as y,e as b,h as l,i as C}from"./LEW5WFEM.js";import"./ADO6DCED.js";import"./DCMVD43A.js";import"./S2YHPNVL.js";import"./FO4OYX3H.js";import"./ZICCR6P7.js";import"./LW3GIMAC.js";import"./S3KHEJBV.js";import{a as p}from"./FNWGEHHB.js";import"./WHO5TMWB.js";import"./HBSBNZTF.js";import{a as n}from"./3F6E36WD.js";import{l as c}from"./XEBYDVWE.js";import"./SQPKSQ4W.js";import"./IFD5AZJT.js";import"./7SHUV3EE.js";var k=':host{display:block}section{margin-top:1rem}header{display:flex;flex-direction:row;justify-content:space-between}.explore>calcite-button{padding:0 0.5rem 0 0}:host([layout="list"]) .card-container,:host([layout="grid"]) .card-container,:host([layout="map"]) .card-container,:host([layout="grid-filled"]) .card-container{display:grid;gap:1.5rem}:host([layout="grid"]) .card-container,:host([layout="map"]) .card-container{grid-template-columns:repeat(auto-fill, minmax(max(240px, (100% - (4 - 1) * 24px) / 4), 1fr))}:host([layout="grid-filled"]) .card-container{grid-template-columns:repeat(12, 1fr)}:host([layout="grid-filled"]) .card-container>*{grid-column:span calc(12 / var(--columns))}:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+1):last-of-type,:host([layout="grid-filled"]) .card-container.cols-3>*:nth-of-type(3n+1):last-of-type,:host([layout="grid-filled"]) .card-container.cols-2>*:nth-of-type(2n+1):last-of-type{grid-column:span 12 / span 12}:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+1):nth-last-of-type(2),:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+2):last-of-type,:host([layout="grid-filled"]) .card-container.cols-3>*:nth-of-type(3n+1):nth-last-of-type(2),:host([layout="grid-filled"]) .card-container.cols-3>*:nth-of-type(3n+2):last-of-type{grid-column:span 6 / span 6}:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+1):nth-last-of-type(3),:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+2):nth-last-of-type(2),:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+3):last-of-type{grid-column:span 4 / span 4}',R=k,x=class{onSearchChange(t){n.log("search change",t.detail),this.term=t.detail}get _context(){return w()}constructor(t){C(this,t),this.hubBrowseMoreSelected=b(this,"hubBrowseMoreSelected",7),this.entity=void 0,this.layout="grid",this.showSearch=!0,this.linkTarget="siteRelative",this.path="",this.term="",this.mode="combined",this.loading=!1,this.gridColumns=4,this.combinedResults=[],h(this,"handleClickMore")}async componentWillLoad(){this.intl=await m.loadIntlForComponent(this.element),this.mode==="combined"&&(this.loading=!0,await this.combinedSearch(),this.loading=!1)}get catalogs(){return p(this.entity,"catalogs",[])}handleClickMore(t){t.preventDefault(),t.stopPropagation();let o=t.target.dataset.catalog;n.log("switch to catalog",o),this.hubBrowseMoreSelected.emit(o)}async combinedSearch(){this.loading=!0;let o=(await u(this.catalogs,this.term,{},this._context)).reduce((r,i)=>(i.collectionResults&&Object.keys(i.collectionResults).forEach(s=>{r=[...r,...i.collectionResults[s].results]}),i.scopeResults&&Object.keys(i.scopeResults).forEach(s=>{r=[...r,...i.scopeResults[s].results]}),r),[]),a=c(o,"id").sort((r,i)=>i.updatedDate.getTime()-r.updatedDate.getTime());a=g(this.path,a),this.loading=!1,this.combinedResults=a}get resultContainerClass(){return["card-container",`cols-${this.gridColumns}`].join(" ")}renderHeader(){return e(l,null,e("header",null,e("h2",null,this.intl.t("header"))),this.showSearch&&e("arcgis-hub-search-input",{placeholder:"Search",scale:"m",text:"Search"}),e("hr",null))}renderCatalog(t){let o=d.fromJson(t);return o.collectionNames.map(r=>o.getCollection(r)).map(r=>this.renderCollection(t.title,r))}renderCollection(t,o){let a=o.scope;return this.renderGallery(`${t}: ${o.label}`,a)}renderGallery(t,o){return e(l,null,e("section",null,e("header",null,e("h2",null,t),e("calcite-button",{appearance:"transparent",onClick:this.handleClickMore,scale:"m"},this.intl.t("viewMore"))),e("main",null,e("arcgis-hub-gallery",{layout:"grid",limit:4,linkTarget:"siteRelative",path:this.path,query:o,showFacets:!1,showMoreResultsBtn:!1,showSearch:!1,term:this.term}))))}renderCombined(){return this.loading?e(l,null,"loading..."):e(l,null,e("div",{class:this.resultContainerClass,"data-test":"browse-all-result-container"},this.combinedResults.map((t,o)=>e("arcgis-hub-entity-card",{key:o,layout:"card",linkTarget:this.linkTarget,searchResult:t}))),e("div",{class:"explore"},e("h3",null,this.intl.t("explore")),this.catalogs.map((t,o)=>e("calcite-button",{appearance:"outline","data-catalog":t.title,key:o,onClick:this.handleClickMore,scale:"l"},t.emojii," ",t.title))))}render(){return e(f,{key:"f81c9c4c3e77d04b7944e5b5b13a1e6df62d92c0","data-element":"browse-all"},this.renderHeader(),this.mode==="gallery-list"&&this.catalogs.map(t=>this.renderCatalog(t)),this.mode==="combined"&&this.renderCombined())}static get assetsDirs(){return["locales"]}get element(){return y(this)}static get watchers(){return{term:["combinedSearch"]}}};x.style=R;export{x as arcgis_hub_browse_all};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
var d=(a,s)=>{let i=(1-s)*.5,o=Math.abs(a.xmax-a.xmin),r=Math.abs(a.ymax-a.ymin),m=o*i,c=r*i;if(a.xmin+=m,a.ymin+=c,a.xmax-=m,a.ymax-=c,a.zmin!=null&&a.zmax!=null){let n=(a.zmax-a.zmin)*i;a.zmin+=n,a.zmax-=n}return a};function l(a,s=1.5,i=!1){if(a)return i&&(a=a.clone?a.clone():Object.assign({},a)),a.expand?a.expand(s):d(a,s)}function u(a){if(!a)return 0;let s=a.xmax-a.xmin,i=a.ymax-a.ymin;return s*i}export{l as a,u as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import"./7SHUV3EE.js";var e={percent:"\u30D1\u30FC\u30BB\u30F3\u30C8",values:"\u5024",standardizedValues:"\u6B63\u898F\u5316\u3055\u308C\u305F\u5024",count:"\u500B\u6570",aggregationOfValues:"\u5024\u306E ${ aggregation }",aggregationOfFieldName:"${ fieldName } \u306E ${ aggregation }"},g={aggrFieldsByCategory:"${ category } \u306E ${ aggregationFields }",aggrTypeCategory:"${ category } \u306E ${ aggregationType }",aggrTypeCategoryBySplitBy:"${ splitByField } \u5225\u306E ${ category } \u306E ${ aggregationType }",aggrTypeOfAggrFields:"${ aggregationType } / ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ splitByField } \u5225\u306E ${ category } \u306E ${ aggregationField } \u306E ${ aggregationType }",aggrTypeOfAggrFieldsByCategory:"${ category } \u306E ${ aggregationFields } \u306E ${ aggregationType }",aggrFieldsByXAxisField:"${ xAxisField } \u306E ${ aggregationFields }",aggrTypeXAxisField:"${ xAxisField } \u306E ${ aggregationType }",aggrTypeXAxisFieldBySplitBy:"${ splitByField } \u5225\u306E ${ xAxisField } \u306E ${ aggregationType }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ splitByField } \u5225\u306E ${ xAxisField } \u306E ${ aggregationField } \u306E ${ aggregationType }",aggrTypeOfAggrFieldsByXAxisField:"${ xAxisField } \u306E ${ aggregationFields } \u306E ${ aggregationType }",distributionOfField:"${ valueField } \u306E\u5206\u5E03",distributionOfFields:"${ valueFields } \u306E\u5206\u5E03",distributionOfFieldsByCategory:"${ category } \u306B\u3088\u308B ${ valueFields } \u306E\u5206\u5E03",distributionOfFieldsByCategoryAndSplitBy:"${ category } \u3068 ${ splitByField } \u306B\u3088\u308B ${ valueFields } \u306E\u5206\u5E03",xAndY:"${ x } \u304A\u3088\u3073 ${ y }"},i={barChart:"\u30D0\u30FC \u30C1\u30E3\u30FC\u30C8",lineChart:"\u30E9\u30A4\u30F3 \u30C1\u30E3\u30FC\u30C8",pieChart:"\u30D1\u30A4 \u30C1\u30E3\u30FC\u30C8",histogram:"\u30D2\u30B9\u30C8\u30B0\u30E9\u30E0",scatterplot:"\u6563\u5E03\u56F3"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
+
v0.13.2 */
|
|
4
|
+
import{a as j,b as Bt}from"./2AFAAWHY.js";import{e as Yt}from"./EZ5ONHDV.js";import{e as p,j as v}from"./G7X63WZR.js";import{a as M}from"./VOWCV7Z7.js";import{a as U,b as x}from"./QR3C32BS.js";import{a as D}from"./3QN37YN6.js";import{a as zt}from"./BX2PYUR4.js";import{a as k,b as q}from"./TS5KRAE3.js";import{a as $t}from"./GFWFGZHK.js";import{c as g}from"./WXRYYM2Z.js";import{a as Wt,b as Vt}from"./D5KE3NVK.js";import{c as d}from"./QMFGVVFC.js";import{a as wt,b as Et,c as vt,d as Ot,e as jt,f as Dt,g as Ct,h as Tt,i as Ut,j as xt,k as It,l as _t,m as At,n as Kt,o as Jt,p as Mt,r as kt}from"./Y3AHB3KC.js";import{a as qt,b as Ht,c as Pt,d as Nt}from"./U7UJ4GQ4.js";import{a as tt,c as et,e as st}from"./CCABA7WZ.js";import{a as it}from"./BYKT5QQC.js";import{e as b}from"./VPYCKLQ3.js";import{a as Ft,e as Rt,h as c,i as St,l as J,m as Gt}from"./2N74XZ6E.js";import{a as Lt}from"./OAERCPNT.js";import{h as Z}from"./G6L7SR3Q.js";import{h as pt,i as bt}from"./AJ45E4BU.js";import{a as K}from"./3CXH2DSB.js";import{b as X}from"./S55BGDHX.js";import{a as m}from"./6CYXNSJW.js";import{B as mt,C as gt,z as ft}from"./IEGKMAR4.js";import{r as yt}from"./DKE36R5M.js";import{a as nt}from"./SQK2A6TV.js";import{L as dt,Q as ht,i as ot,l as at,m as rt,n as ct,o as lt,s as ut}from"./L2VTDOFB.js";import{k as Q}from"./OI7FIIWI.js";import{c as u,e as E}from"./W6JRJ7LC.js";import{a as z}from"./4K4S3EVD.js";import{a as Y}from"./ZX75NBEW.js";import{x as T}from"./42OPNUMF.js";import{h as _}from"./YJZYJK4E.js";import{a as w}from"./S2YHPNVL.js";import{a as $}from"./LW3GIMAC.js";import{e as y,f,j as B}from"./S3KHEJBV.js";import{a as A}from"./FNWGEHHB.js";import{c as C}from"./HBSBNZTF.js";import{a as l}from"./XEBYDVWE.js";import{a as I}from"./SQPKSQ4W.js";var ne={[f.channelRead]:m.READ,[f.channelWrite]:m.WRITE,[f.channelReadWrite]:m.READWRITE,[f.channelManage]:m.MANAGE,[f.channelModerate]:m.MODERATE,[f.channelOwner]:m.OWNER},oe={[c.anonymous]:{category:u.ANONYMOUS_USER,subCategory:null},[c.authenticated]:{category:u.AUTHENTICATED_USER,subCategory:null},[c.group]:{category:u.GROUP,subCategory:E.MEMBER},[c.groupAdmin]:{category:u.GROUP,subCategory:E.ADMIN},[c.org]:{category:u.ORG,subCategory:E.MEMBER},[c.orgAdmin]:{category:u.ORG,subCategory:E.ADMIN},[c.owner]:{category:u.USER,subCategory:null},[c.user]:{category:u.USER,subCategory:null}};function Xt(i){function t(e,s){let n=oe[s.collaborationType];return n?[...e,Object.assign(Object.assign({},n),{key:s.collaborationId||null,role:ne[s.permission]})]:e}return{name:i.name,blockWords:i.blockWords,allowAsAnonymous:i.allowAsAnonymous,channelAclDefinition:i.permissions.reduce(t,[])}}async function ae(i,t){let e=Xt(i),s=await ft(Object.assign({data:e},t.hubRequestOptions));return J(s,t.currentUser)}async function re(i,t){let e=Xt(i),s=await mt(Object.assign({channelId:i.id,data:e},t.hubRequestOptions));return J(s,t.currentUser)}async function ce(i,t){await gt(Object.assign({channelId:i},t.hubRequestOptions))}function le(i){return{name:"",blockWords:[],allowAsAnonymous:!1,canEdit:!0,canDelete:!0,permissions:[St({category:u.ORG,subCategory:E.ADMIN,role:m.OWNER,key:i})]}}var ue=i=>{let t=i.find(({collaborationType:s})=>s===c.anonymous),e=i.find(({collaborationType:s})=>s===c.authenticated);return[{key:"public",roles:{anonymous:{value:t?.permission||y,id:t?.id},authenticated:{value:e?.permission||y,id:e?.id}}}]},de=i=>{let t=i.reduce((e,s)=>[c.group,c.groupAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},e),{[s.collaborationId]:Object.assign(Object.assign({},e[s.collaborationId]),{[s.collaborationType]:s})}):e,{});return Object.entries(t).reduce((e,[s,{group:n,["group-admin"]:o}])=>[...e,{key:s,entityId:s,entityType:"group",roles:{member:{value:n?.permission||y,id:n?.id},admin:{value:o?.permission||y,id:o?.id}}}],[])},he=(i,t)=>{let e=i.reduce((n,o)=>[c.org,c.orgAdmin].includes(o.collaborationType)?Object.assign(Object.assign({},n),{[o.collaborationId]:Object.assign(Object.assign({},n[o.collaborationId]),{[o.collaborationType]:o})}):n,{}),s=Object.entries(e).reduce((n,[o,{org:a,["org-admin"]:r}])=>[...n,{key:o,entityId:o,entityType:"organization",roles:{member:{value:a?.permission||y,id:a?.id},admin:{value:r?.permission||y,id:r?.id}}}],[]);return s.length||s.push({key:t,entityId:t,entityType:"organization",roles:{member:{value:y,id:void 0},admin:{value:f.channelOwner,id:void 0}}}),s},ye=i=>i.reduce((t,e)=>e.collaborationType===c.user?[...t,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:t,[]);function fe(i,t){return{id:i.id,name:i.name,blockWords:(i.blockWords||[]).join(","),allowAsAnonymous:i.allowAsAnonymous,publicConfigs:ue(i.permissions),orgConfigs:he(i.permissions,t.currentUser.orgId),groupConfigs:de(i.permissions),userConfigs:ye(i.permissions)}}function me(i){return i.reduce((t,e)=>Object.entries(e.roles).reduce((s,[n,o])=>{if(o.value===y)return s;let a;return e.key==="public"?a={collaborationType:n==="authenticated"?c.authenticated:c.anonymous,collaborationId:null}:e.entityType==="group"?a={collaborationType:n==="admin"?c.groupAdmin:c.group,collaborationId:e.entityId}:e.entityType==="organization"?a={collaborationType:n==="admin"?c.orgAdmin:c.org,collaborationId:e.entityId}:e.entityType==="user"&&(a={collaborationType:c.user,collaborationId:e.entityId}),a?[...s,Object.assign(Object.assign({},a),{permission:o.value,id:o.id})]:s},t),[])}function ge(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(e=>e.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:me(t)}}var H=class i{constructor(t,e){this.isDestroyed=!1,this.context=e,this.entity=t}static fromJson(t,e){let s=this.applyDefaults(t,e);return new i(s,e)}static async create(t,e,s=!1){let n=this.applyDefaults(t,e),o=i.fromJson(n,e);return s&&await o.save(),o}static async fetch(t,e){try{let s=await Gt(t,e);return i.fromJson(s,e)}catch{throw new Error("Channel not found.")}}static applyDefaults(t,e){return Object.assign(Object.assign({},le(e.currentUser.orgId)),t)}get canEdit(){return this.entity.canEdit}get canDelete(){return this.entity.canDelete}get orgId(){return this.entity.orgId}toJson(){if(this.isDestroyed)throw new Error("HubChannel is already destroyed.");return l(this.entity)}update(t){if(this.isDestroyed)throw new Error("HubChannel is already destroyed.");this.entity=Object.assign(Object.assign({},this.entity),t)}async save(){if(this.isDestroyed)throw new Error("HubChannel is already destroyed.");this.entity.id?this.entity=await re(this.entity,this.context):this.entity=await ae(this.entity,this.context)}async delete(){if(this.isDestroyed)throw new Error("HubChannel is already destroyed.");this.isDestroyed=!0,await ce(this.entity.id,this.context)}convertToCardModel(t){throw new Error("not implemented")}async getEditorConfig(t,e){return d(t,e,this.entity,this.context)}async toEditor(t,e){return Promise.resolve(fe(this.entity,this.context))}async fromEditor(t){return this.entity=Object.assign(Object.assign({},this.entity),ge(t)),await this.save(),this.entity}};function pe(i){let t=st(i),e=t.flowType,s=t.formats;!e&&["Feature Service","Map Service"].includes(i.type)&&(s=et().map(a=>({key:a.format,hidden:!1}))),X(i)&&e!=="createReplica"&&(s=tt(i).map(a=>({key:a.format,hidden:!1})));let n=I(i,"extendedProps.additionalResources")||[];return s.map(o=>Wt(o)?we(o,n):be(o))}function be(i){return Object.assign({label:`{{shared.fields.download.format.${i.key}:translate}}`},i)}function we(i,t){let e=Vt(i),{name:s,isDataSource:n}=t[e],o;return s?o=`{{shared.fields.download.additionalResource|resourceName=${encodeURIComponent(s)}:translate}}`:n?o="{{shared.fields.download.dataSourceResource:translate}}":o="{{shared.fields.download.noTitleResource:translate}}",Object.assign({label:o},i)}var P=class i extends p{constructor(t,e){super(t,e)}static fromJson(t,e){let s=t;return new i(s,e)}async save(){this._checkDestroyed(),this.entity.id?this.entity=await Et(this.entity,this.context.hubRequestOptions):this.entity=await wt(this.entity,this.context.hubRequestOptions),await super.afterSave()}update(t){this._checkDestroyed(),this.entity=Object.assign(Object.assign({},this.entity),t)}async delete(){this._checkDestroyed(),this.isDestroyed=!0,await vt(this.entity.id,this.context.hubRequestOptions)}async getEditorConfig(t,e){return d(t,e,this.entity,this.context)}async toEditor(t={},e=[]){let s=e.length?await g(l(this.entity),e,this.context.hubRequestOptions):l(this.entity);return it(this.entity)&&(s.downloadFormats=pe(this.entity)),s}async fromEditor(t){var e,s;let n=!t.id;if(t._thumbnail){let a=t._thumbnail;a.blob?this.thumbnailCache={file:a.blob,filename:a.fileName,clear:!1}:this.thumbnailCache={clear:!0}}delete t._thumbnail;let o=Ot(t);if(o.extent=(s=(e=t.location)===null||e===void 0?void 0:e.extent)!==null&&s!==void 0?s:[],n)throw new Error("Cannot create content using the Editor.");return this.entity=o,await this.save(),this.entity}_checkDestroyed(){if(this.isDestroyed)throw new Error("HubContent is already destroyed.")}},N=class i extends p{static fromJson(t,e){let s=this.applyDefaults(t,e);return new i(s,e)}static async create(t,e,s=!1){let n=this.applyDefaults(t,e),o=i.fromJson(n,e);return s&&await o.save(),o}static async fetch(t,e){try{let s=await Ft(t,e.hubRequestOptions);return i.fromJson(s,e)}catch(s){throw s.message==="CONT_0001: Item does not exist or is inaccessible."?new Error("Discussion not found."):s}}static applyDefaults(t,e){return t.orgUrlKey||(t.orgUrlKey=e.portal.urlKey),Object.assign(Object.assign({},Z),t)}update(t){if(this.isDestroyed)throw new Error("HubDiscussion is already destroyed.");this.entity=Object.assign(Object.assign({},this.entity),t)}async save(){if(this.isDestroyed)throw new Error("HubDiscussion is already destroyed.");this.entity.id?this.entity=await Dt(this.entity,this.context.hubRequestOptions):this.entity=await jt(this.entity,this.context.hubRequestOptions),await super.afterSave()}async delete(){if(this.isDestroyed)throw new Error("HubDiscussion is already destroyed.");this.isDestroyed=!0,await Ct(this.entity.id,this.context.hubRequestOptions)}async getEditorConfig(t,e){return d(t,e,this.entity,this.context)}async toEditor(t={},e=[]){let s=e.length?await g(l(this.entity),e,this.context.hubRequestOptions):l(this.entity);return s._slug=j(this.entity),s}async fromEditor(t){var e;let s=t._thumbnail,n=t._slug;delete t._thumbnail,delete t._slug;let o=l(t);return o.orgUrlKey=t.orgUrlKey?t.orgUrlKey:this.context.portal.urlKey||"",o.orgUrlKey&&(o.orgUrlKey=o.orgUrlKey.toLowerCase()),o.extent=(e=t.location)===null||e===void 0?void 0:e.extent,n?o.slug=Q(n,o.orgUrlKey):o.slug="",s&&(s.blob?this.thumbnailCache={file:s.blob,filename:s.fileName,clear:!1}:this.thumbnailCache={clear:!0}),this.entity=o,await this.save(),this.entity}},Ee=(i,t,e)=>{let{actionLinks:s=[],baseUrl:n="",locale:o="en-US",target:a="self"}=e||{},r=x(i,t,a,n);return Object.assign(Object.assign(Object.assign({},Zt(i,o)),{actionLinks:s,titleUrl:r}),i.thumbnailUrl&&{thumbnailUrl:i.thumbnailUrl})},ms=(i,t)=>{let{actionLinks:e=[],baseUrl:s="",locale:n="en-US",target:o="self"}=t||{},a=U(i,o,s);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Zt(i,n)),{actionLinks:e}),!isNaN(i.index)&&{index:i.index}),{titleUrl:a}),i.links.thumbnail&&{thumbnailUrl:i.links.thumbnail})},Zt=(i,t)=>{var e,s;let n=[{i18nKey:"type",value:i.type},{i18nKey:"dateUpdated",value:i.updatedDate.toLocaleDateString(t)},...!((e=i.tags)===null||e===void 0)&&e.length?[{i18nKey:"tags",value:i.tags.join(", ")}]:[],...!((s=i.categories)===null||s===void 0)&&s.length?[{i18nKey:"categories",value:T(i.categories).join(", ")}]:[],{i18nKey:"dateCreated",value:i.createdDate.toLocaleDateString(t)}];return{access:i.access,badges:[],id:i.id,family:C(i.type),source:i.owner,summary:i.summary,title:i.name,type:i.type,additionalInfo:n}};function te(i,t){let{allowExpressionSet:e,expressionSet:s,fieldType:n,itemId:o}=t,a=nt(t,["allowExpressionSet","expressionSet","fieldType","itemId"]),r=Object.assign({},a);if(i&&i.source)switch(i.source.type||""){case"service-query":r=Object.assign(Object.assign({type:"dynamic",dynamicMetric:Object.assign(Object.assign({},i.source),{itemId:o,expressionSet:s,allowExpressionSet:e,fieldType:n,sourceLink:t.sourceLink,sourceTitle:t.sourceTitle})},r),{sourceLink:void 0,sourceTitle:void 0});break;case"static-value":r=Object.assign({type:"static",value:i.source.value,valueType:i.source.valueType},r);break}return r}var L=class i extends p{constructor(t,e){super(t,e),this._catalog=b.fromJson(t.catalog,this.context)}get catalog(){return this._catalog}static fromJson(t,e){let s=this.applyDefaults(t,e);return new i(s,e)}static async create(t,e,s=!1){let n=this.applyDefaults(t,e),o=i.fromJson(n,e);return s&&await o.save(),o}static async fetch(t,e){try{let s=await ct(t,e.requestOptions);return i.fromJson(s,e)}catch(s){throw s.message==="CONT_0001: Item does not exist or is inaccessible."?new Error("Initiative not found."):s}}static applyDefaults(t,e){return t.orgUrlKey||(t.orgUrlKey=e.portal.urlKey),Object.assign(Object.assign({},ot),t)}update(t){if(this.isDestroyed)throw new Error("HubInitiative is already destroyed.");this.entity=Object.assign(Object.assign({},this.entity),t),t.catalog&&(this._catalog=b.fromJson(this.entity.catalog,this.context))}async save(){if(this.isDestroyed)throw new Error("HubInitiative is already destroyed.");this.entity.catalog=this._catalog.toJson(),this.entity.id?this.entity=await rt(this.entity,this.context.userRequestOptions):this.entity=await at(this.entity,this.context.userRequestOptions),await super.afterSave()}async delete(){if(this.isDestroyed)throw new Error("HubInitiative is already destroyed.");this.isDestroyed=!0,await lt(this.entity.id,this.context.userRequestOptions)}resolveMetric(t){let s=D(this.entity).find(n=>n.id===t);if(s)return M(s,this.context);throw new Error(`Metric ${t} not found.`)}convertToCardModel(t){return Ee(this.entity,this.context,t)}async getEditorConfig(t,e){return d(t,e,this.entity,this.context)}async toEditor(t={},e=[]){let s=e.length?await g(l(this.entity),e,this.context.hubRequestOptions):l(this.entity),o=D(this.entity).find(O=>O.id===t.metricId),r=A(this.entity,"view.metricDisplays",[]).find(O=>O.metricId===t.metricId)||{};s._metric=te(o,r);let h=I(this.entity,"associations.groupId");if(h){let O=await z(h,this.context.requestOptions),V=bt(O,null,this.context.userRequestOptions),ie={groupAccess:V.access,membershipAccess:V.membershipAccess};s._associations=ie}return s._slug=j(this.entity),s}async fromEditor(t){var e;let s=t._associations;delete t._associations;let n=await v(t,this.context),o=n.entity;Object.entries(n).forEach(([r,h])=>{w(r,h,this)});let a=(e=o.associations)===null||e===void 0?void 0:e.groupId;if(a&&s){let r=pt(s);s.groupAccess&&await K({group:{id:a,access:s.groupAccess},authentication:this.context.hubRequestOptions.authentication}),s.membershipAccess&&await K({group:{id:a,membershipAccess:r.membershipAccess,clearEmptyFields:!0},authentication:this.context.hubRequestOptions.authentication})}return this.entity=o,await this.save(),this.entity}},ve=(i,t,e)=>{let{actionLinks:s=[],baseUrl:n="",locale:o="en-US",target:a="self"}=e||{},r=x(i,t,a,n);return Object.assign(Object.assign(Object.assign({},ee(i,o)),{actionLinks:s,titleUrl:r}),i.thumbnailUrl&&{thumbnailUrl:i.thumbnailUrl})},gs=(i,t)=>{let{actionLinks:e=[],baseUrl:s="",locale:n="en-US",target:o="self"}=t||{},a=U(i,o,s);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ee(i,n)),{actionLinks:e}),!isNaN(i.index)&&{index:i.index}),{titleUrl:a}),i.links.thumbnail&&{thumbnailUrl:i.links.thumbnail})},ee=(i,t)=>{var e,s;let n=[{i18nKey:"type",value:i.type},{i18nKey:"dateUpdated",value:i.updatedDate.toLocaleDateString(t)},...!((e=i.tags)===null||e===void 0)&&e.length?[{i18nKey:"tags",value:i.tags.join(", ")}]:[],...!((s=i.categories)===null||s===void 0)&&s.length?[{i18nKey:"categories",value:T(i.categories).join(", ")}]:[],{i18nKey:"dateCreated",value:i.createdDate.toLocaleDateString(t)}];return{access:i.access,badges:[],id:i.id,family:C(i.type),source:i.owner,summary:i.summary,title:i.name,type:i.type,additionalInfo:n}},F=class i extends p{constructor(t,e){super(t,e),this._catalog=b.fromJson(t.catalog,this.context)}get catalog(){return this._catalog}static fromJson(t,e){let s=this.applyDefaults(t,e);return new i(s,e)}static async create(t,e,s=!1){let n=this.applyDefaults(t,e),o=i.fromJson(n,e);return s&&await o.save(),o}static async fetch(t,e){try{let s=await ht(t,e.requestOptions);return i.fromJson(s,e)}catch(s){throw s.message==="CONT_0001: Item does not exist or is inaccessible."?new Error("Project not found."):s}}static applyDefaults(t,e){return t.orgUrlKey||(t.orgUrlKey=e.portal.urlKey),t.orgUrlKey=t.orgUrlKey.toLowerCase(),Object.assign(Object.assign({},ut),t)}convertToCardModel(t){return ve(this.entity,this.context,t)}async getEditorConfig(t,e){return d(t,e,this.entity,this.context)}async toEditor(t={},e=[]){let s=e.length?await g(l(this.entity),e,this.context.hubRequestOptions):l(this.entity);s._groups=[];let o=D(this.entity).find(h=>h.id===t.metricId),r=A(this.entity,"view.metricDisplays",[]).find(h=>h.metricId===t.metricId)||{};return s._metric=te(o,r),s._slug=j(this.entity),s}async fromEditor(t,e){let s=await v(t,this.context);return Object.entries(s).forEach(([n,o])=>{w(n,o,this)}),await this.save(),this.entity}update(t){if(this.isDestroyed)throw new Error("HubProject is already destroyed.");this.entity=Object.assign(Object.assign({},this.entity),t),t.catalog&&(this._catalog=b.fromJson(this.entity.catalog,this.context))}async save(){if(this.isDestroyed)throw new Error("HubProject is already destroyed.");this.entity.catalog=this._catalog.toJson(),this.entity.id?this.entity=await Ut(this.entity,this.context.userRequestOptions):this.entity=await Tt(this.entity,this.context.userRequestOptions),await super.afterSave()}async delete(){if(this.isDestroyed)throw new Error("HubProject is already destroyed.");this.isDestroyed=!0,await xt(this.entity.id,this.context.userRequestOptions)}resolveMetric(t){let s=D(this.entity).find(n=>n.id===t);if(s)return M(s,this.context);throw new Error(`Metric ${t} not found.`)}},R=class i extends p{static fromJson(t,e){let s=this.applyDefaults(t,e);return new i(s,e)}static async fetch(t,e){try{let s=await Lt(t,e.hubRequestOptions);return i.fromJson(s,e)}catch{throw new Error("Event not found.")}}static applyDefaults(t,e){var s;return t.orgUrlKey||(t.orgUrlKey=(s=e.portal)===null||s===void 0?void 0:s.urlKey),t.orgUrlKey&&(t.orgUrlKey=t.orgUrlKey.toLowerCase()),Object.assign(Object.assign({},qt()),t)}update(t){if(this.isDestroyed)throw new Error("HubEvent is already destroyed.");this.entity=Object.assign(Object.assign({},this.entity),t)}async save(){if(this.isDestroyed)throw new Error("HubEvent is already destroyed.");this.entity.id?this.entity=await Pt(this.entity,this.context.hubRequestOptions):this.entity=await Ht(this.entity,this.context.hubRequestOptions)}async delete(){if(this.isDestroyed)throw new Error("HubEvent is already destroyed.");await Nt(this.entity.id,this.context.hubRequestOptions),this.isDestroyed=!0}async shareWithGroup(t){if(!this.context.currentUser)throw new Y("Share Event With Group","Cannot share event with group when no user is logged in.");this.entity=await k([t],this.entity,this.context)}async shareWithGroups(t){this.entity=await k(t,this.entity,this.context)}async unshareWithGroup(t){this.entity=await q([t],this.entity,this.context)}async unshareWithGroups(t){this.entity=await q(t,this.entity,this.context)}async setAccess(t){await yt(Object.assign({eventId:this.entity.id,data:{access:t.toUpperCase()}},this.context.hubRequestOptions)),this.entity.access=t}async sharedWith(){return zt(this.entity.id,this.context)}async getEditorConfig(t,e){return d(t,e,this.entity,this.context)}async toEditor(t={},e=[]){let s=l(this.entity);return Promise.resolve(s)}async fromEditor(t){let e=t._thumbnail,s=await v(t,this.context),n=s.entity;return Object.entries(s).forEach(([o,a])=>{w(o,a,this)}),e&&(n.thumbnailUrl=e.url||null),this.entity=n,await this.save(),this.entity}},Oe={};async function je(i,t){if(!t.currentUser)throw new Error("User is not authenticated");if(!t.isCommunityOrg||!t.isOrgAdmin)throw new Error("User is not an org admin in the current community org");let{termsAndConditions:e,signupText:s}=i,o=`${t.portalUrl}/sharing/rest/portals/self/setSigninSettings?f=json`;return _(o,{httpMethod:"POST",params:{termsAndConditions:e,signupText:s,clearEmptyFields:!s||!e,token:t.hubRequestOptions.authentication.token}})}async function De(i,t){if(!t.currentUser)throw new Error("User is not authenticated");if(!t.isOrgAdmin)throw new Error("User is not an org admin in the current org");let e=l(t.portal.portalProperties),{showInformationalBanner:s}=i;e.hub.settings.informationalBanner=s;let o=`${t.portalUrl}/sharing/rest/portals/self/update?f=json`;return _(o,{httpMethod:"POST",params:{portalProperties:JSON.stringify(e),token:t.hubRequestOptions.authentication.token}})}var S=class i{constructor(t,e){this.isDestroyed=!1,this.entity=t,this.context=e}static fromJson(t,e){let s=this.applyDefaults(t);return new i(s,e)}static applyDefaults(t){return Object.assign(Object.assign({},Oe),t)}toJson(){return l(this.entity)}async save(){if(this.isDestroyed)throw new Error("HubUser is already destroyed.");if(await this.context.updateUserHubSettings(this.entity.settings),this.context.isCommunityOrg&&this.context.isOrgAdmin&&this.entity.hubOrgSettings){let{hubOrgSettings:t}=this.entity,e={signupText:t.enableSignupText&&t.signupText?t.signupText:"",termsAndConditions:t.enableTermsAndConditions&&t.termsAndConditions?t.termsAndConditions:""};await je(e,this.context)}this.context.isOrgAdmin&&this.entity.hubOrgSettings&&Object.prototype.hasOwnProperty.call(this.entity.hubOrgSettings,"showInformationalBanner")&&await De(this.entity.hubOrgSettings,this.context)}async delete(){if(this.isDestroyed)throw new Error("HubUser is already destroyed.");this.isDestroyed=!0}async getEditorConfig(t,e){return d(t,e,this.entity,this.context)}async toEditor(t={},e=[]){return e.length?await g(l(this.entity),e,this.context.hubRequestOptions):l(this.entity)}async fromEditor(t){let e=l(t);return this.entity=e,await this.save(),this.entity}},Ce=(i,t,e)=>{let{actionLinks:s=[],baseUrl:n="",locale:o="en-US",target:a="self"}=e||{},r=x(i,t,a,n);return Object.assign(Object.assign(Object.assign({},se(i,o)),{actionLinks:s,titleUrl:r}),i.thumbnailUrl&&{thumbnailUrl:i.thumbnailUrl})},ps=(i,t)=>{let{actionLinks:e=[],baseUrl:s="",locale:n="en-US",target:o="self"}=t||{},a=U(i,o,s);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},se(i,n)),{actionLinks:e}),!isNaN(i.index)&&{index:i.index}),{titleUrl:a}),i.links.thumbnail&&{thumbnailUrl:i.links.thumbnail})},se=(i,t)=>{var e,s;let n=[{i18nKey:"type",value:i.type},{i18nKey:"dateUpdated",value:i.updatedDate.toLocaleDateString(t)},...!((e=i.tags)===null||e===void 0)&&e.length?[{i18nKey:"tags",value:i.tags.join(", ")}]:[],...!((s=i.categories)===null||s===void 0)&&s.length?[{i18nKey:"categories",value:T(i.categories).join(", ")}]:[],{i18nKey:"dateCreated",value:i.createdDate.toLocaleDateString(t)}];return{access:i.access,badges:[],id:i.id,family:C(i.type),source:i.owner,summary:i.summary,title:i.name,type:i.type,additionalInfo:n}},G=class i extends p{constructor(t,e){super(t,e),this._catalog=b.fromJson(t.catalog,this.context)}get catalog(){return this._catalog}static fromJson(t,e){let s=this.applyDefaults(t,e);return new i(s,e)}static async create(t,e,s=!1){let n=this.applyDefaults(t,e),o=i.fromJson(n,e);return s&&await o.save(),o}static async fetch(t,e){try{let s=await Rt(t,e.requestOptions);return i.fromJson(s,e)}catch(s){throw s.message==="CONT_0001: Item does not exist or is inaccessible."?new Error("Initiative Template not found."):s}}static applyDefaults(t,e){return t.orgUrlKey||(t.orgUrlKey=e.portal.urlKey),t.orgUrlKey=t.orgUrlKey.toLowerCase(),Object.assign(Object.assign({},It),t)}convertToCardModel(t){return Ce(this.entity,this.context,t)}async getEditorConfig(t,e){return d(t,e,this.entity,this.context)}async toEditor(t={},e=[]){let s=e.length?await g(l(this.entity),e,this.context.hubRequestOptions):l(this.entity);return s._slug=j(this.entity),s}async fromEditor(t){let e=await v(t,this.context);return Object.entries(e).forEach(([s,n])=>{w(s,n,this)}),await this.save(),this.entity}update(t){if(this.isDestroyed)throw new Error("HubInitiativeTemplate is already destroyed.");this.entity=Object.assign(Object.assign({},this.entity),t),t.catalog&&(this._catalog=b.fromJson(this.entity.catalog,this.context))}async save(){if(this.isDestroyed)throw new Error("HubInitiativeTemplate is already destroyed.");this.entity.catalog=this._catalog.toJson(),this.entity.id?this.entity=await At(this.entity,this.context.userRequestOptions):this.entity=await _t(this.entity,this.context.userRequestOptions),await super.afterSave()}async delete(){if(this.isDestroyed)throw new Error("HubInitiativeTemplate is already destroyed.");this.isDestroyed=!0,await Kt(this.entity.id,this.context.userRequestOptions)}},Te="Solution",Ue={schemaVersion:1,catalog:{schemaVersion:0},name:"",tags:[],typeKeywords:[Te],view:{},permissions:[],features:B},W=class i extends p{constructor(t,e){super(t,e)}static fromJson(t,e){let s=this.applyDefaults(t,e);return new i(s,e)}static async create(t,e,s=!1){let n=this.applyDefaults(t,e),o=i.fromJson(n,e);return s&&await o.save(),o}static async fetch(t,e){try{let s=await dt(t,e.requestOptions);return i.fromJson(s,e)}catch(s){throw s.message==="CONT_0001: Item does not exist or is inaccessible."?new Error(`Template ${t} not found.`):s}}static applyDefaults(t,e){return t.orgUrlKey||(t.orgUrlKey=e.portal.urlKey),t.orgUrlKey=t.orgUrlKey.toLowerCase(),Object.assign(Object.assign({},Ue),t)}async getEditorConfig(t,e){return d(t,e,this.entity,this.context)}async toEditor(t={},e=[]){return e.length?await g(l(this.entity),e,this.context.hubRequestOptions):l(this.entity)}async fromEditor(t){let e=await v(t,this.context);return Object.entries(e).forEach(([s,n])=>{w(s,n,this)}),await this.save(),this.entity}update(t){if(this.isDestroyed)throw new Error("HubTemplate is already destroyed.");this.entity=Object.assign(Object.assign({},this.entity),t)}async save(){if(this.isDestroyed)throw new Error("HubTemplate is already destroyed.");this.entity=this.entity.id?await Mt(this.entity,this.context.userRequestOptions):await Jt(),await super.afterSave()}async delete(){if(this.isDestroyed)throw new Error("HubTemplate is already destroyed.");this.isDestroyed=!0,await kt(this.entity.id,this.context.userRequestOptions)}},Qt=class i{constructor(t){this.instance=t}static fromEntity(t,e){let s=$(t),n;if(s==="project"&&(n=F.fromJson(t,e)),s==="initiative"&&(n=L.fromJson(t,e)),s==="content"&&(n=P.fromJson(t,e)),s==="site"&&(n=Yt.fromJson(t,e)),s==="page"&&(n=Bt.fromJson(t,e)),s==="discussion"&&(n=N.fromJson(t,e)),s==="template"&&(n=W.fromJson(t,e)),s==="channel"&&(n=H.fromJson(t,e)),s==="event"&&(n=R.fromJson(t,e)),s==="group"&&(n=$t.fromJson(t,e)),s==="initiativeTemplate"&&(n=G.fromJson(t,e)),s==="user"&&(n=S.fromJson(t,e)),n)return new i(n);throw new Error(`Unsupported entity type: ${t.type}`)}async getConfig(t,e){return this.instance.getEditorConfig(t,e)}toEditor(t={},e=[]){return this.instance.toEditor(t,e)}async save(t,e){return this.instance.fromEditor(t,e)}};export{ae as a,re as b,ce as c,H as d,P as e,N as f,Ee as g,ms as h,L as i,ve as j,gs as k,F as l,R as m,Ce as n,ps as o,G as p,W as q,Qt as r};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import{a as t}from"./JWXIKB6O.js";import"./2GHJUJDX.js";import"./ZR7DYRBL.js";import{b as e,c as s,d as i,i as r}from"./LEW5WFEM.js";import"./IFD5AZJT.js";import"./7SHUV3EE.js";var o=".sc-arcgis-hub-entity-group-members-h{display:block;height:100%}",n=o,c=class{constructor(a){r(this,a),this.entity=void 0,this.isMobile=!1}async componentWillLoad(){await this.loadTranslations()}async loadTranslations(){this.intl=await t.loadIntlForComponent(this.element)}render(){return e(s,{key:"68e44024ca0f69d36146652c08dfb9dc5f58caee","data-element":"group-entity-members"},e("arcgis-hub-workspace-pane",{key:"9eefada130090ce3bd923146de4a1974f3494b19",isMobile:this.isMobile},e("h1",{key:"5e720f1ed4e619f88d34ded05e9c46e96eb5b3d8",slot:"title"},this.intl.t("title")),e("arcgis-hub-group-members-manager",{key:"91398878743c651b58a2ae0c97b9388e769014c0",groupId:this.entity.id,isMobile:this.isMobile})))}static get assetsDirs(){return["locales"]}get element(){return i(this)}};c.style=n;export{c as arcgis_hub_entity_group_members};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import"./7SHUV3EE.js";var t={chart:"\u56FE\u8868",barChart:"\u6761\u5F62\u56FE",lineChart:"\u6298\u7EBF\u56FE",pieChart:"\u997C\u56FE",histogram:"\u76F4\u65B9\u56FE",scatterplot:"\u6563\u70B9\u56FE",boxPlot:"\u7BB1\u5F62\u56FE"},a={mean:"\u5E73\u5747\u503C",median:"\u4E2D\u4F4D\u6570",sum:"\u603B\u548C",discretePercentile:"\u79BB\u6563\u767E\u5206\u6BD4\u6570",minimum:"\u6700\u5C0F\u503C",maximum:"\u6700\u5927\u503C",variance:"\u65B9\u5DEE",count:"\u8BA1\u6570",aggregation:"\u7B2C ${ statistics } \u9875\uFF0C\u5171 ${ fieldName } \u9875",noAggregation:"\u65E0\u805A\u5408"},e="\u56FE\u8868",i="\u6280\u672F\u5E8F\u5217",s="X \u8F74",r="\u4E0D\u53EF\u7528",n={start:"\u6355\u6349\u5230\u7B2C\u4E00\u4E2A\u6570\u636E\u70B9",end:"\u6355\u6349\u5230\u6700\u540E\u4E00\u4E2A\u6570\u636E\u70B9"},o={chartType:t,statistics:a,defaultTitle:e,countSeries:i,xAxis:s,notAvailable:r,timeAggregationTypes:n};export{t as chartType,i as countSeries,o as default,e as defaultTitle,r as notAvailable,a as statistics,n as timeAggregationTypes,s as xAxis};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import d from"./VB5AU66N.js";import"./PPSQTKA2.js";import{a as f}from"./6WAVK5RN.js";import c from"./LNSHT5YN.js";import"./5KR2IVJB.js";import"./BOIQ7XW7.js";import{a as b,b as Q,c as X,d as x}from"./FCXLV2TW.js";import{a as F}from"./DXX5XJRG.js";import{a as H}from"./DUHVJM6S.js";import"./AC4GFDLZ.js";import"./APTLLXJC.js";import"./MXZSNHQC.js";import"./SF7HWWFS.js";import"./JTOPCDC3.js";import"./HNWPMUM6.js";import a from"./R63VRZNG.js";import"./FLSBDOEF.js";import"./6CYXNSJW.js";import"./BEG4UO2U.js";import"./DJMTBGD3.js";import{N as K,O as A,X as Y,o as q}from"./IEGKMAR4.js";import"./FTL6QD3B.js";import"./WVTNKXWF.js";import"./UBBE3JVH.js";import"./3CFKE7UB.js";import"./DKE36R5M.js";import"./ASFROY2D.js";import"./SQK2A6TV.js";import"./L2VTDOFB.js";import"./HADXLWLX.js";import"./TWGRQKUU.js";import"./OI7FIIWI.js";import"./XD6BW5RF.js";import"./5MI5MIKU.js";import"./W6JRJ7LC.js";import"./V4PFAUUV.js";import"./4K4S3EVD.js";import"./ZX75NBEW.js";import"./5O6UMPJK.js";import"./5AHAIWP6.js";import"./5RYOZJE3.js";import"./ZINC3YJ2.js";import"./ABDYWJY7.js";import"./BTVZ2EYQ.js";import"./PRLP7RUI.js";import"./3BMGRGZE.js";import"./JQGAC2QV.js";import"./UZI5W2RF.js";import"./NNWZMV2T.js";import"./BDCG223O.js";import"./IKEMMKMQ.js";import"./3TK4DI33.js";import"./UH55HKKM.js";import"./4VTWY7RD.js";import"./AAELR64M.js";import"./CPGFUI6B.js";import"./HWTZW62T.js";import{f as O,g as W}from"./42OPNUMF.js";import"./26IVAQIJ.js";import"./7LON3SHO.js";import"./DOJ5M5IA.js";import"./NPZKUZMM.js";import"./WPGYHDOL.js";import"./YLB2BTXL.js";import"./TXSU4AJX.js";import"./QSJQA2JK.js";import"./YJZYJK4E.js";import{a as M}from"./7KYOAYAN.js";import{c as ie,j as se}from"./WP52OYF5.js";import"./KVJMPCHB.js";import{a as w}from"./IK5ULE6G.js";import"./TUX6HFFQ.js";import{a as P}from"./JWXIKB6O.js";import"./2GHJUJDX.js";import"./ZR7DYRBL.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./LEW5WFEM.js";import"./DCMVD43A.js";import"./S2YHPNVL.js";import"./FO4OYX3H.js";import"./ZICCR6P7.js";import"./LW3GIMAC.js";import"./S3KHEJBV.js";import"./FNWGEHHB.js";import"./WHO5TMWB.js";import"./HBSBNZTF.js";import{a as z}from"./3F6E36WD.js";import"./XEBYDVWE.js";import{a as T}from"./SQPKSQ4W.js";import"./IFD5AZJT.js";import"./7SHUV3EE.js";export default $arcgis.t(([k,{watch:L},{webMercatorToGeographic:B},ne,J,{isAbortError:ce},{generalize:he},le,de,,{o:V,p:j},{g:ee,h:Z,m:N},{b:te}])=>{var ae={type:"Polygon",coordinates:[[[180,-90],[180,90],[-180,90],[-180,-90],[180,-90]]]},ue=e=>new Promise(t=>setTimeout(t,e)),pe=(e,t,i,s,a)=>{let r=Math.ceil(e/t);return r>s?(z.warn(`Discussions requests exceeds desired threshold, throttling to ${a}ms per batch.`),a):i/r},ge=async(e,t,i=10,s=!0)=>{let a=async r=>{var o;let n=(o=r.start)!==null&&o!==void 0?o:1,h=Object.assign({data:Object.assign({num:i,relations:[A.REPLIES,A.CHANNEL,A.CHANNEL_ACL],sortBy:K.UPDATED_AT,sortOrder:q.DESC,start:n},r)},t),c=Y(h);if(n===1){let{total:l}=await c,d=n+i,g=[c],v=s?pe(l,i,2500,10,250):0;for(;d<=l;)await ue(v),g.push(...await a(Object.assign(Object.assign({geometry:ae},r),{start:d}))),d=d+i;return g}return[c]};try{let r=await Promise.all([...await a(Object.assign(Object.assign({},e),{discussion:`${e.discussion}%?id=%`})),...await a(Object.assign(Object.assign({},e),{geometry:ae,discussion:`${e.discussion}%`}))]),o=[],n=r.map(({items:h})=>h).flat().filter(h=>o.includes(h.id)?!1:(o.push(h.id),!0));return ee(n)}catch(r){let{message:o}=r;z.error("Could not fetch on-map discussions:",o)}},me=".sc-arcgis-hub-discussions-map-integrator-h{display:block}@media only screen and (min-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{padding:0px}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + 4.5rem);left:calc(var(--left-offset) - 5rem - 25rem);max-height:calc(var(--panel-height) - 6rem)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset));left:calc(var(--left-offset))}}@media only screen and (max-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) + 0.05rem);top:calc(var(--top-offset) + var(--panel-height) * .5);max-height:calc(var(--panel-height) * .5);height:calc(var(--panel-height) * .5);left:0.95rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:100%}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + var(--panel-height) * .45)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) - 0.95rem);top:calc(var(--panel-height) + 3.2rem);left:0.5rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:1rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:100%}}",fe=me,m=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},p=class{constructor(e){_(this,e),this.arcgisHubMapPopoverOpen=I(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=I(this,"arcgisHubMapPopoverClear",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.initialized=!1,this.cachedFeatures=[],this.unsavedExistingGeometry=[],this.cachedRelatedFeatureGeometry={},this.layerIds=[],this.persistAttribute="__persist__",this.view=void 0,this.discussionsRef=void 0,this.drawRef=void 0,this.searchRef=void 0,this.theme={},this.discussion=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.isHub=void 0,this.isMobile=void 0,this.activeFeature=void 0,this.activeMapDiscussion=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=ie(),this.viewHeight=void 0,this.viewWidth=void 0,this.preview=!0,this.previewHeight=void 0,this.leftOffset=void 0,this.topOffset=void 0,this.mapActionNoticeActive=void 0,this.activePost=void 0,this.activeGraphicDetails=void 0,M(this,"makeGraphic","makeCalloutGraphic","setCalloutSymbolOnPointerMove","calculateOffsets","handlePointerMove","handleMapClickDiscussions","handleViewSizeChange","handleMapDrawSelect","handleEditActiveGraphic","handleDeleteActiveGraphic","handlePostPendingGraphic","addRelatedFeature","removeRelatedFeature","cancelAddRelatedFeature","getRelatedFeature","renderAddLocation","renderRemoveLocation","renderPostLocationEditOptions","renderPostLocationPrimaryOptions")}async componentWillLoad(){this.initialize(),this.intl=await P.loadIntlForComponent(this.element),V()}connectedCallback(){se(this)}disconnectedCallback(){this.teardown(),this.disconnectContext()}eventTargetIsDiscussionsRef(e){return e.target===this.discussionsRef||e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef}emitHubTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:this.sketchPostId,channelId:this.currentDiscussionsRef.channelId}))}async initialize(){let{view:e,_context:t}=this;if(this.saveInitialDrawOptions(),e&&t){if(await e.when(),this.addGeometryGraphicsLayer(),this.addStagedGeometryGraphicsLayer(),this.addCalloutGraphicsLayer(),this.addHighlightGraphicsLayer(),await this.fetchSubject(),this.fetchPosts(),this.handleViewSizeChange(),this.cachedFeatures.length)try{await this.refreshFeatures(this.cachedFeatures)}catch(i){console.warn("Cannot add discussions features to the map",i.message)}this.setDiscussionsRefHasMap(!0),this.mapViewSizeChangeHandler=L(()=>[e.height,e.width],this.handleViewSizeChange),this.mapViewCenterChangeHandler=L(()=>e.center,this.calculateOffsets),this.initialized=!0}}attachView(e,t){let{initialized:i}=this;e&&e!==t?(i&&this.teardown(),this.initialize()):!e&&i&&this.teardown()}attachdiscussionsRef(e){let{initialized:t}=this;e&&!t&&this.initialize()}handleDrawRefUpdate(){this.saveInitialDrawOptions()}calculateOffsets(){let{view:e,preview:t,graphicGeometry:i,isOffset:s,previewHeight:a,activeMapDiscussion:r}=this;if(e&&r&&i){let{container:o}=e,{top:n,left:h,right:c}=o.getBoundingClientRect(),l=e.toScreen(i),d=s?l.x+5:l.x,g=s?l.y-34:l.y;this.leftOffset=t?d+h:c,this.topOffset=t?g+n-a:n}}handlePreviewDidLoad(e){let{detail:t}=e;this.previewHeight=0,this.previewHeight=t}handlePreviewExpanded(){this.preview=!1}handleSearchWidgetPanelToggled(e){let{target:t,detail:i}=e,{searchRef:s}=this;t===s&&!i&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}handleGeometryGoTo(e){let{detail:t}=e,i=[...this.geometryGraphicsLayer.graphics.toArray(),...this.calloutGraphicsLayer.graphics.toArray()],s=[];if(t){let a=t.id,r=t.parentId?t.parentId:t.id;s=i.filter(({attributes:{id:o,parentId:n}})=>o===r||a&&n===a)}else{let{activeMapDiscussion:{locationId:a}}=this;s=i.filter(({attributes:{relatedFeatureId:r}})=>r===a)}s.length&&this.goTo(s)}handleGeometryFeature(e){let{detail:{post:t,create:i}}=e;this.unsavedExistingGeometry=[],this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:a}})=>a!==t.id),Z(t)&&(this.cachedFeatures=[...this.cachedFeatures,...Z(t)],i&&this.cachedFeatures.map(a=>{let{properties:{id:r}}=a,{parentId:o}=t;return r===o&&("replyCount"in a.properties||(a.properties.replyCount=0),a.properties.replyCount+=1),a}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0))}handleGeometryFeatureDeleted(e){let{detail:{id:t,parentId:i}}=e;this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:s}})=>s!==t).map(s=>{let{properties:{id:a}}=s;return a===i&&(s.properties.replyCount-=1),s}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0)}handleGeometryFeatureSelect(e){this.selectFeature(e.detail)}selectFeature(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e);if(r&&this.addHighlightGraphic(!1,r,b.ACTIVE,!1),a){let o=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s);i&&(o=this.makeGraphic(e)),this.goTo(o)}else{let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});if(o){this.addHighlightGraphic(!0,o,b.ACTIVE,!1);let n=i?this.cachedRelatedFeatureGeometry[i].arcgis:this.getGraphicById(t,s);this.goTo(n)}}}handleGeometryFeatureHighlight(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e.detail);if(r&&this.addHighlightGraphic(!1,r,b.HOVER,!1),!a){let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});o&&this.addHighlightGraphic(!0,o,b.HOVER,!1)}}handleFeatureRemove(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.removeGraphic(t,i,s,a)}removeGraphic(e,t,i,s){let{currentDiscussionsRef:{unsavedFeatures:a,unsavedRelatedFeatures:r,unsavedExistingFeatures:o}}=this;if(s)if(t)this.currentDiscussionsRef.unsavedRelatedFeatures=[...r.slice(0,i),...r.slice(i+1,r.length)];else{this.currentDiscussionsRef.unsavedFeatures=[...a.slice(0,i),...a.slice(i+1,a.length)];let n=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i);this.unsavedGeometryGraphicsLayer.graphics.remove(n)}else{let n=d=>{let{attributes:{relatedFeatureId:g,id:v,__index__:y}}=d;return t?t==g:v==e&&(y===null||+i==+y)},h=this.calloutGraphicsLayer.graphics.find(n);h&&(h.visible=!1);let c=this.geometryGraphicsLayer.graphics.find(n);c&&(c.visible=!1);let l=this.postToGeoJSON(null,{id:e,index:+i});this.currentDiscussionsRef.unsavedExistingFeatures=[...o.filter(({properties:{id:d,index:g}})=>!(e===d&&+i==+g)),l]}this.clearHoverActiveGraphics(!0)}handleGeometryDrawCreate(e){let{detail:{post:t,postType:i}}=e;this.sketchPostType=i,this.sketchPostId=t?.id,this.drawRef.buffer=!1,this.drawRef.disablePrimaryOptions=!0,this.drawRef.disableEditOptions=!0,this.drawRef.drawTip=void 0,this.drawRef.enableMapTips=!0}handleGeometryDrawTypeSelect(e){this.mapActionNoticeActive=!0,this.drawRef.setActiveTool(e.detail)}handleGeometryDrawDone(){this.mapActionNoticeActive=!1,this.drawRef.setActiveTool(void 0),this.deletePendingGraphics()}handleGeometryDrawCancel(){this.drawRef.setActiveTool(void 0)}handleActiveToolChange(e){let{detail:t}=e;t&&(this.deletePendingGraphics(),this.arcgisHubMapPopoverClear.emit())}handleGeometryDrawEdit(e){let{detail:{properties:{id:t,index:i,unsaved:s}}}=e;this.preview=!1,this.editGraphic(t,i,s)}editGraphic(e,t,i){let{drawRef:s}=this,{geometry:a}=i?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(t):this.getGraphicById(e,t);this.hideLayers(),this.goTo(a),this.sketchPostId=e,this.sketchIndex=t,this.sketchIsUnsaved=i,this.drawRef.geometry=void 0,setTimeout(()=>{s.geometry=a,s.disablePrimaryOptions=!0,s.disableEditOptions=!1,s.buffer=!1,s.enableMapTips=!0},0)}handlePostEditorReady(e){this.activePost=e.detail}handleGeometryDrawEditCancel(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers()}handleDrawGraphicsChange(e){var t;let{detail:{graphics:i,save:s,canceled:a,unsaved:r}}=e,{sketchPostId:o,sketchIndex:n,sketchIsUnsaved:h}=this,c=i.getItemAt(0);if(c.geometry=he(c.geometry.clone(),Q(this.view),!1),s&&this.drawRef.disablePrimaryOptions){this.drawRef.disableEditOptions=!0;let l=B(c.geometry),d=O(l);if(h){let v=this.currentDiscussionsRef.unsavedFeatures.map((R,D)=>(D===n&&(R.geometry=d),R));this.currentDiscussionsRef.unsavedFeatures=v;let y=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(n);y.geometry=c.geometry,!((t=y.attributes)===null||t===void 0)&&t.pending&&setTimeout(()=>{this.activeGraphicDetails={id:o,index:n,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},150)}else{let v=this.postToGeoJSON(d,{index:n,id:o});this.currentDiscussionsRef.unsavedExistingFeatures=[...this.currentDiscussionsRef.unsavedExistingFeatures.filter(({properties:{index:D}})=>D!==n),v];let y=this.getGraphicById(o,n);this.unsavedExistingGeometry.filter(({id:D,index:C})=>D===o&&C===n).length||this.unsavedExistingGeometry.push({id:o,index:n,geometry:y.geometry.clone()}),y.geometry=c.geometry}this.drawRef.forceReset(),this.showLayers();let g=N(d);this.emitHubTelemetry(w.dictionary.category.content.action.update.label.location.details[g])}else if(a)this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers();else if(r){this.drawRef.forceReset(),c.symbol=x[c.geometry.type](b.DEFAULT,this.themeWithDefaults[c.geometry.type]),c.attributes={pending:!0},this.addGraphicsToGraphicsLayer(this.unsavedGeometryGraphicsLayer,[c]);let l=[];i.forEach(d=>{let g=B(d.geometry),v=O(g);l.push({type:"Feature",geometry:v,properties:{id:this.sketchPostId,pending:!0}});let y=N(v);this.emitHubTelemetry(w.dictionary.category.content.action.create.label.location.details[y])}),this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures,...l],setTimeout(()=>{this.activeGraphicDetails={id:o,index:this.unsavedGeometryGraphicsLayer.graphics.length-1,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},250)}}handleGeometryDrawReset(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.restoreInitialDrawOptions(),this.showLayers()}handleGeometryClearAll(){this.resetStagedFeatures(),this.restoreInitialDrawOptions(),this.showLayers(),this.unsavedGeometryGraphicsLayer.graphics.removeAll();let e=t=>{t.visible=!0};this.geometryGraphicsLayer.graphics.forEach(e),this.calloutGraphicsLayer.graphics.forEach(e),this.mapActionNoticeActive=!1,this.activePost=void 0}async handleMapDrawSelect(e){let{detail:t}=e,{targetLayer:i}=this,{results:s}=await this.view.hitTest(t,{include:i}),a=j(s);if(a?.graphic&&this.drawRef.disableEditOptions){let{graphic:r}=a,o=r.layer.objectIdField,n=r.attributes[o];if(this.cacheRelatedFeatureGeometry([n]),!r.attributes.hasOwnProperty(i.displayField)){let{features:[l]}=await i.queryFeatures({objectIds:[n],outFields:["*"],returnGeometry:!1});l&&(r.attributes=l.attributes)}let h=this.currentDiscussionsRef.unsavedRelatedFeatures.map(l=>l.objectId),c=this.renderAddLocation;h.includes(n)&&(c=this.renderRemoveLocation),this.selectedGraphic=r,this.drawRef.enableMapTips=!1,this.arcgisHubMapPopoverOpen.emit({geometry:r.geometry,view:this.view,render:c,source:"action"}),this.highlightGraphic(r)}else this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.highlightGraphic()}handleDiscussionsClose(e){(e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef)&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}addRelatedFeature(){let e=this.selectedGraphic.layer.objectIdField,t=this.selectedGraphic.attributes[e];this.selectedGraphic.geometry=B(this.selectedGraphic.geometry);let i={postId:this.sketchPostId,objectId:t,feature:O(this.selectedGraphic.toJSON())};this.currentDiscussionsRef.unsavedRelatedFeatures=[...this.currentDiscussionsRef.unsavedRelatedFeatures,i],this.highlightGraphic(),this.arcgisHubMapPopoverClear.emit(),this.drawRef.enableMapTips=!0,this.emitHubTelemetry(w.dictionary.category.interaction.action.select.label.content)}removeRelatedFeature(){let{currentDiscussionsRef:{unsavedRelatedFeatures:e}}=this,t=this.selectedGraphic.layer.objectIdField,i=this.selectedGraphic.attributes[t],s=this.currentDiscussionsRef.unsavedRelatedFeatures.findIndex(a=>a.objectId==i);this.currentDiscussionsRef.unsavedRelatedFeatures=[...e.slice(0,s),...e.slice(s+1,e.length)],this.cancelAddRelatedFeature(),this.emitHubTelemetry(w.dictionary.category.interaction.action.deselect.label.content)}cancelAddRelatedFeature(){this.arcgisHubMapPopoverClear.emit(),this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.clearHighlights()}setDiscussionsRefHasMap(e){this.discussionsRef&&(this.discussionsRef.hasMap=e)}teardown(){this.clearHighlights(),this.removeViewHandlers(),this.removeLayers(),this.resetSelect(),this.setDiscussionsRefHasMap(!1)}async fetchSubject(){let{discussion:e,entity:t,entityId:i,entityType:s,_context:a,discussionSettings:r}=this,o=await te({discussion:e,entity:t,entityId:i,entityType:s,discussionSettings:r},a.hubRequestOptions,!0);Object.assign(this,o)}fetchPosts(){ge(this.searchParams,this._context.hubRequestOptions).then(e=>{e?.features&&(this.cachedFeatures=e.features,this.initialized&&this.refreshFeatures(e.features))})}addGeometryGraphicsLayer(){this.geometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.geometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addStagedGeometryGraphicsLayer(){this.unsavedGeometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.unsavedGeometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addCalloutGraphicsLayer(){this.calloutGraphicsLayer=new k({graphics:[],effect:"drop-shadow(0px, 2px, 8px, rgba(0, 0, 0, .20))",elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.calloutGraphicsLayer),this.layerIds.push(this.calloutGraphicsLayer.id),this.mapPointerMoveHandler=this.view.on("pointer-move",this.handlePointerMove),this.mapClickDiscussionsHandler=this.view.on("click",this.handleMapClickDiscussions)}addHighlightGraphicsLayer(){this.highlightGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.highlightGraphicsLayer),this.layerIds.push(this.highlightGraphicsLayer.id)}addHighlightGraphic(e,t,i,s){var a,r,o;let{themeWithDefaults:n,highlightGraphicsLayer:h,persistAttribute:c,is3D:l}=this,d=t.clone();if(e)d.symbol=x.callout(i,Object.assign(Object.assign({},n.callout),{isOffset:(a=t?.attributes)===null||a===void 0?void 0:a.isOffset,is3D:l}),(r=d.attributes)===null||r===void 0?void 0:r.totalCount);else if(!((o=t?.geometry)===null||o===void 0)&&o.type){let g=t.geometry.type;d.symbol=x[t.geometry.type](i,Object.assign({},n[g])),this.clearHoverActiveGraphics(s)}d.attributes=Object.assign(Object.assign({},d.attributes),{[c]:s}),h.add(d)}setCalloutSymbolOnPointerMove(e){this.view.hitTest(e,{include:this.calloutGraphicsLayer}).then(t=>{if(this.clearHoverActiveGraphics(!1),t.results.length){let i=j(t.results),{graphic:s}=i;this.addHighlightGraphic(!0,s,b.HOVER,!1)}})}setLocationEditPopover(e){this.view.hitTest(e,{include:[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer]}).then(t=>{if(t.results.length){let{results:[i]}=t,s=i.layer===this.unsavedGeometryGraphicsLayer,a=i.layer===this.geometryGraphicsLayer,r,o,n;if(s){let h=this.unsavedGeometryGraphicsLayer.graphics.findIndex(c=>c===i.graphic);r=void 0,o=h,n=!0}if(a&&this.activePost){let{id:h}=this.activePost,{graphic:{attributes:{id:c,__index__:l}}}=i,d=l||null;h===c&&(r=h,o=d,n=!1)}if(o!==void 0){let{geometry:h,attributes:c}=i.graphic;this.activeGraphicDetails={id:r,index:o,unsaved:n,geometry:h};let l=c?.pending?this.renderPostLocationPrimaryOptions:this.renderPostLocationEditOptions;this.arcgisHubMapPopoverOpen.emit({geometry:h,view:this.view,render:l,source:"action"})}}})}publishPendingGraphics(){this.unsavedGeometryGraphicsLayer.graphics.forEach(e=>{e.attributes.pending&&delete e.attributes.pending}),this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.map(e=>(e.properties.pending&&delete e.properties.pending,e))}deletePendingGraphics(){let e=this.unsavedGeometryGraphicsLayer.graphics.find(t=>{var i;return(i=t.attributes)===null||i===void 0?void 0:i.pending});this.unsavedGeometryGraphicsLayer.remove(e),this.currentDiscussionsRef&&(this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.filter(t=>t.properties.pending?!t.properties.pending:!0))}removeLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>this.removeLayer(e))}hideLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=.1)}showLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=1)}removeLayer(e){e&&e.destroy()}emptyFeatures(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer].forEach(e=>e.removeAll())}addGraphicsToGraphicsLayer(e,t){e.addMany(t)}async refreshFeatures(e){this.emptyFeatures(),this.resetSelect(),e.forEach(d=>{var g;return d.properties.totalCount=(g=d.properties.replyCount)!==null&&g!==void 0?g:0});let t=({geometry:d})=>!!d,i=e.map(this.makeGraphic).filter(t),s=e.map(this.makeCalloutGraphic).filter(t),a=({properties:d})=>!!H(d.discussion).features,r=e.filter(a),o=Array.from(new Set(r.map(({properties:{discussion:d}})=>H(d).features.map(g=>g)).flat()));await this.cacheRelatedFeatureGeometry(o);let n=[],h=[];for(let d of r){if(h.includes(d.properties.id))continue;h.push(d.properties.id);let{properties:g}=d,{features:v}=H(g.discussion);g.totalCount=0,v.forEach(y=>{var R;let D=({properties:{relatedFeatureId:G}})=>G==y,C=n.find(D);if(C){let{properties:G}=C,oe=((R=g.totalCount)!==null&&R!==void 0?R:0)+1;G.totalCount+=oe}else try{let G=this.getRelatedFeature(y);G.properties=Object.assign(Object.assign({},d.properties),{relatedFeatureId:y}),n.push(G)}catch(G){console.warn("Failed to access post related feature:",G.message)}})}let c=n.map(this.makeCalloutGraphic),l=[...s,...c];this.addGraphicsToGraphicsLayer(this.geometryGraphicsLayer,i),this.addGraphicsToGraphicsLayer(this.calloutGraphicsLayer,l),this.activeFeature&&(this.selectFeature(this.activeFeature),this.activeFeature=void 0)}pointToExtent(e,t=.0025){let{x:i,y:s,spatialReference:a}=e;return new ne({xmin:i-t,ymin:s-t,xmax:i+t,ymax:s+t,spatialReference:a})}goTo(e){if(!this.view)return;let t=e;t.geometry&&t.geometry.type==="point"&&(t=this.pointToExtent(t.geometry)),t.extent&&(t=t.extent.clone().expand(2)),this.view.goTo({target:t},{duration:1e3}).catch(i=>{ce(i)||console.error("Failed to zoom map to target feature or extent:",i.message)})}postToGeoJSON(e,t){return{type:"Feature",geometry:e,properties:t}}makeGraphic(e){var t;let i=W(e),s=J.fromJSON(i);return!((t=s?.geometry)===null||t===void 0)&&t.type&&(s.symbol=x[s.geometry.type](b.DEFAULT,this.themeWithDefaults[s.geometry.type])),s}makeCalloutGraphic(e){var t;let{is3D:i}=this,{callout:s}=x,{geometry:a,properties:r}=e,[o,n]=a.coordinates.flat(1/0),h=!r.relatedFeatureId&&e.geometry.type==="Point",c=W({type:"Feature",geometry:{type:"Point",coordinates:[o,n]},properties:Object.assign(Object.assign({},r),{replyCount:r.replyCount||0,isOffset:h})}),l=J.fromJSON(c);return l.symbol=s(b.DEFAULT,Object.assign(Object.assign({},this.themeWithDefaults.callout),{isOffset:h,is3D:i}),(t=e.properties)===null||t===void 0?void 0:t.totalCount),l}getRelatedFeature(e){return{type:"Feature",geometry:this.cachedRelatedFeatureGeometry[e].geojson,properties:{}}}async cacheRelatedFeatureGeometry(e){let{cachedRelatedFeatureGeometry:t,targetLayer:i}=this;if(!i){console.warn("Discussions service layer not defined; ingnoring related features");return}let s=Object.keys(t),a=e.filter(r=>!s.includes(`${r}`));if(a.length){let r={where:"1=1",objectIds:a.map(n=>+n),returnGeometry:!0,outSpatialReference:{wkid:4326},outFields:[this.targetLayer.objectIdField,this.targetLayer.displayField]},{features:o}=await this.targetLayer.queryFeatures(r);o.forEach(({geometry:n,attributes:h})=>{let c=O(n);this.cachedRelatedFeatureGeometry[h[this.targetLayer.objectIdField]]={arcgis:n,geojson:c}})}}getMatchingGraphic(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e,r;return i&&this.cachedRelatedFeatureGeometry[i]?r=new J({geometry:this.cachedRelatedFeatureGeometry[i].arcgis}):r=a?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s):this.getGraphicById(t,s),r}getGraphicById(e,t){return this.geometryGraphicsLayer.graphics.find(({attributes:{id:s,__index__:a}})=>{let r=t!==null?t==a:!0;return s===e&&r})}highlightGraphic(e){this.clearHighlights(),e&&this.view.whenLayerView(e.layer).then(t=>{this.highlightHandle=t.highlight(e)})}clearHighlights(){this.highlightHandle&&(this.highlightHandle.remove(),this.highlightHandle=null)}clearHoverActiveGraphics(e){let{persistAttribute:t,highlightGraphicsLayer:i}=this;if(e)i.removeAll();else{let s=i.graphics.filter(({attributes:a})=>!a[t]);i.removeMany(s.toArray())}}removeViewHandlers(){[this.mapPointerMoveHandler,this.mapClickDiscussionsHandler,this.mapViewSizeChangeHandler,this.mapViewCenterChangeHandler].forEach(e=>{e&&(e.remove(),e=null)})}resetSelect(){this.clearHighlights()}saveInitialDrawOptions(){let{drawRef:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.initialDrawOptions={buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}restoreInitialDrawOptions(){let{initialDrawOptions:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.drawRef.buffer=e,this.drawRef.disableEditOptions=t,this.drawRef.disablePrimaryOptions=i,this.drawRef.enableMapTips=s,this.drawRef.setActiveTool(void 0),this.drawRef.forceReset()}resetStagedFeatures(){this.currentDiscussionsRef.unsavedFeatures=[],this.currentDiscussionsRef.unsavedRelatedFeatures=[],this.currentDiscussionsRef.unsavedExistingFeatures=[],this.unsavedExistingGeometry.forEach(({id:e,index:t,geometry:i})=>{let s=this.getGraphicById(e,t);s.geometry=i}),this.unsavedExistingGeometry=[]}handleMapClickDiscussions(e){this.view.hitTest(e,{include:[this.calloutGraphicsLayer]}).then(t=>{if(t.results.length){this.searchRef&&(this.searchRef.active=!1),this.preview=!1,this.clearHoverActiveGraphics(!0);let i=j(t.results),{graphic:s}=i;this.graphicGeometry=s.geometry,this.isOffset=s.attributes.isOffset;let{attributes:{parentId:a,channelId:r,id:o,relatedFeatureId:n}}=s;if(n){let h=n;this.activeMapDiscussion={channelId:r,locationId:h}}else this.activeMapDiscussion={channelId:r,postId:a?o:void 0,parentId:a||o};this.addHighlightGraphic(!0,s,b.ACTIVE,!0),setTimeout(()=>{this.preview=!0},0)}})}handleViewSizeChange(){let{view:{height:e,width:t}}=this;this.viewHeight=e,this.viewWidth=t}handlePointerMove(e){this.setCalloutSymbolOnPointerMove(e),this.setLocationEditPopover(e)}handleEditActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.editGraphic(e,t,i)}handleDeleteActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.removeGraphic(e,null,t,i),this.arcgisHubMapPopoverClear.emit()}handlePostPendingGraphic(){this.publishPendingGraphics(),this.arcgisHubMapPopoverClear.emit(),this.currentDiscussionsRef.unsavedFeatures.length===1&&(this.drawRef.drawTip=this.intl.t("draw.tip"))}get searchParams(){var e;let t={channels:(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds,discussion:this.discussion};return Object.entries(t).reduce((i,[s,a])=>a?Object.assign(Object.assign({},i),{[s]:a}):i,{})}get currentDiscussionsRef(){return this.activeMapDiscussion?this.onMapDiscussionsRef:this.discussionsRef}get themeWithDefaults(){let{theme:e}=this,t={};return["point","polyline","polygon","callout"].forEach(i=>{t[i]=Object.assign(Object.assign({},X[i]),e[i])}),t}get is3D(){let{view:e}=this;return e.hasOwnProperty("camera")}get targetLayer(){return this.view.map.allLayers.filter(e=>e.type==="feature"&&!this.layerIds.includes(e.id)).getItemAt(0)}get styles(){let{view:e,viewWidth:t,viewHeight:i,leftOffset:s,topOffset:a,previewHeight:r,preview:o}=this,n={};if(e){let{container:h}=e;if(!h)return;let{top:c,left:l,right:d,bottom:g}=h.getBoundingClientRect();n={"--left-offset":`${s??0}px`,"--top-offset":`${a??0}px`,"--panel-left":`${l??0}px`,"--panel-height":`${o?(i??0)-(r??0):(g??0)-(c??0)}px`,"--panel-width":`${(d??0)-(l??0)}px`,"--view-width":`${t??0}px`,"--view-height":`${i??0}px`}}return n}renderAddLocation(){let{intl:e,sketchPostType:t}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.addRelatedFeature,text:e.t(`prompt.add.${t}`),textEnabled:!0})),u("calcite-action-group",null,u("calcite-action",{icon:"undo",onClick:this.cancelAddRelatedFeature,text:e.t("prompt.remove.existing"),textEnabled:!0})))}renderRemoveLocation(){return u("calcite-action-pad",{"expand-disabled":!0,expanded:!0,layout:"horizontal"},u("calcite-action",{icon:"trash",onClick:this.removeRelatedFeature,text:this.intl.t("location.remove"),textEnabled:!0}))}renderPostLocationPrimaryOptions(){let{activeGraphicDetails:{geometry:{type:e}},intl:t,sketchPostType:i}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.handlePostPendingGraphic,text:t.t(`prompt.add.${i}`),"text-enabled":!0})),u("calcite-action-group",null,u("calcite-action",{icon:e==="point"?"move":"pencil",onClick:this.handleEditActiveGraphic,text:t.t(`prompt.edit.${e}`),"text-enabled":!0}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:t.t(`prompt.remove.${e}`),"text-enabled":!0})))}renderPostLocationEditOptions(){let{intl:e}=this;return u("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},u("calcite-action",{icon:"pencil",onClick:this.handleEditActiveGraphic,text:e.t("prompt.location.edit")}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:e.t("prompt.location.delete")}))}renderMapDiscussion(){let{activeMapDiscussion:e,discussion:t,isHub:i,entityId:s,entity:a,entityType:r,showChannelAvatar:o,showChannelName:n,discussionSettings:h}=this;return this.preview?u("arcgis-hub-discussions-map-preview",{channelId:e.channelId,discussion:t,locationId:e.locationId,parentId:e.postId?e.parentId:void 0,postId:e.postId||e.parentId,ref:c=>{this.onMapDiscussionsPreviewRef=c},showChannelAvatar:o}):u("arcgis-hub-discussions",{channelId:e.channelId,disableNavigation:!e.locationId,discussion:t,discussionSettings:h,dismissible:!0,enableGoTo:!0,entity:a,entityId:s,entityType:r,hasMap:!0,isHub:i,locationId:e.locationId,parentId:e.parentId,postId:e.postId,ref:c=>{this.onMapDiscussionsRef=c},showChannelAvatar:o,showChannelName:n})}render(){let{activeMapDiscussion:e,styles:t,view:i,mapActionNoticeActive:s}=this;return u(S,{key:"ce412a38001cdec7c0839f6e168e1cc9615d0d3a","data-element":"discussions-map-integrator",style:t},e&&this.renderMapDiscussion(),i&&s&&u("arcgis-hub-discussions-map-action-notice",{view:i}))}static get assetsDirs(){return["locales"]}get element(){return E(this)}static get watchers(){return{_context:["initialize"],view:["attachView"],discussionsRef:["attachdiscussionsRef"],drawRef:["handleDrawRefUpdate"],preview:["calculateOffsets"],previewHeight:["calculateOffsets"]}}};m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryGoTo",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeature",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureDeleted",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureSelect",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureHighlight",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleFeatureRemove",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawCreate",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawTypeSelect",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleActiveToolChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEdit",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handlePostEditorReady",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEditCancel",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleDrawGraphicsChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawReset",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryClearAll",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleDiscussionsClose",null);m([F({timeout:50})],p.prototype,"setLocationEditPopover",null);m([f({when(e){return e}}),F({timeout:50})],p.prototype,"refreshFeatures",null);m([f({when(){return this.geometryGraphicsLayer}})],p.prototype,"getGraphicById",null);m([f({when(){return this.highlightGraphicsLayer}})],p.prototype,"clearHoverActiveGraphics",null);m([f({when(){return this.drawRef}})],p.prototype,"saveInitialDrawOptions",null);m([f({when(){return this.drawRef&&this.initialDrawOptions}})],p.prototype,"restoreInitialDrawOptions",null);m([f({when(){return this.currentDiscussionsRef}})],p.prototype,"resetStagedFeatures",null);m([f({when(){return!this.mapActionNoticeActive}})],p.prototype,"handleMapClickDiscussions",null);m([F({timeout:50})],p.prototype,"handleViewSizeChange",null);m([F({timeout:15})],p.prototype,"handlePointerMove",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationPrimaryOptions",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationEditOptions",null);p.style=fe;function ye(e){return[{key:"point",text:e.t("point"),sourceIndex:0},{key:"rectangle",text:e.t("rectangle"),sourceIndex:0},{key:"draw",text:e.t("draw"),sourceIndex:0}]}var ve=":host{display:block}arcgis-hub-map-widget-search calcite-dropdown{position:absolute}arcgis-hub-map-widget-search calcite-input{width:var(--width)}arcgis-hub-map-widget-search calcite-dropdown-group{width:var(--width)}.hub-widget-search.top{position:absolute;width:var(--width)}.hub-widget-search.right{right:100%;margin-right:1rem}.hub-widget-search.left{left:100%;margin-left:1rem}",we=ve,re=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},U=class{get inputScale(){return this.scale==="s"?"m":"l"}constructor(e){_(this,e),this.arcgisHubGeometryResultSelection=I(this,"arcgisHubGeometryResultSelection",7),this.arcgisHubWidgetPanelToggled=I(this,"arcgisHubWidgetPanelToggled",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.tools=void 0,this.scale="m",this.view=void 0,this.searchViewModelProperties={},this.active=void 0,this.openMenuOnSearchSelection=!1,this.completeValidSearch=void 0,this.loading=void 0,this.suggestions=[],this.value=void 0,this.width="25rem",M(this,"handleSetInputRef","searchIfEnter","toggleActive","setInputWidth")}async componentWillLoad(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition,this.intl=await P.loadIntlForComponent(e),await this.connectViewModel()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}componentDidLoad(){V()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}handleActiveChange(e){let{hubTelemetry:t}=this,i=e?w.dictionary.category.interaction.action.open.label.search:w.dictionary.category.interaction.action.close.label.search;t.emit(i),this.setInputWidth()}handleValueChange(){let{value:e,searchViewModel:t}=this;t&&e===""&&t.clear()}handleSearchViewModelChange(){this.connectViewModel()}handlePanelToggled(e){let{target:t,detail:i}=e,{el:s}=this;t!==s&&!i&&(this.active=!1)}onCalciteAutocompleteClose(e){let t=e.target.value;this.completeValidSearch?(t!=="draw"&&this.arcgisHubGeometryResultSelection.emit({geometry:this._getGeometry(t),userSelection:t,locationName:T(this.completeValidSearch,"results[0].results[0].name")}),this.suggestions=[]):(this.selectedKey=t,this.value=this.selected.text,this.search())}onCalciteAutocompleteTextChange(e){this.value=e.target.inputValue}onCalciteAutocompleteTextInput(e){this.value=e.target.inputValue,this.value&&this.getSuggestions()}async handleSetInputRef(e){e&&(this.inputEl=e,await e.setFocus())}async getSuggestions(){let{value:e,completeValidSearch:t,hubTelemetry:i,searchViewModel:s}=this;i.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.search.label.query),{search:e}));let{results:[a]}=await s.suggest(e);t?this.completeValidSearch=null:this.suggestions=a?.results||[]}_getGeometry(e){let t;switch(e){case"point":t=T(this.completeValidSearch,"results[0].results[0].feature.geometry");break;case"rectangle":t=T(this.completeValidSearch,"results[0].results[0].extent");break}return t}async search(){let{value:e,hubTelemetry:t,searchViewModel:i}=this;this.loading=!0;let s=this.selected||e,a=await i.search(s);t.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.to),{details:a?.searchTerm})),this.loading=!1,this.selectedKey=null,setTimeout(()=>{this.completeValidSearch=a?.numResults===1?a:null,this.tools&&this.completeValidSearch?this.addLocationType():this.suggestions=[],this.openMenuOnSearchSelection&&(this.inputEl.open=!0)},150)}addLocationType(){let e=ye(this.intl).filter(t=>this.isValidLocationType(t.key+""));this.suggestions=e.length===1?[]:e}isValidLocationType(e){return this.tools.includes(e)&&!!this._getGeometry(e)||e==="draw"}searchIfEnter(e){let{key:t}=e;t==="Enter"&&this.search()}toggleActive(){let{active:e,arcgisHubWidgetPanelToggled:t}=this;this.active=!e,t.emit(e)}connectWatch(){let{view:e}=this;e&&(this.handle=L(()=>e.size,this.setInputWidth))}removeWatch(){let{handle:e}=this;e&&e.remove(),this.handle=void 0}async connectViewModel(){let{view:e}=this;e&&(await e.when(),this.searchViewModel=new le(Object.assign({autoSelect:!0,suggestionsEnabled:!0,maxResults:1,maxSuggestions:5,minSuggestCharacters:3,view:e},this.searchViewModelProperties)))}setInputWidth(){let{inputEl:e,view:{size:t}}=this;if(!e)return;let[i]=t;this.width=i<600?`${i*.65}px`:"25rem"}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-search ${e.split("-").join(" ")}`}get selected(){let{suggestions:e,selectedKey:t}=this;return e.filter(({key:i})=>i===t).pop()}get styles(){let{width:e}=this;return{"--width":e}}render(){let{value:e,loading:t,scale:i,active:s,styles:a}=this,r=this.intl.t("textOpen"),o=this.intl.t("textClose"),n=this.intl.t("placeholder");return u(S,{key:"e6f2f99d38252ee605da42ac7444c1081c6040a0","data-element":"map-widget-search",style:a},this.active&&u("section",{class:this.positionClass},u("calcite-autocomplete",{icon:"search",loading:t,onKeyPress:this.searchIfEnter,placeholder:n,ref:this.handleSetInputRef,scale:this.inputScale,value:e},this.suggestions.map(h=>u("calcite-autocomplete-item",{handle:!0,heading:h.text,key:h.key,value:h.key})))),u("arcgis-hub-map-widget-generic",{key:"75d5010ec337ce13d5e3cae92b2057a89f1bf843",active:s,"data-test":"map-widget-search",icon:"search",onClick:this.toggleActive,scale:i,text:s?o:r}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"],active:["handleActiveChange"],value:["handleValueChange"],searchViewModelProperties:["handleSearchViewModelChange"]}}};re([F({timeout:150})],U.prototype,"getSuggestions",null);re([F({timeout:25})],U.prototype,"setInputWidth",null);U.style=we;var be="",Ge=be,Ie=class{constructor(e){_(this,e),this.hubTelemetry=I(this,"hubTelemetry",7),this.handles=[],this.view=void 0,this.scale="m",this.canZoomIn=void 0,this.canZoomOut=void 0,M(this,"zoomIn","zoomOut","updateCanZoomIn","updateCanZoomOut")}async componentWillLoad(){let{el:e}=this;this.intl=await P.loadIntlForComponent(e),await this.connectViewModel(),this.connectWatch(),V()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}connectWatch(){let{view:e,handles:t,zoomViewModel:i}=this;e&&i&&t.push(L(()=>i.canZoomIn,this.updateCanZoomIn),L(()=>i.canZoomOut,this.updateCanZoomOut))}removeWatch(){let{handles:e}=this;e.forEach(t=>{t.remove()}),this.handles=[]}async connectViewModel(){let{view:e}=this;if(e){await e.when(),this.zoomViewModel=new de({view:e});let{canZoomIn:t,canZoomOut:i}=this.zoomViewModel;this.canZoomIn=t,this.canZoomOut=i}}updateCanZoomIn(e){this.canZoomIn=e}updateCanZoomOut(e){this.canZoomOut=e}zoomIn(){let{zoomViewModel:e,canZoomIn:t,view:i}=this;e&&t&&(e.zoomIn(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.in),{details:i.zoom})))}zoomOut(){let{zoomViewModel:e,canZoomOut:t,view:i}=this;e&&t&&(this.zoomViewModel.zoomOut(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.out),{details:i.zoom})))}render(){let{zoomIn:e,zoomOut:t,canZoomIn:i,canZoomOut:s,scale:a}=this,r=this.intl.t("zoomIn"),o=this.intl.t("zoomOut");return u(S,{key:"72e18144a87ea9afdaa5c213bb1fec9417e60518","data-element":"map-widget-zoom"},u("arcgis-hub-map-widget-generic",{key:"d4500ad8e952c706e5f8452cc5826e5dd893e922","data-test":"map-widget-zoom-in",disabled:!i,icon:"plus",onClick:e,scale:a,text:r}),u("arcgis-hub-map-widget-generic",{key:"35705de04180d659268f4312a15d57e2bdc9dd5e","data-test":"map-widget-zoom-out",disabled:!s,icon:"minus",onClick:t,scale:a,text:o}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"]}}};Ie.style=Ge;return{arcgis_hub_discussions_map_integrator:p,arcgis_hub_map_widget_search:U,arcgis_hub_map_widget_zoom:Ie}},"layers/GraphicsLayer","core/reactiveUtils","geometry/support/webMercatorUtils","geometry/Extent","Graphic","core/promiseUtils","geometry/geometryEngine","widgets/Search/SearchViewModel","widgets/Zoom/ZoomViewModel","config",a,c,d)
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import a from"./LNSHT5YN.js";import{a as T}from"./ZRWYNZS5.js";import{a as u}from"./IK5ULE6G.js";import{a as D}from"./FNWGEHHB.js";import{c as K}from"./HBSBNZTF.js";import{h as s}from"./XEBYDVWE.js";import{a as b}from"./SQPKSQ4W.js";export default $arcgis.t(([{n:M}])=>{function g(e,t,n,o){var l;let a;if(n==="event")a="#";else if(n==="none")a=void 0;else switch(e.type){case"Hub Site Application":case"Site Application":a=(l=e.links)===null||l===void 0?void 0:l.self;break;default:a=(e.links||{})[n],n!=="self"&&o&&!a?.startsWith("http")&&(a=`${o}${a||""}`);break}return a}var P=e=>e.reduce((t,n)=>{let o=n.split("/"),l=o[o.length-1];return l&&t.push(l),t},[]);function C(e){if(!e)return;let t=e.orgName;return t??(t=e.source),t??(t=e.owner),t}function I(e,t){var n;let o=[];if(!e)return o;e.type&&o.push({i18nKey:"type",value:e.type}),e.updatedDate&&o.push({i18nKey:"dateUpdated",value:e.updatedDate.toLocaleDateString(t)}),!((n=e.tags)===null||n===void 0)&&n.length&&o.push({i18nKey:"tags",value:e.tags.join(", ")});let l=D(e,"categories",[]);return l.length&&o.push({i18nKey:"categories",value:P(l).join(", ")}),e.hasOwnProperty("layerCount")&&o.push({i18nKey:"layers",value:b(e,"layerCount")}),e.hasOwnProperty("pageCount")&&o.push({i18nKey:"pages",value:b(e,"pageCount")}),e.createdDate&&o.push({i18nKey:"dateCreated",value:e.createdDate.toLocaleDateString(t)}),o}var X=(e,t,n,o,l)=>{let{actionLinks:a=[],baseUrl:d="",locale:r="en-US",target:m="self"}=l||{},i={access:e.access,actionLinks:a,additionalInfo:[],badges:[],family:K(e.type),source:e.owner,id:e.id,summary:e.summary,title:e.name,type:e.type};return i=s("titleUrl",g(e,n,m,d),i),i=s("thumbnailUrl",T(e),i),i.additionalInfo=[...i.additionalInfo,...I(e,r)],i},S=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",locale:m="en-US",target:i="self"}=l||{},y={access:e.access,actionLinks:d,additionalInfo:[],badges:[],family:e.family,id:e.id,index:e.index,summary:e.summary,title:e.name,type:e.type};return y=s("titleUrl",g(e,n,i,r),y),y=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,y),y=s("source",C(e),y),y.additionalInfo=[...y.additionalInfo,...I(e,m)],y},Z=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,additionalInfo:L(e),badges:x(e),family:"group",id:e.id,summary:e.summary,title:e.name,type:e.type,source:e.owner};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i},E=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,additionalInfo:L(e),badges:x(e),family:e.family,id:e.id,index:e.index,summary:e.summary,title:e.name,type:e.type};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i=s("source",C(e),i),i},x=(e,t)=>{let n=[];return e.isSharedUpdate&&n.push({i18nKey:"sharedEdit",color:"grey",icon:"pencil-square"}),b(e,"isOpenData")&&n.push({i18nKey:"opendata",color:"grey",icon:"star-circle"}),n},L=(e,t)=>{let n=[];return e.hasOwnProperty("membershipSummary")&&n.push({i18nKey:"members",value:b(e,"membershipSummary.total")}),e.hasOwnProperty("contentCount")&&n.push({i18nKey:"content",value:b(e,"contentCount")}),n},N=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,additionalInfo:[],badges:$(e),family:e.family,id:e.id,index:e.index,summary:e.summary,source:e.name?`@${e.id}`:void 0,title:e.name||`@${e.id}`,type:e.type};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i},$=e=>{let t=[],n=e.memberType;return n&&(e.isGroupOwner?t.push({icon:"user-key",color:"gray",i18nKey:"badges.members.owner",hideLabel:!0,tooltip:{i18nKey:"badges.members.owner"}}):n==="admin"?t.push({icon:"user-up",color:"gray",i18nKey:"badges.members.admin",hideLabel:!0,tooltip:{i18nKey:"badges.members.admin"}}):t.push({icon:"user",color:"gray",i18nKey:"badges.members.member",hideLabel:!0,tooltip:{i18nKey:"badges.members.member"}})),t},G=(e,t,n,o,l)=>{var a,d,r;let{actionLinks:m=[],baseUrl:i="",target:y="self"}=l||{},f=[{i18nKey:"access",value:o.t(e.access)}];!((d=(a=e.includes)===null||a===void 0?void 0:a.groups)===null||d===void 0)&&d.length&&f.push({i18nKey:"groups",value:e.includes.groups.map(p=>p?.title||o.t("groupNotFound")).join(", ")}),f.push({i18nKey:"created",value:o.formatDate(e.createdDate,{year:"numeric",month:"long",day:"numeric"})});let c=Object.assign({access:e.access,actionLinks:m,badges:[],id:e.id,family:"channel",source:e.owner,title:M(e.rawResult,o.t("unnamedChannel")),type:e.type,additionalInfo:f},!isNaN(e.index)&&{index:e.index});return c=s("titleUrl",g(e,n,y,i),c),c=s("thumbnailUrl",(r=e.links)===null||r===void 0?void 0:r.thumbnail,c),c},F=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,additionalInfo:[],badges:[],family:e.family,id:e.id,index:e.index,summary:e.summary,source:e.name?`@${e.owner}`:void 0,title:e.name||`@${e.owner}`,type:e.type};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i},O=(e,t,n,o,l)=>{var a,d,r;let{actionLinks:m=[],baseUrl:i="",target:y="self"}=l||{},f=e.rawResult,c=new Date(f.startDateTime),p=new Date(f.endDateTime),w;if(f.allDay){let j=c.getFullYear()===p.getFullYear()&&c.getMonth()===p.getMonth()&&c.getDate()===p.getDate(),_=o.formatDate(c,{dateStyle:"short"});if(j)w=o.t("allDay",{date:_});else{let A=o.formatDate(p,{dateStyle:"short"});w=o.t("allDayRange",{from:_,to:A})}}else w=o.formatDateTimeRange(c,p,{dateStyle:"short",timeStyle:"short"});let k;f.attendanceType.length===1?k=f.attendanceType.includes("IN_PERSON")?"inPerson":"online":k="hybrid";let U=[{i18nKey:"dateAndTime",value:w},{i18nKey:"attendanceType",value:o.t(k)}];((a=e.location)===null||a===void 0?void 0:a.type)!=="none"&&(!((d=e.location)===null||d===void 0)&&d.name)&&U.splice(1,0,{i18nKey:"location",value:e.location.name});let v={access:e.access,actionLinks:m,badges:[],family:e.family,id:e.id,index:e.index,summary:e.summary,source:e.owner,title:e.name,type:e.type,additionalInfo:U};return v=s("titleUrl",g(e,n,y,i),v),v=s("thumbnailUrl",(r=e.links)===null||r===void 0?void 0:r.thumbnail,v),v},V=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,badges:[],family:e.family,id:e.id,index:e.index,summary:e.summary,source:e.owner,title:e.name,type:e.type,additionalInfo:[]};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i},z=(e,t,n,o,l)=>{let{actionLinks:a=[],locale:d="en-US"}=l||{},r=e.rawResult;return{access:e.access,id:e.id,title:e.name,summary:e.summary,type:e.type,family:e.family,additionalInfo:[{i18nKey:"type",value:o.t(r.parentId?"reply":"post")},{i18nKey:"status",value:o.t(r.status)},{i18nKey:"dateCreated",value:e.createdDate.toLocaleDateString(d)},{i18nKey:"dateUpdated",value:e.updatedDate.toLocaleDateString(d)}],actionLinks:a}},h=(e,t,n,o,l)=>{let a;switch(e.type){case"channel":a=G;break;case"Group":a=E;break;case"User":a=N;break;case"Event Attendee":a=F;break;case"Event":a=O;break;case"Organization":a=V;break;case"Post":a=z;break;default:a=S;break}return a(e,t,n,o,l)};function R(e,t){let n;switch(e){case"self":n=t.family==="site"?Object.assign(Object.assign({},u.dictionary.category.navigation.action.view.label.entityView),{details:t.type}):Object.assign(Object.assign({},u.dictionary.category.navigation.action.external.label.homeApp),{details:t.titleUrl});break;case"siteRelative":n=Object.assign(Object.assign({},u.dictionary.category.navigation.action.view.label.entityView),{details:t.type});break;case"workspaceRelative":n=Object.assign(Object.assign({},u.dictionary.category.navigation.action.view.label.workspace),{details:t.type});break;case"event":case"none":n=null;break;default:n=null}return n}return{a:X,b:Z,c:h,d:R}},a)
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
var E;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(E||(E={}));export{E as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import{a as f,b as c,d as O}from"./QIZKP2N3.js";import{a as E,c as u}from"./BE7764WO.js";import{a as w}from"./DXX5XJRG.js";import{a as R}from"./7KYOAYAN.js";import{a as g}from"./IK5ULE6G.js";import"./TUX6HFFQ.js";import{a as p}from"./JWXIKB6O.js";import"./2GHJUJDX.js";import"./ZR7DYRBL.js";import{b as o,c as D,d as y,e as b,i as v}from"./LEW5WFEM.js";import{a as C}from"./XEBYDVWE.js";import"./SQPKSQ4W.js";import"./IFD5AZJT.js";import"./7SHUV3EE.js";var j=":host{display:flex}:host calcite-input-date-picker{width:auto}",I=j,x=class{constructor(t){v(this,t),this.arcgisHubDateRangePickerSelect=b(this,"arcgisHubDateRangePickerSelect",7),this.hubTelemetry=b(this,"hubTelemetry",7),this.options=C(E),this.layout=void 0,this.value=void 0,this.min=void 0,this.max=void 0,this.selectedValue=void 0,this.customStartDate=void 0,this.customEndDate=void 0,R(this,"handleCalciteInputDatePickerRef")}handleSelectedValueChange(){this.isCustom&&(!this.customStartDate||!this.customEndDate)||(this.arcgisHubDateRangePickerSelect.emit({name:this.selectedValue,startDate:this.startDate,endDate:this.endDate}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.search.label.query),{details:this.selectedValue})))}handleCalciteDropdownOpen(){this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.dropdown),{details:"Date Range"}))}handleCalciteDrodownSelect(){this.selectedValue=this.dropdownEl.selectedItems[0].dataset.value}handleCalciteDatePickerRangeChange(){let[t,e]=Array.isArray(this.calciteInputDatePickerEl.valueAsDate)?this.calciteInputDatePickerEl.valueAsDate:[null,null];t&&(this.customStartDate=t),e&&(this.customEndDate=e)}setDropdownEl(t){this.dropdownEl=t}get isCustom(){return this.selectedValue==="custom"}get startDate(){var t;return(t=u(this.customStartDate,this.customEndDate)[this.selectedValue])===null||t===void 0?void 0:t.startDate}get endDate(){var t;return((t=u(this.customStartDate,this.customEndDate)[this.selectedValue])===null||t===void 0?void 0:t.endDate)||new Date}get _messageOverrides(){return{nextMonth:this.intl.t("nextMonth"),prevMonth:this.intl.t("previousMonth"),year:this.intl.t("year")}}async componentWillLoad(){var t;this.intl=await p.loadIntlForComponent(this.element),typeof this.value=="string"?(this.selectedValue=this.value,this.isCustom&&(this.customStartDate=null,this.customEndDate=null)):!((t=this.value)===null||t===void 0)&&t.length&&(this.selectedValue="custom",this.customStartDate=new Date(this.value[0]),this.customEndDate=new Date(this.value[1]))}handleCalciteInputDatePickerRef(t){if(this.calciteInputDatePickerEl=t,t&&t.shadowRoot&&!t.shadowRoot.querySelector("style[data-hub]")){let e=document.createElement("style");e.dataset.hub="",e.innerHTML=".menu-container { pointer-events: auto !important; }",t.shadowRoot.appendChild(e)}}get buttonText(){let{startDate:t,endDate:e}=this;return this.isCustom?null:`${this.intl.formatDate(t)} - ${this.intl.formatDate(e)}`}renderDropdown(){return o("calcite-dropdown",{ref:this.setDropdownEl.bind(this)},o("calcite-button",{appearance:"outline","icon-end":"chevron-down",kind:"neutral",label:this.intl.t("label",{dateRangeString:this.buttonText}),round:!this.isCustom,slot:"trigger"},this.buttonText),o("calcite-dropdown-group",{"group-title":this.intl.t("title"),"selection-mode":"single"},Object.keys(u()).reduce((t,e)=>(this.options.includes(e)&&t.push(o("calcite-dropdown-item",{"data-value":e,key:e,selected:e===this.selectedValue},this.intl.t(`${e}`))),t),[])))}render(){return o(D,{key:"7566bdb3f2d3f301d8843737c7ca943f26c2c478","data-element":"date-range-picker"},this.isCustom&&o("calcite-input-date-picker",{label:this.intl.t("inputDatePickerLabel"),lang:this.intl.locale,layout:this.layout||"horizontal",max:this.max,messageOverrides:this._messageOverrides,min:this.min,range:!0,ref:this.handleCalciteInputDatePickerRef,role:"application",valueAsDate:[this.customStartDate,this.customEndDate]}),this.renderDropdown())}static get assetsDirs(){return["locales"]}get element(){return y(this)}static get watchers(){return{selectedValue:["handleSelectedValueChange"],customStartDate:["handleSelectedValueChange"],customEndDate:["handleSelectedValueChange"]}}};x.style=I;var h;(function(t){t.sessions="sessions",t.referrers="referrers",t["page-views"]="page-views",t["session-activity"]="session-activity"})(h||(h={}));var k=":host{display:block}arcgis-telemetry-chart{height:100%}",V=k,q=function(t,e,s,i){var a=arguments.length,n=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,s):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,s,n):r(e,s))||n);return a>3&&n&&Object.defineProperty(e,s,n),n},P=class{constructor(t){v(this,t),this.context=void 0,this.telemetryContext={},this.type=void 0,this.reportTitle=void 0,this.titleTooltip=void 0,this.subtitle=void 0,this.trailingText=void 0,this.hostname=void 0,this.contentId=void 0,this.telemetryEvent=void 0,this.dimensionFilters=[],this.series=[],this.dataTransforms=[],this.category=void 0,this.startDate=void 0,this.endDate=void 0,this.orderBy=void 0,this.limit=void 0,this.dataLabel=void 0,this.data=[],this.aggregateData=[],this.error=void 0,this.isLoading=!0}onRequestParamsChange(){this.isLoading=!0,this.data=[],this.aggregateData=[],this.getReportData()}async componentWillLoad(){this.intl=await p.loadIntlForComponent(this.element),this.getReportData()}get dataTransformOptions(){return{seriesTransforms:this.seriesTransforms,dataTransforms:this.dataTransforms,requestParams:this.requestParams}}get isCustomEvent(){return this.telemetryEvent&&typeof this.telemetryEvent!="string"}get seriesTransforms(){let t={};return this.series.forEach(e=>{typeof e!="string"&&(t[e.name.toLowerCase()]=Object.assign(Object.assign({},e.title&&{title:e.title}),e.value&&{value:e.value}))}),t}get _dimensionFilters(){let t=[],e=[];this.contentId&&this.hostname&&(t=[{name:"contentId",any:[this.contentId]}]),this.isCustomEvent&&(e=O(this.telemetryEvent));let s=[...e,...t,...this.dimensionFilters];return s.length?s:void 0}get scope(){if(this.hostname)return{hostname:this.hostname};if(this.contentId)return{contentId:this.contentId}}get requestParams(){let t=this.getDimensions(this.telemetryEvent),e=this.getMetric(this.telemetryEvent);return Object.assign({scope:this.scope,startDate:this.startDate,endDate:this.endDate,timeDimension:this.category,orderBy:this.orderBy,limit:this.limit,dimensionFilters:this._dimensionFilters,emptyRows:!0,metrics:[e]},t.length&&{dimensions:t})}get requestOptions(){var t;return Object.assign(Object.assign({},this.context&&((t=this.context)===null||t===void 0?void 0:t.hubRequestOptions)),this.telemetryContext)}get _dataLabel(){var t;if(this.dataLabel)return this.dataLabel;{let e=(t=Object.entries(c).find(([s,i])=>i===this.getMetric(this.telemetryEvent)))===null||t===void 0?void 0:t[0];return this.intl.t(e)}}getMetric(t){let e={[h.sessions]:c.sessions,[h.referrers]:c["page-views"],[h["page-views"]]:c["page-views"],[h["session-activity"]]:c["session-activity"]};return!this.isCustomEvent&&e[t]||c.custom}getDimensions(t){let e={[h.referrers]:"referrer"},s=this.series.map(a=>typeof a=="string"?a:a.name),i=!this.isCustomEvent&&e[t];return i?[i,...s]:s}get shouldAggregateData(){return!!this.category&&this.type==="metric"}async getReportData(){var t;let{endDate:e,metrics:s,scope:i,startDate:a}=this.requestParams;if(this.context&&i&&a&&e&&!!s.length){try{let{requestParams:r,requestOptions:l}=this,d=await Promise.all([f(r,l),this.shouldAggregateData?f(Object.assign(Object.assign({},r),{orderBy:void 0,timeDimension:void 0}),l):void 0]);this.data=d[0].data,this.aggregateData=(t=d[1])===null||t===void 0?void 0:t.data,this.error=void 0}catch(r){this.error=r.toString()}this.isLoading=!1}}get childComponentProps(){let{aggregateData:t,category:e,data:s,error:i,isLoading:a,dataTransformOptions:n,reportTitle:r,subtitle:l,titleTooltip:d,trailingText:T,type:S,_dataLabel:_}=this,m=Object.assign(Object.assign({category:e,data:s,dataLabel:_,error:i,isLoading:a,options:n,reportTitle:r,subtitle:l},e&&{timeLabel:this.intl.t(e)}),{titleTooltip:d,trailingText:T,type:S});return this.shouldAggregateData&&(m.data=t,m.binnedData=s),m}get isChart(){return["bar","line"].includes(this.type)}render(){let t=this.isChart?"arcgis-telemetry-chart":`arcgis-telemetry-${this.type}`;return o(D,{key:"547a0b527e4e74b3a684006019ab36244083730c","data-element":"telemetry-report"},o(t,Object.assign({key:"8371080d8f200c7af6c754c729a67794cfa402fb"},this.childComponentProps)))}static get assetsDirs(){return["locales"]}get element(){return y(this)}static get watchers(){return{context:["onRequestParamsChange"],startDate:["onRequestParamsChange"],endDate:["onRequestParamsChange"],telemetryEvent:["onRequestParamsChange"]}}};q([w({timeout:10})],P.prototype,"getReportData",null);P.style=V;export{x as arcgis_hub_date_range_picker,P as arcgis_telemetry_report};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import"./7SHUV3EE.js";var e={percent:"\u0646\u0633\u0628\u0629 \u0645\u0626\u0648\u064A\u0629",values:"\u0642\u064A\u0645",standardizedValues:"\u0627\u0644\u0642\u064A\u0645 \u0627\u0644\u0645\u0639\u064A\u0627\u0631\u064A\u0629",count:"\u0639\u062F\u062F",aggregationOfValues:"${ aggregation } \u0645\u0646 \u0627\u0644\u0642\u064A\u0645",aggregationOfFieldName:"${ aggregation } \u0645\u0646 ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } \u0628\u0640 ${ category }",aggrTypeCategory:"${ aggregationType } \u0628\u0640 ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } \u0645\u0646 ${ category } \u0645\u0646 ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } \u0645\u0646 ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } \u0644\u0640 ${ aggregationField } \u0645\u0646 ${ category } \u0645\u0646 ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } \u0644\u0640 ${ aggregationFields } \u0645\u0646 ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } \u0628\u0640 ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } \u0628\u0640 ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } \u0645\u0646 ${ xAxisField } \u0645\u0646 ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } \u0644\u0640 ${ aggregationField } \u0645\u0646 ${ xAxisField } \u0645\u0646 ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } \u0644\u0640 ${ aggregationFields } \u0645\u0646 ${ xAxisField }",distributionOfField:"\u062A\u0648\u0632\u064A\u0639 ${ valueField }",distributionOfFields:"\u062A\u0648\u0632\u064A\u0639 ${ valueFields }",distributionOfFieldsByCategory:"\u062A\u0648\u0632\u064A\u0639 ${ valueFields } \u0628\u0648\u0627\u0633\u0637\u0629 ${ category }",distributionOfFieldsByCategoryAndSplitBy:"\u062A\u0648\u0632\u064A\u0639 ${ valueFields } \u0628\u0648\u0627\u0633\u0637\u0629 ${ category } \u0648 ${ splitByField }",xAndY:"${ x } \u0648${ y }"},i={barChart:"\u0627\u0644\u0645\u062E\u0637\u0637 \u0627\u0644\u0634\u0631\u064A\u0637\u064A",lineChart:"\u0645\u062E\u0637\u0637 \u062E\u0637\u064A",pieChart:"\u0645\u062E\u0637\u0637 \u062F\u0627\u0626\u0631\u064A",histogram:"\u0645\u062F\u0631\u062C \u062A\u0643\u0631\u0627\u0631\u064A",scatterplot:"Scatterplot"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
+
v0.13.2 */
|
|
4
|
+
var u=(l,r,e,s)=>{var n;let{i18nScope:t}=((n=l?.options)===null||n===void 0?void 0:n.enum)||{},{fallback:i,path:a}=s||{},d=i;if(e&&t){let o=`${t}.${r}`;a&&(o=`${o}.${a}`),d=e(o,void 0,{fallback:i})}return d};export{u as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import{d as E}from"./K5N2WJE6.js";import{a as b,b as y,c as S,d as F}from"./AC4GFDLZ.js";import"./2N74XZ6E.js";import"./OAERCPNT.js";import"./B7LTYEFM.js";import"./G6L7SR3Q.js";import"./M25MRPNV.js";import"./AJ45E4BU.js";import"./FOYVZHZK.js";import"./OAMLJQSJ.js";import"./3CXH2DSB.js";import"./KU52PEXV.js";import"./FLSBDOEF.js";import"./S55BGDHX.js";import"./VVVU2QG3.js";import"./6CYXNSJW.js";import"./BEG4UO2U.js";import"./DJMTBGD3.js";import"./IEGKMAR4.js";import"./FTL6QD3B.js";import"./WVTNKXWF.js";import"./UBBE3JVH.js";import"./3CFKE7UB.js";import"./DKE36R5M.js";import"./ASFROY2D.js";import"./SQK2A6TV.js";import"./L2VTDOFB.js";import"./HADXLWLX.js";import"./TWGRQKUU.js";import"./OI7FIIWI.js";import"./XD6BW5RF.js";import"./5MI5MIKU.js";import"./W6JRJ7LC.js";import"./V4PFAUUV.js";import"./4K4S3EVD.js";import"./ZX75NBEW.js";import"./5O6UMPJK.js";import"./5AHAIWP6.js";import"./5RYOZJE3.js";import"./ZINC3YJ2.js";import"./ABDYWJY7.js";import"./BTVZ2EYQ.js";import"./PRLP7RUI.js";import"./3BMGRGZE.js";import"./JQGAC2QV.js";import"./UZI5W2RF.js";import"./NNWZMV2T.js";import"./BDCG223O.js";import"./IKEMMKMQ.js";import"./3TK4DI33.js";import"./UH55HKKM.js";import"./4VTWY7RD.js";import"./AAELR64M.js";import"./CPGFUI6B.js";import"./HWTZW62T.js";import"./42OPNUMF.js";import"./26IVAQIJ.js";import"./7LON3SHO.js";import"./DOJ5M5IA.js";import"./NPZKUZMM.js";import"./WPGYHDOL.js";import"./YLB2BTXL.js";import"./TXSU4AJX.js";import"./QSJQA2JK.js";import"./YJZYJK4E.js";import{a as _}from"./XFCNSE6N.js";import{a as k}from"./7KYOAYAN.js";import{c as I,j as U}from"./WP52OYF5.js";import"./KVJMPCHB.js";import"./IK5ULE6G.js";import"./TUX6HFFQ.js";import{a as C}from"./JWXIKB6O.js";import"./2GHJUJDX.js";import"./ZR7DYRBL.js";import{b as c,c as T,d as V,e as O,h as $,i as D}from"./LEW5WFEM.js";import"./ADO6DCED.js";import"./DCMVD43A.js";import"./S2YHPNVL.js";import"./FO4OYX3H.js";import"./ZICCR6P7.js";import"./LW3GIMAC.js";import"./S3KHEJBV.js";import"./FNWGEHHB.js";import"./WHO5TMWB.js";import"./HBSBNZTF.js";import"./3F6E36WD.js";import{g}from"./XEBYDVWE.js";import"./SQPKSQ4W.js";import"./IFD5AZJT.js";import"./7SHUV3EE.js";var M="arcgis-configuration-editor{margin-top:0.5rem;margin-bottom:0.5rem}",H=M,R=class{connectedCallback(){U(this)}disconnectedCallback(){this.disconnectContext()}constructor(i){D(this,i),this.arcgisCompositeExpressionSetFieldChange=O(this,"arcgisCompositeExpressionSetFieldChange",7),this.values={},this.fields=[],this.expressions=[],this._context=I(),k(this,"translationFunc","handleEditorChangeEvent","handleAddExpression","handleDeleteExpression")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element),this.values&&(this.expressions=this.repairExpressionsFromMigration(this.values),this.internalValues=this.transformExpressionsToSchemaValues(this.expressions)),this._uiSchema=y(this.getUiSchemaElements(this.expressions)),this._schema=b(this.getSchemaProperties(this.expressions))}getSchemaProperties(i){return i?.reduce((t,e)=>{var o,s;if(e){let l=(o=e?.field)===null||o===void 0?void 0:o.type,r={type:"string",enum:[...(s=this.fields)===null||s===void 0?void 0:s.map(d=>d.name),""]};if(t=Object.assign(Object.assign({},t),{[`combobox-${e.key}`]:r}),l){let d=this.intl.t(e?.relationship||F[l]),m={type:"string",default:d,enum:[d]};t=Object.assign(Object.assign({},t),{[`select-${e.key}`]:m});let a=l==="esriFieldTypeString"||l==="esriFieldTypeDate"?{type:"string"}:{type:"number"};if(t=Object.assign(Object.assign({},t),{[`value-1-${e.key}`]:a}),l!=="esriFieldTypeString"){let p={type:l==="esriFieldTypeDate"?"string":"number"};t=Object.assign(Object.assign({},t),{[`value-2-${e.key}`]:p})}}}return t},{})}getUiSchemaElements(i){return i?.reduce((t,e)=>{var o,s,l,n,r,d,m;if(e){let a=[],p=(o=e?.field)===null||o===void 0?void 0:o.type,A={scope:`/properties/combobox-${e.key}`,type:"Control",label:this.intl.t("selectAttribute"),options:{control:"hub-field-input-combobox",items:(s=this.fields)===null||s===void 0?void 0:s.map(u=>({value:u.name,label:u.name,icon:E(u.type)})),allowCustomValues:!1,selectionMode:"single",overlayPositioning:"fixed"}};if(a.push(A),p){let u={scope:`/properties/select-${e.key}`,type:"Control",label:this.intl.t("filterType"),options:{control:"hub-field-input-select",disabled:!0}};a.push(u);let v={},f;p==="esriFieldTypeString"?(f=this.intl.t("filterValue"),v=!((r=(n=(l=e?.field)===null||l===void 0?void 0:l.domain)===null||n===void 0?void 0:n.codedValues)===null||r===void 0)&&r.length?{control:"hub-field-input-combobox",allowCustomValues:!1,selectionMode:"single",overlayPositioning:"fixed",items:(m=(d=e?.field)===null||d===void 0?void 0:d.domain)===null||m===void 0?void 0:m.codedValues.map(h=>({value:h.name,label:h.name}))}:{control:"hub-field-input-input"}):p==="esriFieldTypeDate"?(f=this.intl.t("startingDate"),v={control:"hub-field-input-date",overlayPositioning:"fixed"}):(f=this.intl.t("startingValue"),v={control:"hub-field-input-input",type:"number"});let P={scope:`/properties/value-1-${e.key}`,type:"Control",label:f,options:v};if(a.push(P),p!=="esriFieldTypeString"){let h={};h=p==="esriFieldTypeDate"?{control:"hub-field-input-date",overlayPositioning:"fixed"}:{control:"hub-field-input-input",type:"number"};let L=p==="esriFieldTypeDate"?this.intl.t("endingDate"):this.intl.t("endingValue"),N={scope:`/properties/value-2-${e.key}`,type:"Control",label:L,options:h};a.push(N)}}let j={type:"Section",label:this.intl.t("attributeFilter"),options:{section:"block",scale:"s",collapsible:!1,open:!0,actions:[{alignment:"end",icon:"trash",key:e.key,label:this.intl.t("deleteFilter"),onClick:this.handleDeleteExpression,scale:"s",textEnabled:!0}]},elements:a};t=[...t,j]}return t},[])}repairExpressionsFromMigration(i){return i.map(t=>{var e,o;if(t.key||(t.key=g("expression-")),!(!((e=t.field)===null||e===void 0)&&e.type)&&(!((o=t.field)===null||o===void 0)&&o.name)){let s=t.field.name,l=this.fields.find(n=>n.name===s);t.field=l}return t})}transformExpressionsToSchemaValues(i){return i.reduce((t,e)=>{let{key:o,values:s=[],field:l}=e;return t=Object.assign(Object.assign({},t),{[`combobox-${o}`]:l?.name,[`value-1-${o}`]:s[0],[`value-2-${o}`]:s[1]}),t},{})}handleEditorChangeEvent(i){i.stopImmediatePropagation(),i.stopPropagation();let{valid:t,values:e}=i.detail;this.updateExpressionsAndValuesOnChange(this.expressions,e,this.fields),this.isValid=t,t&&this.arcgisCompositeExpressionSetFieldChange.emit(this.expressions)}updateExpressionsAndValuesOnChange(i,t,e){let o=!1,s=i.reduce((l,n)=>{var r,d,m;let a={key:n.key,values:[]},p=t[`combobox-${n?.key}`];return p&&(a=this.updateExpressionField(a,p,e),a=this.updateExpressionRelationship(a),a=this.updateExpressionValues(a,n,t),t=this.updateInternalValues(a,t)),(((r=a?.field)===null||r===void 0?void 0:r.name)!==((d=n?.field)===null||d===void 0?void 0:d.name)||p==""&&((m=n.field)===null||m===void 0?void 0:m.name)!==void 0)&&(o=!0),l=[...l,a],l},[]);o&&(this.updateSchema(s),this.updateUiSchema(s)),this.expressions=s,this.internalValues=t}updateExpressionField(i,t,e){let o=e.find(s=>s.name===t);return o&&(i.field=o),i}updateExpressionRelationship(i){var t;return i.relationship=((t=i?.field)===null||t===void 0?void 0:t.type)==="esriFieldTypeString"?i.relationship=S.IS_EXACTLY:i.relationship=S.BETWEEN,i}updateExpressionValues(i,t,e){var o,s;((o=i?.field)===null||o===void 0?void 0:o.name)!==((s=t?.field)===null||s===void 0?void 0:s.name)&&(e[`value-1-${i?.key}`]=void 0,e[`value-2-${i?.key}`]=void 0);let l=e[`value-1-${i?.key}`],n=e[`value-2-${i?.key}`],r=[];return _(l)||(r[0]=l),_(n)||(r[1]=n),i.values=r,i}updateInternalValues(i,t){return i.key&&i.relationship&&(t[`select-${i.key}`]=this.intl.t(i.relationship)),t}translationFunc(i,t,e){return this.intl.t(i,t,e)}updateSchema(i){this._schema=b(this.getSchemaProperties(i))}updateUiSchema(i){this._uiSchema=y(this.getUiSchemaElements(i))}handleAddExpression(){let i=[...this.expressions],t={values:[],key:g("expression-")};i.push(t),this.updateSchema(i),this.updateUiSchema(i),this.expressions=i}handleDeleteExpression(i){let t=i.target,e=t?.getAttribute("data-key"),o=[...this.expressions];o=o.reduce((s,l)=>(l.key!==e&&(s=[...s,l]),s),[]),this.updateSchema(o),this.updateUiSchema(o),this.arcgisCompositeExpressionSetFieldChange.emit(o),this.expressions=o}resetExpressions(i){let t=[...this.expressions],e=t.length;t=t.filter(o=>i.find(s=>{var l,n;return s.name===((l=o?.field)===null||l===void 0?void 0:l.name)&&s.type===((n=o?.field)===null||n===void 0?void 0:n.type)})),this.updateSchema(t),this.updateUiSchema(t),this.expressions.length!==e&&this.arcgisCompositeExpressionSetFieldChange.emit(t),this.expressions=t}renderExpressionSet(){if(this.fields.length)return c($,null,c("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChangeEvent,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this.internalValues||this.values}),c("calcite-button",{appearance:"outline-fill",color:"blue",iconStart:"filter",onClick:this.handleAddExpression,round:!0},this.intl.t("addFilter")))}render(){return c(T,{key:"e7f98cea1aed8342ea5602efca1ce32ec54841d9"},this.renderExpressionSet())}static get assetsDirs(){return["locales"]}get element(){return V(this)}static get watchers(){return{_context:["updateUiSchema"],fields:["resetExpressions"]}}};R.style=H;export{R as hub_composite_input_expression_set};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
var c=(e,t="v")=>{if(!e)return e;let n=e.indexOf("?")>-1?"&":"?";return e+=`${n}${t}=${new Date().getTime()}`,e};export{c as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.13/esri/copyright.txt for details.
|
|
3
|
+
v0.13.2 */
|
|
4
|
+
import{b as e,c as r}from"./W7KIG6MS.js";import{a as n}from"./SQPKSQ4W.js";async function g(a,s,i,p,o){let t=[];try{t=e(i)}catch(c){return{identifier:a,isContained:!1,catalogInfo:{},duration:0,reason:n(c,"message")||"An error occurred while parsing path."}}return o&&(t=[...t,{id:"root",hubEntityType:"site",catalog:o}]),r(a,s,t,p)}var u=a=>!!a.isOpenData;export{g as a,u as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.2 */
|
|
4
|
+
import{a as d}from"./WNF237VL.js";import{d as y}from"./V4PFAUUV.js";import{b as p}from"./26IVAQIJ.js";import"./QSJQA2JK.js";import{c as H}from"./WP52OYF5.js";import"./KVJMPCHB.js";import{a as i}from"./IK5ULE6G.js";import"./TUX6HFFQ.js";import{a as u}from"./JWXIKB6O.js";import"./2GHJUJDX.js";import"./ZR7DYRBL.js";import{b as e,c as b,d as g,e as r,h as v,i as f}from"./LEW5WFEM.js";import{a as c,b as m}from"./LW3GIMAC.js";import{o as h}from"./S3KHEJBV.js";import"./FNWGEHHB.js";import"./WHO5TMWB.js";import"./HBSBNZTF.js";import"./3F6E36WD.js";import{s as l}from"./XEBYDVWE.js";import"./SQPKSQ4W.js";import"./IFD5AZJT.js";import"./7SHUV3EE.js";var w=':host{display:block}calcite-navigation{--calcite-navigation-background:var(--calcite-color-foreground-2);--foreground-1:var(--calcite-color-foreground-1)}calcite-menu-item{--calcite-color-foreground-1:var(--calcite-navigation-background);--calcite-color-foreground-2:var(--foreground-1)}calcite-popover{background-color:var(--calcite-color-foreground-2)}calcite-popover p{margin:0px;display:flex;max-width:20rem;flex-direction:column;gap:0.5rem;padding:0.75rem}calcite-popover .site-title{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold)}calcite-popover .site-title,calcite-popover .edit-site-btn{margin-bottom:0.25rem}calcite-popover p>div{display:flex;align-items:center;gap:0.5rem}.non-interactive{pointer-events:none}.controls-container{display:none;gap:1rem;margin-inline-end:1rem}[slot="content-center"]{display:none}[slot="user"]{display:flex;align-items:center;margin-inline-end:1rem}@media (min-width: 768px){[slot="content-center"],.controls-container{display:flex}}',k=w,L=class{constructor(n){f(this,n),this.arcgisHubLayoutEditorHeaderShare=r(this,"arcgisHubLayoutEditorHeaderShare",7),this.arcgisHubLayoutEditorHeaderPreviewPublished=r(this,"arcgisHubLayoutEditorHeaderPreviewPublished",7),this.arcgisHubLayoutEditorHeaderPreviewDraft=r(this,"arcgisHubLayoutEditorHeaderPreviewDraft",7),this.arcgisHubLayoutEditorHeaderPublish=r(this,"arcgisHubLayoutEditorHeaderPublish",7),this.arcgisHubLayoutEditorHeaderSave=r(this,"arcgisHubLayoutEditorHeaderSave",7),this.arcgisHubLayoutEditorHeaderClone=r(this,"arcgisHubLayoutEditorHeaderClone",7),this.arcgisHubLayoutEditorHeaderDeleteDraft=r(this,"arcgisHubLayoutEditorHeaderDeleteDraft",7),this.arcgisHubLayoutEditorHeaderDelete=r(this,"arcgisHubLayoutEditorHeaderDelete",7),this.arcgisHubLayoutEditorHeaderSaveAsTemplate=r(this,"arcgisHubLayoutEditorHeaderSaveAsTemplate",7),this.hubTelemetry=r(this,"hubTelemetry",7),this.handleWorkspaceItemClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.workspace})},this.handleSiteMenuItemClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.interaction.action.open.label.popover.details.site})},this.handleAccessChange=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.workspace.details.sharing}),this.arcgisHubLayoutEditorHeaderShare.emit(this.entity)},this.handleEditS123ButtonClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.edit.label.content})},this.handleViewButtonClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.interaction.action.open.label.menu.details.view})},this.handlePreviewPublished=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.publishedDraft}),this.arcgisHubLayoutEditorHeaderPreviewPublished.emit(this.entity)},this.handlePreviewDraft=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.previewDraft}),this.arcgisHubLayoutEditorHeaderPreviewDraft.emit(this.entity)},this.handlePublish=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.content.action.update.label.layout.details.publish}),this.arcgisHubLayoutEditorHeaderPublish.emit(this.entity)},this.handleSave=()=>{this.arcgisHubLayoutEditorHeaderSave.emit(this.entity)},this.handleOverflowButtonClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.interaction.action.open.label.menu.details.options})},this.handleClone=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.content.action.create.label.site.details.clone}),this.arcgisHubLayoutEditorHeaderClone.emit(this.entity)},this.handleDeleteDraft=()=>{this.arcgisHubLayoutEditorHeaderDeleteDraft.emit(this.entity)},this.handleDelete=()=>{let a=c(this.entity),t=i.dictionary.category.content.action.delete.label[a];this.hubTelemetry.emit({telemetry:t}),this.arcgisHubLayoutEditorHeaderDelete.emit(this.entity)},this.handleSaveAsTemplate=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.content.action.create.label.template.details.site}),this.arcgisHubLayoutEditorHeaderSaveAsTemplate.emit(this.entity)},this.handleEditLayout=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.layoutEditor})},this.handleViewSite=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.site})},this.entity=void 0,this.site=void 0,this.saveButtonDisabled=void 0,this.isDirty=void 0,this.isPublishing=void 0,this.isSaving=void 0,this.showClone=void 0,this.showDelete=void 0,this.isActivatingTemplate=void 0}get context(){return H()}get shouldRenderWorkspaceLink(){return!!this.isActivatingTemplate}get type(){return c(this.entity)}get isSite(){return this.type==="site"}get isPage(){return this.type==="page"}get entityControls(){switch(this.type){case"template":return["save"];case"survey":return["editS123","view","publish","save","more"];case"user":return[];default:return["share","view","publish","save","more"]}}async componentWillLoad(){this.intl=await u.loadIntlForComponent(this.element)}get sharingButtonIcon(){return d(this.entity.access)}get saveButtonIcon(){return this.isDirty?"exclamation-mark-circle":void 0}renderSitePopover(){let{context:n,isSite:a,site:t}=this;if(!a&&t&&this.type!=="user"){let o=d(t.access),s=h("hub:site:edit",n,t).access;return e("calcite-popover",{"auto-close":!0,label:t.name,placement:"bottom","reference-element":"popover-trigger"},e("p",null,e("div",{class:"site-title"},t.name),e("div",null,e("calcite-icon",{icon:o,scale:"s"}),this.intl.t(`popover.access.${t.access}`)),e("div",null,e("calcite-icon",{icon:"clock",scale:"s"}),this.intl.t("popover.lastUpdated",{updated:this.intl.formatDate(t.updatedDate)})),s&&e("calcite-button",{class:"edit-site-btn",href:"/edit",onClick:this.handleEditLayout,round:!0,width:"full"},this.intl.t("popover.editLayout")),e("calcite-button",{appearance:"outline",href:"/",kind:"neutral",onClick:this.handleViewSite,round:!0,width:"full"},this.intl.t("popover.viewSite"))))}}get workspaceUrl(){return m(this.context,{type:this.type,id:this.entity.id})}renderMenus(){let{entity:n,isSite:a,site:t}=this,o=`manage${l(this.type)}`,s=(a||!!t)&&this.type!=="user";return e(v,null,!this.shouldRenderWorkspaceLink&&e("calcite-menu",{slot:"content-start"},e("calcite-menu-item",{href:this.workspaceUrl,"icon-start":"gear",onClick:this.handleWorkspaceItemClick,text:this.intl.t(o),"text-enabled":!0})),e("calcite-menu",{slot:"content-center"},this.renderSitePopover(),s&&e("calcite-menu-item",{active:a,breadcrumb:!this.isSite,class:a?"non-interactive":"","icon-start":"browser",id:"popover-trigger",onClick:this.handleSiteMenuItemClick,tabindex:a?"-1":"0",text:t?.name,"text-enabled":!0}),!a&&this.type!=="user"&&e("calcite-menu-item",{active:!a,class:"non-interactive","icon-start":"maximize",tabindex:"-1",text:n.name,"text-enabled":!0})))}renderControls(){let{entity:n}=this,a=`delete${l(this.type)}Label`,t=p(n.id,this.context.portalUrl);return e("div",{class:"controls-container",slot:"content-end"},this.entityControls.includes("share")&&e("arcgis-ref-tooltip",{text:this.intl.t(`access.tooltip.${n.access}`)},e("calcite-button",{appearance:"transparent",href:y(n.type,n.id,"settings-sharing"),"icon-start":this.sharingButtonIcon,kind:"neutral",label:this.intl.t("sharingLabel"),onClick:this.handleAccessChange,round:!0})),this.entityControls.includes("editS123")&&e("calcite-button",{appearance:"solid",kind:"neutral",onClick:this.handleEditS123ButtonClick,round:!0},this.intl.t("editS123Label")),this.entityControls.includes("view")&&e("calcite-dropdown",null,e("calcite-button",{appearance:"outline","icon-end":"chevron-down",kind:"neutral",onClick:this.handleViewButtonClick,round:!0,slot:"trigger"},this.intl.t("viewLabel")),e("calcite-dropdown-group",{selectionMode:"none"},e("calcite-dropdown-item",{onClick:this.handlePreviewPublished},this.intl.t("viewPublishedLabel")),e("calcite-dropdown-item",{onClick:this.handlePreviewDraft},this.intl.t("viewUnpublishedLabel")))),this.entityControls.includes("publish")&&e("calcite-button",{appearance:"outline",disabled:this.saveButtonDisabled||this.isPublishing,kind:"neutral",loading:this.isPublishing,onClick:this.handlePublish,round:!0},this.intl.t(`publishLabel.${this.type}`)),this.entityControls.includes("save")&&e("calcite-button",{appearance:"solid",disabled:this.saveButtonDisabled||this.isSaving,"icon-start":this.saveButtonIcon,kind:"brand",loading:this.isSaving,onClick:this.handleSave,round:!0},this.intl.t(`saveLabel.${this.type}`)),this.entityControls.includes("more")&&e("calcite-dropdown",null,e("calcite-button",{appearance:"transparent","icon-start":"ellipsis",kind:"neutral",label:this.intl.t("moreOptionsLabel"),onClick:this.handleOverflowButtonClick,round:!0,slot:"trigger"}),e("calcite-dropdown-group",{selectionMode:"none"},this.showClone&&e("calcite-dropdown-item",{onClick:this.handleClone},this.intl.t("cloneLayoutLabel")),e("calcite-dropdown-item",{href:t},this.intl.t("editInAgoLabel")),(this.isSite||this.isPage)&&e("calcite-dropdown-item",{onClick:this.handleDeleteDraft},this.intl.t("deleteDraftLabel")),this.showDelete&&e("calcite-dropdown-item",{onClick:this.handleDelete},this.intl.t(a)),this.isSite&&!this.context.isPortal&&e("calcite-dropdown-item",{onClick:this.handleSaveAsTemplate},this.intl.t("saveAsTemplateLabel")))))}render(){if(this.entity)return e(b,{key:"04ecbe2e3b67b4773e6170d1d8c4e6486c6613a4","data-element":"layout-editor-header"},e("calcite-navigation",{key:"2b5dda2eed2dd279ce5bc98bc3e0e035090920ec"},this.renderMenus(),this.renderControls(),e("arcgis-hub-user-profile",{key:"b8a913e4e7e10b4ebc237742f3ca45fad290b4a7",slot:"user",variant:"minimal"})))}static get assetsDirs(){return["locales"]}get element(){return g(this)}};L.style=k;export{L as arcgis_hub_layout_editor_header};
|