@esri/hub-web-components 0.16.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/25GZJ35S.js +4 -0
- package/dist/cdn/26E7CRX5.js +4 -0
- package/dist/cdn/27TH25Z7.js +4 -0
- package/dist/cdn/2BWSSRB4.js +4 -0
- package/dist/cdn/2CKGOJC7.js +4 -0
- package/dist/cdn/2IWJCHPW.js +4 -0
- package/dist/cdn/2NNAA2QV.js +4 -0
- package/dist/cdn/2R243H5K.js +4 -0
- package/dist/cdn/2TLHCNTF.js +4 -0
- package/dist/cdn/2UUTTTDF.js +4 -0
- package/dist/cdn/2VQ76URL.js +4 -0
- package/dist/cdn/2YJ4GKRK.js +4 -0
- package/dist/cdn/2ZNZM6DW.js +4 -0
- package/dist/cdn/2ZXJNCQF.js +4 -0
- package/dist/cdn/36I2FKQT.js +4 -0
- package/dist/cdn/3ADDFNVN.js +4 -0
- package/dist/cdn/3BAPJYYO.js +4 -0
- package/dist/cdn/3FQQNFHT.js +4 -0
- package/dist/cdn/3GDU4SQA.js +4 -0
- package/dist/cdn/3LOGMW66.js +4 -0
- package/dist/cdn/3O74A7LO.js +4 -0
- package/dist/cdn/3OQ4PSYN.js +4 -0
- package/dist/cdn/3PGXAYTG.js +4 -0
- package/dist/cdn/3PZCQRXR.js +25 -0
- package/dist/cdn/3SCXKR5E.js +4 -0
- package/dist/cdn/3SQ3ETVU.js +4 -0
- package/dist/cdn/3TVVYUN7.js +4 -0
- package/dist/cdn/3XEJ6WZC.js +4 -0
- package/dist/cdn/3Y23DGKT.js +4 -0
- package/dist/cdn/3YHBU653.js +4 -0
- package/dist/cdn/424WH5VI.js +4 -0
- package/dist/cdn/42POGEUY.js +4 -0
- package/dist/cdn/42UKYVTV.js +4 -0
- package/dist/cdn/437KAQU5.js +4 -0
- package/dist/cdn/456YNAAD.js +4 -0
- package/dist/cdn/45MTB2HL.js +4 -0
- package/dist/cdn/45SVWDFF.js +4 -0
- package/dist/cdn/4AT4VGOV.js +4 -0
- package/dist/cdn/4DMYZNEX.js +4 -0
- package/dist/cdn/4EBK37AR.js +4 -0
- package/dist/cdn/4EQNVR5K.js +52 -0
- package/dist/cdn/4FQXDOFU.js +4 -0
- package/dist/cdn/4FXHIX37.js +4 -0
- package/dist/cdn/4FYCYMNN.js +4 -0
- package/dist/cdn/4HKTGVC4.js +4 -0
- package/dist/cdn/4I6QI6FP.js +4 -0
- package/dist/cdn/4IENVMQP.js +4 -0
- package/dist/cdn/4IO65JDG.js +4 -0
- package/dist/cdn/4J7ZYMNY.js +4 -0
- package/dist/cdn/4LNLNT25.js +4 -0
- package/dist/cdn/4MXN2NAV.js +4 -0
- package/dist/cdn/4QKD6HND.js +4 -0
- package/dist/cdn/4S7ZSXAW.js +4 -0
- package/dist/cdn/4SWMNWCX.js +4 -0
- package/dist/cdn/4UWUU35L.js +4 -0
- package/dist/cdn/4WQ7YVVE.js +4 -0
- package/dist/cdn/4XOIDGQW.js +4 -0
- package/dist/cdn/4Z4DIUKK.js +4 -0
- package/dist/cdn/52EAA37U.js +4 -0
- package/dist/cdn/53KUZZXW.js +4 -0
- package/dist/cdn/5CHJA46F.js +4 -0
- package/dist/cdn/5E67YYYO.js +4 -0
- package/dist/cdn/5EQ5PKVN.js +4 -0
- package/dist/cdn/5HHI56NM.js +4 -0
- package/dist/cdn/5IG7C36W.js +4 -0
- package/dist/cdn/5KUPKDSE.js +4 -0
- package/dist/cdn/5L2PODXT.js +4 -0
- package/dist/cdn/5LNYSV7R.js +4 -0
- package/dist/cdn/5M4W7VCQ.js +4 -0
- package/dist/cdn/5MKHD6YA.js +4 -0
- package/dist/cdn/5PDBJSNY.js +4 -0
- package/dist/cdn/5PT6OE4Q.js +4 -0
- package/dist/cdn/5RVPBHAB.js +4 -0
- package/dist/cdn/5SX6KLHN.js +4 -0
- package/dist/cdn/5SXQEIQD.js +4 -0
- package/dist/cdn/5TQ5TK35.js +4 -0
- package/dist/cdn/5UUTBZ2U.js +4 -0
- package/dist/cdn/5V2V5PBO.js +4 -0
- package/dist/cdn/5VID5GYV.js +4 -0
- package/dist/cdn/5W3ZX45W.js +4 -0
- package/dist/cdn/64B3T673.js +4 -0
- package/dist/cdn/64F6PGCX.js +4 -0
- package/dist/cdn/64IH5T63.js +4 -0
- package/dist/cdn/65GZGQWP.js +4 -0
- package/dist/cdn/65XLZDR3.js +4 -0
- package/dist/cdn/66WCJ7IE.js +4 -0
- package/dist/cdn/6A6S42JZ.js +4 -0
- package/dist/cdn/6BCAPTM4.js +4 -0
- package/dist/cdn/6CA3XT46.js +4 -0
- package/dist/cdn/6EHFVHC6.js +4 -0
- package/dist/cdn/6GMOH6WL.js +4 -0
- package/dist/cdn/6HCR2OHJ.js +4 -0
- package/dist/cdn/6HHX27UF.js +4 -0
- package/dist/cdn/6INEDRGJ.js +5 -0
- package/dist/cdn/6MRKIMZZ.js +4 -0
- package/dist/cdn/6NCQDZHS.js +4 -0
- package/dist/cdn/6TWTSD4G.js +4 -0
- package/dist/cdn/6U7E3KAG.js +4 -0
- package/dist/cdn/6VNVCS7M.js +4 -0
- package/dist/cdn/6X2AHRD3.js +4 -0
- package/dist/cdn/6YEN4DN7.js +4 -0
- package/dist/cdn/72R6WIEL.js +5 -0
- package/dist/cdn/742MFW5L.js +4 -0
- package/dist/cdn/74BEU2ZP.js +4 -0
- package/dist/cdn/75HYZECA.js +4 -0
- package/dist/cdn/76S52VNU.js +4 -0
- package/dist/cdn/76YTOUGA.js +4 -0
- package/dist/cdn/7AZLMQAO.js +4 -0
- package/dist/cdn/7BLSKHJQ.js +4 -0
- package/dist/cdn/7BY6SOH5.js +4 -0
- package/dist/cdn/7D4E5PZW.js +4 -0
- package/dist/cdn/7FUJGCRU.js +4 -0
- package/dist/cdn/7GBZNXSF.js +4 -0
- package/dist/cdn/7HNJDWAI.js +4 -0
- package/dist/cdn/7IYO4DRP.js +4 -0
- package/dist/cdn/7KEQ4U6L.js +4 -0
- package/dist/cdn/7KNRJEUR.js +5 -0
- package/dist/cdn/7L5TYB6F.js +4 -0
- package/dist/cdn/7LFAMVTA.js +4 -0
- package/dist/cdn/7O5OMO5M.js +4 -0
- package/dist/cdn/7P3BQXTX.js +4 -0
- package/dist/cdn/7U45X552.js +4 -0
- package/dist/cdn/7V2XOZXO.js +4 -0
- package/dist/cdn/7VA273UU.js +4 -0
- package/dist/cdn/7X4V2O3R.js +4 -0
- package/dist/cdn/7YNRCMSL.js +4 -0
- package/dist/cdn/7ZWP4I4G.js +4 -0
- package/dist/cdn/A354WYBS.js +4 -0
- package/dist/cdn/A4CKNLSG.js +4 -0
- package/dist/cdn/A5LNHXJZ.js +4 -0
- package/dist/cdn/AAOSIIHS.js +4 -0
- package/dist/cdn/ACETULKB.js +4 -0
- package/dist/cdn/ACUEIXXF.js +4 -0
- package/dist/cdn/AFAKQV25.js +4 -0
- package/dist/cdn/AG4ECUV2.js +4 -0
- package/dist/cdn/AGEBNAN2.js +4 -0
- package/dist/cdn/AHKZIIDG.js +4 -0
- package/dist/cdn/AIQZKB5N.js +4 -0
- package/dist/cdn/AITQBCN2.js +4 -0
- package/dist/cdn/AJUOFKOQ.js +4 -0
- package/dist/cdn/ALZCH4YX.js +4 -0
- package/dist/cdn/AMEAHUVE.js +4 -0
- package/dist/cdn/AMQI7D7M.js +4 -0
- package/dist/cdn/AMTXUYV3.js +6 -0
- package/dist/cdn/ANWK3QDE.js +4 -0
- package/dist/cdn/AQSE7MJU.js +4 -0
- package/dist/cdn/ASGFF3GV.js +4 -0
- package/dist/cdn/ASR3BV3A.js +4 -0
- package/dist/cdn/ASVMCDKR.js +4 -0
- package/dist/cdn/AT3NQXBG.js +4 -0
- package/dist/cdn/AUCTAMQG.js +4 -0
- package/dist/cdn/AUFXLO7F.js +4 -0
- package/dist/cdn/AV3APYTE.js +4 -0
- package/dist/cdn/AWPPUGBG.js +4 -0
- package/dist/cdn/AXXRBLXN.js +4 -0
- package/dist/cdn/AYVSAXZW.js +4 -0
- package/dist/cdn/B2576TFR.js +4 -0
- package/dist/cdn/B5DGZ74V.js +4 -0
- package/dist/cdn/B5DVNZWJ.js +4 -0
- package/dist/cdn/B5NRJW3Z.js +4 -0
- package/dist/cdn/B7PRREKF.js +4 -0
- package/dist/cdn/BDPUC3MA.js +4 -0
- package/dist/cdn/BFIPAC4I.js +4 -0
- package/dist/cdn/BGMW7MRX.js +4 -0
- package/dist/cdn/BI3QNJCZ.js +4 -0
- package/dist/cdn/BJCMA6SZ.js +4 -0
- package/dist/cdn/BKZWGTIM.js +4 -0
- package/dist/cdn/BL3GQXKS.js +4 -0
- package/dist/cdn/BM2OKETH.js +4 -0
- package/dist/cdn/BNZBME5A.js +4 -0
- package/dist/cdn/BO5GPB5U.js +4 -0
- package/dist/cdn/BPQLY247.js +4 -0
- package/dist/cdn/BQWSCEUJ.js +4 -0
- package/dist/cdn/BS2VXPR4.js +4 -0
- package/dist/cdn/BT4KFGFI.js +4 -0
- package/dist/cdn/BT6XFMCF.js +4 -0
- package/dist/cdn/BTQF2LU2.js +4 -0
- package/dist/cdn/BV6MYUUA.js +4 -0
- package/dist/cdn/BVBTGQ2V.js +4 -0
- package/dist/cdn/BVK43M7A.js +4 -0
- package/dist/cdn/BWB7LL3C.js +4 -0
- package/dist/cdn/BWT73WOK.js +4 -0
- package/dist/cdn/BYCJ7EN6.js +4 -0
- package/dist/cdn/C4P3S6BG.js +4 -0
- package/dist/cdn/C7BYUUC3.js +4 -0
- package/dist/cdn/CBNZSQYM.js +4 -0
- package/dist/cdn/CCXRPN2J.js +4 -0
- package/dist/cdn/CDB2GOA6.js +4 -0
- package/dist/cdn/CEUZGMUB.js +4 -0
- package/dist/cdn/CGGX767X.js +4 -0
- package/dist/cdn/CGUS2J4N.js +4 -0
- package/dist/cdn/CJA3BHSR.js +4 -0
- package/dist/cdn/CJKIL3CL.js +4 -0
- package/dist/cdn/CLOVESUF.js +4 -0
- package/dist/cdn/COJMPJSQ.js +4 -0
- package/dist/cdn/CSB5R22P.js +4 -0
- package/dist/cdn/CT22EXNT.js +4 -0
- package/dist/cdn/CTFSREYS.js +4 -0
- package/dist/cdn/CVIG4M5F.js +4 -0
- package/dist/cdn/CVPEFHE7.js +4 -0
- package/dist/cdn/CX2MUGTB.js +4 -0
- package/dist/cdn/CX4VWOCZ.js +4 -0
- package/dist/cdn/D25JFC2W.js +4 -0
- package/dist/cdn/D4B42TUJ.js +5 -0
- package/dist/cdn/D4KEOID2.js +4 -0
- package/dist/cdn/D6FJEJJU.js +41 -0
- package/dist/cdn/D7BTD44I.js +4 -0
- package/dist/cdn/D7H6TG7P.js +4 -0
- package/dist/cdn/D7IUYFE5.js +4 -0
- package/dist/cdn/DCK22ESG.js +4 -0
- package/dist/cdn/DEBZ6DET.js +4 -0
- package/dist/cdn/DGZDXURJ.js +4 -0
- package/dist/cdn/DIKFJATW.js +4 -0
- package/dist/cdn/DJQUVFJ6.js +4 -0
- package/dist/cdn/DJT6CFW3.js +4 -0
- package/dist/cdn/DLAKIX76.js +4 -0
- package/dist/cdn/DLD4ZINS.js +4 -0
- package/dist/cdn/DLHNZCXR.js +4 -0
- package/dist/cdn/DLOCL72H.js +4 -0
- package/dist/cdn/DNVEQBUQ.js +4 -0
- package/dist/cdn/DO4TE3R6.js +4 -0
- package/dist/cdn/DPCLHMKD.js +4 -0
- package/dist/cdn/DR6XSXPO.js +59 -0
- package/dist/cdn/DRUEA4UA.js +4 -0
- package/dist/cdn/DTKZTEXP.js +4 -0
- package/dist/cdn/DUHVGQ7U.js +4 -0
- package/dist/cdn/DVD7OTTE.js +4 -0
- package/dist/cdn/E4XR4BMX.js +4 -0
- package/dist/cdn/E6OQEVIU.js +9 -0
- package/dist/cdn/E732RDCY.js +4 -0
- package/dist/cdn/EAFQTRSW.js +4 -0
- package/dist/cdn/EDQMH7DB.js +4 -0
- package/dist/cdn/EED4RXNZ.js +4 -0
- package/dist/cdn/EEJXFO5I.js +4 -0
- package/dist/cdn/EGIGRI5Y.js +12 -0
- package/dist/cdn/EH4XSZYH.js +4 -0
- package/dist/cdn/EIVX2I4K.js +4 -0
- package/dist/cdn/EL5QSYKT.js +4 -0
- package/dist/cdn/ELKKXB4I.js +4 -0
- package/dist/cdn/EN2S6XTM.js +4 -0
- package/dist/cdn/EQLLO6JX.js +4 -0
- package/dist/cdn/ESDQ56BI.js +16 -0
- package/dist/cdn/ETLJNPV6.js +4 -0
- package/dist/cdn/ETQAM5SK.js +4 -0
- package/dist/cdn/EU6TVZQN.js +4 -0
- package/dist/cdn/EUWEE35Q.js +4 -0
- package/dist/cdn/EV6HOQMP.js +4 -0
- package/dist/cdn/EYAIJPTC.js +4 -0
- package/dist/cdn/F2KQKVU2.js +4 -0
- package/dist/cdn/F6YFVBBM.js +4 -0
- package/dist/cdn/FAAKYWFZ.js +4 -0
- package/dist/cdn/FDCQLL3G.js +4 -0
- package/dist/cdn/FGIZUXZS.js +4 -0
- package/dist/cdn/FGYGHUU3.js +4 -0
- package/dist/cdn/FI4YWVLS.js +4 -0
- package/dist/cdn/FM2MH3Z7.js +4 -0
- package/dist/cdn/FPZGIC5G.js +4 -0
- package/dist/cdn/FRIAKRTE.js +51 -0
- package/dist/cdn/FS5W5YIY.js +4 -0
- package/dist/cdn/FT5CT7LH.js +4 -0
- package/dist/cdn/FV4WYNYR.js +4 -0
- package/dist/cdn/FYOV5FID.js +4 -0
- package/dist/cdn/G3SNXWKK.js +4 -0
- package/dist/cdn/G3SOTCDQ.js +59 -0
- package/dist/cdn/G54IWZXU.js +4 -0
- package/dist/cdn/G6F2RXL2.js +4 -0
- package/dist/cdn/G6YF4UOF.js +4 -0
- package/dist/cdn/G7CRKPK6.js +4 -0
- package/dist/cdn/GAO2WMS2.js +4 -0
- package/dist/cdn/GAUNTMTU.js +4 -0
- package/dist/cdn/GK2GPCGW.js +4 -0
- package/dist/cdn/GKFGZWDH.js +4 -0
- package/dist/cdn/GKKATQPI.js +5470 -0
- package/dist/cdn/GKO56UU2.js +4 -0
- package/dist/cdn/GMEVXVJT.js +4 -0
- package/dist/cdn/GNZ7RB7D.js +4 -0
- package/dist/cdn/GRLBH5K6.js +4 -0
- package/dist/cdn/GRNLRQTK.js +4 -0
- package/dist/cdn/GSH4ZMSB.js +4 -0
- package/dist/cdn/GTWTIG2V.js +4 -0
- package/dist/cdn/GUPVTDLA.js +4 -0
- package/dist/cdn/GWOCJV3Z.js +4 -0
- package/dist/cdn/GX76SO3V.js +4 -0
- package/dist/cdn/H326YL4W.js +4 -0
- package/dist/cdn/H767IQU6.js +4 -0
- package/dist/cdn/HDPZCDQ4.js +4 -0
- package/dist/cdn/HE3DPWLU.js +4 -0
- package/dist/cdn/HFZWB4KY.js +4 -0
- package/dist/cdn/HGDHJLIA.js +4 -0
- package/dist/cdn/HGKTB36S.js +4 -0
- package/dist/cdn/HGT5WDAA.js +4 -0
- package/dist/cdn/HGTBLQKQ.js +4 -0
- package/dist/cdn/HKBERHQS.js +4 -0
- package/dist/cdn/HRIUXEHW.js +4 -0
- package/dist/cdn/HULAKF2C.js +4 -0
- package/dist/cdn/HX43Z6AH.js +4 -0
- package/dist/cdn/HXL7R737.js +4 -0
- package/dist/cdn/HXPRQ42X.js +4 -0
- package/dist/cdn/HXWX5SYL.js +4 -0
- package/dist/cdn/HY4LOXSB.js +4 -0
- package/dist/cdn/HYR4OU7N.js +4 -0
- package/dist/cdn/HYWU54U4.js +4 -0
- package/dist/cdn/I2L3N5NY.js +4 -0
- package/dist/cdn/I3DO5JDU.js +4 -0
- package/dist/cdn/I4C2A7OJ.js +4 -0
- package/dist/cdn/I4YQYWJC.js +4 -0
- package/dist/cdn/I5ZGWWES.js +4 -0
- package/dist/cdn/IC2OM6VG.js +4 -0
- package/dist/cdn/ICO45DN7.js +4 -0
- package/dist/cdn/ICSQCZ3D.js +4 -0
- package/dist/cdn/IFXJX6MT.js +4 -0
- package/dist/cdn/IGSBPZXO.js +4 -0
- package/dist/cdn/IMQVD5PD.js +4 -0
- package/dist/cdn/IOR3CKIL.js +4 -0
- package/dist/cdn/IRKKT3W4.js +4 -0
- package/dist/cdn/ITOXIPL4.js +4 -0
- package/dist/cdn/IUDV75UH.js +4 -0
- package/dist/cdn/IXEI35V3.js +4 -0
- package/dist/cdn/IXOUBOCR.js +4 -0
- package/dist/cdn/IYYFCWCF.js +5 -0
- package/dist/cdn/IZTNFMJP.js +4 -0
- package/dist/cdn/J2DIXV7O.js +4 -0
- package/dist/cdn/J54GG3XK.js +4 -0
- package/dist/cdn/JBV3FXH5.js +4 -0
- package/dist/cdn/JDWWRJ5E.js +4 -0
- package/dist/cdn/JEO6UXDT.js +4 -0
- package/dist/cdn/JETIC22B.js +4 -0
- package/dist/cdn/JIEFQP6F.js +4 -0
- package/dist/cdn/JIUOYBWB.js +4 -0
- package/dist/cdn/JM2GTXUC.js +4 -0
- package/dist/cdn/JNHLSYA2.js +4 -0
- package/dist/cdn/JPHWS4SM.js +4 -0
- package/dist/cdn/JR22WAND.js +4 -0
- package/dist/cdn/JRL75V64.js +4 -0
- package/dist/cdn/JVBRXESK.js +4 -0
- package/dist/cdn/JX5D3EZA.js +4 -0
- package/dist/cdn/JXTJKFKI.js +4 -0
- package/dist/cdn/JXWREVD4.js +4 -0
- package/dist/cdn/JYO6YGO5.js +4 -0
- package/dist/cdn/K34WFY5T.js +4 -0
- package/dist/cdn/K6PW6EP6.js +4 -0
- package/dist/cdn/K6QXRTKA.js +4 -0
- package/dist/cdn/KHMXWJ7D.js +4 -0
- package/dist/cdn/KIXPI6GD.js +4 -0
- package/dist/cdn/KLYQHTRE.js +4 -0
- package/dist/cdn/KMOMKKLH.js +4 -0
- package/dist/cdn/KTNNF7Z4.js +4 -0
- package/dist/cdn/KUHMOABE.js +4 -0
- package/dist/cdn/KUI4PCOY.js +4 -0
- package/dist/cdn/KUMVVSKC.js +4 -0
- package/dist/cdn/KWHMDOEM.js +4 -0
- package/dist/cdn/KX4QHZRO.js +4 -0
- package/dist/cdn/L6EN63C6.js +4 -0
- package/dist/cdn/L7KUYXRO.js +4 -0
- package/dist/cdn/LFMVMXBO.js +4 -0
- package/dist/cdn/LGFYKVAR.js +4 -0
- package/dist/cdn/LHOWM23Y.js +4 -0
- package/dist/cdn/LKLZE63R.js +4 -0
- package/dist/cdn/LL433B4K.js +4 -0
- package/dist/cdn/LLS65WGY.js +4 -0
- package/dist/cdn/LMKUXN6D.js +4 -0
- package/dist/cdn/LMKUZWQB.js +4 -0
- package/dist/cdn/LNKXT4L7.js +42 -0
- package/dist/cdn/LNMTE6AZ.js +4 -0
- package/dist/cdn/LOZ5GX3W.js +4 -0
- package/dist/cdn/LQUCDL75.js +4 -0
- package/dist/cdn/LRL2W5ZI.js +6 -0
- package/dist/cdn/LRXFLDQW.js +4 -0
- package/dist/cdn/LTFQMWPZ.js +4 -0
- package/dist/cdn/LUI64J2Y.js +4 -0
- package/dist/cdn/LV5XM7CN.js +4 -0
- package/dist/cdn/LW7I7NVT.js +4 -0
- package/dist/cdn/LWVQRWGL.js +4 -0
- package/dist/cdn/LXJK6UZ3.js +4 -0
- package/dist/cdn/LY3E47FG.js +4 -0
- package/dist/cdn/LYCQCP7X.js +4 -0
- package/dist/cdn/M56KBLO4.js +4 -0
- package/dist/cdn/MB2T74DY.js +4 -0
- package/dist/cdn/MELLL4FT.js +4 -0
- package/dist/cdn/MEZVVWGZ.js +4 -0
- package/dist/cdn/MFRDANTU.js +4 -0
- package/dist/cdn/MGUXRE5O.js +4 -0
- package/dist/cdn/MHEMLMKX.js +4 -0
- package/dist/cdn/MHJX66S5.js +4 -0
- package/dist/cdn/MIFKICLJ.js +4 -0
- package/dist/cdn/MJKTCX73.js +4 -0
- package/dist/cdn/MK3REZZO.js +4 -0
- package/dist/cdn/MLLCXIRI.js +4 -0
- package/dist/cdn/MLV4ZBAY.js +4 -0
- package/dist/cdn/MOGBTAVJ.js +4 -0
- package/dist/cdn/MRB6LVEZ.js +4 -0
- package/dist/cdn/MXSKKZXN.js +4 -0
- package/dist/cdn/N46CZEDC.js +4 -0
- package/dist/cdn/N5GZ5Q6L.js +4 -0
- package/dist/cdn/N6EUMNFK.js +4 -0
- package/dist/cdn/NBC524B4.js +4 -0
- package/dist/cdn/NCRPBWUW.js +4 -0
- package/dist/cdn/NCYDN5RP.js +4 -0
- package/dist/cdn/NGYD3IYC.js +4 -0
- package/dist/cdn/NHS3H2PE.js +4 -0
- package/dist/cdn/NIOGFUIE.js +4 -0
- package/dist/cdn/NJQM3VWV.js +4 -0
- package/dist/cdn/NLCGFO2T.js +4 -0
- package/dist/cdn/NMIMUEMT.js +4 -0
- package/dist/cdn/NNBNN7TZ.js +4 -0
- package/dist/cdn/NNSTFS74.js +4 -0
- package/dist/cdn/NOBQFPOH.js +12 -0
- package/dist/cdn/NOTJXNY2.js +4 -0
- package/dist/cdn/NP2IMA33.js +4 -0
- package/dist/cdn/NQGONDKB.js +4 -0
- package/dist/cdn/NRXQHCVY.js +4 -0
- package/dist/cdn/NS75KKN5.js +4 -0
- package/dist/cdn/NSJHBARJ.js +4 -0
- package/dist/cdn/NVPXMS4J.js +4 -0
- package/dist/cdn/NXE3KGIQ.js +4 -0
- package/dist/cdn/NYHKCGG4.js +4 -0
- package/dist/cdn/O2WK6KFK.js +4 -0
- package/dist/cdn/O5IKU6ZT.js +4 -0
- package/dist/cdn/O6OYSKNK.js +4 -0
- package/dist/cdn/O7PDTSPE.js +4 -0
- package/dist/cdn/O7TUI7BX.js +4 -0
- package/dist/cdn/OBJKKHP5.js +4 -0
- package/dist/cdn/OIAMODPR.js +4 -0
- package/dist/cdn/OJV4HZN4.js +4 -0
- package/dist/cdn/OKEWD2A5.js +4 -0
- package/dist/cdn/OKQIX2CQ.js +4 -0
- package/dist/cdn/OMC4MXCR.js +4 -0
- package/dist/cdn/OP7IPC2S.js +4 -0
- package/dist/cdn/OPOY4IB3.js +4 -0
- package/dist/cdn/OPUY3LH5.js +4 -0
- package/dist/cdn/OR7HHG32.js +4 -0
- package/dist/cdn/OTDCGWUX.js +4 -0
- package/dist/cdn/OUY46OEK.js +4 -0
- package/dist/cdn/OXUHPNLK.js +4 -0
- package/dist/cdn/OY7KPFQP.js +4 -0
- package/dist/cdn/OYL5JSCH.js +4 -0
- package/dist/cdn/OZPBR7XN.js +4 -0
- package/dist/cdn/P2HM7UVP.js +4 -0
- package/dist/cdn/P3ISIEIS.js +4 -0
- package/dist/cdn/P4HCD6VY.js +4 -0
- package/dist/cdn/PA4YFBX6.js +4 -0
- package/dist/cdn/PAM3ENEU.js +4 -0
- package/dist/cdn/PAT3YU63.js +5 -0
- package/dist/cdn/PBX7F7HF.js +4 -0
- package/dist/cdn/PCZWPKDO.js +24 -0
- package/dist/cdn/PFEOD27S.js +4 -0
- package/dist/cdn/PHBNEZEM.js +4 -0
- package/dist/cdn/PHZELTNA.js +4 -0
- package/dist/cdn/PK6MLE7Y.js +4 -0
- package/dist/cdn/PO4EMIQ7.js +4 -0
- package/dist/cdn/PPOS2FSX.js +4 -0
- package/dist/cdn/PPWWVJR2.js +4 -0
- package/dist/cdn/PQAL2QL3.js +4 -0
- package/dist/cdn/PVIZISJD.js +4 -0
- package/dist/cdn/PZEYRTHV.js +4 -0
- package/dist/cdn/Q23GBEBQ.js +4 -0
- package/dist/cdn/Q2IJ54HC.js +4 -0
- package/dist/cdn/Q35RGZOW.js +4 -0
- package/dist/cdn/Q4VIUMXT.js +4 -0
- package/dist/cdn/Q5MIQXLC.js +4 -0
- package/dist/cdn/Q5RLMJCT.js +4 -0
- package/dist/cdn/QABLJDJW.js +4 -0
- package/dist/cdn/QBTJAJPV.js +4 -0
- package/dist/cdn/QGUC6BJD.js +4 -0
- package/dist/cdn/QHTFCZM3.js +4 -0
- package/dist/cdn/QHWMQVIL.js +4 -0
- package/dist/cdn/QI7M33JY.js +4 -0
- package/dist/cdn/QIZIEJOY.js +4 -0
- package/dist/cdn/QK7PMJGN.js +4 -0
- package/dist/cdn/QLS47QER.js +4 -0
- package/dist/cdn/QLTAYNFW.js +4 -0
- package/dist/cdn/QMMTZWEG.js +6 -0
- package/dist/cdn/QOLK73DY.js +4 -0
- package/dist/cdn/QPTUQ4BO.js +4 -0
- package/dist/cdn/QRXHI7GN.js +4 -0
- package/dist/cdn/QUU3P6DR.js +4 -0
- package/dist/cdn/QV2WOXZI.js +4 -0
- package/dist/cdn/QVFDCXCG.js +4 -0
- package/dist/cdn/QWYU6QFD.js +4 -0
- package/dist/cdn/QXU4IREJ.js +4 -0
- package/dist/cdn/R34UHWAF.js +4 -0
- package/dist/cdn/RB3SBVHO.js +4 -0
- package/dist/cdn/RBRW3M7H.js +4 -0
- package/dist/cdn/RC7MJEOT.js +4 -0
- package/dist/cdn/RCA2X4VZ.js +4 -0
- package/dist/cdn/RCLFPTDS.js +4 -0
- package/dist/cdn/RGPP4LNC.js +4 -0
- package/dist/cdn/RJULKDWQ.js +4 -0
- package/dist/cdn/RKMT2NY6.js +4 -0
- package/dist/cdn/RLP74XJB.js +4 -0
- package/dist/cdn/RMMYTWRE.js +4 -0
- package/dist/cdn/RN3Q6CGQ.js +4 -0
- package/dist/cdn/RNGYPYGR.js +4 -0
- package/dist/cdn/RPM226XK.js +4 -0
- package/dist/cdn/RPMUKGNN.js +11 -0
- package/dist/cdn/RVCNFO7S.js +4 -0
- package/dist/cdn/RVXN5ZXY.js +4 -0
- package/dist/cdn/RWWMRT4Z.js +4 -0
- package/dist/cdn/RYC6NYEN.js +4 -0
- package/dist/cdn/S62Q7DUK.js +4 -0
- package/dist/cdn/SC7EGJR6.js +4 -0
- package/dist/cdn/SCW4GRVU.js +4 -0
- package/dist/cdn/SDL2E7ZI.js +4 -0
- package/dist/cdn/SEMUVE2X.js +4 -0
- package/dist/cdn/SHZ3BVOY.js +4 -0
- package/dist/cdn/SKA2LYNY.js +4 -0
- package/dist/cdn/SLMVXVZO.js +4 -0
- package/dist/cdn/SM43VVY6.js +4 -0
- package/dist/cdn/SMZ746NO.js +4 -0
- package/dist/cdn/SNWIXWRV.js +4 -0
- package/dist/cdn/SOWMYRGW.js +4 -0
- package/dist/cdn/SRBGZ6HH.js +4 -0
- package/dist/cdn/SRMOFYIU.js +4 -0
- package/dist/cdn/SSP7BZAI.js +4 -0
- package/dist/cdn/SSRJH6QT.js +4 -0
- package/dist/cdn/ST53KYQD.js +4 -0
- package/dist/cdn/STNNVAKO.js +4 -0
- package/dist/cdn/STRJFXBV.js +4 -0
- package/dist/cdn/SU3LBHNN.js +4 -0
- package/dist/cdn/SWXXLR3H.js +4 -0
- package/dist/cdn/SYJDBS5F.js +4 -0
- package/dist/cdn/SYRLPMNH.js +4 -0
- package/dist/cdn/SYTYGFNY.js +4 -0
- package/dist/cdn/T4LDL3YP.js +4 -0
- package/dist/cdn/T7AHBK7Z.js +4 -0
- package/dist/cdn/T7MML4RC.js +4 -0
- package/dist/cdn/TARMGQ4J.js +4 -0
- package/dist/cdn/TBKHG32E.js +4 -0
- package/dist/cdn/TDZRVYYG.js +4 -0
- package/dist/cdn/TGA5Q2FU.js +4 -0
- package/dist/cdn/TIYSO4IK.js +4 -0
- package/dist/cdn/TJU4E7NO.js +4 -0
- package/dist/cdn/TKP6QNRC.js +4 -0
- package/dist/cdn/TLON4EUT.js +4 -0
- package/dist/cdn/TMY6LYM2.js +4 -0
- package/dist/cdn/TNNTF4LQ.js +4 -0
- package/dist/cdn/TOBFWOYR.js +4 -0
- package/dist/cdn/TPTD7CG4.js +8 -0
- package/dist/cdn/TUFW4UQY.js +4 -0
- package/dist/cdn/TXSOPWNI.js +4 -0
- package/dist/cdn/TZXE4FOK.js +4 -0
- package/dist/cdn/U3CGYV3F.js +4 -0
- package/dist/cdn/U4S4OGNS.js +4 -0
- package/dist/cdn/U7MNVXFJ.js +4 -0
- package/dist/cdn/UB56SLSW.js +4 -0
- package/dist/cdn/UC34KAY2.js +4 -0
- package/dist/cdn/UC6JNYTF.js +4 -0
- package/dist/cdn/UD6BO5QZ.js +4 -0
- package/dist/cdn/UGIZBX5E.js +4 -0
- package/dist/cdn/UOEVILEC.js +4 -0
- package/dist/cdn/UPE4RV4L.js +4 -0
- package/dist/cdn/UPEFE65S.js +4 -0
- package/dist/cdn/UR4PCYHL.js +4 -0
- package/dist/cdn/UTDHDX2S.js +4 -0
- package/dist/cdn/UX6HA5NL.js +4 -0
- package/dist/cdn/V3YROYIC.js +4 -0
- package/dist/cdn/V734H7MZ.js +4 -0
- package/dist/cdn/VA2VDRN5.js +4 -0
- package/dist/cdn/VDB3GLUO.js +4 -0
- package/dist/cdn/VDX6LUVY.js +4 -0
- package/dist/cdn/VHJSQI3X.js +4 -0
- package/dist/cdn/VILQN6NG.js +4 -0
- package/dist/cdn/VNUQKIE4.js +4 -0
- package/dist/cdn/VOE5ZRNJ.js +4 -0
- package/dist/cdn/VQJ56NMQ.js +4 -0
- package/dist/cdn/VT6HJPRQ.js +4 -0
- package/dist/cdn/VU3APGQG.js +4 -0
- package/dist/cdn/VU5TSQEF.js +4 -0
- package/dist/cdn/VVCQDC4L.js +4 -0
- package/dist/cdn/VW6FKBLP.js +4 -0
- package/dist/cdn/VWWVVJ7U.js +4 -0
- package/dist/cdn/VYOP5OKV.js +4 -0
- package/dist/cdn/VYZXXFZJ.js +4 -0
- package/dist/cdn/W35BBHYZ.js +4 -0
- package/dist/cdn/W3ASUF5R.js +4 -0
- package/dist/cdn/W3PUSLMQ.js +4 -0
- package/dist/cdn/W5O5I53P.js +4 -0
- package/dist/cdn/W6GN2P62.js +4 -0
- package/dist/cdn/WCPONLZD.js +4 -0
- package/dist/cdn/WDCE6NBF.js +4 -0
- package/dist/cdn/WE2VL7CO.js +4 -0
- package/dist/cdn/WIBV7NBS.js +4 -0
- package/dist/cdn/WJQIS7XB.js +4 -0
- package/dist/cdn/WL73HGYZ.js +4 -0
- package/dist/cdn/WQ4XR5HT.js +4 -0
- package/dist/cdn/WQUOGVEU.js +4 -0
- package/dist/cdn/WRG2WRHG.js +4 -0
- package/dist/cdn/WTATXIYX.js +4 -0
- package/dist/cdn/WVA3KRAQ.js +4 -0
- package/dist/cdn/WWM6WLBG.js +4 -0
- package/dist/cdn/WXGGM77P.js +4 -0
- package/dist/cdn/WZNBFLEY.js +4 -0
- package/dist/cdn/WZTO4DQX.js +4 -0
- package/dist/cdn/WZXV4KD4.js +4 -0
- package/dist/cdn/X3M2SD2Q.js +4 -0
- package/dist/cdn/X3W2GSOP.js +4 -0
- package/dist/cdn/XBYUWGP5.js +4 -0
- package/dist/cdn/XCOYQH7B.js +4 -0
- package/dist/cdn/XFIAEZIR.js +4 -0
- package/dist/cdn/XHK2F3UZ.js +4 -0
- package/dist/cdn/XHNFGU6L.js +4 -0
- package/dist/cdn/XHQMOVTX.js +4 -0
- package/dist/cdn/XI3WYYSW.js +4 -0
- package/dist/cdn/XII75GF3.js +4 -0
- package/dist/cdn/XJUFRDR2.js +4 -0
- package/dist/cdn/XKPXFBGP.js +4 -0
- package/dist/cdn/XLG4GSKM.js +4 -0
- package/dist/cdn/XNV4W43J.js +4 -0
- package/dist/cdn/XOXSLEYO.js +4 -0
- package/dist/cdn/XQBM22E3.js +4 -0
- package/dist/cdn/XRJKXGGU.js +4 -0
- package/dist/cdn/XU6YFDIV.js +4 -0
- package/dist/cdn/Y2CP3E3V.js +4 -0
- package/dist/cdn/Y3EEB6JN.js +4 -0
- package/dist/cdn/Y3JB5D5X.js +4 -0
- package/dist/cdn/Y47HDWM3.js +4 -0
- package/dist/cdn/Y4Y4N2XZ.js +4 -0
- package/dist/cdn/Y5CYUQFB.js +4 -0
- package/dist/cdn/Y5GM62SP.js +4 -0
- package/dist/cdn/Y7HH7L7C.js +4 -0
- package/dist/cdn/YAMATHWW.js +4 -0
- package/dist/cdn/YBC2I4NR.js +4 -0
- package/dist/cdn/YBCVJR4E.js +4 -0
- package/dist/cdn/YBH7MUR4.js +4 -0
- package/dist/cdn/YC22JJXJ.js +4 -0
- package/dist/cdn/YCVJWU6P.js +4 -0
- package/dist/cdn/YH5SKA4D.js +4 -0
- package/dist/cdn/YISGA72L.js +4 -0
- package/dist/cdn/YK3AN55U.js +4 -0
- package/dist/cdn/YM6IMIFK.js +4 -0
- package/dist/cdn/YNRBICZO.js +4 -0
- package/dist/cdn/YOYUHPUG.js +4 -0
- package/dist/cdn/YSCGVHI4.js +4 -0
- package/dist/cdn/YTPVZ5BZ.js +4 -0
- package/dist/cdn/YTZPVZTH.js +4 -0
- package/dist/cdn/YVTHUU4Z.js +4 -0
- package/dist/cdn/Z2OD3XB2.js +4 -0
- package/dist/cdn/Z6T7CWS3.js +4 -0
- package/dist/cdn/Z75R666Q.js +4 -0
- package/dist/cdn/ZBF75RWW.js +4 -0
- package/dist/cdn/ZHTZZCZR.js +4 -0
- package/dist/cdn/ZHV7RCTO.js +4 -0
- package/dist/cdn/ZI77TTXD.js +4 -0
- package/dist/cdn/ZJ3N7WIM.js +4 -0
- package/dist/cdn/ZJ77LY4M.js +4 -0
- package/dist/cdn/ZKMVVHZA.js +4 -0
- package/dist/cdn/ZNELEZMF.js +4 -0
- package/dist/cdn/ZOIGT4Y4.js +4 -0
- package/dist/cdn/ZQL3GNB4.js +4 -0
- package/dist/cdn/ZTJQG44E.js +4 -0
- package/dist/cdn/ZU6ZAZ6E.js +4 -0
- package/dist/cdn/ZULCYX5V.js +4 -0
- package/dist/cdn/ZVLERB5Z.js +4 -0
- package/dist/cdn/ZZPAJMXC.js +4 -0
- package/dist/cdn/ZZSIF7BT.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/chat-action.js +1 -1
- 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/memoizeAsync.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/useT9n.js +1 -1
- package/dist/chunks/util.js +1 -1
- package/dist/components/arcgis-chat-shell/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +1 -1
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +1 -1
- package/dist/components/arcgis-layout/customElement.js +1 -1
- package/dist/components/arcgis-layout-column/customElement.js +1 -1
- package/dist/components/arcgis-layout-container/customElement.js +1 -1
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-controls/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-editor/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-highlight/customElement.js +1 -1
- package/dist/components/arcgis-layout-node-overlay/customElement.js +1 -1
- package/dist/components/arcgis-layout-row/customElement.js +1 -1
- package/dist/components/arcgis-layout-section/customElement.js +1 -1
- package/dist/components/arcgis-nav-card/customElement.js +1 -1
- package/dist/components/arcgis-text-card/customElement.js +1 -1
- package/dist/components/layouts/components/layout-node/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/embed-config.js +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -2
- package/dist/cdn/25A4IFJY.js +0 -4
- package/dist/cdn/25OC4X4U.js +0 -4
- package/dist/cdn/26OOXUUM.js +0 -4
- package/dist/cdn/2DAWZNDW.js +0 -4
- package/dist/cdn/2E26U43B.js +0 -4
- package/dist/cdn/2FV6ZOR6.js +0 -4
- package/dist/cdn/2FWHDWOT.js +0 -4
- package/dist/cdn/2JZ4MBCE.js +0 -8
- package/dist/cdn/2KEAKFSU.js +0 -4
- package/dist/cdn/2KFZ54EE.js +0 -4
- package/dist/cdn/2NYJAZA5.js +0 -4
- package/dist/cdn/2PKNDGHO.js +0 -4
- package/dist/cdn/2PNA7QBQ.js +0 -4
- package/dist/cdn/2RCEFHVM.js +0 -4
- package/dist/cdn/2RPZRS5Z.js +0 -4
- package/dist/cdn/2S2ZD4QD.js +0 -4
- package/dist/cdn/2W4PTDS2.js +0 -4
- package/dist/cdn/2Y3P4H77.js +0 -4
- package/dist/cdn/2Y5S3KDW.js +0 -4
- package/dist/cdn/2YIJQZBC.js +0 -4
- package/dist/cdn/2YU4OM6F.js +0 -4
- package/dist/cdn/334K7X64.js +0 -4
- package/dist/cdn/37NWBNDO.js +0 -4
- package/dist/cdn/3BAVTJIS.js +0 -4
- package/dist/cdn/3BNJQRAO.js +0 -4
- package/dist/cdn/3E6B7UNL.js +0 -4
- package/dist/cdn/3GEHFZKR.js +0 -4
- package/dist/cdn/3GTKACT7.js +0 -4
- package/dist/cdn/3HS2PUK3.js +0 -4
- package/dist/cdn/3HU47RZP.js +0 -4
- package/dist/cdn/3I2OD3ZT.js +0 -4
- package/dist/cdn/3IYXAOBH.js +0 -4
- package/dist/cdn/3LCFZXGI.js +0 -4
- package/dist/cdn/3LN4JD42.js +0 -4
- package/dist/cdn/3LWCZPBU.js +0 -4
- package/dist/cdn/3MDZ2N7E.js +0 -4
- package/dist/cdn/3MZDJEZX.js +0 -4
- package/dist/cdn/3MZVKMBM.js +0 -4
- package/dist/cdn/3NWZ7VQS.js +0 -4
- package/dist/cdn/3QVPWFCG.js +0 -4
- package/dist/cdn/3RMV23OM.js +0 -4
- package/dist/cdn/3W6BAVOA.js +0 -4
- package/dist/cdn/3XRSIZP7.js +0 -4
- package/dist/cdn/3YVKQPYF.js +0 -4
- package/dist/cdn/42762WPH.js +0 -4
- package/dist/cdn/42THVNAB.js +0 -4
- package/dist/cdn/44TYQZ3B.js +0 -4
- package/dist/cdn/45XEH7PN.js +0 -4
- package/dist/cdn/46YQCQ6F.js +0 -4
- package/dist/cdn/4AML3Q4X.js +0 -4
- package/dist/cdn/4AXY47YV.js +0 -4
- package/dist/cdn/4DBYJ275.js +0 -4
- package/dist/cdn/4DDWROYE.js +0 -4
- package/dist/cdn/4GPAU4II.js +0 -4
- package/dist/cdn/4HQXLLTP.js +0 -4
- package/dist/cdn/4JWZUX5Q.js +0 -4
- package/dist/cdn/4KDJ7GHI.js +0 -4
- package/dist/cdn/4R4HGIAA.js +0 -4
- package/dist/cdn/4ROPNJJQ.js +0 -4
- package/dist/cdn/4SIPQSNO.js +0 -4
- package/dist/cdn/4TM3UDKR.js +0 -4
- package/dist/cdn/4UP5MIYO.js +0 -4
- package/dist/cdn/4UV6AL2T.js +0 -4
- package/dist/cdn/4VTKTWJA.js +0 -4
- package/dist/cdn/4VZYAJOW.js +0 -4
- package/dist/cdn/4WFVE5QG.js +0 -4
- package/dist/cdn/4WPZDJB4.js +0 -4
- package/dist/cdn/4XUZ6NGU.js +0 -4
- package/dist/cdn/4YNWA5S7.js +0 -4
- package/dist/cdn/4Z7WIFDJ.js +0 -4
- package/dist/cdn/53N6S4MA.js +0 -4
- package/dist/cdn/546BIZLD.js +0 -4
- package/dist/cdn/5EJ2356D.js +0 -4
- package/dist/cdn/5F4XSMSW.js +0 -4
- package/dist/cdn/5GJU2KNR.js +0 -4
- package/dist/cdn/5HEXEW6D.js +0 -4
- package/dist/cdn/5K7FKNLA.js +0 -4
- package/dist/cdn/5KGBZA7J.js +0 -4
- package/dist/cdn/5NXH6IHS.js +0 -4
- package/dist/cdn/5OBT35HQ.js +0 -4
- package/dist/cdn/5OFCXQ27.js +0 -4
- package/dist/cdn/5QB5IDXA.js +0 -4
- package/dist/cdn/5QW5C3LB.js +0 -4
- package/dist/cdn/5TGVOLL4.js +0 -4
- package/dist/cdn/5U7FJQWE.js +0 -4
- package/dist/cdn/5W55HGST.js +0 -4
- package/dist/cdn/5WX2OFES.js +0 -5
- package/dist/cdn/5YIFAS3I.js +0 -4
- package/dist/cdn/5YKEOQUJ.js +0 -4
- package/dist/cdn/63XTVCXN.js +0 -4
- package/dist/cdn/64FPCO2T.js +0 -4
- package/dist/cdn/64JWNJSW.js +0 -4
- package/dist/cdn/676BPHVY.js +0 -4
- package/dist/cdn/67HXZJXQ.js +0 -4
- package/dist/cdn/6CTQTT6I.js +0 -4
- package/dist/cdn/6D5BYRAA.js +0 -4
- package/dist/cdn/6ECHZDA2.js +0 -4
- package/dist/cdn/6HVAFPAG.js +0 -4
- package/dist/cdn/6IMHQGJP.js +0 -4
- package/dist/cdn/6NVHXT6T.js +0 -4
- package/dist/cdn/6SPDWYRB.js +0 -4
- package/dist/cdn/6TXNKJ7C.js +0 -4
- package/dist/cdn/6UMLZJHF.js +0 -4
- package/dist/cdn/6VFRYXUW.js +0 -4
- package/dist/cdn/6VQQ5KRO.js +0 -4
- package/dist/cdn/6ZEIPE2A.js +0 -4
- package/dist/cdn/73FLLYJT.js +0 -4
- package/dist/cdn/73Y4QLVV.js +0 -4
- package/dist/cdn/75KDFGPL.js +0 -4
- package/dist/cdn/75WH5OM3.js +0 -4
- package/dist/cdn/7AVJJH43.js +0 -4
- package/dist/cdn/7BMS5OV5.js +0 -4
- package/dist/cdn/7CFD54Y5.js +0 -4
- package/dist/cdn/7EHX4VGP.js +0 -4
- package/dist/cdn/7EIDXE2E.js +0 -4
- package/dist/cdn/7GVGBA4H.js +0 -4
- package/dist/cdn/7KA7EPDW.js +0 -4
- package/dist/cdn/7KK7KKU6.js +0 -4
- package/dist/cdn/7QZFJKPL.js +0 -4
- package/dist/cdn/7RQWNB5U.js +0 -4
- package/dist/cdn/7SIO5QDF.js +0 -4
- package/dist/cdn/A7PGWDIA.js +0 -4
- package/dist/cdn/AAXCF3VB.js +0 -4
- package/dist/cdn/ABA3HUXT.js +0 -4
- package/dist/cdn/ABAYXCCF.js +0 -6
- package/dist/cdn/AC5H5XJA.js +0 -4
- package/dist/cdn/ACTMQRX6.js +0 -4
- package/dist/cdn/AGG6S4XL.js +0 -4
- package/dist/cdn/AHF2GAFR.js +0 -4
- package/dist/cdn/AI7LPR33.js +0 -4
- package/dist/cdn/AJBJ5XXR.js +0 -5
- package/dist/cdn/AJS67SVD.js +0 -4
- package/dist/cdn/AKU7X4HL.js +0 -5
- package/dist/cdn/AMOHS7P3.js +0 -4
- package/dist/cdn/AMTKORJG.js +0 -4
- package/dist/cdn/APCBRHVH.js +0 -4
- package/dist/cdn/AT4VUMJU.js +0 -4
- package/dist/cdn/ATBHRNGC.js +0 -4
- package/dist/cdn/ATXK7F34.js +0 -4
- package/dist/cdn/AZ7G3CBW.js +0 -4
- package/dist/cdn/B266JVCP.js +0 -4
- package/dist/cdn/B33X3S4T.js +0 -4
- package/dist/cdn/B3ZPN4KY.js +0 -4
- package/dist/cdn/B46RKV3D.js +0 -4
- package/dist/cdn/B6ZUWYYS.js +0 -4
- package/dist/cdn/B7MZHCIU.js +0 -4
- package/dist/cdn/B7QGBAKW.js +0 -4
- package/dist/cdn/BC7T2HVK.js +0 -4
- package/dist/cdn/BCX56WMW.js +0 -4
- package/dist/cdn/BFAGVKSH.js +0 -4
- package/dist/cdn/BFOFBXMD.js +0 -4
- package/dist/cdn/BFVKMSZP.js +0 -4
- package/dist/cdn/BGXUDWPX.js +0 -4
- package/dist/cdn/BH77P64E.js +0 -4
- package/dist/cdn/BIRORGAY.js +0 -4
- package/dist/cdn/BJZAWZMT.js +0 -4
- package/dist/cdn/BKCVEBCJ.js +0 -4
- package/dist/cdn/BLWDPQ24.js +0 -4
- package/dist/cdn/BMI76UBB.js +0 -4
- package/dist/cdn/BOG34IKN.js +0 -4
- package/dist/cdn/BPIU4TRE.js +0 -4
- package/dist/cdn/BQ3TNVHN.js +0 -4
- package/dist/cdn/BQO6DOH5.js +0 -4
- package/dist/cdn/BXS3FFTV.js +0 -11
- package/dist/cdn/C7DFMWJC.js +0 -4
- package/dist/cdn/C7U44A4C.js +0 -4
- package/dist/cdn/C7Z7EQPD.js +0 -4
- package/dist/cdn/CATRCTFI.js +0 -4
- package/dist/cdn/CD6WF7DL.js +0 -4
- package/dist/cdn/CDKGI2F5.js +0 -4
- package/dist/cdn/CG3QL7WQ.js +0 -4
- package/dist/cdn/CG5FYSF6.js +0 -4
- package/dist/cdn/CHRW5YBF.js +0 -4
- package/dist/cdn/CJVEUIPS.js +0 -4
- package/dist/cdn/CLJ3EPSN.js +0 -4
- package/dist/cdn/CLJR6A5X.js +0 -4
- package/dist/cdn/CM5YWL7N.js +0 -4
- package/dist/cdn/CMPR45EG.js +0 -4
- package/dist/cdn/CN4PNMJI.js +0 -4
- package/dist/cdn/CPCUKDI4.js +0 -4
- package/dist/cdn/CRHMBQLX.js +0 -4
- package/dist/cdn/CTQALSF5.js +0 -4
- package/dist/cdn/CYOUMXDL.js +0 -4
- package/dist/cdn/CYQ4YIBR.js +0 -4
- package/dist/cdn/CZDEEILL.js +0 -4
- package/dist/cdn/D3YKMM3B.js +0 -24
- package/dist/cdn/D42Y3KKY.js +0 -4
- package/dist/cdn/D54GQY6C.js +0 -4
- package/dist/cdn/D6F6F6PJ.js +0 -4
- package/dist/cdn/DAEOVJTY.js +0 -4
- package/dist/cdn/DDD4A3LK.js +0 -4
- package/dist/cdn/DEJGRZZ2.js +0 -4
- package/dist/cdn/DHWOZPRF.js +0 -4
- package/dist/cdn/DIFQAN5M.js +0 -4
- package/dist/cdn/DJA5QY2V.js +0 -4
- package/dist/cdn/DJB66ZTM.js +0 -4
- package/dist/cdn/DJL6T22H.js +0 -4
- package/dist/cdn/DM6XKH2B.js +0 -4
- package/dist/cdn/DMDSQY25.js +0 -4
- package/dist/cdn/DMQZPEQU.js +0 -4
- package/dist/cdn/DMZ5X566.js +0 -4
- package/dist/cdn/DOYGRC2M.js +0 -4
- package/dist/cdn/DPFK6XM3.js +0 -4
- package/dist/cdn/DPKKKBOF.js +0 -4
- package/dist/cdn/DPS67AHA.js +0 -4
- package/dist/cdn/DTCI4IXE.js +0 -4
- package/dist/cdn/DUCHXMI5.js +0 -4
- package/dist/cdn/DVZ4OOIU.js +0 -4
- package/dist/cdn/DXXBWUNI.js +0 -4
- package/dist/cdn/DZUUQHJK.js +0 -4
- package/dist/cdn/E3BIGQNY.js +0 -4
- package/dist/cdn/E63UEEQA.js +0 -4
- package/dist/cdn/E7YROBVV.js +0 -4
- package/dist/cdn/EB4D47LW.js +0 -4
- package/dist/cdn/EBYM2W2U.js +0 -4
- package/dist/cdn/EDL3A2NL.js +0 -4
- package/dist/cdn/EDYHQGK7.js +0 -4
- package/dist/cdn/EE6BAXFY.js +0 -4
- package/dist/cdn/EEZQWQPN.js +0 -4
- package/dist/cdn/EMMZSI77.js +0 -4
- package/dist/cdn/ENPEJQUL.js +0 -4
- package/dist/cdn/ENSXXNYS.js +0 -4
- package/dist/cdn/EP75FJXT.js +0 -4
- package/dist/cdn/EPIZR3DI.js +0 -4
- package/dist/cdn/EQGEHG7R.js +0 -4
- package/dist/cdn/ER7DAS3Q.js +0 -4
- package/dist/cdn/ESJYMH6I.js +0 -4
- package/dist/cdn/ETII2AVY.js +0 -4
- package/dist/cdn/ETLBJUFC.js +0 -4
- package/dist/cdn/ETLH7A4C.js +0 -4
- package/dist/cdn/EUMMNMV4.js +0 -4
- package/dist/cdn/EX3WSOSG.js +0 -4
- package/dist/cdn/EXD4VYTT.js +0 -4
- package/dist/cdn/EZWLRT62.js +0 -4
- package/dist/cdn/F2SWKIEV.js +0 -4
- package/dist/cdn/F45VNWTD.js +0 -4
- package/dist/cdn/F5OIDNUZ.js +0 -4
- package/dist/cdn/F6MUINPW.js +0 -4
- package/dist/cdn/FAUCFDJD.js +0 -4
- package/dist/cdn/FEAOYIVB.js +0 -6
- package/dist/cdn/FF5Q53JD.js +0 -4
- package/dist/cdn/FKN7INJY.js +0 -4
- package/dist/cdn/FMLBQCMY.js +0 -6
- package/dist/cdn/FOOLFBPW.js +0 -4
- package/dist/cdn/FQIYCFCA.js +0 -4
- package/dist/cdn/FR4FEVNX.js +0 -4
- package/dist/cdn/FSO5Y5RK.js +0 -4
- package/dist/cdn/FST42WCF.js +0 -4
- package/dist/cdn/FVYIPAFC.js +0 -4
- package/dist/cdn/FWDWTE5T.js +0 -4
- package/dist/cdn/FXNHG54Z.js +0 -4
- package/dist/cdn/FXTCJ7C3.js +0 -4
- package/dist/cdn/FYGBAFQZ.js +0 -4
- package/dist/cdn/FYLRRBHJ.js +0 -4
- package/dist/cdn/FYO2OMNH.js +0 -4
- package/dist/cdn/FYQSWJML.js +0 -4
- package/dist/cdn/FYT5IZR4.js +0 -4
- package/dist/cdn/FYZ6SWDC.js +0 -4
- package/dist/cdn/FZ5GQQB2.js +0 -4
- package/dist/cdn/FZRQY5XQ.js +0 -4
- package/dist/cdn/G27I2BAL.js +0 -4
- package/dist/cdn/G2MMHLMS.js +0 -4
- package/dist/cdn/G3IAPXVY.js +0 -4
- package/dist/cdn/G3LD654G.js +0 -4
- package/dist/cdn/G6DTPTXC.js +0 -4
- package/dist/cdn/G7YL6XMH.js +0 -4
- package/dist/cdn/GACWFOJV.js +0 -4
- package/dist/cdn/GGOQDNZO.js +0 -4
- package/dist/cdn/GK247TDL.js +0 -4
- package/dist/cdn/GLIJF77V.js +0 -4
- package/dist/cdn/GN355LCZ.js +0 -5470
- package/dist/cdn/GT6IVLQZ.js +0 -4
- package/dist/cdn/GX7HEE7P.js +0 -4
- package/dist/cdn/GXOLR4L7.js +0 -4
- package/dist/cdn/GY5QQWGU.js +0 -4
- package/dist/cdn/GYH6S74L.js +0 -4
- package/dist/cdn/H2E3FDQJ.js +0 -4
- package/dist/cdn/H2GVJU5X.js +0 -4
- package/dist/cdn/H4DWETPL.js +0 -4
- package/dist/cdn/H5QOKBAB.js +0 -4
- package/dist/cdn/H6L2L5YH.js +0 -4
- package/dist/cdn/H6NOFA55.js +0 -4
- package/dist/cdn/H73DIZW7.js +0 -4
- package/dist/cdn/HBYIM2ZB.js +0 -4
- package/dist/cdn/HCMOWERH.js +0 -4
- package/dist/cdn/HCMWBZ5T.js +0 -4
- package/dist/cdn/HHTQKDBW.js +0 -4
- package/dist/cdn/HITINEC3.js +0 -4
- package/dist/cdn/HL4EOGW5.js +0 -4
- package/dist/cdn/HQOVUR53.js +0 -4
- package/dist/cdn/HT3Z5QOV.js +0 -4
- package/dist/cdn/HUZBAQMN.js +0 -4
- package/dist/cdn/HVIJ3AER.js +0 -4
- package/dist/cdn/HVMHWMM6.js +0 -4
- package/dist/cdn/HY7YIHFO.js +0 -4
- package/dist/cdn/I5ZDPV55.js +0 -4
- package/dist/cdn/IAFDQ3MR.js +0 -4
- package/dist/cdn/IAFTN3K3.js +0 -4
- package/dist/cdn/IAMRGJBX.js +0 -4
- package/dist/cdn/IDIEJTM6.js +0 -4
- package/dist/cdn/IDNNGY6X.js +0 -4
- package/dist/cdn/IF44HEKV.js +0 -4
- package/dist/cdn/IFL4NNCE.js +0 -4
- package/dist/cdn/IFQVATKT.js +0 -4
- package/dist/cdn/IFWTWSEC.js +0 -4
- package/dist/cdn/IGPK746W.js +0 -4
- package/dist/cdn/IGRVHVY6.js +0 -4
- package/dist/cdn/IK6I54IQ.js +0 -4
- package/dist/cdn/IKHZJC6I.js +0 -4
- package/dist/cdn/ILXLIZ5H.js +0 -4
- package/dist/cdn/IMY22VZB.js +0 -4
- package/dist/cdn/IQTHEMQX.js +0 -4
- package/dist/cdn/IQYJKSSX.js +0 -4
- package/dist/cdn/IU2UVAZJ.js +0 -4
- package/dist/cdn/IUG5I3XZ.js +0 -4
- package/dist/cdn/IVVHUJIC.js +0 -4
- package/dist/cdn/IW5CN3DC.js +0 -4
- package/dist/cdn/IX65X3RB.js +0 -4
- package/dist/cdn/J2UW7HGJ.js +0 -4
- package/dist/cdn/J3DJZ47L.js +0 -4
- package/dist/cdn/J3SMUV34.js +0 -4
- package/dist/cdn/J4VS5GJD.js +0 -4
- package/dist/cdn/J5H7KZBD.js +0 -4
- package/dist/cdn/J6J7Z4MI.js +0 -4
- package/dist/cdn/JFZNXTLV.js +0 -4
- package/dist/cdn/JG4UKAML.js +0 -4
- package/dist/cdn/JIMLEN3L.js +0 -4
- package/dist/cdn/JIMR3ZSI.js +0 -4
- package/dist/cdn/JJBFUSMU.js +0 -4
- package/dist/cdn/JKFATVNF.js +0 -4
- package/dist/cdn/JKJ2LIUQ.js +0 -4
- package/dist/cdn/JLPUW62R.js +0 -4
- package/dist/cdn/JMAWXBTC.js +0 -4
- package/dist/cdn/JPIQ5YQG.js +0 -4
- package/dist/cdn/JQOMPHAM.js +0 -4
- package/dist/cdn/JRGX6U2X.js +0 -4
- package/dist/cdn/JSB5PEQ5.js +0 -4
- package/dist/cdn/JSBCZLJK.js +0 -4
- package/dist/cdn/JSZSZS5J.js +0 -4
- package/dist/cdn/JV4PLQHN.js +0 -4
- package/dist/cdn/JVQ2TY66.js +0 -4
- package/dist/cdn/JWPPTFCL.js +0 -4
- package/dist/cdn/JXBB4SZJ.js +0 -4
- package/dist/cdn/JXGFP6RL.js +0 -4
- package/dist/cdn/K3AMPFOZ.js +0 -4
- package/dist/cdn/K6UBZX64.js +0 -4
- package/dist/cdn/KD6YEVZG.js +0 -4
- package/dist/cdn/KHZNR7KF.js +0 -4
- package/dist/cdn/KJVE3IJB.js +0 -4
- package/dist/cdn/KK73U6NT.js +0 -4
- package/dist/cdn/KMHVQZLR.js +0 -4
- package/dist/cdn/KMNMXIU6.js +0 -4
- package/dist/cdn/KMWX2SOF.js +0 -4
- package/dist/cdn/KN7MIMPE.js +0 -4
- package/dist/cdn/KRBYFNWG.js +0 -4
- package/dist/cdn/KSPBRLYR.js +0 -4
- package/dist/cdn/KTSL74UV.js +0 -4
- package/dist/cdn/KVBIQI45.js +0 -4
- package/dist/cdn/KVHVKBK3.js +0 -5
- package/dist/cdn/KVMRCVWP.js +0 -4
- package/dist/cdn/KYPLUE5W.js +0 -4
- package/dist/cdn/L342FXTU.js +0 -4
- package/dist/cdn/L4KA35QV.js +0 -4
- package/dist/cdn/L5H2PRIT.js +0 -4
- package/dist/cdn/L6H2AEIG.js +0 -4
- package/dist/cdn/L6WW2CQG.js +0 -4
- package/dist/cdn/L7BJMGVE.js +0 -4
- package/dist/cdn/LCNUOASL.js +0 -4
- package/dist/cdn/LDY2BPKI.js +0 -4
- package/dist/cdn/LGNWUPUP.js +0 -4
- package/dist/cdn/LK4RWSON.js +0 -4
- package/dist/cdn/LKLZ7F2D.js +0 -4
- package/dist/cdn/LLAOO6CF.js +0 -4
- package/dist/cdn/LMCQSWP7.js +0 -4
- package/dist/cdn/LO4GK4FM.js +0 -4
- package/dist/cdn/LOVPLPPQ.js +0 -4
- package/dist/cdn/LPNA5GS3.js +0 -4
- package/dist/cdn/LPUD5SQL.js +0 -4
- package/dist/cdn/LRRRJJ4Z.js +0 -4
- package/dist/cdn/LSLO63BG.js +0 -4
- package/dist/cdn/LSRZZFZ5.js +0 -4
- package/dist/cdn/LT2GA664.js +0 -4
- package/dist/cdn/LTFBQF7V.js +0 -4
- package/dist/cdn/LWO2HM7H.js +0 -4
- package/dist/cdn/LX2S4DSV.js +0 -4
- package/dist/cdn/LYPH2MVR.js +0 -4
- package/dist/cdn/LYZFYUSQ.js +0 -4
- package/dist/cdn/M23ZOXN6.js +0 -4
- package/dist/cdn/M2IL4BDE.js +0 -4
- package/dist/cdn/M47K6PXL.js +0 -4
- package/dist/cdn/M72XNVHH.js +0 -4
- package/dist/cdn/M7FEXUWG.js +0 -4
- package/dist/cdn/MEMZOLGC.js +0 -4
- package/dist/cdn/MFL2KV7C.js +0 -4
- package/dist/cdn/MIS3BVCG.js +0 -4
- package/dist/cdn/MJ5PARF7.js +0 -4
- package/dist/cdn/MKN2WWLD.js +0 -4
- package/dist/cdn/MKUSSI77.js +0 -4
- package/dist/cdn/MMLE4HSN.js +0 -4
- package/dist/cdn/MN2SPQKM.js +0 -4
- package/dist/cdn/MOFPTNKL.js +0 -4
- package/dist/cdn/MP2I2XU5.js +0 -4
- package/dist/cdn/MPNVPK2T.js +0 -4
- package/dist/cdn/MPVCWK6Y.js +0 -4
- package/dist/cdn/MPW3O3XZ.js +0 -4
- package/dist/cdn/MQXWV77L.js +0 -4
- package/dist/cdn/MSWUYXUN.js +0 -4
- package/dist/cdn/MSZJVRIF.js +0 -4
- package/dist/cdn/MT4TMP7L.js +0 -4
- package/dist/cdn/MTHGEWIE.js +0 -4
- package/dist/cdn/MTQTKUEP.js +0 -4
- package/dist/cdn/MXBZPVCI.js +0 -4
- package/dist/cdn/MZO27GNQ.js +0 -4
- package/dist/cdn/N2VUL3PP.js +0 -4
- package/dist/cdn/N2XSFBBT.js +0 -4
- package/dist/cdn/N37NUIAR.js +0 -4
- package/dist/cdn/N5YGMWGF.js +0 -4
- package/dist/cdn/N7WMDKXI.js +0 -4
- package/dist/cdn/NBJJ7JIR.js +0 -4
- package/dist/cdn/NCHU2CTI.js +0 -4
- package/dist/cdn/ND7BALRG.js +0 -4
- package/dist/cdn/NEOHMO3C.js +0 -4
- package/dist/cdn/NHEP3GX6.js +0 -4
- package/dist/cdn/NHRH5S7C.js +0 -4
- package/dist/cdn/NHSPHMTV.js +0 -4
- package/dist/cdn/NIU4JAN2.js +0 -4
- package/dist/cdn/NMRS3VYB.js +0 -4
- package/dist/cdn/NNMUZGPM.js +0 -4
- package/dist/cdn/NNZORUYK.js +0 -4
- package/dist/cdn/NT23C4WF.js +0 -4
- package/dist/cdn/NUZ77F4R.js +0 -4
- package/dist/cdn/NW4623VC.js +0 -4
- package/dist/cdn/NX5UBKV4.js +0 -4
- package/dist/cdn/NYSCKQKP.js +0 -4
- package/dist/cdn/NZ5EC3LG.js +0 -4
- package/dist/cdn/O26TMJG2.js +0 -51
- package/dist/cdn/O6AFCLVE.js +0 -4
- package/dist/cdn/O7M5WVKG.js +0 -4
- package/dist/cdn/OCWDCV7B.js +0 -4
- package/dist/cdn/OFAL62WO.js +0 -4
- package/dist/cdn/OGZGIO76.js +0 -4
- package/dist/cdn/OH42LLLB.js +0 -4
- package/dist/cdn/OHLFKJDJ.js +0 -4
- package/dist/cdn/OIQOC6SY.js +0 -4
- package/dist/cdn/OJMVNQUJ.js +0 -4
- package/dist/cdn/OLBEETVV.js +0 -4
- package/dist/cdn/OLZXX2LE.js +0 -4
- package/dist/cdn/OMI3OREN.js +0 -4
- package/dist/cdn/ONTVBO5J.js +0 -4
- package/dist/cdn/OO5EZBEP.js +0 -4
- package/dist/cdn/OQGBVVPU.js +0 -42
- package/dist/cdn/OS2DOKYH.js +0 -4
- package/dist/cdn/OS2STJ45.js +0 -4
- package/dist/cdn/OTG5MB2A.js +0 -4
- package/dist/cdn/OZP3SKLF.js +0 -4
- package/dist/cdn/P6LFAAYR.js +0 -4
- package/dist/cdn/P7LAVBX2.js +0 -4
- package/dist/cdn/PBCI74WW.js +0 -4
- package/dist/cdn/PCFPC67Z.js +0 -4
- package/dist/cdn/PDDVR2FO.js +0 -4
- package/dist/cdn/PFGAIPQW.js +0 -4
- package/dist/cdn/PIG52NCS.js +0 -4
- package/dist/cdn/PIJOGOLB.js +0 -4
- package/dist/cdn/PJO4TSZD.js +0 -4
- package/dist/cdn/PKGNZ3U7.js +0 -4
- package/dist/cdn/PLVZ7RN2.js +0 -4
- package/dist/cdn/PN4JPW2U.js +0 -4
- package/dist/cdn/PNNPGXN3.js +0 -4
- package/dist/cdn/POAYKRI3.js +0 -4
- package/dist/cdn/POMKSDY7.js +0 -4
- package/dist/cdn/PQ7DPXPW.js +0 -4
- package/dist/cdn/PSN3IIC7.js +0 -4
- package/dist/cdn/PVGJEID3.js +0 -4
- package/dist/cdn/PW5CB4ZQ.js +0 -4
- package/dist/cdn/PWUDAGVV.js +0 -4
- package/dist/cdn/PXGOUGF7.js +0 -4
- package/dist/cdn/PXGPJF5R.js +0 -4
- package/dist/cdn/QIL6JOBE.js +0 -4
- package/dist/cdn/QIRD2BX4.js +0 -4
- package/dist/cdn/QJ3LQYYU.js +0 -4
- package/dist/cdn/QK77AH2M.js +0 -5
- package/dist/cdn/QKE7TBC6.js +0 -4
- package/dist/cdn/QLFPDTJV.js +0 -4
- package/dist/cdn/QMIRYU7D.js +0 -4
- package/dist/cdn/QNMVC5P7.js +0 -4
- package/dist/cdn/QOHXVV5I.js +0 -4
- package/dist/cdn/QOO44JAQ.js +0 -12
- package/dist/cdn/QUKBZFIX.js +0 -4
- package/dist/cdn/QUO7Q7ZY.js +0 -4
- package/dist/cdn/QUZAMNGY.js +0 -4
- package/dist/cdn/QVIY2H3G.js +0 -4
- package/dist/cdn/QWK6GCY6.js +0 -4
- package/dist/cdn/R2QYUAGX.js +0 -4
- package/dist/cdn/R3FHCD7X.js +0 -4
- package/dist/cdn/R7BND24J.js +0 -4
- package/dist/cdn/RE3PPEHF.js +0 -4
- package/dist/cdn/REPPZJSK.js +0 -4
- package/dist/cdn/RGBOLI6D.js +0 -4
- package/dist/cdn/RIXLF25O.js +0 -4
- package/dist/cdn/RJAGUN4A.js +0 -4
- package/dist/cdn/RKFOQN5J.js +0 -4
- package/dist/cdn/RKPSWL53.js +0 -4
- package/dist/cdn/RM5DKBLD.js +0 -4
- package/dist/cdn/RM5GJ22S.js +0 -4
- package/dist/cdn/RO7PPZNE.js +0 -4
- package/dist/cdn/RPHSQOEL.js +0 -4
- package/dist/cdn/RTVXQBVE.js +0 -4
- package/dist/cdn/RUXNBH7D.js +0 -4
- package/dist/cdn/RVJATVT3.js +0 -4
- package/dist/cdn/RXWCZEEP.js +0 -4
- package/dist/cdn/RYYKL75T.js +0 -59
- package/dist/cdn/S4FDGFHU.js +0 -4
- package/dist/cdn/S4JQZUKC.js +0 -4
- package/dist/cdn/S4K4J6BV.js +0 -4
- package/dist/cdn/S56AVWFS.js +0 -4
- package/dist/cdn/SA5TNZET.js +0 -4
- package/dist/cdn/SAIZTOFD.js +0 -4
- package/dist/cdn/SBSMNVND.js +0 -4
- package/dist/cdn/SEPALSBU.js +0 -4
- package/dist/cdn/SGNUGYBY.js +0 -4
- package/dist/cdn/SI3QLPMY.js +0 -4
- package/dist/cdn/SK4LOK7K.js +0 -4
- package/dist/cdn/SLAZZMDV.js +0 -4
- package/dist/cdn/SNQLL6PJ.js +0 -4
- package/dist/cdn/SSL2O3FP.js +0 -4
- package/dist/cdn/STQ5F34Y.js +0 -4
- package/dist/cdn/SWER3J35.js +0 -4
- package/dist/cdn/SWO26BL2.js +0 -4
- package/dist/cdn/SYDAHPA3.js +0 -4
- package/dist/cdn/SZ27WBUH.js +0 -4
- package/dist/cdn/T25FHWKM.js +0 -4
- package/dist/cdn/T4DKZDLB.js +0 -4
- package/dist/cdn/T4KFO73I.js +0 -4
- package/dist/cdn/T5GURJFH.js +0 -4
- package/dist/cdn/T63B2ORN.js +0 -4
- package/dist/cdn/T6CDDB4G.js +0 -4
- package/dist/cdn/T7LW4BUI.js +0 -4
- package/dist/cdn/TABMOLKD.js +0 -4
- package/dist/cdn/TB7IC4IP.js +0 -4
- package/dist/cdn/TC5RKFCP.js +0 -4
- package/dist/cdn/TECXB7CR.js +0 -4
- package/dist/cdn/TGKJDHIC.js +0 -4
- package/dist/cdn/TIZSSYC2.js +0 -4
- package/dist/cdn/TJBMH2VF.js +0 -4
- package/dist/cdn/TJMAF4P6.js +0 -4
- package/dist/cdn/TM55OBKT.js +0 -4
- package/dist/cdn/TN7IPYFS.js +0 -4
- package/dist/cdn/TRERHR27.js +0 -9
- package/dist/cdn/TTYAECZO.js +0 -4
- package/dist/cdn/TUDINLOQ.js +0 -4
- package/dist/cdn/TWUV434Q.js +0 -4
- package/dist/cdn/TZHGDDDL.js +0 -59
- package/dist/cdn/U4FOF34Q.js +0 -4
- package/dist/cdn/U4OWJEY3.js +0 -4
- package/dist/cdn/U6FTEPGD.js +0 -4
- package/dist/cdn/U6ILJSKO.js +0 -4
- package/dist/cdn/UAWNMA7V.js +0 -4
- package/dist/cdn/UCZPIR2M.js +0 -4
- package/dist/cdn/UD3LLBPW.js +0 -4
- package/dist/cdn/UDTNTUMN.js +0 -4
- package/dist/cdn/UELXE246.js +0 -4
- package/dist/cdn/UGQSLGHA.js +0 -4
- package/dist/cdn/UGWXMFC6.js +0 -4
- package/dist/cdn/UHK66GSM.js +0 -25
- package/dist/cdn/UI3AZFWS.js +0 -4
- package/dist/cdn/UIPYYEZY.js +0 -4
- package/dist/cdn/UJSUOPK3.js +0 -4
- package/dist/cdn/UKIUZY77.js +0 -4
- package/dist/cdn/UNVH5TAU.js +0 -4
- package/dist/cdn/URQFN3T2.js +0 -4
- package/dist/cdn/US4555LU.js +0 -4
- package/dist/cdn/USO4KAQI.js +0 -4
- package/dist/cdn/UV62CYUN.js +0 -4
- package/dist/cdn/UVSCBT6D.js +0 -4
- package/dist/cdn/UVVVX4JT.js +0 -4
- package/dist/cdn/UWNE36RB.js +0 -4
- package/dist/cdn/VDCHLG4A.js +0 -41
- package/dist/cdn/VELMBGZR.js +0 -4
- package/dist/cdn/VFVMSTIY.js +0 -4
- package/dist/cdn/VHGYNYPZ.js +0 -4
- package/dist/cdn/VJXHSEWV.js +0 -4
- package/dist/cdn/VMJG2WXZ.js +0 -4
- package/dist/cdn/VN2L7I6B.js +0 -4
- package/dist/cdn/VSISUM3B.js +0 -4
- package/dist/cdn/VTNBR4XB.js +0 -4
- package/dist/cdn/VVACBE4C.js +0 -4
- package/dist/cdn/VWQ4B4DE.js +0 -4
- package/dist/cdn/VWQKYKYW.js +0 -12
- package/dist/cdn/W4V6FGM5.js +0 -4
- package/dist/cdn/W5J5RV5Y.js +0 -4
- package/dist/cdn/W5WRWKUG.js +0 -4
- package/dist/cdn/W6S7CJLV.js +0 -4
- package/dist/cdn/W6TC4GXS.js +0 -4
- package/dist/cdn/W6YPPLB7.js +0 -4
- package/dist/cdn/WDLEFYH5.js +0 -4
- package/dist/cdn/WG7EBBVR.js +0 -4
- package/dist/cdn/WI255MFX.js +0 -4
- package/dist/cdn/WIVWXFXW.js +0 -4
- package/dist/cdn/WJNHXRBD.js +0 -4
- package/dist/cdn/WM5LLFNJ.js +0 -4
- package/dist/cdn/WMAYLVLI.js +0 -4
- package/dist/cdn/WPEMIFRJ.js +0 -4
- package/dist/cdn/WQN456EF.js +0 -52
- package/dist/cdn/WVVXLS7S.js +0 -4
- package/dist/cdn/WXQX5LNP.js +0 -4
- package/dist/cdn/WZT26NVV.js +0 -4
- package/dist/cdn/WZTUMS3J.js +0 -4
- package/dist/cdn/X2V6MDST.js +0 -4
- package/dist/cdn/X5URWCV7.js +0 -4
- package/dist/cdn/X6FV6YT4.js +0 -4
- package/dist/cdn/X74EI74V.js +0 -4
- package/dist/cdn/X7WVK234.js +0 -4
- package/dist/cdn/XEDSVZWN.js +0 -4
- package/dist/cdn/XFSATTBR.js +0 -4
- package/dist/cdn/XFZ72GBV.js +0 -4
- package/dist/cdn/XHGOISAT.js +0 -4
- package/dist/cdn/XKN4NOE6.js +0 -4
- package/dist/cdn/XLDUKBTK.js +0 -4
- package/dist/cdn/XM2XXFDS.js +0 -4
- package/dist/cdn/XNP4A3ME.js +0 -4
- package/dist/cdn/XO4OVIWM.js +0 -4
- package/dist/cdn/XPDCBYSK.js +0 -4
- package/dist/cdn/XSQXBSE3.js +0 -4
- package/dist/cdn/XU73GRV5.js +0 -4
- package/dist/cdn/XVD6PP43.js +0 -4
- package/dist/cdn/XVIBH3V7.js +0 -5
- package/dist/cdn/Y5EA3REY.js +0 -4
- package/dist/cdn/Y6LU6GHV.js +0 -4
- package/dist/cdn/YCVO37YW.js +0 -4
- package/dist/cdn/YDDGA43G.js +0 -4
- package/dist/cdn/YG36Z6AK.js +0 -4
- package/dist/cdn/YHQV4MN5.js +0 -4
- package/dist/cdn/YMYTLOUY.js +0 -4
- package/dist/cdn/YNFT3IYW.js +0 -4
- package/dist/cdn/YNU2EWIE.js +0 -4
- package/dist/cdn/YV3IVRWL.js +0 -4
- package/dist/cdn/YVJP3UT3.js +0 -4
- package/dist/cdn/YWE7EJ7N.js +0 -4
- package/dist/cdn/YY35YIAM.js +0 -4
- package/dist/cdn/Z2W257DO.js +0 -4
- package/dist/cdn/Z3NTHWC3.js +0 -4
- package/dist/cdn/Z4YODCED.js +0 -16
- package/dist/cdn/Z5AQJPWJ.js +0 -4
- package/dist/cdn/Z7BXJ3CM.js +0 -4
- package/dist/cdn/ZA2ROFVJ.js +0 -4
- package/dist/cdn/ZBB6UARH.js +0 -4
- package/dist/cdn/ZDTX5Z3Y.js +0 -4
- package/dist/cdn/ZES5YCIA.js +0 -4
- package/dist/cdn/ZET3PYLN.js +0 -4
- package/dist/cdn/ZKPC3RP7.js +0 -4
- package/dist/cdn/ZKWPVGHR.js +0 -4
- package/dist/cdn/ZQCON6YV.js +0 -4
- package/dist/cdn/ZRXOD45Q.js +0 -4
- package/dist/cdn/ZWZDSY57.js +0 -4
- package/dist/cdn/ZZHSS3XP.js +0 -4
package/dist/cdn/IFWTWSEC.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import d from"./L4KA35QV.js";import"./3LCFZXGI.js";import{a as f}from"./BGXUDWPX.js";import c from"./DEJGRZZ2.js";import"./HL4EOGW5.js";import"./MPVCWK6Y.js";import{a as b,b as Q,c as X,d as x}from"./F5OIDNUZ.js";import{a as F}from"./LPUD5SQL.js";import{a as H}from"./NNMUZGPM.js";import"./PSN3IIC7.js";import"./FF5Q53JD.js";import"./4KDJ7GHI.js";import"./QK77AH2M.js";import"./AJBJ5XXR.js";import"./R2QYUAGX.js";import a from"./5TGVOLL4.js";import"./KVBIQI45.js";import"./MPW3O3XZ.js";import"./IKHZJC6I.js";import"./2YIJQZBC.js";import{N as K,O as A,X as Y,o as q}from"./WZTUMS3J.js";import"./TIZSSYC2.js";import"./AJS67SVD.js";import"./64JWNJSW.js";import"./JXGFP6RL.js";import"./URQFN3T2.js";import"./3BAVTJIS.js";import"./IU2UVAZJ.js";import"./ATXK7F34.js";import"./6CTQTT6I.js";import"./YCVO37YW.js";import"./SK4LOK7K.js";import"./Y5EA3REY.js";import"./OS2DOKYH.js";import"./GLIJF77V.js";import"./QUZAMNGY.js";import"./2RPZRS5Z.js";import"./7QZFJKPL.js";import"./ENSXXNYS.js";import"./HITINEC3.js";import"./QOO44JAQ.js";import"./OH42LLLB.js";import"./LRRRJJ4Z.js";import"./GX7HEE7P.js";import"./XM2XXFDS.js";import"./F2SWKIEV.js";import"./Z3NTHWC3.js";import"./JIMLEN3L.js";import"./DOYGRC2M.js";import"./XVD6PP43.js";import"./WIVWXFXW.js";import"./ZKWPVGHR.js";import"./676BPHVY.js";import"./VN2L7I6B.js";import"./F6MUINPW.js";import"./QWK6GCY6.js";import"./FAUCFDJD.js";import{f as O,g as W}from"./ILXLIZ5H.js";import"./UWNE36RB.js";import"./AI7LPR33.js";import"./DPFK6XM3.js";import"./CD6WF7DL.js";import"./DPKKKBOF.js";import"./NZ5EC3LG.js";import"./53N6S4MA.js";import"./TC5RKFCP.js";import"./R3FHCD7X.js";import{a as M}from"./HBYIM2ZB.js";import{c as ie,j as se}from"./3MZDJEZX.js";import"./BKCVEBCJ.js";import{a as w}from"./CPCUKDI4.js";import"./6IMHQGJP.js";import{a as P}from"./UHK66GSM.js";import"./PIG52NCS.js";import"./JG4UKAML.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./BPIU4TRE.js";import"./S4JQZUKC.js";import"./IF44HEKV.js";import"./P6LFAAYR.js";import"./2RCEFHVM.js";import"./W6S7CJLV.js";import"./XPDCBYSK.js";import"./ETLH7A4C.js";import"./W5WRWKUG.js";import"./FKN7INJY.js";import{a as z}from"./AMOHS7P3.js";import"./D42Y3KKY.js";import{a as T}from"./RJAGUN4A.js";import"./AGG6S4XL.js";import"./KMWX2SOF.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/IGPK746W.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import"./KMWX2SOF.js";var e="Der opstod en fejl under indl\xE6sning af diagrammet.",a="Kan ikke anvende log-transformation p\xE5 negative v\xE6rdier eller nulv\xE6rdier.",r="Kan ikke anvende kvadratrod-transformation p\xE5 negative v\xE6rdier.",t="Der opstod en fejl under indl\xE6sning af laget. URL = ${ url }. Portalelement-id = ${ portalItemId }.",n="De felter [${ fieldNames }], der er defineret i konfigurationen, blev ikke fundet i laget.",i="${ dataPath } skal v\xE6re entydig. Serien med navnet ${ seriesName } har et id (${ seriesID }), der allerede bruges i en anden serie.",s="${ dataPath } kan ikke udf\xF8re ikke-antal-aggregering p\xE5 ikke-numeriske felter.",d="${ dataPath } mangler en egenskab med navnet ${ missingProperty }.",l="${ dataPath } skal ikke v\xE6re kortere end ${ limit } tegn.",o="${ dataPath } m\xE5 ikke have f\xE6rre end ${ limit } elementer.",m="${ dataPath } m\xE5 ikke have flere end ${ limit } elementer.",u="${ dataPath } skal have mindst et tegn, der ikke er et mellemrumstegn.",k="${ dataPath } m\xE5 ikke have ${ additionalProperty }.",g="${ dataPath } skal v\xE6re lig med en af disse tilladte v\xE6rdier: ${ allowedValues }.",p="${ dataPath } skal matche skemaet fra en af disse: ${ schemaOptions }.",v="Punktdiagrammer med proportionale symboler underst\xF8ttes ikke. Der er blevet anvendt standardst\xF8rrelse p\xE5 symboler.",f="Kunne ikke l\xE6se inputdata.",y="queryBins-handlingen underst\xF8ttes ikke i denne tjeneste.",$="Den forventede serietype ved indekset ${ seriesIndex } er '${ expectedType }', men '${ receivedType }' blev modtaget i stedet for",h="eller",P={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:r,layerLoadFailure:t,layerFieldsNotFound:n,duplicateSeriesID:i,nonNumericAggregation:s,requiredProperty:d,minLength:l,minItems:o,maxItems:m,whiteSpacePattern:u,additionalProperty:k,enumValues:g,anyOfValues:p,bubbleChartValidateMsg:v,queryError:f,queryBinsNotSupported:y,invalidSeriesType:$,or:h};export{k as additionalProperty,p as anyOfValues,v as bubbleChartValidateMsg,P as default,e as defaultError,i as duplicateSeriesID,g as enumValues,$ as invalidSeriesType,n as layerFieldsNotFound,t as layerLoadFailure,m as maxItems,o as minItems,l as minLength,a as negativeValueInDataForLogTransformation,r as negativeValueInDataForSqrtTransformation,s as nonNumericAggregation,h as or,y as queryBinsNotSupported,f as queryError,d as requiredProperty,u as whiteSpacePattern};
|
package/dist/cdn/IGRVHVY6.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
var e;(function(a){a.app="app",a.map="map",a.feedback="feedback",a.external="external"})(e||(e={}));export{e as a};
|
package/dist/cdn/IK6I54IQ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a}from"./HBYIM2ZB.js";import{b as n,e as t,i as o}from"./BPIU4TRE.js";import"./KMWX2SOF.js";var l=class{constructor(e){o(this,e),this.arcgisConfigurationEditorFieldInputChange=t(this,"arcgisConfigurationEditorFieldInputChange",7),this.params=void 0,a(this,"handleCalciteInputTimeZonePickerChange")}handleCalciteInputTimeZonePickerChange(e){let i=e.target;this.arcgisConfigurationEditorFieldInputChange.emit(i.value)}render(){var e,i;return n("calcite-input-time-zone",{key:"ee8f167864e8f8f65b6257529a9f6b603ae0dffc",disabled:this.params.disabled,mode:"name",onCalciteInputTimeZoneChange:this.handleCalciteInputTimeZonePickerChange,overlayPositioning:(i=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||i===void 0?void 0:i.overlayPositioning,scale:this.params.scale,value:this.params.value})}};export{l as hub_field_input_time_zone};
|
package/dist/cdn/IKHZJC6I.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a as T}from"./2YIJQZBC.js";import{a as S}from"./3BAVTJIS.js";import{a as y,b as g}from"./IU2UVAZJ.js";import{c as h}from"./ENSXXNYS.js";import{a as f,b as x,c as D}from"./HITINEC3.js";import{e as E,f as F,g as v}from"./QOO44JAQ.js";import{i as j,p as C,r as d}from"./GX7HEE7P.js";import{e as p,l as O}from"./ILXLIZ5H.js";import{d as w}from"./NZ5EC3LG.js";import{a as I}from"./53N6S4MA.js";import{a as l}from"./TC5RKFCP.js";import{h as m}from"./R3FHCD7X.js";import{a as b,r as u}from"./D42Y3KKY.js";function st(r){let t=`${l(r.url)}/${r.id}`,e=Object.assign({httpMethod:"GET"},r);return m(t,e).then(s=>e.rawResponse?s:s.feature)}function q(r){let t=I(r,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},r.params)});return m(`${l(r.url)}/query`,t)}var B=r=>{let t=["groupIds","metadata","ownerUser","org"];return v(r)&&t.push("data"),S(r.url)?t.concat("server","layers"):t},$=(r,t)=>{let e=b(r);return e.params=Object.assign(Object.assign({},e.params),{"fields[datasets]":"slug,boundary,extent,recordCount,searchDescription,statistics"}),t&&(e.params["filter[slug]"]=t),e},L=r=>{let{itemId:t,layerId:e}=f(r.id),s=e&&parseInt(e,10),{slug:a,boundary:n,extent:i,recordCount:c,searchDescription:o,statistics:_}=r.attributes;return{itemId:t,layerId:s,slug:a,boundary:n,extent:i,recordCount:c,searchDescription:o,statistics:_}},M=async(r,t)=>{let e=await h("/datasets",$(t,r));return L(e.data[0])},R=async(r,t)=>{try{let e=await h(`/datasets/${r}`,$(t));return L(e.data)}catch(e){return{errors:E(e)}}},P=r=>["Feature Layer","Table"].includes(r),H=async(r,t)=>{let{item:e}=r,{layers:s}=r,a=s&&C(e,s,t&&t.layerId);if(a&&!a.type){let n=`${p(e.url)}/${a.id}`,i=Object.assign({url:n},t);a=await T(i),s=s.map(c=>c.id===a.id?a:c)}return Object.assign(Object.assign({},r),{layers:s})},U=async(r,t)=>{let e=await w(r,t);e.url=j(e,t)||e.url;let s=t?.enrichments||B(e),a=await F(e,s,t);return H(Object.assign(Object.assign({},a),{item:e}),t)},G=async(r,t)=>{let{itemId:e}=f(r),s=await U(e,t),{item:a}=s,n=y(s,["item"]),i=t&&t.layerId,c=O(a,t)?await R(r,t):{},o=c.layerId;return d(a,Object.assign(Object.assign(Object.assign({requestOptions:t},n),c),{layerId:u(i)?o:i,errors:g([n.errors,c.errors])}))},A=async(r,t)=>{let e=await M(r,t),{itemId:s}=e,{layerId:a}=e,n=await U(s,t),{item:i}=n,c=y(n,["item"]),o=t&&t.layerId;return!u(o)&&o!==a&&(a=o,e=Object.assign(Object.assign({},e),await R(`${s}_${a}`,t))),d(i,Object.assign(Object.assign(Object.assign({requestOptions:t},c),e),{layerId:a,slug:r,errors:g([c.errors,e.errors])}))},V=async(r,t)=>{let{url:e,viewDefinition:s}=r,a=s?.definitionExpression;try{return(await q(Object.assign(Object.assign({},t),{url:e,where:a,returnCountOnly:!0}))).count}catch{return 1/0}},at=async(r,t)=>{let e=x(r)?await A(D(r,t?.siteOrgKey),t):await G(r,t),{layer:s,type:a}=e,n=!!s&&P(a);return e.recordCount=n&&(u(e.recordCount)||e.viewDefinition)?await V(e,t):e.recordCount,e};export{st as a,q as b,at as c};
|
package/dist/cdn/ILXLIZ5H.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a as w,b as g}from"./UWNE36RB.js";import{a as b,d as k,h as v,j as $,k as P,l as E,m as N}from"./AI7LPR33.js";import{a as M,b as d}from"./TC5RKFCP.js";import{a as z}from"./W5WRWKUG.js";import{c as D}from"./FKN7INJY.js";import{a as u}from"./RJAGUN4A.js";function A(t){return`${w(t)}/sharing/rest`}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function J(t){let e;return/(qaext|\.mapsqa)\.arcgis.com/.exec(t)?e="https://hubqa.arcgis.com":/(devext|\.mapsdevext)\.arcgis.com/.exec(t)?e="https://hubdev.arcgis.com":/(www|\.maps)\.arcgis.com/.exec(t)&&(e="https://hub.arcgis.com"),e}function T(t){let e=t&&t.hubApiUrl;return e||J(A(t))}var q=new RegExp(/.+(?:map|feature|image)server/i);function L(t){let e=t.match(q);return e?e[0]:_(t)}function _(t){let e=t.split("?")[0];return M(e)}var V=function(e,n,a,r){var o=(r[0]-a[0])*(e[1]-a[1])-(r[1]-a[1])*(e[0]-a[0]),i=(n[0]-e[0])*(e[1]-a[1])-(n[1]-e[1])*(e[0]-a[0]),s=(r[1]-a[1])*(n[0]-e[0])-(r[0]-a[0])*(n[1]-e[1]);if(s!==0){var l=o/s,p=i/s;if(l>=0&&l<=1&&p>=0&&p<=1)return!0}return!1},Z=function(e,n){for(var a=!1,r=-1,o=e.length,i=o-1;++r<o;i=r)(e[r][1]<=n[1]&&n[1]<e[i][1]||e[i][1]<=n[1]&&n[1]<e[r][1])&&n[0]<(e[i][0]-e[r][0])*(n[1]-e[r][1])/(e[i][1]-e[r][1])+e[r][0]&&(a=!a);return a},Y=function(e,n){for(var a=0;a<e.length;a++)if(e[a]!==n[a])return!1;return!0},B=function(e,n){for(var a=0;a<e.length-1;a++)for(var r=0;r<n.length-1;r++)if(V(e[a],e[a+1],n[r],n[r+1]))return!0;return!1},R=function(e){return Y(e[0],e[e.length-1])||e.push(e[0]),e},U=function(e){var n=0,a=0,r=e.length,o=e[a],i;for(a;a<r-1;a++)i=e[a+1],n+=(i[0]-o[0])*(i[1]+o[1]),o=i;return n>=0},F=function(e){var n={};for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a]);return n},Q=function(e,n){var a=B(e,n),r=Z(e,n[0]);return!!(!a&&r)},X=function(e){for(var n=[],a=[],r,o,i,s=0;s<e.length;s++){var l=R(e[s].slice(0));if(!(l.length<4))if(U(l)){var p=[l.slice().reverse()];n.push(p)}else a.push(l.slice().reverse())}for(var y=[];a.length;){i=a.pop();var C=!1;for(r=n.length-1;r>=0;r--)if(o=n[r][0],Q(o,i)){n[r].push(i),C=!0;break}C||y.push(i)}for(;y.length;){i=y.pop();var S=!1;for(r=n.length-1;r>=0;r--)if(o=n[r][0],B(o,i)){n[r].push(i),S=!0;break}S||n.push([i.reverse()])}return n.length===1?{type:"Polygon",coordinates:n[0]}:{type:"MultiPolygon",coordinates:n}},K=function(e,n){for(var a=n?[n,"OBJECTID","FID"]:["OBJECTID","FID"],r=0;r<a.length;r++){var o=a[r];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},Pe=function t(e,n){var a={};if(e.features){a.type="FeatureCollection",a.features=[];for(var r=0;r<e.features.length;r++)a.features.push(t(e.features[r],n))}if(typeof e.x=="number"&&typeof e.y=="number"&&(a.type="Point",a.coordinates=[e.x,e.y],typeof e.z=="number"&&a.coordinates.push(e.z)),e.points&&(a.type="MultiPoint",a.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(a.type="LineString",a.coordinates=e.paths[0].slice(0)):(a.type="MultiLineString",a.coordinates=e.paths.slice(0))),e.rings&&(a=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(a.type="Polygon",a.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(a.type="Feature",a.geometry=e.geometry?t(e.geometry):null,a.properties=e.attributes?F(e.attributes):null,e.attributes))try{a.id=K(e.attributes,n)}catch{}return JSON.stringify(a.geometry)===JSON.stringify({})&&(a.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),a},O=function(e){var n=[],a=e.slice(0),r=R(a.shift().slice(0));if(r.length>=4){U(r)||r.reverse(),n.push(r);for(var o=0;o<a.length;o++){var i=R(a[o].slice(0));i.length>=4&&(U(i)&&i.reverse(),n.push(i))}}return n},j=function(e){for(var n=[],a=0;a<e.length;a++)for(var r=O(e[a]),o=r.length-1;o>=0;o--){var i=r[o].slice(0);n.push(i)}return n},ee=function t(e,n){n=n||"OBJECTID";var a={wkid:4326},r={},o;switch(e.type){case"Point":r.x=e.coordinates[0],r.y=e.coordinates[1],e.coordinates[2]!=null&&(r.z=e.coordinates[2]),r.spatialReference=a;break;case"MultiPoint":r.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"LineString":r.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"MultiLineString":r.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"Polygon":r.rings=O(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"MultiPolygon":r.rings=j(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"Feature":e.geometry&&(r.geometry=t(e.geometry,n)),r.attributes=e.properties?F(e.properties):{},e.id&&(r.attributes[n]=e.id);break;case"FeatureCollection":for(r=[],o=0;o<e.features.length;o++)r.push(t(e.features[o],n));break;case"GeometryCollection":for(r=[],o=0;o<e.geometries.length;o++)r.push(t(e.geometries[o],n));break}return r},c;(function(t){t.CitationContact="metadata.resource.citation.contact",t.ResourceContact="metadata.resource.contact",t.MetadataContact="metadata.contact",t.ItemOwner="item.owner",t.None="none"})(c||(c={}));var f;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(f||(f={}));var h={devext:"dev",qaext:"qa",production:""},Ee=t=>{var e;let n=t.extent,a=v(n),r=((e=t.properties)===null||e===void 0?void 0:e.boundary)||(a?"item":void 0),o={geometry:null,provenance:r};if(r==="item"&&a){let i=b(n),s=P(i);o.center=[s.x,s.y],o.geometry=Object.assign(Object.assign({},$(i)),{type:"polygon"}),o.spatialReference=o.geometry.spatialReference}return o},te=t=>v(t)?Object.assign(Object.assign({},b(t)),{type:"extent"}):void 0,Ne=t=>{let{properties:e,extent:n}=t,a=e?.location;if(a)return a;if(e?.boundary==="none")return{type:"none"};let r=te(n);if(r)return{type:z(t.type)?"org":"custom",extent:n,geometries:[r],spatialReference:r.spatialReference};try{let o=N(n),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},ee(n)),{spatialReference:E(o)?i:ie(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}},H=t=>t&&t.isPortal,Me=(t,e)=>!!t&&t.access==="public"&&!H(e),we=(t,e)=>!H(e)&&t.access==="public"&&t.type==="CSV"&&t.size<=5e6,De=(t,e,n)=>{let a=ae(t,e,n)||re(t,e,n),r=D(t);if(!a){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";r==="feedback"?s=e?"/feedback/surveys":"":ne(t,n)?s="/pages":i.indexOf(r)>-1&&(s=`/${r}s`),a=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(r)&&(a=""),a},ne=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ae=(t,e,n)=>{let a;return t==="Solution"?n?.indexOf("Deployed")>-1?a=`/content/${e}/about`:a=`/templates/${e}/about`:t==="Web Mapping Application"&&n?.indexOf("hubSolutionTemplate")>-1&&(a=`/templates/${e}/about`),a},re=(t,e,n)=>{if(t==="Hub Initiative"&&n?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};function oe(t){return{updateFrequency:"metadata.dataIdInfo.resMaint.maintFreq.MaintFreqCd.@_value",reviseDate:"metadata.dataIdInfo.idCitation.date.reviseDate",pubDate:"metadata.dataIdInfo.idCitation.date.pubDate",createDate:"metadata.dataIdInfo.idCitation.date.createDate",metadataUpdateFrequency:"metadata.mdMaint.maintFreq.MaintFreqCd.@_value",metadataUpdatedDate:"metadata.mdDateSt"}[t]}function ze(t,e){let n=oe(e);return n&&u(t,n)}function Ae(t){t=`${t}`;let e,n;if(/^\d{4}$/.test(t))e=new Date(+t,0,1),n=f.Year;else if(/^\d{4}-\d{1,2}$/.test(t)){let a=t.split("-");e=new Date(+a[0],+a[1]-1,1),n=f.Month}else if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(t)){let a=t.split("-");e=new Date(+a[0],+a[1]-1,+a[2]),n=f.Day}else Number.isNaN(Date.parse(t))||(e=new Date(t),n=t.includes("T")?f.Time:f.Day);return e&&n&&{date:e,precision:n}}var ie=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let n=e+"",a=parseInt(n,10);return isNaN(a)?null:{wkid:a}},Te=(t,e,n)=>{let a=se(e);return a&&a.map(r=>({name:r.orName,url:ce(r,t,n),isDataSource:W(r,t)}))},se=t=>{let e=[];return x(u(t,"metadata.distInfo")||[]).forEach(n=>{x(n.distTranOps||[]).forEach(a=>{x(a.onLineSrc||[]).forEach(r=>{e.push(r)})})}),e.length?e:null},x=t=>Array.isArray(t)?t:[t],W=(t,e)=>{let n=e.url&&L(e.url);return n&&t.linkage&&t.linkage.includes(n)},ce=(t,e,n)=>{let a=t.linkage,r=u(n,"authentication.token");if(r&&W(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",r),o.search=i.toString(),a=o.toString()}return a},Be=(t,e,n)=>{let a=v(t.extent)?t.extent:void 0,r=v(e?.coordinates)?e.coordinates:void 0,o=u(n,"extent.spatialReference.wkid")===4326?k(n.extent):void 0;return a||r||o},I=(t,e)=>{let n=u(t,e)||{},{rpIndName:a,rpOrgName:r}=Array.isArray(n)?n[0]:n;return{individualName:a,organizationName:r}},le=(t,e)=>t.orgId||e?.orgId,Fe=(t,e,n,a)=>{let r={nameSource:c.None,organizationSource:c.None},o=I(e,"metadata.dataIdInfo.idCitation.citRespParty"),i=I(e,"metadata.dataIdInfo.idPoC"),s=I(e,"metadata.mdContact"),l=u(a,"fullName");o.individualName?(r.name=o.individualName,r.nameSource=c.CitationContact):i.individualName?(r.name=i.individualName,r.nameSource=c.ResourceContact):s.individualName?(r.name=s.individualName,r.nameSource=c.MetadataContact):l&&(r.name=l,r.username=a.username,r.nameSource=c.ItemOwner);let p=u(n,"name");return o.organizationName?(r.organization=o.organizationName,r.organizationSource=c.CitationContact):i.organizationName?(r.organization=i.organizationName,r.organizationSource=c.ResourceContact):s.organizationName?(r.organization=s.organizationName,r.organizationSource=c.MetadataContact):p&&(r.organization=p,r.orgId=le(t,a),r.organizationSource=c.ItemOwner),r.isExternal=r.organizationSource===c.None&&t.access!=="public",r},Oe=t=>t.reduce((e,n)=>{let a=n.split("/"),r=a[a.length-1];return r&&e.push(r),e},[]),He=(t,e)=>{let n;switch(ue(t)){case"Dashboard":n=fe(t,e);break;case"Insights Workbook":n=ge(t,e);break;case"Experience":n=pe(t,e);break;case"Web AppBuilder":n=me(t,e);break;case"Form":n=ve(t,e);break;case"StoryMap":n=de(t,e);break;case"Urban Model":n=he(t,e);break;default:n=g(t.id,e)}return n},ue=t=>{let e=t.typeKeywords||[],n=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?n="StoryMap":t.type==="Insights Page"?n="Insights Page":t.type==="Insights Workbook"?n="Insights Workbook":t.type&&t.type.includes("Insights")?n="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?n="Experience":e.includes("Web AppBuilder")&&(n="Web AppBuilder"),n},de=(t,e)=>{let n={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},a=d(e),r=m(a);return`${`https://${n[r]}.arcgis.com`}/stories/${t.id}/edit`},pe=(t,e)=>{let n=d(e),a=m(n);return`${`https://experience${h[a]}.arcgis.com`}/builder/?id=${t.id}`},fe=(t,e)=>{let n=d(e),a=`${n}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(a=`${n}/apps/dashboards/${t.id}#mode=edit`),a},me=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,ve=(t,e)=>{let n=d(e),a=m(n),r=`https://survey123${h[a]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=g(t.id,n):o=`${r}/surveys/${t.id}/design?portalUrl=${n}`,o},ge=(t,e)=>{let n=d(e),a=m(n),r=`https://insights${h[a]}.arcgis.com`,o=g(t.id,n);return G(n)?o:`${r}/#/edit/${t.id}`},he=(t,e)=>{let n=d(e),a=m(n),r=`https://urban${h[a]}.arcgis.com`,o=g(t.id,n);return G(n)?o:`${r}/?id=${t.id}`},G=t=>t.indexOf("arcgis.com")===-1;function We(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return T(t).replace(/\/api\/v3$/,"")}var Ge=async(t,e)=>{let a=`${T(e)}/api/v3/jobs/item/${t}/forceUpdate`,r={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(a,r)).ok};export{A as a,m as b,J as c,T as d,L as e,Pe as f,ee as g,c as h,f as i,Ee as j,Ne as k,Me as l,we as m,De as n,ne as o,oe as p,ze as q,Ae as r,ie as s,Te as t,Be as u,le as v,Fe as w,Oe as x,He as y,We as z,Ge as A};
|
package/dist/cdn/IMY22VZB.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import e from"./5W55HGST.js";import{a as p}from"./RPHSQOEL.js";import{a as k}from"./SI3QLPMY.js";import c from"./FOOLFBPW.js";import a from"./DEJGRZZ2.js";import"./HL4EOGW5.js";import"./MPVCWK6Y.js";import"./NNMUZGPM.js";import"./PSN3IIC7.js";import{a as f}from"./FF5Q53JD.js";import"./4KDJ7GHI.js";import"./QK77AH2M.js";import"./AJBJ5XXR.js";import{j as d}from"./R2QYUAGX.js";import"./T63B2ORN.js";import"./MPW3O3XZ.js";import"./IKHZJC6I.js";import"./2YIJQZBC.js";import"./WZTUMS3J.js";import"./TIZSSYC2.js";import"./AJS67SVD.js";import"./64JWNJSW.js";import"./JXGFP6RL.js";import"./URQFN3T2.js";import"./3BAVTJIS.js";import"./IU2UVAZJ.js";import"./ATXK7F34.js";import"./6CTQTT6I.js";import"./YCVO37YW.js";import"./SK4LOK7K.js";import"./Y5EA3REY.js";import"./OS2DOKYH.js";import"./GLIJF77V.js";import"./QUZAMNGY.js";import"./2RPZRS5Z.js";import"./7QZFJKPL.js";import"./ENSXXNYS.js";import"./HITINEC3.js";import"./QOO44JAQ.js";import"./OH42LLLB.js";import"./LRRRJJ4Z.js";import{g as y}from"./GX7HEE7P.js";import"./XM2XXFDS.js";import"./F2SWKIEV.js";import"./Z3NTHWC3.js";import"./JIMLEN3L.js";import"./DOYGRC2M.js";import"./XVD6PP43.js";import"./WIVWXFXW.js";import"./ZKWPVGHR.js";import"./676BPHVY.js";import"./VN2L7I6B.js";import"./F6MUINPW.js";import"./QWK6GCY6.js";import"./FAUCFDJD.js";import"./ILXLIZ5H.js";import"./UWNE36RB.js";import"./AI7LPR33.js";import"./DPFK6XM3.js";import"./CD6WF7DL.js";import"./DPKKKBOF.js";import"./NZ5EC3LG.js";import"./53N6S4MA.js";import"./TC5RKFCP.js";import"./R3FHCD7X.js";import{a as b}from"./HBYIM2ZB.js";import{c as A}from"./3MZDJEZX.js";import"./BKCVEBCJ.js";import"./CPCUKDI4.js";import"./6IMHQGJP.js";import{a as g}from"./UHK66GSM.js";import"./PIG52NCS.js";import"./JG4UKAML.js";import{b as i,c as S,d as E,e as o,h,i as R}from"./BPIU4TRE.js";import"./S4JQZUKC.js";import"./IF44HEKV.js";import"./P6LFAAYR.js";import"./2RCEFHVM.js";import"./W6S7CJLV.js";import"./XPDCBYSK.js";import"./ETLH7A4C.js";import"./W5WRWKUG.js";import"./FKN7INJY.js";import"./AMOHS7P3.js";import"./D42Y3KKY.js";import"./RJAGUN4A.js";import"./AGG6S4XL.js";import"./KMWX2SOF.js";export default $arcgis.t(([,,{d:T},{a:v,b:w,c:C}])=>{var L=":host{display:block}.title{font-family:var(--hub-heading-family, inherit);font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-medium);margin-block:0 0.25rem}.title calcite-link{text-decoration:underline;color:var(--calcite-color-text-link)}.title calcite-link div{display:flex;gap:0.25rem}calcite-list-item>calcite-button{margin-inline-end:0.25rem}calcite-popover>calcite-button{margin:0.25rem}arcgis-hub-image{aspect-ratio:200 / 133;height:2.5rem}.previous-results-end{position:absolute}dl{margin-block:0}dl div{display:inline-flex;flex-wrap:wrap;gap:0.25rem}dl div:not(:last-child){margin-inline-end:0.25rem}dd{margin:0px;font-weight:var(--calcite-font-weight-bold)}",I=L,H=class{constructor(t){R(this,t),this.arcgisHubCardSelect=o(this,"arcgisHubCardSelect",7),this.arcgisHubGalleryOrderChange=o(this,"arcgisHubGalleryOrderChange",7),this.arcgisHubGalleryLinkClick=o(this,"arcgisHubGalleryLinkClick",7),this.arcgisHubCardAction=o(this,"arcgisHubCardAction",7),this.hubTelemetry=o(this,"hubTelemetry",7),this.searchResults=[],this.loading=!1,this.selectedIds=[],this.baseUrl=void 0,this.linkTarget="self",this.limit=10,this.newTab=!1,this.cardTitleTag="div",this.showEmptyState=!0,this.showThumbnail=!0,this.imageType=d.thumbnail,this.lazy=!1,this.selectionMode="none",this.showAdditionalInfo=!0,this.cardActionLinks=[],this.reorderable=!1,this.lastSearchResultsCount=void 0,this.hasError=!1,this.callback=void 0,this.disableTelemetry=!1,this.isMobile=!1,b(this,"handleOrderChange","handleResize","handleSelect","setPreviousResultsEnd","onTitleLinkClick","onTitleLinkKeyDown")}get shouldRenderEmptyState(){return!this.searchResults.length&&this.showEmptyState||this.hasError}get context(){return A()}connectedCallback(){p.addHandler(this.element,this.handleResize)}disconnectedCallback(){p.unobserve(this.element)}async componentWillLoad(){this.intl=await g.loadIntlForComponent(this.element)}componentDidUpdate(){var t;(t=this.previousResultsEnd)===null||t===void 0||t.focus({preventScroll:!0})}handleResize(){this.isMobile=this.element.clientWidth<f.SMALL}handleSelect(t){let e=t.target.dataset.id;this.arcgisHubCardSelect.emit({id:e})}handleOrderChange(t){let{detail:{newIndex:e,oldIndex:r,dragEl:s}}=t,n={id:s.dataset.id,newIndex:e,oldIndex:r};this.arcgisHubGalleryOrderChange.emit(n)}setPreviousResultsEnd(t){this.previousResultsEnd=t}renderThumbnail(t){let e;return this.showThumbnail&&this.imageType===d.thumbnail&&(t.type==="User"||t.type==="channel"?e=i("calcite-avatar",{"aria-hidden":"true",fullName:k(t),slot:"content-start",thumbnail:t.thumbnailUrl,username:t.source}):e=i("arcgis-hub-image",{alt:`${t.title} thumbnail`,"aria-hidden":"true",class:{"group-thumbnail":t.type==="Group"},fallback:w(t),lazy:this.lazy,slot:"content-start",src:v(t,40,this.context)})),e}getViewModel(t){let e={actionLinks:this.cardActionLinks,baseUrl:this.baseUrl,locale:this.intl.formatLocale,target:this.linkTarget};return C(t,"row",e,this.callback,this.context,this.intl)}renderResult(t){let e=this.getViewModel(t),r=e.actionLinks?e.actionLinks:this.cardActionLinks,s=this.selectedIds.includes(t.id);return i("calcite-list-item",{"data-id":e.id,iconStart:this.showThumbnail&&this.imageType===d.icon?y(e.type):"",key:e.id,onCalciteListItemSelect:this.handleSelect,selected:s},this.renderThumbnail(e),i("div",{slot:"content"},this.renderTitle(e)),this.renderAdditionalInfo(e.additionalInfo),this.renderActionLinks(e,r,this.newTab))}renderTitle(t){let e=t.titleUrl,r=this.cardTitleTag,s=i("arcgis-multiline-ellipsis",{breakAnywhere:!0,lines:1,tabIndex:-1,tooltipEnabled:!0,tooltipOverlayPositioning:"fixed"},t.title);if(e){let a=this.newTab?"_blank":"_self";return i(r,{class:"title","data-href":e,"data-target":a,onKeyDown:this.onTitleLinkKeyDown,tabIndex:0},i("calcite-link",{"data-key":t.id,href:e,onClick:this.onTitleLinkClick,tabIndex:-1,target:a},this.newTab?i("div",null,s,i("calcite-icon",{icon:"launch-2",scale:"s"})):s))}else return i(r,{class:"title"},s)}onTitleLinkClick(t){this.linkTarget==="event"&&(t.stopPropagation(),t.preventDefault());let r=(t.type==="click"?t.currentTarget:t.target.firstElementChild).dataset.key,s=this.getViewModel(this.searchResults.find(n=>n.id===r)),a=T(this.linkTarget,s);!this.disableTelemetry&&a&&this.hubTelemetry.emit(a),this.arcgisHubGalleryLinkClick.emit({model:s,event:t})}onTitleLinkKeyDown(t){if((t.key==="Enter"||t.key===" ")&&(this.onTitleLinkClick(t),this.linkTarget!=="event")){let e=t.target.dataset.href,r=t.target.dataset.target;setTimeout(()=>window.open(e,r),0)}}renderAdditionalInfo(t){if(this.showAdditionalInfo&&t.length)return i("dl",{slot:"content"},t.slice(0,2).map((e,r)=>i("div",{key:r},i("dt",{key:`dt${r}`},e.i18nKey?this.intl.t(e.i18nKey):e.label),i("dd",{key:`dd${r}`},e.value))))}renderActionLinks(t,e,r){let{isMobile:s}=this,a=s&&e.length>1,n=e.filter(l=>!!l.href||!!l.action).map((l,m)=>this.renderActionLink(t,l,r,`${t.id}-${m}`,a));if(a){let l=`${t.id}-overflow-menu-trigger`;return[i("calcite-popover",{autoClose:!0,key:`${t.id}-overflow-menu`,"overlay-positioning":"fixed","reference-element":l,slot:"actions-end"},n),i("calcite-button",{appearance:"outline",iconStart:"ellipsis",id:l,key:l,round:!0,slot:"actions-end"})]}else return n}renderActionLink(t,e,r,s,a){let n=a?"":"actions-end",l=e.label;!l&&e.i18nKey&&(l=this.intl.t(e.i18nKey));let m=e.showLabel||a,u=e.action&&this.actionHandler.bind(this,e.action,t),c=e.ariaLabel||l;return c.includes(t.title)||(c=`${c}: ${t.title}`),i(h,null,i("calcite-button",{appearance:e.buttonStyle,disabled:e.disabled,href:e.href,iconStart:e.icon,id:`al-${s}`,key:s,kind:e.buttonKind,label:c,onClick:u||void 0,round:!a,slot:n,target:r?"_blank":"_self"},m&&l),!a&&this.renderActionTooltip(e,s))}actionHandler(t,e){this.arcgisHubCardAction.emit({action:t,model:e})}renderActionTooltip(t,e){if(t.tooltip)return i("calcite-tooltip",{key:e,label:t.ariaLabel,"overlay-positioning":"fixed",placement:"bottom","reference-element":`al-${e}`,slot:"actions-end"},i("span",null,t.tooltip))}renderLoading(){return i("div",{class:"card-container"},i("arcgis-skeleton-loader",{active:!0,rows:this.limit}))}renderEmptyState(){let t=this.hasError?"helpState.error.message":"helpState.noResults.message",e=this.intl.t(t),r=this.hasError?"search-error-action":"no-results-action";return i(h,null,i("arcgis-hub-help-state",{icon:"file-magnifying-glass"},i("div",{"aria-live":"polite",role:"status",slot:"message"},i("h3",null,e)),i("span",{slot:"actions"},i("div",{class:"no-results-action-container"},i("slot",{name:r})))))}renderResults(){let{searchResults:t}=this,e;if(t.length){let r=t.reduce((s,a,n)=>(s.push(this.renderResult(a)),n===this.lastSearchResultsCount-1&&s.push(i("div",{class:"previous-results-end",ref:this.setPreviousResultsEnd,tabIndex:-1})),s),[]);e=i(h,null,i("div",{class:"card-container","data-test":"result-container"},i("calcite-list",{dragEnabled:this.reorderable,interactionMode:"static",label:this.intl.t("label"),onCalciteListOrderChange:this.handleOrderChange,selectionMode:this.selectionMode},r)))}else this.shouldRenderEmptyState&&(e=this.renderEmptyState());return e}render(){return i(S,{key:"312175ab0b4d26210811be29922e0d1ed8644b6f","data-element":"gallery-layout-compact"},this.loading?this.renderLoading():this.renderResults())}static get assetsDirs(){return["locales"]}get element(){return E(this)}};H.style=I;return H},"config",a,c,e)
|
package/dist/cdn/IQTHEMQX.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a as d}from"./ACTMQRX6.js";import{a as m}from"./TIZSSYC2.js";import{a as b}from"./IFL4NNCE.js";import{a as E}from"./HBYIM2ZB.js";import{a as f}from"./UHK66GSM.js";import"./PIG52NCS.js";import"./JG4UKAML.js";import{b as o,c as w,d as y,e as p,h as u,i as L}from"./BPIU4TRE.js";import{a as I}from"./IF44HEKV.js";import"./P6LFAAYR.js";import{a as c}from"./ETLH7A4C.js";import{a as h,g,s as _}from"./D42Y3KKY.js";import{a as s}from"./RJAGUN4A.js";import"./AGG6S4XL.js";import"./KMWX2SOF.js";var v=e=>{let{maxLabelLength:t}=e,i={};return t&&(i.maxLength=t),{type:"object",required:["label"],properties:{label:Object.assign({type:"string"},i)}}},S=e=>{let{maxLabelLength:t,intl:i}=e;return{type:"Layout",elements:[{labelKey:"itemEditModal.fields.label.label",scope:"/properties/label",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"itemEditModal.fields.label.requiredMessage"},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:i.t("itemEditModal.fields.label.maxLengthMessage",{maxLength:t})}]}}]}},k="calcite-list{background-color:var(--calcite-color-foreground-1)}calcite-button{margin-top:1rem}.width-full{width:100%}.width-auto{width:auto}.width-fit{width:-moz-fit-content;width:fit-content}",x=k,C=class{constructor(e){L(this,e),this.arcgisConfigurationEditorFieldInputChange=p(this,"arcgisConfigurationEditorFieldInputChange",7),this.hubTelemetry=p(this,"hubTelemetry",7),this._setEditorFlowItemRef=t=>{this._editorFlowItemRef=t},this.mergeUpdatedItems=(t,i=!0)=>{let a=h(this._items),r=a.findIndex(n=>n.key===this._editingItemKey),l=this._scopeWrapperProp&&!this._editProp?t[this._scopeWrapperProp]:t;if(b(l))a=a.filter(n=>n.key!==this._editingItemKey),this.closeEditingExperience();else if(r===-1&&i){if(!l.key){let n=l.label.replace(/\s+/g,"_").toLowerCase();l.key=g(n)}a.push(l),this._editingItemKey=l.key}else this._scopeWrapperProp&&!this._editProp?m(l,a[r],Object.keys(t[this._scopeWrapperProp])):this._editProp?m(l,a[r],[this._editProp]):a[r]=l;return a},this.closeEditingExperience=t=>{t&&t.stopPropagation(),this.showEditExperience=!1,this._editingItemKey=""},this.renderAddItemButton=()=>{let t={auto:"width-auto",full:"width-full",fit:"width-fit"}[s(this.params,"uiSchema.options.addItemButtonWidth")]||"width-auto";return o("calcite-button",{appearance:"outline",class:t,disabled:this._isDisabled,onClick:this.handleItemEdit,round:!0},this._addItemLabel)},this.params=void 0,this.showEditExperience=!1,this._editingItemKey="",E(this,"handleListReorder","toggleItemVisibility","handleItemEdit","handleEditApplied","handleItemRemove","renderListItem","translationFunction","handleItemInlineRemove")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.element)}translationFunction(e){return this.intl.t(e)}get _editValues(){let e=this._items.find(a=>a.key===this._editingItemKey),t=this._editProp?s(e,this._editProp):e;return(this._scopeWrapperProp?{[this._scopeWrapperProp]:t}:t)||{}}get _editLabel(){let e=this._items.find(t=>t.key===this._editingItemKey);return e?.label||c(this.params,"uiSchema.options.defaultEditLabel","")}get _addItemLabel(){return c(this.params,"uiSchema.options.addItemLabel",this.intl.t("addItem"))}get _editProp(){return s(this.params,"uiSchema.options.editProp")}get _scopeWrapperProp(){return s(this.params,"uiSchema.options.scopeWrapperProp")||s(this.params,"uiSchema.options.editProp")}get _editMode(){return s(this.params,"uiSchema.options.editMode")||d.MODAL}get _editActionIcon(){return{[d.FLOW]:"chevron-right",[d.MODAL]:"pencil"}[this._editMode]||"pencil"}get _flowTarget(){let e,t=s(this.params,"uiSchema.options.calciteFlowRefCallback");return t&&(e=t()),e}get _isDisabled(){var e;return!!(!((e=this.params)===null||e===void 0)&&e.disabled)}get _allowHide(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowHide")}get _hiddenEditProp(){return s(this.params,"uiSchema.options.hiddenEditProp")}get _allowReorder(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowReorder")}get _allowEdit(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowEdit")}get _allowRemove(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowRemove")}get _allowDelete(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowDelete")}get _allowAdd(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowAdd")}get _addItemTelemetry(){return s(this.params,"uiSchema.options.addItemTelemetry")}get _items(){var e;return((e=this.params)===null||e===void 0?void 0:e.value)||[]}get _editSchema(){return s(this.params,"uiSchema.options.editSchema")||v({maxLabelLength:s(this.params,"uiSchema.options.maxLabelLength")})}get _editUiSchema(){return s(this.params,"uiSchema.options.editUiSchema")||S({maxLabelLength:s(this.params,"uiSchema.options.maxLabelLength"),intl:this.intl})}_isItemHidden(e){let t=e.hidden;if(this._hiddenEditProp){let i=this._items.find(r=>r.key===e.key);t=(s(i,this._hiddenEditProp)||{}).hidden}return t}handleListReorder(e){let{newIndex:t,oldIndex:i}=e.detail,a=h(this._items),[r]=a.splice(i,1);a.splice(t,0,r),this.arcgisConfigurationEditorFieldInputChange.emit(a)}toggleItemVisibility(e){e.stopPropagation();let t=e.target.dataset.key,i=h(this._items),a=i.find(r=>r.key===t);this._hiddenEditProp?I(`${this._hiddenEditProp}.hidden`,!s(a,`${this._hiddenEditProp}.hidden`),a):a.hidden=!a.hidden,this.arcgisConfigurationEditorFieldInputChange.emit(i)}removeItemByKey(e){let t=h(this._items).filter(i=>i.key!==e);this.arcgisConfigurationEditorFieldInputChange.emit(t)}handleItemRemove(e){let t=e.target.dataset.key;t&&this.removeItemByKey(t)}handleItemInlineRemove(e){let{_editingItemKey:t}=this;t&&this.removeItemByKey(t),this.closeEditingExperience(e)}handleItemEdit(e){var t,i;let a=(i=(t=e.target)===null||t===void 0?void 0:t.dataset)===null||i===void 0?void 0:i.key;this._editingItemKey=a,this._flowTarget&&this._flowTarget.querySelectorAll("calcite-flow-item").forEach(r=>{r.selected=!1}),this.showEditExperience=!0,!a&&this._addItemTelemetry&&this.hubTelemetry.emit(Object.assign(Object.assign({},this._addItemTelemetry),{count:this._items.length}))}handleEditApplied(e){var t,i;e.preventDefault();let{values:a,valid:r=!0}=e.detail||{};if(this._editMode===d.FLOW){let n=(i=(t=this._editorFlowItemRef)===null||t===void 0?void 0:t.shadowRoot)===null||i===void 0?void 0:i.querySelector("calcite-action[slot=header-actions-start");n&&(n.disabled=!r)}let l=this.mergeUpdatedItems(a||e.detail,r);this.arcgisConfigurationEditorFieldInputChange.emit(l),this._editMode===d.MODAL&&this.closeEditingExperience()}renderItemEditModal(){var e,t;let i=!Object.keys(this._editValues).length,a=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t[i?"newItemModalTitle":"editItemModalTitle"])||this.intl.t("editItem",{itemLabel:this._editLabel});return o("arcgis-wormhole",null,o("arcgis-configuration-form",{isOpen:this.showEditExperience,layout:"modal",messageOverrides:{save:this.intl.t("itemEditModal.apply")},modalTitle:a,onArcgisConfigurationFormModalClosed:this.closeEditingExperience,onArcgisConfigurationFormSaved:this.handleEditApplied,scale:this.params.scale,schema:this._editSchema,t:this.translationFunction,uiSchema:this._editUiSchema,values:this._editValues,variant:s(this.params,"uiSchema.options.variant")}))}renderItemEditInline(){return o("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditApplied,schema:this._editSchema,t:this.translationFunction,uiSchema:this._editUiSchema,values:this._editValues,variant:s(this.params,"uiSchema.options.variant")})}renderListItem(e){let t=e[s(this.params,"uiSchema.options.descriptionProp")||"description"]||"",i=s(this.params,"uiSchema.options.descriptionPropPostfix")||"";return o("calcite-list-item",{closable:this._allowRemove,"data-key":e.key,description:`${_(t)}${i}`,key:e.key,label:e.label,onCalciteListItemClose:this.handleItemRemove,selected:this._allowHide&&!this._isItemHidden(e)},this._allowHide&&o("calcite-action",{"data-key":e.key,icon:this._isItemHidden(e)?"view-hide":"view-visible",onClick:this.toggleItemVisibility,scale:this.params.scale,slot:"actions-start",text:this.intl.t(this._isItemHidden(e)?"showItem":"hideItem",{itemLabel:e.label})}),this._allowEdit&&o("calcite-action",{"data-key":e.key,icon:this._editActionIcon,onClick:this.handleItemEdit,scale:this.params.scale,slot:"actions-end",text:this.intl.t("editItem",{itemLabel:e.label})}),this._allowDelete&&o("calcite-action",{"data-key":e.key,icon:"trash",onClick:this.handleItemRemove,scale:this.params.scale,slot:"actions-end",text:this.intl.t("deleteItem",{itemLabel:e.label})}))}renderList(){return o("calcite-list",{dragEnabled:this._allowReorder,interactionMode:"static",onCalciteListOrderChange:this.handleListReorder,scale:this.params.scale},this._items.map(this.renderListItem),this._allowAdd&&this.renderAddItemButton())}renderWormholedEditFlowList(){return o(u,null,o("calcite-flow-item",{selected:!0},this.renderList()),this.showEditExperience&&this._flowTarget&&o("arcgis-wormhole",{includeWormholeElement:!1,target:this._flowTarget},o("calcite-flow-item",{description:this._editLabel,heading:s(this.params,"uiSchema.options.flowTitle"),onCalciteFlowItemBack:this.closeEditingExperience,ref:this._setEditorFlowItemRef,selected:this.showEditExperience},this._allowDelete&&o("calcite-action",{icon:"trash",onClick:this.handleItemInlineRemove,scale:this.params.scale,slot:"header-actions-end",text:this.intl.t("deleteInlineItem",{itemLabel:s(this.params,"uiSchema.options.flowTitle")})}),this.renderItemEditInline())))}renderEditFlowList(){return o("calcite-flow",null,o("calcite-flow-item",null,this.renderList()),this.showEditExperience&&o("calcite-flow-item",{heading:this._editLabel,onCalciteFlowItemBack:this.closeEditingExperience},this.renderItemEditInline()))}renderEditModalList(){return o(u,null,this.renderItemEditModal(),this.renderList())}renderListField(){switch(this._editMode){case d.FLOW:return this._flowTarget?this.renderWormholedEditFlowList():this.renderEditFlowList();case d.MODAL:return this.renderEditModalList();default:return this.renderEditModalList()}}render(){return o(w,{key:"eaf5f686d00c6ea99f569c04788cd1a05728ead7","data-element":"list-field"},this.renderListField())}static get assetsDirs(){return["locales"]}get element(){return y(this)}};C.style=x;export{C as hub_field_input_list};
|
package/dist/cdn/IQYJKSSX.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import a from"./MFL2KV7C.js";export default $arcgis.t(([,,,,,,,{l:r}])=>{var c=(i,e)=>r(e.series?.[i])?e.series?.[i].hideOversizedSideBySideLabels:void 0,h=(i,e,s)=>{r(s.series?.[e])&&(s.series[e].hideOversizedSideBySideLabels=i)},O=(i,e)=>r(e.series?.[i])?e.series?.[i].hideOversizedStackedLabels:void 0,l=(i,e,s)=>{r(s.series?.[e])&&(s.series[e].hideOversizedStackedLabels=i)};return{a:c,b:h,c:O,d:l}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
package/dist/cdn/IU2UVAZJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
function a(r,o){var n={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&o.indexOf(t)<0&&(n[t]=r[t]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,t=Object.getOwnPropertySymbols(r);e<t.length;e++)o.indexOf(t[e])<0&&Object.prototype.propertyIsEnumerable.call(r,t[e])&&(n[t[e]]=r[t[e]]);return n}var l=r=>{let o=[].concat.apply([],r.filter(Array.isArray));return o.length?o:void 0};function c(r,o){return r.reduce((n,t)=>{let e=n[n.length-1];return(!e||e.length===o)&&(e=[],n.push(e)),e.push(t),n},[])}export{a,l as b,c};
|
package/dist/cdn/IUG5I3XZ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import c from"./KVHVKBK3.js";import"./G7YL6XMH.js";import"./LLAOO6CF.js";import"./POMKSDY7.js";import"./HHTQKDBW.js";import"./GXOLR4L7.js";import"./VTNBR4XB.js";import"./NNZORUYK.js";import"./3NWZ7VQS.js";import"./5QB5IDXA.js";import"./PKGNZ3U7.js";import"./B7MZHCIU.js";import"./4WFVE5QG.js";import"./HL4EOGW5.js";import"./T7LW4BUI.js";import"./HQOVUR53.js";import"./EDL3A2NL.js";import"./MJ5PARF7.js";import"./L5H2PRIT.js";import"./WG7EBBVR.js";import{h as E,i as U}from"./CM5YWL7N.js";import{a as g,b}from"./GT6IVLQZ.js";import{a as k}from"./JKJ2LIUQ.js";import"./UVSCBT6D.js";import{C as v,I as A,a as T,d,p as S}from"./ABAYXCCF.js";import"./EQGEHG7R.js";import"./2JZ4MBCE.js";import"./ZRXOD45Q.js";import"./CG5FYSF6.js";import"./H6NOFA55.js";import"./PSN3IIC7.js";import"./FF5Q53JD.js";import"./4KDJ7GHI.js";import"./QK77AH2M.js";import"./AJBJ5XXR.js";import"./R2QYUAGX.js";import a from"./5TGVOLL4.js";import"./FSO5Y5RK.js";import"./EE6BAXFY.js";import"./OHLFKJDJ.js";import"./VVACBE4C.js";import"./5K7FKNLA.js";import"./4JWZUX5Q.js";import"./NEOHMO3C.js";import"./B33X3S4T.js";import"./WMAYLVLI.js";import"./B6ZUWYYS.js";import"./FYQSWJML.js";import"./XSQXBSE3.js";import"./SWER3J35.js";import"./PCFPC67Z.js";import"./ATBHRNGC.js";import"./BCX56WMW.js";import"./42762WPH.js";import"./KVBIQI45.js";import"./UNVH5TAU.js";import"./G6DTPTXC.js";import"./MPW3O3XZ.js";import"./IKHZJC6I.js";import"./2YIJQZBC.js";import"./WZTUMS3J.js";import"./TIZSSYC2.js";import"./AJS67SVD.js";import"./64JWNJSW.js";import"./JXGFP6RL.js";import"./URQFN3T2.js";import"./3BAVTJIS.js";import"./IU2UVAZJ.js";import"./ATXK7F34.js";import"./6CTQTT6I.js";import"./YCVO37YW.js";import"./SK4LOK7K.js";import"./Y5EA3REY.js";import"./OS2DOKYH.js";import"./GLIJF77V.js";import"./QUZAMNGY.js";import"./2RPZRS5Z.js";import"./7QZFJKPL.js";import"./ENSXXNYS.js";import"./HITINEC3.js";import"./QOO44JAQ.js";import"./OH42LLLB.js";import"./LRRRJJ4Z.js";import"./GX7HEE7P.js";import"./XM2XXFDS.js";import"./F2SWKIEV.js";import"./Z3NTHWC3.js";import"./ZDTX5Z3Y.js";import"./FZRQY5XQ.js";import"./NIU4JAN2.js";import"./ZA2ROFVJ.js";import"./JIMLEN3L.js";import"./DOYGRC2M.js";import"./XVD6PP43.js";import"./WIVWXFXW.js";import"./ZKWPVGHR.js";import"./676BPHVY.js";import"./VN2L7I6B.js";import"./F6MUINPW.js";import"./QWK6GCY6.js";import"./FAUCFDJD.js";import"./ILXLIZ5H.js";import"./UWNE36RB.js";import"./AI7LPR33.js";import"./DPFK6XM3.js";import"./CD6WF7DL.js";import"./DPKKKBOF.js";import"./NZ5EC3LG.js";import"./53N6S4MA.js";import"./TC5RKFCP.js";import"./R3FHCD7X.js";import"./IFL4NNCE.js";import{c as V}from"./3MZDJEZX.js";import"./BKCVEBCJ.js";import"./CPCUKDI4.js";import"./6IMHQGJP.js";import"./PIG52NCS.js";import"./JG4UKAML.js";import"./BPIU4TRE.js";import"./C7DFMWJC.js";import"./S4JQZUKC.js";import"./IF44HEKV.js";import"./P6LFAAYR.js";import"./2RCEFHVM.js";import"./W6S7CJLV.js";import"./XPDCBYSK.js";import"./ETLH7A4C.js";import"./W5WRWKUG.js";import"./FKN7INJY.js";import"./AMOHS7P3.js";import"./D42Y3KKY.js";import"./RJAGUN4A.js";import"./AGG6S4XL.js";import"./KMWX2SOF.js";export default $arcgis.t(([C,P])=>{async function O(s){let{skillId:t,message:e,context:i,token:a,conversationId:o,apiUrl:r="https://api.example.com",pauseMs:c=1e3,retries:p=3}=s,y={Authorization:`Bearer ${a}`,Accept:"application/json","Content-Type":"application/json"},w=`${r}/skills/${t}/chat`,_={message:e,context:i};o&&(_.conversationId=o);try{let l=await fetch(w,{method:"POST",headers:y,body:JSON.stringify(_)});if(!l.ok)throw new Error(`HTTP error! status: ${l.status}`);let n=await l.json(),R=o??n.conversationId,D=n.inquiryId,$=n.hasMore||n.message==null,I=n.sequenceNumber,u=[];n.message&&u.push(n);let x=0;for(;$&&x<p;){await new Promise(L=>setTimeout(L,c));let m=await fetch(w,{method:"POST",headers:y,body:JSON.stringify({conversationId:R,inquiryId:D,ackSequenceNumber:I})});if(!m.ok)throw new Error(`HTTP error! status: ${m.status}`);let h=await m.json();h.message&&u.push(h),$=h.hasMore,h.message!=null&&(I+=1),x++}return u}catch(l){return console.error("Error during request:",l),[]}}async function B({message:s,context:t,token:e,conversationId:i,apiUrl:a="https://hub.arcgis.com/api/assistants/v1",pauseMs:o=1e3,retries:r=50}){return await O({skillId:"finder",message:s,context:t,token:e,conversationId:i??void 0,apiUrl:a,pauseMs:o,retries:r})}var q=s=>{if(s?.length!==2||s[0].length!==2||s[1].length!==2)return"0, 0";let t=s[0][0],e=s[0][1],i=s[1][0],a=(s[1][1]+e)/2,o=(i+t)/2;return`${a}, ${o}`},G=s=>{if(s?.length!==2||s[0].length!==2||s[1].length!==2)return 1;let t=s[0][0],e=s[0][1],i=s[1][0],a=s[1][1],o=Math.abs(i-t),r=Math.abs(a-e),c=Math.log2(360/o),p=Math.log2(180/r);return Math.floor(Math.min(c,p))+2},z=T`@layer{arcgis-hub-ai-assistant{arcgis-feature-table{height:300px}esri-feature-table{height:300px}}}`,M={language:"en",defaultSuggestions:["What can I do with this assistant?"],personality:"You are writing for a government websites readable by 8th graders."};function F(s){return s.replace("http://","").replace("https://","").split(/[/?#]/u)[0]}async function j(s,t,e){try{let[i,a]=await Promise.all([E(s,{authentication:t,portal:e}),U(s,{authentication:t,portal:e})]);return{...M,title:i.title,description:a.assistant?.description,extent:i.extent,personality:a.assistant?.personality,hub:F(i.url),location:a.assistant?.location??"",defaultSuggestions:a.assistant?.examplePrompts??M.defaultSuggestions,context:"",allowChat:!1,showHeader:!1,entityId:"",tools:[]}}catch(i){throw console.error("Error fetching configuration:",i),i}}var f=class extends v{constructor(){super(...arguments),this._messages=k({blocking:!0}),this._mapView=null,this._featureTable=g(),this._mapElRef=g(),this.handleArcGISDataClick=t=>{let e=t.detail.data.id;if(this.mapVisible=!0,this.mapShowTable=!0,!this._mapView?.map?.findLayerById(e)){let i=new P({id:e,portal:{url:this.portalUrl}});C.fromPortalItem({portalItem:i}).then(a=>{this._mapView?.map?.add(a),this.mapLayers.push(e),a.id=e,this._featureTable.value&&(this._featureTable.value.layer=a,this._layers=[...this._layers,a],this._featureTable.value.layers=this._layers)}).catch(a=>{console.debug("could not add layer:",a)})}},this.handleArcGISLocationClick=t=>{let e=t.detail;e.longitude&&e.latitude&&e.zoom&&(this.mapVisible=!0,this._mapView?.goTo({center:[e.longitude,e.latitude],zoom:e.zoom}))},this.handleFinderResponse=async(t,e)=>{let i=await B({message:t,conversationId:e,context:{kind:"FinderRequest",item:this.itemId??void 0},token:this.authentication?.token??"",apiUrl:this.apiUrl});if(i.length===0)throw new Error("Finder response is empty or invalid");return i},this.handleUpdateMapVisibility=t=>{this.mapVisible=t.detail},this._mapReady=t=>{let{view:e,viewElement:i}=t.detail;this._mapView=e,this._mapRef=i},this.assistantsEnabled=!1,this.mapEnabled=!0,this.mapVisible=!1,this.itemId=null,this.portalUrl="https://www.arcgis.com",this.apiUrl="/api/assistants/v1",this.botTitle=void 0,this.extent=[[-77.119,38.791],[-76.909,38.995]],this.mapLayers=[],this._layers=[],this.mapShowTable=!0,this.mapBasemap="gray-vector",this.location="USA",this.hub="https://hub.arcgis.com",this.entityId=null,this.context=null,this.language=void 0,this.botDescription=void 0,this.defaultSuggestions=["What are some common datasets?"],this.authentication=void 0}static{this.properties={assistantsEnabled:16,_mapRef:16,mapEnabled:5,mapVisible:5,itemId:1,portalUrl:1,apiUrl:1,botTitle:1,extent:0,mapLayers:0,_layers:0,mapShowTable:5,mapBasemap:1,location:1,hub:1,entityId:1,context:1,language:1,botDescription:1,defaultSuggestions:0,authentication:0}}static{this.shadowRootOptions=S}static{this.styles=z}get _botTitle(){return this.botTitle||this._messages.defaultBotTitle}get _botDescription(){return this.botDescription||this._messages.defaultBotDescription}get _context(){return V()}get _hasOrgAiAccess(){return!!this._context?.portalSettings?.aiAssistantsEnabled&&!this._context?.portalSettings?.blockBetaApps}async load(){if(this.authentication=this._context?.session,this.itemId){let t=await j(this.itemId,this.authentication,`${this.portalUrl}/sharing/rest`);this.botTitle=t.title,this.botDescription=t.description?t.description:"",this.hub=t.hub,this.location=t.location,this.extent=t.extent,this.defaultSuggestions=t.defaultSuggestions}}render(){return d`<arcgis-chat-shell .aboutContent=${this._botDescription} .mapEnabled=${this.mapEnabled} .mapVisible=${this.mapEnabled&&this.mapVisible} @arcgisUpdateMapVisibility=${this.handleUpdateMapVisibility}><arcgis-chat-ui .ariaLabel=${this._messages.aria.chat} .botDescription=${this._botDescription} .botTitle=${this._botTitle} .defaultSuggestions=${this.defaultSuggestions} slot=leftPanel .getFinderResponse=${this.handleFinderResponse} @arcgisAddDataClick=${this.handleArcGISDataClick} @arcgisLocationClick=${this.handleArcGISLocationClick} .authentication=${this.authentication} .portalUrl=${this.portalUrl} .domain=${this.hub} .isAuthenticated=${this._context?.isAuthenticated||!1} .hasOrgAiAccess=${this._hasOrgAiAccess}></arcgis-chat-ui><arcgis-hub-map-view .ariaLabel=${this._messages.aria.map} slot=map .location=${`${q(this.extent)},${G(this.extent)}`} mouse-wheel=zoom legend search layer-list @arcgisHubMapViewReady=${this._mapReady} ${b(this._mapElRef)}></arcgis-hub-map-view>${this.mapShowTable&&d`<arcgis-feature-table .ariaLabel=${this._messages.aria.featureTable} .referenceElement=${this._mapRef} slot=featureTable show-layer-dropdown ${b(this._featureTable)}></arcgis-feature-table>`||""}</arcgis-chat-shell>`}};A("arcgis-hub-ai-assistant",f);return f},"layers/Layer","portal/PortalItem",a,c)
|
package/dist/cdn/IVVHUJIC.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import"./KMWX2SOF.js";var e="Si \xE8 verificato un errore durante il caricamento del grafico.",a="Impossibile applicare la trasformazione di log su valori negativi o zero.",i="Impossibile applicare la trasformazione di radice quadrata su valori negativi.",r="Si \xE8 verificato un errore durante il caricamento del layer. URL = ${ url }. ID elemento del portale = ${ portalItemId }.",t="I campi [${ fieldNames }] definiti nel config non sono stati trovati nel layer.",o="${ dataPath } deve essere univoco. La serie denominata ${ seriesName } ha un ID (${ seriesID }) che \xE8 gi\xE0 utilizzato da un'altra serie.",n="${ dataPath } non pu\xF2 effettuare l'aggregazione senza conteggio su un campo non numerico.",s="A ${ dataPath } manca una propriet\xE0 denominata ${ missingProperty }.",l="${ dataPath } non deve essere pi\xF9 corto di ${ limit } caratteri.",d="${ dataPath } non deve contenere meno di ${ limit } elementi.",u="${ dataPath } non deve contenere pi\xF9 di ${ limit } elementi.",p="${ dataPath } deve contenere almeno un carattere.",m="${ dataPath } non deve contenere ${ additionalProperty }.",c="${ dataPath } deve essere uguale a uno di questi valori consentiti: ${ allowedValues }.",g="${ dataPath } deve corrispondere allo schema di uno di questi\u200E: ${ schemaOptions }.",v="I grafici a dispersione con simboli proporzionali non sono supportati. Sono state applicate delle dimensioni simbolo predefinite.",$="Impossibile leggere i dati di input.",y="L'operazione queryBins non \xE8 supportata da questo servizio.",I="Il tipo di serie atteso all'indice ${ seriesIndex } \xE8 '${ expectedType }' ma invece \xE8 stato ricevuto '${ receivedType }'",f="oppure",h={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:i,layerLoadFailure:r,layerFieldsNotFound:t,duplicateSeriesID:o,nonNumericAggregation:n,requiredProperty:s,minLength:l,minItems:d,maxItems:u,whiteSpacePattern:p,additionalProperty:m,enumValues:c,anyOfValues:g,bubbleChartValidateMsg:v,queryError:$,queryBinsNotSupported:y,invalidSeriesType:I,or:f};export{m as additionalProperty,g as anyOfValues,v as bubbleChartValidateMsg,h as default,e as defaultError,o as duplicateSeriesID,c as enumValues,I as invalidSeriesType,t as layerFieldsNotFound,r as layerLoadFailure,u as maxItems,d as minItems,l as minLength,a as negativeValueInDataForLogTransformation,i as negativeValueInDataForSqrtTransformation,n as nonNumericAggregation,f as or,y as queryBinsNotSupported,$ as queryError,s as requiredProperty,p as whiteSpacePattern};
|
package/dist/cdn/IW5CN3DC.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a as $}from"./LLAOO6CF.js";import a from"./X74EI74V.js";import{a as S}from"./B46RKV3D.js";import{a as I}from"./L7BJMGVE.js";import"./PKGNZ3U7.js";import{b as P}from"./EP75FJXT.js";import"./MPVCWK6Y.js";import{a as w}from"./4YNWA5S7.js";import{c as E}from"./2JZ4MBCE.js";import{a as k}from"./MT4TMP7L.js";import"./PSN3IIC7.js";import"./FF5Q53JD.js";import"./4KDJ7GHI.js";import"./QK77AH2M.js";import"./AJBJ5XXR.js";import"./R2QYUAGX.js";import{g as O}from"./GX7HEE7P.js";import"./XM2XXFDS.js";import"./F2SWKIEV.js";import"./Z3NTHWC3.js";import"./QWK6GCY6.js";import"./ILXLIZ5H.js";import"./UWNE36RB.js";import"./AI7LPR33.js";import"./DPFK6XM3.js";import"./NZ5EC3LG.js";import"./53N6S4MA.js";import"./TC5RKFCP.js";import"./R3FHCD7X.js";import{a as v}from"./HBYIM2ZB.js";import{c as b,e as B,g as U}from"./3MZDJEZX.js";import"./BKCVEBCJ.js";import{a as c}from"./CPCUKDI4.js";import"./6IMHQGJP.js";import{a as m}from"./UHK66GSM.js";import"./PIG52NCS.js";import"./JG4UKAML.js";import{b as n,c as x,d as g,e as h,h as d,i as y}from"./BPIU4TRE.js";import"./2RCEFHVM.js";import{a as L,d as H,e as A,g as W,h as f,i as T}from"./W6S7CJLV.js";import{o as p}from"./XPDCBYSK.js";import"./ETLH7A4C.js";import{a as C}from"./W5WRWKUG.js";import"./FKN7INJY.js";import"./AMOHS7P3.js";import"./D42Y3KKY.js";import{a as u}from"./RJAGUN4A.js";import"./AGG6S4XL.js";import"./KMWX2SOF.js";export default $arcgis.t(([,{a:M,b:_}])=>{var j=":host{display:block;height:3rem;width:100%;background-color:var(--calcite-color-foreground-3)}.product-footer__branding{padding-top:0.125rem;display:flex;height:100%;align-items:center;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.375rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}calcite-menu{--calcite-color-foreground-1:var(--calcite-color-foreground-3);--calcite-color-foreground-2:var(--calcite-color-foreground-3);--calcite-color-text-1:var(--calcite-color-text-2);border-top:1px solid var(--calcite-color-border-1);height:100%}calcite-menu-item{--calcite-font-size-0:var(--calcite-font-size--0)}",G=j,K=class{constructor(t){y(this,t),this.hubTelemetry=h(this,"hubTelemetry",7),this.productName="ArcGIS Hub Basic",this.emitTelemetry=e=>{let i=e.currentTarget,o={help:Object.assign(Object.assign({},c.dictionary.category.navigation.action.external.label.webHelp),{details:i.href}),changelog:c.dictionary.category.navigation.action.external.label.changelog,blog:c.dictionary.category.navigation.action.external.label.arcGisBlog}[i.getAttribute("data-key")];this.hubTelemetry.emit(o)},this.isMobile=!1}get _context(){return b()}async componentWillLoad(){switch(this.intl=await m.loadIntlForComponent(this.element),this._context.hubLicense){case"hub-premium":this.productName="ArcGIS Hub Premium";break;case"enterprise-sites":this.productName="Enterprise Sites";break;default:this.productName="ArcGIS Hub Basic"}}get menuLinks(){let t=[];if(this._context.isPortal){let e=u(this._context,"portal.helpBase"),o=(u(this._context,"portal.enterpriseVersion")||"12.0.0").split(".").slice(0,2).join("."),a=`${window.location.origin}${e}sites/${o}`;t=[{text:this.intl.t("helpCenter"),href:`${a}/get-started/about-this-application.htm`,key:"help"},{text:this.intl.t("whatIsNew"),href:`${a}/get-started/what-s-new.htm`,key:"help"}]}else t=[{text:this.intl.t("helpCenter"),href:"https://doc.arcgis.com/en/hub/get-started",key:"help"},{text:this.intl.t("changelog"),href:"https://hub.arcgis.com/pages/changelog",key:"changelog"},{text:this.intl.t("blog"),href:"https://www.esri.com/arcgis-blog/products/arcgis-hub",key:"blog"}];return t}render(){let t=this.menuLinks;return n(x,{key:"25c65527b7d09dbab139ba36f6ef87045dd9a41b","data-element":"product-footer","data-ismobile":this.isMobile},n("calcite-menu",{key:"b1cc0db8a0e13bc0aed9173095801152fcd3b363",scale:"s"},n("div",{key:"d55245342eb11437fd39a8655b608bafc36d96c8",class:"product-footer__branding"},this.productName),t.map(e=>n("calcite-menu-item",{"data-key":e.key,href:e.href,key:e.key,onClick:this.emitTelemetry,text:e.text}))))}static get assetsDirs(){return["locales"]}get element(){return g(this)}};K.style=G;var z=':host{display:block}.non-interactive{pointer-events:none}.hide{display:none}calcite-navigation[slot="navigation-secondary"]>:not(:first-child){background-color:var(--calcite-color-foreground-1)}.popover-menu-item-el{margin-right:-0.75rem}',J=z,q=function(t,e,i,o){var a=arguments.length,s=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s},Q={editLayout:c.dictionary.category.navigation.action.view.label.layoutEditor,editSurvey123:c.dictionary.category.navigation.action.external.label.arcGisApplication.details.survey123,editAdvanced:c.dictionary.category.navigation.action.edit.label.advanced,view:c.dictionary.category.navigation.action.view},N=class{get _context(){return b()}constructor(t){y(this,t),this.arcgisHubWorkspaceEntityChange=h(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=h(this,"hubTelemetry",7),this.arcgisHubWorkspaceHeaderLinkClick=h(this,"arcgisHubWorkspaceHeaderLinkClick",7),this.arcgisEntityView=h(this,"arcgisEntityView",7),this.handleOrgLogoClick=e=>{let i=this.useWorkspaceLink?c.dictionary.category.navigation.action.view.label.users.details.workspace:c.dictionary.category.navigation.action.view.label.home.details.workspace;this.hubTelemetry.emit({telemetry:i});let o=e.target.href;this.arcgisHubWorkspaceHeaderLinkClick.emit({clickEvent:e,href:o})},this.handleViewClick=()=>{this.arcgisEntityView.emit()},this.handleLinkClick=e=>{let i=e.currentTarget,o=i.dataset.value,a=i.href||e.target.href,s=Q[i.dataset.name],r=o?{clickEvent:e,pane:o}:{clickEvent:e,href:a};this.arcgisHubWorkspaceHeaderLinkClick.emit(r),_({pane:o,href:a,hubTelemetry:this.hubTelemetry,telemetry:s})},this._handlePortalHomeClick=e=>{e.stopPropagation();let i=E(this.entity);this.hubTelemetry.emit(Object.assign(Object.assign({},c.dictionary.category.navigation.action.external.label.arcGisOnline.details.details),i))},this.entity=void 0,this.site=void 0,this.layout="default",this.isMobile=!1,this.access=void 0,this._popoverMenuItemEl=void 0,v(this,"handleLinkClick","handleOrgLogoClick")}async componentWillLoad(){var t;this.intl=await m.loadIntlForComponent(this.element),this.access=this.convertAccess((t=this.entity)===null||t===void 0?void 0:t.access)}convertAccess(t){return t==="shared"?"private":t}get type(){return L(this.entity)}get canChangeAccess(){var t;let e=!1;return!((t=this._context)===null||t===void 0)&&t.currentUser&&this.entity&&(e=p(`hub:${this.type}:canChangeAccess`,this._context,this.entity).access),e}get hideViewButton(){return["user"].includes(this.type)}get showAccessButton(){return!["user"].includes(this.type)}get hideSharingLink(){return["group"].includes(this.type)}get viewUrl(){let t="",e=T(this.entity);return C(this.entity.type)||(t=H(this._context)),`${t}${e}`}get _popoverItems(){let t=[],{entity:e,_context:i}=this,o=e&&P(e,i.requestOptions);if(o){let a=this._context.isPortal?"openInEnterprise":"openInOnline";t.push({href:o,icon:"launch",key:a,onClick:this._handlePortalHomeClick.bind(this),target:"_blank"})}return t}get editLayoutUrl(){return this.entity?A(this.entity,this._context):void 0}get viewEntityTelemetry(){let t=Object.assign({},c.dictionary.category.navigation.action.view);return delete t.details,t}get useWorkspaceLink(){return p("hub:feature:workspace:user",this._context).access}get orgLogoHref(){return this.useWorkspaceLink?f(this._context):`${W(this._context)}/edit`}get breadcrumbs(){let t=this.intl.t("homeLink.text"),e=f(this._context);return[{title:t,link:e,icon:"home"},{title:this.entity.name,label:`${this.type}: ${this.entity.name}`,icon:O(this.entity.type)}]}renderAccessButton(){var t,e;if(this.showAccessButton)return n(d,null,n("calcite-menu-item",{class:"set-access","data-value":"settings-sharing",disabled:!this.canChangeAccess,iconStart:S((t=this.entity)===null||t===void 0?void 0:t.access),id:"menu-item.set-access",label:this.intl.t("access.share"),onClick:this.handleLinkClick,text:this.intl.t("access.share")}),n("calcite-tooltip",{label:this.intl.t(`access.tooltip.${(e=this.entity)===null||e===void 0?void 0:e.access}`),"reference-element":"menu-item.set-access"},this.intl.t(`access.tooltip.${this.entity.access}`)))}renderPopoverMenu(){let{editLayoutUrl:t,isMobile:e}=this,i=this._popoverItems,o="popoverActions";return i.length?n(d,null,n("calcite-menu-item",{class:"popover-menu-item-el","icon-start":"ellipsis",label:this.intl.t("moreActions"),ref:a=>{this._popoverMenuItemEl=a}}),n("calcite-popover",{autoClose:!0,label:this.intl.t(`${o}.label`),"overlay-positioning":"fixed",placement:e?"auto":"bottom",referenceElement:this._popoverMenuItemEl},e&&t&&n("arcgis-hub-workspace-link",{href:t,relativeToOrigin:!0,telemetry:c.dictionary.category.navigation.action.view.label.layoutEditor},n("calcite-action",{icon:"pencil",text:this.intl.t("editLayout"),"text-enabled":!0})),e&&this.entity.type==="Form"&&n("arcgis-hub-workspace-link",{href:k(this.entity.id,this._context),telemetry:c.dictionary.category.navigation.action.external.label.arcGisApplication.details.survey123},n("calcite-action",{text:this.intl.t("editS123"),"text-enabled":!0})),e&&this.type==="template"&&n("arcgis-hub-workspace-link",{href:u(this.entity,"links.advancedEditRelative"),telemetry:c.dictionary.category.navigation.action.edit.label.advanced},n("calcite-action",{text:this.intl.t("editAdvancedJson"),"text-enabled":!0})),e&&!this.hideViewButton&&n("arcgis-hub-workspace-link",{href:this.viewUrl,relativeToOrigin:!0,telemetry:c.dictionary.category.navigation.action.view},n("calcite-action",{icon:"submit",iconFlipRtl:!0,text:this.intl.t(`view.${this.type}`),"text-enabled":!0})),i.map(a=>{let{href:s,icon:r,key:l,onClick:F,target:V}=a,D=this.intl.t(`${o}.${l}`);return n("calcite-link",{href:s,key:l,target:V},n("calcite-action",{icon:r,iconFlipRtl:!0,onClick:F,text:D,"text-enabled":!0}))}))):null}renderEntityNavigation(){let{editLayoutUrl:t,isMobile:e}=this;if(this.entity)return n("calcite-navigation",{slot:"navigation-secondary"},n("calcite-menu",{scale:"s",slot:"content-start"},this.entity.type!=="User"?n(I,{breadcrumbs:this.breadcrumbs,onClick:this.handleLinkClick}):n("calcite-menu-item",{class:"non-interactive","icon-start":"home",label:this.intl.t("homeLink.text"),text:this.intl.t("homeLink.text"),"text-enabled":!0})),n("calcite-menu",{layout:"horizontal",slot:"content-end"},!e&&t&&n("calcite-menu-item",{"data-name":"editLayout",href:t,"icon-start":"pencil",label:this.intl.t("editLayout"),onClick:this.handleLinkClick,text:this.intl.t("editLayout")}),!e&&this.entity.type==="Form"&&n("calcite-menu-item",{"data-name":"editSurvey123",href:k(this.entity.id,this._context),"icon-start":"pencil",label:this.intl.t("editS123"),onClick:this.handleLinkClick,text:this.intl.t("editS123")}),!e&&this.type==="template"&&n("calcite-menu-item",{"data-name":"editAdvanced",href:u(this.entity,"links.advancedEditRelative"),"icon-start":"pencil",label:this.intl.t("editAdvancedJson"),onClick:this.handleLinkClick,text:this.intl.t("editAdvancedJson")}),!e&&!this.hideViewButton&&(this.layout==="default"?this.renderViewLink():this.renderViewButton()),!e&&this.renderAccessButton(),this.renderPopoverMenu()))}renderViewLink(){let t=this.viewUrl;return n("calcite-menu-item",{class:"view-entity-btn","data-name":"view",href:t,"icon-start":"submit",iconFlipRtl:"both",label:this.intl.t(`view.${this.type}`),onClick:this.handleLinkClick,text:this.intl.t(`view.${this.type}`)})}renderViewButton(){return n("calcite-menu-item",{"icon-start":"submit",iconFlipRtl:"both",id:"button.view-entity",label:this.intl.t(`view.${this.type}`),onClick:this.handleViewClick,text:this.intl.t(`view.${this.type}`)})}get shouldShowAddContent(){return p("hub:feature:workspace",this._context).access}get addContentConfig(){var t;let e=!(!((t=this._context)===null||t===void 0)&&t.isPortal);return{allowGroupSelection:!0,buttonProps:{appearance:"outline-fill",kind:"neutral"},buttonText:this.isMobile?"+":this.intl.t("createContent"),entity:this.entity,showSiteTemplatesButton:e,site:this.site}}showNotice(t){U({title:this.intl.t(`access.alert.${t}`),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:this.intl.t("access.alert.label")}})}render(){var t,e,i,o,a,s,r;let l=((o=(i=(e=(t=this._context)===null||t===void 0?void 0:t.portal)===null||e===void 0?void 0:e.portalProperties)===null||i===void 0?void 0:i.hub)===null||o===void 0?void 0:o.settings.orgType)==="community"?this.intl.t("communityOrg"):"";return n(x,{key:"dc8849a257984840ecf0fe4df51f153da7548b3f","data-element":"workspace-header"},this.layout==="default"?n("calcite-navigation",null,n("calcite-navigation-logo",{description:l,heading:this.isMobile?"":(s=(a=this._context)===null||a===void 0?void 0:a.portal)===null||s===void 0?void 0:s.name,href:this.orgLogoHref,label:this.intl.t("orgWorkspace"),onClick:this.handleOrgLogoClick,slot:"logo",thumbnail:(r=this._context)===null||r===void 0?void 0:r.orgThumbnailUrl}),this.shouldShowAddContent&&n("arcgis-hub-add-content",Object.assign({slot:"content-end"},this.addContentConfig)),n("arcgis-hub-user-profile",{slot:"user",variant:this.isMobile?"minimal":void 0}),this.renderEntityNavigation()):n("calcite-navigation",null,this.renderEntityNavigation()))}static get assetsDirs(){return["locales"]}get element(){return g(this)}};q([w("entity")],N.prototype,"editLayoutUrl",null);N.style=J;var X=":host{display:block;height:100%;overflow-y:scroll}calcite-menu{isolation:isolate}calcite-menu-item{--calcite-color-border-3:white;--calcite-color-text-2:var(--calcite-color-text-3)}",Y=X,Z=function(t,e,i,o){var a=arguments.length,s=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s},R=class{constructor(t){y(this,t),this.hubTelemetry=h(this,"hubTelemetry",7),this.arcgisHubWorkspaceNavigationLinkClick=h(this,"arcgisHubWorkspaceNavigationLinkClick",7),this.activePane="overview",this.entity=void 0,this.isMobile=!1,this.links=[],v(this,"_getWorkspaceLinks","onMenuItemSelect","handleKeyDown")}get _context(){return b()}async handleEntityChange(){await this._getWorkspaceLinks()}get _links(){let t=(e,i,o)=>{var a,s;if(e){let r=t((a=e.children)===null||a===void 0?void 0:a[0],(s=e.children)===null||s===void 0?void 0:s.slice(1),[]);return t(i?.[0],i?.slice(1),[...o,Object.assign(Object.assign({},e),{children:r,open:!!r.length&&r.some(l=>l.pane===this.activePane||l.open)})])}else return o};return t(this.links[0],this.links.slice(1),[])}async componentWillLoad(){this.intl=await m.loadIntlForComponent(this.element),this._getWorkspaceLinks()}async _getWorkspaceLinks(){let t=await $(this.entity,this._context),e=B(),i=e?.isHubHome?["dashboard"]:[];this.links=t.filter(o=>!i.includes(o.pane))}preventRefresh(t){t.preventDefault()}onMenuItemSelect(t){let e=t.currentTarget;if(!e.hasAttribute("data-display-only")){let o=e.getAttribute("data-value");this.arcgisHubWorkspaceNavigationLinkClick.emit({clickEvent:t,pane:o}),_({pane:o,hubTelemetry:this.hubTelemetry})}}handleKeyDown(t){var e;t.preventDefault(),((e=t.key)===null||e===void 0?void 0:e.toLowerCase())==="enter"&&this.onMenuItemSelect(t)}renderWorkspaceNavigationLink(t,e=!1){var i;let o=t.pane===this.activePane,a=`workspace-navigation-${t.pane}`,s=n("calcite-menu-item",{active:o,"data-display-only":t.displayOnly,"data-value":t.pane,href:t.displayOnly?void 0:M(t.pane),iconFlipRtl:this.intl.direction=="ltr"?"start":"end",iconStart:t.icon,id:a,key:t.pane,label:this.intl.t(t.i18nKey),onCalciteMenuItemSelect:this.onMenuItemSelect,onClick:this.preventRefresh,onKeyDown:this.handleKeyDown,open:t.open,slot:e?"submenu-item":"",text:this.isMobile?"":this.intl.t(t.i18nKey)},!!(!((i=t.children)===null||i===void 0)&&i.length)&&t.children.map(r=>this.renderWorkspaceNavigationLink(r,!0)));return this.isMobile?n(d,null,t.pane==="catalog"&&n("arcgis-hub-notice",{noticeId:"20250728-workspace-catalog-popover",popoverReferenceElement:a}),s,n("calcite-tooltip",{referenceElement:a},n("span",null,this.intl.t(t.i18nKey)))):t.pane==="catalog"?n(d,null,n("arcgis-hub-notice",{noticeId:"20250728-workspace-catalog-popover",popoverReferenceElement:a}),s):s}render(){return n(d,{key:"d202e688208383aa2c8a02909ac8b572f3f9a93b"},n("calcite-menu",{key:"a7220ec45938d9d381621745e6072533aa6afed9",class:{mobile:this.isMobile},"data-element":"workspace-navigation",label:this.intl.t("navigation"),layout:"vertical"},!!this.links.length&&this._links.map(t=>this.renderWorkspaceNavigationLink(t))))}static get assetsDirs(){return["locales"]}get element(){return g(this)}static get watchers(){return{entity:["handleEntityChange"]}}};Z([w("links")],R.prototype,"_links",null);R.style=Y;return{arcgis_hub_product_footer:K,arcgis_hub_workspace_header:N,arcgis_hub_workspace_navigation:R}},"config",a)
|
package/dist/cdn/IX65X3RB.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a as i}from"./HBYIM2ZB.js";import{b as t,c as n,d as s,e as a,i as d}from"./BPIU4TRE.js";import"./KMWX2SOF.js";var u=":host{display:block}",g=u,b=class{constructor(e){d(this,e),this.arcgisHubWidgetSelected=a(this,"arcgisHubWidgetSelected",7),this.active=void 0,this.disabled=void 0,this.icon=void 0,this.text=void 0,this.scale="m",this.textEnabled=void 0,this.expanded=void 0,this.visible=void 0,this.actionRef=void 0,i(this,"emitSelected","updateExpanded","setRef")}get parentContainer(){let{el:e}=this;return e&&e.closest("arcgis-hub-map-widget-container")}connectedCallback(){let{parentContainer:e}=this;e&&(this.updateExpanded(),e.addEventListener("calciteActionPadToggle",this.updateExpanded))}disconnectedCallback(){let{parentContainer:e}=this;e&&e.removeEventListener("calciteActionPadToggle",this.updateExpanded)}emitSelected(){this.arcgisHubWidgetSelected.emit()}updateExpanded(){var e;this.expanded=(e=this.parentContainer)===null||e===void 0?void 0:e.expanded}setRef(e){this.actionRef=e}async setFocus(){this.actionRef.setFocus()}render(){let{active:e,disabled:c,icon:r,scale:o,text:l,expanded:h,textEnabled:p}=this;return t(n,{key:"68a85b6bbccc3571999cf8d06366123dfda74272"},this.parentContainer&&t("calcite-action",{active:e,disabled:c,icon:r,onClick:this.emitSelected,ref:this.setRef,scale:o,text:l,textEnabled:p||h}))}get el(){return s(this)}};b.style=g;export{b as arcgis_hub_map_widget_generic};
|
package/dist/cdn/J2UW7HGJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a as l}from"./4YNWA5S7.js";import{b as f}from"./2KEAKFSU.js";import"./PSN3IIC7.js";import"./FF5Q53JD.js";import"./4KDJ7GHI.js";import"./QK77AH2M.js";import"./AJBJ5XXR.js";import"./R2QYUAGX.js";import{f as T}from"./NCHU2CTI.js";import"./OTG5MB2A.js";import"./ATBHRNGC.js";import{a as S}from"./42762WPH.js";import"./64JWNJSW.js";import"./URQFN3T2.js";import"./GLIJF77V.js";import"./QUZAMNGY.js";import"./2RPZRS5Z.js";import"./F2SWKIEV.js";import"./ILXLIZ5H.js";import"./UWNE36RB.js";import"./AI7LPR33.js";import"./CD6WF7DL.js";import"./53N6S4MA.js";import"./TC5RKFCP.js";import"./R3FHCD7X.js";import{a as m}from"./HBYIM2ZB.js";import{c as C,g as u}from"./3MZDJEZX.js";import"./BKCVEBCJ.js";import{a as p}from"./CPCUKDI4.js";import"./6IMHQGJP.js";import{a as b}from"./UHK66GSM.js";import"./PIG52NCS.js";import"./JG4UKAML.js";import{b as i,c as k,d as E,e as g,i as w}from"./BPIU4TRE.js";import"./IF44HEKV.js";import"./P6LFAAYR.js";import"./W6S7CJLV.js";import"./XPDCBYSK.js";import"./ETLH7A4C.js";import"./W5WRWKUG.js";import"./FKN7INJY.js";import"./AMOHS7P3.js";import"./D42Y3KKY.js";import"./RJAGUN4A.js";import"./AGG6S4XL.js";import"./KMWX2SOF.js";export default $arcgis.t(([])=>{var A='.sc-arcgis-hub-entity-registrants-h{display:block;height:100%}div[slot="title"].sc-arcgis-hub-entity-registrants{display:flex;align-items:center;justify-content:space-between}.content-tab-container.sc-arcgis-hub-entity-registrants{overflow:hidden}div[slot="title"].sc-arcgis-hub-entity-registrants h1.sc-arcgis-hub-entity-registrants{margin:0px;font-size:var(--calcite-font-size-3);line-height:2rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}arcgis-hub-workspace-pane.sc-arcgis-hub-entity-registrants{--arcgis-hub-workspace-pane-max-width:55rem;--arcgis-configuration-form-footer-max-width:800px;--arcgis-configuration-form-footer-scalable-padding:0.5rem}calcite-tab.sc-arcgis-hub-entity-registrants{margin-top:2rem}arcgis-hub-entity-editor.sc-arcgis-hub-entity-registrants{width:100%}calcite-tabs.sc-arcgis-hub-entity-registrants{display:block;width:100%}calcite-tab.sc-arcgis-hub-entity-registrants{padding:0px}',R=A,h=function(e,t,a,r){var n=arguments.length,s=n<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,a):r,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,a,r);else for(var y=e.length-1;y>=0;y--)(d=e[y])&&(s=(n<3?d(s):n>3?d(t,a,s):d(t,a))||s);return n>3&&s&&Object.defineProperty(t,a,s),s},v={noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success"},o;(function(e){e.REGISTRANTS="Registrants",e.SETTINGS="Settings"})(o||(o={}));var c=class{async componentWillLoad(){this.intl=await b.loadIntlForComponent(this.element)}constructor(e){w(this,e),this.arcgisHubWorkspaceEntityChange=g(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=g(this,"hubTelemetry",7),this.handleEditorChanged=t=>{t.stopPropagation(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.values,isDirty:!0})},this.handleEditorSaved=t=>{t.stopPropagation(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.entity,isDirty:!t.detail.isSuccess})},this.handleGallerySelection=t=>{this.gallerySelection=t.detail},this.handleOnArcgisHubGalleryBulkAction=async t=>{let{selection:a}=t.detail;try{await Promise.all(a.map(r=>T(r,this._context.hubRequestOptions).then(n=>(this.gallerySelection=Object.assign(Object.assign({},this.gallerySelection),{eventAttendee:this.gallerySelection.eventAttendee.filter(s=>s!==r)}),n)))),u({title:this.intl.t("success.delete",{eventName:this.entity.name}),message:"",configuration:Object.assign(Object.assign({},v),{label:this.intl.t("notice.label")})})}catch(r){console.error(`Failed to remove registration: ${r}`),u({title:this.intl.t("error.delete"),message:"",configuration:Object.assign(Object.assign({},v),{kind:"danger",label:this.intl.t("notice.label")})})}this.galleryElement.refresh()},this.attendeeCardModelCallback=(t,a,r,n)=>Object.assign(Object.assign({},t),{additionalInfo:[...t.additionalInfo,{label:this.intl.t("facets.location.header"),value:this.intl.t({IN_PERSON:"facets.location.in_person",VIRTUAL:"facets.location.online"}[n.rawResult.type])}]}),this.renderRegistrantsTab=()=>i("arcgis-hub-gallery",{bulkActions:this.bulkActions,callback:this.attendeeCardModelCallback,cardTitleTag:"attendee",facets:this.facets,gallerySelection:this.gallerySelection,linkTarget:"siteRelative",mobileView:this.isMobile,onArcgisHubGalleryBulkAction:this.handleOnArcgisHubGalleryBulkAction,onArcgisHubGallerySelect:this.handleGallerySelection,query:this.query,ref:t=>{this.galleryElement=t},selectionMode:"multiple",showAdditionalInfo:!0,showEmptyState:!0,showFacets:!0,showResultsCount:!0,showSearch:!0,showSort:!0,showType:!1,sortField:"modified",sortOptions:this.sortOptions}),this.renderSettingsTab=()=>i("arcgis-hub-entity-editor",{editorType:"hub:event:registrants",entity:this.entity,footerSlotRef:this.footerSlotElement,onArcgisHubEntityEditorChange:this.handleEditorChanged,onArcgisHubEntityEditorSaved:this.handleEditorSaved,variant:f.workspace}),this.entity=void 0,this.isMobile=!1,this.selectedPrimaryTab=o.REGISTRANTS,this.footerSlotElement=void 0,this.galleryElement=void 0,this.gallerySelection={},this.isDirty=!1,this.attemptedClick=void 0,m(this,"handlePrimaryTabSelect","handlePrimaryTabKeyDown","handleEditorChanged","handleEditorSaved","handleGallerySelection","handleOnArcgisHubGalleryBulkAction","handleEntityChange")}get _context(){return C()}get tabConfigurations(){return[{title:this.intl.t("tabs.registrants"),key:o.REGISTRANTS,telemetry:p.dictionary.category.navigation.action.view.label.registrants,content:this.renderRegistrantsTab},{title:this.intl.t("tabs.settings"),key:o.SETTINGS,telemetry:p.dictionary.category.navigation.action.view.label.settings,content:this.renderSettingsTab}]}get query(){return{targetEntity:"eventAttendee",filters:[{predicates:[]}],properties:{eventId:this.entity.id}}}get facets(){let{intl:e}=this,t=[{label:e.t("facets.updatedDate"),field:"updatedDateRange",key:"updatedDateRange",display:"date-range",state:"open"}];return this.entity.attendanceType===S.Both&&t.splice(0,0,{label:e.t("facets.location.header"),key:"attendanceType",display:"multi-select",operation:"OR",options:[{label:e.t("facets.location.online"),key:"virtual",selected:!1,predicates:[{attendanceType:"virtual"}]},{label:e.t("facets.location.in_person"),key:"in_person",selected:!1,predicates:[{attendanceType:"in_person"}]}]}),t}get sortOptions(){return["modified","created","username","firstName","lastName"]}get bulkActions(){return{actions:[{name:"delete",icon:"user-minus",text:this.intl.t("delete.attendee")}]}}handlePrimaryTabSelect(e){if(e.preventDefault(),e.stopImmediatePropagation(),this.isDirty){this.attemptedClick={tab:e.target.tab,clickEvent:e};return}else{this.selectedPrimaryTab=e.target.tab;let{telemetry:t}=this.tabConfigurations.find(({key:a})=>a===this.selectedPrimaryTab);this.hubTelemetry.emit(t)}}handlePrimaryTabKeyDown(e){switch(e.key){case" ":case"Enter":this.handlePrimaryTabSelect(e);return}}handleDirtyStateModalClosed(e){e.detail?this.attemptedClick=null:(this.isDirty=!1,this.selectedPrimaryTab=this.attemptedClick.tab,this.attemptedClick=null)}handleEntityChange(e){this.isDirty=e.detail.isDirty}renderTabs(){let e=this.tabConfigurations;return i("calcite-tabs",null,i("calcite-tab-nav",{slot:"title-group"},e.map(t=>i("calcite-tab-title",{key:t.key,onClick:this.handlePrimaryTabSelect,onKeyDown:this.handlePrimaryTabKeyDown,selected:this.selectedPrimaryTab===t.key,tab:t.key},t.title))),e.map(t=>i("calcite-tab",{class:"registrants-tab-container",key:t.key,selected:this.selectedPrimaryTab===t.key,tab:t.key},t.content())))}get shouldShowDirtyStateModal(){return!!this.attemptedClick}renderDirtyStateModal(){return this.shouldShowDirtyStateModal?i("arcgis-hub-workspace-dirty-state-modal",{"is-open":!0}):null}render(){return i(k,{key:"f4f4f3fe458d627d63c03cebe831f1539230a8db","data-element":"entity-registrants"},i("arcgis-hub-workspace-pane",{key:"39e3756822d712a65019d50cb1f63204ec1bfb39",isMobile:this.isMobile,"sticky-footer":!0},i("div",{key:"465bec9beb676359772eb0b79b6717966f7515af",slot:"title"},i("h1",{key:"48dee1f7d5805c69e2b6cd7da09672e936e0936e"},this.intl.t("registrants"))),this.renderTabs(),this.selectedPrimaryTab===o.SETTINGS&&i("div",{ref:e=>{this.footerSlotElement=e},slot:"footer"})),this.renderDirtyStateModal())}static get assetsDirs(){return["locales"]}get element(){return E(this)}};h([l()],c.prototype,"query",null);h([l("entity.attendanceType")],c.prototype,"facets",null);h([l()],c.prototype,"sortOptions",null);h([l()],c.prototype,"bulkActions",null);c.style=R;return c},"config")
|
package/dist/cdn/J3DJZ47L.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a as b}from"./VDCHLG4A.js";import{a as m}from"./ONTVBO5J.js";import{a as e,b as a}from"./GT6IVLQZ.js";import{a as p}from"./JKJ2LIUQ.js";import"./UVSCBT6D.js";import{C as c,D as h,I as r,a as n,d as t,n as s}from"./ABAYXCCF.js";import{f as d}from"./KMWX2SOF.js";var o=d(m(),1);var u=n`:host{display:flex;height:100%;.innerContent{overflow-wrap:break-word;height:100%}.hidden{display:none}.aboutPanel{padding:10px;font-size:1rem}.map-panel-outer{height:100%;display:flex;flex-direction:column}::slotted([slot="map"]){flex-grow:1}}`,l=class extends c{constructor(){super(...arguments),this._messages=p({blocking:!0}),this._chatAction=e(),this._aboutAction=e(),this._contentPanel=e(),this._aboutPanel=e(),this._toggleMap=()=>{this.mapVisible=!this.mapVisible,this.arcgisUpdateMapVisibility.emit(this.mapVisible);let i=this.mapVisible?o.dictionary.category.interaction.action.open.label.panel.details.search:o.dictionary.category.interaction.action.close.label.panel.details.search;this.hubTelemetry.emit({...i,details:"Map"})},this._handleChatClick=()=>{this._toggleChatAndAbout("chat")},this._handleAboutClick=()=>{this.activePanelMode==="about"?this._toggleChatAndAbout("chat"):this._toggleChatAndAbout("about")},this.activePanelMode="chat",this.mapEnabled=!1,this.mapVisible=!1,this.aboutVisible=!1,this.map=void 0,this.featureTable=void 0,this.chatComponent=void 0,this.aboutContent=void 0,this.arcgisUpdateMapVisibility=s(),this.hubTelemetry=s()}static{this.properties={activePanelMode:16,mapEnabled:5,mapVisible:5,aboutVisible:5,map:0,featureTable:0,chatComponent:0,aboutContent:1}}static{this.styles=u}_toggleChatAndAbout(i){this._chatAction.value&&this._aboutAction.value&&this._contentPanel.value&&this._aboutPanel.value&&this.activePanelMode!==i&&(this.activePanelMode=i,this._chatAction.value.toggleAttribute("active"),this._aboutAction.value.toggleAttribute("active"),this._contentPanel.value.classList.toggle("hidden"),this._aboutPanel.value.classList.toggle("hidden"))}renderDefaultAboutContent(){return t`<div style="padding: 20px"><h2>${this._messages.aboutHeader}</h2><p>${this._messages.aboutDescription}</p></div>`}render(){return t`<calcite-action-bar><calcite-action .text=${this._messages.chatAction} icon=speech-bubble active @click=${this._handleChatClick} ${a(this._chatAction)}></calcite-action>${this.mapEnabled&&t`<calcite-action icon=map-pin .text=${this._messages.mapAction} .active=${this.mapVisible} @click=${this._toggleMap}></calcite-action>`||""}<calcite-action icon=information .text=${this._messages.aboutAction} @click=${this._handleAboutClick} ${a(this._aboutAction)}></calcite-action><calcite-tooltip slot=expand-tooltip>${this._messages.actionsTooltip}</calcite-tooltip></calcite-action-bar><calcite-panel ${a(this._contentPanel)}><slot name=leftPanel class="innerContent"></slot></calcite-panel><calcite-panel class="hidden" ${a(this._aboutPanel)}>${this.aboutContent?t`<div class="innerContent aboutPanel" .innerHTML=${b(this.aboutContent)??""}></div>`:t`<div class="innerContent aboutPanel">${this.renderDefaultAboutContent()}</div>`}</calcite-panel><calcite-panel class=${h(this.mapVisible?"":"hidden")}><div class="map-panel-outer"><slot name=map></slot><slot name=featureTable></slot></div></calcite-panel>`}};r("arcgis-chat-shell",l);export{l as ChatShell};
|
package/dist/cdn/J3SMUV34.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a as t,h as n}from"./VWQKYKYW.js";import"./CM5YWL7N.js";import{a as o}from"./JKJ2LIUQ.js";import{C as i,I as a,d as s}from"./ABAYXCCF.js";import"./KMWX2SOF.js";var e=class extends i{constructor(){super(...arguments),this._messages=o()}static{this.properties={layoutNodeConfig:32,entity:0}}get _entityType(){return this.entity&&n(this.entity)}get _status(){return t(this.entity||{},"status")}get layoutNodeConfig(){return{name:"Entity status card",tag:"arcgis-hub-entity-status-card",canEdit:!1,canMove:!0,canAdjustVisibility:!0,i18n:{label:t(this._messages,`layoutNodeConfig.label.${this._entityType}`),description:t(this._messages,`layoutNodeConfig.description.${this._entityType}`),editLabel:t(this._messages,`layoutNodeConfig.edit.${this._entityType}`),deleteLabel:t(this._messages,`layoutNodeConfig.delete.${this._entityType}`),repositionUpLabel:t(this._messages,`layoutNodeConfig.up.${this._entityType}`),repositionDownLabel:t(this._messages,`layoutNodeConfig.down.${this._entityType}`)},defaults:{}}}render(){return this.entity&&s`<calcite-chip .icon=${this._status==="complete"?"check":""} .label=${t(this._messages,this._status)} scale=l>${t(this._messages,this._status)}</calcite-chip>`||""}};a("arcgis-hub-entity-status-card",e);export{e as ArcgisHubEntityStatusCard};
|
package/dist/cdn/J4VS5GJD.js
DELETED
package/dist/cdn/J5H7KZBD.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import d from"./FYO2OMNH.js";import c from"./K6UBZX64.js";import b from"./MFL2KV7C.js";import a from"./RYYKL75T.js";import"./BPIU4TRE.js";import"./AMOHS7P3.js";import"./RJAGUN4A.js";import"./KMWX2SOF.js";export default $arcgis.t(([,,,,,,,,,,,,,,{$:A,Pa:M,Za:m,h:z,ub:P,wa:E,xa:t},{Q:S,ea:L,ga:b,h:a,ha:C,ia:_,o:g,p:c,r:h,s:p,t:v,u:x,x:u},{a:w,b:F,c:I,d:$},T])=>{var X=i=>{x(i,null),v(i,null),p(i,null),h(i,null)},k=i=>{let{name:e,axisIndex:s,config:r,layerInfo:y}=i,{layerFieldsInfo:o}=y,n=o.find(d=>d.name===e),l=n!==void 0&&P(n);u(r,s,l)},q=async i=>{let{x:e,y:s,config:r,layerInfo:y}=i,{layerFieldsInfo:o}=y,n=m(o,e),l=m(o,s);if(a(e)||c(r,0,n),a(s)||c(r,1,l),!a(e)&&!a(s)){let d=await g(),Z=A(d.titleLabels.xAndY,{x:n,y:l});r.title?.content&&(r.title.content.text=Z)}},Y=i=>i.series[0]?.x??"",D=i=>i.series[0]?.y??"",B=async(i,e,s)=>{X(e),e.series[0]&&(e.series[0].x=i),await q({x:i,y:D(e),config:e,layerInfo:s}),k({name:i,axisIndex:0,config:e,layerInfo:s})},O=async(i,e,s)=>{X(e),e.series[0]&&(e.series[0].y=i),await q({x:Y(e),y:i,config:e,layerInfo:s}),k({name:i,axisIndex:1,config:e,layerInfo:s})},G=i=>{let e={};return i.series[0]?.markerSymbol??e},J=(i,e)=>{e.series[0]&&(e.series[0].markerSymbol=i)},W=i=>(i.series[0]?.overlays?.trendLine?.visible??!0)&&(i.series[0]?.overlays?.trendLine?.created??!1),j=i=>{let e={};return i.series[0]?.overlays?.trendLine?.symbol??e},H=(i,e)=>{e.series[0].overlays??=t(),e.series[0].overlays.trendLine??=t().trendLine,e.series[0].overlays.trendLine.symbol=i},K=(i,e)=>{e.series[0].overlays??=t(),e.series[0].overlays.trendLine??=t().trendLine,e.series[0].overlays.trendLine.visible=i},Q=(i,e)=>{!(e.series[0]?.overlays?.trendLine?.created??!1)&&i&&(e.series[0].overlays??=t(),e.series[0].overlays.trendLine??=t().trendLine,e.series[0].overlays.trendLine.created=i),K(i,e)},U=i=>i.series[0]?.sizePolicy??E(),R=(i,e)=>{e.series[0]&&(i!==void 0&&i.field?.trim()!==""?e.series[0].sizePolicy={...e.series[0].sizePolicy,...i}:e.series[0].sizePolicy=void 0)},V=i=>i?.series?.[0]?.overlays,N=(i,e)=>{e?.series[0]!==void 0&&(e.series[0].overlays=i)},f=class extends L{constructor(){super(...arguments),this._chartType=z.ScatterSeries}async setup(e){await this.loadConfigFromLayer(e),this.resolveSetup()}getXAxisField(){return Y(this._config)}async setXAxisField(e){await B(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setXAxisField")}getYAxisField(){return D(this._config)}async setYAxisField(e){await O(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setYAxisField")}getShowLinearTrend(){return W(this._config)}setShowLinearTrend(e){Q(e,this._config),this.emitConfigUpdate("setShowLinearTrend")}getLinearTrendSymbol(){return j(this._config)}setLinearTrendSymbol(e){H(e,this._config),this.emitConfigUpdate("setLinearTrendSymbol")}getFixedMarkerSymbol(){return G(this._config)}setFixedMarkerSymbol(e){J(e,this._config),this.emitConfigUpdate("setFixedMarkerSymbol")}getSizePolicy(){return U(this._config)}setSizePolicy(e){let s=U(this._config);T(s,e)||(R(e,this._config),this.emitConfigUpdate("setSizePolicy"))}getSeriesOverlays(){return V(this._config)}setSeriesOverlays(e){N(e,this._config),this.emitConfigUpdate("setSeriesOverlays")}async generateDefaultConfig(){return await M()}};S(f,[b,F,I,w,$,C,_]);return f},"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)
|
package/dist/cdn/J6J7Z4MI.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import h from"./4AML3Q4X.js";import g from"./TM55OBKT.js";import f from"./LGNWUPUP.js";import e from"./LX2S4DSV.js";import d from"./4SIPQSNO.js";import c from"./K6UBZX64.js";import b from"./MFL2KV7C.js";import a from"./RYYKL75T.js";import"./BPIU4TRE.js";import"./AMOHS7P3.js";import"./RJAGUN4A.js";import"./KMWX2SOF.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/JFZNXTLV.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import f from"./LX2S4DSV.js";import e from"./4SIPQSNO.js";import d from"./FYO2OMNH.js";import c from"./K6UBZX64.js";import b from"./MFL2KV7C.js";import a from"./RYYKL75T.js";import"./BPIU4TRE.js";import"./AMOHS7P3.js";import"./RJAGUN4A.js";import"./KMWX2SOF.js";export default $arcgis.t(([,,,,,,,,,,,,,,{$:O,Aa:Ae,Ea:$,Ka:De,Va:D,Za:F,b:y,ca:Le,da:Z,ea:A,ga:S,gb:E,h:f,ha:Me,kb:Ee,ma:H,n:b,na:_e,oa:Oe,ob:Te,ta:N,ua:Q,v:h,vb:Ue,w:Ie,xb:ee,yb:ie},{N:de,O:ye,P:fe,Q:he,R:ge,b:K,ea:me,g:R,ga:ue,h:ne,i:M,ia:pe,j:I,n:ae,o:_,p:L,r:V,s:q,v:le,w:ce},{a:Se,b:we,c:be,d:Ce},Be,Fe,{a:xe,b:j,c:ve,d:Y}])=>{var ii=(t,e)=>e?.series?.[t]?.name,ke=(t,e,i)=>{let s=i;s?.series?.[e]!==void 0&&(s.series[e].name=t)},ti=(t,e)=>{let i,s=e.series?.[t];return s?.type===f.BoxPlotSeries?i=s.fillSymbol?.color:s?.type===f.LineSeries&&(i=s.lineSymbol?.color),i},We=t=>{let e=t.series[0];return t.showMean===!0&&M(e)?e.fillSymbol?.color:void 0},te=(t,e)=>{let i=e.series[0];e.showMean===!0&&M(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=t:i.fillSymbol={...N(),color:t})},Ve=(t,e,i)=>{let s=i?.series?.[e];s?.type===f.BoxPlotSeries&&s.fillSymbol!==void 0?s.fillSymbol.color=t:s?.type===f.LineSeries&&s.lineSymbol!==void 0&&(s.lineSymbol.color=t,s.markerSymbol!==void 0&&(s.markerSymbol.color=t))},Xe=t=>t.series.map(e=>e.id),Ge=(t,e)=>{e?.series?.sort((i,s)=>t.findIndex(o=>i.id===o)-t.findIndex(o=>s.id===o))},si=(t,e,i)=>{let s=Xe(i),[o]=s.splice(t,1);s.splice(e,0,o),Ge(s,i)},oi=t=>W(t)?t.series.findIndex(e=>e.type===f.BoxPlotSeries):-1,x=t=>E(t)?.x??S,X=K(t=>{let e=E(t),i=e?.query?.where?.split("=")[0].trim()??"";return Ee(e?.query?.where)?"":i},t=>E(t)?.query?.where),T=K(t=>Te(t?.series).filter(e=>e!==""),t=>t?.series),P=async t=>{let{category:e,seriesIndex:i,y:s}=t,o={...await $(i),x:e===void 0||e===""?S:e,y:s,query:{}};return R(o)},ri=async t=>{let{category:e,seriesIndex:i,y:s}=t,o={...await Ae({seriesIndex:i}),x:e===void 0||e===""?S:e,y:s,query:{}};return R(o)};async function Je(t){let{x:e,y:i,seriesTemplate:s}=t,{id:o,fillSymbol:r}=s??{},n=await $(),a=o??`series_${Date.now()}`;return n.id=a,n.name=a,n.x=e,n.y=i,r?n.fillSymbol=r:n.fillSymbol&&(n.fillSymbol.color=D,n.fillSymbol?.outline&&(n.fillSymbol.outline.color=D)),n}async function Ke(t){let{numericFields:e,config:i,layerInfo:s,category:o}=t,{layerFieldsInfo:r}=s,n=[],a=o??x(i),l=!1;if(e.length===0){let c=await P({y:"",seriesIndex:0,category:a});n.push(c)}else if(a===S){let c=await _(),d=e.length>1?e:e[0],v=await P({y:d,seriesIndex:0,category:a}),m=e.length>1?c.axisLabels.values:F(s.layerFieldsInfo,e[0]),w={...v,id:e[0],name:m,x:a},u=i.series.find(g=>Be(d,g.y)&&g.query?.where===void 0);u!==void 0&&(!i.colorMatch&&"fillSymbol"in u&&(w.fillSymbol=u.fillSymbol,l=!0),w.id=u.id,w.name=u.name),n.push(w)}else for(let c=0;c<e.length;c+=1){let d=e[c],v=await P({y:d,seriesIndex:c,category:a}),m=F(r,d),w={...v,id:d,name:m,x:a},u=i.series.find(g=>d===g.y);u!==void 0&&(!i.colorMatch&&"fillSymbol"in u&&(w.fillSymbol=u.fillSymbol,l=!0),w.id=u.id,w.name=u.name),n.push(w)}return i.series.length===1&&n.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(n[0].fillSymbol=i.series[0].fillSymbol,l=!0),i.colorMatch=!l,n}var Re=t=>t?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",ni=t=>t.series.some(e=>e.type===f.LineSeries)&&t.series.some(e=>e.type===f.BoxPlotSeries);async function ai(t,e){let i=[];return t.forEach(s=>{if(s.type===f.BoxPlotSeries){let{type:o,fillSymbol:r,...n}=s;i.push({...n,type:f.LineSeries,lineSymbol:{...H({width:A}),...r!==void 0?{color:r.color}:{}},markerSymbol:{...Q(),...r!==void 0?{color:r.color}:{}}})}}),i.unshift(await Je({x:t[0].x,y:t[0].y,seriesTemplate:e})),i}function li(t){let e=t.slice(1),i=[];return e.forEach(s=>{if(s.type===f.LineSeries){let{type:o,lineSymbol:r,markerSymbol:n,...a}=s,l=N();i.push({...a,type:f.BoxPlotSeries,fillSymbol:{...l,color:r?.color}})}}),i}function je(t){let{formerSeries:e,newSeries:i,showMean:s}=t,o=i,r=l=>l.type===(s?f.LineSeries:f.BoxPlotSeries),n=e.filter(r).map(l=>l.id),a=i.filter(r).map(l=>l.id);return n.length===a.length&&JSON.stringify(n)!==JSON.stringify(a)&&(o=o.sort((l,c)=>n.findIndex(d=>d===l.id)-n.findIndex(d=>d===c.id))),o}async function ci(t){let{config:e,layerInfo:i,splitByField:s,numericFields:o,category:r}=t,{layer:n,layerFieldsInfo:a}=i,{fetchNullValues:l}=E(e)?.query??{},c=r??x(e),{categoriesArray:d,splitByFieldType:v}=await de({config:e,layer:n,layerFieldsInfo:a,xAxisField:c!==S?c:void 0,aggregationFields:o,splitByField:s,fetchNullValues:l}),m=[],w=!1,u=ni(e);if(d.length===0){m=await Ke({numericFields:o,category:c,config:e,layerInfo:i});for(let g of m)g.query&&(g.query.where=`${s}=''`)}else for(let g=0;g<d.length;g+=1){let B=d[g],k={y:o,seriesIndex:g,category:c},re=u?await ri(k):await P(k),He={fieldName:s,fieldValueToMatch:B??"",subtypeInfo:ee(i.layer),fieldList:i.layerFieldsInfo},Qe=ie(He),J=`${B}`,C={...re,id:J,name:Qe??J,x:c===void 0||c===""?S:c,query:{...re.query,where:`${s}=${v===Ie.String&&B!==null?`'${B}'`:B}`}},p=e.series.find(ei=>Re(ei)===J);p!==void 0&&(e.colorMatch||(C.type===f.BoxPlotSeries?M(p)?C.fillSymbol=p.fillSymbol:C.fillSymbol={...N(),color:p.lineSymbol?.color}:M(p)?(C.lineSymbol={...H({width:A}),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}},C.markerSymbol={...Q(),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}}):(C.lineSymbol=p.lineSymbol,C.markerSymbol=p.markerSymbol),w=!0),C.id=p.id,C.name=p.name),m.push(C)}if(m=je({formerSeries:e.series,newSeries:m,showMean:W(e)}),e.colorMatch=!w,W(e)){let g=e.series.find(k=>k.type===f.BoxPlotSeries),B=await Je({x:c,y:o,seriesTemplate:g});m.unshift(B)}return m}var G=async t=>{let{splitByField:e,numericFields:i,category:s,config:o,layerInfo:r}=t,n=!(i.length>1&&s!==S)&&e!=="";Ze(n?o.showMean:!1,o),o.series=n?await ci({config:o,layerInfo:r,splitByField:e,numericFields:i,category:s}):await Ke({numericFields:i,config:o,layerInfo:r,category:s})},Ye=t=>t?.standardizeValues??!1;async function U(t,e){let{layerFieldsInfo:i}=e,s=Ye(t),o=await _(),r=s?o.axisLabels.standardizedValues:o.axisLabels.values,n=t?.series?.map(a=>a.y).flat();return n=[...new Set(n)],n.length===1&&(r=F(i,n[0])),r}async function oe(t,e){let{layerFieldsInfo:i}=e,s=x(t),o=T(t),r=X(t),n=o.map(d=>F(i??[],d)).join(", "),a=F(i??[],s),l="",c=await _();return o.length>0&&(s!==S&&r!==""?l=O(c.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:n,category:a,splitByField:r}):s!==S?l=O(c.titleLabels.distributionOfFieldsByCategory,{valueFields:n,category:a}):r!==""?l=O(c.titleLabels.distributionOfFieldsByCategory,{valueFields:n,category:r}):l=O(c.titleLabels.distributionOfField,{valueField:n})),l}var di=async(t,e,i)=>{let{layerFieldsInfo:s}=i,o=x(e),r=X(e),n=T(e),a=Ue(s),l;!a.includes(o)&&a.includes(t)?l=Oe():a.includes(o)&&!a.includes(t)&&(l=_e()),l!==void 0&&ce(e,l),await G({splitByField:r,numericFields:n,category:t,config:e,layerInfo:i});let c=t!==S?F(s,t):"";L(e,0,c);let d=await U(e,i);L(e,1,d),e?.title!==void 0&&(e.title.content.text=await oe(e,i)),q(e,null),V(e,null)},yi=async(t,e,i)=>{let s=x(e),o=X(e);await G({splitByField:o,numericFields:t,category:s,config:e,layerInfo:i});let r=await U(e,i);L(e,1,r),e?.title!==void 0&&(e.title.content.text=await oe(e,i)),q(e,null),V(e,null)},qe=t=>{let{series:e,splitByField:i,layerInfo:s,commonStrings:o}=t,r=typeof e.y=="string"?F(s.layerFieldsInfo,e.y):o.axisLabels.values;ne(i)||(r=Re(e));let n={fieldName:i,fieldValueToMatch:r??"",subtypeInfo:ee(s.layer),fieldList:s.layerFieldsInfo};return r=ie(n)??r,r??e.id},fi=async(t,e,i)=>{let s=x(e),o=T(e);await G({splitByField:t,numericFields:o,category:s,config:e,layerInfo:i});let r=await U(e,i);L(e,1,r),e?.title!==void 0&&(e.title.content.text=await oe(e,i)),q(e,null),V(e,null)},hi=t=>t?.showOutliers??!1,gi=async(t,e,i)=>{e.showOutliers=t;let s=await U(e,i);L(e,1,s)},mi=async(t,e,i)=>{e.standardizeValues=t;let s=await U(e,i);L(e,1,s)},z=t=>{let e=y.xAxisAsc,i=t.orderOptions?.data?.orderType??h.Category,s=t.orderOptions?.data?.orderBy??b.Ascending;switch(i){case h.Category:e=Array.isArray(s)?y.customSort:s===b.Ascending?y.xAxisAsc:y.xAxisDesc;break;case h.Mean:e=s===b.Ascending?y.meanAsc:y.meanDesc;break;case h.Median:e=s===b.Ascending?y.medianAsc:y.medianDesc;break}return e},Ne=(t,e,i)=>{let s=h.Category,o=b.Ascending;if(e.orderOptions=e.orderOptions??{},t===y.customSort&&i!==void 0)e.orderOptions.data={orderType:h.Category,orderBy:i};else{switch(t){case y.xAxisAsc:{s=h.Category,o=b.Ascending;break}case y.xAxisDesc:{s=h.Category,o=b.Descending;break}case y.meanAsc:{s=h.Mean,o=b.Ascending;break}case y.meanDesc:{s=h.Mean,o=b.Descending;break}case y.medianAsc:{s=h.Median,o=b.Ascending;break}case y.medianDesc:{s=h.Median,o=b.Descending;break}}e.orderOptions.data={orderType:s,orderBy:o}}},W=t=>t.showMean??!1,Ze=async(t=!1,e,i)=>{let s=t?i:We(e),o=(t??!1)!==(e.showMean??!1);if(e.showMean=t,o){let r;t?r=ae(e.series)?await ai(e.series):e.series:r=li(e.series),r&&(r=je({formerSeries:e.series,newSeries:r,showMean:t}),e.series=r)}return t&&i!==void 0&&te(i,e),{previousMeanLinesBoxColor:s}},$e=t=>{let e=[],i=t.orderOptions?.data?.orderType;return z(t)===y.customSort&&i===h.Category&&(e=t.orderOptions?.data?.orderBy),e},Pe=(t,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;z(e)===y.customSort&&i===h.Category&&(e.orderOptions.data={orderType:h.Category,orderBy:t})},ui=t=>t.dataFilters,pi=(t,e)=>{t!==void 0?e.dataFilters=t:delete e.dataFilters},ze=async(t,e)=>{let i=x(t),s=le(t)?.type,o=T(t),r=[];return s===f.CategoryAxisFormat&&(i===S?r=o:i.trim()!==""&&i!==S&&(r=await ge({layerInfo:e,config:t,category:i}))),r};var se=class extends me{constructor(){super(...arguments),this._chartType=f.BoxPlotSeries}async setup(e){await this.loadConfigFromLayer(e),this.commonStrings=await _(),e.config!==void 0&&await this.updateSeriesFromLayerFilter(),this.resolveSetup()}getCategory(){return x(this._config)}async setCategory(e){await di(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setCategory")}async getCustomSortValues(){return await ze(this._config,this.layerInfo)}getNumericFields(){return T(this._config)}async setNumericFields(e){let{layerFieldsInfo:i}=this.layerInfo;typeof e=="string"&&(e=[e]),fe(i,e)?(await yi(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setNumericFields")):console.log("Invalid numericFields")}getSplitByField(){return X(this._config)}async setSplitByField(e){ye(this.layerInfo.layerFieldsInfo,e)?(await fi(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setSplitByField")):console.log("Invalid splitByField")}getShowOutliers(){return hi(this._config)}async setShowOutliers(e){await gi(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setShowOutliers")}getStandardizeValues(){return Ye(this._config)}async setStandardizeValues(e){await mi(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setStandardizeValues")}getSortOrder(){return z(this._config)}setSortOrder(e,i){Ne(e,this._config,i),this.emitConfigUpdate("setSortOrder")}getOrderByList(){return $e(this._config)}setOrderByList(e){Pe(e,this._config),this.emitConfigUpdate("setOrderByList")}async updateSeriesFromLayerFilter(){await G({splitByField:this.getSplitByField(),numericFields:this.getNumericFields(),category:this.getCategory(),config:this._config,layerInfo:this.layerInfo}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("updateSeriesFromLayerFilter")}getDataFilter(){return ui(this._config)}async setDataFilter(e){pi(e,this._config);let i=z(this._config);if(i===y.customSort){let s=await ze(this._config,this.layerInfo);Ne(i,this._config,s)}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilter")}getShowMeanLines(){return W(this._config)}async setShowMeanLines(e){let{previousMeanLinesBoxColor:i}=await Ze(e,this._config,this.previousMeanLinesBoxColor);this.previousMeanLinesBoxColor=i,this.emitConfigUpdate("setShowMeanLines")}getMeanLinesBoxColor(){return We(this._config)}setMeanLinesBoxColor(e){te(e,this._config),this.emitConfigUpdate("setMeanLinesBoxColor")}async generateDefaultConfig(){let e=await De();return e.series=[await $()],e}async resetConfig(){let e=this._config.id;this._config=await this.generateDefaultConfig(),this._config.id=e,this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}getSeriesName(e){return ii(e,this._config)}setSeriesName(e,i){ke(e,i,this._config),this.emitConfigUpdate("setSeriesName")}getSeriesColor(e){return ti(e,this._config)}setSeriesColor(e,i){Ve(e,i,this._config),this.emitConfigUpdate("setSeriesColor")}getSeriesLineStyle(e){let i=this._config.series[e];if(this.getShowMeanLines()===!0&&I(i))return xe(i)}setSeriesLineStyle(e,i){let s=this._config.series[i];this.getShowMeanLines()===!0&&I(s)&&j(e,s),this.emitConfigUpdate("setSeriesLineStyle")}getSeriesLineWidth(e){let i=this._config.series[e];if(this.getShowMeanLines()===!0&&I(i))return ve(i)}setSeriesLineWidth(e,i){let s=this._config.series[i];this.getShowMeanLines()===!0&&I(s)&&Y(e,s),this.emitConfigUpdate("setSeriesLineWidth")}getOrderOfSeries(){return Xe(this._config)}setOrderOfSeries(e){Ge(e,this._config),this.emitConfigUpdate("setOrderOfSeries")}moveSeries(e,i){si(e,i,this._config),this.emitConfigUpdate("moveSeries")}getBoxPlotSeriesIndexWhenMeanLinesShown(){return oi(this._config)}moveCustomSortValuesInOrderByList(e,i){let s=$e(this._config),[o]=s.splice(e,1);s.splice(i,0,o),Pe(s,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")}resetSeriesStyling(){let e=this.getSeriesLength(),i=this.getShowMeanLines();for(let s=i===!0?1:0;s<e;s+=1){let o=this.getSeriesId(s),r=Me({colorIndex:s,opacity:Le}),n=this._config.series[s];Ve(r,s,this._config);let a=qe({series:n,splitByField:this.getSplitByField(),layerInfo:this.layerInfo,commonStrings:this.commonStrings});ke(a??o,s,this._config),i===!0&&I(n)&&(j(Z,n),Y(A,n))}i===!0&&te(D,this._config),this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let e=!this.getColorMatch(),i=this.getShowMeanLines(),s=i===!0&&this.getMeanLinesBoxColor()!==D,o=!1,r=!1;if(!e){let n=this.getSeriesLength();for(let a=i===!0?1:0;a<n;a+=1){let l=this._config.series[a],c=qe({series:l,splitByField:this.getSplitByField(),layerInfo:this.layerInfo,commonStrings:this.commonStrings}),d=this.getSeriesName(a);if(c!==void 0&&c!==d){o=!0;break}if(i===!0&&I(l)){let v=this.getSeriesLineStyle(a),m=this.getSeriesLineWidth(a);if(v!==Z||m!==A){r=!0;break}}}}return e||s||o||r}};he(se,[ue,we,be,Se,Fe,Ce,pe]);return se},"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)
|
package/dist/cdn/JG4UKAML.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
var a={Arabic:"ar",Bulgarian:"bg",Bosnian:"bs",Catalan:"ca",Czech:"cs",Danish:"da",German:"de",Greek:"el",English:"en",Spanish:"es",Estonian:"et",Finnish:"fi",French:"fr",Hebrew:"he",Croatian:"hr",Hungarian:"hu",Indonesian:"id",Italian:"it",Japanese:"ja",Korean:"ko",Lithuanian:"lt",Latvian:"lv",Norwegian:"no",Dutch:"nl",Polish:"pl",PortugueseBrazil:"pt-BR",PortuguesePortugal:"pt-PT",Romanian:"ro",Russian:"ru",Serbian:"sr",Slovenian:"sl",Slovak:"sk",Swedish:"sv",Thai:"th",Turkish:"tr",Ukrainian:"uk",Vietnamese:"vi",ChineseChina:"zh-CN",ChineseHongKong:"zh-HK",ChineseTaiwan:"zh-TW"},e=[...Object.values(a),"en-AU","en-CA","en-GB","en-IE","es-ES","es-MX","de-CH","de-DE","it-CH","it-IT"],n=[a.Arabic,a.Hebrew];export{a,e as b,n as c};
|
package/dist/cdn/JIMLEN3L.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.16/esri/copyright.txt for details.
|
|
3
|
-
v0.16.0 */
|
|
4
|
-
import{a as g}from"./TC5RKFCP.js";import{a as D,b as C,f as $,g as N,h as f}from"./R3FHCD7X.js";var k;(function(s){s.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",s.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",s.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",s.NOT_FEDERATED="NOT_FEDERATED",s.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(k||(k={}));var E=class extends Error{constructor(e="UNKNOWN_ERROR",t=k.UNKNOWN_ERROR_CODE,r,n,i){super(e);let o=new.target.prototype;Object.setPrototypeOf(this,o),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=r,this.url=n,this.options=i}},y=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};function M(s){let[e,t]=s.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function K(s){return!s||s.length<=0?{}:s.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:r,value:n}=M(t);return e[r]=n,e},{})}var b=300*1e3;function I(s,e){let t=e;return t.rawResponse=!1,f(s,t).then(r=>{if("token"in r&&"expires"in r)return{token:r.token,username:e.params.username,expires:new Date(r.expires)};let n={token:r.access_token,username:r.username,expires:new Date(Date.now()+r.expires_in*1e3-b),ssl:r.ssl===!0};return r.refresh_token&&(n.refreshToken=r.refresh_token),r.refresh_token_expires_in&&(n.refreshTokenExpires=new Date(Date.now()+r.refresh_token_expires_in*1e3-b)),n})}var F=class{constructor(e){this.portal=e.portal?g(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,r=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=f(t,r).then(n=>(this._user=n,this._pendingUserRequest=null,n)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}},U=/^https?:\/\/(\S+)\.arcgis\.com.+/;function L(s){return U.test(s)}function q(s){if(!U.test(s))return s;switch(P(s)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function P(s){if(!U.test(s))return null;let t=s.match(U)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function G(s,e){let t=g(q(e)).replace(/https?:\/\//,""),r=g(s).replace(/https?:\/\//,"");return new RegExp(r,"i").test(t)}function V(s,e){let t=L(s),r=L(e),n=P(s),i=P(e);return!!(t&&r&&n===i)}function W(s,e,t="https://www.arcgis.com/sharing/rest"){let r=`${t}/oauth2/validateAppAccess`;return f(r,{method:"POST",params:{f:"json",client_id:e,token:s}})}function J(s){let e=`${g(s.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=s.token,r=s.clientId;delete s.portal,delete s.clientId,delete s.token;let n=Object.assign(Object.assign({},s),{httpMethod:"POST",params:{client_id:r,auth_token:t}});return f(e,n).then(i=>{if(!i.success)throw new C("Unable to revoke token",500,i,e,n);return i})}function z(s,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,s)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function X(s,e=window){if(!e&&window&&(e=window),s&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let r=new e.TextEncoder().encode(s);return e.crypto.subtle.digest("SHA-256",r).then(n=>z(new Uint8Array(n),e))}return Promise.resolve(null)}function j(s){!s&&window&&(s=window);let e=s.crypto.getRandomValues(new Uint8Array(32));return z(e)}function Q(s){return typeof s.userId=="string"||typeof s.expires=="number"}var H=class s extends F{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?g(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:r,provider:n,clientId:i,expiration:o,redirectUri:a,popup:m,popupWindowFeatures:T,locale:c,params:d,style:_,pkce:R,state:h}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),l=h||j(t),w=`ARCGIS_REST_JS_AUTH_STATE_${i}`;t.localStorage.setItem(w,l);let p=`${g(r)}/oauth2/authorize`,x={client_id:i,response_type:R?"code":"token",expiration:o,redirect_uri:a,state:JSON.stringify({id:l,originalUrl:t.location.href}),locale:c,style:_};n!=="arcgis"&&(p=`${g(r)}/oauth2/social/authorize`,x.socialLoginProviderName=n,x.autoAccountCreateForSocial=!0);let A;if(R){let S=j(t),O=`ARCGIS_REST_JS_CODE_VERIFIER_${i}`;t.localStorage.setItem(O,S),A=X(S,t).then(function(u){x.code_challenge_method=u?"S256":"plain",x.code_challenge=u||S})}else A=Promise.resolve();return A.then(()=>{if(p=`${p}?${D(x)}`,d&&(p=`${p}&${D(d)}`),m)return new Promise((S,O)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${i}`,u=>{if(u.detail.error==="access_denied"){let v=new y;return O(v),v}if(u.detail.errorMessage){let v=new N(u.detail.errorMessage,u.detail.error);return O(v),v}S(new s({clientId:i,portal:r,ssl:u.detail.ssl,token:u.detail.token,tokenExpires:u.detail.expires,username:u.detail.username,refreshToken:u.detail.refreshToken,refreshTokenExpires:u.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(p,"oauth-window",T),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=p})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:r,clientId:n,popup:i,pkce:o,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),m=`ARCGIS_REST_JS_AUTH_STATE_${n}`,T=t.localStorage.getItem(m),c=K(o?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),d=c&&c.state?JSON.parse(c.state):void 0;function _(h,l,w){if(t.localStorage.removeItem(m),i&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${n}`,{detail:{error:l,errorMessage:h}})),t.close();return}return w&&t.history.replaceState(t.history.state,"",w),l==="access_denied"?Promise.reject(new y):Promise.reject(new N(h,l))}function R(h,l){if(t.localStorage.removeItem(m),i&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${n}`,{detail:Object.assign({},h)})),t.close();return}return t.history.replaceState(t.history.state,"",l),new s({clientId:n,portal:r,ssl:h.ssl,token:h.token,tokenExpires:h.expires,username:h.username,refreshToken:h.refreshToken,refreshTokenExpires:h.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!T||!d)return _("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==T)return _("Saved client state did not match server sent state.","mismatched-auth-state");if(c.error){let h=c.error,l=c.error_description||"Unknown error";return _(l,h,d.originalUrl)}if(o&&c.code){let h=g(`${r}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${n}`,w=t.localStorage.getItem(l);return t.localStorage.removeItem(l),I(h,{httpMethod:"POST",params:{client_id:n,code_verifier:w,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:c.code}}).then(p=>R(Object.assign(Object.assign({},p),d),d.originalUrl)).catch(p=>_(p.originalMessage,p.code,d.originalUrl))}return!o&&c.access_token?Promise.resolve(R(Object.assign({token:c.access_token,expires:new Date(Date.now()+parseInt(c.expires_in,10)*1e3),ssl:c.ssl==="true",username:c.username},d),d.originalUrl)):_("Unknown error","oauth-error",d.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let r;return new Promise((n,i)=>{r=o=>{if(o.source===t.parent&&o.data)try{return n(s.parentMessageHandler(o))}catch(a){return i(a)}},t.addEventListener("message",r,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(n=>(t.removeEventListener("message",r,!1),n))}static authorize(e,t){let{portal:r,clientId:n,expiration:i,redirectUri:o,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),m={client_id:n,expiration:i,response_type:"code",redirect_uri:o};a&&(m.state=a);let T=`${r}/oauth2/authorize?${D(m)}`;t.writeHead(301,{Location:T}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:r,clientId:n,redirectUri:i}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return I(`${r}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:n,redirect_uri:i,code:t}}).then(o=>new s({clientId:n,portal:r,ssl:o.ssl,redirectUri:i,refreshToken:o.refreshToken,refreshTokenExpires:o.refreshTokenExpires,token:o.token,tokenExpires:o.expires,username:o.username})).catch(o=>{throw new E(o.message,k.REFRESH_TOKEN_EXCHANGE_FAILED,o.response,o.url,o.options)})}static deserialize(e){let t=JSON.parse(e);return new s({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let r=typeof e.ssl<"u"?e.ssl:!0,n=e.expires||Date.now()+72e5;return t.hasServer?new s({server:e.server,ssl:r,token:e.token,username:e.userId,tokenExpires:new Date(n)}):new s({portal:g(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:r,token:e.token,username:e.userId,tokenExpires:new Date(n)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return Q(t)?s.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new s(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return J({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new s(e);return t.getUser().then(()=>t)}static signIn(e){let t=new s(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,r=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=f(t,r).then(n=>(this._portalInfo=n,this._pendingPortalRequest=null,n)),this._pendingPortalRequest}}getToken(e,t){return V(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>W(t,e))}toJSON(){return{type:"ArcGISIdentityManager",clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new E("Unable to refresh token. No refresh token or password present.",k.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=g(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[r,n,i]=t.match(/(https?:\/\/)(.+)/),[o,...a]=i.split("/");return`${n}${o.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return s.destroy(this)}createPostMessageHandler(e){return t=>{let r=e.indexOf(t.origin)>-1,n=t.data.type==="arcgis:auth:requestCredential",i=this.tokenExpires.getTime()>Date.now();if(r&&n){let o={};if(i){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),o={type:"arcgis:auth:credential",credential:a}}else o={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(o,t.origin)}}}getTokenForServer(e,t){let r=this.getServerRootUrl(e),n=this.federatedServers[r];return n&&n.expires&&n.expires.getTime()>Date.now()?Promise.resolve(n.token):this._pendingTokenRequests[r]?this._pendingTokenRequests[r]:(this._pendingTokenRequests[r]=this.fetchAuthorizedDomains().then(()=>f(`${r}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(i=>{if(i.owningSystemUrl){if(G(i.owningSystemUrl,this.portal))return f(`${i.owningSystemUrl}/sharing/rest/info`,t);throw new E(`${e} is not federated with ${this.portal}.`,k.NOT_FEDERATED)}else{if(i.authInfo&&this.federatedServers[r]!==void 0)return Promise.resolve({authInfo:i.authInfo});throw new E(`${e} is not federated with any portal and is not explicitly trusted.`,k.NOT_FEDERATED)}}).then(i=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(i.authInfo.tokenServicesUrl,r)):this.generateTokenForServer(i.authInfo.tokenServicesUrl,r)).then(i=>(this.federatedServers[r]=i,delete this._pendingTokenRequests[r],i.token))),this._pendingTokenRequests[r])}generateTokenForServer(e,t){return f(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(r=>({token:r.token,expires:new Date(r.expires-1e3*60*5)})).catch(r=>{throw new E(r.message,k.GENERATE_TOKEN_FOR_SERVER_FAILED,r.response,r.url,r.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:$};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(r=>f(r.authInfo.tokenServicesUrl,Object.assign({params:t},e))):f(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(r=>(this.updateToken(r.token,new Date(r.expires)),this)).catch(r=>{throw new E(r.message,k.TOKEN_REFRESH_FAILED,r.response,r.url,r.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let r=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return I(`${this.portal}/oauth2/token`,r).then(n=>this.updateToken(n.token,n.expires)).catch(n=>{throw new E(n.message,k.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return I(`${this.portal}/oauth2/token`,t).then(r=>(this._token=r.token,this._tokenExpires=r.expires,this._refreshToken=r.refreshToken,this._refreshTokenExpires=r.refreshTokenExpires,this)).catch(r=>{throw new E(r.message,k.REFRESH_TOKEN_EXCHANGE_FAILED,r.response,r.url,r.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};export{H as a};
|