@esri/hub-web-components 0.32.0 → 0.32.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/23XWDPK4.js +4 -0
- package/dist/cdn/27KDCN5U.js +4 -0
- package/dist/cdn/2CQQJKXU.js +4 -0
- package/dist/cdn/2CYZTGXM.js +4 -0
- package/dist/cdn/2F6PVVOP.js +4 -0
- package/dist/cdn/2GZOTYXK.js +4 -0
- package/dist/cdn/2HAYMGYC.js +4 -0
- package/dist/cdn/2I2XRKZ5.js +4 -0
- package/dist/cdn/2LKLR573.js +4 -0
- package/dist/cdn/2NHSOGQB.js +4 -0
- package/dist/cdn/2OKQ6BLU.js +4 -0
- package/dist/cdn/2QPU7XUT.js +4 -0
- package/dist/cdn/2QQGVT3J.js +5 -0
- package/dist/cdn/2RMQLAQJ.js +4 -0
- package/dist/cdn/2ZTJHITH.js +4 -0
- package/dist/cdn/327UUWS5.js +4 -0
- package/dist/cdn/34R2ZMFF.js +4 -0
- package/dist/cdn/377WZC66.js +4 -0
- package/dist/cdn/3A7J5HQ7.js +4 -0
- package/dist/cdn/3EFA2VO4.js +4 -0
- package/dist/cdn/3H2FOLDY.js +4 -0
- package/dist/cdn/3KXECBQG.js +4 -0
- package/dist/cdn/3LOP5RUG.js +4 -0
- package/dist/cdn/3NECY2LT.js +4 -0
- package/dist/cdn/3NGKHZMR.js +4 -0
- package/dist/cdn/3O5E4DN5.js +4 -0
- package/dist/cdn/3PIEJ42Q.js +4 -0
- package/dist/cdn/3SBDYK5X.js +4 -0
- package/dist/cdn/3SVTJL4A.js +52 -0
- package/dist/cdn/3TIPC4VW.js +4 -0
- package/dist/cdn/3VBJ6Q4P.js +4 -0
- package/dist/cdn/3VUD6CFD.js +4 -0
- package/dist/cdn/3W4Y4GKE.js +4 -0
- package/dist/cdn/43ZMSR7Y.js +4 -0
- package/dist/cdn/4BYWJM5M.js +4 -0
- package/dist/cdn/4CT6JXBR.js +4 -0
- package/dist/cdn/4EHJDEB7.js +4 -0
- package/dist/cdn/4FAN6ISR.js +4 -0
- package/dist/cdn/4FMEOT4K.js +4 -0
- package/dist/cdn/4HKRH4ZE.js +4 -0
- package/dist/cdn/4I6HKASO.js +6 -0
- package/dist/cdn/4ICTKLYH.js +4 -0
- package/dist/cdn/4IZR4QQQ.js +4 -0
- package/dist/cdn/4KYGAE6X.js +4 -0
- package/dist/cdn/4MBOBQJP.js +4 -0
- package/dist/cdn/4NJPVJOB.js +4 -0
- package/dist/cdn/4OGJ3VCQ.js +4 -0
- package/dist/cdn/4QACFKA6.js +4 -0
- package/dist/cdn/4QPU3MIO.js +4 -0
- package/dist/cdn/4RXMKBIY.js +4 -0
- package/dist/cdn/4SWGIAH7.js +4 -0
- package/dist/cdn/4UH3KQNE.js +4 -0
- package/dist/cdn/4VGHRRJ4.js +4 -0
- package/dist/cdn/4ZGSSI5T.js +4 -0
- package/dist/cdn/4ZL3UCVW.js +4 -0
- package/dist/cdn/544TXLOO.js +4 -0
- package/dist/cdn/577VYQZA.js +4 -0
- package/dist/cdn/5AF6L7VH.js +4 -0
- package/dist/cdn/5CZNXHWB.js +4 -0
- package/dist/cdn/5FUDM7W2.js +4 -0
- package/dist/cdn/5GHZH2SJ.js +4 -0
- package/dist/cdn/5GISWZLR.js +4 -0
- package/dist/cdn/5HL7N6S3.js +4 -0
- package/dist/cdn/5J6RVEDS.js +4 -0
- package/dist/cdn/5KORXT7P.js +4 -0
- package/dist/cdn/5NTU3TKH.js +4 -0
- package/dist/cdn/5OKIAJ3O.js +4 -0
- package/dist/cdn/5ONJIXUA.js +4 -0
- package/dist/cdn/5OUKNC5U.js +4 -0
- package/dist/cdn/5PLMSYR4.js +4 -0
- package/dist/cdn/5PNAFCSN.js +4 -0
- package/dist/cdn/5SOLQGF6.js +4 -0
- package/dist/cdn/5SR4EYA4.js +4 -0
- package/dist/cdn/5TCWEK2X.js +4 -0
- package/dist/cdn/5U7LLLHH.js +4 -0
- package/dist/cdn/623VYKXU.js +4 -0
- package/dist/cdn/62M5ASHJ.js +4 -0
- package/dist/cdn/64PZA474.js +4 -0
- package/dist/cdn/656TMIOD.js +4 -0
- package/dist/cdn/65KNZZAM.js +4 -0
- package/dist/cdn/6AQQLEOG.js +4 -0
- package/dist/cdn/6B7H2QXV.js +4 -0
- package/dist/cdn/6BELD4M4.js +4 -0
- package/dist/cdn/6BW2QSJF.js +4 -0
- package/dist/cdn/6E56PNG7.js +4 -0
- package/dist/cdn/6IFJZRXQ.js +4 -0
- package/dist/cdn/6J3JZGCQ.js +4 -0
- package/dist/cdn/6KGVXTT5.js +4 -0
- package/dist/cdn/6LXRO3QF.js +4 -0
- package/dist/cdn/6NSEZF5F.js +4 -0
- package/dist/cdn/6OVTX7CL.js +4 -0
- package/dist/cdn/6PNSTEDO.js +4 -0
- package/dist/cdn/6UDTDR5A.js +4 -0
- package/dist/cdn/6VID7TZL.js +4 -0
- package/dist/cdn/6VZDRSGX.js +4 -0
- package/dist/cdn/6WDVSVGW.js +4 -0
- package/dist/cdn/6XTOFD2P.js +4 -0
- package/dist/cdn/6ZBSUFKE.js +4 -0
- package/dist/cdn/75B44T4C.js +4 -0
- package/dist/cdn/76NAA2IE.js +4 -0
- package/dist/cdn/773SDT2F.js +4 -0
- package/dist/cdn/77MR2M7Y.js +4 -0
- package/dist/cdn/7ABFRZGV.js +4 -0
- package/dist/cdn/7BCHHUE4.js +4 -0
- package/dist/cdn/7BGMRGQN.js +4 -0
- package/dist/cdn/7EAX5XIM.js +4 -0
- package/dist/cdn/7GYBADTZ.js +4 -0
- package/dist/cdn/7H56JNAW.js +4 -0
- package/dist/cdn/7IS3FIQG.js +4 -0
- package/dist/cdn/7LFBNUMZ.js +4 -0
- package/dist/cdn/7LL3OEPM.js +4 -0
- package/dist/cdn/7LSNHWHN.js +4 -0
- package/dist/cdn/7MCKUUEY.js +4 -0
- package/dist/cdn/7MFWVC2G.js +4 -0
- package/dist/cdn/7NBZMMQ5.js +4 -0
- package/dist/cdn/7NKFEP4B.js +4 -0
- package/dist/cdn/7OYQF6BX.js +41 -0
- package/dist/cdn/7PNLKFFQ.js +4 -0
- package/dist/cdn/7Q3DYPTV.js +4 -0
- package/dist/cdn/7RCGIOBD.js +4 -0
- package/dist/cdn/7SCRRIED.js +4 -0
- package/dist/cdn/7ULZUZEN.js +4 -0
- package/dist/cdn/7VUN2F7P.js +4 -0
- package/dist/cdn/7WYL3WE4.js +4 -0
- package/dist/cdn/7XHG53ZX.js +4 -0
- package/dist/cdn/7ZQL4BGW.js +4 -0
- package/dist/cdn/A2EE73O7.js +4 -0
- package/dist/cdn/A2IPMDT5.js +4 -0
- package/dist/cdn/A3NLGO5N.js +4 -0
- package/dist/cdn/A4OIWX35.js +4 -0
- package/dist/cdn/A6EA6EYZ.js +4 -0
- package/dist/cdn/A6JVRNAQ.js +4 -0
- package/dist/cdn/A6UBAVGJ.js +4 -0
- package/dist/cdn/A7JTQFR2.js +4 -0
- package/dist/cdn/A7O7WIHN.js +4 -0
- package/dist/cdn/A7SF7PQ4.js +4 -0
- package/dist/cdn/AGYJGQNT.js +4 -0
- package/dist/cdn/AJ4F4KI7.js +4 -0
- package/dist/cdn/AJMIX4L5.js +4 -0
- package/dist/cdn/ALWK4YFG.js +4 -0
- package/dist/cdn/ANG7ZYVB.js +4 -0
- package/dist/cdn/APEMGCL2.js +4 -0
- package/dist/cdn/ARGXE7D2.js +4 -0
- package/dist/cdn/ARZA3O7U.js +4 -0
- package/dist/cdn/ASCUNZA6.js +4 -0
- package/dist/cdn/AWOXQW27.js +4 -0
- package/dist/cdn/AWW4C3WL.js +4 -0
- package/dist/cdn/AZW7Y3P5.js +4 -0
- package/dist/cdn/B3VQ2ZU7.js +4 -0
- package/dist/cdn/B4KYBBFV.js +4 -0
- package/dist/cdn/B4V5PM7A.js +4 -0
- package/dist/cdn/B5JNSN5L.js +4 -0
- package/dist/cdn/B6OPAWOK.js +4 -0
- package/dist/cdn/BAWSEWCV.js +4 -0
- package/dist/cdn/BBQW5G3J.js +4 -0
- package/dist/cdn/BE5C7NO4.js +4 -0
- package/dist/cdn/BFGY66OH.js +4 -0
- package/dist/cdn/BGFJDNHF.js +4 -0
- package/dist/cdn/BGHKJV3E.js +4 -0
- package/dist/cdn/BGSHVR4G.js +4 -0
- package/dist/cdn/BGVA2TXC.js +4 -0
- package/dist/cdn/BITRK55U.js +4 -0
- package/dist/cdn/BIYDKFNV.js +4 -0
- package/dist/cdn/BKGRM33E.js +4 -0
- package/dist/cdn/BL3IZWMO.js +4 -0
- package/dist/cdn/BL3PKT7I.js +4 -0
- package/dist/cdn/BLO2SZ3O.js +4 -0
- package/dist/cdn/BRNQOE6M.js +9 -0
- package/dist/cdn/BRX4FKGX.js +4 -0
- package/dist/cdn/BTWEOJ7N.js +4 -0
- package/dist/cdn/BUOPSPML.js +4 -0
- package/dist/cdn/BV2LPZO4.js +4 -0
- package/dist/cdn/BV7MNLHB.js +4 -0
- package/dist/cdn/BXWSNP7O.js +4 -0
- package/dist/cdn/C26VGI6X.js +4 -0
- package/dist/cdn/C4E4AHV6.js +4 -0
- package/dist/cdn/C5PRVJKH.js +4 -0
- package/dist/cdn/CB42BGG2.js +5 -0
- package/dist/cdn/CH2NWUER.js +25 -0
- package/dist/cdn/CJFTAJTN.js +4 -0
- package/dist/cdn/COPPT3QY.js +4 -0
- package/dist/cdn/CQGFORCG.js +4 -0
- package/dist/cdn/CQMSE7ET.js +4 -0
- package/dist/cdn/CT7YCSFD.js +4 -0
- package/dist/cdn/D32TM57H.js +4 -0
- package/dist/cdn/D7L6SYTD.js +4 -0
- package/dist/cdn/DA7MDJXH.js +4 -0
- package/dist/cdn/DAGWLEZQ.js +4 -0
- package/dist/cdn/DB6T4JMZ.js +4 -0
- package/dist/cdn/DBS2WWXZ.js +4 -0
- package/dist/cdn/DEEAGLAL.js +4 -0
- package/dist/cdn/DEILDH46.js +4 -0
- package/dist/cdn/DG7SIV3U.js +4 -0
- package/dist/cdn/DJWHV3NB.js +4 -0
- package/dist/cdn/DMXGYZEB.js +4 -0
- package/dist/cdn/DN7ISJL2.js +4 -0
- package/dist/cdn/DP2MWBGN.js +4 -0
- package/dist/cdn/DQA7MC64.js +4 -0
- package/dist/cdn/DRKSEUNZ.js +4 -0
- package/dist/cdn/DRY7KMLN.js +4 -0
- package/dist/cdn/DSECRDV4.js +4 -0
- package/dist/cdn/DSJYJUTO.js +4 -0
- package/dist/cdn/DUPGRJ2A.js +4 -0
- package/dist/cdn/DUTL7PLX.js +4 -0
- package/dist/cdn/DV6TSFEC.js +4 -0
- package/dist/cdn/DVDNN4ID.js +4 -0
- package/dist/cdn/DX2GLZPZ.js +4 -0
- package/dist/cdn/DYTKICSM.js +4 -0
- package/dist/cdn/E2R2PH55.js +4 -0
- package/dist/cdn/E4QAO3G4.js +4 -0
- package/dist/cdn/E4T3RHPK.js +4 -0
- package/dist/cdn/E6UYPNJ3.js +4 -0
- package/dist/cdn/E7CFHVUH.js +4 -0
- package/dist/cdn/EALLJKNH.js +4 -0
- package/dist/cdn/EARRMW5L.js +4 -0
- package/dist/cdn/EBG7Z65M.js +4 -0
- package/dist/cdn/EBUZKYNP.js +4 -0
- package/dist/cdn/EC3CNVJG.js +4 -0
- package/dist/cdn/EFTM7OCO.js +4 -0
- package/dist/cdn/EGFFO6N4.js +4 -0
- package/dist/cdn/EGYRLIK3.js +4 -0
- package/dist/cdn/EIL7V26B.js +59 -0
- package/dist/cdn/EKT5GH4C.js +4 -0
- package/dist/cdn/ELJYCYUO.js +4 -0
- package/dist/cdn/ELUGCZ2W.js +4 -0
- package/dist/cdn/EMLZORMH.js +4 -0
- package/dist/cdn/EORYXF4D.js +4 -0
- package/dist/cdn/ER64A4V3.js +4 -0
- package/dist/cdn/ERTAIVSZ.js +4 -0
- package/dist/cdn/ES5DQMKP.js +4 -0
- package/dist/cdn/ET5XLRYZ.js +4 -0
- package/dist/cdn/ETW2GQTK.js +4 -0
- package/dist/cdn/EUNQXUHN.js +4 -0
- package/dist/cdn/EW2VAFSZ.js +4 -0
- package/dist/cdn/EWK464VZ.js +4 -0
- package/dist/cdn/EY7YNOF7.js +4 -0
- package/dist/cdn/F3GP6HX4.js +4 -0
- package/dist/cdn/F5LGGN3Q.js +4 -0
- package/dist/cdn/F5O5MKTJ.js +4 -0
- package/dist/cdn/F5PP5ZNZ.js +4 -0
- package/dist/cdn/F6M36JJ3.js +4 -0
- package/dist/cdn/F6NTG7IN.js +4 -0
- package/dist/cdn/FB4JEEZQ.js +4 -0
- package/dist/cdn/FBAO4COO.js +4 -0
- package/dist/cdn/FCSBHZU7.js +4 -0
- package/dist/cdn/FDKAWVJO.js +4 -0
- package/dist/cdn/FEW2TV4J.js +4 -0
- package/dist/cdn/FHMUTZGX.js +4 -0
- package/dist/cdn/FIKZLQUM.js +4 -0
- package/dist/cdn/FJ2ZSYZ6.js +4 -0
- package/dist/cdn/FP3DE5KI.js +4 -0
- package/dist/cdn/FRTVPAVS.js +4 -0
- package/dist/cdn/FUQAOUCQ.js +4 -0
- package/dist/cdn/FUVWCLBF.js +4 -0
- package/dist/cdn/FWTILN5X.js +4 -0
- package/dist/cdn/FWVL4M3D.js +5 -0
- package/dist/cdn/FWZJOYWT.js +4 -0
- package/dist/cdn/FYO3WMW4.js +4 -0
- package/dist/cdn/FYPOKVFP.js +4 -0
- package/dist/cdn/FZW6GENR.js +4 -0
- package/dist/cdn/G2EHOH7I.js +4 -0
- package/dist/cdn/G32SXD6P.js +4 -0
- package/dist/cdn/G34BCPV3.js +4 -0
- package/dist/cdn/G3X5PJBU.js +4 -0
- package/dist/cdn/G4ZBUVBC.js +4 -0
- package/dist/cdn/G5BSE2YX.js +4 -0
- package/dist/cdn/G67FPLAV.js +4 -0
- package/dist/cdn/G6P2IPOV.js +4 -0
- package/dist/cdn/G7VOASX7.js +4 -0
- package/dist/cdn/GAJYVHIS.js +4 -0
- package/dist/cdn/GBMXCZSI.js +4 -0
- package/dist/cdn/GCIVWN5G.js +4 -0
- package/dist/cdn/GFVB5WCA.js +4 -0
- package/dist/cdn/GHCMHRLN.js +4 -0
- package/dist/cdn/GICJLERO.js +4 -0
- package/dist/cdn/GJWK5ONN.js +4 -0
- package/dist/cdn/GKWNKRTT.js +4 -0
- package/dist/cdn/GNQZZ6Q5.js +4 -0
- package/dist/cdn/GSTP2BF4.js +4 -0
- package/dist/cdn/GTXDHJNF.js +4 -0
- package/dist/cdn/GUK5APOJ.js +4 -0
- package/dist/cdn/GVR4ORYJ.js +4 -0
- package/dist/cdn/GYC7KWI3.js +4 -0
- package/dist/cdn/GZTHTXSS.js +4 -0
- package/dist/cdn/H276AKKN.js +4 -0
- package/dist/cdn/H2YZRZNV.js +4 -0
- package/dist/cdn/H6VPBYCI.js +4 -0
- package/dist/cdn/H7E2DNED.js +4 -0
- package/dist/cdn/HAMH3TRR.js +5470 -0
- package/dist/cdn/HHMSR6IA.js +4 -0
- package/dist/cdn/HHTTO5AJ.js +4 -0
- package/dist/cdn/HK4MY7MU.js +4 -0
- package/dist/cdn/HKIW62MP.js +4 -0
- package/dist/cdn/HKOLBMBT.js +4 -0
- package/dist/cdn/HO43CSE3.js +4 -0
- package/dist/cdn/HOHFM77H.js +4 -0
- package/dist/cdn/HP5KMK3A.js +4 -0
- package/dist/cdn/HQCFUBSN.js +4 -0
- package/dist/cdn/HQJCO4YI.js +4 -0
- package/dist/cdn/HSTEZPIP.js +4 -0
- package/dist/cdn/HWPNEVGI.js +4 -0
- package/dist/cdn/HXXAWSX6.js +4 -0
- package/dist/cdn/HY2YLTEX.js +4 -0
- package/dist/cdn/HY7S4ZHU.js +4 -0
- package/dist/cdn/I2OQHIH2.js +4 -0
- package/dist/cdn/I4KK4ZLU.js +4 -0
- package/dist/cdn/I6M2EW4R.js +4 -0
- package/dist/cdn/IDJ3T3BU.js +4 -0
- package/dist/cdn/IGB5OXGL.js +4 -0
- package/dist/cdn/IGKKSXPB.js +4 -0
- package/dist/cdn/IIUVHSOM.js +4 -0
- package/dist/cdn/IJFNEDSU.js +4 -0
- package/dist/cdn/INUGFLOY.js +4 -0
- package/dist/cdn/IPCSNAUF.js +4 -0
- package/dist/cdn/IRNCLHXS.js +4 -0
- package/dist/cdn/ISGYZUH5.js +4 -0
- package/dist/cdn/ITHMCU4U.js +4 -0
- package/dist/cdn/IV2AHFDA.js +4 -0
- package/dist/cdn/IVE5FVJ4.js +4 -0
- package/dist/cdn/IWM2ES42.js +4 -0
- package/dist/cdn/J2QHKRZC.js +4 -0
- package/dist/cdn/J4GXDCBP.js +4 -0
- package/dist/cdn/J5SGIU2N.js +4 -0
- package/dist/cdn/JAUFSYFI.js +4 -0
- package/dist/cdn/JBYNDJFK.js +59 -0
- package/dist/cdn/JCFC6LJP.js +4 -0
- package/dist/cdn/JDFUIKMI.js +4 -0
- package/dist/cdn/JFYQXOQ6.js +4 -0
- package/dist/cdn/JG53KGYL.js +4 -0
- package/dist/cdn/JGSDUR3D.js +4 -0
- package/dist/cdn/JHKBDXWR.js +4 -0
- package/dist/cdn/JLITWA6U.js +4 -0
- package/dist/cdn/JMYKSBE6.js +4 -0
- package/dist/cdn/JPOV2TOZ.js +4 -0
- package/dist/cdn/JQGWJZLV.js +4 -0
- package/dist/cdn/JQMP3DDM.js +4 -0
- package/dist/cdn/JWTFBP7C.js +4 -0
- package/dist/cdn/JXLZPII7.js +4 -0
- package/dist/cdn/JZAMIVKF.js +4 -0
- package/dist/cdn/K2FQLLSH.js +4 -0
- package/dist/cdn/K3B2FEZU.js +4 -0
- package/dist/cdn/K6UUFPHW.js +4 -0
- package/dist/cdn/K7FOZAFP.js +4 -0
- package/dist/cdn/K7SQT3HJ.js +4 -0
- package/dist/cdn/KAS6K32H.js +4 -0
- package/dist/cdn/KBAJAY3Q.js +4 -0
- package/dist/cdn/KDSLNBRX.js +24 -0
- package/dist/cdn/KEFQESGA.js +4 -0
- package/dist/cdn/KF6PXT2R.js +6 -0
- package/dist/cdn/KFDS2UKJ.js +4 -0
- package/dist/cdn/KG62KFST.js +4 -0
- package/dist/cdn/KJDRCUPK.js +4 -0
- package/dist/cdn/KKOIYDC7.js +4 -0
- package/dist/cdn/KLP6HSWP.js +4 -0
- package/dist/cdn/KMXAS4HH.js +4 -0
- package/dist/cdn/KOWHPG4A.js +4 -0
- package/dist/cdn/KPPV67XZ.js +4 -0
- package/dist/cdn/KQE7F6VA.js +4 -0
- package/dist/cdn/KUIT6PMP.js +4 -0
- package/dist/cdn/KYTKAE3Y.js +4 -0
- package/dist/cdn/KZEUCZGF.js +4 -0
- package/dist/cdn/L2FZL2BM.js +8 -0
- package/dist/cdn/L3PBG44A.js +4 -0
- package/dist/cdn/L3Z6MSWR.js +4 -0
- package/dist/cdn/L76XUP7F.js +4 -0
- package/dist/cdn/LAMOKFKS.js +4 -0
- package/dist/cdn/LB6IODBM.js +4 -0
- package/dist/cdn/LCSQ5RO3.js +4 -0
- package/dist/cdn/LEZU5ZZ3.js +4 -0
- package/dist/cdn/LGF4RNXN.js +4 -0
- package/dist/cdn/LGTFGREQ.js +4 -0
- package/dist/cdn/LH3AI2UU.js +4 -0
- package/dist/cdn/LHDE2SK3.js +4 -0
- package/dist/cdn/LHPYGLTT.js +4 -0
- package/dist/cdn/LHQIU77J.js +4 -0
- package/dist/cdn/LLQ5ZSQ7.js +4 -0
- package/dist/cdn/LM5JTMJ3.js +4 -0
- package/dist/cdn/LMSHPSTN.js +4 -0
- package/dist/cdn/LO76LP7K.js +4 -0
- package/dist/cdn/LRB3RB5B.js +4 -0
- package/dist/cdn/LRDOGIG6.js +4 -0
- package/dist/cdn/LSJA5FBS.js +4 -0
- package/dist/cdn/LX6SKS4J.js +4 -0
- package/dist/cdn/LYRURE76.js +4 -0
- package/dist/cdn/M4EAIX7J.js +4 -0
- package/dist/cdn/M4LQGDRM.js +4 -0
- package/dist/cdn/M6TE3QFV.js +4 -0
- package/dist/cdn/M7S5CA5N.js +4 -0
- package/dist/cdn/MAJ3BYED.js +4 -0
- package/dist/cdn/MARB2KPP.js +4 -0
- package/dist/cdn/MBHVPNIN.js +4 -0
- package/dist/cdn/MCISHNKU.js +4 -0
- package/dist/cdn/MEPXMOTE.js +4 -0
- package/dist/cdn/MF2462WC.js +4 -0
- package/dist/cdn/MKLPYHCN.js +4 -0
- package/dist/cdn/MM5G62MJ.js +5 -0
- package/dist/cdn/MQEIQHLV.js +4 -0
- package/dist/cdn/MRJAIJEU.js +4 -0
- package/dist/cdn/MX7OVGEN.js +4 -0
- package/dist/cdn/MXDQNYPS.js +4 -0
- package/dist/cdn/N4HJDKQP.js +4 -0
- package/dist/cdn/N5FF22TV.js +4 -0
- package/dist/cdn/N6XDSY46.js +4 -0
- package/dist/cdn/N7TUF3VY.js +4 -0
- package/dist/cdn/NCJIBH42.js +4 -0
- package/dist/cdn/NGUGLN6F.js +4 -0
- package/dist/cdn/NHML7J5F.js +4 -0
- package/dist/cdn/NIAF77HW.js +4 -0
- package/dist/cdn/NKQ7IDSF.js +4 -0
- package/dist/cdn/NLZRAFDS.js +4 -0
- package/dist/cdn/NMUWS6IZ.js +4 -0
- package/dist/cdn/NNS3E3VF.js +4 -0
- package/dist/cdn/NOKL74EQ.js +4 -0
- package/dist/cdn/NQN7DTRL.js +4 -0
- package/dist/cdn/NR75SE4S.js +4 -0
- package/dist/cdn/NT5L6C5T.js +4 -0
- package/dist/cdn/NWCQJX55.js +4 -0
- package/dist/cdn/NYYURULS.js +4 -0
- package/dist/cdn/NZE2WNTF.js +4 -0
- package/dist/cdn/O2LWPI5O.js +4 -0
- package/dist/cdn/O4ADFWUC.js +4 -0
- package/dist/cdn/O4TARAW2.js +4 -0
- package/dist/cdn/O5SCMEG4.js +4 -0
- package/dist/cdn/OAXOIY5K.js +4 -0
- package/dist/cdn/OJ2SZGQV.js +4 -0
- package/dist/cdn/OMTJUW3Y.js +4 -0
- package/dist/cdn/ONOYYIW2.js +4 -0
- package/dist/cdn/ONYQJI7H.js +4 -0
- package/dist/cdn/OPUXRGPB.js +4 -0
- package/dist/cdn/OPYHRPEO.js +4 -0
- package/dist/cdn/OQXZ7VYO.js +4 -0
- package/dist/cdn/OTKT5IMB.js +4 -0
- package/dist/cdn/OU4BKKK6.js +4 -0
- package/dist/cdn/OVFCU2OA.js +4 -0
- package/dist/cdn/OXSR665Z.js +4 -0
- package/dist/cdn/OY5JRQB7.js +4 -0
- package/dist/cdn/OYITJCZB.js +4 -0
- package/dist/cdn/OZ3U4754.js +4 -0
- package/dist/cdn/P3FYAYNY.js +4 -0
- package/dist/cdn/P3OMJWY5.js +4 -0
- package/dist/cdn/P3Q3C5J4.js +4 -0
- package/dist/cdn/P547KTMP.js +4 -0
- package/dist/cdn/P54DHZC5.js +4 -0
- package/dist/cdn/P5J2EZET.js +4 -0
- package/dist/cdn/P5KCI7NK.js +4 -0
- package/dist/cdn/PF7DB2OB.js +4 -0
- package/dist/cdn/PFG5DAY2.js +4 -0
- package/dist/cdn/PHR2JAD6.js +4 -0
- package/dist/cdn/PHYAUBHF.js +4 -0
- package/dist/cdn/PJ6IXFN3.js +4 -0
- package/dist/cdn/PLSZVDWP.js +4 -0
- package/dist/cdn/PMXFQH5J.js +4 -0
- package/dist/cdn/PPALU6ZB.js +4 -0
- package/dist/cdn/PQKFVHXI.js +4 -0
- package/dist/cdn/PQZ3LY7A.js +4 -0
- package/dist/cdn/PRU6UJDX.js +4 -0
- package/dist/cdn/PTSA5DJ7.js +4 -0
- package/dist/cdn/PVV2EWHT.js +4 -0
- package/dist/cdn/PWBD74AP.js +4 -0
- package/dist/cdn/PWOQFVYA.js +12 -0
- package/dist/cdn/PWTPKLAK.js +4 -0
- package/dist/cdn/PXG4LKUH.js +4 -0
- package/dist/cdn/PXGQBIEO.js +4 -0
- package/dist/cdn/PYE6RZZ5.js +4 -0
- package/dist/cdn/Q2EOVSFZ.js +4 -0
- package/dist/cdn/Q2RBMMWK.js +4 -0
- package/dist/cdn/Q4DRZ7RV.js +4 -0
- package/dist/cdn/Q4UCVCJO.js +4 -0
- package/dist/cdn/Q5B5X272.js +4 -0
- package/dist/cdn/Q64UGY6C.js +4 -0
- package/dist/cdn/Q6QBCYLR.js +4 -0
- package/dist/cdn/QBCHP22G.js +16 -0
- package/dist/cdn/QGOASJPQ.js +4 -0
- package/dist/cdn/QHKUKHNX.js +4 -0
- package/dist/cdn/QJO24RUF.js +4 -0
- package/dist/cdn/QMTPJVSI.js +4 -0
- package/dist/cdn/QOR2X655.js +4 -0
- package/dist/cdn/QTRSYCGA.js +5 -0
- package/dist/cdn/QUMGLFSR.js +4 -0
- package/dist/cdn/QWRZVZ7U.js +4 -0
- package/dist/cdn/QX6R654Q.js +4 -0
- package/dist/cdn/QYJ7HMJA.js +4 -0
- package/dist/cdn/QYQSDD22.js +4 -0
- package/dist/cdn/QZAGUBD3.js +4 -0
- package/dist/cdn/QZDKMH6C.js +4 -0
- package/dist/cdn/R26LVT4B.js +4 -0
- package/dist/cdn/R3O3IQ2C.js +4 -0
- package/dist/cdn/RDRM3OS6.js +4 -0
- package/dist/cdn/RDXM6XNX.js +4 -0
- package/dist/cdn/RE6RJMEZ.js +4 -0
- package/dist/cdn/RFQMDI2U.js +4 -0
- package/dist/cdn/RHKKW2LO.js +4 -0
- package/dist/cdn/RK222BYK.js +4 -0
- package/dist/cdn/RMPV3TWJ.js +4 -0
- package/dist/cdn/ROICXNGM.js +4 -0
- package/dist/cdn/ROKVX73E.js +4 -0
- package/dist/cdn/RRYGZ6ZW.js +11 -0
- package/dist/cdn/RS2FFBQ2.js +4 -0
- package/dist/cdn/RT4BJCDX.js +4 -0
- package/dist/cdn/RTCHHTJH.js +4 -0
- package/dist/cdn/RUESGWG3.js +4 -0
- package/dist/cdn/RXXNMLMU.js +4 -0
- package/dist/cdn/RXYWG4RO.js +4 -0
- package/dist/cdn/RZ7YXHFT.js +4 -0
- package/dist/cdn/S3GCTZ32.js +4 -0
- package/dist/cdn/S3HQP2TL.js +4 -0
- package/dist/cdn/S4XUMRN7.js +4 -0
- package/dist/cdn/S5356PWW.js +4 -0
- package/dist/cdn/S5ADQIOS.js +4 -0
- package/dist/cdn/S6IWTOGV.js +4 -0
- package/dist/cdn/S777QLJL.js +4 -0
- package/dist/cdn/SA7D3VV4.js +4 -0
- package/dist/cdn/SAFVTC52.js +4 -0
- package/dist/cdn/SBIVB2TA.js +4 -0
- package/dist/cdn/SDQWGANT.js +4 -0
- package/dist/cdn/SEACVVKB.js +4 -0
- package/dist/cdn/SECT4XUS.js +4 -0
- package/dist/cdn/SEPX63BD.js +4 -0
- package/dist/cdn/SI4CQ4VS.js +4 -0
- package/dist/cdn/SKLLD2EB.js +4 -0
- package/dist/cdn/SRRNBAJU.js +4 -0
- package/dist/cdn/SSVQXIFA.js +4 -0
- package/dist/cdn/SWGJIGRX.js +4 -0
- package/dist/cdn/SYKBQNHH.js +4 -0
- package/dist/cdn/SYZMKW2C.js +4 -0
- package/dist/cdn/SZR2BOLG.js +4 -0
- package/dist/cdn/SZYBAUOE.js +4 -0
- package/dist/cdn/T5FUF3GE.js +4 -0
- package/dist/cdn/T5U47K3Y.js +4 -0
- package/dist/cdn/T6D3ZYPX.js +4 -0
- package/dist/cdn/T7GP6XNG.js +4 -0
- package/dist/cdn/TA3P5TV4.js +4 -0
- package/dist/cdn/TCBZPADL.js +4 -0
- package/dist/cdn/TFL3M7Y5.js +4 -0
- package/dist/cdn/THKL7OST.js +4 -0
- package/dist/cdn/TJIT4F7F.js +4 -0
- package/dist/cdn/TLFVEBKN.js +4 -0
- package/dist/cdn/TPKEW5I5.js +4 -0
- package/dist/cdn/TPLXFAAB.js +4 -0
- package/dist/cdn/TQCAASGP.js +4 -0
- package/dist/cdn/TQVBTOHR.js +4 -0
- package/dist/cdn/TYJIOEX6.js +4 -0
- package/dist/cdn/TYWA5DJK.js +4 -0
- package/dist/cdn/U23AA3CL.js +4 -0
- package/dist/cdn/U2ACEA2S.js +4 -0
- package/dist/cdn/U6UND6S2.js +4 -0
- package/dist/cdn/U7J5DSUK.js +4 -0
- package/dist/cdn/UDK2APTZ.js +4 -0
- package/dist/cdn/UDO3FUT4.js +4 -0
- package/dist/cdn/UFFGUFYR.js +4 -0
- package/dist/cdn/UFNHW664.js +51 -0
- package/dist/cdn/UKGDG3OG.js +4 -0
- package/dist/cdn/UKH7H7MU.js +4 -0
- package/dist/cdn/UMHNHMIL.js +4 -0
- package/dist/cdn/UT3SH2UY.js +4 -0
- package/dist/cdn/UUCEZCI3.js +4 -0
- package/dist/cdn/UV2DATWV.js +4 -0
- package/dist/cdn/UVZRCQF4.js +4 -0
- package/dist/cdn/UWWEPHK7.js +4 -0
- package/dist/cdn/UYUN7LOC.js +4 -0
- package/dist/cdn/UZCMX3E6.js +4 -0
- package/dist/cdn/V2GDKEGG.js +4 -0
- package/dist/cdn/V5FYZAZW.js +4 -0
- package/dist/cdn/VB2SZ7TZ.js +4 -0
- package/dist/cdn/VBL5YNNI.js +4 -0
- package/dist/cdn/VBXQYILB.js +4 -0
- package/dist/cdn/VCOKMU7P.js +4 -0
- package/dist/cdn/VENDCOLA.js +4 -0
- package/dist/cdn/VFJXRIRH.js +4 -0
- package/dist/cdn/VIL7PMKS.js +4 -0
- package/dist/cdn/VK4UGQ5A.js +4 -0
- package/dist/cdn/VM5KW3SC.js +4 -0
- package/dist/cdn/VMAUS53U.js +4 -0
- package/dist/cdn/VN37EODI.js +4 -0
- package/dist/cdn/VPL3LSPU.js +4 -0
- package/dist/cdn/VQPLJUFN.js +4 -0
- package/dist/cdn/VR2V2IHW.js +4 -0
- package/dist/cdn/VSP6I44H.js +4 -0
- package/dist/cdn/VUBNLKGZ.js +4 -0
- package/dist/cdn/VUQP57FB.js +6 -0
- package/dist/cdn/VVONJFXC.js +4 -0
- package/dist/cdn/VVXAOYNQ.js +4 -0
- package/dist/cdn/VWTSYMUX.js +4 -0
- package/dist/cdn/W3OKPEZV.js +4 -0
- package/dist/cdn/W3QQLZLF.js +4 -0
- package/dist/cdn/W4F4UOTR.js +4 -0
- package/dist/cdn/W5XA6A5L.js +4 -0
- package/dist/cdn/W6PKTNE3.js +4 -0
- package/dist/cdn/W76RJ523.js +4 -0
- package/dist/cdn/WEHD5LUO.js +4 -0
- package/dist/cdn/WEWV2CAZ.js +4 -0
- package/dist/cdn/WMUWYXLQ.js +5 -0
- package/dist/cdn/WQPJ7RGC.js +4 -0
- package/dist/cdn/WRVW4DUL.js +4 -0
- package/dist/cdn/WXE3P52G.js +4 -0
- package/dist/cdn/WZ4VBMAZ.js +4 -0
- package/dist/cdn/X3FKKDWI.js +4 -0
- package/dist/cdn/X5JH6LI6.js +4 -0
- package/dist/cdn/X75DEBFM.js +4 -0
- package/dist/cdn/X7ONKRZU.js +4 -0
- package/dist/cdn/X7TO6UV4.js +4 -0
- package/dist/cdn/XBPDDS6L.js +4 -0
- package/dist/cdn/XBPFZJ3C.js +4 -0
- package/dist/cdn/XD6BY3RV.js +4 -0
- package/dist/cdn/XEHPMASD.js +4 -0
- package/dist/cdn/XHCAWPIQ.js +4 -0
- package/dist/cdn/XHQG6OOX.js +4 -0
- package/dist/cdn/XM6LAYQV.js +4 -0
- package/dist/cdn/XM7K5DKH.js +4 -0
- package/dist/cdn/XMBTSTTB.js +4 -0
- package/dist/cdn/XOBUDULM.js +4 -0
- package/dist/cdn/XPALNHQ5.js +4 -0
- package/dist/cdn/XQ5T3NPQ.js +42 -0
- package/dist/cdn/XRQK3Z3Z.js +4 -0
- package/dist/cdn/XRSNCL4S.js +4 -0
- package/dist/cdn/Y4KTCRRG.js +4 -0
- package/dist/cdn/Y4OMF47Y.js +4 -0
- package/dist/cdn/Y7ZTG6IV.js +4 -0
- package/dist/cdn/YAUDRDAQ.js +4 -0
- package/dist/cdn/YB3RR4ZX.js +4 -0
- package/dist/cdn/YE2BV74E.js +4 -0
- package/dist/cdn/YGNVZHFH.js +4 -0
- package/dist/cdn/YHMUDRR7.js +4 -0
- package/dist/cdn/YI6FLGMF.js +4 -0
- package/dist/cdn/YIOFUKJ6.js +4 -0
- package/dist/cdn/YIYTWWXY.js +4 -0
- package/dist/cdn/YJB3H4SX.js +4 -0
- package/dist/cdn/YKNBYBRF.js +4 -0
- package/dist/cdn/YLC4XO7Z.js +4 -0
- package/dist/cdn/YLKNFSLW.js +4 -0
- package/dist/cdn/YNHCSWIL.js +4 -0
- package/dist/cdn/YP2YKWME.js +4 -0
- package/dist/cdn/YQFR3NJN.js +4 -0
- package/dist/cdn/YSRCWZZ7.js +4 -0
- package/dist/cdn/YWC2JRJV.js +4 -0
- package/dist/cdn/YXZRNRJT.js +4 -0
- package/dist/cdn/Z224U4AA.js +4 -0
- package/dist/cdn/Z2GBEJGZ.js +4 -0
- package/dist/cdn/Z3CHPAWA.js +4 -0
- package/dist/cdn/Z3KRTHRQ.js +4 -0
- package/dist/cdn/Z4RYAXAN.js +4 -0
- package/dist/cdn/Z5DFE6ZN.js +8 -0
- package/dist/cdn/Z7M2ZJVY.js +4 -0
- package/dist/cdn/Z7NMKSI5.js +4 -0
- package/dist/cdn/Z7T46DNO.js +4 -0
- package/dist/cdn/ZAPTXHFS.js +4 -0
- package/dist/cdn/ZCDCUPLB.js +4 -0
- package/dist/cdn/ZH22RCNU.js +4 -0
- package/dist/cdn/ZKRKK37N.js +12 -0
- package/dist/cdn/ZLLS2KN6.js +4 -0
- package/dist/cdn/ZOT5QA53.js +4 -0
- package/dist/cdn/ZOTY5OWR.js +4 -0
- package/dist/cdn/ZPCNGWJZ.js +4 -0
- package/dist/cdn/ZPJ667DU.js +4 -0
- package/dist/cdn/ZRCXZLI4.js +4 -0
- package/dist/cdn/ZRL4ZHSW.js +4 -0
- package/dist/cdn/ZUAFRV2T.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/findColumnAndNodeIndex.js +1 -1
- package/dist/chunks/getResponsiveClasses.js +1 -1
- package/dist/chunks/interpolate-translations.js +1 -1
- package/dist/chunks/isNodeVisible.js +1 -1
- package/dist/chunks/layoutContext.js +1 -1
- package/dist/chunks/migrateTextCard.js +1 -1
- package/dist/chunks/processLayout.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/state.js +1 -1
- package/dist/chunks/typeGuards.js +1 -1
- package/dist/chunks/useGlobalContext.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/util.js +1 -1
- package/dist/components/arcgis-chat-shell/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/customElement.js +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-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-hub-entity-view-layout/customElement.js +1 -1
- package/dist/components/arcgis-layout/customElement.js +1 -1
- package/dist/components/arcgis-layout-column/customElement.js +1 -1
- package/dist/components/arcgis-layout-container/customElement.js +10 -10
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-controls/customElement.js +6 -6
- package/dist/components/arcgis-layout-node-editor/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-wrapper/customElement.js +21 -21
- package/dist/components/arcgis-layout-node-wrapper/index.d.ts +0 -1
- package/dist/components/arcgis-layout-node-wrapper/index.js +0 -1
- package/dist/components/arcgis-layout-row/customElement.js +1 -1
- package/dist/components/arcgis-layout-section/customElement.js +1 -1
- package/dist/components/arcgis-nav-card/customElement.js +1 -1
- package/dist/components/arcgis-text-card/customElement.js +1 -1
- package/dist/components/layouts/components/layout-node/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/embed-config.js +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/223KS7TV.js +0 -4
- package/dist/cdn/24BFIAXI.js +0 -4
- package/dist/cdn/25JJEBF4.js +0 -4
- package/dist/cdn/2AWHCF6R.js +0 -4
- package/dist/cdn/2EEKOJDW.js +0 -4
- package/dist/cdn/2ESUU7RC.js +0 -4
- package/dist/cdn/2F7JTV34.js +0 -4
- package/dist/cdn/2GOC4XHD.js +0 -4
- package/dist/cdn/2HSHPWIJ.js +0 -4
- package/dist/cdn/2IS33AMO.js +0 -4
- package/dist/cdn/2KCUXKC3.js +0 -4
- package/dist/cdn/2KO66RWN.js +0 -4
- package/dist/cdn/2QB77NE5.js +0 -4
- package/dist/cdn/2RCUCWI2.js +0 -4
- package/dist/cdn/2S2MOBEO.js +0 -4
- package/dist/cdn/2SKDAO5S.js +0 -4
- package/dist/cdn/2TDUEUZX.js +0 -4
- package/dist/cdn/35HHQSKL.js +0 -4
- package/dist/cdn/35OOVE3L.js +0 -4
- package/dist/cdn/3BZRCQDQ.js +0 -4
- package/dist/cdn/3DWJDPKZ.js +0 -4
- package/dist/cdn/3FMKRHUW.js +0 -4
- package/dist/cdn/3FXJKANX.js +0 -4
- package/dist/cdn/3G7G4PK2.js +0 -4
- package/dist/cdn/3GA4TMHV.js +0 -4
- package/dist/cdn/3LYRDN4S.js +0 -4
- package/dist/cdn/3M5IQS5E.js +0 -4
- package/dist/cdn/3MWCBVCT.js +0 -4
- package/dist/cdn/3N624G4U.js +0 -4
- package/dist/cdn/3O2HWWBU.js +0 -4
- package/dist/cdn/3PGAQNC3.js +0 -4
- package/dist/cdn/3PH3BYBO.js +0 -4
- package/dist/cdn/3RBMQED2.js +0 -4
- package/dist/cdn/3RDDL56K.js +0 -4
- package/dist/cdn/3RUZIZCV.js +0 -4
- package/dist/cdn/3SBUSIMZ.js +0 -4
- package/dist/cdn/3TH4WMCB.js +0 -4
- package/dist/cdn/3TNKNDPV.js +0 -4
- package/dist/cdn/3UY6SIXL.js +0 -4
- package/dist/cdn/3WOFZ47Q.js +0 -4
- package/dist/cdn/3XCJTU4L.js +0 -4
- package/dist/cdn/3Y4JIRQX.js +0 -4
- package/dist/cdn/4AGMR33C.js +0 -4
- package/dist/cdn/4CNGOG5U.js +0 -4
- package/dist/cdn/4DMZKEPT.js +0 -4
- package/dist/cdn/4EODBNTO.js +0 -4
- package/dist/cdn/4FRKOUFZ.js +0 -4
- package/dist/cdn/4IGNBYNB.js +0 -4
- package/dist/cdn/4IOJI6AG.js +0 -4
- package/dist/cdn/4IVIYRHQ.js +0 -4
- package/dist/cdn/4LYRQA6J.js +0 -4
- package/dist/cdn/4M4KBA3U.js +0 -4
- package/dist/cdn/4MJGM6LA.js +0 -4
- package/dist/cdn/4OPVNZOC.js +0 -4
- package/dist/cdn/4QQFXQYG.js +0 -6
- package/dist/cdn/4V3KMDSB.js +0 -4
- package/dist/cdn/4V5DXTRF.js +0 -4
- package/dist/cdn/4WGVZAFT.js +0 -4
- package/dist/cdn/4WZQ7BZ5.js +0 -4
- package/dist/cdn/4YIKCTEG.js +0 -4
- package/dist/cdn/53TCF2GH.js +0 -4
- package/dist/cdn/56NX4JRB.js +0 -4
- package/dist/cdn/56YXMCS7.js +0 -4
- package/dist/cdn/5BER4SFF.js +0 -16
- package/dist/cdn/5C5QAXEE.js +0 -4
- package/dist/cdn/5EPEJSUV.js +0 -4
- package/dist/cdn/5H2E5UZC.js +0 -4
- package/dist/cdn/5HALXJBI.js +0 -4
- package/dist/cdn/5HGVN2BQ.js +0 -4
- package/dist/cdn/5LNSOSH3.js +0 -4
- package/dist/cdn/5PT22MRS.js +0 -11
- package/dist/cdn/5Q6GGUTY.js +0 -4
- package/dist/cdn/5SURZWMK.js +0 -4
- package/dist/cdn/5VOLKGNL.js +0 -4
- package/dist/cdn/5XM36GWL.js +0 -4
- package/dist/cdn/5Y2R5DT3.js +0 -4
- package/dist/cdn/5Z5XG2MR.js +0 -4
- package/dist/cdn/5ZPEXBAG.js +0 -4
- package/dist/cdn/622TPBFN.js +0 -4
- package/dist/cdn/62B747Q5.js +0 -4
- package/dist/cdn/646IF44F.js +0 -4
- package/dist/cdn/64ZE6B2D.js +0 -4
- package/dist/cdn/66UDDINU.js +0 -4
- package/dist/cdn/6DY3UACU.js +0 -4
- package/dist/cdn/6JZWEPVU.js +0 -4
- package/dist/cdn/6KUUMZ62.js +0 -4
- package/dist/cdn/6MHKL76Q.js +0 -4
- package/dist/cdn/6NWG6ZQ4.js +0 -4
- package/dist/cdn/6OBVOLCX.js +0 -4
- package/dist/cdn/6Q6IUBV7.js +0 -4
- package/dist/cdn/6RPIJGSD.js +0 -4
- package/dist/cdn/6SP7HAZV.js +0 -4
- package/dist/cdn/6SQLNTI5.js +0 -5
- package/dist/cdn/6T7IRSLC.js +0 -4
- package/dist/cdn/6VGJ5DMN.js +0 -4
- package/dist/cdn/72K234SU.js +0 -4
- package/dist/cdn/744OA2ZA.js +0 -4
- package/dist/cdn/7AJ7LIVE.js +0 -4
- package/dist/cdn/7BM6QJPU.js +0 -4
- package/dist/cdn/7BMDZBVL.js +0 -4
- package/dist/cdn/7BMY7XCD.js +0 -4
- package/dist/cdn/7DV2NCAD.js +0 -4
- package/dist/cdn/7ENACUWJ.js +0 -4
- package/dist/cdn/7FPME7QV.js +0 -4
- package/dist/cdn/7G5WZA7A.js +0 -4
- package/dist/cdn/7HXYMVCA.js +0 -4
- package/dist/cdn/7IJNSVAH.js +0 -4
- package/dist/cdn/7LWQTJBN.js +0 -4
- package/dist/cdn/7MLVO3CX.js +0 -4
- package/dist/cdn/7NXO3N6C.js +0 -4
- package/dist/cdn/7OSGHY7T.js +0 -4
- package/dist/cdn/7Q4A3IJO.js +0 -4
- package/dist/cdn/7RM5HQ6M.js +0 -4
- package/dist/cdn/7SRQR52X.js +0 -4
- package/dist/cdn/7URDPP56.js +0 -4
- package/dist/cdn/7VKGQESS.js +0 -4
- package/dist/cdn/7YN756B6.js +0 -4
- package/dist/cdn/7YZRJHWC.js +0 -4
- package/dist/cdn/7ZM6DCZO.js +0 -4
- package/dist/cdn/A3LDO7RZ.js +0 -4
- package/dist/cdn/A733542D.js +0 -4
- package/dist/cdn/AA4RIAVV.js +0 -4
- package/dist/cdn/AB5FQP73.js +0 -5470
- package/dist/cdn/ABE4POTH.js +0 -4
- package/dist/cdn/ABWBQXUK.js +0 -4
- package/dist/cdn/ACJGBKFR.js +0 -4
- package/dist/cdn/AHK6ZP6G.js +0 -4
- package/dist/cdn/AHXMXOCH.js +0 -4
- package/dist/cdn/AODVXTIT.js +0 -4
- package/dist/cdn/AQEYZFIN.js +0 -4
- package/dist/cdn/AS7AUPBK.js +0 -4
- package/dist/cdn/AX3PP6N4.js +0 -4
- package/dist/cdn/AYRMKJBR.js +0 -4
- package/dist/cdn/B4NYJVYJ.js +0 -4
- package/dist/cdn/BBCGDSCR.js +0 -4
- package/dist/cdn/BBN2HSCB.js +0 -4
- package/dist/cdn/BBTZ2JH6.js +0 -4
- package/dist/cdn/BD2RHLIK.js +0 -4
- package/dist/cdn/BEFYRYTZ.js +0 -4
- package/dist/cdn/BHGBRHEJ.js +0 -4
- package/dist/cdn/BHTSAAXP.js +0 -4
- package/dist/cdn/BIIGU5WC.js +0 -4
- package/dist/cdn/BJCJRKBD.js +0 -4
- package/dist/cdn/BKZ55XRC.js +0 -4
- package/dist/cdn/BO4PR4GE.js +0 -4
- package/dist/cdn/BOFP5IER.js +0 -4
- package/dist/cdn/BOQY4ZUH.js +0 -4
- package/dist/cdn/BP3UKQRX.js +0 -4
- package/dist/cdn/BPRFFIN6.js +0 -4
- package/dist/cdn/BQDR2DFD.js +0 -4
- package/dist/cdn/BUTZNW2P.js +0 -4
- package/dist/cdn/BWIWHWKS.js +0 -4
- package/dist/cdn/BWJB7PX6.js +0 -4
- package/dist/cdn/C23UWIBF.js +0 -4
- package/dist/cdn/C47J5UGW.js +0 -4
- package/dist/cdn/C4GSJRRI.js +0 -4
- package/dist/cdn/C5XTJOMW.js +0 -4
- package/dist/cdn/CAZ5FI5E.js +0 -4
- package/dist/cdn/CGW3RCPR.js +0 -4
- package/dist/cdn/CHPVD7M5.js +0 -4
- package/dist/cdn/CJITWSVY.js +0 -6
- package/dist/cdn/CKJZIOMG.js +0 -4
- package/dist/cdn/CKVXWTM4.js +0 -4
- package/dist/cdn/CLLEWGO4.js +0 -4
- package/dist/cdn/CLS57RAW.js +0 -59
- package/dist/cdn/CMFFUJ7I.js +0 -4
- package/dist/cdn/CMYIXUAI.js +0 -4
- package/dist/cdn/CNICPUWP.js +0 -4
- package/dist/cdn/COCUYKDO.js +0 -4
- package/dist/cdn/COFXI6ER.js +0 -4
- package/dist/cdn/CR6CJZNU.js +0 -4
- package/dist/cdn/CUJHH4MN.js +0 -51
- package/dist/cdn/CYCQRSQ2.js +0 -4
- package/dist/cdn/D32ESH3P.js +0 -4
- package/dist/cdn/D7DPTYLQ.js +0 -4
- package/dist/cdn/DAQP4AXA.js +0 -52
- package/dist/cdn/DAZDSD7M.js +0 -4
- package/dist/cdn/DBVI4XXH.js +0 -4
- package/dist/cdn/DDA6XW2A.js +0 -4
- package/dist/cdn/DDPZCWDX.js +0 -4
- package/dist/cdn/DDTL2QOC.js +0 -4
- package/dist/cdn/DEAMXFG5.js +0 -4
- package/dist/cdn/DHCCCJUT.js +0 -4
- package/dist/cdn/DIWAANWV.js +0 -4
- package/dist/cdn/DMX6W46S.js +0 -4
- package/dist/cdn/DO2SLRTI.js +0 -4
- package/dist/cdn/DPP54PAF.js +0 -4
- package/dist/cdn/DSZMLZGT.js +0 -4
- package/dist/cdn/DTVWK4UY.js +0 -4
- package/dist/cdn/DV2STMQS.js +0 -4
- package/dist/cdn/DYB5JSVD.js +0 -4
- package/dist/cdn/E3CIWSOS.js +0 -4
- package/dist/cdn/E42PIMI5.js +0 -4
- package/dist/cdn/E4AAW53D.js +0 -4
- package/dist/cdn/E4QNUQ2C.js +0 -4
- package/dist/cdn/E6C7DZQD.js +0 -4
- package/dist/cdn/EAAEJIXY.js +0 -4
- package/dist/cdn/ECTWR5PB.js +0 -4
- package/dist/cdn/EEFYUWH3.js +0 -4
- package/dist/cdn/EEMGHZQH.js +0 -4
- package/dist/cdn/EF3XLDWO.js +0 -4
- package/dist/cdn/EFI3XMRQ.js +0 -4
- package/dist/cdn/EG4N2U77.js +0 -4
- package/dist/cdn/EHEB22E6.js +0 -4
- package/dist/cdn/EHHPJOXQ.js +0 -4
- package/dist/cdn/EHP5NXBJ.js +0 -4
- package/dist/cdn/EIRN422O.js +0 -4
- package/dist/cdn/EIVDOUV6.js +0 -4
- package/dist/cdn/ELMR4HDB.js +0 -4
- package/dist/cdn/EMIUSLMR.js +0 -4
- package/dist/cdn/EOPFZFY7.js +0 -4
- package/dist/cdn/ESVWWJKP.js +0 -4
- package/dist/cdn/EUFMMA3H.js +0 -4
- package/dist/cdn/EUR533AT.js +0 -4
- package/dist/cdn/EWAYREBF.js +0 -4
- package/dist/cdn/EWCHNGMS.js +0 -4
- package/dist/cdn/EWFBV6U7.js +0 -4
- package/dist/cdn/EWKQIUWH.js +0 -4
- package/dist/cdn/EWOJFWY3.js +0 -4
- package/dist/cdn/EXDKJN6O.js +0 -4
- package/dist/cdn/F2RHBSL4.js +0 -59
- package/dist/cdn/F47OAXWD.js +0 -4
- package/dist/cdn/F7YY7HFL.js +0 -4
- package/dist/cdn/FBS7IUWO.js +0 -4
- package/dist/cdn/FCIJCJEK.js +0 -4
- package/dist/cdn/FCIQIQOR.js +0 -4
- package/dist/cdn/FEVP2DOA.js +0 -4
- package/dist/cdn/FHF6IN4D.js +0 -4
- package/dist/cdn/FISIW6R2.js +0 -4
- package/dist/cdn/FL4CJYY3.js +0 -4
- package/dist/cdn/FM3IJEJN.js +0 -4
- package/dist/cdn/FTAW2Q43.js +0 -4
- package/dist/cdn/FU6G3R7U.js +0 -4
- package/dist/cdn/FUIW32FS.js +0 -4
- package/dist/cdn/FVWFGNDU.js +0 -4
- package/dist/cdn/FW2CD3QD.js +0 -4
- package/dist/cdn/FXMQISQ5.js +0 -4
- package/dist/cdn/FYP26QJ2.js +0 -5
- package/dist/cdn/G74TAGRG.js +0 -4
- package/dist/cdn/GC7XXTNS.js +0 -4
- package/dist/cdn/GCW7QJ7Z.js +0 -4
- package/dist/cdn/GE2JLT34.js +0 -4
- package/dist/cdn/GFY3RQAF.js +0 -4
- package/dist/cdn/GG5RVZ3O.js +0 -4
- package/dist/cdn/GGCU6E76.js +0 -4
- package/dist/cdn/GGJAJUHM.js +0 -4
- package/dist/cdn/GJ3HZBIL.js +0 -4
- package/dist/cdn/GKFFANWF.js +0 -4
- package/dist/cdn/GLJPGP6H.js +0 -4
- package/dist/cdn/GM4GJCTM.js +0 -4
- package/dist/cdn/GMUSBZHE.js +0 -4
- package/dist/cdn/GPLQNZTM.js +0 -4
- package/dist/cdn/GRGSUPWE.js +0 -4
- package/dist/cdn/GUHHQXP5.js +0 -4
- package/dist/cdn/GURKDTIR.js +0 -4
- package/dist/cdn/GV6L2BM5.js +0 -4
- package/dist/cdn/GVO4N5UY.js +0 -4
- package/dist/cdn/GZNWOJYP.js +0 -4
- package/dist/cdn/H3OF4HCR.js +0 -4
- package/dist/cdn/H3VUSRK7.js +0 -4
- package/dist/cdn/H4AI6OFP.js +0 -4
- package/dist/cdn/H5VXCUDG.js +0 -4
- package/dist/cdn/H7LT62SD.js +0 -4
- package/dist/cdn/HAETIFH2.js +0 -4
- package/dist/cdn/HAO65T3Y.js +0 -4
- package/dist/cdn/HAYPX7FC.js +0 -4
- package/dist/cdn/HGHKW7BV.js +0 -4
- package/dist/cdn/HHKP3RTS.js +0 -4
- package/dist/cdn/HHRXE4TE.js +0 -4
- package/dist/cdn/HMLZQHQA.js +0 -4
- package/dist/cdn/HRVW3APE.js +0 -4
- package/dist/cdn/HVDVDB3U.js +0 -4
- package/dist/cdn/HXFWIAC7.js +0 -4
- package/dist/cdn/HYISBYH7.js +0 -4
- package/dist/cdn/HZ7B54ER.js +0 -4
- package/dist/cdn/I22URKRQ.js +0 -9
- package/dist/cdn/I3LNDW5O.js +0 -4
- package/dist/cdn/I54DIYWB.js +0 -4
- package/dist/cdn/IAJXI7YW.js +0 -4
- package/dist/cdn/IFGYV4BZ.js +0 -4
- package/dist/cdn/IFXO576V.js +0 -4
- package/dist/cdn/IG3R5TSQ.js +0 -4
- package/dist/cdn/IHMU5PZC.js +0 -4
- package/dist/cdn/IJZ2OENP.js +0 -4
- package/dist/cdn/IKYBP6V3.js +0 -4
- package/dist/cdn/ILHMALRK.js +0 -4
- package/dist/cdn/IM4ZNARX.js +0 -4
- package/dist/cdn/IMCSSYQC.js +0 -4
- package/dist/cdn/IN2X2SAO.js +0 -4
- package/dist/cdn/IQKW5TDE.js +0 -4
- package/dist/cdn/IRLVT2SE.js +0 -4
- package/dist/cdn/IRNNHGEC.js +0 -4
- package/dist/cdn/IT7PYGWX.js +0 -4
- package/dist/cdn/ITCEGBHK.js +0 -4
- package/dist/cdn/IUCYYGH7.js +0 -4
- package/dist/cdn/IX4M4WM2.js +0 -4
- package/dist/cdn/J2K77QQN.js +0 -4
- package/dist/cdn/J2VHCYZD.js +0 -4
- package/dist/cdn/J2ZYSNGV.js +0 -4
- package/dist/cdn/J3MU4YNT.js +0 -4
- package/dist/cdn/J4CG4H6A.js +0 -4
- package/dist/cdn/J7FLBFKS.js +0 -4
- package/dist/cdn/JC5445C4.js +0 -4
- package/dist/cdn/JDXNC5RG.js +0 -4
- package/dist/cdn/JGSMAA4R.js +0 -4
- package/dist/cdn/JGX45ICF.js +0 -4
- package/dist/cdn/JI36MJKL.js +0 -4
- package/dist/cdn/JJDY3UXL.js +0 -4
- package/dist/cdn/JOAN2W43.js +0 -4
- package/dist/cdn/JP2DSLEL.js +0 -24
- package/dist/cdn/JR3C3XCT.js +0 -4
- package/dist/cdn/JR5Z6O6S.js +0 -4
- package/dist/cdn/JRXXB632.js +0 -4
- package/dist/cdn/JVPTJAHO.js +0 -4
- package/dist/cdn/JW4OYN2H.js +0 -4
- package/dist/cdn/K276OZVE.js +0 -4
- package/dist/cdn/K2E4A3NN.js +0 -4
- package/dist/cdn/K4B3JJUV.js +0 -4
- package/dist/cdn/K4KEQZSF.js +0 -4
- package/dist/cdn/K62AXNQS.js +0 -4
- package/dist/cdn/K7RXNQ7C.js +0 -4
- package/dist/cdn/KASZLD7R.js +0 -4
- package/dist/cdn/KBJOVLFY.js +0 -4
- package/dist/cdn/KBWRBFSO.js +0 -4
- package/dist/cdn/KCEI76G3.js +0 -4
- package/dist/cdn/KDH7P3ZP.js +0 -4
- package/dist/cdn/KDN3DAEV.js +0 -4
- package/dist/cdn/KDNYUPMH.js +0 -4
- package/dist/cdn/KJU3E32A.js +0 -4
- package/dist/cdn/KRWFAKDI.js +0 -4
- package/dist/cdn/KSCXC446.js +0 -4
- package/dist/cdn/KXBTTIJT.js +0 -4
- package/dist/cdn/KXCK5AXK.js +0 -4
- package/dist/cdn/KYTSPWRL.js +0 -4
- package/dist/cdn/KZ5FUHYZ.js +0 -4
- package/dist/cdn/L5FYWTQQ.js +0 -4
- package/dist/cdn/L7JJJ6AB.js +0 -4
- package/dist/cdn/LAR2OLLL.js +0 -4
- package/dist/cdn/LB526JN3.js +0 -4
- package/dist/cdn/LBEBVYTY.js +0 -4
- package/dist/cdn/LBNNK65A.js +0 -4
- package/dist/cdn/LBNR6S34.js +0 -5
- package/dist/cdn/LE5IYW2O.js +0 -4
- package/dist/cdn/LEBWYXAX.js +0 -4
- package/dist/cdn/LF6JQPJJ.js +0 -4
- package/dist/cdn/LFNVSLYV.js +0 -4
- package/dist/cdn/LG3NJW42.js +0 -4
- package/dist/cdn/LGTQCM55.js +0 -4
- package/dist/cdn/LHNQU45M.js +0 -4
- package/dist/cdn/LM4MQEYK.js +0 -4
- package/dist/cdn/LOMUW3RD.js +0 -4
- package/dist/cdn/LPEJOUBP.js +0 -4
- package/dist/cdn/LQL5OYLQ.js +0 -4
- package/dist/cdn/LRZK2IYB.js +0 -4
- package/dist/cdn/LSU3XKJU.js +0 -4
- package/dist/cdn/LSUN5HXR.js +0 -4
- package/dist/cdn/LTPM65HD.js +0 -4
- package/dist/cdn/LV3KUIYG.js +0 -4
- package/dist/cdn/LVYZSCTI.js +0 -12
- package/dist/cdn/LYJXD2X5.js +0 -4
- package/dist/cdn/LZHD3KUX.js +0 -4
- package/dist/cdn/LZNQG5VA.js +0 -4
- package/dist/cdn/LZTA3IWA.js +0 -4
- package/dist/cdn/LZYYPPDJ.js +0 -4
- package/dist/cdn/M2BSR3JX.js +0 -4
- package/dist/cdn/M4ZLC7IH.js +0 -4
- package/dist/cdn/M6MVHVMK.js +0 -4
- package/dist/cdn/M727FASN.js +0 -4
- package/dist/cdn/MAJE23PF.js +0 -4
- package/dist/cdn/MDJXXJ6J.js +0 -4
- package/dist/cdn/MEYQFEUG.js +0 -4
- package/dist/cdn/MFD6UWA6.js +0 -4
- package/dist/cdn/MHQCQ2KS.js +0 -4
- package/dist/cdn/MJPXSF3W.js +0 -4
- package/dist/cdn/MMWWTAGJ.js +0 -4
- package/dist/cdn/MNV7WVFS.js +0 -4
- package/dist/cdn/MOLXTW4H.js +0 -4
- package/dist/cdn/MOW2OUON.js +0 -4
- package/dist/cdn/MQOB7RQS.js +0 -4
- package/dist/cdn/MQVUC7SI.js +0 -4
- package/dist/cdn/MR4MJQWE.js +0 -4
- package/dist/cdn/MR7OQ366.js +0 -4
- package/dist/cdn/MS7UGQ2E.js +0 -4
- package/dist/cdn/MSVMYG6S.js +0 -4
- package/dist/cdn/MUFFP3NM.js +0 -4
- package/dist/cdn/MXKKP2RE.js +0 -4
- package/dist/cdn/MY5BZA45.js +0 -4
- package/dist/cdn/MYSWYLWJ.js +0 -4
- package/dist/cdn/N25AE62H.js +0 -4
- package/dist/cdn/N34LHAYZ.js +0 -4
- package/dist/cdn/N34OKDHZ.js +0 -5
- package/dist/cdn/N35BLKQ7.js +0 -4
- package/dist/cdn/N76RHJL6.js +0 -4
- package/dist/cdn/N7BHXE2T.js +0 -4
- package/dist/cdn/N7FRJQRU.js +0 -4
- package/dist/cdn/N7V7H3IC.js +0 -4
- package/dist/cdn/NA5S52VM.js +0 -4
- package/dist/cdn/NA5UUDMJ.js +0 -4
- package/dist/cdn/NA7HVZVD.js +0 -4
- package/dist/cdn/NANK5DDC.js +0 -4
- package/dist/cdn/NARM4CW7.js +0 -4
- package/dist/cdn/NBWQXCYS.js +0 -4
- package/dist/cdn/NDCYZZUT.js +0 -4
- package/dist/cdn/NFUCUJQT.js +0 -4
- package/dist/cdn/NGX33DYL.js +0 -4
- package/dist/cdn/NISXKDRN.js +0 -4
- package/dist/cdn/NKKZSLGE.js +0 -4
- package/dist/cdn/NLZU25PQ.js +0 -4
- package/dist/cdn/NPSGBFMC.js +0 -4
- package/dist/cdn/NSA3E27Z.js +0 -4
- package/dist/cdn/NXITYY7A.js +0 -4
- package/dist/cdn/NXZNWVK7.js +0 -4
- package/dist/cdn/NZF6YREN.js +0 -4
- package/dist/cdn/NZZTGYIE.js +0 -4
- package/dist/cdn/O2LZTJ65.js +0 -4
- package/dist/cdn/O5FDGUWR.js +0 -4
- package/dist/cdn/O5JKCCE5.js +0 -4
- package/dist/cdn/O5KONNXN.js +0 -4
- package/dist/cdn/O76IYKD6.js +0 -4
- package/dist/cdn/OATCL4RL.js +0 -4
- package/dist/cdn/ODNEUHLH.js +0 -4
- package/dist/cdn/OE6PFFPN.js +0 -4
- package/dist/cdn/OEIW25JX.js +0 -4
- package/dist/cdn/OELTFMHK.js +0 -4
- package/dist/cdn/OHDRK27E.js +0 -4
- package/dist/cdn/OKLTGA6A.js +0 -4
- package/dist/cdn/OMSYZ3GL.js +0 -4
- package/dist/cdn/ON7G2S6N.js +0 -4
- package/dist/cdn/OOCD7HME.js +0 -4
- package/dist/cdn/OOPNHQNV.js +0 -4
- package/dist/cdn/OQ7VTZZ4.js +0 -4
- package/dist/cdn/OQHAOD6E.js +0 -4
- package/dist/cdn/OQHCTGEH.js +0 -4
- package/dist/cdn/OQM263UX.js +0 -4
- package/dist/cdn/OSDOT5PC.js +0 -4
- package/dist/cdn/OUS7RCDB.js +0 -4
- package/dist/cdn/OUXUCRLZ.js +0 -4
- package/dist/cdn/OVKNDA2X.js +0 -4
- package/dist/cdn/OWVKAZ2K.js +0 -4
- package/dist/cdn/OZJIOSXJ.js +0 -8
- package/dist/cdn/P2SLD4RE.js +0 -4
- package/dist/cdn/P666TY47.js +0 -4
- package/dist/cdn/P6HUUZUX.js +0 -4
- package/dist/cdn/PBBRZPWT.js +0 -4
- package/dist/cdn/PC5BVFI3.js +0 -4
- package/dist/cdn/PE522BSO.js +0 -4
- package/dist/cdn/PJHAQLTL.js +0 -4
- package/dist/cdn/PJO2JLBW.js +0 -4
- package/dist/cdn/PKLBQWAB.js +0 -4
- package/dist/cdn/PKPQJJYY.js +0 -4
- package/dist/cdn/PKRVSEKW.js +0 -4
- package/dist/cdn/PMFO4R4Q.js +0 -4
- package/dist/cdn/PPYZFFAR.js +0 -4
- package/dist/cdn/PR4NYOXY.js +0 -4
- package/dist/cdn/PSEKRC74.js +0 -4
- package/dist/cdn/PUI3HMZ6.js +0 -4
- package/dist/cdn/PV6LPOSO.js +0 -4
- package/dist/cdn/PXCO6J7T.js +0 -4
- package/dist/cdn/PZXUSMLH.js +0 -4
- package/dist/cdn/Q2JMG5ZT.js +0 -4
- package/dist/cdn/Q424KSET.js +0 -4
- package/dist/cdn/Q4HI6O3W.js +0 -4
- package/dist/cdn/Q66HJBAX.js +0 -4
- package/dist/cdn/Q6RQ4Y3W.js +0 -4
- package/dist/cdn/Q7KJVH7M.js +0 -4
- package/dist/cdn/QAT3H4FY.js +0 -41
- package/dist/cdn/QAUX3AKH.js +0 -4
- package/dist/cdn/QBSKEVLB.js +0 -4
- package/dist/cdn/QEXWZWX5.js +0 -4
- package/dist/cdn/QFCU2MID.js +0 -4
- package/dist/cdn/QG4X7QMI.js +0 -4
- package/dist/cdn/QISKH7N7.js +0 -4
- package/dist/cdn/QLW2BGOG.js +0 -4
- package/dist/cdn/QMXM7W3S.js +0 -4
- package/dist/cdn/QO6RXAKF.js +0 -4
- package/dist/cdn/QOHQOCJ3.js +0 -4
- package/dist/cdn/QP75HK4W.js +0 -4
- package/dist/cdn/QPPOPDIY.js +0 -4
- package/dist/cdn/QQ25KVOB.js +0 -4
- package/dist/cdn/QQENWTNQ.js +0 -4
- package/dist/cdn/QQEZXT5Z.js +0 -4
- package/dist/cdn/QQGJS7EV.js +0 -4
- package/dist/cdn/QQMKNV5I.js +0 -4
- package/dist/cdn/QU42GR3U.js +0 -12
- package/dist/cdn/QU6QIFUU.js +0 -4
- package/dist/cdn/QU7DSQNY.js +0 -4
- package/dist/cdn/QUHXT27T.js +0 -4
- package/dist/cdn/QV3SBMYY.js +0 -4
- package/dist/cdn/QWFRXYCQ.js +0 -4
- package/dist/cdn/QYEQ7GPY.js +0 -4
- package/dist/cdn/R5CFCNIJ.js +0 -5
- package/dist/cdn/R5H2BVJI.js +0 -4
- package/dist/cdn/R5X4ZQTI.js +0 -4
- package/dist/cdn/R7I4IPSJ.js +0 -4
- package/dist/cdn/R7TXES4W.js +0 -4
- package/dist/cdn/RAV5TIKV.js +0 -4
- package/dist/cdn/RDV52RAZ.js +0 -4
- package/dist/cdn/REIDUIIQ.js +0 -4
- package/dist/cdn/RG5POO5J.js +0 -4
- package/dist/cdn/RHPRQFS5.js +0 -4
- package/dist/cdn/RKBFD5GC.js +0 -4
- package/dist/cdn/RLIHR6ZF.js +0 -4
- package/dist/cdn/RTPLTQI3.js +0 -4
- package/dist/cdn/RVFN3JAH.js +0 -4
- package/dist/cdn/RXJDIBY4.js +0 -4
- package/dist/cdn/RXYXSLMD.js +0 -4
- package/dist/cdn/RY55FC3J.js +0 -4
- package/dist/cdn/RZAOLFXF.js +0 -4
- package/dist/cdn/RZYUTY6E.js +0 -4
- package/dist/cdn/S2MA6TJB.js +0 -4
- package/dist/cdn/S3TOXAJM.js +0 -4
- package/dist/cdn/S6WQ4BRO.js +0 -4
- package/dist/cdn/SA6R2XUK.js +0 -4
- package/dist/cdn/SEZOPDO6.js +0 -4
- package/dist/cdn/SJERIMSP.js +0 -4
- package/dist/cdn/SJKJCIOP.js +0 -4
- package/dist/cdn/SKCJRCQJ.js +0 -4
- package/dist/cdn/SLXPIHX2.js +0 -4
- package/dist/cdn/SRHFE2LN.js +0 -42
- package/dist/cdn/STCOBBLV.js +0 -4
- package/dist/cdn/SUNETAAD.js +0 -4
- package/dist/cdn/SUPEXCZJ.js +0 -4
- package/dist/cdn/SVZWMG6U.js +0 -4
- package/dist/cdn/SWBZMYU4.js +0 -4
- package/dist/cdn/SXSGV5PM.js +0 -4
- package/dist/cdn/SXYF3KRB.js +0 -4
- package/dist/cdn/SZJERPJ3.js +0 -5
- package/dist/cdn/T4KDYDIN.js +0 -4
- package/dist/cdn/T4ZNMCKJ.js +0 -4
- package/dist/cdn/T5AU32NO.js +0 -4
- package/dist/cdn/T6YRL62C.js +0 -4
- package/dist/cdn/T76LRSV4.js +0 -4
- package/dist/cdn/T7OKSJ2W.js +0 -4
- package/dist/cdn/TB53XW7P.js +0 -4
- package/dist/cdn/TCYGO3F2.js +0 -4
- package/dist/cdn/TG3DV6UT.js +0 -4
- package/dist/cdn/TJDVSNHI.js +0 -4
- package/dist/cdn/TJKHZ3H6.js +0 -4
- package/dist/cdn/TLH372HG.js +0 -4
- package/dist/cdn/TLQKVFBH.js +0 -4
- package/dist/cdn/TLYACGP3.js +0 -4
- package/dist/cdn/TNPHJQCC.js +0 -4
- package/dist/cdn/TOUOYV3W.js +0 -4
- package/dist/cdn/TPCZSURA.js +0 -4
- package/dist/cdn/TSJ5ATBJ.js +0 -4
- package/dist/cdn/TTQWNOA5.js +0 -4
- package/dist/cdn/TTUAUB5D.js +0 -4
- package/dist/cdn/U4V2EUHM.js +0 -4
- package/dist/cdn/U4YSDUKW.js +0 -4
- package/dist/cdn/U6Y7XSZ7.js +0 -4
- package/dist/cdn/UBTOBJM4.js +0 -4
- package/dist/cdn/UBYTYNYJ.js +0 -4
- package/dist/cdn/UCWZ7JF2.js +0 -4
- package/dist/cdn/UEN6PAIG.js +0 -4
- package/dist/cdn/UFJHRNW5.js +0 -4
- package/dist/cdn/UFUEA42B.js +0 -4
- package/dist/cdn/ULUKADPA.js +0 -4
- package/dist/cdn/UN7KZSBC.js +0 -6
- package/dist/cdn/UPGAZR5O.js +0 -4
- package/dist/cdn/UPKLFCOK.js +0 -4
- package/dist/cdn/URPCL22O.js +0 -4
- package/dist/cdn/UWBPTN32.js +0 -4
- package/dist/cdn/UWSD4H3X.js +0 -4
- package/dist/cdn/UX5BTGE7.js +0 -4
- package/dist/cdn/UZIQ2HZ3.js +0 -4
- package/dist/cdn/V2NEHCU7.js +0 -4
- package/dist/cdn/V3R4F2TH.js +0 -4
- package/dist/cdn/V3UQPBVE.js +0 -4
- package/dist/cdn/V3WVL7WS.js +0 -4
- package/dist/cdn/V46RMZAK.js +0 -4
- package/dist/cdn/V5CRYRSR.js +0 -4
- package/dist/cdn/V5IA4SB7.js +0 -4
- package/dist/cdn/V7JLDFQ7.js +0 -4
- package/dist/cdn/V7KWARO2.js +0 -4
- package/dist/cdn/VJ4YD7VD.js +0 -4
- package/dist/cdn/VOK5RQYJ.js +0 -4
- package/dist/cdn/VQHBR7AJ.js +0 -4
- package/dist/cdn/VRVTEAJN.js +0 -4
- package/dist/cdn/VXAKA2SZ.js +0 -4
- package/dist/cdn/VYQRYBMZ.js +0 -4
- package/dist/cdn/W43LSSK6.js +0 -4
- package/dist/cdn/W4AZ5CDE.js +0 -4
- package/dist/cdn/W6JVZ5EY.js +0 -4
- package/dist/cdn/WCAXIIDT.js +0 -8
- package/dist/cdn/WHZRSVJT.js +0 -4
- package/dist/cdn/WJSSUTWQ.js +0 -4
- package/dist/cdn/WKLHKQUW.js +0 -4
- package/dist/cdn/WLK7CSLG.js +0 -4
- package/dist/cdn/WNQEJ7DN.js +0 -4
- package/dist/cdn/WNYS42WC.js +0 -4
- package/dist/cdn/WO66QIEO.js +0 -4
- package/dist/cdn/WQ2FEVE7.js +0 -4
- package/dist/cdn/WR6LNBK4.js +0 -4
- package/dist/cdn/WSOAAIEP.js +0 -4
- package/dist/cdn/WT2667YN.js +0 -4
- package/dist/cdn/WYU5GDLI.js +0 -4
- package/dist/cdn/X37EUO4C.js +0 -4
- package/dist/cdn/X3SU4SJN.js +0 -4
- package/dist/cdn/X536ATFU.js +0 -4
- package/dist/cdn/X6VPG6RD.js +0 -4
- package/dist/cdn/XBBQSA2T.js +0 -4
- package/dist/cdn/XCWD7I4I.js +0 -4
- package/dist/cdn/XEJA5EFA.js +0 -4
- package/dist/cdn/XHPAXE3T.js +0 -4
- package/dist/cdn/XJYZ7J4Y.js +0 -4
- package/dist/cdn/XSXEFOD7.js +0 -4
- package/dist/cdn/XUVR4OSX.js +0 -4
- package/dist/cdn/XVRDY5Q7.js +0 -4
- package/dist/cdn/XVXIHYCC.js +0 -4
- package/dist/cdn/XXESAWRL.js +0 -4
- package/dist/cdn/XZWT3IP6.js +0 -4
- package/dist/cdn/Y25AEI7X.js +0 -4
- package/dist/cdn/Y4LWWV6X.js +0 -4
- package/dist/cdn/Y5HDAYIL.js +0 -4
- package/dist/cdn/Y5KUXQUL.js +0 -4
- package/dist/cdn/YBCON4ZC.js +0 -4
- package/dist/cdn/YEHTFYX6.js +0 -4
- package/dist/cdn/YELZQHFA.js +0 -4
- package/dist/cdn/YM7JJHMW.js +0 -4
- package/dist/cdn/YNRDJKG2.js +0 -4
- package/dist/cdn/YOBIUFZF.js +0 -4
- package/dist/cdn/YPP442AZ.js +0 -4
- package/dist/cdn/YRYL4YMH.js +0 -4
- package/dist/cdn/YSWGCZTZ.js +0 -4
- package/dist/cdn/YTA7ABGS.js +0 -4
- package/dist/cdn/Z346XW2Y.js +0 -4
- package/dist/cdn/Z47BSZKY.js +0 -4
- package/dist/cdn/Z4CNAIBK.js +0 -4
- package/dist/cdn/Z5DQGJN4.js +0 -4
- package/dist/cdn/Z5VYZ2WM.js +0 -4
- package/dist/cdn/Z65VXVW3.js +0 -4
- package/dist/cdn/Z7VHA6KY.js +0 -4
- package/dist/cdn/Z7Z4XSUZ.js +0 -4
- package/dist/cdn/ZAVBJU3P.js +0 -4
- package/dist/cdn/ZDIB7VMF.js +0 -4
- package/dist/cdn/ZDIFYSBB.js +0 -4
- package/dist/cdn/ZEDPULXZ.js +0 -4
- package/dist/cdn/ZEVW66XA.js +0 -25
- package/dist/cdn/ZG3TWDK6.js +0 -4
- package/dist/cdn/ZGNCC4NH.js +0 -4
- package/dist/cdn/ZI363I7V.js +0 -4
- package/dist/cdn/ZJDARQMG.js +0 -4
- package/dist/cdn/ZJGR2NEJ.js +0 -4
- package/dist/cdn/ZLBRCO6L.js +0 -4
- package/dist/cdn/ZMKQCAXQ.js +0 -4
- package/dist/cdn/ZMMAEBVZ.js +0 -4
- package/dist/cdn/ZMMPNO2O.js +0 -4
- package/dist/cdn/ZNSSVZZQ.js +0 -4
- package/dist/cdn/ZOBPX2CG.js +0 -4
- package/dist/cdn/ZPJLEYGE.js +0 -4
- package/dist/cdn/ZQ23WUQL.js +0 -4
- package/dist/cdn/ZT5TE5XE.js +0 -4
- package/dist/cdn/ZTUKAOD2.js +0 -4
- package/dist/cdn/ZWEFXRPN.js +0 -4
- package/dist/cdn/ZWNNQ2ZV.js +0 -4
- package/dist/cdn/ZWRGDCJF.js +0 -4
- package/dist/cdn/ZZTVQWPO.js +0 -4
package/dist/cdn/LEBWYXAX.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import{a as et,c as It,d as Ct,e as Pt}from"./PUI3HMZ6.js";import"./RVFN3JAH.js";import{b as Dt}from"./I22URKRQ.js";import{a as tt}from"./HRVW3APE.js";import{a as X}from"./4IGNBYNB.js";import{a as $}from"./3FXJKANX.js";import{a as Z}from"./4MJGM6LA.js";import{a as J}from"./U6Y7XSZ7.js";import b from"./E42PIMI5.js";import"./3XCJTU4L.js";import{a as wt}from"./K7RXNQ7C.js";import{a as Y,b as _}from"./56NX4JRB.js";import a from"./BOFP5IER.js";import"./URPCL22O.js";import"./4YIKCTEG.js";import{b as yt}from"./7BMY7XCD.js";import{a as V}from"./7URDPP56.js";import{a as mt}from"./4M4KBA3U.js";import{h as gt}from"./5ZPEXBAG.js";import{b as bt}from"./QQMKNV5I.js";import"./ITCEGBHK.js";import{b as B}from"./2RCUCWI2.js";import"./MR4MJQWE.js";import{b as dt}from"./EHP5NXBJ.js";import"./GJ3HZBIL.js";import"./OSDOT5PC.js";import"./WSOAAIEP.js";import"./SZJERPJ3.js";import"./6SQLNTI5.js";import"./NXZNWVK7.js";import{n as pt}from"./YEHTFYX6.js";import"./EWFBV6U7.js";import"./2F7JTV34.js";import"./O5JKCCE5.js";import"./PXCO6J7T.js";import"./FCIQIQOR.js";import"./KXBTTIJT.js";import"./NDCYZZUT.js";import"./MFD6UWA6.js";import"./ZI363I7V.js";import"./KDNYUPMH.js";import"./TTUAUB5D.js";import"./AODVXTIT.js";import"./WHZRSVJT.js";import"./646IF44F.js";import"./KDN3DAEV.js";import{N as ht,O as K,X as ut,o as ct}from"./LPEJOUBP.js";import"./3TNKNDPV.js";import"./TJDVSNHI.js";import"./FUIW32FS.js";import"./WNYS42WC.js";import"./2KO66RWN.js";import"./7YZRJHWC.js";import"./G74TAGRG.js";import"./EHHPJOXQ.js";import"./UPKLFCOK.js";import"./3RDDL56K.js";import"./LAR2OLLL.js";import"./Q7KJVH7M.js";import"./XZWT3IP6.js";import"./ZDIB7VMF.js";import{f as z,k as U}from"./PMFO4R4Q.js";import{d as q}from"./FL4CJYY3.js";import"./AX3PP6N4.js";import"./OELTFMHK.js";import"./XHPAXE3T.js";import"./QU42GR3U.js";import"./BP3UKQRX.js";import"./E6C7DZQD.js";import"./NXITYY7A.js";import"./P6HUUZUX.js";import"./N7BHXE2T.js";import"./7BM6QJPU.js";import"./J4CG4H6A.js";import"./LZNQG5VA.js";import"./KYTSPWRL.js";import{h as lt}from"./UPGAZR5O.js";import"./JI36MJKL.js";import"./FHF6IN4D.js";import"./YTA7ABGS.js";import"./W6JVZ5EY.js";import"./JRXXB632.js";import"./P2SLD4RE.js";import"./IFXO576V.js";import"./V3WVL7WS.js";import"./DDTL2QOC.js";import"./JVPTJAHO.js";import"./EWKQIUWH.js";import"./ZOBPX2CG.js";import"./ILHMALRK.js";import"./4FRKOUFZ.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import{c as N,g as Tt,j as it}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./Y25AEI7X.js";import"./IX4M4WM2.js";import"./ZMMAEBVZ.js";import"./XJYZ7J4Y.js";import"./WR6LNBK4.js";import{j as rt}from"./X3SU4SJN.js";import{o as ot}from"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as k}from"./UBTOBJM4.js";import{a as j}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as h}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as s,c as A,d as L,e as d,h as F,i as G}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";export default $arcgis.t(([,{n:ft,o:vt,s:W},{b:Q}])=>{var _t='.sc-arcgis-hub-discussions-h{display:block;max-height:100%;overflow:auto;background-color:var(--calcite-color-foreground-1);--arcgis-hub-layout-list-gap:0rem}calcite-panel.sc-arcgis-hub-discussions{height:max-content}section.sc-arcgis-hub-discussions{margin-top:1rem;margin-bottom:1rem;margin-left:0.75rem;margin-right:0.75rem;display:grid;gap:0.75rem;border-radius:0.25rem;padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}header.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}p.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-0);line-height:1.375rem}section.sc-arcgis-hub-discussions calcite-button.sc-arcgis-hub-discussions{width:-moz-fit-content;width:fit-content}calcite-button[icon-start="speech-bubble-plus"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:0.5rem;display:block}arcgis-hub-subscription.sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem;display:block}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}calcite-notice[slot="list-before"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}.empty.sc-arcgis-hub-discussions arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin:0px;margin-top:0.25rem}.empty.sc-arcgis-hub-discussions calcite-notice.sc-arcgis-hub-discussions{width:100%}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions{overflow:hidden;padding-top:1rem;padding-bottom:1rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding-top:1.5rem}arcgis-hub-discussions-post-list.location-list.sc-arcgis-hub-discussions{padding-top:0.25rem;padding-bottom:0.25rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding:1rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions{display:flex;justify-content:flex-end;padding-top:0.5rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions+calcite-notice.sc-arcgis-hub-discussions{margin-top:1rem;width:100%}.discussions-options.sc-arcgis-hub-discussions:active .discussions-options-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-go-to.sc-arcgis-hub-discussions:active .discussions-go-to-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-back.sc-arcgis-hub-discussions{border-width:0px;border-right-width:1px;border-style:solid;border-right-color:var(--calcite-color-border-3)}.discussions-back.sc-arcgis-hub-discussions:active .discussions-back-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor[slot="list-before"].sc-arcgis-hub-discussions{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:0.75rem;margin-right:0.75rem}',kt=_t,st=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},M=class{constructor(t){G(this,t),this.arcgisHubPostEditorReady=d(this,"arcgisHubPostEditorReady",7),this.arcgisHubGeometryGoTo=d(this,"arcgisHubGeometryGoTo",7),this.arcgisHubDiscussionsFeature=d(this,"arcgisHubDiscussionsFeature",7),this.arcgisHubDiscussionsFeatureDeleted=d(this,"arcgisHubDiscussionsFeatureDeleted",7),this.arcgisHubGeometryFeatureSelect=d(this,"arcgisHubGeometryFeatureSelect",7),this.arcgisHubGeometryFeatureHover=d(this,"arcgisHubGeometryFeatureHover",7),this.arcgisHubGeometryDrawCreate=d(this,"arcgisHubGeometryDrawCreate",7),this.arcgisHubGeometryDrawTypeSelect=d(this,"arcgisHubGeometryDrawTypeSelect",7),this.arcgisHubGeometryDrawEdit=d(this,"arcgisHubGeometryDrawEdit",7),this.arcgisHubGeometryDrawEditCancel=d(this,"arcgisHubGeometryDrawEditCancel",7),this.arcgisHubGeometryDrawReset=d(this,"arcgisHubGeometryDrawReset",7),this.arcgisHubGeometrySelect=d(this,"arcgisHubGeometrySelect",7),this.arcgisHubGeometryDeselect=d(this,"arcgisHubGeometryDeselect",7),this.arcgisHubDiscussionsViewThread=d(this,"arcgisHubDiscussionsViewThread",7),this.arcgisHubDiscussionsDismiss=d(this,"arcgisHubDiscussionsDismiss",7),this.arcgisHubDiscussionsClose=d(this,"arcgisHubDiscussionsClose",7),this.arcgisHubFeatureRemove=d(this,"arcgisHubFeatureRemove",7),this.arcgisHubGeometryClearAll=d(this,"arcgisHubGeometryClearAll",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.handleSignInClicked=e=>{e.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()},this.discussion=void 0,this.parentId=void 0,this.postId=void 0,this.channelId=void 0,this.locationId=void 0,this.unsavedFeatures=[],this.unsavedRelatedFeatures=[],this.unsavedExistingFeatures=[],this.hasMap=void 0,this.isHub=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this.dismissible=void 0,this.enableGoTo=void 0,this.disableNavigation=void 0,this.entityId=void 0,this.entityType=void 0,this.entity=void 0,this.discussionSettings=void 0,this.threadScrollTarget=void 0,this._context=N(),this.postListProps=void 0,this.threadProps=void 0,this.listScrollTarget=void 0,this._loading=!0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.error=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.isMobile=void 0,this.showOptions=!1,this.numPostableChannels=null,k(this,"handleCheckStatus","handleBackToList","handleBackToThread","handleGeometryGoTo","handleNewPost","renderLoading","renderAddOrCreatePostButton","renderPostEditor","renderThread","renderPostList","renderError","handleDiscussionOptionsClick","handleDiscussionsDownloadClick","handleOptionsBack","checkIsMobile","handleSaveOptions","handleResetOptionsError","handlePostListUpdated","renderRequiresAuth","handleThreadReady","handlePostListReady")}async componentWillLoad(){this.initialize()}componentDidLoad(){this.observe()}connectedCallback(){it(this),this.observe()}disconnectedCallback(){this.disconnect(),this.disconnectContext()}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(t=>{Object.assign(this,t),this.threadProps=this.channelId&&this.parentId?{channelId:this.channelId,parentId:this.parentId,postId:this.postId}:null}).catch(t=>{this.error=t}).finally(()=>{this._loading=!1})}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){var t;let[e,i]=await Promise.all([J({isHub:this.isHub},this._context.hubRequestOptions),Q({discussion:this.discussion,entityId:this.entityId,entityType:this.entityType,entity:this.entity,locationId:this.locationId},this._context.hubRequestOptions,!0)]),{total:n}=await W({allowedChannelIds:(t=i.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1});return Object.assign(Object.assign(Object.assign({},e),i),{numPostableChannels:n})}handleContextChanged(t,e){var i,n;((i=t?.currentUser)===null||i===void 0?void 0:i.username)!==((n=e?.currentUser)===null||n===void 0?void 0:n.username)&&(this.resetState(),this.loadDependencies())}resetState(){this.error=null,this._loading=!1,this.threadScrollTarget=null,this.listScrollTarget=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.showOptions=!1,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.postListProps=null,this.threadProps=null}async handleBackToList(){let{thread:t}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:t.postId,parentId:t.parentId,channelId:t.channelId,channelAccess:t.channel?U(t.channel):void 0})),this.threadScrollTarget=null,this.threadProps=null,this.channelId=null,this.parentId=null,this.postId=null,this.arcgisHubDiscussionsViewThread.emit({parentId:null,channelId:null})}observe(){$.addHandler(window.document.body,this.checkIsMobile)}disconnect(){$.removeHandler(window.document.body,this.checkIsMobile)}scrollToTarget(t){this.element.scrollTo({behavior:"smooth",left:t.offsetLeft,top:t.offsetTop})}async scrollToThreadTarget(){var t,e;let i;this.threadScrollTarget==="list"?i=await((t=this.thread)===null||t===void 0?void 0:t.getPostListRef()):this.threadScrollTarget==="editor"&&(i=await((e=this.thread)===null||e===void 0?void 0:e.getPostEditorRef())),i&&(this.threadScrollTarget=null,this.scrollToTarget(i))}async scrollToListTarget(){var t;let e=await((t=this.postListEl)===null||t===void 0?void 0:t.getPostRefByPostId(this.listScrollTarget));e&&(this.listScrollTarget=null,this.scrollToTarget(e))}handleNewPost(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.editor),this.showPostEditor=!0}handlePostListUpdated(t){let e=t.target,{nextStart:i,start:n,total:a,items:o}=e;this.postListProps={nextStart:i,start:n,total:a,items:o}}handlePostEditorReady(t){let{detail:e}=t;t.stopPropagation(),this.arcgisHubPostEditorReady.emit(e)}handlePostCanceled(t){t.stopPropagation(),this.showPostEditor=!1}handlePostCreate(t){this.arcgisHubDiscussionsFeature.emit({post:t.detail,create:!0})}handleThreadReady(){setTimeout(()=>this.scrollToThreadTarget(),500)}handlePostListReady(){setTimeout(()=>this.scrollToListTarget(),500)}async handlePostDeleted(t){var e,i;let{postListProps:n,threadProps:a}=this,o=({id:l})=>l===t.detail.id;!((e=this.postListProps)===null||e===void 0)&&e.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},n),{items:n.items.filter(l=>!o(l)),nextStart:n.nextStart>-1?n.nextStart-1:n.nextStart,total:n.total-1})),t.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:null})),this.arcgisHubDiscussionsFeatureDeleted.emit(t.detail)}async handlePostEdited(t){var e,i;let{postListProps:n,threadProps:a}=this,o=({id:l})=>l===t.detail.id;!((e=this.postListProps)===null||e===void 0)&&e.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},n),{items:n.items.map(l=>o(l)?t.detail:l)})),t.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:t.detail})),this.arcgisHubDiscussionsFeature.emit({post:t.detail,create:!1})}handlePostSelect(t){let{parentId:e,channelId:i,channel:n,channelGroups:a,parent:o,parentCreator:l,parentCreatorOrg:r,scrollTarget:f,postId:b,post:v,postCreator:w,postCreatorOrg:D}=t.detail;Object.assign(this,{parentId:e,channelId:i,threadScrollTarget:f,listScrollTarget:e,postId:b,showPostEditor:!1,threadProps:e?{channelId:i,channel:n,channelGroups:a,parentId:e,parent:o,parentCreator:l,parentCreatorOrg:r,postId:b,post:v,postCreator:w,postCreatorOrg:D}:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:e,channelId:i})}handleBackToThread(){let{thread:{channel:t},threadProps:{postId:e,parentId:i,channelId:n}}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:e,parentId:i,channelId:n,channelAccess:t?U(t):void 0})),this.postId=null,this.threadProps=Object.assign(Object.assign({},this.threadProps),{postId:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:i,channelId:n})}handleGeometryGoTo(){let{thread:t}=this;this.arcgisHubGeometryGoTo.emit(t?.parent)}handleGeometryFeatureSelect(t){t.stopPropagation(),this.arcgisHubGeometryFeatureSelect.emit(t.detail)}handleGeometryFeatureHover(t){t.stopPropagation(),this.arcgisHubGeometryFeatureHover.emit(t.detail)}handleGeometryDrawCreate(t){t.stopPropagation(),this.arcgisHubGeometryDrawCreate.emit(t.detail)}handleGeometryDrawTypeSelect(t){t.stopPropagation(),this.arcgisHubGeometryDrawTypeSelect.emit(t.detail)}handleGeometryDrawEdit(t){t.stopPropagation(),this.arcgisHubGeometryDrawEdit.emit(t.detail)}handleGeometryDrawEditCancel(t){t.stopPropagation(),this.arcgisHubGeometryDrawEditCancel.emit()}handleGeometryDrawReset(t){t.stopPropagation(),this.arcgisHubGeometryDrawReset.emit()}handleGeometrySelect(t){t.stopPropagation(),this.arcgisHubGeometrySelect.emit(t.detail)}handleGeometryDeselect(t){t.stopPropagation(),this.arcgisHubGeometryDeselect.emit()}handleFeatureRemove(t){t.stopPropagation(),this.arcgisHubFeatureRemove.emit(t.detail)}handleGeometryClearAll(t){t.stopPropagation(),this.arcgisHubGeometryClearAll.emit()}handleCalcitePanelDismissedChange(t){t.stopPropagation(),this.arcgisHubDiscussionsDismiss.emit()}handleCalcitePanelDismissChange(t){t.stopPropagation(),this.arcgisHubDiscussionsClose.emit()}captureEmptyListImpression(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.viewed.label.empty)}handleCheckStatus(t){t.preventDefault();let e=t.target;this.hubTelemetry.emit(h.dictionary.category.navigation.action.external.label.hubStatus),setTimeout(()=>rt(e.href),250)}checkIsMobile(){this._checkIsMobile(globalThis.document.body)}_checkIsMobile(t){this.isMobile=t.clientWidth<768}handleDiscussionOptionsClick(){this.showOptions=!0,this.showPostEditor=!1,this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.panel.details.discussionOptions)}async handleDiscussionsDownloadClick(){try{let{size:t,count:e,duration:i}=await vt({entityTitle:this.entity.title,discussion:this.discussion,channels:this.areChannelsConfigured?this.discussionSettings.allowedChannelIds:void 0,requestOptions:this._context.hubRequestOptions});this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{size:t,count:e,duration:i,response:h.constants.response.SUCCESS}))}catch{this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{response:h.constants.response.FAILURE})),Tt({title:this.intl.t("download.error"),message:"",configuration:{autoClose:!0,autoCloseDuration:"fast",icon:!0,noticeType:"alert",kind:"danger",label:this.intl.t("notice.label")}})}this.discussionOptionsPopoverEl.open=!1}handleOptionsBack(){this.showOptions=!1}async handleSaveOptions(t){this.entity=Object.assign(Object.assign({},this.entity),{typeKeywords:t.detail.typeKeywords}),this.discussionSettings=t.detail.discussionSettings,this.optionsSaving=!1}handleResetOptionsError(){this.optionsError=null}get loading(){return!this.intl||this._loading}get areChannelsConfigured(){var t,e;return!!(!((e=(t=this.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds)===null||e===void 0)&&e.length)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+q(this.entity.type,this.entityId,"settings-discussions")}get isRtl(){return this.intl.direction==="rtl"}get view(){let{error:t,loading:e,showOptions:i,threadProps:n}=this,a;return t?a=this.renderError:e?a=this.renderLoading:i?a=this.renderOptions:n?a=this.renderThread:a=this.renderPostList,a}get shouldRenderOptions(){let t=!1;return this.dismissible||(t=this.entityType===mt.CONTENT?this.canEditEntity:!1),t}get isDiscussable(){return!!this.entity&&z(this.entity)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get hubEntityType(){return yt(Dt(this.entityType))}get shouldRenderSubscribe(){var t,e;let i=ot("hub:feature:discussions:subscription",this._context).access;return((t=this._context)===null||t===void 0?void 0:t.currentUser)&&((e=this.postListProps)===null||e===void 0?void 0:e.total)>0&&!this.locationId&&i}renderRequiresAuth(){let{intl:t}=this;if(t)return s("section",{class:"requires-auth"},s("calcite-icon",{icon:"frown",scale:"l"}),s("header",null,t.t("auth.title")),s("p",null,t.t("auth.text")))}renderEmpty(){var t;if(((t=this.postListProps)===null||t===void 0?void 0:t.total)===0&&!this.showPostEditor)return this.deletedDuringSession||this.captureEmptyListImpression(),s("section",{class:"empty",slot:"empty"},s("calcite-icon",{flipRtl:this.isRtl,icon:"speech-bubble",scale:"l"}),s("header",null,this.intl.t("emptyHeading")),s("p",null,this.intl.t("emptyMessage")),this._context.currentUser&&s("calcite-button",{disabled:!this.isDiscussable||!this.numPostableChannels,label:this.intl.t("addPost"),onClick:this.handleNewPost,round:!0,scale:"l"},this.intl.t("addPost")),this.renderNotice())}renderOptions(){let{entity:t,optionsSaving:e,intl:i,optionsError:n}=this;return s("calcite-panel",{"data-element":"discussions-options-panel",description:t.title,disabled:e,heading:i.t("options.heading")},s("calcite-action",{class:"discussions-back",onClick:this.handleOptionsBack,scale:"s",slot:"header-actions-start",text:this.intl.t("back")},s("calcite-icon",{class:"discussions-back-icon",flipRtl:this.isRtl,icon:"chevron-left",scale:"s"})),s("div",null,s("arcgis-hub-discussions-options",{entityId:t.id,entityType:this.hubEntityType,onArcgisHubDiscussionsOptionsEntitySaved:this.handleSaveOptions}),n&&s("calcite-notice",{closable:!0,kind:"danger",onCalciteNoticeClose:this.handleResetOptionsError,open:!0},s("header",{slot:"title"},i.t("options.failure.title")),s("p",{slot:"message"},i.t("options.failure.message")))))}renderPostEditor(){return s(F,null,s("arcgis-hub-discussions-post-editor",{discussion:this.discussion,discussionSettings:this.discussionSettings,entity:this.entity,entityId:this.entityId,entityType:this.entityType,hasMap:this.hasMap,isHub:this.isHub,isMobile:this.isMobile,locationId:this.locationId,showHeader:!0,showLocations:!0,slot:"list-before",unsavedExistingFeatures:this.unsavedExistingFeatures,unsavedFeatures:this.unsavedFeatures,unsavedRelatedFeatures:this.unsavedRelatedFeatures}))}renderAddOrCreatePostButton(){var t;if(((t=this.postListProps)===null||t===void 0?void 0:t.total)===void 0)return null;if(this.postListProps.total)return s(F,null,this._context.currentUser&&s("calcite-button",{appearance:"outline",disabled:!this.isDiscussable||!this.numPostableChannels,iconFlipRtl:"start",iconStart:"speech-bubble-plus",kind:"brand",label:this.intl.t("addPost"),onClick:this.handleNewPost,scale:"l",slot:"list-before",type:"button",width:"auto"},this.intl.t("addPost")),this.renderNotice("list-before"))}renderNotice(t){let e;return this.isDiscussable?this._context.currentUser?this.numPostableChannels||(e=this.renderParticipationUnavailableNotice(t)):e=this.renderSignInNotice(t):e=this.renderBlockedNotice(t),e}renderParticipationUnavailableNotice(t){return s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m",slot:t},s("div",{slot:"title"},this.intl.t("participationUnavailable.title")),s("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&s("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(t){return s("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m",slot:t},s("div",{slot:"title"},this.intl.t("signIn.title")),s("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signIn.action")))}renderBlockedNotice(t){return s("arcgis-hub-discussions-blocked-notice",{slot:t,variant:this.entityType==="group"?_.Group:_.Item})}renderGoToAction(){let{enableGoTo:t,intl:e}=this;if(t)return s("calcite-action",{class:"discussions-go-to",onClick:this.handleGeometryGoTo,slot:"header-actions-end",text:e.t("showFullDiscussion")},s("calcite-icon",{class:"discussions-go-to-icon",icon:"extent",scale:"s"}))}renderSubscribeButton(){return s("arcgis-hub-subscription",{entityId:this.entityId,entityType:this.hubEntityType,slot:"list-before",subscribeButtonProps:{scale:"l",round:!1,width:"full"},types:[wt.DISCUSSION]})}renderPostList(){let{discussion:t,entity:e,entityId:i,entityType:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,hasMap:b,isHub:v,unsavedFeatures:w,unsavedRelatedFeatures:D,unsavedExistingFeatures:C,showPostEditor:P,locationId:u,intl:g,shouldRenderOptions:T,isMobile:I,dismissible:y,postListProps:c,discussionSettings:m,handlePostListUpdated:O,handlePostListReady:p}=this,R={"location-list":!!u},x=u&&l?l:g.t("list.heading"),S=u?g.t("location.summary"):e.title;return s("calcite-panel",{closable:y,description:S,heading:x},this.renderGoToAction(),s(F,null,s("calcite-action",{class:"discussions-options",ref:E=>{this.discussionOptionsActionEl=E},scale:"m",slot:"header-actions-end",text:g.t("options")},s("calcite-icon",{class:"discussions-options-icon",icon:"ellipsis",scale:"s"})),s("calcite-popover",{autoClose:!0,flipPlacements:["top-end","bottom-end"],offsetDistance:0,overlayPositioning:"absolute",placement:"bottom-end",pointerDisabled:!0,ref:E=>{this.discussionOptionsPopoverEl=E},referenceElement:this.discussionOptionsActionEl},s("calcite-action-group",{layout:"vertical"},s("calcite-action",{alignment:"center",disabled:!c?.total,onClick:this.handleDiscussionsDownloadClick,scale:"m",text:g.t("download"),textEnabled:!0}),T&&s("calcite-action",{alignment:"left",onClick:this.handleDiscussionOptionsClick,scale:"m",text:g.t("settings"),textEnabled:!0})))),s("arcgis-hub-discussions-post-list",{channelIds:m?.allowedChannelIds,class:R,discussion:u?`${t}%?id=%${u}`:`${t}`,discussionSettings:m,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:e,entityId:i,entityType:n,hasMap:b,isHub:v,isMobile:I,items:c?.items,locationId:u,nextStart:c?.nextStart,onArcgisHubDiscussionsPostListReady:p,onArcgisHubDiscussionsPostListUpdated:O,parentIds:!u&&[],ref:E=>{this.postListEl=E},showChannelAvatar:r,showChannelName:f,showLocations:!0,start:c?.start,total:c?.total,unsavedExistingFeatures:C,unsavedFeatures:w,unsavedRelatedFeatures:D},!u&&(P?this.renderPostEditor():this.renderAddOrCreatePostButton()),this.shouldRenderSubscribe&&this.renderSubscribeButton(),this.renderEmpty()))}renderLoading(){return null}renderError(){let{intl:t}=this;return s("section",null,s("calcite-icon",{icon:"frown",scale:"l"}),s("header",null,t.t("error.title")),s("p",null,t.t("error.text")),s("calcite-button",{appearance:"transparent",href:"https://hubstatus.arcgis.com/",kind:"error",onClick:this.handleCheckStatus,round:!0,scale:"l"},t.t("error.button")))}renderThread(){let{hasMap:t,isHub:e,unsavedFeatures:i,unsavedRelatedFeatures:n,unsavedExistingFeatures:a,discussion:o,entity:l,entityId:r,entityType:f,discussionSettings:b,dismissible:v,displayFieldKey:w,displayFieldValid:D,displayFieldValue:C,showChannelAvatar:P,showChannelName:u,intl:g,handleBackToList:T,locationId:I,handleBackToThread:y,handleThreadReady:c,disableNavigation:m,isMobile:O,threadProps:p}=this,R="generic.heading",x="thread.summary",S=T;return p.postId?(R="reply.heading",x="reply.summary",S=y):I&&(R="location.heading"),m&&(R="list.heading"),s("calcite-panel",{closable:v,description:g.t(x),heading:g.t(R)},!m&&s("calcite-action",{class:"discussions-back",onClick:S,scale:"s",slot:"header-actions-start",text:g.t("back")},s("calcite-icon",{class:"discussions-back-icon",icon:"chevron-left",scale:"s"})),this.renderGoToAction(),s("arcgis-hub-discussions-thread",{channel:p.channel,channelGroups:p.channelGroups,channelId:p.channelId,discussion:o,discussionSettings:b,displayFieldKey:w,displayFieldValid:D,displayFieldValue:C,entity:l,entityId:r,entityType:f,hasMap:t,isHub:e,isMobile:O,locationId:I,onArcgisHubDiscussionsThreadReady:c,parent:p.parent,parentCreator:p.parentCreator,parentCreatorOrg:p.parentCreatorOrg,parentId:p.parentId,post:p.post,postCreator:p.postCreator,postCreatorOrg:p.postCreatorOrg,postId:p.postId,ref:E=>{this.thread=E},showChannelAvatar:P,showChannelName:u,showLocations:!0,unsavedExistingFeatures:a,unsavedFeatures:i,unsavedRelatedFeatures:n}))}render(){return s(A,{key:"4748fbfecea4988f6a628bce1c2aeb3e182dbe9d","data-element":"discussions"},this.view())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"]}}};st([Y({delay:300})],M.prototype,"fetchDependencies",null);st([tt()],M.prototype,"captureEmptyListImpression",null);st([V({timeout:250})],M.prototype,"checkIsMobile",null);M.style=kt;var At=':host{left:50%;width:auto;display:var(--display);transform:translate(-50%, 0)}:host([aria-hidden="true"]){display:none}div{border-bottom-right-radius:0.75rem;border-bottom-left-radius:0.75rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.75rem;text-align:center;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));background-color:var(--hub-map-outline);font-weight:var(--calcite-font-weight-bold);font-size:var(--calcite-font-size--1)}calcite-button{margin-left:1rem}',Lt=At,Ht=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},Rt="#9747FF",nt=class{constructor(t){G(this,t),this.arcgisHubDrawDone=d(this,"arcgisHubDrawDone",7),this.activeStyles={outline:`.25rem solid ${Rt}`,padding:".25rem",outlineOffset:"-.25rem"},this.view=void 0,this.isConnected=void 0,k(this,"handleDone")}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.el)}connectedCallback(){this._connect()}disconnectedCallback(){this._disconnect()}_connect(){let{view:t,el:e,activeStyles:i}=this,n=a=>t.ui.container.style[a]=i[a];Object.keys(i).forEach(n),t.ui.add(e),setTimeout(()=>{this.isConnected=!0},50)}_disconnect(){let{view:t,activeStyles:e,el:i}=this,n=a=>t.ui.container.style.removeProperty(a);Object.keys(e).forEach(n),t.ui.remove(i),this.isConnected=!1}handleDone(){this.arcgisHubDrawDone.emit()}get hasViewUI(){let{view:t}=this;return!!(t&&t.ui)}get styles(){let{isConnected:t}=this;return{"--display":t?"block":"none","--hub-map-outline":Rt}}render(){let{intl:t,styles:e,isConnected:i}=this;return s(A,{key:"ae82736952f2c980dc72663d763460924414be67","aria-hidden":i,"data-element":"discussions-map-action-notice",style:e,tabindex:0},s("div",{key:"508f112b133fd28a9754f464781a9fac2cfbdeb8"},s("span",{key:"80c7ec9cb87a46a856caf4e2acf8e46de5af5034"},t.t("adding.notice")),s("calcite-button",{key:"14efbdfc5d47ab0b2dc859d19b6b3c379a4900b6",appearance:"outline-fill",kind:"neutral",onClick:this.handleDone,round:!0,scale:"s"},t.t("adding.action"))))}static get assetsDirs(){return["locales"]}get el(){return L(this)}};Ht([V({timeout:100}),Z({when(){return this.hasViewUI&&!this.isConnected}})],nt.prototype,"_connect",null);Ht([Z({when(){return this.hasViewUI&&this.isConnected}})],nt.prototype,"_disconnect",null);nt.style=Lt;var Gt=":host{display:block;background-color:var(--calcite-color-foreground-1);padding:1rem;padding-bottom:0.5rem;--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)}address{margin-bottom:0.125rem;display:grid;font-size:var(--calcite-font-size--1);font-style:normal;line-height:1.25rem;grid-template-columns:minmax(0, max-content) 1rem minmax(0, max-content)}address b{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}address span{display:flex;justify-content:center;color:var(--calcite-color-text-2)}address arcgis-relative-date{color:var(--calcite-color-text-2)}arcgis-multiline-ellipsis{font-size:var(--calcite-font-size-0);line-height:1.375}calcite-action-group{margin-left:2.75rem}.avatars{position:relative;grid-row:span 2 / span 2;float:left;margin-right:1.25rem;display:flex}.avatars:has(calcite-avatar:only-child){margin-right:0.5rem}.avatars calcite-avatar+calcite-avatar{position:absolute;top:1rem;left:1rem;z-index:10;border-radius:9999px;border:3px solid var(--calcite-color-foreground-1)}.avatars calcite-avatar:only-child{block-size:2.5rem;inline-size:2.5rem}@media only screen and (max-width: 640px){:host{border-radius:1.75rem}}@media only screen and (min-width: 640px){:host{border-radius:1.75rem 1.75rem 1.75rem 0}}",jt=Gt,Ut=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},Ot=class{constructor(t){G(this,t),this.arcgisHubDiscussionsViewFull=d(this,"arcgisHubDiscussionsViewFull",7),this.arcgisHubDiscussionsGeometryZoomTo=d(this,"arcgisHubDiscussionsGeometryZoomTo",7),this.arcgisHubDiscussionsPreviewDidRender=d(this,"arcgisHubDiscussionsPreviewDidRender",7),this.arcgisHubDiscussionsPreviewDismiss=d(this,"arcgisHubDiscussionsPreviewDismiss",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.locationId=void 0,this.postId=void 0,this.parentId=void 0,this.channelId=void 0,this.discussion=void 0,this.showChannelAvatar=void 0,this.loading=!0,this.post=void 0,this.postCreator=void 0,this.channel=void 0,k(this,"handleViewFullThread","handleZoomTo","handleDismiss")}get _context(){return N()}get creatorFullName(){let{intl:t,post:e,postCreator:i}=this,n=t.t("anonymous");return(i||e?.creator)&&(n=i?.fullName||t.t("privateUser")),n}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.element),this.initialize()}componentDidRender(){this.arcgisHubDiscussionsPreviewDidRender.emit(this.element.offsetHeight)}async initialize(){this._initialize()}async _initialize(){let{channelId:t,postId:e,parentId:i,locationId:n}=this;if(t&&(i||e||n)){this.loading=!0;let a=n&&!i?await this.fetchDetailsByLocationId():await this.fetchDetails(e);Object.assign(this,a,{loading:!1}),this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.popUp.details.post)}}async fetchDetailsByLocationId(){let{locationId:t,_context:e,discussion:i}=this,{items:[n]}=await ut(Object.assign({data:{discussion:`${i}%?id=%${t}%`,num:1,sortBy:ht.UPDATED_AT,sortOrder:ct.DESC,start:1,relations:[K.CHANNEL,K.CHANNEL_ACL]}},e.hubRequestOptions));return this.fetchDetails(n.id,n)}async fetchDetails(t,e){let{_context:i}=this,n=await et({postId:t,post:e},i.hubRequestOptions),[a,o]=await Promise.all([X(n,i.hubRequestOptions),It(n,i.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign({},n),a),o)}emitHubTelemetry(t){let{postId:e,parentId:i,channelId:n,channel:a}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},t),{postId:e,parentId:i,channelId:n,channelAccess:U(a)}))}handleViewFullThread(){this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.thread.details[this.locationId?"location":"post"]),this.arcgisHubDiscussionsViewFull.emit()}handleZoomTo(){this.emitHubTelemetry(h.dictionary.category.interaction.action.zoom.label.in),this.arcgisHubDiscussionsGeometryZoomTo.emit(this.post)}handleDismiss(){this.emitHubTelemetry(h.dictionary.category.interaction.action.close.label.popUp.details.post),this.arcgisHubDiscussionsPreviewDismiss.emit()}renderAvatars(){var t;let{_context:e,channel:i,postCreator:n,post:a,showChannelAvatar:o,intl:l}=this,r=!n&&a?{username:a.creator}:n;return s(F,null,s("calcite-avatar",{"full-name":r?.fullName,scale:"m",thumbnail:r?.thumbnail&<(e.hubRequestOptions.portal,r,(t=e.hubRequestOptions.authentication)===null||t===void 0?void 0:t.token),"user-id":r?.id,username:r?.username}),o&&s("calcite-avatar",{"full-name":ft(i,l.t("unnamedChannel")),scale:"s"}))}renderContent(){let{post:t}=this;return s(F,null,s("div",{class:"avatars"},this.renderAvatars()),s("address",null,s("b",null,this.creatorFullName),s("span",null,"\xB7"),s("arcgis-relative-date",{dateTime:t.createdAt,formatStyle:"short"})),s("arcgis-multiline-ellipsis",{innerHTML:t.body,lines:2}),s("calcite-action-group",{layout:"horizontal"},s("calcite-action",{onClick:this.handleViewFullThread,scale:"s",text:this.intl.t("view"),textEnabled:!0}),!1,s("calcite-action",{onClick:this.handleDismiss,scale:"s",text:this.intl.t("dismiss"),textEnabled:!0})))}renderLoading(){return s("arcgis-hub-discussions-post-skeleton",null)}render(){return s(A,{key:"a2b6cdd27fe230cdcf980c6bc82f4f1ee8dfabb3","data-element":"discussions-map-preview"},this.loading?this.renderLoading():this.renderContent())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{channelId:["initialize"],parentId:["initialize"],locationId:["initialize"],postId:["initialize"]}}};Ut([V({timeout:0})],Ot.prototype,"initialize",null);Ot.style=jt;var Nt=":host{display:block}",Vt=Nt,Mt={content:"hub:content:settings:discussions:compact"},Bt=class{constructor(t){G(this,t),this.arcgisHubDiscussionsOptionsEntitySaved=d(this,"arcgisHubDiscussionsOptionsEntitySaved",7),this.entityId=void 0,this.entityType=void 0,this.entity=void 0,k(this,"handleEntityEditorSaved")}get _context(){return N()}async componentWillLoad(){await this.initialize()}async initialize(){!this.entity&&this.entityId&&this.entityType&&(this.entity=await pt(this.entityType,this.entityId,this._context))}get editorType(){return Mt[this.entityType]||null}handleEntityEditorSaved(t){this.arcgisHubDiscussionsOptionsEntitySaved.emit(t.detail.entity)}get isValidEditorType(){return gt.includes(this.editorType)}renderEntityEditor(){if(this.isValidEditorType)return s("arcgis-hub-entity-editor",{editorType:this.editorType,entity:this.entity,onArcgisHubEntityEditorSaved:this.handleEntityEditorSaved,variant:dt.workspace})}render(){return s(A,{key:"fa955ff196da9daf90a4c80310cc654c16713241","data-element":"discussions-options"},this.renderEntityEditor())}get element(){return L(this)}};Bt.style=Vt;var zt=".sc-arcgis-hub-discussions-thread-h{--arcgis-hub-layout-list-gap:0;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);padding-top:0.75rem;padding-bottom:0.75rem}arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:0.75rem;padding-right:0.75rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions-thread{margin-left:1rem;margin-right:1rem}arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-thread:not([parent-id]){margin-left:1rem;margin-right:1rem;margin-bottom:1rem}arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{padding-left:1rem;padding-right:1rem}arcgis-hub-discussions-post.sc-arcgis-hub-discussions-thread:not([parent-id])+arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem}calcite-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:1rem;padding-right:1rem}calcite-notice.sc-arcgis-hub-discussions-thread:first-child{margin-top:0px}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions-thread,arcgis-hub-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:1rem;margin-right:1rem}",qt=zt,xt=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},H;(function(t){t.Loading="loading",t.ParentAndReply="parent_and_reply",t.ParentAndReplies="parent_and_replies",t.ThreadDeleted="thread_deleted",t.ChannelDeleted="channel_deleted"})(H||(H={}));var at=class{constructor(t){G(this,t),this.arcgisHubDiscussionsPostSelect=d(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.arcgisHubDiscussionsThreadReady=d(this,"arcgisHubDiscussionsThreadReady",7),this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.postId=void 0,this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.parent=void 0,this.parentId=void 0,this.parentCreator=void 0,this.parentCreatorOrg=void 0,this.channelId=void 0,this.channel=void 0,this.channelGroups=void 0,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.isMobile=void 0,this.locationId=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=N(),this.intl=void 0,this._loading=void 0,this.parentReady=!1,this.postReady=!1,this.postListReady=!1,this.postEditorReady=!1,this.ready=!1,this.numPostableChannels=null,k(this,"renderParentAndReply","renderParentAndReplies","renderThreadDeleted","renderChannelInaccessible","handleViewAllReplies","handleViewAllPosts","renderLoading","handleParentReady","handlePostReady","handlePostListReady","handlePostEditorReady","handleSignInClicked")}componentWillLoad(){this.initialize()}connectedCallback(){it(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(t=>{Object.assign(this,t),this._loading=!1})}fetchDependencies(){return this._fetchDependencies()}handleContextChanged(t,e){var i,n;((i=t?.currentUser)===null||i===void 0?void 0:i.username)!==((n=e?.currentUser)===null||n===void 0?void 0:n.username)&&this.loadDependencies()}handleParentReady(){this.parentReady=!0,this.updateReady()}handlePostReady(){this.postReady=!0,this.updateReady()}handlePostEditorReady(){this.postEditorReady=!0,this.updateReady()}handlePostListReady(){this.postListReady=!0,this.updateReady()}handleReadyChange(t){t&&this.arcgisHubDiscussionsThreadReady.emit()}updateReady(){let t=[[this.postEditorRef,this.postEditorReady],[this.parentRef,this.parentReady],[this.postRef,this.postReady],[this.postListRef,this.postListReady]];this.ready=t.filter(([e])=>!!e).every(([e,i])=>i)}async getPostEditorRef(){return this.postEditorRef}async getPostListRef(){return this.postListRef}async _fetchDependencies(){let{isHub:t,_context:e,postId:i,post:n,parent:a,parentId:o,discussion:l,entityId:r,entityType:f,discussionSettings:b,entity:v,locationId:w,parentCreator:D,channelId:C,channel:P,channelGroups:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I}=this,[y,c]=await Promise.all([et({postId:i,post:n},e.hubRequestOptions),J({isHub:t},e.hubRequestOptions)]),m=await Ct(Object.assign({parentId:o,parent:a},y),e.hubRequestOptions),[O,p,R]=await Promise.all([Pt(Object.assign({parentCreator:D},m),e.hubRequestOptions),Q(Object.assign(Object.assign({discussion:l,entityId:r,entityType:f,entity:v,locationId:w,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,discussionSettings:b},y),m),e.hubRequestOptions),X(Object.assign(Object.assign({channelId:C,channel:P,channelGroups:u},y),m),e.hubRequestOptions)]),{total:x}=await W({allowedChannelIds:[this.channelId],requestOptions:this._context.hubRequestOptions,num:1});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},y),m),O),c),p),R),{numPostableChannels:x})}get loading(){let{intl:t,_loading:e,_context:i,channel:n}=this;return!t||!i||e||n===void 0}get areChannelsConfigured(){var t,e;return!!(!((e=(t=this.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds)===null||e===void 0)&&e.length)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+q(this.entity.type,this.entityId,"settings-discussions")}handlePostOrReplyDeleted(t){let{parent:e,post:i}=this;(t.detail.id===e?.id||t.detail.id===i?.id)&&(t.detail.id===e?.id?this.parent=null:this.post=null,this.deletedDuringSession=!0)}handleViewAllReplies(){let{channelId:t,channel:e,channelGroups:i,parent:n,parentId:a,postId:o,parentCreator:l,parentCreatorOrg:r}=this;this.arcgisHubDiscussionsPostSelect.emit({channel:e,channelId:t,channelGroups:i,parentId:a,parent:n,parentCreator:l,parentCreatorOrg:r}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:o,parentId:a}))}handleViewAllPosts(){let{parentId:t,postId:e}=this;this.arcgisHubDiscussionsPostSelect.emit({channelId:null,channel:null,channelGroups:null,parent:null,parentId:null,parentCreator:null,parentCreatorOrg:null}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:e,parentId:t}))}emitHubTelemetry(t){let{channelId:e,channel:i}=this;this.hubTelemetry.emit(Object.assign({channelId:e,channelAccess:i?U(i):void 0},t))}get views(){let{renderLoading:t,renderParentAndReply:e,renderParentAndReplies:i,renderThreadDeleted:n,renderChannelInaccessible:a}=this;return{[H.Loading]:{render:t},[H.ParentAndReply]:{render:e},[H.ParentAndReplies]:{render:i},[H.ThreadDeleted]:{render:n},[H.ChannelDeleted]:{render:a}}}get view(){let{views:t,parentId:e,postId:i,parent:n,post:a,loading:o,channel:l}=this,r;return o?r=H.Loading:l===null?r=H.ChannelDeleted:e&&i&&n===null&&a===null?r=H.ThreadDeleted:i?r=H.ParentAndReply:r=H.ParentAndReplies,t[r]}handleHubTelemetry(t){let e=[{from:h.dictionary.category.interaction.action.viewed.label.post.details.postList,to:h.dictionary.category.interaction.action.viewed.label.post.details.thread},{from:h.dictionary.category.interaction.action.open.label.postList,to:null}],i=a=>Object.entries(a).every(([o,l])=>{var r;return((r=t.detail)===null||r===void 0?void 0:r[o])===l}),n=e.find(({from:a})=>i(a));n&&(n.to?Object.assign(t.detail,n.to):t.stopPropagation())}handleSignInClicked(t){t.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()}captureThreadDeletedImpression(){let{postId:t,parentId:e}=this;this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.viewed.label.post.details.thread),{postId:t,parentId:e,response:h.constants.response.FAILURE}))}get blockedNotice(){let t=bt(this.channel,this._context.currentUser),e=!z(this.entity),i;return t&&e?i=_.Reply:t?i=_.Group:e&&(i=this.entityType==="group"?_.Group:_.Item),i}renderChannelInaccessible(){return this._context.currentUser?s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("thread.inaccessible.title")),s("div",{slot:"message"},this.intl.t("thread.inaccessible.message")),s("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},this.intl.t("thread.inaccessible.action"))):this.renderSignInNotice()}renderParent(){let{channel:t,channelGroups:e,channelId:i,discussion:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,entity:b,entityId:v,entityType:w,hasMap:D,isHub:C,isMobile:P,locationDescriptionText:u,locationId:g,parentId:T,parent:I,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m,parentCreator:O,parentCreatorOrg:p,handleParentReady:R,showLocations:x}=this;return s("arcgis-hub-discussions-post",{channel:t,channelGroups:e,channelId:i,discussion:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:b,entityId:v,entityType:w,hasMap:D,isHub:C,isMobile:P,locationDescriptionText:u,locationId:g,onArcgisHubDiscussionsPostReady:R,parentCreatorOrg:p,post:I,postCreator:O,postId:T,ref:S=>{this.parentRef=S},showChannelAvatar:r,showChannelName:f,showLocations:x,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m})}renderReplyEditor(){let{hasMap:t,unsavedFeatures:e,unsavedRelatedFeatures:i,unsavedExistingFeatures:n,isHub:a,discussion:o,parentId:l,parent:r,entity:f,entityId:b,entityType:v,discussionSettings:w,channelId:D,channel:C,channelGroups:P,isMobile:u,locationId:g,handlePostEditorReady:T,showLocations:I,disableSelectExistingLocation:y,blockedNotice:c,numPostableChannels:m}=this;if(r&&!c&&m)return s("arcgis-hub-discussions-post-editor",{channel:C,channelGroups:P,channelId:D,disableSelectExistingLocation:y,discussion:o,discussionSettings:w,entity:f,entityId:b,entityType:v,hasMap:t,isHub:a,isMobile:u,locationId:g,onArcgisHubDiscussionsPostEditorReady:T,parent:r,parentId:l,ref:O=>{this.postEditorRef=O},showLocations:I,unsavedExistingFeatures:n,unsavedFeatures:e,unsavedRelatedFeatures:i})}renderNotice(){let{blockedNotice:t,_context:e}=this,i;return t?i=s("arcgis-hub-discussions-blocked-notice",{variant:t}):e.currentUser?this.numPostableChannels||(i=this.renderParticipationUnavailableNotice()):i=this.renderSignInNotice(),i}renderParticipationUnavailableNotice(){return s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("participationUnavailable.title")),s("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&s("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(){return s("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("signInTitle")),s("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signInAction")))}renderParentAndReplies(){let{hasMap:t,unsavedFeatures:e,unsavedRelatedFeatures:i,unsavedExistingFeatures:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,intl:r,isHub:f,discussion:b,parentId:v,entity:w,entityId:D,entityType:C,discussionSettings:P,isMobile:u,locationDescriptionText:g,locationId:T,handlePostListReady:I,showLocations:y}=this;return s(F,null,this.renderParent(),this.renderReplyEditor(),this.renderNotice(),s("arcgis-hub-discussions-post-list",{discussion:b,discussionSettings:P,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:w,entityId:D,entityType:C,hasMap:t,isHub:f,isMobile:u,locationDescriptionText:g,locationId:T,onArcgisHubDiscussionsPostListReady:I,parentIds:[v],ref:c=>{this.postListRef=c},showLocations:y,unsavedExistingFeatures:n,unsavedFeatures:e,unsavedRelatedFeatures:i},s("calcite-notice",{kind:"danger",open:!0,scale:"m",slot:"error"},s("div",{slot:"title"},r.t("error")),s("div",{slot:"message"},r.t("repliesFailure")))))}renderParentAndReply(){let{intl:t,handleViewAllReplies:e,post:i,postCreator:n,postCreatorOrg:a,unsavedFeatures:o,hasMap:l,isHub:r,unsavedRelatedFeatures:f,unsavedExistingFeatures:b,channel:v,channelGroups:w,channelId:D,isMobile:C,locationId:P,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,showChannelAvatar:y,showChannelName:c,entity:m,entityId:O,entityType:p,parentId:R,parent:x,parentCreator:S,parentCreatorOrg:E,postId:Et,handlePostReady:St}=this;return s(F,null,this.renderParent(),!!i&&s("calcite-notice",{open:!0,scale:"s"},s("div",{slot:"title"},t.t("reply.single.title")),s("calcite-link",{onClick:e,slot:"link"},t.t("reply.single.link"))),s("arcgis-hub-discussions-post",{channel:v,channelGroups:w,channelId:D,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,entity:m,entityId:O,entityType:p,hasMap:l,isHub:r,isMobile:C,locationDescriptionText:this.locationDescriptionText,locationId:P,onArcgisHubDiscussionsPostReady:St,parent:x,parentCreator:S,parentCreatorOrg:E,parentId:R,post:i,postCreator:n,postCreatorOrg:a,postId:Et,ref:Ft=>{this.postRef=Ft},showChannelAvatar:y,showChannelName:c,showLocations:this.showLocations,unsavedExistingFeatures:b,unsavedFeatures:o,unsavedRelatedFeatures:f}))}renderThreadDeleted(){let{intl:t,deletedDuringSession:e}=this;return e||this.captureThreadDeletedImpression(),s("calcite-notice",{kind:"danger",open:!0,scale:"m"},s("div",{slot:"title"},t.t("thread.deleted.title")),s("div",{slot:"message"},t.t("thread.deleted.message")),s("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},t.t("thread.deleted.action")))}renderLoading(){return null}render(){let{view:t}=this;return s(A,{key:"725a9c3f718ae5178c7ad5258befa329b55e62d6","data-element":"discussions-thread"},t.render())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChange"]}}};xt([Y({delay:300})],at.prototype,"fetchDependencies",null);xt([tt()],at.prototype,"captureThreadDeletedImpression",null);at.style=qt;return{arcgis_hub_discussions:M,arcgis_hub_discussions_map_action_notice:nt,arcgis_hub_discussions_map_preview:Ot,arcgis_hub_discussions_options:Bt,arcgis_hub_discussions_thread:at}},"config",a,b)
|
package/dist/cdn/LF6JQPJJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import{c as n}from"./5SURZWMK.js";import"./H5VXCUDG.js";import"./E4AAW53D.js";import"./T4ZNMCKJ.js";import"./J2K77QQN.js";import"./2EEKOJDW.js";import"./DV2STMQS.js";import"./QBSKEVLB.js";import"./LZYYPPDJ.js";import"./FXMQISQ5.js";import"./3MWCBVCT.js";import"./JGSMAA4R.js";import"./MFD6UWA6.js";import"./KDNYUPMH.js";import"./TTUAUB5D.js";import"./WHZRSVJT.js";import"./LPEJOUBP.js";import"./3TNKNDPV.js";import"./TJDVSNHI.js";import"./FUIW32FS.js";import"./WNYS42WC.js";import"./2KO66RWN.js";import"./7YZRJHWC.js";import"./G74TAGRG.js";import"./EHHPJOXQ.js";import"./UPKLFCOK.js";import"./3RDDL56K.js";import"./LAR2OLLL.js";import"./Q7KJVH7M.js";import"./XZWT3IP6.js";import"./ZDIB7VMF.js";import"./PMFO4R4Q.js";import"./FL4CJYY3.js";import"./AX3PP6N4.js";import"./OELTFMHK.js";import"./XHPAXE3T.js";import"./QU42GR3U.js";import"./BP3UKQRX.js";import"./E6C7DZQD.js";import"./NXITYY7A.js";import"./P6HUUZUX.js";import"./N7BHXE2T.js";import"./7BM6QJPU.js";import"./Z65VXVW3.js";import"./J4CG4H6A.js";import"./LZNQG5VA.js";import"./KYTSPWRL.js";import"./UPGAZR5O.js";import"./JI36MJKL.js";import"./FHF6IN4D.js";import"./YTA7ABGS.js";import"./W6JVZ5EY.js";import"./JRXXB632.js";import"./P2SLD4RE.js";import"./IFXO576V.js";import"./V3WVL7WS.js";import"./DDTL2QOC.js";import"./JVPTJAHO.js";import"./EWKQIUWH.js";import"./ZOBPX2CG.js";import"./ILHMALRK.js";import"./4FRKOUFZ.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import{c as l,j as d}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./F7YY7HFL.js";import"./7IJNSVAH.js";import"./Y25AEI7X.js";import"./IX4M4WM2.js";import"./ZMMAEBVZ.js";import"./XJYZ7J4Y.js";import"./WR6LNBK4.js";import"./X3SU4SJN.js";import"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as m}from"./UBTOBJM4.js";import{a}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as e,d as p,e as c,i as h}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";var g=":host{display:block}",u=g,C=class{connectedCallback(){d(this)}disconnectedCallback(){this.disconnectContext()}constructor(t){h(this,t),this.arcgisStatCardEditorChange=c(this,"arcgisStatCardEditorChange",7),this.values={},this.themeColors=[],this.currentValues={},this._schema=void 0,this._uiSchema=void 0,this._context=l(),m(this,"handleEditorChangeEvent","translationFunc","_getEditorConfig")}get uiSchemaOptions(){return{themeColors:this.themeColors}}get facets(){return[{label:this.intl.t("dynamicStat.facets.sharing"),key:"access",field:"access",display:"multi-select",operation:"OR"}]}async componentWillLoad(){this.intl=await a.loadIntlForComponent(this.element),this.values=this.migrateValues(this.values),this.currentValues=this.values,this._getEditorConfig()}async _getEditorConfig(){let t=await n("","hub:card:stat",this.uiSchemaOptions,this._context);this._schema=t.schema,this._uiSchema=t.uiSchema}migrateValues(t){return typeof t.shareableOnHover=="string"&&(t.shareableOnHover=t.shareableOnHover==="hover"),t.allowUnitFormatting===void 0&&(t.allowUnitFormatting=!!t.unit),t.allowLink===void 0&&(t.allowLink=!!t.sourceLink||!!t.sourceTitle),t.valueColor===null&&(t.valueColor=void 0),t}async handleEditorChangeEvent(t){var i;t.stopPropagation();let{valid:r,values:o}=t.detail;this.currentValues=Object.assign(Object.assign({},this.currentValues),o);let{legacyWhere:s}=this.currentValues;!((i=o.expressionSet)===null||i===void 0)&&i.length&&(s=""),this.arcgisStatCardEditorChange.emit({valid:r,values:Object.assign(Object.assign({},o),{cardId:this.currentValues.cardId,schemaVersion:this.currentValues.schemaVersion,legacyWhere:s})})}updateSchemas(){this._getEditorConfig()}translationFunc(t,i,r){return this.intl.t(t,i,r)}render(){return this._schema?e("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChangeEvent,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this.values}):e("arcgis-skeleton-loader",{active:!0})}static get assetsDirs(){return["locales"]}get element(){return p(this)}static get watchers(){return{_context:["updateSchemas"]}}};C.style=u;export{C as arcgis_stat_card_editor};
|
package/dist/cdn/LFNVSLYV.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import"./PV6LPOSO.js";var e={percent:"\u767E\u5206\u6BD4",values:"\u503C",standardizedValues:"\u6A19\u6E96\u5316\u503C",count:"\u8A08\u6578",aggregationOfValues:"\u503C\u7684 ${ aggregation }",aggregationOfFieldName:"${ aggregation }/${ fieldName }"},g={aggrFieldsByCategory:"\u6309 ${ category } \u6392\u5217\u7684 ${ aggregationFields }",aggrTypeCategory:"\u6309 ${ category } \u6392\u5217\u7684 ${ aggregationType }",aggrTypeCategoryBySplitBy:"\u6309 ${ category } \u548C ${ splitByField } \u6392\u5217\u7684 ${ aggregationType }",aggrTypeOfAggrFields:"${ aggregationType }/${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"\u6309 ${ category } \u548C ${ splitByField } \u6392\u5217\u4E4B ${ aggregationField } \u7684 ${ aggregationType }",aggrTypeOfAggrFieldsByCategory:"\u6309 ${ aggregationType } \u6392\u5217\u4E4B ${ category } \u7684 ${ aggregationFields }",aggrFieldsByXAxisField:"\u6309 ${ xAxisField } \u6392\u5217\u7684 ${ aggregationFields }",aggrTypeXAxisField:"\u6309 ${ xAxisField } \u6392\u5217\u7684 ${ aggregationType }",aggrTypeXAxisFieldBySplitBy:"\u6309 ${ xAxisField } \u548C ${ splitByField } \u6392\u5217\u7684 ${ aggregationType }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"\u6309 ${ xAxisField } \u548C ${ splitByField } \u6392\u5217\u4E4B ${ aggregationField } \u7684 ${ aggregationType }",aggrTypeOfAggrFieldsByXAxisField:"\u6309 ${ aggregationType } \u6392\u5217\u4E4B ${ xAxisField } \u7684 ${ aggregationFields }",distributionOfField:"${ valueField } \u7684\u5206\u4F48",distributionOfFields:"${ valueFields } \u7684\u5206\u4F48",distributionOfFieldsByCategory:"\u6309 ${ category } \u7684 ${ valueFields } \u5206\u4F48",distributionOfFieldsByCategoryAndSplitBy:"\u6309 ${ category } \u548C ${ splitByField } \u7684 ${ valueFields } \u5206\u4F48",xAndY:"${ x } \u548C ${ y }"},i={barChart:"\u9577\u689D\u5716",lineChart:"\u6298\u7DDA\u5716",pieChart:"\u5713\u9905\u5716",histogram:"\u76F4\u65B9\u5716",scatterplot:"\u6563\u9EDE\u5716"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
|
package/dist/cdn/LG3NJW42.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import"./PV6LPOSO.js";var e={percent:"Porcentagem",values:"Valores",standardizedValues:"Valores padronizados",count:"Contagem",aggregationOfValues:"${ aggregation } de valores",aggregationOfFieldName:"${ aggregation } de ${ fieldName }"},i={aggrFieldsByCategory:"${ aggregationFields } por ${ category }",aggrTypeCategory:"${ aggregationType } por ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } por ${ category } por ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } de ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ category } por ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } de ${ aggregationFields } por ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } por ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } por ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } de ${ aggregationFields } por ${ xAxisField }",distributionOfField:"Distribui\xE7\xE3o de ${ valueField }",distributionOfFields:"Distribui\xE7\xE3o de ${ valueFields }",distributionOfFieldsByCategory:"Distribui\xE7\xE3o de ${ valueFields } por ${ category }",distributionOfFieldsByCategoryAndSplitBy:"Distribui\xE7\xE3o de ${ valueFields } por ${ category } e ${ splitByField }",xAndY:"${ x } e ${ y }"},g={barChart:"Gr\xE1fico de barra",lineChart:"Gr\xE1fico de linhas",pieChart:"Gr\xE1fico de pizza",histogram:"Histograma",scatterplot:"Gr\xE1fico de dispers\xE3o"},a={axisLabels:e,titleLabels:i,chartType:g};export{e as axisLabels,g as chartType,a as default,i as titleLabels};
|
package/dist/cdn/LGTQCM55.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import{a as d}from"./K62AXNQS.js";import{d as y}from"./FL4CJYY3.js";import{b as p}from"./V3WVL7WS.js";import"./OE6PFFPN.js";import{c as H}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import{a as c,b as m}from"./X3SU4SJN.js";import{o as h}from"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as u}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as i}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as e,c as b,d as g,e as r,h as v,i as f}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import{s as l}from"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.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};
|
package/dist/cdn/LHNQU45M.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import"./PV6LPOSO.js";var a={chart:"Graf",barChart:"Pruhov\xFD graf",lineChart:"Spojnicov\xFD graf",pieChart:"V\xFDse\u010Dov\xFD graf",histogram:"Histogram",scatterplot:"Bodov\xFD graf",boxPlot:"Krabicov\xFD graf"},t={mean:"Pr\u016Fm\u011Br",median:"Medi\xE1n",sum:"Suma",discretePercentile:"Diskr\xE9tn\xED percentil",minimum:"Minimum",maximum:"Maximum",variance:"Rozptyl",count:"Po\u010Det",aggregation:"${ statistics } z ${ fieldName }",noAggregation:"\u017D\xE1dn\xE1 agregace"},i="Graf",e="Po\u010Det s\xE9ri\xED",r="Osa X",s="Nen\xED k dispozici",o={start:"P\u0159ichytit k prvn\xEDmu datov\xE9mu bodu",end:"P\u0159ichytit k posledn\xEDmu datov\xE9mu bodu"},n={chartType:a,statistics:t,defaultTitle:i,countSeries:e,xAxis:r,notAvailable:s,timeAggregationTypes:o};export{a as chartType,e as countSeries,n as default,i as defaultTitle,s as notAvailable,t as statistics,o as timeAggregationTypes,r as xAxis};
|
package/dist/cdn/LM4MQEYK.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import{a as i}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a,b as e,c as t,d as c,i as s}from"./ZNSSVZZQ.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";var d=".hub-entity-metrics-coming-soon__block-header{display:inline-flex;align-items:center;gap:0.75rem}.hub-entity-metrics-coming-soon__block-header>h2{margin:0px}p{margin-top:0px;margin-bottom:2rem}.hub-entity-metrics-coming-soon__main{display:flex;flex-direction:row}arcgis-hub-workspace-pane{--arcgis-hub-workspace-pane-main-flex-basis:40%}.hub-entity-metrics-coming-soon__side img{width:100%}",o=d,b=class{constructor(n){s(this,n),this.isMobile=!1}async componentWillLoad(){this.intl=await i.loadIntlForComponent(this.element)}render(){return e(t,{key:"fe251e336e89d3fe12e9fa23eb9dd45a5107f48f","data-element":"workspace-entity-metrics-coming-soon"},e("arcgis-hub-workspace-pane",{key:"062df1e2499749d430562c483ac3dd7c133d990e",isMobile:this.isMobile},e("h1",{key:"7685d4de1f20cd2509daaa2140fb093842902e1d",slot:"title"},this.intl.t("header")),e("div",{key:"437a96cbf7f0f321b594450bd2e0d225b867f055",class:"hub-entity-metrics-coming-soon__main"},e("div",{key:"58c24a30df269fbf5af13cb1dd2e6ac73f30dd61",class:"hub-entity-metrics-coming-soon__info"},e("div",{key:"964c7e0c47666d1fb41ad9e6f48d2fcaf64f8f68"},e("div",{key:"6570dd69198088be46d02940359b92c7fed7af87",class:"hub-entity-metrics-coming-soon__block-header"},e("calcite-icon",{key:"06a42beafc77d4f3e4beaf9451a3f71a4e398ce4",icon:"pencil-square"}),e("h2",{key:"be9ccdd886348b5e3b78e31b3b523fe60277fbbb"},this.intl.t("firstBlockHeader"))),e("p",{key:"d6998213edf0f86d63ac7a153458503971b4ebc8"},this.intl.t("firstBlockMessage"))),e("div",{key:"8fc2f8c3ddf4078fbd617e8ddb01029e66822784"},e("div",{key:"6bedaba8a4d8bf0741ebcaca0cd5ed01eb2116a7",class:"hub-entity-metrics-coming-soon__block-header"},e("calcite-icon",{key:"3cdcc828e54c012e3f317091daca85e0d325a1fd",icon:"register"}),e("h2",{key:"cff7138a60d7395a6109302d1d71cdba3cb64faf"},this.intl.t("secondBlockHeader"))),e("p",{key:"63325a6cb1d539144478a9e726e61734ab993140"},this.intl.t("secondBlockMessage"))),e("div",{key:"abcb4b137be7ffbb78820cbf0600e6543f8b076d"},e("div",{key:"e9b74a54951e581f2419f6ef1145af2898cc1927",class:"hub-entity-metrics-coming-soon__block-header"},e("calcite-icon",{key:"f66af1a536601d2aae9d93a6e59293cceb559dfe",icon:"graph-time-series"}),e("h2",{key:"1d548de11858d6568589c61ef52b4772d8a0df00"},this.intl.t("thirdBlockHeader"))),e("p",{key:"770a31ad6b83ed6b3c7e58e79eeed9de9fab75c7"},this.intl.t("thirdBlockMessage"))),e("arcgis-hub-workspace-link",{key:"9eaff10d6a6a9e92c922b69a5ea9b988bb9d67fa",pane:"details"},e("calcite-button",{key:"8bffcaf8c1b79292f7c70e60f9f7c29bea402379",appearance:"outline-fill",round:!0},this.intl.t("button")))),e("div",{key:"c636aecd5cb3ab857a0468b0da245ac884a3898a",class:"hub-entity-metrics-coming-soon__side",slot:"side-panel"},e("img",{key:"72ffd7c94b01126ad9791af6cd2e495af109d071",alt:this.intl.t("header"),class:"hub-entity-metrics-coming-soon__image",src:a("./assets/metrics-placeholder-graphic.png")})))))}static get assetsDirs(){return["locales","assets"]}get element(){return c(this)}};b.style=o;export{b as arcgis_hub_entity_metrics_coming_soon};
|
package/dist/cdn/LOMUW3RD.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import{a as _,b as F}from"./SJERIMSP.js";import{b as z,c as q}from"./KZ5FUHYZ.js";import{b as R}from"./I22URKRQ.js";import{a as x}from"./4MJGM6LA.js";import{a as v}from"./MY5BZA45.js";import a from"./I54DIYWB.js";import"./N7BHXE2T.js";import"./EWKQIUWH.js";import"./ZOBPX2CG.js";import"./4FRKOUFZ.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./X3SU4SJN.js";import"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as k}from"./UBTOBJM4.js";import{a as B}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as g}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as l,c as E,d as O,e as y,h as S,i as P}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";export default $arcgis.t(([D,{intersects:ee,buffer:te},X,{watch:j},I,J,ie,G,{project:se},ne,re,oe,ae,le,,{h:V,o:K,p:Y,u:U}])=>{var $=(e,t)=>{let{height:i,width:s}=t,n=e.y<i/2?"top":"bottom",r=e.x<s/2?"left":"right";return`${n}-${r}`},ce=(e,t)=>{let{xmin:i,ymin:s,xmax:n,ymax:r,spatialReference:o}=e,a=t.includes("top")?s:r;return{x:t.includes("left")?n:i,y:a,spatialReference:o}},de=(e,t)=>{let{x:i,y:s}=e,{x:n,y:r}=t,o=n-i,a=r-s;return Math.sqrt(o**2+a**2)},he=(e,t)=>{let{spatialReference:i}=t,s=1/0,n=0,r=(t.type==="polygon"?t.rings.flat(1/0):t.paths.flat(1/0)).reduce((c,d,h)=>{let p=Math.floor(h/2);return c[p]||(c[p]=[]),c[p].push(d),c},[]);r.forEach((c,d)=>{let[h,p]=c,m=de({x:h,y:p,spatialReference:i},e);m<s&&(s=m,n=d)});let[o,a]=r[n];return{x:o,y:a,spatialReference:i}},pe=":host{position:absolute;z-index:1;width:max-content;--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);top:var(--top-offset);left:var(--left-offset);transform:var(--transform)}calcite-action{border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}calcite-action:first-of-type{border-width:0px}calcite-action-pad>calcite-action{border-width:0px}calcite-action-group{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}calcite-action-group>calcite-action{border-style:none}",ue=pe,fe=function(e,t,i,s){var n=arguments.length,r=n<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 a=e.length-1;a>=0;a--)(o=e[a])&&(r=(n<3?o(r):n>3?o(t,i,r):o(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},Z=class{constructor(e){P(this,e),this.target=void 0,this.unthemed=!1,this.x=void 0,this.y=void 0,this.quadrant=void 0,this.content=void 0}handlePopoverOpen(e){e.stopPropagation();let{detail:t}=e,i=t.view,s=t.geometry,{left:n,top:r,height:o,width:a}=i.container.getBoundingClientRect();if(s.type==="polygon"||s.type==="polyline"||s.type==="extent"){let c=s.extent,d=i.toScreen(c.center);this.quadrant=$(d,i);let h=ce(c,this.quadrant),p=s.type==="extent"?X.fromExtent(s):s,m=he(h,p),b=i.toScreen(m);if(b.x<0||b.y<0||b.x>a||b.y>o)if(ee(i.extent,s)){let C=i.toScreen(i.center);this.quadrant=$(C,i),this.x=C.x+n,this.y=C.y+r}else{this.content=null;return}else this.x=b.x+n,this.y=b.y+r}else if(s.type==="point"){let c=i.toScreen(s);this.quadrant=$(c,i),this.x=c.x+n,this.y=c.y+r}if(this.x<n||this.x>n+a||this.y<r||this.y>r+o){this.content=null;return}this.content=t.render(s.type)}handlePopoverClear(e){e.stopPropagation(),this.content=null}get styles(){let{quadrant:e,x:t,y:i}=this,s=e?.includes("right")?"translateX(-110%)":"translateX(10%)",n=e?.includes("top")?"translateY(-25%)":"translateY(-75%)";return{"--top-offset":`${i+window.scrollY}px`,"--left-offset":`${t}px`,transform:`${s} ${n}`}}render(){let{styles:e,content:t,unthemed:i}=this;return l(E,{key:"5049152a87f0226decc8dcb22b1f0ddd61a01078",style:e,unthemed:i},t)}get el(){return O(this)}};fe([x({when(e){let{target:t}=this,{detail:{source:i}}=e;return!t&&!i||t?.toLowerCase()===i?.toLowerCase()}})],Z.prototype,"handlePopoverOpen",null);Z.style=ue;var ge=":host{display:block}span{margin:0px;width:auto;border-radius:0.5rem;--tw-bg-opacity:1;background-color:rgb(151 71 255 / var(--tw-bg-opacity));padding:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-medium);--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-drop-shadow:drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));filter:var(--tw-filter)}span.danger{background-color:var(--calcite-color-status-danger)}span.brand{background-color:var(--calcite-color-brand)}span.info{background-color:var(--calcite-color-status-info)}span.warning{background-color:var(--calcite-color-status-warning)}span.success{background-color:var(--calcite-color-status-success)}calcite-icon{margin-right:0.5rem;vertical-align:sub}",ye=ge,be=class{constructor(e){P(this,e),this.text=void 0,this.kind=void 0,this.icon=void 0}render(){let{text:e,kind:t,icon:i}=this;return l(E,{key:"061c3b09539bf0091107c2c53c1ccac02af3bf38","data-element":"map-tip"},l("span",{key:"559f75f45d2085b3b15e15f3c7419e12cccf6929",class:t},i&&l("calcite-icon",{icon:i,scale:"s"}),e))}};be.style=ye;var me=":host{display:flex;justify-content:flex-end;--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)}:host-context(div.esri-ui-inner-container.esri-ui-corner-container){box-shadow:none !important}",we=me,ve=class{get position(){return this.viewPosition.includes("right")?"end":"start"}constructor(e){P(this,e),this.expandDisabled=void 0,this.viewPosition="top-right",this.view=void 0,this.scale="m",this.expanded=void 0,k(this,"toggleExpanded")}componentWillLoad(){let{view:e,el:t,viewPosition:i}=this;e&&e.ui&&e.ui.add(t,i)}disconnectedCallback(){let{view:e,el:t}=this;e&&e.ui&&e.ui.remove(t)}addWidgetToView(e,t){e&&e.ui&&e!==t&&this.view.ui.add(this.el,this.viewPosition)}toggleExpanded(){this.expanded=!this.expanded}render(){let{expandDisabled:e,expanded:t,position:i,scale:s}=this;return l(E,{key:"42a47641f505a696e1c8de55ad93062812905b6b"},this.view&&l("calcite-action-pad",{expandDisabled:e,expanded:t,onCalciteActionPadToggle:this.toggleExpanded,position:i,scale:s},l("slot",null)))}get el(){return O(this)}static get watchers(){return{view:["addWidgetToView"]}}};ve.style=we;var T;(function(e){e.START="start",e.ACTIVE="active",e.COMPLETE="complete",e.CANCEL="cancel"})(T||(T={}));var w;(function(e){e.START="start",e.ACTIVE="active",e.INACTIVE="inactive"})(w||(w={}));var xe=":host{display:block}.hub-widget-draw{min-width:none !important;max-width:none !important;padding:0px}.draw-popover{width:max-content}.draw-popover>p{margin:0px;padding:0.75rem}@media only screen and (min-width: 640px){.hub-widget-draw.top{position:absolute}.hub-widget-draw.top{width:25rem}.hub-widget-draw.top{padding:0px}.hub-widget-draw.right{right:100%}.hub-widget-draw.right{margin-right:1rem}.hub-widget-draw.left{left:100%}.hub-widget-draw.left{margin-left:1rem}.hub-widget-draw.bottom.left{margin-left:0.5rem}.hub-widget-draw.bottom.right{margin-right:0.5rem}}@media only screen and (max-width: 640px){.hub-widget-draw.top{position:absolute}.hub-widget-draw.top{z-index:50}.hub-widget-draw.top{padding:0px}.hub-widget-draw.top{top:calc(var(--top-offset) + var(--bottom-offset));width:calc(var(--view-width) + 1px);display:var(--mobile-display)}.hub-widget-draw.right{right:-1rem}.hub-widget-draw.left{left:-1rem}}",Ce=xe,f=function(e,t,i,s){var n=arguments.length,r=n<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 a=e.length-1;a>=0;a--)(o=e[a])&&(r=(n<3?o(r):n>3?o(t,i,r):o(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},Q=["select","point","polyline","polygon","rectangle"],N={select:{icon:"select"},point:{icon:"pin"},polyline:{icon:"freehand"},polygon:{icon:"freehand-area"},rectangle:{icon:"rectangle-area"},circle:{icon:"circle"}},u=class{constructor(e){P(this,e),this.arcgisHubMapDrawGraphicsChange=y(this,"arcgisHubMapDrawGraphicsChange",7),this.arcgisHubMapDrawGraphicsClear=y(this,"arcgisHubMapDrawGraphicsClear",7),this.arcgisHubMapDrawSelect=y(this,"arcgisHubMapDrawSelect",7),this.arcgisHubDrawCancel=y(this,"arcgisHubDrawCancel",7),this.arcgisHubDrawActiveToolChange=y(this,"arcgisHubDrawActiveToolChange",7),this.arcgisHubMapPopoverOpen=y(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=y(this,"arcgisHubMapPopoverClear",7),this.arcgisHubMapTooltipUpdated=y(this,"arcgisHubMapTooltipUpdated",7),this.hubTelemetry=y(this,"hubTelemetry",7),this.handles=[],this.boundaries=void 0,this.geometry=void 0,this.mode="hybrid",this.scale="m",this.tools=Q,this.view=void 0,this.disablePrimaryOptions=void 0,this.disableEditOptions=void 0,this.color=[0,0,0],this.buffer=void 0,this.condensed=void 0,this.resetOnDisconnect=!0,this.enableMapTips=void 0,this.drawTip=void 0,this.unthemed=!1,this.disabled=!1,this.enableInvalidGeometryWarning=!1,this.hideDrawTooltip=!1,this.geometryIsSelfIntersecting=void 0,this.activeTool=void 0,this.isEditing=void 0,this.isFiltered=void 0,this.geometryIsInvalid=void 0,this.bufferDetails=void 0,this.bufferPanelVisible=void 0,this.bottomOffset=0,this.topOffset=0,this.viewWidth=void 0,this.open=void 0,this.optionsEl=void 0,this.mapTipState=w.INACTIVE,k(this,"applyFilter","cancelEdits","clearFilter","deleteDrawing","handleSetBufferWidgetRef","handleSketchOnCreate","handleSketchOnUpdate","handleViewClick","handleViewEscape","handleViewExtentChange","handleViewPointerMove","handleViewPointerMoveOrDown","renderPrimaryOptions","renderEditOptions","renderEditingOptions","renderMapTip","setPanelHeight","startEditing","saveEdits","setOptionsEl")}async componentWillLoad(){let{el:e}=this;this.intl=await B.loadIntlForComponent(e),this.createGraphicsLayers(),await this.connectViewModel(),this.addWatchHandles(),this.setViewPosition(),K()}connectedCallback(){this.addWatchHandles()}disconnectedCallback(){this.resetOnDisconnect&&this.reset(),U(this.handles)}handleMapDrawFilter(e){let{hubTelemetry:t,isFiltered:i}=this,{detail:{graphics:[s],save:n}}=e;if(s&&n&&i){let{geometry:{type:r}}=s;t.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.search.label.filter),{details:R(r)}))}}handleWidgetSelected(e){let{activeTool:t,isEditing:i}=this,{target:s}=e,{icon:n}=s,r=([,a])=>a.icon===n,o=n==="minus-circle"?t:Object.entries(N).find(r)[0];o!=="select"?this.reset():i&&this.cancelEdits(),this.activeTool=t===o?void 0:o,this.open=!1}handleWidgetDrawBufferChanged(e){let{detail:t}=e;this.bufferDetails=t}handleWidgetDrawBufferReset(){let{bufferGraphicsLayer:e}=this;e&&(this.bufferDetails=void 0,e.removeAll())}handleWidgetDrawBufferClosed(){this.bufferPanelVisible=!1}handleWidgetPanelToggled(e){let{target:t,detail:i}=e,{bufferWidgetEl:s}=this;t!==s&&!i?this.bufferPanelVisible=!1:t===s&&!i&&setTimeout(()=>{this.setPanelHeight()},0)}focusView(){let{view:e}=this;setTimeout(()=>{e?.focus()},250)}handleActiveToolChange(e,t){let{hubTelemetry:i,sketchViewModel:s,isEditing:n}=this;s&&(s.cancel(),e&&e!=="select"&&!n?(s.create(e),this.arcgisHubDrawActiveToolChange.emit(e)):e||(this.isEditing=!1));let r=e==="select"?"select":"draw";this.mapTipState=this.activeTool?w.ACTIVE:w.INACTIVE,e&&this.focusView(),this.arcgisHubMapPopoverClear.emit(),i.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action[e?"enable":"disable"].label[r]),{details:R(e||t)}))}handleBoundariesChange(e,t){let i=s=>JSON.stringify(s?.map(n=>n.toJSON()));i(e)!==i(t)&&this.addGeometryToBoundariesLayer()}handleGraphicsChange(){let{geometry:e,bufferWidgetEl:t}=this;e?(this.addGeometryToGraphicsLayer(),this.startEditing()):(this.reset(),t?.forceReset(),this.activeTool=void 0)}handleIsEditingChange(){let{isEditing:e}=this;e||(this.activeTool=void 0),this.setBufferPanelVisible()}handleIsFilteredChange(){let{isFiltered:e,graphicsLayer:{graphics:t}}=this,i=t.getItemAt(0);if(e&&i){let{geometry:{type:s}}=i,n=V(s),r=this[`${n}Symbol`];i.symbol=r}this.setBufferPanelVisible()}handleViewChange(e,t){e&&e!==t&&(U(this.handles),this.connectViewModel().then(()=>{this.addWatchHandles()}))}handleBufferDetailsChanged(){let{arcgisHubMapDrawGraphicsChange:e,bufferPolygonSymbol:t,graphicsLayer:i,bufferGraphicsLayer:s,bufferDetails:n,isEditing:r}=this,{graphics:o}=i,[a]=o,{graphics:c}=s;if(!n||!a)return;let{distance:d,unit:h}=n,p=te(a?.geometry,d,h.split(" ").join("-"),!0),m=new G({geometry:p,symbol:t});s.removeAll(),s.add(m),e.emit({graphics:o.clone(),bufferGraphics:c.clone(),save:!r})}async forceReset(){this.reset()}async setActiveTool(e){this.activeTool=e}handleSetBufferWidgetRef(e){e&&(this.bufferWidgetEl=e)}createGraphicsLayers(){let{graphicsLayer:e,bufferGraphicsLayer:t,boundariesGroupLayer:i}=this;I&&(e||(this.graphicsLayer=new I({elevationInfo:{mode:"on-the-ground"},listMode:"hide"}),this.reset(),this.addGeometryToGraphicsLayer()),t||(this.bufferGraphicsLayer=new I({elevationInfo:{mode:"on-the-ground"},listMode:"hide"})),i||(this.boundariesLayer=new I({elevationInfo:{mode:"on-the-ground"},listMode:"hide"}),this.boundariesMaskLayer=new I({elevationInfo:{mode:"on-the-ground"},graphics:[new G({geometry:new X({rings:[[[-180,90],[180,90],[180,-90],[-180,-90]]]}),symbol:this.maskSymbol})],listMode:"hide"}),this.boundariesGroupLayer=new ie({blendMode:"destination-in",layers:[this.boundariesMaskLayer,this.boundariesLayer],listMode:"hide",visible:!1}),this.boundariesOutlineLayer=new I({effect:"drop-shadow(1px, 1px, 2px)",elevationInfo:{mode:"on-the-ground"},listMode:"hide",visible:!1}),this.addGeometryToBoundariesLayer()))}handleSketchOnCreate(e){var t;let{state:i,graphic:s,tool:n,toolEventInfo:r}=e,{activeTool:o,arcgisHubMapPopoverOpen:a,bufferGraphicsLayer:c,graphicsLayer:d,boundariesLayer:h,sketchViewModel:p,hubTelemetry:m,view:b}=this;if(i!==T.CANCEL)switch(this.geometryIsSelfIntersecting=this.isGeometrySelfIntersecting(s.geometry),(t=s.geometry)===null||t===void 0?void 0:t.type){case"polygon":e.graphic.symbol=this.geometryIsSelfIntersecting?F():this.polygonSymbol;break;case"polyline":e.graphic.symbol=this.geometryIsSelfIntersecting?_():this.polylineSymbol;break}if(this.boundaries&&this.boundaries.length){if(r?.type==="vertex-add"){let C=new ae({x:r.vertices[0].coordinates[0],y:r.vertices[0].coordinates[1],spatialReference:b.spatialReference});h.graphics.toArray().find(L=>D.within(C,L.geometry))||(n==="point"?setTimeout(()=>{this.activeTool="point"}):setTimeout(()=>{p.canUndo()&&p.undo()},0))}if(i===T.COMPLETE&&!h.graphics.toArray().find(H=>D.within(s.geometry,H.geometry))){this.deleteDrawing();return}}i===T.START&&(m.emit(g.dictionary.category.interaction.action.draw.label.start.details[o]),this.mapTipState=w.ACTIVE),i===T.COMPLETE&&(this.activeTool==="rectangle"&&(s.geometry=s.geometry.extent),b.map.reorder(d,99),b.map.reorder(c,100),this.isEditing=!1,this.activeTool=void 0,setTimeout(()=>{a.emit({source:"options",geometry:s?.geometry,view:b,render:this.renderPrimaryOptions})},150),m.emit(g.dictionary.category.interaction.action.draw.label.complete.details[o]),this.disableEditOptions&&this.disablePrimaryOptions&&this.arcgisHubMapDrawGraphicsChange.emit({graphics:d.graphics.clone(),unsaved:!0}),this.mapTipState=w.INACTIVE),i===T.CANCEL&&n===o&&(this.isEditing=!1,this.activeTool=void 0,this.disabled=!1,this.el.querySelector("arcgis-hub-map-widget-generic").setFocus(),this.arcgisHubDrawCancel.emit())}handleSketchOnUpdate(e){var t;let{state:i,graphics:[s],toolEventInfo:n}=e,{arcgisHubMapPopoverClear:r,arcgisHubMapDrawGraphicsChange:o,graphicsLayer:{graphics:a},bufferGraphicsLayer:{graphics:c},sketchViewModel:d}=this;switch(this.geometryIsSelfIntersecting=this.isGeometrySelfIntersecting(s.geometry),s.geometry.type){case"polygon":s.symbol=this.geometryIsSelfIntersecting?F():this.polygonSymbol;break;case"polyline":s.symbol=this.geometryIsSelfIntersecting?_():this.polylineSymbol;break}this.boundaries&&this.boundaries.length&&(!((t=n?.type)===null||t===void 0)&&t.includes("stop"))&&(this.boundariesLayer.graphics.toArray().find(p=>D.within(s.geometry,p.geometry))||setTimeout(()=>{d.canUndo()&&d.undo()},0)),i===T.ACTIVE&&(this.hideDrawTooltip||r.emit(),o.emit({graphics:a.clone(),bufferGraphics:c.clone()}),this.handleBufferDetailsChanged())}handleViewClick(e){let{activeTool:t,arcgisHubMapPopoverClear:i,hubTelemetry:s,mapTipState:n}=this;t!=="polyline"&&t!=="polygon"&&n!==w.ACTIVE&&i.emit(),t==="select"?(s.emit(g.dictionary.category.interaction.action.select.label.content.details.selectTool),this.arcgisHubMapDrawSelect.emit(e)):s.emit(g.dictionary.category.interaction.action.select.label.content)}handleViewPointerMove(e){let{view:t,arcgisHubMapPopoverOpen:i,isScene:s}=this,n=t.toMap(e);if(!(s&&!n)){if(this.boundaries&&this.boundaries.length){let r=this.boundariesLayer.graphics.toArray().find(o=>D.contains(o.geometry,n));this.geometryIsInvalid=!r}this.hideDrawTooltip||i.emit({source:"tips",geometry:n,view:t,render:this.renderMapTip}),this.arcgisHubMapTooltipUpdated.emit({text:this.helperText,isGeometryValid:!this.geometryIsInvalid&&!this.geometryIsSelfIntersecting})}}handleViewPointerMoveOrDown(e){let{view:t,graphicsLayer:i}=this;t.hitTest(e,{include:i}).then(s=>{var n;let{isFiltered:r,isEditing:o,arcgisHubMapPopoverOpen:a}=this,c=Y(s.results);if(s.results.length){if(e.type==="pointer-down"&&this.sketchViewModel.state==="ready"){this.startEditing();return}let d=this.renderPrimaryOptions;r&&!o?d=this.renderEditOptions:o&&(d=this.renderEditingOptions),a.emit({source:"options",geometry:(n=c.graphic)===null||n===void 0?void 0:n.geometry,view:t,render:d})}})}handleViewExtentChange(){let{arcgisHubMapPopoverClear:e}=this;e.emit()}handleToolsOpened(){this.open=!0,this.hubTelemetry.emit(g.dictionary.category.interaction.action.open.label.popover.details.options)}handleToolsClosed(){this.open=!1,this.hubTelemetry.emit(g.dictionary.category.interaction.action.close.label.popover.details.options)}async connectViewModel(){let{bufferGraphicsLayer:e,graphicsLayer:t,mode:i,sketchViewModel:s,view:n,pointSymbol:r,polygonSymbol:o,polylineSymbol:a}=this;n&&!s&&J&&(await n.when(),n.map.addMany([t,e,this.boundariesGroupLayer,this.boundariesOutlineLayer],0),this.sketchViewModel=new J({view:n,layer:t,defaultCreateOptions:{mode:i},updateOnGraphicClick:!1,polygonSymbol:o,polylineSymbol:a,pointSymbol:r}),j(()=>n.size,this.setPanelHeight))}handleViewEscape(e){this.activeTool=void 0}addWatchHandles(){let{handles:e,sketchViewModel:t,view:i}=this;i&&j&&t&&e.push(i.on("key-down",["Escape"],this.handleViewEscape),i.on("pointer-down",this.handleViewClick),i.on(["pointer-move","pointer-down"],this.handleViewPointerMoveOrDown),i.on("pointer-move",this.handleViewPointerMove),j(()=>i.extent,this.handleViewExtentChange),t.on("create",this.handleSketchOnCreate),t.on("update",this.handleSketchOnUpdate))}addGeometryToBoundariesLayer(){var e;let{boundaries:t,boundariesLayer:i,boundariesOutlineLayer:s}=this;if(!((e=i.graphics)===null||e===void 0)&&e.length&&(i.removeAll(),s.removeAll()),t&&t.length){let n=t.map(this.processGeometry,this),r=n.map(a=>new G({geometry:a,symbol:this.boundarySymbol}));this.boundariesLayer.addMany(r);let o=n.map(a=>new G({geometry:a,symbol:this.boundaryOutlineSymbol}));this.boundariesOutlineLayer.addMany(o),this.boundariesGroupLayer.visible=!0,this.boundariesGroupLayer.opacity=this.isScene?0:1,this.boundariesOutlineLayer.visible=!0,this.view.container.style.backgroundColor="#ffffff",this.view.goTo(this.boundariesLayer.graphics)}else this.boundariesGroupLayer.visible=!1,this.boundariesOutlineLayer.visible=!1}addGeometryToGraphicsLayer(){let{geometry:e,graphicsLayer:t,sketchViewModel:i}=this;if(!e||!t||!this.sketchViewModel)return;this.isFiltered=!0;let s=this.processGeometry(e),n=s.type==="extent"?"polygon":s.type,r=new G({geometry:s,symbol:i[`${n}Symbol`]});t.add(r)}applyFilter(){let{arcgisHubMapDrawGraphicsChange:e,arcgisHubMapPopoverClear:t,graphicsLayer:{graphics:i},bufferGraphicsLayer:{graphics:s}}=this;this.isFiltered=!0,e.emit({graphics:i.clone(),bufferGraphics:s.clone(),save:!0}),t.emit()}deleteDrawing(){let{graphicsLayer:{graphics:[e]},hubTelemetry:t,bufferWidgetEl:i}=this;if(!e)return;let{geometry:{type:s}}=e;t.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.draw.label.delete.details[s]),{response:"Success"})),this.reset(),this.activeTool=void 0,i?.forceReset()}clearFilter(){let{arcgisHubMapDrawGraphicsClear:e,hubTelemetry:t}=this;this.deleteDrawing(),e.emit(),t.emit(g.dictionary.category.interaction.action.search.label.filter.details.clear)}startEditing(){let{arcgisHubMapPopoverClear:e,graphicsLayer:{graphics:t},bufferGraphicsLayer:{graphics:i},hubTelemetry:s,sketchViewModel:n,geometryIsExtent:r}=this;e.emit(),this.isEditing=!0,this.cachedGraphics=t.clone(),this.cachedBufferGraphics=i.clone();let a=t.getItemAt(0).geometry.type;this.activeTool=V(a);let c=a==="extent"?"transform":"reshape",d=!0,h=!0;r&&(c="transform",d=!1,h=!1),n.update(t.getItemAt(0),{tool:c,enableRotation:d,toggleToolOnClick:h}),s.emit(g.dictionary.category.interaction.action.enable.label.draw.details.update)}cancelEdits(){let{arcgisHubMapPopoverClear:e,arcgisHubMapDrawGraphicsChange:t,cachedGraphics:i,cachedBufferGraphics:s,graphicsLayer:{graphics:n},bufferGraphicsLayer:{graphics:r},hubTelemetry:o}=this;i&&s&&(this.graphicsLayer.graphics=i.clone(),this.cachedGraphics=null,this.bufferGraphicsLayer.graphics=s.clone(),this.cachedBufferGraphics=null),this.isEditing=!1,e.emit(),t.emit({graphics:n.clone(),bufferGraphics:r.clone(),canceled:!0}),o.emit(g.dictionary.category.interaction.action.disable.label.draw.details.update)}saveEdits(){let{activeTool:e,arcgisHubMapDrawGraphicsChange:t,arcgisHubMapPopoverClear:i,graphicsLayer:{graphics:s},bufferGraphicsLayer:{graphics:n},hubTelemetry:r,sketchViewModel:o}=this;o.complete(),t.emit({graphics:s.clone(),bufferGraphics:n.clone(),save:!0}),i.emit(),this.isEditing=!1,r.emit(g.dictionary.category.interaction.action.draw.label.update.details[e]),this.open=!1}reset(){let{bufferGraphicsLayer:e,graphicsLayer:t,arcgisHubMapPopoverClear:i,bufferWidgetEl:s}=this;!t||!e||(this.isEditing=!1,this.isFiltered=!1,this.cachedGraphics=null,this.cachedBufferGraphics=null,this.geometry=null,this.geometryIsInvalid=!1,this.geometryIsSelfIntersecting=!1,t.removeAll(),e.removeAll(),i.emit(),s?.forceReset())}processGeometry(e){let{view:t}=this,i=e.clone?e:e.type==="extent"?re.fromJSON(e):ne.fromJSON(e);return i.spatialReference!==t.spatialReference&&(i=se(i,t.spatialReference)),i}setBufferPanelVisible(){let{isEditing:e,isFiltered:t}=this;this.bufferPanelVisible=e||t}setPanelHeight(){let{bufferWidgetEl:e,view:{size:t,container:i}}=this;if(!e||!i)return;let[s]=t;this.viewWidth=s;let{top:n,bottom:r}=i.getBoundingClientRect(),{top:o,bottom:a}=e.getBoundingClientRect();this.topOffset=o-n,this.bottomOffset=r-a}setViewPosition(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition}setOptionsEl(e){this.optionsEl=e}get geometryIsExtent(){var e;return((e=this.geometry)===null||e===void 0?void 0:e.type)==="extent"}get isScene(){var e;return((e=this.view)===null||e===void 0?void 0:e.type)==="3d"}get pointSymbol(){let{color:e}=this;return{type:"text",color:[...e,.9],text:"\uE61D",font:{size:24,family:"CalciteWebCoreIcons"}}}get polylineSymbol(){let{lineStyle:e,color:t}=this;return{style:e,color:[...t,1],width:2,type:"simple-line"}}get polygonSymbol(){let{color:e,lineStyle:t}=this;return{type:"simple-fill",style:"solid",color:[0,0,0,0],outline:{style:t,color:[...e,1],width:2}}}get maskSymbol(){return{type:"simple-fill",style:"solid",color:[0,0,0,.25],outline:{style:"solid",color:[0,0,0,1],width:0}}}get boundarySymbol(){return{type:"simple-fill",style:"solid",color:[0,0,0,1],outline:{style:"solid",color:[0,0,0,0],width:0}}}get boundaryOutlineSymbol(){return{type:"simple-fill",style:"solid",color:[0,0,0,0],outline:{style:"solid",color:[0,0,0,1],width:2}}}get rectangleSymbol(){return this.polygonSymbol}get lineStyle(){let{isFiltered:e}=this;return e?"solid":"short-dash"}get bufferPolygonSymbol(){let{color:e}=this;return{type:"simple-fill",style:"cross",color:[...e,.25],outline:{style:"short-dash",color:[...e,1],width:2}}}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-draw ${e.split("-").join(" ")}`}get styles(){let{viewWidth:e,bottomOffset:t,topOffset:i,bufferPanelVisible:s}=this;return{"--view-width":`${e??0}px`,"--bottom-offset":`${t??0}px`,"--top-offset":`${i??0}px`,"--mobile-display":s?"flex":"none"}}get helperText(){let{activeTool:e,mapTipState:t,sketchViewModel:{createGraphic:i},intl:s,isEditing:n}=this;if(!n&&!i&&e!=="select")return;let r=e==="select"?s.t("tip.select"):s.t("tip.edit");if(i&&!n){let{geometry:o}=i,a="start",c=["polygon","polyline"].includes(e);if(t===w.ACTIVE&&c){let d=e==="polygon"?o&&o.rings[0].length-2:o&&o.paths[0].length-1;d===1?a="point":d>1&&(a="end")}r=s.t(`tip.${e}.${a}`)}return this.geometryIsInvalid&&(r=this.intl.t("invalid.boundary.warning")),this.enableInvalidGeometryWarning&&this.geometryIsSelfIntersecting&&(r=this.intl.t("invalid.selfIntersecting.warning")),r}renderPrimaryOptions(e="polygon"){let{disablePrimaryOptions:t}=this,i=V(e),s=this.intl.t(`filter.${i}`),n=this.intl.t("delete");return t?this.renderEditOptions():l(S,null,l("calcite-action",{icon:"selection-filter",onClick:this.applyFilter,text:s,"text-enabled":!0}),l("calcite-action",{icon:"trash",onClick:this.deleteDrawing,text:n,"text-enabled":!0}))}renderEditOptions(){let e=this.intl.t("update"),t=this.intl.t("delete");return l("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},l("calcite-action",{icon:"pencil",onClick:this.startEditing,text:e}),l("calcite-action",{icon:"trash",onClick:this.clearFilter,text:t}))}renderEditingOptions(){let e=this.intl.t("cancel"),t=this.intl.t("save");return l(S,null,l("calcite-action",{icon:"undo",onClick:this.cancelEdits,text:e,"text-enabled":!0}),l("calcite-action",{icon:"check",onClick:this.saveEdits,text:t,"text-enabled":!0}))}renderMapTip(){let{helperText:e,geometryIsInvalid:t,geometryIsSelfIntersecting:i}=this,s,n;return(t||i)&&(s="exclamation-mark-triangle-f",n="danger"),e?l("arcgis-hub-map-tip",{icon:s,kind:n,text:e}):null}renderDrawBuffer(){let{buffer:e,positionClass:t,handleSetBufferWidgetRef:i,bufferPanelVisible:s}=this;if(e)return l("arcgis-hub-map-widget-draw-buffer",{class:t,ref:i,visible:s})}renderDrawToolWidgets(e=!1){let{tools:t,activeTool:i,scale:s}=this;return Q.reduce((n,r)=>t.includes(r)?[...n,l("arcgis-hub-map-widget-generic",{active:i===r,disabled:this.disabled,icon:N[r].icon,key:r,scale:s,text:this.intl.t(r),textEnabled:e})]:n,[])}renderDrawingOptionsAction(){let{open:e,isEditing:t,activeTool:i,intl:s}=this,n=e||t,r;t?r="pencil":i?r=N[i].icon:r="pencil-mark-plus";let o;return t?o=s.t("updating"):e?o=s.t("close"):o=s.t("open"),l("calcite-action",{active:n,icon:r,ref:this.setOptionsEl,text:o})}renderDrawingOptionsPopoverContent(){let{isEditing:e,open:t,activeTool:i,intl:s}=this;return e?l("calcite-action",{onClick:this.saveEdits,text:s.t("finish"),"text-enabled":!0}):l(S,null,this.renderDrawToolWidgets(!0),i&&t&&l("arcgis-hub-map-widget-generic",{icon:"minus-circle",text:s.t("stop"),"text-enabled":!0}))}renderCondensedDrawTools(){let{open:e,intl:t,optionsEl:i}=this;return l(S,null,this.renderDrawingOptionsAction(),this.renderDrawBuffer(),l("calcite-popover",{"auto-close":!0,"disable-pointer":!0,label:t.t("options"),offsetDistance:15,open:e,placement:"left-start",referenceElement:i},this.renderDrawingOptionsPopoverContent()))}renderDrawTools(){return l(S,null,this.renderDrawBuffer(),this.renderDrawToolWidgets())}isGeometrySelfIntersecting(e){if(!this.enableInvalidGeometryWarning)return!1;switch(e?.type){case"polygon":return z(e);case"polyline":return q(e,oe,le)}return!1}renderPopovers(){let{unthemed:e}=this;return l("arcgis-wormhole",{styles:{position:"absolute",top:0,left:0}},l("arcgis-hub-map-popover",{style:{pointerEvents:"none"},target:"tips",unthemed:e}),l("arcgis-hub-map-popover",{target:"options",unthemed:e}),l("arcgis-hub-map-popover",{target:"action",unthemed:e}))}renderDrawPopover(){let{el:e,drawTip:t}=this;return l("calcite-popover",{autoClose:!0,class:"draw-popover",label:t,open:!0,placement:"left",referenceElement:e,triggerDisabled:!0},l("p",null,t))}render(){return l(E,{key:"68b0c53ec694d3b292879750426de3d9c2273ebe","data-element":"map-widget-draw",style:this.styles},this.renderDrawPopover(),this.condensed?this.renderCondensedDrawTools():this.renderDrawTools(),this.renderPopovers())}static get assetsDirs(){return["locales"]}get el(){return O(this)}static get watchers(){return{activeTool:["handleActiveToolChange"],boundaries:["handleBoundariesChange"],geometry:["handleGraphicsChange"],isEditing:["handleIsEditingChange"],isFiltered:["handleIsFilteredChange"],view:["handleViewChange"],bufferDetails:["handleBufferDetailsChanged"]}}};f([x({when(){return this.enableMapTips&&(this.mapTipState!==w.INACTIVE||this.isEditing&&this.activeTool!=="point")}})],u.prototype,"handleViewPointerMove",null);f([x({when(){return this.activeTool==="select"}})],u.prototype,"handleViewEscape",null);f([x({when(){return this.boundariesGroupLayer}})],u.prototype,"addGeometryToBoundariesLayer",null);f([v()],u.prototype,"pointSymbol",null);f([v()],u.prototype,"polylineSymbol",null);f([v()],u.prototype,"polygonSymbol",null);f([v()],u.prototype,"maskSymbol",null);f([v()],u.prototype,"boundarySymbol",null);f([v()],u.prototype,"boundaryOutlineSymbol",null);f([v()],u.prototype,"rectangleSymbol",null);f([v()],u.prototype,"bufferPolygonSymbol",null);f([x({when(){return!this.disableEditOptions}})],u.prototype,"renderEditOptions",null);f([x({when(){return!this.disableEditOptions}})],u.prototype,"renderEditingOptions",null);f([x({when(){return this.view}})],u.prototype,"renderPopovers",null);f([x({when(){return this.drawTip&&this.drawTip.length}})],u.prototype,"renderDrawPopover",null);u.style=Ce;var M;(function(e){e.Imperial="imperial",e.Metric="metric"})(M||(M={}));var W;(function(e){e.Feet="feet",e.Miles="miles",e.NauticalMiles="nautical miles"})(W||(W={}));var A;(function(e){e.Meters="meters",e.Kilometers="kilometers"})(A||(A={}));var Te="calcite-panel div{display:grid;gap:0.25rem;padding:1rem;background-color:var(--calcite-color-foreground-1)}calcite-panel[closed]{display:none}",Me=Te,Ee=class{constructor(e){P(this,e),this.arcgisHubMapWidgetDrawBufferChanged=y(this,"arcgisHubMapWidgetDrawBufferChanged",7),this.arcgisHubMapWigetDrawBufferReset=y(this,"arcgisHubMapWigetDrawBufferReset",7),this.arcgisHubMapWidgetDrawBufferPanelClosed=y(this,"arcgisHubMapWidgetDrawBufferPanelClosed",7),this.arcgisHubWidgetPanelToggled=y(this,"arcgisHubWidgetPanelToggled",7),this.visible=void 0,this.unit=this.defaultUnitOfMeasurement,this.distance=0,this.status="idle",k(this,"handleInputKeyUp","handleSetPanelRef","handleSetSelectRef","handleSetInputRef","reset")}async componentWillLoad(){let{el:e}=this;this.intl=await B.loadIntlForComponent(e),this.handleVisibleChange()}handleUnitDistanceChanged(){let{arcgisHubMapWidgetDrawBufferChanged:e,unit:t,distance:i}=this;e.emit({distance:i,unit:t})}handleCalciteSelectChange(){let{selectEl:{selectedOption:{value:e}}}=this;this.unit=e.toLowerCase()}handleCalciteInputInput(){let{inputEl:{value:e}}=this;this.distance=+e,this.validateDistance()}handleCalcitePanelDismissedChange(){let{panelEl:{closed:e},arcgisHubMapWidgetDrawBufferPanelClosed:t}=this;e&&t.emit()}handleVisibleChange(){let{visible:e,panelEl:t,arcgisHubWidgetPanelToggled:i}=this;if(t){let s=!e;i.emit(s)}}async forceReset(){this.reset()}reset(){let{arcgisHubMapWigetDrawBufferReset:e}=this;this.distance=0,this.unit=this.defaultUnitOfMeasurement,e.emit()}validateDistance(){let{inputEl:{value:e}}=this;this.status=e?"idle":"invalid"}handleInputKeyUp(){this.validateDistance()}handleSetSelectRef(e){e&&(this.selectEl=e)}handleSetInputRef(e){e&&(this.inputEl=e)}handleSetPanelRef(e){e&&(this.panelEl=e)}get defaultSystemOfMesasurement(){let[,e]=window.navigator.language.toLowerCase().split("-");return["us","lr","mm"].includes(e)?M.Imperial:M.Metric}get defaultUnitOfMeasurement(){let{defaultSystemOfMesasurement:e}=this;return e===M.Imperial?W.Feet:A.Meters}get canReset(){let{distance:e,unit:t,defaultUnitOfMeasurement:i}=this;return!!e||t!==i}get distanceIsInvalid(){let{status:e}=this;return e==="invalid"}renderOptionsGroup(e,t){let{unit:i,intl:s}=this;return l("calcite-option-group",{label:s.t(`system.${e}`)},t.map(n=>{let r=s.t(`units.${n.replace(" ","")}`);return l("calcite-option",{key:n,label:r,selected:i===n,value:n},r)}))}render(){let{distance:e,distanceIsInvalid:t,intl:i,canReset:s,status:n,visible:r,handleInputKeyUp:o,handleSetSelectRef:a,handleSetInputRef:c,handleSetPanelRef:d,reset:h}=this,p=i.t("panel.heading"),m=i.t("panel.reset"),b=i.t("distance.title"),C=i.t("distance.placeholder"),H=i.t("distance.message"),L=i.t("units.title");return l(E,{key:"ec424a9b9d8f290485086827615f250cb46c95e1","data-element":"widget-draw-buffer"},l("calcite-panel",{key:"089334382955a7559bbdded48e0c03ca7c9e022e",closable:!0,closed:!r,heading:p,ref:d},l("calcite-action",{key:"acfaffe4715f35e3fca3561418bfac85f7973435",disabled:!s,icon:"reset",onClick:h,slot:"header-actions-end",text:m}),l("div",{key:"4bbeaccbce3b20ccd71164496d1954ed56fa5a56",class:"location-filter"},l("calcite-label",{key:"981df55060865da10b0f598feed86fa658169798",scale:"l"},b,l("calcite-input",{key:"ff4ad9b79fea4aabd05dd3b5652ad431e67bf06e",onKeyUp:o,placeholder:C,ref:c,scale:"l",status:n,type:"number",value:e.toString()}),l("calcite-input-message",{key:"d3e806275cf03a0ee7bd6fceb999b40e3c5cafdb",hidden:!t},H)),l("calcite-label",{key:"e0fedc2e30410e224236c34220a26a953c1fe81e",scale:"l"},L,l("calcite-select",{key:"b3f677335e074d60844fe6314121227062c9df2b",label:L,ref:a,scale:"l"},this.renderOptionsGroup(M.Metric,Object.values(A)),this.renderOptionsGroup(M.Imperial,Object.values(W)))))))}static get assetsDirs(){return["locales"]}get el(){return O(this)}static get watchers(){return{unit:["handleUnitDistanceChanged"],distance:["handleUnitDistanceChanged"],visible:["handleVisibleChange"]}}};Ee.style=Me;return{arcgis_hub_map_popover:Z,arcgis_hub_map_tip:be,arcgis_hub_map_widget_container:ve,arcgis_hub_map_widget_draw:u,arcgis_hub_map_widget_draw_buffer:Ee}},"geometry/geometryEngine","geometry/geometryEngine","geometry/Polygon","core/reactiveUtils","layers/GraphicsLayer","widgets/Sketch/SketchViewModel","layers/GroupLayer","Graphic","geometry/support/webMercatorUtils","geometry/Geometry","geometry/Extent","geometry/Polyline","geometry/Point","geometry/operators/crossesOperator","config",a)
|
package/dist/cdn/LPEJOUBP.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import{a as et}from"./3TNKNDPV.js";import{a as fe}from"./TJDVSNHI.js";import{c as at,d as it,f as ot}from"./FUIW32FS.js";import{a as he,b as tt}from"./WNYS42WC.js";import{a as R,b as M,c as $,d as me,e as G,f as Q,g as z,h as K,i as nt,j as st,p as rt}from"./2KO66RWN.js";import{a as V,c as He}from"./G74TAGRG.js";import{J as H,K as x,T as Ke,V as de,W as Ye,X as Je,Y as We,Z as Ze,_ as Xe}from"./EHHPJOXQ.js";import{a as A}from"./LAR2OLLL.js";import{o as le}from"./Q7KJVH7M.js";import{d as Fe,m as ue,o as ke}from"./PMFO4R4Q.js";import{d as Ve}from"./FL4CJYY3.js";import{a as Be,c as ce}from"./AX3PP6N4.js";import{a as Qe,b as ze}from"./OELTFMHK.js";import{a as ae,c as k,d as ie,e as oe}from"./QU42GR3U.js";import{i as ne}from"./LZNQG5VA.js";import{a as N}from"./KYTSPWRL.js";import{e as B,f as Ge,g as qe,h as se,n as F,o as Le}from"./UPGAZR5O.js";import{a as Ne}from"./W6JVZ5EY.js";import{a as xe}from"./JRXXB632.js";import{a as j}from"./P2SLD4RE.js";import{n as $e}from"./IFXO576V.js";import{a as ee}from"./V3WVL7WS.js";import{b as re}from"./EWKQIUWH.js";import{b as _e}from"./OE6PFFPN.js";import{h as Ce}from"./6Q6IUBV7.js";import{a as Me}from"./ZMMAEBVZ.js";import{n as te}from"./5HALXJBI.js";import{a as Ue}from"./3FMKRHUW.js";import{a as L,k as y}from"./BIIGU5WC.js";import{a as E}from"./HXFWIAC7.js";function It(e){return re(e,"user")}function jt(e){return re(e,"communityUser")}var q;(function(e){e.CSV="csv",e.JSON="json"})(q||(q={}));var pe=class extends ze{constructor(t,n,s,a){super(t,n,s),this.error=a}};function ht(e){let{token:t,authentication:n}=e,s=()=>Promise.resolve(t);return n&&(s=n.getToken.bind(n,n.portal)),s()}function ft(e,t,n,s){var a;let r=e,i=new Headers(t.headers);i.append("Content-Type","application/json"),s&&i.append("Authorization",`Bearer ${s}`);let o={headers:i,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},u=Qe({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${n}`});if(t.data)if(t.httpMethod==="GET"){let O=new URLSearchParams(t.data).toString();r+=`?${O}`}else o.body=JSON.stringify(t.data);let d=["/posts","/posts/search"].includes(e)&&(((a=t.data)===null||a===void 0?void 0:a.f)===q.CSV||i.get("Accept")==="text/csv"),m=[u.replace(/\/$/,""),r.replace(/^\//,"")].join("/");return fetch(m,o).then(O=>{if(O.ok)return d?O.text():O.json();{let{statusText:p,status:h}=O;return O.json().then(D=>{throw new pe(p,m,h,JSON.stringify(D.message))})}})}function b(e,t){return ht(t).then(n=>ft(e,t,"v1",n))}function v(e,t){return ht(t).then(n=>ft(e,t,"v2",n))}function Rt(e,t){return`${ee(t)}/home/group.html?id=${e}`}function Pt(e,t){let n;return t.authentication&&(n=t.authentication.token),{self:Rt(e.id,t),siteRelative:`/groups/${e.id}`,siteRelativeEntityType:$e("Group"),workspaceRelative:Ve("Group",e.id),thumbnail:qe(t.portal,e,n)}}function Ct(e,t){let{api:n,requestOptions:{isPortal:s}}=t;return s?!1:e==="discussionPost"?!0:e==="item"&&n==="hub"}function _t(e,t){let{requestOptions:{isPortal:n}}=t;return(e==="channel"||e==="post")&&!n}function Ut(e,t){let{requestOptions:{isPortal:n}}=t;return["event","eventAttendee"].includes(e)&&!n}function Nt(e,t){let n="portal";return(_t(e,t)||Ut(e,t)||Ct(e,t))&&(n="hub"),n}function xt(e,t){return et(e,{},t)}var Mt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichUserOrg");if(t.user.orgId){let r=Object.assign(Object.assign({},s),{portal:`${Ne(s.portal)}/sharing/rest`});return k(t.user.orgId,r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{org:i}),stack:n,requestOptions:s})).catch(i=>$t(i,e,a))}else return n.finish(a),Promise.resolve({data:Object.assign(Object.assign({},t),{org:null}),stack:n,requestOptions:s})},$t=(e,t,n)=>{let{data:s,stack:a,requestOptions:r}=t;return a.finish(n,{error:e}),{data:Object.assign(Object.assign({},s),{errors:oe(e,s.errors)}),stack:a,requestOptions:r}},Gt={org:Mt};function qt(e,t,n){let s=t.reduce((r,i)=>{let o=Gt[i];return o&&r.push(o),r},[]);return ie(s)({data:{user:e},stack:new ae,requestOptions:n}).then(r=>r.data)}async function Lt(e,t,n){var s,a,r;t.settings=n.userHubSettings;let o=await N(Bt,{})(n),d=await N(xe,{})(n.requestOptions);return t.hubOrgSettings={showInformationalBanner:!!(!((r=(a=(s=d.portalProperties)===null||s===void 0?void 0:s.hub)===null||a===void 0?void 0:a.settings)===null||r===void 0)&&r.informationalBanner),enableTermsAndConditions:!!o.termsAndConditions,termsAndConditions:o.termsAndConditions,enableSignupText:!!o.signupText,signupText:o.signupText},t}function Bt(e){let t=`${_e(e.requestOptions)}/portals/self/signinSettings`,n=Object.assign(Object.assign({},e.requestOptions),{httpMethod:"GET"});return Ce(t,n)}function ge(e,t){return`${ee(t)}/home/user.html?user=${e}`}var mt=e=>{let t=Object.prototype.hasOwnProperty.call(e,"description")?e.description:void 0;return{access:e.access,id:e.username,name:e.fullName,description:t,summary:t,createdDate:new Date(e.created),createdDateSource:"user.created",orgId:e.orgId,owner:e.username,updatedDate:new Date(e.modified),updatedDateSource:"user.modified",tags:e.tags,thumbnail:e.thumbnail,type:"User",typeKeywords:[],links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:null}}};async function pt(e,t,n){var s;let a=mt(e),r=Object.assign(Object.assign({},a),{family:"people",rawResult:e});e.memberType&&(r.memberType=e.memberType,r.isGroupOwner=e.isGroupOwner);let i=t.filter(y).map(le),o=te("enrichment",i).filter(y),u={};o.length&&(u=await qt(e,o,n)),i.forEach(m=>{r[m.prop]=E(u,m.path)});let d=(s=n.authentication)===null||s===void 0?void 0:s.token;return e.thumbnail&&(r.links.thumbnail=se(n.portal,e,d)),r.links.self=ge(r.id,n),r.links.siteRelative=n.isPortal?ge(r.id,n):`/people/${r.id}`,r}var ss=async(e,t)=>{let n=e==="self"?t.currentUser:await j(Object.assign(Object.assign({},t.hubRequestOptions),{username:e})),s=mt(n);return s=await Lt(n,s,t),s};async function Ft(e,t){let n;if(e.filters.forEach(r=>{r.predicates.forEach(i=>{let o=E(i,"group");Array.isArray(o)?n=o[0]:typeof o=="string"?n=o:typeof o=="object"&&(n=E(o,"any[0]")||E(o,"all[0]"))})}),!n)throw new A("portalSearchGroupMembers","Group Id required. Please pass as a predicate in the query.");e.filters=e.filters.map(r=>{let i=["name","memberType","joined"];return r.predicates=r.predicates.map(o=>(o.term&&(o.name=o.term,delete o.term),o)).map(o=>xt(o,i)).filter(o=>Object.entries(o).length>0).map(B),r});let s=H(e);return["num","sortField","sortOrder","include","start"].forEach(r=>{Object.prototype.hasOwnProperty.call(t,r)&&(s[r]=t[r])}),s.groupId=n,s.requestOptions=t.requestOptions,gt(s)}async function gt(e){let t=Object.assign(Object.assign({},e),e.requestOptions),n=await ce(e.groupId,t),s=r=>kt(Object.assign(Object.assign({},r),{isGroupOwner:n.owner.username===r.username}),e.include,e.requestOptions),a=await Promise.all(n.users.map(s));return{total:n.total,results:a,hasNext:n.nextStart>-1,next:x(e,n.nextStart,n.total,gt)}}async function kt(e,t=[],n){let s={username:e.username,memberType:e.memberType||"member",access:"private",fullName:null,firstName:null,lastName:null,description:null,orgId:null,groups:[],tags:[],thumbnail:null,created:null,modified:null,isGroupOwner:e.isGroupOwner},r=await N(j,s)({username:e.username,authentication:n.authentication,portal:n.portal});return Object.keys(s).forEach(i=>{Object.prototype.hasOwnProperty.call(r,i)&&r[i]!==""&&Me(i,r[i],s)}),pt(s,["org.name as OrgName",...t],n)}var Vt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupContentCount"),r=Object.assign({groupId:t.group.id,num:1},s);return tt(r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{contentCount:i.total}),stack:n,requestOptions:s})).catch(i=>Ae(i,e,a))},Ht=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupMembershipSummary"),r=Object.assign({num:3},s);return ce(t.group.id,r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{membershipSummary:{total:i.total,users:i.users}}),stack:n,requestOptions:s})).catch(i=>Ae(i,e,a))},Qt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupUserMembership");return Be(t.group.id,s).then(r=>(n.finish(a),{data:Object.assign(Object.assign({},t),{membershipAccess:r.membershipAccess,userMembership:E(r,"userMembership.memberType")}),stack:n,requestOptions:s})).catch(r=>Ae(r,e,a))},Ae=(e,t,n)=>{let{data:s,stack:a,requestOptions:r}=t;return a.finish(n,{error:e}),{data:Object.assign(Object.assign({},s),{errors:oe(e,s.errors)}),stack:a,requestOptions:r}},zt={membershipSummary:Ht,contentCount:Vt,userMembership:Qt};function Kt(e,t,n){let s=t.reduce((r,i)=>{let o=zt[i];return o&&r.push(o),r},[]);return ie(s)({data:{group:e},stack:new ae,requestOptions:n}).then(r=>r.data)}async function Yt(e,t,n){let s={access:e.access,id:e.id,type:"Group",name:e.title,owner:e.owner,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"group.created",updatedDate:new Date(e.modified),updatedDateSource:"group.modified",family:"team",links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},rawResult:e};s.isSharedUpdate=(e.capabilities||[]).includes("updateitemcontrol"),s.membershipAccess=e.membershipAccess,s.isOpenData=!!e.isOpenData,t=[...[],...t].filter(y);let r=t.map(le),i=te("enrichment",r).filter(y),o={};return i.length&&(o=await Kt(e,i,n)),r.forEach(u=>{s[u.prop]=E(o,u.path)}),s.links=Pt(e,n),s}async function Jt(e,t){if(!t.requestOptions)throw new A("portalSearchGroups","options.requestOptions is required.");e.filters=e.filters.map(a=>(a.predicates=a.predicates.map(B),a));let n=H(e);return["num","sortField","sortOrder","include","start","httpMethod","requestOptions"].forEach(a=>{Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a])}),t.requestOptions.authentication?n.authentication=t.requestOptions.authentication:n.portal=t.requestOptions.portal,Ot(n)}async function Ot(e){let t=await he(e),n=a=>Wt(a,e.include,e.requestOptions),s=await Promise.all(t.results.map(n));return{total:t.total,results:s,hasNext:t.nextStart>-1,next:x(e,t.nextStart,t.total,Ot),executedQuerySize:F(e.q)}}async function Wt(e,t=[],n){return Yt(e,t,n)}function Ee(e,t,n){if(!t.requestOptions)throw new A(n,"requestOptions: IHubRequestOptions is required.");if(!t.requestOptions.authentication)throw new A(n,"requestOptions must pass authentication.");let s=L(e);s.filters=s.filters.map(i=>(i.predicates=i.predicates.map(B),i));let a=H(s);return["num","sortField","sortOrder","include","start","requestOptions"].forEach(i=>{Object.prototype.hasOwnProperty.call(t,i)&&(a[i]=t[i])}),a.authentication=t.requestOptions.authentication,a}function Zt(e,t){let n=Ee(e,t,"searchPortalUsersLegacy");return Te(Object.assign(Object.assign({},n),{include:["org.name as OrgName",...n.include||[]]}))}function Xt(e,t){let n=Ee(e,t,"searchPortalUsers");return Te(n)}function en(e,t){let n=Ee(e,t,"searchCommunityUsers");return vt(n)}function bt(e,t){let n=s=>tn(s,e.include,e.requestOptions);return Promise.all(t.results.map(n))}async function Te(e){let t=await It(e),n=await bt(e,t);return{total:t.total,results:n,hasNext:t.nextStart>-1,next:x(e,t.nextStart,t.total,Te),executedQuerySize:F(e.q)}}async function vt(e){let t=await jt(e),n=await bt(e,t);return{total:t.total,results:n,hasNext:t.nextStart>-1,next:x(e,t.nextStart,t.total,vt),executedQuerySize:F(e.q)}}function tn(e,t=[],n){return pt(e,t,n)}function nn(e){let t=e.aggregations.aggregations.map(n=>({mode:"terms",field:n.field,values:n.aggregations.map(s=>({value:s.label,count:s.value}))}));return{total:0,results:[],hasNext:!1,next:()=>null,aggregations:t}}function sn(e,t){let n=`terms(fields=(${t.aggFields.join()}))`,s=Ye(e),a=We(e),r=Je(e),i=E(t,"requestOptions.authentication.token");return{aggregations:n,bbox:a,filter:s,q:r,token:i}}async function rn(e,t){let n=`${de(e,t)}/aggregations`,s=sn(e,t),a=await Ze(n,s,t);return nn(a)}async function ct(e,t){var n;let s=Le(e);if(!((n=t.aggFields)===null||n===void 0)&&n.length)return rn(s,t);let a=`${de(s,t)}/items`;return Xe(a,s,t)}var Oe;(function(e){e.HAS_USER_POSTS="has_user_posts"})(Oe||(Oe={}));var be=e=>e.reduce((t,n)=>typeof n=="object"&&n!==null&&"not"in n?Object.assign(Object.assign({},t),{notIds:[...t.notIds,...Array.isArray(n.not)?n.not:[n.not]]}):typeof n=="string"?Object.assign(Object.assign({},t),{ids:[...t.ids,n]}):t,{ids:[],notIds:[]});function we(e){return e.reduce((t,n)=>n.predicates.reduce((s,a)=>Object.keys(a).reduce((r,i)=>{let u=(Array.isArray(a[i])?a[i]:[a[i]]).reduce((d,m)=>d.includes(m)?d:[...d,m],r[i]||[]);return Object.assign(Object.assign({},r),{[i]:u})},s),t),{})}function an(e){var t,n,s,a,r,i,o,u,d,m,O;let p={},h=we(e);if(!((t=h.term)===null||t===void 0)&&t.length&&(p.name=h.term[0]),!((n=h.group)===null||n===void 0)&&n.length&&(p.groups=h.group),!((s=h.access)===null||s===void 0)&&s.length&&(p.access=h.access),!((a=h.orgId)===null||a===void 0)&&a.length&&(p.orgIds=h.orgId),!((r=h.discussion)===null||r===void 0)&&r.length&&(p.discussion=h.discussion[0]),((i=h.hasUserPosts)===null||i===void 0?void 0:i[0])===!0&&(p.filterBy=Oe.HAS_USER_POSTS),!((o=h.role)===null||o===void 0)&&o.length&&(p.roles=h.role),!((u=h.owner)===null||u===void 0)&&u.length&&(p.creator=h.owner[0]),!((d=h.id)===null||d===void 0)&&d.length){let{ids:D,notIds:l}=be(h.id);D.length&&(p.ids=D),l.length&&(p.notIds=l.filter(y))}return!((m=h.createdDateRange)===null||m===void 0)&&m.length&&(p.createdBefore=new Date(h.createdDateRange[0].to),p.createdAfter=new Date(h.createdDateRange[0].from)),!((O=h.updatedDateRange)===null||O===void 0)&&O.length&&(p.updatedBefore=new Date(h.updatedDateRange[0].to),p.updatedAfter=new Date(h.updatedDateRange[0].from)),p}var ve;(function(e){e.CHANNEL_ACL="channelAcl"})(ve||(ve={}));var I;(function(e){e.ACCESS="access",e.CREATED_AT="createdAt",e.CREATOR="creator",e.EDITOR="editor",e.ID="id",e.LAST_ACTIVITY="last_activity",e.UPDATED_AT="updatedAt"})(I||(I={}));var C;(function(e){e.ASC="ASC",e.DESC="DESC"})(C||(C={}));var ut={access:I.ACCESS,created:I.CREATED_AT,modified:I.UPDATED_AT,owner:I.CREATOR,lastActivity:I.LAST_ACTIVITY},lt={desc:C.DESC,asc:C.ASC};function on(e){let t={relations:[ve.CHANNEL_ACL]};return e.num&&(t.num=e.num),e.start&&(t.start=e.start),e.sortField&&ut[e.sortField]&&(t.sortBy=ut[e.sortField]),e.sortOrder&<[e.sortOrder]&&(t.sortOrder=lt[e.sortOrder]),t}async function cn(e,t){var n;let s=[];if(!((n=t.include)===null||n===void 0)&&n.includes("groups")){let a=e.reduce((i,o)=>ue(o).reduce((u,d)=>u.includes(d)?u:[...u,d],i),[]);s=(await fe(He(a,100),i=>he(Object.assign({q:i.map(o=>`id:${o}`).join(" OR "),num:i.length},t.requestOptions)),5)).reduce((i,o)=>[...i,...o.results],[])}return e.map(a=>{var r;return ke(a,!((r=t.include)===null||r===void 0)&&r.includes("groups")?ue(a).map(i=>s.find(({id:o})=>o===i)||null):[])})}function rs(e){return e.httpMethod="GET",b("/channels",e)}function un(e){return e.httpMethod="GET",v("/channels",e)}function as(e){return e.httpMethod="POST",b("/channels",e)}function is(e){return e.httpMethod="GET",b(`/channels/${e.channelId}`,e)}function os(e){return e.httpMethod="PATCH",b(`/channels/${e.channelId}`,e)}function cs(e){return e.httpMethod="DELETE",b(`/channels/${e.channelId}`,e)}function us(e){return e.httpMethod="GET",b(`/channels/${e.channelId}/notifications/opt-out`,e)}function ls(e){return e.httpMethod="POST",b(`/channels/${e.channelId}/notifications/opt-out`,e)}function ds(e){return e.httpMethod="DELETE",b(`/channels/${e.channelId}/notifications/opt-out`,e)}function hs(e){return e.httpMethod="DELETE",b(`/channels/${e.channelId}/activity`,e)}function fs(e){return e.httpMethod="POST",v("/channels",e)}function ms(e){return e.httpMethod="GET",v(`/channels/${e.channelId}`,e)}function ps(e){return e.httpMethod="PATCH",v(`/channels/${e.channelId}`,e)}function gs(e){return e.httpMethod="DELETE",v(`/channels/${e.channelId}`,e)}function Os(e){return e.httpMethod="GET",v(`/channels/${e.channelId}/notifications/opt-out`,e)}function bs(e){return e.httpMethod="POST",v(`/channels/${e.channelId}/notifications/opt-out`,e)}function vs(e){return e.httpMethod="DELETE",v(`/channels/${e.channelId}/notifications/opt-out`,e)}function Ss(e){return e.httpMethod="DELETE",v(`/channels/${e.channelId}/activity`,e)}var St=async(e,t)=>{if(!t.requestOptions)throw new A("hubSearchChannels","options.requestOptions is required");let n=an(e.filters),s=on(t),{total:a,nextStart:r,items:i}=await un(Object.assign({data:Object.assign(Object.assign({},n),s)},t.requestOptions)),o=await cn(i,t);return{total:a,results:o,hasNext:r>-1,next:()=>St(e,Object.assign(Object.assign({},t),{start:r}))}};async function ln(e,t){var n;let s;return!((n=t.include)===null||n===void 0)&&n.includes("ownerUser")&&(s=await j(Object.assign({username:e.creator.username},t.requestOptions))),{access:e.access.toLowerCase(),id:e.id,location:it(e),type:"Event",name:e.title,owner:e.creator.username,ownerUser:s,summary:e.summary||e.description,createdDate:new Date(e.createdAt),createdDateSource:"event.createdAt",updatedDate:new Date(e.updatedAt),updatedDateSource:"event.updatedAt",family:"event",links:at(e),tags:e.tags,categories:e.categories,rawResult:e}}function dn(e){let t={};return e.num>0&&(t.num=e.num),e.start>1&&(t.start=e.start),e.sortField==="modified"?t.sortBy=$.updatedAt:e.sortField==="created"?t.sortBy=$.createdAt:e.sortField==="title"?t.sortBy=$.title:e.sortField==="startDate"&&(t.sortBy=$.startDateTime),t.sortOrder=e.sortOrder==="desc"?M.desc:M.asc,t}function Dt(e,t){return t[e]||t[e.toUpperCase()]||t[e.toLowerCase()]||e}function P(e,t){return e.map(n=>Dt(n,t))}function hn(e){var t,n,s,a,r,i,o,u,d,m,O,p,h,D,l,g,_,J,W,Z,X;let c=we(e),f={};if(!((t=c.access)===null||t===void 0)&&t.length&&(f.access=P(c.access,st)),!((n=c.canEdit)===null||n===void 0)&&n.length&&(f.canEdit=c.canEdit[0]),!((s=c.entityId)===null||s===void 0)&&s.length&&(f.entityIds=c.entityId),!((a=c.entityType)===null||a===void 0)&&a.length&&(f.entityTypes=P(c.entityType,nt)),!((r=c.id)===null||r===void 0)&&r.length){let{ids:w,notIds:U}=be(c.id);w.length&&(f.eventIds=w.filter(y)),U.length&&(f.notEventIds=U.filter(y))}if(!((i=c.term)===null||i===void 0)&&i.length&&(f.title=c.term[0]),!((o=c.orgId)===null||o===void 0)&&o.length&&(f.orgId=c.orgId[0]),!((u=c.categories)===null||u===void 0)&&u.length&&(f.categories=c.categories),!((d=c.tags)===null||d===void 0)&&d.length&&(f.tags=c.tags),!((m=c.group)===null||m===void 0)&&m.length){let{ids:w,notIds:U}=be(c.group);if(w.length&&(f.sharedToGroups=w),U.length){let Pe=U.filter(y);f.withoutEditGroups=Pe,f.withoutReadGroups=Pe}}return!((O=c.attendanceType)===null||O===void 0)&&O.length&&(f.attendanceTypes=P(c.attendanceType,K)),!((p=c.owner)===null||p===void 0)&&p.length&&(f.createdByIds=c.owner),f.status=!((h=c.status)===null||h===void 0)&&h.length?P(c.status,z):[z.PLANNED,z.CANCELED],!((D=c.startDateRange)===null||D===void 0)&&D.length?(c.startDateRange[0].to&&(f.startDateTimeBefore=new Date(c.startDateRange[0].to).toISOString()),c.startDateRange[0].from&&(f.startDateTimeAfter=new Date(c.startDateRange[0].from).toISOString())):(!((l=c.startDateBefore)===null||l===void 0)&&l.length&&(f.startDateTimeBefore=new Date(c.startDateBefore[0]).toISOString()),!((g=c.startDateAfter)===null||g===void 0)&&g.length&&(f.startDateTimeAfter=new Date(c.startDateAfter[0]).toISOString())),!((_=c.endDateRange)===null||_===void 0)&&_.length?(c.endDateRange[0].to&&(f.endDateTimeBefore=new Date(c.endDateRange[0].to).toISOString()),c.endDateRange[0].from&&(f.endDateTimeAfter=new Date(c.endDateRange[0].from).toISOString())):(!((J=c.endDateBefore)===null||J===void 0)&&J.length&&(f.endDateTimeBefore=new Date(c.endDateBefore[0]).toISOString()),!((W=c.endDateAfter)===null||W===void 0)&&W.length&&(f.endDateTimeAfter=new Date(c.endDateAfter[0]).toISOString())),!((Z=c.occurrence)===null||Z===void 0)&&Z.length&&c.occurrence.forEach(w=>{switch(w){case"upcoming":f.startDateTimeAfter=new Date().toISOString();break;case"past":f.endDateTimeBefore=new Date().toISOString();break;case"inProgress":f.startDateTimeBefore=new Date().toISOString(),f.endDateTimeAfter=new Date().toISOString();break}}),!((X=c.modified)===null||X===void 0)&&X.length&&c.modified[0].to&&c.modified[0].from&&(f.updatedAtBefore=new Date(c.modified[0].to).toISOString(),f.updatedAtAfter=new Date(c.modified[0].from).toISOString()),f}async function yt(e,t){let n=hn(e.filters),s=dn(t),a=Object.assign(Object.assign(Object.assign({},n),s),{include:[me.creator,me.location]}),{items:r,nextStart:i,total:o}=await rt(Object.assign(Object.assign({},t.requestOptions),{data:a})),u=await Promise.all(r.map(m=>ln(m,t))),d=i>-1;return{total:o,results:u,hasNext:d,next:()=>{if(!d)throw new Error("No more hub events for the given query and options");return yt(e,Object.assign(Object.assign({},t),{start:i}))}}}async function fn(e,t){var n;let[s,a]=await Promise.all([j(Object.assign({username:e.userId},t.requestOptions)),j(Object.assign({username:e.createdById},t.requestOptions))]);return{id:e.id.toString(),access:s.access,name:s.fullName,createdDate:new Date(e.createdAt),createdDateSource:"attendee.createdAt",updatedDate:new Date(e.updatedAt),updatedDateSource:"attendee.updatedAt",type:"Event Attendee",family:"eventAttendee",owner:a.username,rawResult:e,links:{self:ge(s.username,t.requestOptions),siteRelative:`/people/${s.username}`,thumbnail:s.thumbnail?se(t.requestOptions.portal,s,(n=t.requestOptions.authentication)===null||n===void 0?void 0:n.token):null}}}function mn(e){let t={};return e.num>0&&(t.num=e.num.toString()),e.start>1&&(t.start=e.start.toString()),e.sortField==="modified"?t.sortBy=R.updatedAt:e.sortField==="created"?t.sortBy=R.createdAt:e.sortField==="username"?t.sortBy=R.username:e.sortField==="firstName"?t.sortBy=R.firstName:e.sortField==="lastName"&&(t.sortBy=R.lastName),t.sortOrder=e.sortOrder==="desc"?M.desc:M.asc,t}var Se=(e,t)=>{let n=(s,a)=>a.predicates.reduce((r,i)=>Object.entries(i).reduce((o,[u,d])=>u===t?[...o,...Array.isArray(d)?d:[d]]:o,r),s);return e.reduce(n,[])},Y=(e,t)=>{let s=Se(e,t).filter(y).join(",");if(s)return s};function pn(e){let t={eventId:e.properties.eventId},n=(i,o)=>i?.length?i:o.map(u=>u.toLowerCase()).join(","),s=Y(e.filters,"userId");s?.length&&(t.userId=s);let a=Se(e.filters,"term");a.length&&(t.name=a[0]),t.type=n(Y(e.filters,"attendanceType"),[K.VIRTUAL,K.IN_PERSON]),t.role=n(Y(e.filters,"role"),[Q.OWNER,Q.ORGANIZER,Q.ATTENDEE]),t.status=n(Y(e.filters,"status"),[G.PENDING,G.ACCEPTED,G.DECLINED,G.BLOCKED]);let r=Se(e.filters,"updatedDateRange");return r.length&&(t.updatedAtBefore=new Date(r[0].to).toISOString(),t.updatedAtAfter=new Date(r[0].from).toISOString()),t}async function At(e,t){let n=pn(e),s=mn(t),a=Object.assign(Object.assign({},n),s),{items:r,nextStart:i,total:o}=await ot(Object.assign(Object.assign({},t.requestOptions),{data:a})),u=await Promise.all(r.map(m=>fn(m,t))),d=i>-1;return{total:o,results:u,hasNext:d,next:()=>{if(!d)throw new Error("No more hub events for the given query and options");return At(e,Object.assign(Object.assign({},t),{start:i}))}}}function gn(e,t,n=["any","all"]){return Ge(t).filters.reduce((a,r)=>[...a,...r.predicates],[]).reduce((a,r)=>(n.forEach(i=>{a=[...a,...Ue(r,`${e}.${i}`,[])]}),a),[]).filter(y)}async function Ds(e,t){let n=await k(e,t),a=t.authentication.token;return Et(n,a)}function On(e){let t=Et(e);return{id:t.id,title:t.name,name:t.name,url:t.url,type:"Organization",family:"organization",source:"portal",createdDate:t.createdDate,createdDateSource:t.createdDateSource,updatedDate:t.updatedDate,updatedDateSource:t.updatedDateSource,thumbnailUrl:t.thumbnailUrl,thumbnail:t.thumbnail,description:t.description,access:t.access,tags:t.tags,typeKeywords:t.typeKeywords,links:t.links}}function Et(e,t){let n=`https://${e.portalHostname}`;return e.urlKey&&(n=`https://${e.urlKey}.${e.customBaseUrl}`),{id:e.id,orgId:e.id,access:e.access,name:e.name,summary:e.description,description:e.description,type:"Organization",source:"portal",createdDate:new Date(e.created),createdDateSource:"portal",updatedDate:new Date(e.modified),updatedDateSource:"portal",portal:e,thumbnail:e.thumbnail,thumbnailUrl:ne(e,t),url:n,links:{self:n,thumbnail:ne(e,t)},typeKeywords:[],tags:[]}}async function bn(e,t){let n=gn("id",e,["any"]);if(!n.length)throw new Error("Organization query must contain an id predicate.");let s=N(k,null),r=(await fe(n,async i=>s(i,t.requestOptions),8)).filter(i=>i!==null);return{total:r.length,hasNext:!1,next:null,results:r.map(i=>On(i))}}function vn(e){return{access:null,createdDate:new Date(e.createdAt),createdDateSource:"post.createdAt",family:"post",id:e.id,location:{type:"none"},name:e.title,owner:e.creator,rawResult:e,source:"",summary:e.body,type:"Post",updatedDate:new Date(e.updatedAt),updatedDateSource:"post.updatedAt"}}var De;(function(e){e.PENDING="pending",e.APPROVED="approved",e.REJECTED="rejected",e.DELETED="deleted",e.HIDDEN="hidden",e.BLOCKED="blocked"})(De||(De={}));var ye;(function(e){e.Text="text",e.Announcement="announcement",e.Poll="poll",e.Question="question"})(ye||(ye={}));function Sn(e){let[t,n,s,a]=e.split(",").map(d=>parseFloat(d.trim())),r=Math.min(t,s),i=Math.min(n,a),o=Math.max(t,s),u=Math.max(n,a);return{type:"Polygon",coordinates:[[[r,i],[o,i],[o,u],[r,u],[r,i]]]}}function Dn(e){var t,n,s,a,r,i,o,u,d,m,O,p,h,D;let l=we(e),g={};if(!((t=l.access)===null||t===void 0)&&t.length&&(g.access=P(l.access,Fe)),!((n=l.bbox)===null||n===void 0)&&n.length){let _=Sn(l.bbox[0]);g.geometry=_}return!((s=l.term)===null||s===void 0)&&s.length?g.term=l.term[0]:(!((a=l.title)===null||a===void 0)&&a.length&&(g.title=l.title[0]),!((r=l.body)===null||r===void 0)&&r.length&&(g.body=l.body[0])),!((i=l.channel)===null||i===void 0)&&i.length&&(g.channels=l.channel),!((o=l.owner)===null||o===void 0)&&o.length&&(g.creator=l.owner[0]),!((u=l.discussion)===null||u===void 0)&&u.length&&(g.discussion=l.discussion[0]),!((d=l.editor)===null||d===void 0)&&d.length&&(g.editor=l.editor[0]),!((m=l.status)===null||m===void 0)&&m.length&&(g.status=P(l.status,De)),Array.isArray(l.parentId)&&(g.parents=l.parentId),!((O=l.groups)===null||O===void 0)&&O.length&&(g.groups=l.groups),!((p=l.postType)===null||p===void 0)&&p.length&&(g.postType=Dt(l.postType[0],ye)),!((h=l.created)===null||h===void 0)&&h.length&&(g.createdBefore=new Date(l.created[0].to),g.createdAfter=new Date(l.created[0].from)),!((D=l.modified)===null||D===void 0)&&D.length&&(g.updatedBefore=new Date(l.modified[0].to),g.updatedAfter=new Date(l.modified[0].from)),g}var S;(function(e){e.BODY="body",e.CHANNEL_ID="channelId",e.CREATED_AT="createdAt",e.CREATOR="creator",e.DISCUSSION="discussion",e.EDITOR="editor",e.ID="id",e.PARENT_ID="parentId",e.STATUS="status",e.TITLE="title",e.UPDATED_AT="updatedAt"})(S||(S={}));var yn={body:S.BODY,channelId:S.CHANNEL_ID,created:S.CREATED_AT,modified:S.UPDATED_AT,owner:S.CREATOR,discussion:S.DISCUSSION,editor:S.EDITOR,id:S.ID,parentId:S.PARENT_ID,status:S.STATUS,title:S.TITLE},dt={desc:C.DESC,asc:C.ASC};function An(e){let t={};e.num>0&&(t.num=e.num),e.start>1&&(t.start=e.start),e.sortOrder&&dt[e.sortOrder]&&(t.sortOrder=dt[e.sortOrder]);let n=yn[e.sortField];return n&&(t.sortBy=n),t}var T;(function(e){e.REPLIES="replies",e.REPLY_COUNT="replyCount",e.REACTIONS="reactions",e.PARENT="parent",e.CHANNEL="channel",e.CHANNEL_ACL="channelAcl"})(T||(T={}));var En={channel:T.CHANNEL,channelAcl:T.CHANNEL_ACL,parent:T.PARENT,reactions:T.REACTIONS,replies:T.REPLIES,replyCount:T.REPLY_COUNT};function Tn(e=[]){let t=[];for(let n of e){let s=En[n];s&&!t.includes(s)&&t.push(s)}return t}var Ie=e=>e.channel?Object.assign(Object.assign({},e),{channelId:e.channel.id}):e,Tt=e=>Object.assign(Object.assign({},e),{items:e.items.map(t=>Ie(t))});function ys(e){return b("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign({},e.data),httpMethod:"POST"})).then(Tt)}function As(e){return b("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{f:q.CSV}),httpMethod:"POST"}))}function Es(e){return b("/posts",Object.assign({httpMethod:"POST"},je(e)))}function Ts(e){let t=`/posts/${e.postId}/reply`;return b(t,Object.assign({httpMethod:"POST"},je(e)))}function ws(e){let t=`/posts/${e.postId}`;return e.httpMethod="GET",b(t,e).then(Ie)}function Is(e){let t=`/posts/${e.postId}`;return e.httpMethod="DELETE",b(t,e)}function js(e){let t=`/posts/${e.postId}`;return b(t,Object.assign({httpMethod:"PATCH"},je(e)))}function Rs(e){let t=`/posts/${e.postId}/status`;return e.httpMethod="PATCH",b(t,e)}function je(e){let{mentionUrl:t}=e,n=V(e,["mentionUrl"]);return t&&(n.headers=Object.assign(Object.assign({},n.headers),{"mention-url":t})),n}function wn(e){return v("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign({},e.data),httpMethod:"POST"})).then(Tt)}function Ps(e){return v("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{f:q.CSV}),httpMethod:"POST"}))}function Cs(e){return v("/posts",Object.assign({httpMethod:"POST"},Re(e)))}function _s(e){let t=`/posts/${e.postId}/reply`;return v(t,Object.assign({httpMethod:"POST"},Re(e)))}function Us(e){let t=`/posts/${e.postId}`;return e.httpMethod="GET",v(t,e).then(Ie)}function Ns(e){let t=`/posts/${e.postId}`;return e.httpMethod="DELETE",v(t,e)}function xs(e){let t=`/posts/${e.postId}`;return v(t,Object.assign({httpMethod:"PATCH"},Re(e)))}function Ms(e){let t=`/posts/${e.postId}/status`;return e.httpMethod="PATCH",v(t,e)}function Re(e){let{mentionUrl:t}=e,n=V(e,["mentionUrl"]);return t&&(n.headers=Object.assign(Object.assign({},n.headers),{"mention-url":t})),n}async function wt(e,t){let n=Dn(e.filters),s=An(t),a=Tn(t.include),r=Object.assign(Object.assign(Object.assign({},n),s),{relations:a}),{items:i,nextStart:o,total:u}=await wn(Object.assign(Object.assign({},t.requestOptions),{token:t.requestOptions.hubApiKey,data:r})),d=await Promise.all(i.map(O=>vn(O))),m=o>-1;return{total:u,results:d,hasNext:m,next:()=>{if(!m)throw new Error("No more hub posts for the given query and options");return wt(e,Object.assign(Object.assign({},t),{start:o}))}}}async function $s(e,t){if(!e)throw new A("hubSearch","Query is required.");if(!Array.isArray(e.filters))throw new A("hubSearch","Query must have a filters array.");if(!e.filters.length)throw new A("hubSearch","Query must contain at least one Filter.");if(!t.requestOptions)throw new A("hubSearch","requestOptions: IHubRequestOptions is required.");t.include||(t.include=[]);let n=e.targetEntity,{requestOptions:s}=t,a=V(t,["requestOptions"]),r=L(a);r.requestOptions=s,r.api=Nt(n,r);let o=E({portal:{item:Ke,group:Jt,user:Zt,portalUser:Xt,communityUser:en,groupMember:Ft,organization:bn},hub:{item:ct,channel:St,discussionPost:ct,event:yt,eventAttendee:At,post:wt}},`${r.api}.${n}`);if(!o)throw new A("hubSearch",`Search via "${n}" filter against "${r.api}" api is not implemented. Please ensure "targetEntity" is defined on the query.`);return o(L(e),r)}export{q as a,b,v as c,Rt as d,Pt as e,xt as f,ge as g,mt as h,pt as i,ss as j,Yt as k,Oe as l,ve as m,I as n,C as o,rs as p,un as q,as as r,is as s,os as t,cs as u,us as v,ls as w,ds as x,hs as y,fs as z,ms as A,ps as B,gs as C,Os as D,bs as E,vs as F,Ss as G,gn as H,Ds as I,On as J,Et as K,De as L,ye as M,S as N,T as O,ys as P,As as Q,Es as R,Ts as S,ws as T,Is as U,js as V,Rs as W,wn as X,Ps as Y,Cs as Z,_s as _,Us as $,Ns as aa,xs as ba,Ms as ca,$s as da};
|
package/dist/cdn/LQL5OYLQ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import h from"./MJPXSF3W.js";import g from"./XCWD7I4I.js";import f from"./2HSHPWIJ.js";import e from"./DSZMLZGT.js";import d from"./FW2CD3QD.js";import c from"./2AWHCF6R.js";import b from"./ZEDPULXZ.js";import a from"./F2RHBSL4.js";import"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./HXFWIAC7.js";import"./PV6LPOSO.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Ba:a,Ma:w,ca:v,h:I,ha:_},{$:o,Q:m,o:n},,,,{a:h,b:f,c:S},{b:d,d:c,f:y,h:g,j:p},{a:u,b:b}])=>{var l=class extends S{constructor(){super(...arguments),this._chartType=I.RadarSeries}async setup(i){await this.loadConfigFromLayer(i),this.commonStrings=await n(),i.config!==void 0&&this.updateSeriesFromLayerFilter(),await this.initDefaultSeries(),this.resolveSetup()}async generateDefaultConfig(){let i=await w();return i.series=[await a({objectIDField:this.layerInfo?.objectIdField})],i}async initDefaultSeries(){this.defaultSeries=await a({objectIDField:this.layerInfo?.objectIdField})}resetSeriesStyling(){let i=this.getSeriesLength();for(let e=0;e<i;e+=1){let r=_({colorIndex:e,opacity:v});if(f(r,e,this._config),y(r,e,this._config),this.layerInfo!==void 0){let t=this.getSeriesId(e),s=o({config:this._config,seriesIndex:e,layerInfo:this.layerInfo,commonStrings:this.commonStrings});s!==this.layerInfo.objectIdField&&h(s??t,e,this._config)}d(this.defaultSeries?.lineSymbol?.style,e,this._config),c(this.defaultSeries?.lineSymbol?.width,e,this._config),g(this.defaultSeries?.markerSymbol?.style,e,this._config),p(this.defaultSeries?.markerSymbol?.size,e,this._config)}this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let i=!this.getColorMatch(),e=!1;if(!i){let r=this.getSeriesLength();for(let t=0;t<r;t+=1){if(this.layerInfo!==void 0){let s=o({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),k=this.getSeriesName(t);s!==void 0&&s!==this.layerInfo.objectIdField&&s!==k&&(e=!0)}if(this.defaultSeries?.lineSymbol?.style!==void 0&&this.defaultSeries?.lineSymbol.style!==this.getSeriesLineStyle(t)||this.defaultSeries?.lineSymbol?.width!==void 0&&this.defaultSeries?.lineSymbol.width!==this.getSeriesLineWidth(t)||this.defaultSeries?.markerSymbol?.style!==void 0&&this.defaultSeries?.markerSymbol?.style!==this.getSeriesMarkerStyle(t)||this.defaultSeries?.markerSymbol?.size!==void 0&&this.defaultSeries?.markerSymbol?.size!==this.getSeriesMarkerSize(t)){e=!0;break}}}return i||e}};m(l,[b,u]);return l},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","applications/Components/reactiveUtils",a,b,c,d,e,f,g,h)
|
package/dist/cdn/LRZK2IYB.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import{a as f}from"./4MJGM6LA.js";import d from"./E42PIMI5.js";import"./3XCJTU4L.js";import c from"./BOFP5IER.js";import"./URPCL22O.js";import"./4YIKCTEG.js";import{a as b,b as Q,c as X,d as x}from"./BHTSAAXP.js";import{a as F}from"./7URDPP56.js";import{a as H}from"./ITCEGBHK.js";import"./GJ3HZBIL.js";import"./OSDOT5PC.js";import"./WSOAAIEP.js";import"./SZJERPJ3.js";import"./6SQLNTI5.js";import"./NXZNWVK7.js";import a from"./I54DIYWB.js";import"./AODVXTIT.js";import"./WHZRSVJT.js";import"./646IF44F.js";import"./KDN3DAEV.js";import{N as K,O as A,X as Y,o as q}from"./LPEJOUBP.js";import"./3TNKNDPV.js";import"./TJDVSNHI.js";import"./FUIW32FS.js";import"./WNYS42WC.js";import"./2KO66RWN.js";import"./7YZRJHWC.js";import"./G74TAGRG.js";import"./EHHPJOXQ.js";import"./UPKLFCOK.js";import"./3RDDL56K.js";import"./LAR2OLLL.js";import"./Q7KJVH7M.js";import"./XZWT3IP6.js";import"./ZDIB7VMF.js";import"./PMFO4R4Q.js";import"./FL4CJYY3.js";import"./AX3PP6N4.js";import"./OELTFMHK.js";import"./XHPAXE3T.js";import"./QU42GR3U.js";import"./BP3UKQRX.js";import"./E6C7DZQD.js";import"./NXITYY7A.js";import"./P6HUUZUX.js";import"./N7BHXE2T.js";import"./7BM6QJPU.js";import"./J4CG4H6A.js";import"./LZNQG5VA.js";import"./KYTSPWRL.js";import"./UPGAZR5O.js";import"./JI36MJKL.js";import"./FHF6IN4D.js";import"./YTA7ABGS.js";import"./W6JVZ5EY.js";import"./JRXXB632.js";import"./P2SLD4RE.js";import{f as O,g as W}from"./IFXO576V.js";import"./V3WVL7WS.js";import"./DDTL2QOC.js";import"./JVPTJAHO.js";import"./EWKQIUWH.js";import"./ZOBPX2CG.js";import"./ILHMALRK.js";import"./4FRKOUFZ.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import{c as ie,j as se}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./IX4M4WM2.js";import"./ZMMAEBVZ.js";import"./XJYZ7J4Y.js";import"./WR6LNBK4.js";import"./X3SU4SJN.js";import"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as M}from"./UBTOBJM4.js";import{a as P}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as w}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./ZNSSVZZQ.js";import{a as z}from"./UCWZ7JF2.js";import"./BIIGU5WC.js";import{a as T}from"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.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)
|
package/dist/cdn/LSU3XKJU.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.32/esri/copyright.txt for details.
|
|
3
|
-
v0.32.0 */
|
|
4
|
-
import{a as u}from"./VJ4YD7VD.js";import{a as g}from"./EUFMMA3H.js";import{h as p}from"./UPGAZR5O.js";import"./JI36MJKL.js";import"./FHF6IN4D.js";import"./YTA7ABGS.js";import"./IFXO576V.js";import"./V3WVL7WS.js";import"./DDTL2QOC.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import{c as b}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./ZMMAEBVZ.js";import"./XJYZ7J4Y.js";import{f as h,g as m,h as d}from"./X3SU4SJN.js";import{o as a}from"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as c}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as o}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as e,c as k,d as f,e as l,i as v}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";var U=({context:r,label:i,scale:s,user:t,slot:w,onClick:y})=>{if(!r)return;let{currentUser:C,session:n}=r;return t=t||C,e("calcite-navigation-user",{fullName:t?.fullName,label:i,onClick:y,scale:s,slot:w,style:{height:"100%"},thumbnail:t?.thumbnail&&p(n?.portal,t,n?.token),userId:t?.id,username:t?.username})},H=':host{display:flex;cursor:pointer}[slot="trigger"]{background-color:transparent;border:transparent;display:flex;cursor:pointer;align-items:center}',P=H,x=class{constructor(r){v(this,r),this.arcgisHubUserProfileSignout=l(this,"arcgisHubUserProfileSignout",7),this.hubTelemetry=l(this,"hubTelemetry",7),this.arcgisHubUserProfileLinkClick=l(this,"arcgisHubUserProfileLinkClick",7),this.handleDropdownClick=()=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.interaction.action.open.label.menu.details.user})},this.handleLinkClick=i=>{let s=i.target.href;this.arcgisHubUserProfileLinkClick.emit({clickEvent:i,href:s})},this.handleViewProfileClick=i=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.view.label.users.details.profile}),this.handleLinkClick(i)},this.handleViewOverviewClick=i=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.view.label.orgs.details.overview}),this.handleLinkClick(i)},this.handleWorkspaceHomeClick=i=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.view.label.users.details.workspace}),this.handleLinkClick(i)},this.handleAGOClick=()=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.external.label.arcGisOnline.details.myContent});let i=this.agoContentUrl;window.open(i,"_blank")},this.handleSignOut=()=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.interaction.action.authenticate.label.signout}),this.arcgisHubUserProfileSignout.emit()},this.variant="default"}get context(){return b()}async componentWillLoad(){this.intl=await c.loadIntlForComponent(this.element)}get profileUrl(){return h(this.context)}get overviewUrl(){return m(this.context)}get workspaceHomeUrl(){return d(this.context)}get agoContentUrl(){return g(this.context.portalUrl)}get useWorkspaceLink(){return a("hub:feature:workspace:user",this.context).access}renderUserProfileTrigger(){return this.variant==="minimal"?e("button",{"aria-label":this.intl.t("triggerAriaLabel"),onClick:this.handleDropdownClick,slot:"trigger"},e(u,{context:this.context})):e("div",{"aria-label":this.intl.t("triggerAriaLabel"),slot:"trigger"},e(U,{context:this.context,onClick:this.handleDropdownClick,slot:"user"}))}renderMenu(){return e("calcite-dropdown",null,this.renderUserProfileTrigger(),e("calcite-dropdown-group",{selectionMode:"none"},e("calcite-dropdown-item",{href:this.profileUrl,onClick:this.handleViewProfileClick},this.intl.t("viewProfile")),this.useWorkspaceLink?e("calcite-dropdown-item",{href:this.workspaceHomeUrl,onClick:this.handleWorkspaceHomeClick},this.intl.t("viewWorkspace")):e("calcite-dropdown-item",{href:this.overviewUrl,onClick:this.handleViewOverviewClick},this.intl.t("viewOverview")),e("slot",null),e("calcite-dropdown-item",{iconEnd:"launch",onClick:this.handleAGOClick},this.context.isPortal?this.intl.t("openEnterprise"):this.intl.t("openAGO")),e("calcite-dropdown-item",{onClick:this.handleSignOut},this.intl.t("signOut"))))}render(){var r;return e(k,{key:"708654f6079bfe3eee109feee2179498f3e08255","data-element":"user-profile"},((r=this.context)===null||r===void 0?void 0:r.isAuthenticated)&&this.renderMenu())}static get assetsDirs(){return["locales"]}get element(){return f(this)}};x.style=P;export{x as arcgis_hub_user_profile};
|