@esri/hub-web-components 0.31.0 → 0.31.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/22BTQRYG.js +4 -0
- package/dist/cdn/24GYSNVU.js +4 -0
- package/dist/cdn/24IRMJRW.js +4 -0
- package/dist/cdn/24QM73P7.js +4 -0
- package/dist/cdn/27RS6EK6.js +4 -0
- package/dist/cdn/2A3CPLXL.js +4 -0
- package/dist/cdn/2ANGRHSY.js +4 -0
- package/dist/cdn/2C4RYCZI.js +4 -0
- package/dist/cdn/2CGVIPC4.js +4 -0
- package/dist/cdn/2CP2JTNS.js +4 -0
- package/dist/cdn/2CUMN63U.js +4 -0
- package/dist/cdn/2E64X6GL.js +4 -0
- package/dist/cdn/2EBJEQ6J.js +4 -0
- package/dist/cdn/2FGYSEXJ.js +4 -0
- package/dist/cdn/2GLOUG2K.js +4 -0
- package/dist/cdn/2HYGQU2S.js +4 -0
- package/dist/cdn/2J7326OB.js +4 -0
- package/dist/cdn/2JII623X.js +4 -0
- package/dist/cdn/2ME6RZO5.js +4 -0
- package/dist/cdn/2OLXUT2H.js +4 -0
- package/dist/cdn/2PANX2MG.js +4 -0
- package/dist/cdn/2QI7JDU6.js +4 -0
- package/dist/cdn/2Y2UAFK3.js +4 -0
- package/dist/cdn/2YQDCY5M.js +4 -0
- package/dist/cdn/2ZAXNZBR.js +4 -0
- package/dist/cdn/32MROFYF.js +4 -0
- package/dist/cdn/34N7RT66.js +4 -0
- package/dist/cdn/35YSIO5T.js +4 -0
- package/dist/cdn/35YSP75U.js +4 -0
- package/dist/cdn/3DS6QPK5.js +4 -0
- package/dist/cdn/3FCS54YS.js +4 -0
- package/dist/cdn/3FGDBBEJ.js +4 -0
- package/dist/cdn/3GEDNNEX.js +4 -0
- package/dist/cdn/3GX3V2EO.js +4 -0
- package/dist/cdn/3HBTE2Y2.js +4 -0
- package/dist/cdn/3HPZLM4Z.js +4 -0
- package/dist/cdn/3IJPCGEO.js +4 -0
- package/dist/cdn/3JHJOC7G.js +4 -0
- package/dist/cdn/3NZ4NTX7.js +4 -0
- package/dist/cdn/3OIT44LF.js +4 -0
- package/dist/cdn/3RDGYRWK.js +4 -0
- package/dist/cdn/3U5XFAMR.js +4 -0
- package/dist/cdn/3UFM6BNE.js +4 -0
- package/dist/cdn/3UGUGFRH.js +4 -0
- package/dist/cdn/3V7AUAJ3.js +4 -0
- package/dist/cdn/3VRTKLXH.js +4 -0
- package/dist/cdn/42R5M73Y.js +4 -0
- package/dist/cdn/442QIX5P.js +4 -0
- package/dist/cdn/44JDU3KK.js +4 -0
- package/dist/cdn/46DLS43H.js +4 -0
- package/dist/cdn/46OTMTL4.js +4 -0
- package/dist/cdn/4AS5622B.js +4 -0
- package/dist/cdn/4FSTZGVX.js +4 -0
- package/dist/cdn/4GTE4SAD.js +5 -0
- package/dist/cdn/4J2XXNST.js +4 -0
- package/dist/cdn/4MOG74EU.js +4 -0
- package/dist/cdn/4NC7JI6O.js +4 -0
- package/dist/cdn/4NIH7KJW.js +4 -0
- package/dist/cdn/4S26BQQ5.js +4 -0
- package/dist/cdn/4U6TBGUE.js +4 -0
- package/dist/cdn/4UYVLIAL.js +4 -0
- package/dist/cdn/4VIRB365.js +4 -0
- package/dist/cdn/4WZCQTRQ.js +4 -0
- package/dist/cdn/52SMYIJB.js +4 -0
- package/dist/cdn/54O73Q7K.js +4 -0
- package/dist/cdn/55FW5F2V.js +4 -0
- package/dist/cdn/56QS6WDX.js +4 -0
- package/dist/cdn/5AB4WP3F.js +4 -0
- package/dist/cdn/5EI6OQZP.js +4 -0
- package/dist/cdn/5GGPBFRI.js +4 -0
- package/dist/cdn/5GR4J7O5.js +4 -0
- package/dist/cdn/5ICHY35R.js +4 -0
- package/dist/cdn/5JLW6NAB.js +6 -0
- package/dist/cdn/5PN35C5F.js +4 -0
- package/dist/cdn/5PYQIAIO.js +4 -0
- package/dist/cdn/5QTSLXR6.js +4 -0
- package/dist/cdn/5T3NNB23.js +4 -0
- package/dist/cdn/5VVZ34KQ.js +4 -0
- package/dist/cdn/5ZRANXOH.js +4 -0
- package/dist/cdn/64QPH3P6.js +25 -0
- package/dist/cdn/6AWPUIUE.js +4 -0
- package/dist/cdn/6DFKBTA2.js +4 -0
- package/dist/cdn/6DORB5KJ.js +4 -0
- package/dist/cdn/6EVJ5M4P.js +4 -0
- package/dist/cdn/6FMQ7OBA.js +4 -0
- package/dist/cdn/6JOWGFUG.js +4 -0
- package/dist/cdn/6JQNVWBP.js +4 -0
- package/dist/cdn/6MCQBJYF.js +4 -0
- package/dist/cdn/6OIYFBV7.js +4 -0
- package/dist/cdn/6QOTX3XG.js +4 -0
- package/dist/cdn/6S6TFTM3.js +4 -0
- package/dist/cdn/6SF3FKG6.js +4 -0
- package/dist/cdn/6SYGGZSW.js +4 -0
- package/dist/cdn/6TVNJAZI.js +4 -0
- package/dist/cdn/6U2UYGKX.js +4 -0
- package/dist/cdn/6WJHVWIK.js +4 -0
- package/dist/cdn/6XNYKW4F.js +4 -0
- package/dist/cdn/76I7Q2XR.js +4 -0
- package/dist/cdn/7B37MY45.js +4 -0
- package/dist/cdn/7CAUHCOT.js +4 -0
- package/dist/cdn/7HPR5KG4.js +4 -0
- package/dist/cdn/7KNRSB3L.js +4 -0
- package/dist/cdn/7KZ4L2IE.js +4 -0
- package/dist/cdn/7NTIA76Q.js +4 -0
- package/dist/cdn/7OPICBWG.js +4 -0
- package/dist/cdn/7PJ4HSNZ.js +4 -0
- package/dist/cdn/7SGQGUGH.js +4 -0
- package/dist/cdn/7VLCM654.js +4 -0
- package/dist/cdn/7XCBIS6A.js +4 -0
- package/dist/cdn/A2KEZHFW.js +4 -0
- package/dist/cdn/A2VUXN72.js +4 -0
- package/dist/cdn/A45STWTT.js +4 -0
- package/dist/cdn/A5FZIO7P.js +4 -0
- package/dist/cdn/AAQDAH32.js +4 -0
- package/dist/cdn/AATBYMAI.js +4 -0
- package/dist/cdn/ABKQLTLV.js +4 -0
- package/dist/cdn/ADYSQUXL.js +4 -0
- package/dist/cdn/AFERTYXX.js +4 -0
- package/dist/cdn/AFZ3DXQ7.js +4 -0
- package/dist/cdn/AJ6PXE67.js +4 -0
- package/dist/cdn/AJATQNVR.js +4 -0
- package/dist/cdn/AQLR2EHA.js +4 -0
- package/dist/cdn/ARWGX2IB.js +4 -0
- package/dist/cdn/AT2E273W.js +8 -0
- package/dist/cdn/AT2FHROJ.js +4 -0
- package/dist/cdn/AU5SW3KY.js +4 -0
- package/dist/cdn/AV5M7B7W.js +4 -0
- package/dist/cdn/AXFWCU6X.js +4 -0
- package/dist/cdn/B3SYSSGP.js +4 -0
- package/dist/cdn/B4D2WG6D.js +4 -0
- package/dist/cdn/B7OXMFXI.js +4 -0
- package/dist/cdn/BC6A62U4.js +4 -0
- package/dist/cdn/BDCPCGPB.js +4 -0
- package/dist/cdn/BEQ45XAM.js +4 -0
- package/dist/cdn/BGZFEHXQ.js +4 -0
- package/dist/cdn/BLOIKXQA.js +4 -0
- package/dist/cdn/BODWHH75.js +4 -0
- package/dist/cdn/BORVUOC3.js +4 -0
- package/dist/cdn/BSKA54KN.js +41 -0
- package/dist/cdn/BTC5BMUK.js +4 -0
- package/dist/cdn/BTLVGISC.js +4 -0
- package/dist/cdn/BU6YMPE4.js +4 -0
- package/dist/cdn/BVU7A2AA.js +24 -0
- package/dist/cdn/BVUWJJTH.js +4 -0
- package/dist/cdn/BW7O4ISU.js +4 -0
- package/dist/cdn/BWYTUFPF.js +4 -0
- package/dist/cdn/BX6R4FWS.js +4 -0
- package/dist/cdn/BXYGJ4WB.js +4 -0
- package/dist/cdn/BZGZ5UV3.js +4 -0
- package/dist/cdn/C4AAUN3X.js +4 -0
- package/dist/cdn/C5UTJYNJ.js +4 -0
- package/dist/cdn/C63DQWME.js +4 -0
- package/dist/cdn/CC6TDT27.js +4 -0
- package/dist/cdn/CD22OSLK.js +4 -0
- package/dist/cdn/CE5EQBSR.js +4 -0
- package/dist/cdn/CEF6CSSH.js +4 -0
- package/dist/cdn/CEW5GYS4.js +4 -0
- package/dist/cdn/CF3GU3HH.js +4 -0
- package/dist/cdn/CGHOKMJH.js +4 -0
- package/dist/cdn/CI47UHHC.js +4 -0
- package/dist/cdn/CJSPKXHN.js +4 -0
- package/dist/cdn/CKY2E33O.js +4 -0
- package/dist/cdn/CLHXLKLV.js +4 -0
- package/dist/cdn/CMIOTVRX.js +4 -0
- package/dist/cdn/CMT62ABQ.js +52 -0
- package/dist/cdn/CNCNPRFG.js +4 -0
- package/dist/cdn/CODKIWUT.js +4 -0
- package/dist/cdn/CPSJWN3V.js +4 -0
- package/dist/cdn/CPSRX3MG.js +4 -0
- package/dist/cdn/CQJW3SU2.js +4 -0
- package/dist/cdn/CRRBQHLL.js +4 -0
- package/dist/cdn/CSLAT22T.js +4 -0
- package/dist/cdn/CTXHY6UU.js +4 -0
- package/dist/cdn/CVOVTBJJ.js +4 -0
- package/dist/cdn/CWHJTBHT.js +4 -0
- package/dist/cdn/CZGKE34Q.js +6 -0
- package/dist/cdn/D2OLH6W4.js +4 -0
- package/dist/cdn/D3Z5ARGB.js +4 -0
- package/dist/cdn/D5HW2ABH.js +4 -0
- package/dist/cdn/D67AZOG4.js +4 -0
- package/dist/cdn/D6MRQSO4.js +4 -0
- package/dist/cdn/DBKR2GKW.js +4 -0
- package/dist/cdn/DDFHFIQP.js +4 -0
- package/dist/cdn/DGYMVSGE.js +4 -0
- package/dist/cdn/DHALBXYG.js +4 -0
- package/dist/cdn/DJ4HVF2J.js +4 -0
- package/dist/cdn/DL643F46.js +4 -0
- package/dist/cdn/DNGYKHIF.js +4 -0
- package/dist/cdn/DON5DDJL.js +4 -0
- package/dist/cdn/DRBWWTRC.js +4 -0
- package/dist/cdn/DS5DAAC3.js +5 -0
- package/dist/cdn/DSZRIHTB.js +4 -0
- package/dist/cdn/DYFWGDA3.js +4 -0
- package/dist/cdn/DZCOQIDC.js +4 -0
- package/dist/cdn/E2EJGCXR.js +4 -0
- package/dist/cdn/E2P44OK3.js +4 -0
- package/dist/cdn/E32ZCB2O.js +4 -0
- package/dist/cdn/E5XILN5N.js +4 -0
- package/dist/cdn/EA2JG7WH.js +4 -0
- package/dist/cdn/EAVDD7KJ.js +4 -0
- package/dist/cdn/EDGGDWKA.js +5 -0
- package/dist/cdn/EDMZP2LQ.js +4 -0
- package/dist/cdn/EF5KU22D.js +4 -0
- package/dist/cdn/EF6OEOSY.js +4 -0
- package/dist/cdn/EFMNW63X.js +4 -0
- package/dist/cdn/EGDXZALF.js +4 -0
- package/dist/cdn/EGFZAROO.js +4 -0
- package/dist/cdn/EGSLQYW4.js +4 -0
- package/dist/cdn/EIB255SO.js +4 -0
- package/dist/cdn/ELFYDQ5V.js +4 -0
- package/dist/cdn/ELJBXQN2.js +4 -0
- package/dist/cdn/EN3Z3QWD.js +5 -0
- package/dist/cdn/EOWIICRI.js +4 -0
- package/dist/cdn/EPDIQHCO.js +4 -0
- package/dist/cdn/EQ4DPIBQ.js +4 -0
- package/dist/cdn/EQBVUKOU.js +4 -0
- package/dist/cdn/ERR5RRKC.js +4 -0
- package/dist/cdn/EVFTHSHK.js +4 -0
- package/dist/cdn/F3QLAEHC.js +4 -0
- package/dist/cdn/F7G766MZ.js +4 -0
- package/dist/cdn/F7XYKJ4A.js +4 -0
- package/dist/cdn/FBZBBWDW.js +4 -0
- package/dist/cdn/FC2FBMXT.js +4 -0
- package/dist/cdn/FG6LAU6V.js +4 -0
- package/dist/cdn/FHMXN7LN.js +4 -0
- package/dist/cdn/FHR3YKUJ.js +4 -0
- package/dist/cdn/FIILLQA2.js +4 -0
- package/dist/cdn/FIJOJIDS.js +4 -0
- package/dist/cdn/FIPACWDF.js +4 -0
- package/dist/cdn/FJFO7VP7.js +4 -0
- package/dist/cdn/FJRKPOKY.js +4 -0
- package/dist/cdn/FMRPKRCI.js +4 -0
- package/dist/cdn/FPEOZPRO.js +4 -0
- package/dist/cdn/FQ35XF4F.js +4 -0
- package/dist/cdn/FSH4CQA4.js +4 -0
- package/dist/cdn/FUOYZAUJ.js +4 -0
- package/dist/cdn/FZWXTX5X.js +4 -0
- package/dist/cdn/G2O74V6N.js +4 -0
- package/dist/cdn/G4A2MYCY.js +4 -0
- package/dist/cdn/G5OVBG46.js +4 -0
- package/dist/cdn/G67U4G7H.js +4 -0
- package/dist/cdn/G7ZDIPYA.js +4 -0
- package/dist/cdn/GAFREFCI.js +4 -0
- package/dist/cdn/GC2BOZCE.js +4 -0
- package/dist/cdn/GEJHWPPB.js +4 -0
- package/dist/cdn/GFLUYCSB.js +4 -0
- package/dist/cdn/GJGPVAFI.js +4 -0
- package/dist/cdn/GKICQBVJ.js +4 -0
- package/dist/cdn/GL7JZOWV.js +51 -0
- package/dist/cdn/GLFS3T3D.js +4 -0
- package/dist/cdn/GOT2QX25.js +4 -0
- package/dist/cdn/GPYTJJB3.js +4 -0
- package/dist/cdn/GQ5E67W3.js +4 -0
- package/dist/cdn/GQPAIQDB.js +4 -0
- package/dist/cdn/GSW6CRCS.js +4 -0
- package/dist/cdn/GU4DWO6F.js +4 -0
- package/dist/cdn/GWB6APRV.js +4 -0
- package/dist/cdn/GWRK4N2N.js +4 -0
- package/dist/cdn/GY74ID67.js +4 -0
- package/dist/cdn/GZ5JO3HN.js +4 -0
- package/dist/cdn/GZE5RLZN.js +4 -0
- package/dist/cdn/GZJWDQKU.js +4 -0
- package/dist/cdn/H5VH332G.js +4 -0
- package/dist/cdn/HFO3ZIG3.js +4 -0
- package/dist/cdn/HGFIXCHJ.js +4 -0
- package/dist/cdn/HHEMQXBY.js +4 -0
- package/dist/cdn/HJNMZ4YV.js +4 -0
- package/dist/cdn/HKLFOMJV.js +4 -0
- package/dist/cdn/HKO7ESZN.js +4 -0
- package/dist/cdn/HLYFLLKP.js +4 -0
- package/dist/cdn/HN2KTBD2.js +4 -0
- package/dist/cdn/HN7FZDZY.js +4 -0
- package/dist/cdn/HOT2GUQ4.js +4 -0
- package/dist/cdn/HOZGWPJV.js +4 -0
- package/dist/cdn/HPHYFIBB.js +4 -0
- package/dist/cdn/HPTTOG3N.js +4 -0
- package/dist/cdn/HSC4AGE4.js +4 -0
- package/dist/cdn/HU575ZI5.js +4 -0
- package/dist/cdn/HWMQ4OFP.js +4 -0
- package/dist/cdn/HWY4UDHY.js +4 -0
- package/dist/cdn/I22UE45T.js +4 -0
- package/dist/cdn/I5FUEMIZ.js +4 -0
- package/dist/cdn/I5XA5PP2.js +4 -0
- package/dist/cdn/I6WOP26J.js +4 -0
- package/dist/cdn/I73EBOXI.js +4 -0
- package/dist/cdn/ICCYDWHN.js +4 -0
- package/dist/cdn/IFKW7LC6.js +4 -0
- package/dist/cdn/IFMZKOQ6.js +4 -0
- package/dist/cdn/IHC633FP.js +4 -0
- package/dist/cdn/IHZLTDSQ.js +4 -0
- package/dist/cdn/IIUWS5JR.js +4 -0
- package/dist/cdn/IKWBBUFH.js +4 -0
- package/dist/cdn/ILA2Q56I.js +4 -0
- package/dist/cdn/IMCCJ4PI.js +4 -0
- package/dist/cdn/IN35JSPU.js +4 -0
- package/dist/cdn/IOVGIXK2.js +4 -0
- package/dist/cdn/IQR3Q7BP.js +4 -0
- package/dist/cdn/IR5MZPFH.js +4 -0
- package/dist/cdn/IRNTBPUH.js +4 -0
- package/dist/cdn/IS6VJDJT.js +4 -0
- package/dist/cdn/IUDLBHD7.js +59 -0
- package/dist/cdn/IXHIAOGX.js +4 -0
- package/dist/cdn/IXMDSAYV.js +4 -0
- package/dist/cdn/IZBC6XRC.js +4 -0
- package/dist/cdn/IZNQPSYB.js +4 -0
- package/dist/cdn/J4NAUNXQ.js +4 -0
- package/dist/cdn/J5S6XNWM.js +4 -0
- package/dist/cdn/J6N6RMWY.js +4 -0
- package/dist/cdn/J6SQOH6C.js +4 -0
- package/dist/cdn/JAAWDVYZ.js +4 -0
- package/dist/cdn/JCOCNGDT.js +4 -0
- package/dist/cdn/JDA2LTNI.js +4 -0
- package/dist/cdn/JF6H6VUR.js +4 -0
- package/dist/cdn/JHHSX36J.js +4 -0
- package/dist/cdn/JIN24PI4.js +4 -0
- package/dist/cdn/JJZHBLKG.js +4 -0
- package/dist/cdn/JLZBIVLP.js +4 -0
- package/dist/cdn/JM7FHWMU.js +4 -0
- package/dist/cdn/JMWXJXQX.js +4 -0
- package/dist/cdn/JPF5PJYD.js +4 -0
- package/dist/cdn/JPRL3OML.js +4 -0
- package/dist/cdn/JSKPBARA.js +4 -0
- package/dist/cdn/JU4JL7QY.js +4 -0
- package/dist/cdn/JU5XTVB6.js +4 -0
- package/dist/cdn/K3XO5U3U.js +4 -0
- package/dist/cdn/K5QFR7Z7.js +4 -0
- package/dist/cdn/K63TXXJQ.js +4 -0
- package/dist/cdn/KDYNCSUZ.js +4 -0
- package/dist/cdn/KHGH5F5B.js +4 -0
- package/dist/cdn/KHOQWVHC.js +4 -0
- package/dist/cdn/KJEX6WNP.js +4 -0
- package/dist/cdn/KM7IP56Q.js +4 -0
- package/dist/cdn/KMFYLLAP.js +4 -0
- package/dist/cdn/KN3G5BNQ.js +4 -0
- package/dist/cdn/KO45NNUL.js +4 -0
- package/dist/cdn/KQZI5TVD.js +4 -0
- package/dist/cdn/KR7VQHL2.js +4 -0
- package/dist/cdn/KSJC4U6F.js +4 -0
- package/dist/cdn/KT7WYXLT.js +4 -0
- package/dist/cdn/KTTPLZPY.js +4 -0
- package/dist/cdn/KUZEUBUK.js +4 -0
- package/dist/cdn/KVQCH2FF.js +4 -0
- package/dist/cdn/KVV7HFN4.js +4 -0
- package/dist/cdn/KYH3PE62.js +4 -0
- package/dist/cdn/KZUBTY3Q.js +4 -0
- package/dist/cdn/L3EZVCZC.js +4 -0
- package/dist/cdn/L3PAQQCT.js +4 -0
- package/dist/cdn/L5GRU3BE.js +4 -0
- package/dist/cdn/L5HLUGUH.js +4 -0
- package/dist/cdn/LDRANXF4.js +4 -0
- package/dist/cdn/LELQIRKQ.js +4 -0
- package/dist/cdn/LFL4CZXL.js +4 -0
- package/dist/cdn/LFTUVY6W.js +4 -0
- package/dist/cdn/LIV4HPMM.js +5 -0
- package/dist/cdn/LJME6QKB.js +4 -0
- package/dist/cdn/LM2Q27JF.js +4 -0
- package/dist/cdn/LMTEG3B5.js +4 -0
- package/dist/cdn/LNPURTHT.js +4 -0
- package/dist/cdn/LNT6CX3Q.js +4 -0
- package/dist/cdn/LONZKCLF.js +4 -0
- package/dist/cdn/LPHSMMYC.js +4 -0
- package/dist/cdn/LRJW4ABO.js +4 -0
- package/dist/cdn/LTA62VV4.js +4 -0
- package/dist/cdn/LUZUONJO.js +4 -0
- package/dist/cdn/LWCE5BSI.js +4 -0
- package/dist/cdn/LWSV6Z4N.js +4 -0
- package/dist/cdn/LZPNCFKY.js +4 -0
- package/dist/cdn/M2XQMWAK.js +4 -0
- package/dist/cdn/MA5MJZFL.js +4 -0
- package/dist/cdn/MAL44MAM.js +4 -0
- package/dist/cdn/MAMBIQIQ.js +4 -0
- package/dist/cdn/MAMOBO7I.js +4 -0
- package/dist/cdn/MAYDM4F4.js +4 -0
- package/dist/cdn/MFFYHTRZ.js +4 -0
- package/dist/cdn/MFG4PS3H.js +4 -0
- package/dist/cdn/MFHFB5WB.js +4 -0
- package/dist/cdn/MFUKAPXE.js +4 -0
- package/dist/cdn/MGUL3WWL.js +4 -0
- package/dist/cdn/MHCUIWIZ.js +4 -0
- package/dist/cdn/MHJMME4N.js +4 -0
- package/dist/cdn/MHQX4P4R.js +4 -0
- package/dist/cdn/MIUDNUYI.js +4 -0
- package/dist/cdn/MK3GNHJP.js +4 -0
- package/dist/cdn/ML265RCB.js +4 -0
- package/dist/cdn/MLCUW3L3.js +4 -0
- package/dist/cdn/MPG6CMIA.js +4 -0
- package/dist/cdn/MQB6C36Y.js +4 -0
- package/dist/cdn/MQM7OYGC.js +4 -0
- package/dist/cdn/MRJV3B72.js +4 -0
- package/dist/cdn/MRQAJBYR.js +4 -0
- package/dist/cdn/MWKDTN5K.js +4 -0
- package/dist/cdn/MWKSUOV2.js +11 -0
- package/dist/cdn/MX3GZME7.js +4 -0
- package/dist/cdn/MX4YZHK7.js +4 -0
- package/dist/cdn/MZK7FV4J.js +4 -0
- package/dist/cdn/N26CFLC6.js +4 -0
- package/dist/cdn/N3MC4RFL.js +4 -0
- package/dist/cdn/N5FSZHCL.js +4 -0
- package/dist/cdn/NAFRLHGK.js +9 -0
- package/dist/cdn/NCY3SETY.js +4 -0
- package/dist/cdn/NDLVAM77.js +4 -0
- package/dist/cdn/NINVATKB.js +5470 -0
- package/dist/cdn/NKDVP7HM.js +4 -0
- package/dist/cdn/NL4JHIQE.js +4 -0
- package/dist/cdn/NNKTKXAX.js +4 -0
- package/dist/cdn/NQELRBTM.js +4 -0
- package/dist/cdn/NR2AIWD3.js +6 -0
- package/dist/cdn/NSD35LUT.js +4 -0
- package/dist/cdn/NV4CLPUM.js +4 -0
- package/dist/cdn/NVSJSDPE.js +4 -0
- package/dist/cdn/NVUWZFVZ.js +4 -0
- package/dist/cdn/NWJBGIWU.js +4 -0
- package/dist/cdn/NZF3WKYX.js +4 -0
- package/dist/cdn/O7G3HUQF.js +4 -0
- package/dist/cdn/OA7BYUHO.js +4 -0
- package/dist/cdn/OBHELN6U.js +4 -0
- package/dist/cdn/OBYU2I52.js +4 -0
- package/dist/cdn/ODNBLZFV.js +4 -0
- package/dist/cdn/ODNIHRNB.js +4 -0
- package/dist/cdn/ODW7DDGF.js +4 -0
- package/dist/cdn/OEMBXMS2.js +4 -0
- package/dist/cdn/OJ5BMAB6.js +4 -0
- package/dist/cdn/OJHDXNXP.js +4 -0
- package/dist/cdn/OLFBHYOM.js +4 -0
- package/dist/cdn/OLJRUZAD.js +4 -0
- package/dist/cdn/OLZ5HGP4.js +4 -0
- package/dist/cdn/OOHCVD6V.js +4 -0
- package/dist/cdn/OQPA7TRI.js +4 -0
- package/dist/cdn/OT6DSAV5.js +42 -0
- package/dist/cdn/OTZAYQJM.js +4 -0
- package/dist/cdn/OV4Z7IN2.js +4 -0
- package/dist/cdn/OVTU54LQ.js +4 -0
- package/dist/cdn/OX6CIBT4.js +4 -0
- package/dist/cdn/OYQGPOKM.js +4 -0
- package/dist/cdn/OYW6ABTY.js +4 -0
- package/dist/cdn/PAZTKVJ3.js +4 -0
- package/dist/cdn/PBHJ5ZFQ.js +4 -0
- package/dist/cdn/PBRRN6H6.js +4 -0
- package/dist/cdn/PEKDMVUK.js +4 -0
- package/dist/cdn/PF35VUGO.js +4 -0
- package/dist/cdn/PH2QGKTL.js +4 -0
- package/dist/cdn/PH3XKJB6.js +4 -0
- package/dist/cdn/PK5ZKAIN.js +4 -0
- package/dist/cdn/PN6A4RJY.js +4 -0
- package/dist/cdn/PP6SNTEX.js +4 -0
- package/dist/cdn/PPKJOMBV.js +4 -0
- package/dist/cdn/PRX372SC.js +4 -0
- package/dist/cdn/PS7DBD5N.js +4 -0
- package/dist/cdn/PSA7REIS.js +4 -0
- package/dist/cdn/PUJ3GVLZ.js +4 -0
- package/dist/cdn/PVVF43YK.js +4 -0
- package/dist/cdn/PYO6DQXG.js +16 -0
- package/dist/cdn/PZIPXCM7.js +4 -0
- package/dist/cdn/Q3O3UOND.js +4 -0
- package/dist/cdn/Q5CFP6LC.js +4 -0
- package/dist/cdn/QBL6QMIF.js +4 -0
- package/dist/cdn/QBN3NZUN.js +4 -0
- package/dist/cdn/QDA2Z5GW.js +4 -0
- package/dist/cdn/QFSL5PYM.js +4 -0
- package/dist/cdn/QGAEGINT.js +4 -0
- package/dist/cdn/QHDMNVG5.js +4 -0
- package/dist/cdn/QIJ5CIU2.js +4 -0
- package/dist/cdn/QJGFAJWS.js +4 -0
- package/dist/cdn/QJXEQ2GW.js +4 -0
- package/dist/cdn/QL5MPQXY.js +4 -0
- package/dist/cdn/QMQZZNOS.js +4 -0
- package/dist/cdn/QNXEP4CQ.js +8 -0
- package/dist/cdn/QR2SS42K.js +4 -0
- package/dist/cdn/QRGO4FBI.js +4 -0
- package/dist/cdn/QRQCQPU4.js +4 -0
- package/dist/cdn/QSPJXXG2.js +4 -0
- package/dist/cdn/QZBQ2ZSR.js +4 -0
- package/dist/cdn/QZOQ7HTQ.js +4 -0
- package/dist/cdn/R4EB4TOD.js +4 -0
- package/dist/cdn/R635RKVM.js +4 -0
- package/dist/cdn/R6AVCT64.js +4 -0
- package/dist/cdn/R7SMLN62.js +4 -0
- package/dist/cdn/RASB77HO.js +4 -0
- package/dist/cdn/RBPEMV2S.js +4 -0
- package/dist/cdn/RCDQBYYF.js +4 -0
- package/dist/cdn/RCPYHTQ2.js +4 -0
- package/dist/cdn/RDIRY65U.js +4 -0
- package/dist/cdn/RDQMZUH3.js +4 -0
- package/dist/cdn/RF4KIYNL.js +4 -0
- package/dist/cdn/RHFZ7QBL.js +4 -0
- package/dist/cdn/RJEEFROQ.js +4 -0
- package/dist/cdn/RKKJZANS.js +4 -0
- package/dist/cdn/RQQY6RLR.js +4 -0
- package/dist/cdn/RUTTN255.js +4 -0
- package/dist/cdn/RUV6BPVT.js +4 -0
- package/dist/cdn/RWGUCXLW.js +4 -0
- package/dist/cdn/RXQYZL3K.js +4 -0
- package/dist/cdn/S2VVUWG7.js +4 -0
- package/dist/cdn/S6A75IRE.js +4 -0
- package/dist/cdn/S6ZQKIAZ.js +4 -0
- package/dist/cdn/SATVMGDP.js +4 -0
- package/dist/cdn/SBNLSJJZ.js +4 -0
- package/dist/cdn/SEP3XHS6.js +4 -0
- package/dist/cdn/SFMSYZNE.js +4 -0
- package/dist/cdn/SGSZAZRA.js +4 -0
- package/dist/cdn/SOKPFUE6.js +4 -0
- package/dist/cdn/SOTD3RJR.js +4 -0
- package/dist/cdn/SPRZ3K3R.js +4 -0
- package/dist/cdn/SREM2PZY.js +12 -0
- package/dist/cdn/SRGSZYVV.js +4 -0
- package/dist/cdn/SUUMQNJX.js +4 -0
- package/dist/cdn/SWIIN2U2.js +4 -0
- package/dist/cdn/SWJ7GHZR.js +4 -0
- package/dist/cdn/SYSMOBB4.js +4 -0
- package/dist/cdn/SZEX427D.js +4 -0
- package/dist/cdn/SZSXGRP6.js +4 -0
- package/dist/cdn/T2SMFXUP.js +4 -0
- package/dist/cdn/T2YPM46J.js +4 -0
- package/dist/cdn/T37TCNS6.js +4 -0
- package/dist/cdn/T52DV33G.js +4 -0
- package/dist/cdn/T5M26BFS.js +4 -0
- package/dist/cdn/T7HJTHEE.js +4 -0
- package/dist/cdn/TCICCL6I.js +4 -0
- package/dist/cdn/TCZ565WG.js +4 -0
- package/dist/cdn/TDWKANFP.js +4 -0
- package/dist/cdn/TFEE2EDE.js +4 -0
- package/dist/cdn/TFKGES46.js +4 -0
- package/dist/cdn/TFQ4DBA7.js +4 -0
- package/dist/cdn/TGH2IMUF.js +4 -0
- package/dist/cdn/THORZNOC.js +4 -0
- package/dist/cdn/TJKW4CEY.js +4 -0
- package/dist/cdn/TLEMCUVF.js +4 -0
- package/dist/cdn/TLOXR7XX.js +4 -0
- package/dist/cdn/TP3ME2Y6.js +4 -0
- package/dist/cdn/TQVT2BUN.js +4 -0
- package/dist/cdn/TRI7H7MY.js +4 -0
- package/dist/cdn/TVF2N54S.js +4 -0
- package/dist/cdn/TXMLOPOF.js +4 -0
- package/dist/cdn/TXO32CFQ.js +4 -0
- package/dist/cdn/TZFIE4IC.js +4 -0
- package/dist/cdn/TZZXEKO4.js +4 -0
- package/dist/cdn/U2DI7M45.js +4 -0
- package/dist/cdn/U4EK7YV4.js +4 -0
- package/dist/cdn/U4WLINZQ.js +4 -0
- package/dist/cdn/U6J74SB4.js +4 -0
- package/dist/cdn/UA2UDNXC.js +4 -0
- package/dist/cdn/UE3PIOJG.js +4 -0
- package/dist/cdn/UEJUOXQH.js +4 -0
- package/dist/cdn/UFKIV56J.js +4 -0
- package/dist/cdn/UFTV3ZOJ.js +4 -0
- package/dist/cdn/UG2LUVBY.js +4 -0
- package/dist/cdn/UGSSSIFY.js +4 -0
- package/dist/cdn/UJT2MUW2.js +4 -0
- package/dist/cdn/UORNTMBQ.js +5 -0
- package/dist/cdn/UOUW4TEV.js +4 -0
- package/dist/cdn/UVHXFAHI.js +4 -0
- package/dist/cdn/UYGYVU7I.js +4 -0
- package/dist/cdn/UZAKNMN5.js +4 -0
- package/dist/cdn/V55PNZEA.js +4 -0
- package/dist/cdn/V5KMT7CY.js +4 -0
- package/dist/cdn/V6LIN3J6.js +4 -0
- package/dist/cdn/VC2S3ILK.js +4 -0
- package/dist/cdn/VGVKB4Z7.js +4 -0
- package/dist/cdn/VITUUGTK.js +4 -0
- package/dist/cdn/VJGM6FR4.js +4 -0
- package/dist/cdn/VJORIV22.js +4 -0
- package/dist/cdn/VNXIZT5T.js +4 -0
- package/dist/cdn/VVMYRCEP.js +4 -0
- package/dist/cdn/VXIYDYBO.js +4 -0
- package/dist/cdn/VXULWM6J.js +4 -0
- package/dist/cdn/VYBWEIDD.js +4 -0
- package/dist/cdn/W2ET5T6G.js +4 -0
- package/dist/cdn/W447UH4L.js +4 -0
- package/dist/cdn/W75BT5SE.js +4 -0
- package/dist/cdn/WB3STYWD.js +12 -0
- package/dist/cdn/WBOFTBDR.js +4 -0
- package/dist/cdn/WCLWGSGP.js +4 -0
- package/dist/cdn/WCWU7IXM.js +4 -0
- package/dist/cdn/WD4DW4YE.js +4 -0
- package/dist/cdn/WFKGM5S3.js +4 -0
- package/dist/cdn/WGEQSBM4.js +4 -0
- package/dist/cdn/WHMBC3FP.js +4 -0
- package/dist/cdn/WJ6FXZ7Q.js +4 -0
- package/dist/cdn/WK7W2Z7L.js +4 -0
- package/dist/cdn/WKCL7EAC.js +4 -0
- package/dist/cdn/WM5NGMCY.js +4 -0
- package/dist/cdn/WPBMIWHK.js +4 -0
- package/dist/cdn/WPNWBJPA.js +4 -0
- package/dist/cdn/WPPC32SI.js +4 -0
- package/dist/cdn/WQLUPATZ.js +4 -0
- package/dist/cdn/WRBLVDDW.js +4 -0
- package/dist/cdn/WRIJ6LES.js +4 -0
- package/dist/cdn/WTRAODIS.js +4 -0
- package/dist/cdn/WUG5IGAE.js +4 -0
- package/dist/cdn/WUXZLW2Z.js +4 -0
- package/dist/cdn/WVCFJGNU.js +4 -0
- package/dist/cdn/WZH7UF6P.js +4 -0
- package/dist/cdn/WZO2ETZA.js +4 -0
- package/dist/cdn/X2BTI4KP.js +4 -0
- package/dist/cdn/X3NRZTHN.js +4 -0
- package/dist/cdn/X4OSYHXM.js +4 -0
- package/dist/cdn/X5HQBW3N.js +4 -0
- package/dist/cdn/X5OYMSMS.js +4 -0
- package/dist/cdn/X7BJKKCT.js +4 -0
- package/dist/cdn/XCX5XNA4.js +4 -0
- package/dist/cdn/XD2X547L.js +4 -0
- package/dist/cdn/XD6LXAT2.js +4 -0
- package/dist/cdn/XEINDA5H.js +4 -0
- package/dist/cdn/XF2GA3TX.js +4 -0
- package/dist/cdn/XGC3OJYM.js +4 -0
- package/dist/cdn/XI4NHJXE.js +4 -0
- package/dist/cdn/XKGMCV4E.js +4 -0
- package/dist/cdn/XNEIP2HS.js +4 -0
- package/dist/cdn/XNZDM6HL.js +59 -0
- package/dist/cdn/XONAVTBL.js +4 -0
- package/dist/cdn/XOZCC64T.js +4 -0
- package/dist/cdn/XU6NFGVD.js +4 -0
- package/dist/cdn/XWMAJ6UJ.js +4 -0
- package/dist/cdn/Y2O5WD24.js +4 -0
- package/dist/cdn/Y2WMPCHK.js +4 -0
- package/dist/cdn/Y5DLWUWS.js +4 -0
- package/dist/cdn/Y6UUNQSI.js +4 -0
- package/dist/cdn/Y6X4ZPBB.js +4 -0
- package/dist/cdn/YAHUIBNF.js +4 -0
- package/dist/cdn/YDPZBTLI.js +4 -0
- package/dist/cdn/YFORYPQQ.js +4 -0
- package/dist/cdn/YG7FNEY7.js +4 -0
- package/dist/cdn/YGOQVEYO.js +4 -0
- package/dist/cdn/YGTPYWEC.js +4 -0
- package/dist/cdn/YIFSA2ZZ.js +4 -0
- package/dist/cdn/YLEQ3V5U.js +4 -0
- package/dist/cdn/YM2TTJLY.js +4 -0
- package/dist/cdn/YMG2A76D.js +4 -0
- package/dist/cdn/YOYESFOO.js +4 -0
- package/dist/cdn/YSMJOMPZ.js +4 -0
- package/dist/cdn/YU7IDEBY.js +4 -0
- package/dist/cdn/YVCQZOYE.js +4 -0
- package/dist/cdn/YX7K3GQB.js +4 -0
- package/dist/cdn/YZ7JOQZ2.js +4 -0
- package/dist/cdn/Z3I6NZXF.js +4 -0
- package/dist/cdn/Z4G24JAU.js +4 -0
- package/dist/cdn/Z5COPF7J.js +4 -0
- package/dist/cdn/Z5D6VLD7.js +4 -0
- package/dist/cdn/Z72K3RLC.js +4 -0
- package/dist/cdn/Z7UUG2BR.js +4 -0
- package/dist/cdn/Z7ZUXJKG.js +4 -0
- package/dist/cdn/ZCT6MKTE.js +4 -0
- package/dist/cdn/ZEJF6WTL.js +4 -0
- package/dist/cdn/ZEZ6I2QJ.js +4 -0
- package/dist/cdn/ZGOJY5MZ.js +4 -0
- package/dist/cdn/ZGPGIBNR.js +4 -0
- package/dist/cdn/ZJGW7ZYJ.js +4 -0
- package/dist/cdn/ZKZB2TY2.js +4 -0
- package/dist/cdn/ZLKOLZAL.js +4 -0
- package/dist/cdn/ZN73LX63.js +4 -0
- package/dist/cdn/ZQNH5NXP.js +4 -0
- package/dist/cdn/ZRUTZVI5.js +4 -0
- package/dist/cdn/ZRY7YBNO.js +4 -0
- package/dist/cdn/ZTVAGUMF.js +4 -0
- package/dist/cdn/ZUHWYKKE.js +4 -0
- package/dist/cdn/ZUVTNBGI.js +4 -0
- package/dist/cdn/ZW5FL7KR.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/findColumnAndNodeIndex.js +1 -1
- package/dist/chunks/getResponsiveClasses.js +1 -1
- package/dist/chunks/interpolate-translations.js +1 -1
- package/dist/chunks/isNodeVisible.js +1 -1
- package/dist/chunks/layoutContext.js +1 -1
- package/dist/chunks/migrateTextCard.js +1 -1
- package/dist/chunks/processLayout.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/state.js +1 -1
- package/dist/chunks/typeGuards.js +1 -1
- package/dist/chunks/useGlobalContext.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/util.js +1 -1
- package/dist/components/arcgis-chat-shell/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +1 -1
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +1 -1
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +1 -1
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +1 -1
- package/dist/components/arcgis-layout/customElement.js +1 -1
- package/dist/components/arcgis-layout-column/customElement.js +1 -1
- package/dist/components/arcgis-layout-container/customElement.js +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-wrapper/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/2323TBML.js +0 -4
- package/dist/cdn/24NP64DA.js +0 -4
- package/dist/cdn/253PVHCV.js +0 -4
- package/dist/cdn/256XHWUJ.js +0 -4
- package/dist/cdn/26NXZSVY.js +0 -4
- package/dist/cdn/26XLRFWB.js +0 -4
- package/dist/cdn/2BYMDOLL.js +0 -4
- package/dist/cdn/2CSYIRVH.js +0 -4
- package/dist/cdn/2G3W7FD3.js +0 -4
- package/dist/cdn/2HLAS5GD.js +0 -4
- package/dist/cdn/2LCXXCTG.js +0 -4
- package/dist/cdn/2MQVWK7M.js +0 -4
- package/dist/cdn/2NFCM7KZ.js +0 -4
- package/dist/cdn/2Q7AH5VL.js +0 -4
- package/dist/cdn/2SNUJAUR.js +0 -4
- package/dist/cdn/2TZVXXMD.js +0 -4
- package/dist/cdn/2VZT4Q3Z.js +0 -4
- package/dist/cdn/2X6GQW67.js +0 -4
- package/dist/cdn/2XCEI7LM.js +0 -4
- package/dist/cdn/2XT2HND5.js +0 -4
- package/dist/cdn/2YIIROLV.js +0 -4
- package/dist/cdn/33IVMFGB.js +0 -4
- package/dist/cdn/33PY3HLB.js +0 -4
- package/dist/cdn/342BWUWV.js +0 -4
- package/dist/cdn/3765V273.js +0 -4
- package/dist/cdn/37NXY3KI.js +0 -24
- package/dist/cdn/3BR3ZDB4.js +0 -4
- package/dist/cdn/3CTQ26O7.js +0 -4
- package/dist/cdn/3DEXMRDA.js +0 -4
- package/dist/cdn/3DW3T7QO.js +0 -4
- package/dist/cdn/3ENIQZ6W.js +0 -4
- package/dist/cdn/3EU7GXJD.js +0 -4
- package/dist/cdn/3FPI46G6.js +0 -4
- package/dist/cdn/3GEWXVYC.js +0 -4
- package/dist/cdn/3IL6S4QP.js +0 -4
- package/dist/cdn/3LRYDDU6.js +0 -4
- package/dist/cdn/3LYTN24G.js +0 -4
- package/dist/cdn/3MIHDLR6.js +0 -4
- package/dist/cdn/3N4ANDMB.js +0 -4
- package/dist/cdn/3NYGL64M.js +0 -4
- package/dist/cdn/3PLL442H.js +0 -4
- package/dist/cdn/3PMSFBGY.js +0 -4
- package/dist/cdn/3QJ3Y3OE.js +0 -4
- package/dist/cdn/3T352Y7U.js +0 -4
- package/dist/cdn/3TKBGNDN.js +0 -4
- package/dist/cdn/3TNBL4PF.js +0 -4
- package/dist/cdn/3UYKPCGQ.js +0 -4
- package/dist/cdn/3WHKUORA.js +0 -4
- package/dist/cdn/3X3NDELL.js +0 -4
- package/dist/cdn/3YKAVIG5.js +0 -4
- package/dist/cdn/3YQQL42C.js +0 -4
- package/dist/cdn/3Z72CDQD.js +0 -4
- package/dist/cdn/42BBR7PD.js +0 -4
- package/dist/cdn/42KVHS7F.js +0 -4
- package/dist/cdn/44F7KPEQ.js +0 -5
- package/dist/cdn/46UYQY3F.js +0 -4
- package/dist/cdn/46ZOXESZ.js +0 -4
- package/dist/cdn/4AJ7E4FL.js +0 -4
- package/dist/cdn/4BZ5W5LZ.js +0 -4
- package/dist/cdn/4E6GBGX3.js +0 -4
- package/dist/cdn/4EA34XZK.js +0 -4
- package/dist/cdn/4FL25GZR.js +0 -4
- package/dist/cdn/4HMVLJEY.js +0 -4
- package/dist/cdn/4KGC7Y6D.js +0 -4
- package/dist/cdn/4KIASYKN.js +0 -4
- package/dist/cdn/4NEEWPKI.js +0 -4
- package/dist/cdn/4PZESWSR.js +0 -4
- package/dist/cdn/4SJCYD7H.js +0 -4
- package/dist/cdn/4X6FLDQL.js +0 -4
- package/dist/cdn/4ZN2R2EA.js +0 -4
- package/dist/cdn/52ICAHFQ.js +0 -4
- package/dist/cdn/54N3FFQW.js +0 -4
- package/dist/cdn/556IG3P6.js +0 -4
- package/dist/cdn/57TRM2OS.js +0 -4
- package/dist/cdn/5HZZHR6U.js +0 -4
- package/dist/cdn/5KS6UENU.js +0 -4
- package/dist/cdn/5MYPHVTU.js +0 -4
- package/dist/cdn/5P4GXCH6.js +0 -4
- package/dist/cdn/5PKSRYVT.js +0 -4
- package/dist/cdn/5PTLKTSU.js +0 -4
- package/dist/cdn/5RBJASRM.js +0 -4
- package/dist/cdn/5SIET53U.js +0 -4
- package/dist/cdn/5TQAWK3E.js +0 -4
- package/dist/cdn/5U7Y7546.js +0 -4
- package/dist/cdn/5UHWYPQP.js +0 -4
- package/dist/cdn/5XTVRXEK.js +0 -4
- package/dist/cdn/5Y6DL6I5.js +0 -4
- package/dist/cdn/5YV3QU2G.js +0 -4
- package/dist/cdn/66QRQAQH.js +0 -4
- package/dist/cdn/6B4R4IIX.js +0 -4
- package/dist/cdn/6F6IGYXX.js +0 -4
- package/dist/cdn/6FFOWJUT.js +0 -4
- package/dist/cdn/6FZ6RJBQ.js +0 -4
- package/dist/cdn/6HCQELDZ.js +0 -4
- package/dist/cdn/6HFDPKXJ.js +0 -4
- package/dist/cdn/6HX4XLCX.js +0 -4
- package/dist/cdn/6I5HIOO6.js +0 -4
- package/dist/cdn/6KPFPQJO.js +0 -4
- package/dist/cdn/6L3GLOP4.js +0 -4
- package/dist/cdn/6MJEHR2O.js +0 -4
- package/dist/cdn/6OGSLQ3O.js +0 -4
- package/dist/cdn/6OLQQABN.js +0 -4
- package/dist/cdn/6P3B2LOK.js +0 -4
- package/dist/cdn/6Q5JNJ2R.js +0 -4
- package/dist/cdn/6SJVR3MT.js +0 -4
- package/dist/cdn/6SKDS2SM.js +0 -4
- package/dist/cdn/6TKJSCHD.js +0 -4
- package/dist/cdn/6UHEBJHN.js +0 -4
- package/dist/cdn/6V7DITJ2.js +0 -4
- package/dist/cdn/6WNCDTCU.js +0 -4
- package/dist/cdn/6XXVWFKU.js +0 -4
- package/dist/cdn/6Y7OTCE2.js +0 -4
- package/dist/cdn/73A5SYB6.js +0 -4
- package/dist/cdn/75J6UXQQ.js +0 -4
- package/dist/cdn/75OLUQWP.js +0 -4
- package/dist/cdn/7C5YD6LO.js +0 -4
- package/dist/cdn/7CE32JVN.js +0 -4
- package/dist/cdn/7EGAB64M.js +0 -4
- package/dist/cdn/7FALRF7J.js +0 -4
- package/dist/cdn/7FHLWU7C.js +0 -4
- package/dist/cdn/7G26RB77.js +0 -4
- package/dist/cdn/7GKA5GNA.js +0 -4
- package/dist/cdn/7IFGLWXF.js +0 -4
- package/dist/cdn/7KZIRMDF.js +0 -5
- package/dist/cdn/7RVZZSF5.js +0 -4
- package/dist/cdn/7RW3VLHE.js +0 -4
- package/dist/cdn/7TR5V3RK.js +0 -4
- package/dist/cdn/7TYZ5LDW.js +0 -4
- package/dist/cdn/7UWRDXN2.js +0 -4
- package/dist/cdn/7WH3SC25.js +0 -4
- package/dist/cdn/7XX2ZZVH.js +0 -4
- package/dist/cdn/7Z7VXOGW.js +0 -4
- package/dist/cdn/A25ILUJP.js +0 -4
- package/dist/cdn/A4FNDRFM.js +0 -4
- package/dist/cdn/A5XMI265.js +0 -4
- package/dist/cdn/A665EDYV.js +0 -4
- package/dist/cdn/AATMTEB7.js +0 -4
- package/dist/cdn/ABZBNXJT.js +0 -4
- package/dist/cdn/AEIHJKC5.js +0 -4
- package/dist/cdn/AFNI55TF.js +0 -4
- package/dist/cdn/AL3MNEWA.js +0 -4
- package/dist/cdn/ALTBYBQQ.js +0 -4
- package/dist/cdn/AOKPJ7NH.js +0 -4
- package/dist/cdn/APSWUPOP.js +0 -4
- package/dist/cdn/APXLD6DH.js +0 -4
- package/dist/cdn/AQ2UO6US.js +0 -4
- package/dist/cdn/AQLBK25Q.js +0 -4
- package/dist/cdn/AR7YGMWW.js +0 -4
- package/dist/cdn/AVVXNLOK.js +0 -4
- package/dist/cdn/AVWGOKQD.js +0 -4
- package/dist/cdn/AW766RL5.js +0 -4
- package/dist/cdn/AXWTXCVI.js +0 -4
- package/dist/cdn/AXYUDACL.js +0 -4
- package/dist/cdn/AYFRK3BQ.js +0 -4
- package/dist/cdn/AYJOYJON.js +0 -4
- package/dist/cdn/B2DB66RP.js +0 -4
- package/dist/cdn/B4XIO7MX.js +0 -4
- package/dist/cdn/B7MUSOA6.js +0 -4
- package/dist/cdn/BE2NCT6S.js +0 -4
- package/dist/cdn/BFCSOVJ2.js +0 -4
- package/dist/cdn/BFFIXZHX.js +0 -4
- package/dist/cdn/BGOY7SBK.js +0 -4
- package/dist/cdn/BNVVPQ7H.js +0 -4
- package/dist/cdn/BPACL5VT.js +0 -4
- package/dist/cdn/BRTPNSM5.js +0 -4
- package/dist/cdn/BRX6WXGB.js +0 -4
- package/dist/cdn/BUJ4IRLU.js +0 -4
- package/dist/cdn/BXONNDTZ.js +0 -4
- package/dist/cdn/BY2Z7X4G.js +0 -4
- package/dist/cdn/C43B6MDN.js +0 -4
- package/dist/cdn/C4IJASRB.js +0 -4
- package/dist/cdn/C6BCAJ6E.js +0 -4
- package/dist/cdn/C6IV2VUE.js +0 -4
- package/dist/cdn/C6QC6BUX.js +0 -4
- package/dist/cdn/CAJ534DU.js +0 -4
- package/dist/cdn/CENVPCRH.js +0 -4
- package/dist/cdn/CFVC6JOL.js +0 -4
- package/dist/cdn/CISLMYKO.js +0 -4
- package/dist/cdn/CJTQL6DF.js +0 -4
- package/dist/cdn/CK3VX655.js +0 -4
- package/dist/cdn/CMR6HSRH.js +0 -4
- package/dist/cdn/CNGJVC3D.js +0 -4
- package/dist/cdn/CPJN4MHO.js +0 -4
- package/dist/cdn/CRURIXFB.js +0 -11
- package/dist/cdn/CVQNZ74I.js +0 -4
- package/dist/cdn/CWYSEIOX.js +0 -4
- package/dist/cdn/D5ZCOW26.js +0 -4
- package/dist/cdn/D7HGKMXZ.js +0 -4
- package/dist/cdn/D7IEDUGO.js +0 -4
- package/dist/cdn/D7WHT3EE.js +0 -4
- package/dist/cdn/DBEXZ7JZ.js +0 -4
- package/dist/cdn/DCIU34OO.js +0 -4
- package/dist/cdn/DD2QZX57.js +0 -4
- package/dist/cdn/DDCGW5RI.js +0 -4
- package/dist/cdn/DEJRHY65.js +0 -4
- package/dist/cdn/DFCAWDWX.js +0 -4
- package/dist/cdn/DFQ7II7W.js +0 -12
- package/dist/cdn/DGZ6JAS2.js +0 -4
- package/dist/cdn/DHTNLNVK.js +0 -4
- package/dist/cdn/DIMOHQMT.js +0 -4
- package/dist/cdn/DKCRGXVN.js +0 -4
- package/dist/cdn/DNJJQTOA.js +0 -4
- package/dist/cdn/DRIPN273.js +0 -4
- package/dist/cdn/DV5GVBXU.js +0 -4
- package/dist/cdn/DW4MI4GF.js +0 -4
- package/dist/cdn/DWP3ZNJ5.js +0 -4
- package/dist/cdn/DY5U4AKH.js +0 -4
- package/dist/cdn/DZGB346J.js +0 -4
- package/dist/cdn/E23X54IP.js +0 -4
- package/dist/cdn/E4GP4WVJ.js +0 -4
- package/dist/cdn/EAMJVCGV.js +0 -4
- package/dist/cdn/EATRTPYT.js +0 -4
- package/dist/cdn/ECTQ3SQH.js +0 -4
- package/dist/cdn/EFNV2AGS.js +0 -4
- package/dist/cdn/EJWL43W6.js +0 -4
- package/dist/cdn/EK75WJWF.js +0 -4
- package/dist/cdn/EKLL25HA.js +0 -4
- package/dist/cdn/EN3GLPCH.js +0 -4
- package/dist/cdn/EOBNWBNB.js +0 -5
- package/dist/cdn/ERMVDWAR.js +0 -4
- package/dist/cdn/ES5GA3PJ.js +0 -4
- package/dist/cdn/ES7VERJB.js +0 -4
- package/dist/cdn/ESSM5V7J.js +0 -4
- package/dist/cdn/EUSTRKGX.js +0 -4
- package/dist/cdn/EWQBX74D.js +0 -4
- package/dist/cdn/EYHMBZVO.js +0 -4
- package/dist/cdn/F7A6VT5G.js +0 -4
- package/dist/cdn/F7NPPH7I.js +0 -4
- package/dist/cdn/FAENO3U3.js +0 -4
- package/dist/cdn/FBUULUKY.js +0 -4
- package/dist/cdn/FBZNSOXX.js +0 -4
- package/dist/cdn/FG26I5KG.js +0 -4
- package/dist/cdn/FITHKRXC.js +0 -4
- package/dist/cdn/FJO4HGVQ.js +0 -4
- package/dist/cdn/FKO6EC3L.js +0 -4
- package/dist/cdn/FMNQHI4L.js +0 -4
- package/dist/cdn/FNAQGIXD.js +0 -4
- package/dist/cdn/FSGH2HXV.js +0 -4
- package/dist/cdn/FSP642GD.js +0 -4
- package/dist/cdn/FV3BBLEB.js +0 -4
- package/dist/cdn/FVWA62LI.js +0 -4
- package/dist/cdn/FWH2LHPE.js +0 -4
- package/dist/cdn/FY6UT6UD.js +0 -4
- package/dist/cdn/FZAQ4F4G.js +0 -4
- package/dist/cdn/FZWSEUUZ.js +0 -4
- package/dist/cdn/G4PCFBUR.js +0 -4
- package/dist/cdn/G4VSW6SL.js +0 -25
- package/dist/cdn/G6KMDQAY.js +0 -4
- package/dist/cdn/G7UBYDDF.js +0 -4
- package/dist/cdn/GAZCD57Y.js +0 -4
- package/dist/cdn/GFFEK7ID.js +0 -4
- package/dist/cdn/GFHHQP6P.js +0 -4
- package/dist/cdn/GGKPGKQ4.js +0 -4
- package/dist/cdn/GHZVSDDV.js +0 -4
- package/dist/cdn/GJLVEP2J.js +0 -4
- package/dist/cdn/GJM5POK6.js +0 -4
- package/dist/cdn/GNMQOJ3L.js +0 -4
- package/dist/cdn/GOJIWBSI.js +0 -4
- package/dist/cdn/GOWLDRA5.js +0 -4
- package/dist/cdn/GOY24ZLK.js +0 -4
- package/dist/cdn/GQGUGAVN.js +0 -4
- package/dist/cdn/GWVWKFXO.js +0 -4
- package/dist/cdn/GYPDIS63.js +0 -4
- package/dist/cdn/GZRPU74B.js +0 -4
- package/dist/cdn/H3RLOLAS.js +0 -4
- package/dist/cdn/HA2MQCZE.js +0 -4
- package/dist/cdn/HB27YKWI.js +0 -4
- package/dist/cdn/HCZYIRRX.js +0 -4
- package/dist/cdn/HF5KTP2E.js +0 -4
- package/dist/cdn/HFI2UAWR.js +0 -4
- package/dist/cdn/HGB7M4XL.js +0 -4
- package/dist/cdn/HOFYIZBP.js +0 -4
- package/dist/cdn/HRWFXZL2.js +0 -4
- package/dist/cdn/HSH7KFLO.js +0 -4
- package/dist/cdn/HSWHJZK7.js +0 -4
- package/dist/cdn/HTJGYKVB.js +0 -8
- package/dist/cdn/HTX6JIWP.js +0 -4
- package/dist/cdn/HUZTJPKZ.js +0 -4
- package/dist/cdn/I3BNJGTG.js +0 -4
- package/dist/cdn/I5R33HN4.js +0 -4
- package/dist/cdn/I6PX6CG7.js +0 -4
- package/dist/cdn/I7M6RTYZ.js +0 -4
- package/dist/cdn/IAUIT3WP.js +0 -4
- package/dist/cdn/IEZPWUTA.js +0 -4
- package/dist/cdn/IFB4TQIK.js +0 -4
- package/dist/cdn/IFDSJD52.js +0 -4
- package/dist/cdn/IFOKAXG3.js +0 -4
- package/dist/cdn/IGIYFIS5.js +0 -4
- package/dist/cdn/IHXN2UAK.js +0 -4
- package/dist/cdn/IJFNVL5O.js +0 -4
- package/dist/cdn/IJYMTPAS.js +0 -4
- package/dist/cdn/IK5UQWVN.js +0 -4
- package/dist/cdn/INVVB6CR.js +0 -6
- package/dist/cdn/IT52GFII.js +0 -4
- package/dist/cdn/ITXUKW4J.js +0 -4
- package/dist/cdn/IUNDZTUD.js +0 -4
- package/dist/cdn/IW2AORJ7.js +0 -4
- package/dist/cdn/IXW2FDFW.js +0 -4
- package/dist/cdn/IZNIR2LX.js +0 -4
- package/dist/cdn/J5CXUZLP.js +0 -4
- package/dist/cdn/J6DFILFG.js +0 -4
- package/dist/cdn/J742DCX2.js +0 -4
- package/dist/cdn/J7R7WYNN.js +0 -4
- package/dist/cdn/J7TK34NR.js +0 -4
- package/dist/cdn/J7X7JQZT.js +0 -4
- package/dist/cdn/JBL5TFVV.js +0 -4
- package/dist/cdn/JFZ45ZJI.js +0 -4
- package/dist/cdn/JH5KCLPW.js +0 -4
- package/dist/cdn/JI2NIRNJ.js +0 -5
- package/dist/cdn/JJNH4RHD.js +0 -4
- package/dist/cdn/JKSWFFF4.js +0 -4
- package/dist/cdn/JLNRGMTA.js +0 -4
- package/dist/cdn/JNVXVLSN.js +0 -4
- package/dist/cdn/JOJWVJDX.js +0 -4
- package/dist/cdn/JPOVOHK7.js +0 -4
- package/dist/cdn/JTDRMGAL.js +0 -4
- package/dist/cdn/JUB2G4HG.js +0 -4
- package/dist/cdn/JUU5V63M.js +0 -4
- package/dist/cdn/JVA4DDAH.js +0 -4
- package/dist/cdn/JVEWMJ24.js +0 -4
- package/dist/cdn/JVR5YE5N.js +0 -4
- package/dist/cdn/JWE5HSCY.js +0 -4
- package/dist/cdn/JWOYDYY5.js +0 -4
- package/dist/cdn/JXOQMKPH.js +0 -4
- package/dist/cdn/K36MKQGS.js +0 -4
- package/dist/cdn/K5A42UJC.js +0 -4
- package/dist/cdn/KAHYOTH3.js +0 -4
- package/dist/cdn/KBCBJNZQ.js +0 -4
- package/dist/cdn/KDLBKU3I.js +0 -4
- package/dist/cdn/KF76CPF4.js +0 -4
- package/dist/cdn/KGQIRRTS.js +0 -4
- package/dist/cdn/KH3PUYJX.js +0 -4
- package/dist/cdn/KIJX6X3I.js +0 -4
- package/dist/cdn/KLRGYVGR.js +0 -4
- package/dist/cdn/KNAVELUV.js +0 -4
- package/dist/cdn/KOZA5ITQ.js +0 -5470
- package/dist/cdn/KQNMX2LX.js +0 -4
- package/dist/cdn/KQQXBAEM.js +0 -4
- package/dist/cdn/KTK3DRST.js +0 -4
- package/dist/cdn/KXXTRE3F.js +0 -5
- package/dist/cdn/KYUNH5YN.js +0 -4
- package/dist/cdn/KZ3SRJ7G.js +0 -4
- package/dist/cdn/L3PLPCTQ.js +0 -4
- package/dist/cdn/L5JE727B.js +0 -4
- package/dist/cdn/L5XQ7ZMO.js +0 -4
- package/dist/cdn/L752ND35.js +0 -4
- package/dist/cdn/L7SJEIGC.js +0 -4
- package/dist/cdn/LAETVEAG.js +0 -4
- package/dist/cdn/LAK7UIEL.js +0 -4
- package/dist/cdn/LFSKUQQX.js +0 -4
- package/dist/cdn/LFUYRNEO.js +0 -4
- package/dist/cdn/LGNS67OZ.js +0 -4
- package/dist/cdn/LHUDH5D5.js +0 -4
- package/dist/cdn/LJGF7QOQ.js +0 -4
- package/dist/cdn/LLH7LZ2S.js +0 -4
- package/dist/cdn/LLSXLQB7.js +0 -5
- package/dist/cdn/LMUKWSDF.js +0 -4
- package/dist/cdn/LPDDGN62.js +0 -4
- package/dist/cdn/LQSVAESY.js +0 -4
- package/dist/cdn/LSCN5W6W.js +0 -6
- package/dist/cdn/LVH3ROWK.js +0 -4
- package/dist/cdn/LZQAOODL.js +0 -4
- package/dist/cdn/M2KRU4JH.js +0 -4
- package/dist/cdn/M3JSWH7L.js +0 -4
- package/dist/cdn/M5AQLHYY.js +0 -4
- package/dist/cdn/M75LVWXX.js +0 -4
- package/dist/cdn/ME26MOM7.js +0 -4
- package/dist/cdn/MF4BQO7K.js +0 -4
- package/dist/cdn/MF7MNB4F.js +0 -4
- package/dist/cdn/MHNJ3K3P.js +0 -4
- package/dist/cdn/MJ7XWZUZ.js +0 -4
- package/dist/cdn/MJB7LKS2.js +0 -4
- package/dist/cdn/MKMSXPKI.js +0 -4
- package/dist/cdn/ML5FX6E2.js +0 -4
- package/dist/cdn/MPUVLM7T.js +0 -4
- package/dist/cdn/MT5WPWZ3.js +0 -4
- package/dist/cdn/MTYZYTZA.js +0 -4
- package/dist/cdn/MYELTJCR.js +0 -4
- package/dist/cdn/MZK3J2JS.js +0 -4
- package/dist/cdn/MZRLFIA6.js +0 -4
- package/dist/cdn/N4A7ZLG6.js +0 -4
- package/dist/cdn/N4DLWFKO.js +0 -4
- package/dist/cdn/N66PADPL.js +0 -41
- package/dist/cdn/N72BLFJ2.js +0 -4
- package/dist/cdn/NA5XIPBA.js +0 -42
- package/dist/cdn/NBXC7ZXA.js +0 -4
- package/dist/cdn/NC4THYRL.js +0 -4
- package/dist/cdn/NCSPUXNG.js +0 -4
- package/dist/cdn/NEPJVW7N.js +0 -4
- package/dist/cdn/NFBJECRB.js +0 -4
- package/dist/cdn/NGW5RAXQ.js +0 -4
- package/dist/cdn/NKICO66R.js +0 -4
- package/dist/cdn/NKLRARMN.js +0 -4
- package/dist/cdn/NLWEU5KH.js +0 -4
- package/dist/cdn/NM7P3DOB.js +0 -4
- package/dist/cdn/NN7IGP4N.js +0 -4
- package/dist/cdn/NR64EGFX.js +0 -4
- package/dist/cdn/NUPUMWDD.js +0 -4
- package/dist/cdn/NVQ63SBB.js +0 -4
- package/dist/cdn/NXRIHPKB.js +0 -4
- package/dist/cdn/NXUD3KFO.js +0 -4
- package/dist/cdn/NXZIHSSF.js +0 -4
- package/dist/cdn/NZYS2VSI.js +0 -4
- package/dist/cdn/O2N34JSU.js +0 -4
- package/dist/cdn/O473VZ5K.js +0 -4
- package/dist/cdn/OCGZT4MO.js +0 -4
- package/dist/cdn/ODMLCPRS.js +0 -4
- package/dist/cdn/OEXJBA4V.js +0 -4
- package/dist/cdn/OGFKTFVA.js +0 -4
- package/dist/cdn/OH2DXA7C.js +0 -4
- package/dist/cdn/OJTLGWMN.js +0 -4
- package/dist/cdn/OK7EBESM.js +0 -4
- package/dist/cdn/OMXV4TYX.js +0 -4
- package/dist/cdn/ONXJWNV4.js +0 -4
- package/dist/cdn/OS2NT67A.js +0 -4
- package/dist/cdn/OS656KHH.js +0 -4
- package/dist/cdn/OTAEFPF6.js +0 -4
- package/dist/cdn/OUIAIXG4.js +0 -4
- package/dist/cdn/OV2BFE6R.js +0 -4
- package/dist/cdn/OYG4LKPV.js +0 -4
- package/dist/cdn/OZDPM6MU.js +0 -4
- package/dist/cdn/P25JSFWC.js +0 -4
- package/dist/cdn/P2GT4GYN.js +0 -4
- package/dist/cdn/P43KGU7T.js +0 -4
- package/dist/cdn/P4T3JNGH.js +0 -4
- package/dist/cdn/P6CR5IPF.js +0 -4
- package/dist/cdn/PA3UUEW7.js +0 -4
- package/dist/cdn/PA6U5Y5D.js +0 -4
- package/dist/cdn/PAKUKNMA.js +0 -16
- package/dist/cdn/PCP2XV2R.js +0 -4
- package/dist/cdn/PEFH4H6L.js +0 -4
- package/dist/cdn/PH6WIQYH.js +0 -4
- package/dist/cdn/PI3652T5.js +0 -4
- package/dist/cdn/PPNZ6475.js +0 -4
- package/dist/cdn/PSD5ZCRL.js +0 -4
- package/dist/cdn/PUTHWKRS.js +0 -4
- package/dist/cdn/PVIS2JFV.js +0 -4
- package/dist/cdn/PVKEQSNZ.js +0 -4
- package/dist/cdn/PWXSGXGI.js +0 -4
- package/dist/cdn/PXYOFLE7.js +0 -4
- package/dist/cdn/PYSVH7G5.js +0 -4
- package/dist/cdn/PZARZIUM.js +0 -4
- package/dist/cdn/Q2WLH2DP.js +0 -4
- package/dist/cdn/Q3NCPXG2.js +0 -4
- package/dist/cdn/Q56BPBYP.js +0 -4
- package/dist/cdn/Q65C2LGC.js +0 -6
- package/dist/cdn/QCGQWPJZ.js +0 -4
- package/dist/cdn/QGGOQ34V.js +0 -4
- package/dist/cdn/QHNJ4VW2.js +0 -4
- package/dist/cdn/QICTDN3R.js +0 -4
- package/dist/cdn/QIL5K4IS.js +0 -4
- package/dist/cdn/QLMSQSMF.js +0 -4
- package/dist/cdn/QOGQ7ZUR.js +0 -4
- package/dist/cdn/QOM5YUMI.js +0 -4
- package/dist/cdn/QQZ4AYHR.js +0 -4
- package/dist/cdn/QTY6M7IH.js +0 -4
- package/dist/cdn/QZGVVHOX.js +0 -4
- package/dist/cdn/R3533JAZ.js +0 -4
- package/dist/cdn/R44LZAAQ.js +0 -4
- package/dist/cdn/R727MXBW.js +0 -4
- package/dist/cdn/RASIKKQH.js +0 -4
- package/dist/cdn/RAUNHDIO.js +0 -4
- package/dist/cdn/RAYHMZRT.js +0 -4
- package/dist/cdn/RBMVYM2A.js +0 -4
- package/dist/cdn/RBVRRPVZ.js +0 -4
- package/dist/cdn/RBXHSIYL.js +0 -4
- package/dist/cdn/RCEIVVTU.js +0 -4
- package/dist/cdn/RCETGQY5.js +0 -4
- package/dist/cdn/RHLW76AN.js +0 -4
- package/dist/cdn/RJLZX4VB.js +0 -4
- package/dist/cdn/RKG2TMUS.js +0 -4
- package/dist/cdn/RLGZLBGU.js +0 -4
- package/dist/cdn/RORNPPYL.js +0 -4
- package/dist/cdn/RRI5KG6H.js +0 -4
- package/dist/cdn/RVIQX4TL.js +0 -59
- package/dist/cdn/RVWMSPJD.js +0 -4
- package/dist/cdn/RWWJ2IPR.js +0 -4
- package/dist/cdn/RYLBLPK6.js +0 -4
- package/dist/cdn/S2DLCVTT.js +0 -4
- package/dist/cdn/S4QWOL5P.js +0 -4
- package/dist/cdn/S5DWTRL4.js +0 -4
- package/dist/cdn/S5OIYIKM.js +0 -4
- package/dist/cdn/S6IYZQOT.js +0 -4
- package/dist/cdn/SASGPXWT.js +0 -4
- package/dist/cdn/SBSJ5MAW.js +0 -4
- package/dist/cdn/SCAWYQUM.js +0 -4
- package/dist/cdn/SF244W5X.js +0 -4
- package/dist/cdn/SFCCORCQ.js +0 -4
- package/dist/cdn/SGQ3A6XO.js +0 -4
- package/dist/cdn/SLQYQ62I.js +0 -4
- package/dist/cdn/SNYEODUD.js +0 -4
- package/dist/cdn/SOVA4JKF.js +0 -4
- package/dist/cdn/SQZQ7Y2Q.js +0 -4
- package/dist/cdn/SSVOTSIB.js +0 -4
- package/dist/cdn/SSY476RZ.js +0 -51
- package/dist/cdn/STICIP4V.js +0 -4
- package/dist/cdn/STOVBQQS.js +0 -4
- package/dist/cdn/STSCY3U6.js +0 -4
- package/dist/cdn/STWJ5PR7.js +0 -4
- package/dist/cdn/SU4EHFZQ.js +0 -4
- package/dist/cdn/SWEJ7A3T.js +0 -4
- package/dist/cdn/SWNZRPXN.js +0 -4
- package/dist/cdn/SWXB3CXM.js +0 -4
- package/dist/cdn/SX7CSKPR.js +0 -4
- package/dist/cdn/SXFJTLBM.js +0 -4
- package/dist/cdn/SYV6QMYF.js +0 -4
- package/dist/cdn/SZAUBFQN.js +0 -4
- package/dist/cdn/T2O6TM2W.js +0 -4
- package/dist/cdn/T3AHPXXI.js +0 -4
- package/dist/cdn/T5OOSQK3.js +0 -4
- package/dist/cdn/T5WIKE4M.js +0 -4
- package/dist/cdn/TBCVPSCI.js +0 -4
- package/dist/cdn/TCG662RB.js +0 -4
- package/dist/cdn/TEL2IQRL.js +0 -12
- package/dist/cdn/TKRZSETV.js +0 -4
- package/dist/cdn/TLRQ7F5J.js +0 -4
- package/dist/cdn/TONDW4XK.js +0 -4
- package/dist/cdn/TOR7V3SO.js +0 -4
- package/dist/cdn/TRBZCSAL.js +0 -4
- package/dist/cdn/TS54OOJX.js +0 -4
- package/dist/cdn/TSLVLZT4.js +0 -4
- package/dist/cdn/TV6NSSC4.js +0 -4
- package/dist/cdn/TXV4WBUO.js +0 -4
- package/dist/cdn/U2R57LYN.js +0 -4
- package/dist/cdn/U4SUWSDN.js +0 -4
- package/dist/cdn/U5DPUN3O.js +0 -4
- package/dist/cdn/U6G6AGTB.js +0 -4
- package/dist/cdn/UA2PDFPG.js +0 -4
- package/dist/cdn/UCB75TBU.js +0 -4
- package/dist/cdn/UDVGTAFP.js +0 -4
- package/dist/cdn/UEF425SL.js +0 -4
- package/dist/cdn/UGKQKCJG.js +0 -4
- package/dist/cdn/UGT6QRPB.js +0 -4
- package/dist/cdn/UH2O33ZA.js +0 -4
- package/dist/cdn/UJQPW53E.js +0 -4
- package/dist/cdn/UNAOVS6W.js +0 -4
- package/dist/cdn/UQLYODB6.js +0 -4
- package/dist/cdn/UR4ZTLHZ.js +0 -4
- package/dist/cdn/URIK4U4G.js +0 -4
- package/dist/cdn/UTG3S76H.js +0 -4
- package/dist/cdn/UURSOLNM.js +0 -4
- package/dist/cdn/UVKOOSZ5.js +0 -4
- package/dist/cdn/UXRNXT5N.js +0 -4
- package/dist/cdn/V3FEANMF.js +0 -4
- package/dist/cdn/V3JMZANA.js +0 -4
- package/dist/cdn/V5DBXXBR.js +0 -4
- package/dist/cdn/V64Z6LJC.js +0 -4
- package/dist/cdn/V7LYHZWH.js +0 -4
- package/dist/cdn/VBBHPJRN.js +0 -4
- package/dist/cdn/VDG3CS4C.js +0 -4
- package/dist/cdn/VE3IG7OU.js +0 -4
- package/dist/cdn/VF3LWROQ.js +0 -4
- package/dist/cdn/VGRW2EDS.js +0 -4
- package/dist/cdn/VIDQEEVI.js +0 -4
- package/dist/cdn/VIK44SZU.js +0 -4
- package/dist/cdn/VLH52FMS.js +0 -4
- package/dist/cdn/VMY4MPPS.js +0 -4
- package/dist/cdn/VPAHGKY6.js +0 -8
- package/dist/cdn/VPEJTT72.js +0 -4
- package/dist/cdn/VQ7DSNJI.js +0 -4
- package/dist/cdn/VQMPWSDU.js +0 -4
- package/dist/cdn/VQTQQYYV.js +0 -4
- package/dist/cdn/VRY52TTE.js +0 -4
- package/dist/cdn/VSDDPCCI.js +0 -4
- package/dist/cdn/VT6CUKKN.js +0 -4
- package/dist/cdn/VWXYTG7Q.js +0 -4
- package/dist/cdn/VXAFB5TZ.js +0 -4
- package/dist/cdn/VXLYC4EZ.js +0 -4
- package/dist/cdn/VZMH5PUW.js +0 -4
- package/dist/cdn/VZWOFLUE.js +0 -4
- package/dist/cdn/W2ZCH47I.js +0 -4
- package/dist/cdn/W32SBVH6.js +0 -4
- package/dist/cdn/W55EMXJ7.js +0 -4
- package/dist/cdn/W5HLFB6U.js +0 -4
- package/dist/cdn/W5Y25SPE.js +0 -4
- package/dist/cdn/W7SUECSB.js +0 -4
- package/dist/cdn/WBNURXAV.js +0 -4
- package/dist/cdn/WCUV7WGE.js +0 -4
- package/dist/cdn/WCZN7FGJ.js +0 -4
- package/dist/cdn/WI3SB2HL.js +0 -4
- package/dist/cdn/WK5Y5APW.js +0 -4
- package/dist/cdn/WKYTGUYX.js +0 -4
- package/dist/cdn/WLDNHDWN.js +0 -4
- package/dist/cdn/WOAVZUI7.js +0 -4
- package/dist/cdn/WP77LWCO.js +0 -4
- package/dist/cdn/WSCQCBEK.js +0 -4
- package/dist/cdn/WT2JDYDN.js +0 -4
- package/dist/cdn/WV5HD2WY.js +0 -4
- package/dist/cdn/WWLLH5ID.js +0 -4
- package/dist/cdn/WXV6TBUS.js +0 -4
- package/dist/cdn/WY7KGQDR.js +0 -52
- package/dist/cdn/X2MJJKHG.js +0 -4
- package/dist/cdn/X3D2JMCN.js +0 -4
- package/dist/cdn/X5BA5QAK.js +0 -4
- package/dist/cdn/XCXAYNVO.js +0 -4
- package/dist/cdn/XDYO5COW.js +0 -4
- package/dist/cdn/XESLOXMW.js +0 -4
- package/dist/cdn/XFE3DEAX.js +0 -4
- package/dist/cdn/XJ6WJHSQ.js +0 -4
- package/dist/cdn/XKALP6S3.js +0 -4
- package/dist/cdn/XKBGZLRK.js +0 -4
- package/dist/cdn/XLMSFDMP.js +0 -4
- package/dist/cdn/XMUVXOQK.js +0 -4
- package/dist/cdn/XOSVR3MH.js +0 -4
- package/dist/cdn/XOU2UXNP.js +0 -4
- package/dist/cdn/XPEWM3NO.js +0 -4
- package/dist/cdn/XQSD67PV.js +0 -4
- package/dist/cdn/XTHCXWTW.js +0 -4
- package/dist/cdn/XVCSEV72.js +0 -4
- package/dist/cdn/XWXVN55P.js +0 -9
- package/dist/cdn/XXMSD3K4.js +0 -4
- package/dist/cdn/Y2VK33F3.js +0 -4
- package/dist/cdn/Y3GBBHIP.js +0 -4
- package/dist/cdn/Y4LP4AQV.js +0 -4
- package/dist/cdn/YBMHD46H.js +0 -4
- package/dist/cdn/YE4QYPE5.js +0 -4
- package/dist/cdn/YFJXV3BC.js +0 -4
- package/dist/cdn/YFQODFXM.js +0 -4
- package/dist/cdn/YG4TNY4M.js +0 -4
- package/dist/cdn/YIWDAASG.js +0 -4
- package/dist/cdn/YNTEKMO5.js +0 -4
- package/dist/cdn/YQ4WQRJC.js +0 -4
- package/dist/cdn/YUGA2DNS.js +0 -4
- package/dist/cdn/YV56EJRT.js +0 -4
- package/dist/cdn/YVNUNGUS.js +0 -4
- package/dist/cdn/YYBAT4HV.js +0 -59
- package/dist/cdn/YYYFZLWS.js +0 -4
- package/dist/cdn/Z32IW5F4.js +0 -4
- package/dist/cdn/Z3D6U244.js +0 -4
- package/dist/cdn/Z4AV5AP2.js +0 -4
- package/dist/cdn/Z7B35P2S.js +0 -4
- package/dist/cdn/ZAIEM3E4.js +0 -4
- package/dist/cdn/ZAOPC3JA.js +0 -4
- package/dist/cdn/ZD4DUSQ5.js +0 -4
- package/dist/cdn/ZEFK4ISC.js +0 -4
- package/dist/cdn/ZFBX2Y5T.js +0 -4
- package/dist/cdn/ZFCDNRSC.js +0 -4
- package/dist/cdn/ZFNYVCQZ.js +0 -4
- package/dist/cdn/ZFXUAY3B.js +0 -4
- package/dist/cdn/ZG5DSDM6.js +0 -4
- package/dist/cdn/ZGIKTZSX.js +0 -4
- package/dist/cdn/ZIWG7ZMX.js +0 -4
- package/dist/cdn/ZK4QBVRX.js +0 -4
- package/dist/cdn/ZKDRTM5H.js +0 -4
- package/dist/cdn/ZOHKG4H3.js +0 -4
- package/dist/cdn/ZOMLHE3Z.js +0 -4
- package/dist/cdn/ZP47KIEY.js +0 -4
- package/dist/cdn/ZP563RYX.js +0 -4
- package/dist/cdn/ZQWMOBBX.js +0 -4
- package/dist/cdn/ZR74UIT7.js +0 -4
- package/dist/cdn/ZRHI5FFC.js +0 -4
- package/dist/cdn/ZRR76N6P.js +0 -4
- package/dist/cdn/ZSFA3TMI.js +0 -4
- package/dist/cdn/ZUTHG73P.js +0 -4
- package/dist/cdn/ZUXA3NHV.js +0 -4
- package/dist/cdn/ZVMPW6L4.js +0 -4
- package/dist/cdn/ZVZA7DW3.js +0 -4
package/dist/cdn/JH5KCLPW.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{a as I}from"./MZRLFIA6.js";import{a as F}from"./R727MXBW.js";import"./ZEFK4ISC.js";import{b as d}from"./SYV6QMYF.js";import{a as D}from"./O473VZ5K.js";import{a as l}from"./RWWJ2IPR.js";import{d as y}from"./OEXJBA4V.js";import"./3Z72CDQD.js";import{a as x}from"./TONDW4XK.js";import{a as g}from"./I7M6RTYZ.js";import{a as f}from"./G4VSW6SL.js";import"./D7IEDUGO.js";import"./6SKDS2SM.js";import{b as r,c as w,d as m,e as h,i as b}from"./L752ND35.js";import"./6V7DITJ2.js";import{a as v}from"./A665EDYV.js";import"./GNMQOJ3L.js";import"./VMY4MPPS.js";import"./5XTVRXEK.js";var T={required:["title"],type:"object",properties:{title:{type:"string",minLength:1},snippet:{type:"string",maxLength:2048},tags:{type:"array",items:{type:"string"}}}},k={type:"Layout",elements:[{labelKey:"title",scope:"/properties/title",type:"Control"},{labelKey:"snippet",scope:"/properties/snippet",type:"Control",options:{control:"hub-field-input-input",type:"textarea"}},{labelKey:"tags",scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-multiselect"}}]},oe=class{constructor(e){b(this,e),this.arcgisHubFileMetadataEditorChange=h(this,"arcgisHubFileMetadataEditorChange",7),this._schema=v(T),this._uiSchema=v(k),this.values={},g(this,"translationFunc")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.element)}handleValuesChanged(){this.internalValues=v(this.values)}handleEditorChangeEvent(e){e.stopPropagation(),this.arcgisHubFileMetadataEditorChange.emit(e.detail)}translationFunc(e,i,s){return this.intl.t(e,i,s)}render(){return r("div",{key:"555e9bc47315c89278c8002b3d517e08adebbfbb"},r("arcgis-configuration-editor",{key:"6c7aacab583df14da476f78da5bdd0bf30e68b34",schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this.internalValues}))}static get assetsDirs(){return["locales"]}get element(){return m(this)}static get watchers(){return{values:["handleValuesChanged"]}}};function C(e){let i=/(?:\.([^.]+))?$/,s=/\.|-/g,t=e.replace(/^.*(\\|\/|:)/,""),n=t&&i.exec(t)[1]?i.exec(t)[1].toLowerCase():"",a="";if(t.indexOf(".rft.")>-1){let[o,c]=t.split(".rft.");n=`rft.${c}`,a=o}return t&&!a&&(a=t.lastIndexOf(".")===-1?t:t.substring(0,t.lastIndexOf("."))),a=a.replace(s,"_"),{title:a,fileName:t,extension:n}}function H(e,i){let s=Object.keys(d),t=[];return s.forEach(n=>{var a;((a=d[n].fileExt)===null||a===void 0?void 0:a.indexOf(e))>=0&&(i?(x(i,"extensions",[]).indexOf(e)>=0||x(i,"types",[]).indexOf(d[n].type)>=0)&&t.push(d[n]):t.push(d[n]))}),t}function _(e,i,s){let t=!1,n;return e.length>1?n="multipleFilesError":e[0].size>i?n="fileTooLargeError":H(C(e[0].name).extension,s).length>0?t=!0:n="unsupportedFileTypeError",{success:t,errorMessage:n}}var G=":host{box-sizing:border-box;display:block;width:100%;border-width:1px;border-style:dashed;padding-top:2rem;padding-bottom:2rem;text-align:center;transition:all 200ms ease-in-out;border-color:#828282;background-color:var(--calcite-color-foreground-1)}:host(.dragging){border-color:var(--calcite-color-brand);background-color:rgba(0, 121, 193, 0.05)}:host(.error){background-color:#FFF1EF;border-color:var(--calcite-color-status-danger)}:host(.success){border-color:var(--calcite-color-status-success);color:var(--calcite-color-status-success)}header{margin-bottom:5px;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}p{margin-top:5px;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}a{display:block}input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}",O=G,M={"image/png":l.Image,"image/jpeg":l.Image,"image/tiff":l.Image,"image/tif":l.Image,"text/csv":l.CSV,"application/pdf":l.PDF,"application/geo+json":l.GeoJson,"application/vnd.ms-excel":l["Microsoft Excel"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":l["Microsoft Excel"],"application/msword":l["Microsoft Word"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":l["Microsoft Word"],"application/vnd.ms-powerpoint":l["Microsoft Powerpoint"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":l["Microsoft Powerpoint"]},U={month:"short",day:"numeric",year:"numeric"},z=class{constructor(e){b(this,e),this.arcgisHubFileSelected=h(this,"arcgisHubFileSelected",7),this.arcgisHubDragOver=h(this,"arcgisHubDragOver",7),this.componentType="content",this.maxSize=200,this.owner=void 0,this.defaultExtent=void 0,this.allowedFileTypes=void 0,this.portalName=void 0,this.errorMessage=void 0,this.files=void 0,this.isDragging=void 0,g(this,"handleDragOver","handleDragLeave","handleDrop","setInputEl","onInputChange","buttonRef","onButtonClick")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.el)}validateFiles(){let{files:e,allowedFileTypes:i}=this,s=this.maxSize*1e3*1e3;if(e){let{success:t,errorMessage:n}=_(e,s,i);if(t){this.errorMessage=void 0;let a=e[0],o={owner:this.owner,extent:y(this.defaultExtent),spatialReference:this.defaultExtent.spatialReference,source:this.portalName,publishedDate:this.intl.formatDate(new Date,U),access:"private",title:this.trimExtension(a.name),type:M[a.type],modified:a.lastModified,file:a};this.arcgisHubFileSelected.emit(o)}else this.errorMessage=n}}trimExtension(e){let i=e.split(".");return i.splice(0,i.length-1).join(".")}async focusMainInput(){this.mainInputRef.focus()}async clearSelectedFile(){this.files=void 0}get fileExtensionsFromAllowedFileTypes(){var e,i;let{allowedFileTypes:s}=this,t=[];return!((e=s?.extensions)===null||e===void 0)&&e.length&&(t=[...t,...this.allowedFileTypes.extensions]),!((i=s?.types)===null||i===void 0)&&i.length&&(t=s.types.reduce((n,a)=>d[a]&&d[a].fileExt?[...n,...d[a].fileExt]:n,t)),t=[...new Set(t)],t}get isFileSelected(){return this.files&&!this.errorMessage}handleDragOver(e){return e.dataTransfer.types.includes("Files")&&!this.isFileSelected&&(e.preventDefault(),this.isDragging=!0,this.arcgisHubDragOver.emit(this.isDragging)),!1}handleDragLeave(){this.isDragging=!1}handleDrop(e){e.preventDefault(),this.isDragging=!1,this.files=e.dataTransfer.files}onInputChange(e){this.files=Object.assign({},e.target.files)}setInputEl(e){this.inputElement=e}get inputAcceptList(){let e=this.fileExtensionsFromAllowedFileTypes;return e.length||(e=Object.keys(D)),`.${e.join(", .")}`}onButtonClick(){var e;this.isFileSelected?this.clearSelectedFile():(e=this.inputElement)===null||e===void 0||e.click()}buttonRef(e){this.mainInputRef=e}get buttonIntl(){let{isFileSelected:e,componentType:i}=this,s="contentButton";return e?s="clearButton":i==="image"&&(s="imageButton"),s}get headingIntl(){let{componentType:e,errorMessage:i,files:s}=this,t="contentHeading";return i?t="errorHeading":s&&!i?t="selectedHeading":e==="image"&&(t="imageHeading"),t}renderDetails(){let{errorMessage:e,files:i,isFileSelected:s,maxSize:t,fileExtensionsFromAllowedFileTypes:n,intl:a}=this,o,c=!n.length||n.length>15,p="maxSizeAndSupportedTypes";e?p=e:c&&(p="maxSize"),(!c||e)&&(o=n.join(", "));let u=a.t(p,{maxSize:t,fileTypes:o});e?u=a.t(p):s?u=i[0].name:c&&(u=a.t(p,{maxSize:t}));let S=r("p",null,u);return c&&!e&&(S=r("p",null,u,r("a",{href:""},a.t("linkText")))),S}render(){return r(w,{key:"4e12fcc89478ddd79bd1f1bf6b6f683ec345a526",class:{"file-select-zone":!0,dragging:this.isDragging,error:!!this.errorMessage,success:this.isFileSelected},onDragLeave:this.handleDragLeave,onDragOver:this.handleDragOver,onDrop:this.handleDrop},r("calcite-icon",{key:"bba596169e1603ebe460ef4f6b6581a1cf48f5a6","aria-hidden":"true",icon:`${this.isFileSelected?"check-circle":"upload"}`,scale:"l"}),r("header",{key:"ef80c7a0d09a58c3e991eddd3c8931f6e31004ba"},this.intl.t(this.headingIntl)),this.renderDetails(),r("input",{key:"c503eca8823a1720c623a9270c78bf375c061d94",accept:this.inputAcceptList,onChange:this.onInputChange,ref:this.setInputEl,tabIndex:-1,type:"file"}),r("calcite-button",{key:"ed4216b3c242edcdc87bbdc9db864aa12f3a6c3d",appearance:"outline",onClick:this.onButtonClick,ref:this.buttonRef},this.intl.t(this.buttonIntl)),r("slot",{key:"12ad12d0264239de535e865333e32de82272dddd"}))}static get assetsDirs(){return["locales"]}get el(){return m(this)}static get watchers(){return{files:["validateFiles"]}}};z.style=O;var j="header{font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);margin-bottom:0.375rem}calcite-label{--calcite-font-size--1:16px}",L=j,A=class{updateSelectedGroups(e){e.target.checked?(this.internalSelectedGroups.push(e.target.value),this.internalDeselectedGroups=this.internalDeselectedGroups.filter(i=>i!==e.target.value)):(this.internalDeselectedGroups.push(e.target.value),this.internalSelectedGroups=this.internalSelectedGroups.filter(i=>i!==e.target.value)),this.arcgisHubSelectedGroupsChange.emit({share:this.internalSelectedGroups,unshare:this.internalDeselectedGroups})}constructor(e){b(this,e),this.arcgisHubSelectedGroupsChange=h(this,"arcgisHubSelectedGroupsChange",7),this.internalSelectedGroups=[],this.internalDeselectedGroups=[],this.groups=[],this.selectedGroups=[],g(this,"updateSelectedGroups","_shouldGroupBeSelected")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.element),this.selectedGroups.length&&(this.internalSelectedGroups=this.internalSelectedGroups.concat(this.selectedGroups))}_shouldGroupBeSelected(e){return!!this.internalSelectedGroups.find(s=>s.id===e)}render(){if(this.groups.length)return r("div",{key:"30d7439ec6ed9171f01cdbf781168de9292e47ca"},r("header",{key:"cce39764420beaf2079430d6be6318991b25a4a1"},this.intl.t("heading")),this.groups.map(e=>r("calcite-label",{key:e.id,layout:"inline"},r("calcite-checkbox",{checked:this._shouldGroupBeSelected(e.id),name:e.title,onCalciteCheckboxChange:this.updateSelectedGroups,value:e}),e.title)))}static get assetsDirs(){return["locales"]}get element(){return m(this)}};A.style=L;var R=':host{display:flex;flex-direction:column;align-items:center}header{margin-bottom:5px;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}calcite-input{width:100%}span{margin-top:5px;display:flex;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}calcite-icon[class="error"]{color:var(--calcite-color-status-danger)}calcite-icon[class="success"]{color:var(--calcite-color-status-success)}calcite-icon{margin-right:0.625rem}',B=R,P=function(e,i,s,t){var n=arguments.length,a=n<3?i:t===null?t=Object.getOwnPropertyDescriptor(i,s):t,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,i,s,t);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(n<3?o(a):n>3?o(i,s,a):o(i,s))||a);return n>3&&a&&Object.defineProperty(i,s,a),a},V={month:"short",day:"numeric",year:"numeric"},E=class{constructor(e){b(this,e),this.arcgisHubUrlValidated=h(this,"arcgisHubUrlValidated",7),this.arcgisHubItemTypeSelected=h(this,"arcgisHubItemTypeSelected",7),this.types=[{intl:"doclink",type:"Document Link",active:!0},{intl:"csv",type:"CSV"},{intl:"shp",type:"Shapefile"},{intl:"geojson",type:"GeoJson"},{intl:"featureservice",type:"Feature Service"},{intl:"xls",type:"Microsoft Excel"},{intl:"pdf",type:"PDF"},{intl:"png",type:"Image"},{intl:"jpg",type:"Image"}],this.owner=void 0,this.defaultExtent=void 0,this.portalName=void 0,this.selectedTypeText=void 0,this.errorString=void 0,this.showTypePicker=!1,this.validatedUrlItem=void 0,this.mergedUrlItem=void 0,g(this,"setDropdownEl","setInputEl","handleOnInput","handleOnKeyDown")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.el)}validateDebounced(){this.validateUrl()}handleItemTypeSelection(){let e=this.dropdownEl.selectedItems[0];if(e){let i=e.dataset.value;this.selectedTypeText=e.getAttribute("title"),this.validatedUrlItem&&(this.validatedUrlItem.type=i,this.mergedUrlItem.type=i,this.arcgisHubItemTypeSelected.emit(this.mergedUrlItem))}}async validateUrl(){let e=this.inputEl.value;if(e){let i=await F(e);this.validatedUrlItem=i;let s=i.item.extent||this.defaultExtent,t=Object.assign({owner:this.owner,extent:y(s),spatialReference:s.spatialReference,source:this.portalName,publishedDate:this.intl.formatDate(new Date,V),access:"private"},i.item);if(typeof t.extent=="object"){let n=t.extent;t.extent=y(n)}this.mergedUrlItem=t,i.type||(this.showTypePicker=!0,this.validatedUrlItem.type="Document Link",this.mergedUrlItem.type="Document Link",this.selectedTypeText=this.intl.t("doclink")),this.arcgisHubUrlValidated.emit(this.mergedUrlItem)}else this.validatedUrlItem=void 0}handleOnInput(){this.validateDebounced()}handleOnKeyDown(e){e.key==="Enter"&&this.validateDebounced()}setDropdownEl(e){this.dropdownEl=e}setInputEl(e){this.inputEl=e}renderSubText(){let{intl:e,showTypePicker:i,validatedUrlItem:s}=this,t=r("span",null,e.t("subText"));if(s&&s.error)t=r("span",null,r("calcite-icon",{class:"error",icon:"x-octagon",scale:"s"}),e.t(s.error));else if(s&&s.pass&&i)t=r("span",null,r("calcite-icon",{class:s.type?"success":"error",icon:s.type?"check-circle":"x-octagon",scale:"s"}),s.type&&this.intl.t("recognizedType"),r("calcite-dropdown",{placement:"top",ref:this.setDropdownEl},r("calcite-button",{appearance:"transparent","icon-end":"caret-down",slot:"trigger"},this.selectedTypeText||this.intl.t("fileTypeSelector")),r("calcite-dropdown-group",{"selection-mode":"single"},this.types.map(n=>r("calcite-dropdown-item",{"data-value":n.type,key:n.type,selected:n.active,title:this.intl.t(n.intl)},this.intl.t(n.intl))))));else if(s&&s.pass){let n=s.type.toLowerCase().split(" ").join("");t=r("span",null,r("calcite-icon",{class:"success",icon:"check-circle",scale:"s"}),this.intl.t(n))}return t}render(){return r(w,{key:"62d3c20c48d9f85ff8185d70d80d1763d5f86f66"},r("header",{key:"d2494ca2a40f799b96dc9a0111e76e0563e99e85"},this.intl.t("heading")),r("calcite-input",{key:"f633032dc8f0b5775cfe96377b1a15ce7bff33da",onInput:this.handleOnInput,onKeyDown:this.handleOnKeyDown,ref:this.setInputEl}),this.renderSubText())}static get assetsDirs(){return["locales"]}get el(){return m(this)}};P([I({timeout:300})],E.prototype,"validateDebounced",null);E.style=B;export{oe as arcgis_hub_file_metadata_editor,z as arcgis_hub_file_select,A as arcgis_hub_groups_sharing,E as arcgis_hub_url_content_form};
|
package/dist/cdn/JI2NIRNJ.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
var c="https://hubcdn.arcgis.com/@esri/hub-components";function i(t,e=[]){let n=["class","data-hmr","hydrated","shareable-on-hover","style",...e];return t.getAttributeNames().reduce((s,r)=>n.includes(r)?s:Object.assign(Object.assign({},s),{[r]:t.getAttribute(r)}),{})}function u(t){return`<link rel="stylesheet" href="${c}/${t}/dist/calcite/calcite.css">
|
|
5
|
-
<script type="module" async src="${c}/${t}/dist/hub-components/hub-components.esm.js"><\/script>`}function a(t){return t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}function o(t){return Object.entries(t).reduce((e,[n,s])=>{let r=a(n);return[...e,`${r}="${s}"`]},[]).join(" ")}function g(t,e){let n=t.tagName.toLowerCase(),s=t.innerHTML,r=o(e);return`<${n} ${r}>${s}</${n}>`}function p(t){let e=t.tagName.toLowerCase(),n=t.innerHTML;return`<${e} config-url="...">${n}</${e}>`}export{i as a,u as b,g as c,p as d};
|
package/dist/cdn/JJNH4RHD.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
var t=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],s=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],e=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:settings","hub:site:assistant","hub:site:settings:discussions"],i=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],n=["hub:page:edit","hub:page:create"],o=["hub:content:edit","hub:content:settings","hub:content:settings:discussions","hub:content:settings:discussions:compact"],u=["hub:template:edit"],c=["hub:group:edit","hub:group:settings","hub:group:settings:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],a=["hub:initiativeTemplate:edit"],r=["hub:event:create","hub:event:edit","hub:event:registrants"],d=["hub:user:settings"],b=["hub:channel:create","hub:channel:edit"],h=[...t,...o,...s,...e,...i,...n,...u,...c,...a,...r,...d,...b],p=["hub:card:stat"],g=["hub:card:follow"],l=["hub:card:eventGallery"],v=["hub:card:embed"],y=["hub:discussion:settings:discussions","hub:site:settings:discussions","hub:content:settings:discussions","hub:content:settings:discussions:compact","hub:group:settings:discussions"],E=[...p,...g,...l,...v],T=[...h,...E];export{h as a,p as b,g as c,l as d,v as e,y as f,E as g,T as h};
|
package/dist/cdn/JKSWFFF4.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
function a(n,t){return Object.keys(n).reduce(function(i,s){return i[s]=t(n[s],s,n),i},{})}function f(n,t,e){if(e=e||"",Array.isArray(n))return n.map(u);return n&&g(n)&&!c(n)&&!o(n)&&!_(n)?Object.assign({},n,a(n,u)):t(n,e);function u(i,s){let r=e?`${e}.${s}`:String(s);return f(i,t,r)}}function O(n){return typeof n=="string"||n instanceof String}function c(n){return n instanceof Date}function _(n){return typeof n=="function"}function g(n){return typeof n=="object"}function o(n){return n instanceof RegExp}export{a,f as b,O as c,c as d,_ as e,g as f,o as g};
|
package/dist/cdn/JLNRGMTA.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{e as c}from"./6KPFPQJO.js";import{a as n}from"./NFBJECRB.js";import{b as r,c as a,d as m,i as d}from"./L752ND35.js";import"./5XTVRXEK.js";var o=":host{margin-top:1rem;display:flex;gap:4rem}.entity-metrics-main{flex:2}.entity-metrics-main__metrics-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit, minmax(14rem, 1fr))}arcgis-hub-metric-card{height:100%;min-height:15rem}",l=o,y=class{constructor(i){d(this,i),this.entity=void 0}get metricsEntity(){return this.entity}get metricDisplays(){var i,t,e;return((e=(t=(i=this.metricsEntity)===null||i===void 0?void 0:i.view)===null||t===void 0?void 0:t.metricDisplays)===null||e===void 0?void 0:e.filter(s=>s?.visibility!==n.hidden))||[]}renderMetrics(){return this.metricDisplays.map(i=>{let t=this.metricsEntity.metrics.find(e=>e.id===i.metricId);return r("arcgis-hub-metric-card",{cardConfig:Object.assign(Object.assign({},i),{scale:c.medium,border:!0}),key:t.id,metric:t})})}render(){return r(a,{key:"f5662882fab0528d2c6ad8c32a27b4965ad0ba26","data-element":"entity-metrics"},r("div",{key:"9f96025e0a7eb662c29ef803ed809629aa8edf9a",class:"entity-metrics-main"},r("div",{key:"a2835b81972b8ae22704d47247b261b6c5a0f78c",class:"entity-metrics-main__metrics-grid"},this.renderMetrics())))}get element(){return m(this)}};y.style=l;export{y as arcgis_hub_entity_metrics_view};
|
package/dist/cdn/JNVXVLSN.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{f as t}from"./JKSWFFF4.js";function f(r,e){if(r===e)return!0;if(r&&e&&t(r)&&t(e)){if(Array.isArray(r)!==Array.isArray(e))return!1;let s=Object.keys(r);return s.length!==Object.keys(e).length?!1:s.every(n=>f(r[n],e[n]))}return!1}export{f as a};
|
package/dist/cdn/JOJWVJDX.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{a as m}from"./7C5YD6LO.js";import{b as o}from"./QICTDN3R.js";import{h as n}from"./3Z72CDQD.js";function $(r){return m(r).then(t=>{let e=`${o(r)}/content/users/${t}/items/${r.id}/protect`;return n(e,r)})}function f(r){return m(r).then(t=>{let e=`${o(r)}/content/users/${t}/items/${r.id}/unprotect`;return n(e,r)})}export{$ as a,f as b};
|
package/dist/cdn/JPOVOHK7.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{a}from"./6MJEHR2O.js";import{a as o}from"./G4VSW6SL.js";import"./D7IEDUGO.js";import"./6SKDS2SM.js";import{b as e,d as r,i as d}from"./L752ND35.js";import"./VMY4MPPS.js";import"./5XTVRXEK.js";var s={header:"header",title:"title",countdown:"countdown"},w=":host{display:block}.countdown{display:flex}.countdown>div{display:flex;flex-direction:column;align-items:center;padding-right:1rem}.counter{font-size:var(--calcite-font-size-3);line-height:2rem}.unit{font-size:var(--calcite-font-size-1);line-height:1.5rem}",m=w,f=class{constructor(t){d(this,t),this.cardTitle=void 0,this.countdownDate=void 0,this.shareable=!1,this.shareableByValue=!1,this.shareableByReference=!1,this.shareableOnHover=!1,this.days=void 0,this.hours=void 0,this.minutes=void 0,this.seconds=void 0}onCountdownDateChange(t){this.intervalId&&this.cleanupCountdown(this.intervalId),this.initializeCountdown(t)}async componentWillLoad(){this.intl=await o.loadIntlForComponent(this.element)}async componentDidLoad(){this.countdownDate&&this.initializeCountdown(this.countdownDate)}disconnectedCallback(){this.cleanupCountdown(this.intervalId)}initializeCountdown(t){this.updateCountdown(t),this.intervalId=setInterval(this.updateCountdown.bind(this),1e3,t)}updateCountdown(t){let n=this.getTimeRemaining(t);this.days=n.days.toString(),this.hours=("0"+n.hours).slice(-2),this.minutes=("0"+n.minutes).slice(-2),this.seconds=("0"+n.seconds).slice(-2),n.total<=0&&this.cleanupCountdown(this.intervalId)}getTimeRemaining(t){let n=`${new Date(t).toISOString().split("T").shift()}T00:00:00.000`,i=Date.parse(n)-Date.parse(new Date().toString()),l=Math.floor(i/1e3%60),c=Math.floor(i/1e3/60%60),h=Math.floor(i/(1e3*60*60)%24),u=Math.floor(i/(1e3*60*60*24));return{total:i,days:u,hours:h,minutes:c,seconds:l}}cleanupCountdown(t){clearInterval(t)}renderHeader(t){return e("div",{class:s.header,slot:"title"},t&&e("h1",{class:s.title},t))}renderCountdown(){return["days","hours","minutes","seconds"].map(t=>e("div",null,e("span",{class:`${t} counter`},this[t]),e("div",{class:"unit"},this.intl.t(t))))}renderError(){return e("calcite-notice",{kind:"danger",open:!0,scale:"m",width:"auto"},e("div",{slot:"title"},this.intl.t("countdownDateMissingError")))}render(){return this.countdownDate?e(a,{context:this,showShareUi:!0},e("calcite-card",null,this.renderHeader(this.cardTitle),e("div",{class:s.countdown},this.renderCountdown()))):this.renderError()}static get assetsDirs(){return["locales"]}get element(){return r(this)}static get watchers(){return{countdownDate:["onCountdownDateChange"]}}};f.style=m;export{f as arcgis_countdown};
|
package/dist/cdn/JTDRMGAL.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import"./5XTVRXEK.js";var a={chart:"Grafikon",barChart:"Trakasti grafikon",lineChart:"Linijski grafikon",pieChart:"Kru\u017Eni grafikon",histogram:"Histogram",scatterplot:"Grafikon",boxPlot:"Kvadratni grafikon"},i={mean:"Sredina",median:"Medijana",sum:"Zbir",discretePercentile:"Diskretni percentil",minimum:"Minimum",maximum:"Maksimum",variance:"Odstupanje",count:"Broj",aggregation:"${ statistics } od ${ fieldName }",noAggregation:"Nema grupisanja"},t="Grafikon",e="Broj serija",r="X-osa",s="Nije dostupno",n={start:"Zaka\u010Di za prvu ta\u010Dku podataka",end:"Zaka\u010Di za zadnju ta\u010Dku podataka"},o={chartType:a,statistics:i,defaultTitle:t,countSeries:e,xAxis:r,notAvailable:s,timeAggregationTypes:n};export{a as chartType,e as countSeries,o as default,t as defaultTitle,s as notAvailable,i as statistics,n as timeAggregationTypes,r as xAxis};
|
package/dist/cdn/JUB2G4HG.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
var n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u(e){if(e.__esModule)return e;var o=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),o}export{n as a,a as b,u as c};
|
package/dist/cdn/JUU5V63M.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{a as b}from"./MZK3J2JS.js";import{a}from"./XQSD67PV.js";import{b as p}from"./LMUKWSDF.js";import{b as m}from"./IAUIT3WP.js";import{g as i,h as u}from"./7C5YD6LO.js";function O(e){return`hubVersion_${e}`}var f="version.json",g=["created","creator","description","id","name","parent","updated"];function j(e){return O(`${e}/${f}`)}async function R(e,s,r){return u(e,Object.assign(Object.assign({},r),{fileName:j(s),readAs:"json"}))}function V(e){let{access:s,resource:r,size:t}=e,o,n=e.properties||"{}";try{o=JSON.parse(n)}catch{o={}}return Object.assign(Object.assign({},o),{access:s,path:r,size:t})}async function N(e,s){return(await i(e,Object.assign(Object.assign({},s),{params:{sortField:"created",sortOrder:"desc"}}))).resources.filter(t=>t.resource.match(/^hubVersion_[a-zA-Z0-9_\s]*\/version.json/)).map(V)}async function S(e,s,r,t){let o=O(s.id),n=a(s,{},g),c=await R(e,s.id,t);a(s,c,g);let d=b(c);return await m(Object.assign(Object.assign({},t),{id:e,name:f,owner:r,params:{properties:n},prefix:o,resource:d})),s}async function y(e,s,r,t){return p(Object.assign(Object.assign({},t),{id:e,owner:r,resource:j(s)}))}export{O as a,f as b,g as c,R as d,N as e,S as f,y as g};
|
package/dist/cdn/JVA4DDAH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
var e=["id","created","modified","type","access","categories","tags","group","contentstatus"],t=["group","occurrence","id","startDateRange","endDateRange","access","tags","categories"];export{e as a,t as b};
|
package/dist/cdn/JVEWMJ24.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
function a(t){return t.tag==="arcgis-layout-section"}function r(t){return t.tag==="arcgis-layout-row"}function o(t){return t.tag==="arcgis-layout-column"}function u(t){let n=!1;return t&&typeof t=="object"&&"$ref"in t&&(n=!0),n}export{a,r as b,o as c,u as d};
|
package/dist/cdn/JVR5YE5N.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{e as c,f as u,g as p}from"./JUU5V63M.js";import"./MZK3J2JS.js";import"./XQSD67PV.js";import"./LMUKWSDF.js";import"./IAUIT3WP.js";import{d as h}from"./7C5YD6LO.js";import"./HUZTJPKZ.js";import"./QICTDN3R.js";import"./3Z72CDQD.js";import"./VLH52FMS.js";import{a as m}from"./TLRQ7F5J.js";import{a as d}from"./I7M6RTYZ.js";import{a as l}from"./G4VSW6SL.js";import"./D7IEDUGO.js";import"./6SKDS2SM.js";import{b as i,c as g,d as v,e as f,h as r,i as b}from"./L752ND35.js";import{a as n}from"./6V7DITJ2.js";import{a}from"./A665EDYV.js";import"./GNMQOJ3L.js";import"./VMY4MPPS.js";import"./5XTVRXEK.js";var D=':host{display:block}arcgis-skeleton-loader{margin:1.25rem;margin-bottom:0}.version-title{margin-block:0.25rem;font-size:1rem;color:var(--calcite-color-brand)}calcite-list-item{border-inline-start:4px solid transparent}calcite-list-item[selected]{border-inline-start-color:var(--calcite-color-brand)}calcite-list-item[selected] .version-title:before{content:"\u226B ";color:black}calcite-list-item[selected] .version-title calcite-link{color:transparent;--calcite-color-text-link:black;--calcite-link-blue-underline:transparent;text-decoration:none}.badges-container{min-height:1.5rem;display:flex;gap:0.25rem}.viewing-badge{--calcite-color-foreground-2:var(--calcite-color-foreground-current)}',S=D,w={month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"},V=class{constructor(e){b(this,e),this.arcgisHubVersionsVersionSelected=f(this,"arcgisHubVersionsVersionSelected",7),this.activeVersionId=void 0,this.context=void 0,this.itemId=void 0,this.publishedVersionId=void 0,this.versions=[],this.loading=!0,this.error=!1,this.versionToOperateOn=void 0,this.shouldShowDetailsModal=!1,this.shouldShowDeleteModal=!1,this.updateDetailsError=!1,this.deleteError=!1,this.shouldShowAlert=!1,this.hasClipboardError=!1,this.item=void 0,d(this,"onAlertClose","onDelete","onHideDeleteModal","onHideDetailsModal","onSaveDetails","onSelectVersion","onShare","onShowDeleteModal","onShowDetailsModal","onShowPopover","renderListItem","setPopoverEl")}async componentWillLoad(){this.intl=await l.loadIntlForComponent(this.element),this.fetchVersions()}async fetchVersions(){var e,t;this.loading=!0,this.error=!1;try{if(this.context&&this.itemId){this.item=await h(this.itemId,(e=this.context)===null||e===void 0?void 0:e.requestOptions);let o=await c(this.itemId,(t=this.context)===null||t===void 0?void 0:t.requestOptions);this.versions=o}}catch(o){console.error(o.message),this.error=!0}finally{this.loading=!1}}onTitleLinkClick(e){e.preventDefault()}onSelectVersion(e){e.stopPropagation(),e.target.value.id!==this.activeVersionId&&this.arcgisHubVersionsVersionSelected.emit(e.target.value)}setPopoverEl(e){this.popover=e}onShowPopover(e){e.stopPropagation();let t=this.versions.find(o=>o.id===e.target.dataset.id);t&&(this.versionToOperateOn=a(t),this.popover.referenceElement=e.target,setTimeout(()=>{this.popover.open=!0},100))}onShowDetailsModal(e){e.stopPropagation(),this.popover.open=!1,this.shouldShowDetailsModal=!0}onHideDetailsModal(e){e.stopPropagation(),this.updateDetailsError=!1,this.versionToOperateOn=null,this.shouldShowDetailsModal=!1}async onSaveDetails(e){var t;e.stopPropagation();try{let o=e.detail;await u(this.itemId,o,this.item.owner,(t=this.context)===null||t===void 0?void 0:t.requestOptions),this.versions=this.versions.map(s=>s.id===o.id?o:s),this.shouldShowDetailsModal=!1,this.versionToOperateOn=null}catch(o){console.error(o),this.updateDetailsError=!0}}onShowDeleteModal(e){e.stopPropagation(),this.showDeleteModal(this.versionToOperateOn.id)}async showDeleteModal(e){let t=this.versions.find(o=>o.id===e);t&&(this.popover.open=!1,this.versionToOperateOn=a(t),this.shouldShowDeleteModal=!0)}onHideDeleteModal(e){e.stopPropagation(),this.deleteError=null,this.versionToOperateOn=null,this.shouldShowDeleteModal=!1}async onDelete(e){var t;e.stopPropagation();try{let o=e.detail;await p(this.itemId,o.id,this.item.owner,(t=this.context)===null||t===void 0?void 0:t.requestOptions),this.versions=this.versions.filter(s=>s.id!==o.id),this.shouldShowDeleteModal=!1,this.versionToOperateOn=null,o.id===this.activeVersionId&&(this.activeVersionId=null,this.arcgisHubVersionsVersionSelected.emit(null))}catch{this.deleteError=!0}}async onShare(){try{this.hasClipboardError=!1,await m(this.getShareUrl(this.versionToOperateOn.id))}catch(e){n.error("Error copying to clipboard",e),this.hasClipboardError=!0}finally{this.popover.open=!1,this.shouldShowAlert=!0}}onAlertClose(){this.shouldShowAlert=!1}getItemUrl(e){let t=new URLSearchParams(window.location.search);return t.set("version",e),`?${t.toString()}`}getShareUrl(e){let t=new URL(window.location.origin);return t.searchParams.set("layoutVersion",e),t.searchParams.set("previewing","true"),t.toString()}get shouldShowDeleteButton(){var e;return this.publishedVersionId!==((e=this.versionToOperateOn)===null||e===void 0?void 0:e.id)}getVersionMetadata(e){return{name:this.getVersionName(e),createdBy:e.creator}}getVersionName(e){return e?.name||this.intl.formatDate(e?.created,w)}getCreatedDate(e){let{name:t,created:o}=e,s="";return t&&(s=this.intl.formatDate(o,w)),s}renderAlert(){let e=this.hasClipboardError?"shareErrorMessage":"shareSuccessMessage",t=this.hasClipboardError?"danger":"success";return i("calcite-alert",{"auto-close":!0,autoCloseDuration:"fast",kind:t,label:this.intl.t(e),onCalciteAlertClose:this.onAlertClose,open:this.shouldShowAlert,placement:"top",scale:"s"},i("div",{slot:"title"},this.intl.t(e)))}renderLoading(){let{loading:e}=this;if(e)return i(r,null,i("arcgis-skeleton-loader",{active:!0,rows:1,"show-heading":!0}),i("arcgis-skeleton-loader",{active:!0,rows:1,"show-heading":!0}),i("arcgis-skeleton-loader",{active:!0,rows:1,"show-heading":!0}))}renderEmptyState(){let{loading:e,error:t,versions:o}=this;if(!e&&!t&&!o.length)return i(r,null,i("h2",null,this.intl.t("emptyMessage")))}renderError(){let{loading:e,error:t}=this;if(!e&&t)return i(r,null,i("h2",null,this.intl.t("errorMessage")))}renderPopover(){if(this.versions.length)return i("calcite-popover",{"auto-close":!0,"focus-trap-disabled":!0,label:this.intl.t("popover.label"),overlayPositioning:"fixed",placement:"leading",ref:this.setPopoverEl,referenceElement:""},i("calcite-action-pad",{"expand-disabled":!0,expanded:!0},i("calcite-action",{icon:"share",onClick:this.onShare,scale:"m",text:this.intl.t("popover.actions.share")}),i("calcite-action",{icon:"pencil",onClick:this.onShowDetailsModal,scale:"m",text:this.intl.t("popover.actions.edit")}),this.shouldShowDeleteButton&&i("calcite-action",{icon:"trash",onClick:this.onShowDeleteModal,scale:"m",text:this.intl.t("popover.actions.delete"),"text-enabled":!0})))}renderDetailsModal(){return i("arcgis-hub-versions-details-modal",{error:this.updateDetailsError,onArcgisHubVersionsDetailsModalClose:this.onHideDetailsModal,onArcgisHubVersionsDetailsModalSave:this.onSaveDetails,shouldShow:this.shouldShowDetailsModal,version:this.versionToOperateOn})}renderDeleteModal(){return i("arcgis-hub-versions-delete-modal",{displayName:this.getVersionName(this.versionToOperateOn),error:this.deleteError,onArcgisHubVersionsDeleteModalClose:this.onHideDeleteModal,onArcgisHubVersionsDeleteModalDelete:this.onDelete,shouldShow:this.shouldShowDeleteModal,version:this.versionToOperateOn})}renderListItem(e){return i("calcite-list-item",{key:e.id,metadata:this.getVersionMetadata(e),onCalciteListItemSelect:this.onSelectVersion,selected:this.activeVersionId===e.id,value:e},i("div",{slot:"content"},i("div",{class:"badges-container"},this.publishedVersionId===e.id&&i("calcite-chip",{kind:"brand",label:this.intl.t("publishedBadge"),scale:"s",value:""},this.intl.t("publishedBadge")),this.activeVersionId===e.id&&i("calcite-chip",{class:"viewing-badge",label:this.intl.t("viewingBadge"),scale:"s",value:""},this.intl.t("viewingBadge"))),i("h2",{class:"version-title"},i("calcite-link",{href:this.getItemUrl(e.id),onClick:this.onTitleLinkClick},this.getVersionName(e))),i("div",null,this.getCreatedDate(e)),i("div",null,this.intl.t("createdBy",e)),i("div",null,e.description)),i("calcite-action",{"data-id":e.id,icon:"ellipsis",onClick:this.onShowPopover,slot:"actions-end",text:this.intl.t("menuLabel")}))}render(){return i(g,{key:"0459af52f7db6d64f2c32583c9edc0b187dd06e6","data-element":"versions"},i("calcite-list",{key:"c79f13b39300e2d48d483c3ee0dd2d135ec0b989","selection-appearance":"border","selection-mode":"none"},this.renderLoading(),this.renderEmptyState(),this.renderError(),this.versions.map(this.renderListItem)),this.renderPopover(),i("arcgis-wormhole",{key:"00a83850aa7535de47b7a0f06b7cfe2a49b55605"},this.renderAlert(),this.renderDetailsModal(),this.renderDeleteModal()))}static get assetsDirs(){return["locales"]}get element(){return v(this)}static get watchers(){return{context:["fetchVersions"],itemId:["fetchVersions"]}}};V.style=S;export{V as arcgis_hub_versions};
|
package/dist/cdn/JWE5HSCY.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{b as p}from"./SSVOTSIB.js";import{b as R,c as w}from"./2323TBML.js";import{a as h}from"./C6BCAJ6E.js";import{a as b}from"./WSCQCBEK.js";import{a as F}from"./V64Z6LJC.js";import"./IJFNVL5O.js";import"./M3JSWH7L.js";import"./4BZ5W5LZ.js";import{a as v}from"./UQLYODB6.js";import"./6KPFPQJO.js";import"./EFNV2AGS.js";import"./OTAEFPF6.js";import"./5HZZHR6U.js";import{e as E}from"./BGOY7SBK.js";import"./M5AQLHYY.js";import"./7XX2ZZVH.js";import"./SWNZRPXN.js";import"./ZFCDNRSC.js";import"./JNVXVLSN.js";import"./FBZNSOXX.js";import"./ZEFK4ISC.js";import"./RRI5KG6H.js";import"./ML5FX6E2.js";import"./WK5Y5APW.js";import"./EATRTPYT.js";import"./EAMJVCGV.js";import"./24NP64DA.js";import"./Z3D6U244.js";import"./CJTQL6DF.js";import"./FNAQGIXD.js";import"./A25ILUJP.js";import"./XQSD67PV.js";import"./ZD4DUSQ5.js";import"./6Q5JNJ2R.js";import"./2BYMDOLL.js";import"./EJWL43W6.js";import"./ZOMLHE3Z.js";import"./ZAOPC3JA.js";import"./VIK44SZU.js";import"./YE4QYPE5.js";import"./NGW5RAXQ.js";import"./FSGH2HXV.js";import"./RBVRRPVZ.js";import"./LMUKWSDF.js";import"./OGFKTFVA.js";import"./GFHHQP6P.js";import"./D7WHT3EE.js";import"./GJM5POK6.js";import"./AQLBK25Q.js";import"./7G26RB77.js";import"./DFQ7II7W.js";import"./S4QWOL5P.js";import"./IGIYFIS5.js";import"./JBL5TFVV.js";import"./LZQAOODL.js";import"./EUSTRKGX.js";import"./N4DLWFKO.js";import"./UCB75TBU.js";import"./LVH3ROWK.js";import"./PYSVH7G5.js";import"./I3BNJGTG.js";import"./ZOHKG4H3.js";import"./OJTLGWMN.js";import"./DWP3ZNJ5.js";import"./SFCCORCQ.js";import"./SYV6QMYF.js";import"./O473VZ5K.js";import"./RWWJ2IPR.js";import"./BE2NCT6S.js";import"./ZAIEM3E4.js";import"./U2R57LYN.js";import"./AOKPJ7NH.js";import"./U5DPUN3O.js";import"./OEXJBA4V.js";import"./IAUIT3WP.js";import"./VQ7DSNJI.js";import"./OMXV4TYX.js";import"./7C5YD6LO.js";import"./HUZTJPKZ.js";import"./QICTDN3R.js";import"./3Z72CDQD.js";import{c as u}from"./NVQ63SBB.js";import"./S6IYZQOT.js";import"./QOM5YUMI.js";import"./JKSWFFF4.js";import"./AYFRK3BQ.js";import{a as f}from"./DIMOHQMT.js";import"./VLH52FMS.js";import"./R44LZAAQ.js";import"./YFQODFXM.js";import"./342BWUWV.js";import{a as m}from"./TONDW4XK.js";import"./P6CR5IPF.js";import"./6Y7OTCE2.js";import{a as C}from"./I7M6RTYZ.js";import{a as y}from"./G4VSW6SL.js";import{a as _}from"./D7IEDUGO.js";import"./6SKDS2SM.js";import"./P2GT4GYN.js";import"./JUB2G4HG.js";import{b as r,c as S,d as I,e as M,h as A,i as O}from"./L752ND35.js";import{a as g}from"./6V7DITJ2.js";import{a as d}from"./A665EDYV.js";import{a as l}from"./GNMQOJ3L.js";import"./VMY4MPPS.js";import"./5XTVRXEK.js";var P=":host{display:block}",G=P,q=function(t,e,i,s){var o=arguments.length,a=o<3?e:s===null?s=Object.getOwnPropertyDescriptor(e,i):s,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,i,s);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(a=(o<3?n(a):o>3?n(e,i,a):n(e,i))||a);return o>3&&a&&Object.defineProperty(e,i,a),a},D=class{get _schema(){return R(this._context)}get _context(){return u()}constructor(t){O(this,t),this.arcgisHubGalleryCardEditorChange=M(this,"arcgisHubGalleryCardEditorChange",7),this._entityIds=[],this.translationFunc=(e,i,s)=>this._intl.t(e,i,s),this.values=void 0,this.targetEntity=void 0,this._values=void 0,this._predicateOptionScopes=[],this._showResetModal=!1,this._resetCause=null,this._resetFields=[],C(this,"handleEditorChange","handleCancelResetFields","handleAcceptResetFields","handleResetFieldsModalClose")}async init(){var t,e,i;this._targetEntity=((t=this.values)===null||t===void 0?void 0:t.targetEntity)||this.targetEntity||"item",this._source=((e=this.values)===null||e===void 0?void 0:e.source)||"all",this._values=this.values,this._entityIds=((i=this._values)===null||i===void 0?void 0:i.entityIds)||[],this._predicateOptionScopes=await this.fetchPredicateOptionScopes()}async componentWillLoad(){this._intl=await y.loadIntlForComponent(this.element),this.init()}get _uiSchema(){return v(this._intl,w({context:this._context,targetEntity:this._targetEntity,source:this._source,hasCatalogSource:this._hasCatalogsSource,predicateOptionScopes:this._predicateOptionScopes}))}get _hasCatalogsSource(){var t;return this._source==="references"&&((t=this._entityIds)===null||t===void 0?void 0:t.length)>0}clearResetState(){this._showResetModal=!1,this._resetCause=null,this._resetFields=[]}handleResetFieldsModalClose(){this.clearResetState()}handleCancelResetFields(){this._values=d(this._values),this._proposedChangeEvent=null,this.clearResetState()}async handleAcceptResetFields(){let t=p(),e=this._proposedChangeEvent.detail.values,i={query:{targetEntity:e.targetEntity,filters:[]},"appearance.layout":l(t,"appearance.layout"),"appearance.layouts":m(t,"appearance.layouts",[])};this._resetFields.forEach(s=>{f(s,i[s],e)}),await this.commitEditorChanges(this._proposedChangeEvent),this._proposedChangeEvent=null,this.clearResetState()}async fetchPredicateOptionScopes(){var t;if(this._targetEntity!=="item")return[];let e={targetEntity:"item",filters:[{predicates:[]}]};if(this._source!=="references")return[e];if(!(!((t=this._entityIds)===null||t===void 0)&&t.length))return[e];try{let s=(await Promise.all(this._entityIds.map(o=>this.fetchCatalog(o,this._context)))).filter(o=>b(this._targetEntity,o)).map(o=>o.scopes[this._targetEntity]);return s.length?s:[e]}catch(i){return g.error("Error fetching catalog scopes for entityIds:",this._entityIds,i),[e]}}async fetchCatalog(t,e){return(await E.init(t,e)).toJson()}hasFiltersConfigured(t){return!!l(t,"query.filters[0].predicates.length")}willRequireFieldsReset(t){if(this._targetEntity!==t.targetEntity){let i=[];this.hasFiltersConfigured(t)&&i.push("query");let s=l(t,"appearance.layout"),o=l(p(),"appearance.layout");s!==o&&i.push("appearance.layout");let a=l(t,"appearance.layouts")||[],n=l(p(),"appearance.layouts")||[];return(a.length!==n.length||a.some(c=>!n.includes(c)))&&i.push("appearance.layouts"),{resetCause:i.length?"targetEntity":null,resetFields:i}}let e=this.hasFiltersConfigured(t)?this.willRequirePredicateOptionScopesRefresh(t):null;return e?{resetCause:e,resetFields:["query"]}:{resetCause:null,resetFields:[]}}willRequirePredicateOptionScopesRefresh(t){return t.targetEntity!==this._targetEntity?"targetEntity":t.targetEntity==="item"&&this._source!==t.source?"source":t.targetEntity==="item"&&t.source==="references"&&h(t.entityIds,this._entityIds)?"entityIds":null}async handleEditorChange(t){t.stopPropagation();let{values:e}=t.detail;e.targetEntity=e.targetEntity||this._targetEntity,e.source=e.source||this._source;let{resetCause:i,resetFields:s}=this.willRequireFieldsReset(e);if(i){this._proposedChangeEvent=t,this._showResetModal=!0,this._resetCause=i,this._resetFields=s;return}await this.commitEditorChanges(t)}async commitEditorChanges(t){let e=t.detail.values,i=this.willRequirePredicateOptionScopesRefresh(e);e.targetEntity!==this._targetEntity&&(this._targetEntity=e.targetEntity),e.source!==this._source&&(this._source=e.source),h(e.entityIds,this._entityIds)&&(this._entityIds=e.entityIds||[]),i&&(this._predicateOptionScopes=await this.fetchPredicateOptionScopes()),this._values=_(d(this._values||{}),d(e)),this.arcgisHubGalleryCardEditorChange.emit({values:this._values,valid:t.detail.valid})}get showEditAccessDeniedNotice(){return this._targetEntity==="event"&&u().hubLicense!=="hub-premium"}renderEditAccessDeniedNotice(){let t={id:"gallery-card-editor-access-denied",dismissable:!1,configuration:{noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:this._intl.t("editAccessDeniedNotices.events.title"),message:this._intl.t("editAccessDeniedNotices.events.body"),actions:[{label:this._intl.t("editAccessDeniedNotices.events.link"),ariaLabel:this._intl.t("editAccessDeniedNotices.events.link"),href:"https://www.esri.com/en-us/arcgis/products/arcgis-hub/purchase-options"}]};return r("arcgis-hub-notice",{notice:t})}renderResetFieldsModal(){return r("arcgis-wormhole",null,r("calcite-dialog",{"close-disabled":!0,"escape-disabled":!0,heading:this._intl.t("resetFieldsModal.title"),modal:!0,onCalciteDialogClose:this.handleResetFieldsModalClose,open:this._showResetModal,"outside-close-disabled":!0,"width-scale":"s"},r("div",null,this._intl.t(`resetFieldsModal.${this._resetCause==="targetEntity"?"targetEntityBody":"sourceBody"}`)),r("ul",null,this._resetFields.map(t=>r("li",{key:t},this._intl.t(`resetFieldsModal.fields.${t}`)))),r("div",null,this._intl.t("resetFieldsModal.endQuestion")),r("calcite-button",{appearance:"outline",onClick:this.handleCancelResetFields,round:!0,slot:"footer-end"},this._intl.t("resetFieldsModal.cancel")),r("calcite-button",{onClick:this.handleAcceptResetFields,round:!0,slot:"footer-end"},this._intl.t("resetFieldsModal.confirm"))))}render(){return r(S,{key:"e66ed1de0685cafeaf959bfe716628d59759158d","data-element":"gallery-card-editor"},this.showEditAccessDeniedNotice?this.renderEditAccessDeniedNotice():r(A,null,r("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChange,onArcgisConfigurationEditorInitialized:this.handleEditorChange,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this._values}),this.renderResetFieldsModal()))}static get assetsDirs(){return["locales"]}get element(){return I(this)}static get watchers(){return{values:["init"]}}};q([F("_context","_targetEntity","_source","_hasCatalogsSource","_predicateOptionScopes")],D.prototype,"_uiSchema",null);D.style=G;export{D as arcgis_hub_gallery_card_editor};
|
package/dist/cdn/JWOYDYY5.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
function f(t){let s=t;if(/^#(?:[0-9a-fA-F]{3})$/.test(t)){let[n,r,i]=t.substring(1).split("");s=`#${n}${n}${r}${r}${i}${i}`}return s}export{f as a};
|
package/dist/cdn/JXOQMKPH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{a as l}from"./W55EMXJ7.js";import{a as u}from"./66QRQAQH.js";import{b as h}from"./7EGAB64M.js";import{a as c}from"./2BYMDOLL.js";function b(t,r,e,n){return Promise.all(r.map(async o=>{let a=Object.assign({},{id:t,groupId:o},e);n&&(a.owner=n);try{return await u(a)}catch{throw new Error(`Error unsharing item: ${t} with group: ${o}`)}}))}async function j(t,r,e,n){let o=c.bind(void 0,Object.assign({q:`id:(${r.join(" OR ")})`,num:r.length},e)),a=s=>s.results.length===r.length,i;try{({results:i}=r.length?await l(o,a):{results:[]})}catch{throw new Error(`Error sharing item: ${t} with groups: ${r.join(", ")}`)}return Promise.all(i.map(async s=>{let m=Object.assign(Object.assign({},e),{id:t,groupId:s.id,owner:n,confirmItemControl:s.capabilities.includes("updateitemcontrol")});try{return await h(m)}catch{throw new Error(`Error sharing item: ${t} with group: ${s.id}`)}}))}export{b as a,j as b};
|
package/dist/cdn/K36MKQGS.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{c as d}from"./NVQ63SBB.js";import"./S6IYZQOT.js";import{m as n}from"./YFQODFXM.js";import"./342BWUWV.js";import"./TONDW4XK.js";import"./P6CR5IPF.js";import"./6Y7OTCE2.js";import{a as l}from"./I7M6RTYZ.js";import{a}from"./G4VSW6SL.js";import"./D7IEDUGO.js";import"./6SKDS2SM.js";import"./P2GT4GYN.js";import"./JUB2G4HG.js";import{b as s,c as u,d as c,e as m,i as h}from"./L752ND35.js";import"./6V7DITJ2.js";import"./A665EDYV.js";import"./GNMQOJ3L.js";import"./VMY4MPPS.js";import"./5XTVRXEK.js";var p=63;function _(t){return t?p-(t.length+1):p}var f=t=>{let{orgUrlKey:e,envSuffix:i=""}=t||{},o=_(e);return{type:"object",required:["subdomain"],properties:{subdomain:{type:"string",format:"slug",maxLength:o},hubDomain:{type:"string",enum:[`hub${i}.arcgis.com`,`opendata${i}.arcgis.com`]}}}},v=t=>{let{orgUrlKey:e}=t||{},i=!e,o=e?`-${e}.`:void 0,r=[{labelKey:"subdomain",scope:"/properties/subdomain",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"subdomainFormatError"},{type:"ERROR",keyword:"required",icon:!0,labelKey:"subdomainRequiredError"}],suffixText:o}},{labelKey:"baseDomain",scope:"/properties/hubDomain",type:"Control",options:{control:"hub-field-input-select"}}];return i&&r.pop(),{type:"Layout",elements:r}},b=(t,e)=>{let{hubDomain:i="hub.arcgis.com",subdomain:o}=e||{},r=`${t}.${i}`;return(o?`${o}-${r}`:r).toLowerCase()},y=t=>new URL(t.hubUrl).hostname,U=(t,e="/#/home")=>`${e.replace(/\/home$/,"")}/${t}`,g=t=>`https://${t}`,O=class{get _context(){return d()}get _isPortal(){return this._context.isPortal}get _orgUrlKey(){var t,e;return(e=this.orgUrlKey||((t=this._context.portal)===null||t===void 0?void 0:t.urlKey))===null||e===void 0?void 0:e.toLowerCase()}get _hubSiteHostname(){var t;return(((t=this.urlInfo)===null||t===void 0?void 0:t.defaultHostname)||b(this._orgUrlKey,{hubDomain:y(this._context)})).toLowerCase()}get _schema(){let t=this._isPortal?"":this._orgUrlKey,e=this._isPortal?"":n(this._hubSiteHostname).envSuffix;return f({orgUrlKey:t,envSuffix:e})}get _uiSchema(){let t=this._isPortal?"":this._orgUrlKey;return v({orgUrlKey:t})}get _values(){var t;let e=(t=this.urlInfo)===null||t===void 0?void 0:t.subdomain,i=this._isPortal?"":n(this._hubSiteHostname).hubDomain;return{subdomain:e,hubDomain:i}}get _urlPreview(){return this._isPortal?U(this._values.subdomain,this._context.hubHomeUrl):g(this._hubSiteHostname)}constructor(t){h(this,t),this.arcgisCompositeSiteUrlFieldChange=m(this,"arcgisCompositeSiteUrlFieldChange",7),this._translationFunc=(e,i,o)=>this._intl.t(e,i,o),this.urlInfo=void 0,this.orgUrlKey=void 0,this.params=void 0,l(this,"handleInternalEditorChangeEvent")}async componentWillLoad(){this._intl=await a.loadIntlForComponent(this.element)}handleInternalEditorChangeEvent(t){t.stopImmediatePropagation(),t.stopPropagation();let{values:e}=t.detail,{subdomain:i,hubDomain:o}=e,r=b(this._orgUrlKey,{hubDomain:o,subdomain:i});this.arcgisCompositeSiteUrlFieldChange.emit({url:g(r),subdomain:i,defaultHostname:r})}render(){var t,e,i;return s(u,{key:"99cad96967ac346c49c5cd442811e680ea5bb10c","data-element":"site-url-field"},s("arcgis-configuration-editor",{key:"c0f9279e362d4decf8610244f788d7756a002b12",onArcgisConfigurationEditorChange:this.handleInternalEditorChangeEvent,scale:(t=this.params)===null||t===void 0?void 0:t.scale,schema:this._schema,t:this._translationFunc,uiSchema:this._uiSchema,values:this._values}),s("calcite-label",{key:"9494a866f75eb5255830abbc145a8e5f96a56faf",alignment:"start",scale:(e=this.params)===null||e===void 0?void 0:e.scale},this._intl.t("urlPreview"),s("calcite-input",{key:"468d9db1c59c47d0ab3d406aca50db0919f73460",disabled:!0,scale:(i=this.params)===null||i===void 0?void 0:i.scale,value:this._urlPreview})))}static get assetsDirs(){return["locales"]}get element(){return c(this)}};export{O as hub_composite_input_site_url};
|
package/dist/cdn/K5A42UJC.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import"./5XTVRXEK.js";var a="Pri na\u010D\xEDtavan\xED grafu sa vyskytla chyba.",e="Nie je mo\u017En\xE9 aplikova\u0165 Log transform\xE1ciu na z\xE1porn\xE9 alebo nulov\xE9 hodnoty.",o="Nie je mo\u017En\xE9 aplikova\u0165 Square Root transform\xE1ciu na z\xE1porn\xE9 hodnoty.",n="Pri na\u010D\xEDtavan\xED vrstvy sa vyskytla chyba. URL = ${ url }. ID polo\u017Eky port\xE1lu = ${ portalItemId }.",t="Polia [${ fieldNames }] definovan\xE9 v konfigur\xE1cii sa nena\u0161li vo vrstve.",r="${ dataPath } mus\xED by\u0165 jedine\u010Dn\xFD. S\xE9ria pomenovan\xE1 ${ seriesName } m\xE1 id (${ seriesID }), ktor\xE9 u\u017E je pou\u017E\xEDvan\xE9 inou s\xE9riou.",i="${ dataPath } nem\xF4\u017Ee vykon\xE1va\u0165 agreg\xE1ciu bez po\u010Dtov na ne\u010D\xEDselnom poli.",s="${ dataPath } ch\xFDba vlastnos\u0165 s n\xE1zvom ${ missingProperty }.",l="${ dataPath } mus\xED by\u0165 krat\u0161\xED ne\u017E ${ limit } znakov.",d="${ dataPath } nesmie ma\u0165 menej ne\u017E ${ limit } polo\u017Eiek.",m="${ dataPath } nesmie ma\u0165 viac ne\u017E ${ limit } polo\u017Eiek.",u="${ dataPath } mus\xED ma\u0165 aspo\u0148 jeden znak bez pr\xE1zdneho miesta.",p="${ dataPath } nesmie ma\u0165 ${ additionalProperty }.",v="${ dataPath } mus\xED by\u0165 rovn\xE9 jednej z t\xFDchto povolen\xFDch hodn\xF4t: ${ allowedValues }.",y="${ dataPath } sa mus\xED zhodova\u0165 so sch\xE9mou jednej z t\xFDchto: ${ schemaOptions }.",h="Korela\u010Dn\xE9 grafy s proporcion\xE1lnymi symbolmi nie s\xFA podporovan\xE9. Bola aplikovan\xE1 predvolen\xE1 ve\u013Ekos\u0165 symbolu.",c="Zlyhanie na\u010D\xEDtania vstupn\xFDch \xFAdajov.",$="Oper\xE1cia queryBins nie je v tejto slu\u017Ebe podporovan\xE1.",g="O\u010Dak\xE1van\xFD typ s\xE9rie pri indexe ${ seriesIndex } je '${ expectedType }', ale namiesto toho bolo prijat\xE9 '${ receivedType }'",P="alebo",b={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:o,layerLoadFailure:n,layerFieldsNotFound:t,duplicateSeriesID:r,nonNumericAggregation:i,requiredProperty:s,minLength:l,minItems:d,maxItems:m,whiteSpacePattern:u,additionalProperty:p,enumValues:v,anyOfValues:y,bubbleChartValidateMsg:h,queryError:c,queryBinsNotSupported:$,invalidSeriesType:g,or:P};export{p as additionalProperty,y as anyOfValues,h as bubbleChartValidateMsg,b as default,a as defaultError,r as duplicateSeriesID,v as enumValues,g as invalidSeriesType,t as layerFieldsNotFound,n as layerLoadFailure,m as maxItems,d as minItems,l as minLength,e as negativeValueInDataForLogTransformation,o as negativeValueInDataForSqrtTransformation,i as nonNumericAggregation,P as or,$ as queryBinsNotSupported,c as queryError,s as requiredProperty,u as whiteSpacePattern};
|
package/dist/cdn/KAHYOTH3.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{a as ot}from"./STSCY3U6.js";import{e as at}from"./PA3UUEW7.js";import{b as h}from"./FKO6EC3L.js";import{a as I,b as C,c as Q,e as W,f as Z,g as P,h as q,i as tt,j as et,l as M,m as _}from"./ZFCDNRSC.js";import{a as Y}from"./JNVXVLSN.js";import{f as D}from"./FBZNSOXX.js";import{b as v,e as G,f as O}from"./EATRTPYT.js";import{h as dt}from"./24NP64DA.js";import{H as nt,I as rt,a as K,f as p,k as j,s as st,t as it,u as L,v as F}from"./VIK44SZU.js";import{e as T,f as b,g as m}from"./RBVRRPVZ.js";import{a as u}from"./LMUKWSDF.js";import{g as c,q as l}from"./GFHHQP6P.js";import{a as B}from"./S4QWOL5P.js";import{A as X,e as J,f as k}from"./AOKPJ7NH.js";import{d as z}from"./7C5YD6LO.js";import{a as H}from"./QICTDN3R.js";import{h as V}from"./3Z72CDQD.js";import{a as S}from"./DIMOHQMT.js";import{i as R}from"./342BWUWV.js";import{a as d}from"./A665EDYV.js";import{a as $}from"./GNMQOJ3L.js";function lt(t,a){let e=`${H(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return a.params=Object.assign({updateDefinition:{}},a.params),a.updateDefinition&&(a.params.updateDefinition=a.updateDefinition),V(e,a)}var pt={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Nt(t,a){let e=Object.assign({},t);e.typeKeywords=c(e.typeKeywords,e.isDiscussable);let s=new l(I()),o=s.entityToStore(e,d(pt));o=await b(o,a);let i=s.storeToEntity(o,{}),n=await D(i,a);return i.entitySettingsId=n.id,i.discussionSettings=n.settings.discussions,i}async function xt(t,a){let e=await z(t.id,a),s={item:e};t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let i=new l(I()).entityToStore(t,s),n=h(t),r=$(t,"extendedProps.downloads.formats"),y=v(t)&&n!=="createReplica";if(ot(t)&&n&&r&&!y){let f=d(t.extendedProps.downloads);S("item.properties.downloads",f,i,!0)}let g=await m(i,a),U={};if(v(t)){let f=await B(Object.assign(Object.assign({},a),{url:t.url}));if(G(C.EXTRACT,f)!==t.serverExtractCapability){let x=O(C.EXTRACT,f),ct={capabilities:x.capabilities};await lt(J(t.url),{authentication:a.authentication,updateDefinition:ct}),U.server=x}else U.server=f}Z(a,t.access)&&(Y(t._forceUpdate,[!0])&&await X(e.id,a),delete t._forceUpdate,await W(t,a));let E=Q(g,a,U,t),N=await D(E,a);return E.entitySettingsId=N.id,E.discussionSettings=N.settings.discussions,E}async function $t(t,a){let e=Object.assign(Object.assign({},a),{id:t});await u(e)}function Vt(t,a){var e;let s=d(t);delete s.downloadFormats;let o=d(s);if(h(o)&&t.downloadFormats){let n=at(o),r=t.downloadFormats.map(y=>{let w=d(y);return delete w.label,w});n.formats=r,S("extendedProps.downloads",n,o,!0)}return o.extent=((e=t.location)===null||e===void 0?void 0:e.extent)||[],o}async function Ht(t,a){let e=Object.assign(Object.assign({},q),t);e.orgUrlKey=e.orgUrlKey.toLowerCase(),e.slug||(e.slug=K(e.name,e.orgUrlKey)),await p(e,a),e.typeKeywords=c(e.typeKeywords,e.isDiscussable);let s=new l(P()),o=s.entityToStore(e,d(tt));o=await b(o,a);let i=s.storeToEntity(o,{}),n=await D(i,a);return i.entitySettingsId=n.id,i.discussionSettings=n.settings.discussions,i}async function Rt(t,a){var e;await p(t,a),t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let s=await T(t.id,a),o=new l(P()),i=o.entityToStore(t,s),n=await m(i,a),r=et(s,o.storeToEntity(n,t),a),y;try{y=((e=r.location.geometries)===null||e===void 0?void 0:e.map(g=>k(g)))||null}catch(g){y=null,console.warn("Esri JSON conversion failed",g)}let w=await D(r,a,y);return r.entitySettingsId=w.id,r.discussionSettings=w.settings.discussions,r}async function Jt(t,a){let e=Object.assign(Object.assign({},a),{id:t});try{await dt(Object.assign({id:t},a))}catch{}await u(e)}async function kt(t,a){let e=Object.assign(Object.assign({},st),t);e.orgUrlKey=e.orgUrlKey.toLowerCase(),e.slug||(e.slug=K(e.name,e.orgUrlKey)),await p(e,a),e.typeKeywords=j(e.typeKeywords,e.status),e.typeKeywords=c(e.typeKeywords,e.isDiscussable);let s=new l(F()),o=s.entityToStore(e,d(it));o=await b(o,a);let i=s.storeToEntity(o,{});return i=L(o,i,a),i}async function Xt(t,a){await p(t,a),t.typeKeywords=j(t.typeKeywords,t.status),t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let e=await T(t.id,a),s=new l(F()),o=s.entityToStore(t,e),i=await m(o,a),n=s.storeToEntity(i,t);return n=L(e,n,a),n}async function zt(t,a){let e=Object.assign(Object.assign({},a),{id:t});await u(e)}var A="Hub Initiative Template",yt={catalog:{schemaVersion:0},name:"No title provided",permissions:[],tags:[],typeKeywords:[A],schemaVersion:1,features:R,values:{},view:{showMap:!0}},wt={item:{type:A,title:"No Title Provided",description:"No Description Provided",snippet:"",tags:[],typeKeywords:[A],properties:{slug:"",schemaVersion:1,previewUrl:""}},data:{recommendedTemplates:[],siteSolutionId:"",view:{showMap:!0}}};async function Bt(t,a){let e=Object.assign(Object.assign({},yt),t);e.orgUrlKey=e.orgUrlKey.toLowerCase(),e.slug||(e.slug=K(e.name,e.orgUrlKey)),await p(e,a),e.typeKeywords=c(e.typeKeywords,e.isDiscussable);let s=new l(_()),o=s.entityToStore(e,d(wt));o=await b(o,a);let i=s.storeToEntity(o,{});return i=M(o,i,a),i}async function Gt(t,a){var e;await p(t,a),t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let s=await T(t.id,a),o=new l(_()),i=o.entityToStore(t,s),n=await m(i,a),r=o.storeToEntity(n,t);return((e=t.view)===null||e===void 0?void 0:e.showMap)===void 0&&S("view.showMap",!0,t),t=M(s,r,a),r}async function Ot(t,a){let e=Object.assign(Object.assign({},a),{id:t});await u(e)}function Yt(t,a){throw new Error("Template creation is not currently supported from the context of Hub")}async function Qt(t,a){await p(t,a),t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let e=await T(t.id,a),s=new l(nt()),o=s.entityToStore(t,e),i=await m(o,a),n=s.storeToEntity(i,t);return t=rt(e,n,a),n}function Wt(t,a){let e=d(t);return e.orgUrlKey=t.orgUrlKey?t.orgUrlKey:a.urlKey,e.orgUrlKey=e.orgUrlKey.toLowerCase(),e}async function Zt(t,a){let e=Object.assign(Object.assign({},a),{id:t});await u(e)}export{Nt as a,xt as b,$t as c,Vt as d,Ht as e,Rt as f,Jt as g,kt as h,Xt as i,zt as j,yt as k,Bt as l,Gt as m,Ot as n,Yt as o,Qt as p,Wt as q,Zt as r};
|
package/dist/cdn/KBCBJNZQ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{a as d}from"./G4PCFBUR.js";import{a as m}from"./XQSD67PV.js";import{a as b}from"./VE3IG7OU.js";import{a as I}from"./DIMOHQMT.js";import"./VLH52FMS.js";import{a as c}from"./TONDW4XK.js";import{a as E}from"./I7M6RTYZ.js";import{a as f}from"./G4VSW6SL.js";import"./D7IEDUGO.js";import"./6SKDS2SM.js";import{b as o,c as w,d as y,e as p,h as u,i as L}from"./L752ND35.js";import{a as h,g,s as _}from"./A665EDYV.js";import{a as s}from"./GNMQOJ3L.js";import"./VMY4MPPS.js";import"./5XTVRXEK.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/KDLBKU3I.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{a as U,b as $}from"./5SIET53U.js";import{a as P}from"./6HCQELDZ.js";import{a as x}from"./EYHMBZVO.js";import{a as B}from"./4PZESWSR.js";import{a as j,b as L}from"./IFB4TQIK.js";import{a as _}from"./UR4ZTLHZ.js";import{a as D}from"./6MJEHR2O.js";import{b as M,c as O}from"./VXAFB5TZ.js";import{a as C}from"./V64Z6LJC.js";import{a as z}from"./MZRLFIA6.js";import{a as d}from"./B2DB66RP.js";import"./4E6GBGX3.js";import"./44F7KPEQ.js";import"./KXXTRE3F.js";import{b as I,e as F}from"./6KPFPQJO.js";import a from"./6UHEBJHN.js";import{a as V}from"./2NFCM7KZ.js";import{a as w}from"./NFBJECRB.js";import"./EUSTRKGX.js";import"./VQ7DSNJI.js";import"./OMXV4TYX.js";import{d as R}from"./7C5YD6LO.js";import"./HUZTJPKZ.js";import"./QICTDN3R.js";import"./3Z72CDQD.js";import{c as S}from"./NVQ63SBB.js";import"./S6IYZQOT.js";import{a as H}from"./YFQODFXM.js";import"./342BWUWV.js";import{a as A}from"./TONDW4XK.js";import"./P6CR5IPF.js";import"./6Y7OTCE2.js";import{a as m}from"./I7M6RTYZ.js";import{a as c}from"./G4VSW6SL.js";import"./D7IEDUGO.js";import"./6SKDS2SM.js";import{a as h}from"./P2GT4GYN.js";import"./JUB2G4HG.js";import{a as W,b as i,c as u,d as b,e as p,h as q,i as g}from"./L752ND35.js";import{a as E}from"./6V7DITJ2.js";import{g as k}from"./A665EDYV.js";import{a as y}from"./GNMQOJ3L.js";import"./VMY4MPPS.js";import"./5XTVRXEK.js";export default $arcgis.t(([,{w:G}])=>{var J=".sc-arcgis-hub-embed-card-h{display:block}img.sc-arcgis-hub-embed-card{margin-left:auto;margin-right:auto;display:flex;height:500px}",Q=J,T=function(e,t,r,s){var n=arguments.length,a=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,r):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,s);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(n<3?o(a):n>3?o(t,r,a):o(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},f=500,v=class{async handleMapViewReady(e){e.stopPropagation();let{detail:{view:t}}=e;await t.when(),t.ui.components=[],this._mapView=t}handleViewportChanged(){this.fetchAndCacheItems()}handleEmbedChanged(){this.fetchAndCacheItems()}get isAppOrFeedbackEmbed(){return!!this._embedConfigForViewport&&["app","feedback"].includes(this._embedConfigForViewport.kind)}getItem(e){return R(e,this._context.requestOptions)}async fetchAndCacheItems(){if(this.isAppOrFeedbackEmbed){let e=this._embedConfigForViewport;if(this._itemCache[e.id]===void 0)try{this._itemCache=Object.assign(Object.assign({},this._itemCache),{[e.id]:await this.getItem(e.id)})}catch(t){this._itemCache=Object.assign(Object.assign({},this._itemCache),{[e.id]:null}),E.error(`Failed to fetch item ${e.id}`,t)}}}get _iframeSrc(){if(this.isAppOrFeedbackEmbed){let e=this._embedConfigForViewport,t=this._itemCache[e.id];if(!t)return;let r=L(t,this._context);if(r=j(r),r=O(r),this._context.isPortal){let s={hasCookie:$(),isAuthenticated:this._context.isAuthenticated,orgBaseUrl:this._context.portalUrl,orgHasSSO:!!this._context.portal.platformSSO};r=U(r,s)}return r}}constructor(e){g(this,e),this.hubTelemetry=p(this,"hubTelemetry",7),this.cardId=k(),this.embed=void 0,this.shareable=!1,this.shareableByValue=!1,this.shareableByReference=!1,this.shareableOnHover=!1,this.iframeTitle=`embed card ${this.cardId}`,this._isInViewport=!1,this._mapView=void 0,this._viewport=void 0,this._itemCache={},m(this,"handleIntersection","handleResize")}async componentWillLoad(){await this.loadTranslations()}connectedCallback(){this.observeIntersection(),this.observeResize()}disconnectedCallback(){this.unobserveIntersection(),this.unobserveResize()}async loadTranslations(){this.intl=await c.loadIntlForComponent(this.element)}get _context(){return S()}get _embedConfigForViewport(){if(this._viewport&&this.embed){let e=[];this._viewport==="viewportDesktop"?e=["viewportDesktop","viewportTablet","viewportMobile"]:this._viewport==="viewportTablet"?e=["viewportTablet","viewportMobile"]:e=["viewportMobile"];let t=e.find(r=>this.embed[r]);return this.embed[t]||this.embed.viewportAll}}observeIntersection(){x.addHandler(this.element,this.handleIntersection)}unobserveIntersection(){x.unobserve(this.element)}observeResize(){_.addHandler(this.element,this.handleResize)}unobserveResize(){_.unobserve(this.element)}handleIntersection(){var e,t;if(this._isInViewport=!0,this.unobserveIntersection(),!((t=(e=this.embed)===null||e===void 0?void 0:e.viewportAll)===null||t===void 0)&&t.kind){let r=this.embed.viewportAll.kind===d.external?"externalUrl":this.embed.viewportAll.kind;this.hubTelemetry.emit(Object.assign({},h.dictionary.category.interaction.action.viewed.label.card.details[r]))}}handleResize(){let e,t=window?.innerWidth;t<560?e="viewportMobile":t>=560&&t<980?e="viewportTablet":t>=980&&(e="viewportDesktop"),this._viewport=e}renderMapEmbed(e){let t={baseViewItemId:[e.id]},r=`${e.height||f}px`;return i("arcgis-hub-map-view",Object.assign({},G(t),{home:!0,layerList:!0,legend:!0,mouseWheel:"zoom",search:!0,style:{height:r}}))}renderAppEmbed(e){if(this._iframeSrc)return i("arcgis-hub-embed",{geolocation:!0,height:e.height||f,iframeTitle:this.iframeTitle,isScrollable:e.isScrollable,src:this._iframeSrc})}renderFeedbackEmbed(e){var t,r;if(this._iframeSrc){let s=(t=this.embed)===null||t===void 0?void 0:t.viewportAll,{showHeader:n=!0,showDescription:a=!0,showFooter:o=!0}=s,l=["navbar",!n&&"header",!a&&"description",!o&&"footer"].filter(N=>N).join(","),K=!((r=this._iframeSrc)===null||r===void 0)&&r.includes("?")?`${this._iframeSrc}&hide=${l}`:`${this._iframeSrc}?hide=${l}`;return i("arcgis-hub-embed",{geolocation:!0,height:e.height||f,iframeTitle:this.iframeTitle,isScrollable:!0,src:K})}}renderExternalEmbed(e){return i("arcgis-hub-embed",{height:e.height||f,iframeTitle:this.iframeTitle,src:e.url})}renderEmbed(){if(this._isInViewport)switch(this._embedConfigForViewport.kind){case d.map:return this.renderMapEmbed(this._embedConfigForViewport);case d.external:return this.renderExternalEmbed(this._embedConfigForViewport);case d.app:return this.renderAppEmbed(this._embedConfigForViewport);case d.feedback:return this.renderFeedbackEmbed(this._embedConfigForViewport)}}renderPlaceholder(){return i("img",{alt:this.intl.t("placeholderAlt"),src:W("./assets/embed.svg")})}renderCard(){if(this._embedConfigForViewport)return i(D,{context:this,showShareUi:!0},this.renderEmbed())}render(){return i(u,{key:"89c8321765a99690c2f1ef74b4e7051a4c3caaeb","data-element":"embed-card",id:this.cardId},this.embed?this.renderCard():this.renderPlaceholder())}static get assetsDirs(){return["assets","locales"]}get element(){return b(this)}static get watchers(){return{_viewport:["handleViewportChanged"],embed:["handleEmbedChanged"]}}};T([C("_viewport","embed","_itemCache")],v.prototype,"_iframeSrc",null);T([C("_viewport","embed")],v.prototype,"_embedConfigForViewport",null);T([z({timeout:250})],v.prototype,"handleResize",null);v.style=Q;var X=`.sc-arcgis-hub-entity-about-h{margin-top:1rem;display:flex;width:100%;gap:4rem;overflow:hidden}h2.sc-arcgis-hub-entity-about{margin:0 0 0.75rem 0;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}p.sc-arcgis-hub-entity-about{font-size:var(--calcite-font-size-0);line-height:1.25rem}.entity-about-main.sc-arcgis-hub-entity-about{flex:2;margin-right:2rem}.entity-about-side-bar.sc-arcgis-hub-entity-about{flex:1}.entity-about-main.sc-arcgis-hub-entity-about>div.sc-arcgis-hub-entity-about:not(:last-of-type),.entity-about-side-bar.sc-arcgis-hub-entity-about>div.sc-arcgis-hub-entity-about:not(:last-of-type){margin-bottom:2.5rem}arcgis-hub-embed-card.sc-arcgis-hub-entity-about{margin-bottom:1.5rem}arcgis-hub-metric-card.sc-arcgis-hub-entity-about{min-height:15rem;height:100%}.entity-about__featured-metrics-grid.sc-arcgis-hub-entity-about{grid-template-columns:repeat(2, minmax(20rem, 1fr));display:grid;gap:2rem}.entity-about__featured-metrics.sc-arcgis-hub-entity-about calcite-button.sc-arcgis-hub-entity-about{margin-top:1.5rem}.sc-arcgis-hub-entity-about-s>[slot='main'],.sc-arcgis-hub-entity-about-s>[slot="sidebar"]{margin-top:2.5rem}@media only screen and (max-width: 992px){.sc-arcgis-hub-entity-about-h{flex-direction:column;gap:0}.entity-about__featured-metrics-grid.sc-arcgis-hub-entity-about{grid-template-columns:unset}}`,Y=X,Z=class{async componentWillLoad(){console.info(`Entity About: PATH: ${this.path}`),this.intl=await c.loadIntlForComponent(this.element)}constructor(e){g(this,e),this.arcgisHubEntityAboutTabChange=p(this,"arcgisHubEntityAboutTabChange",7),this.handleFeaturedContentResultsChange=t=>{this.hasFeaturedContent=!!t.detail.length},this.handleTabChange=t=>{this.arcgisHubEntityAboutTabChange.emit(t)},this.entity=void 0,this.path="",this.hasFeaturedContent=!1,m(this,"handleTabChange")}get _context(){return S()}get entityType(){return H(this.entity)}get view(){let{view:e={}}=this.entity||{};return e}get shouldRenderAbout(){var e,t,r,s;return!!(!((e=this.entity)===null||e===void 0)&&e.summary)||!!(!((t=this.entity)===null||t===void 0)&&t.description)||!!(!((r=this.view.embeds)===null||r===void 0)&&r.length)||!!(!((s=this.view.featuredContentIds)===null||s===void 0)&&s.length)}get shouldRenderStatus(){return!!y(this.entity,"status")||!!this.view.timeline}get featuredImageUrl(){var e;let t=!((e=this._context)===null||e===void 0)&&e.isAuthenticated?`?token=${this._context.session.token}`:"";return V(`${this.view.featuredImageUrl}${t}`)}get metricDisplays(){var e,t;return((t=(e=this.view)===null||e===void 0?void 0:e.metricDisplays)===null||t===void 0?void 0:t.filter(r=>r?.visibility!==w.hidden))||[]}get featuredMetricDisplays(){var e;return((e=this.view.metricDisplays)===null||e===void 0?void 0:e.filter(t=>t?.visibility===w.featured))||[]}renderAbout(){var e,t,r;return i("div",null,i("h2",null,this.intl.t("about")),((e=this.entity)===null||e===void 0?void 0:e.summary)&&i("p",null,this.entity.summary),!!(!((t=this.view.embeds)===null||t===void 0)&&t.length)&&i("arcgis-hub-embed-card",{embed:this.view.embeds[0],shareable:!0,shareableOnHover:!0}),((r=this.entity)===null||r===void 0?void 0:r.description)&&i("p",{innerHTML:M(this.entity.description)}),this.view.featuredImageUrl&&!this.view.hero&&i("arcgis-hub-image",{alt:this.view.featuredImageAltText||"",corners:I.round,src:this.featuredImageUrl}))}renderMetrics(){return i("div",{class:"entity-about__featured-metrics"},i("h2",null,this.intl.t("metrics")),i("div",{class:"entity-about__featured-metrics-grid"},this.featuredMetricDisplays.map(e=>{let r=A(this.entity,"metrics",[]).find(s=>s.id===e.metricId);return i("arcgis-hub-metric-card",{cardConfig:Object.assign(Object.assign({},e),{scale:F.medium,border:!0}),key:r.id,metric:r})})),!!this.metricDisplays.length&&this.metricDisplays.length!==this.featuredMetricDisplays.length&&i("calcite-button",{appearance:"outline","data-scroll":"scroll","data-tab":B.Metrics,onClick:this.handleTabChange,round:!0},this.intl.t("exploreMetrics")))}renderFeaturedContent(){let e={targetEntity:"item",filters:[{predicates:[{id:this.view.featuredContentIds}]}]};return i("div",null,this.hasFeaturedContent&&i("h2",null,this.intl.t("featuredContent")),i("arcgis-hub-gallery",{layout:"grid",limit:4,linkTarget:"siteRelative",onArcgisHubGalleryResultsChange:this.handleFeaturedContentResultsChange,path:this.path,query:e,showEmptyState:!1,sortByIds:this.view.featuredContentIds}))}renderStatus(){var e;let t=y(this.entity,"status"),r=this.view.timeline||{},s=this.intl.t(`status.${t||"notStarted"}`);return i(q,null,i("div",null,i("h2",null,this.intl.t(`status.label.${this.entityType}`,{},this.intl.t("status.label.default"))),!!t&&i("calcite-chip",{icon:t==="complete"?"check":"",label:s,scale:"l",value:t},s)),!!(!((e=Object.keys(r))===null||e===void 0)&&e.length)&&i("div",null,i("arcgis-hub-timeline",{canCollapse:r.canCollapse,description:r.description,stages:r.stages,timelineTitle:r.title})))}renderMetadata(){return i("div",{class:"entity-view-side-bar__metadata"},i("h2",null,this.intl.t("details")),i("arcgis-hub-entity-metadata",{entity:this.entity}))}render(){var e,t;return i(u,{key:"8e8594fc0ddd7f4395505a22be752c265828abf1","data-element":"entity-about"},i("div",{key:"60dd97d3aa0d29fc19564fe3f6b112347ba732ab",class:"entity-about-main"},this.shouldRenderAbout&&this.renderAbout(),!!(!((e=this.featuredMetricDisplays)===null||e===void 0)&&e.length)&&this.renderMetrics(),!!(!((t=this.view.featuredContentIds)===null||t===void 0)&&t.length)&&this.renderFeaturedContent(),i("slot",{key:"8b026a0a56eeb1ed45ab6683ee32fed1ce3fb6fe",name:"main"})),i("div",{key:"984fae4a8885573f8917cc1776ffb7e4348d5957",class:"entity-about-side-bar"},this.shouldRenderStatus&&this.renderStatus(),this.renderMetadata(),i("slot",{key:"cc3cc6d607a77f5643c3e609117880af36922706",name:"sidebar"})))}static get assetsDirs(){return["locales"]}get element(){return b(this)}};Z.style=Y;var ee="*{margin:0px;padding:0px;color:var(--calcite-color-text-1);list-style:none}:host{display:block;overflow:hidden;border-radius:1rem;padding:0px}.hub-timeline__header{padding-bottom:3.5rem}h1,label{font-weight:var(--calcite-font-weight-normal)}h1{font-size:var(--calcite-font-size-3);line-height:2rem}label{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-light)}ol{background-color:var(--calcite-color-foreground-1);padding-right:1.25rem;padding-left:13px;padding-top:12px;}li{border-left:1px dashed #cccccc;position:relative;padding-left:1rem;padding-right:1rem;padding-bottom:1.5rem}li:last-child{border:0px;padding-bottom:0px}li calcite-icon{left:-13px;position:absolute;top:0.25rem;background-color:var(--calcite-color-foreground-1)}.stage{border:1px rgba(204, 204, 204, 0.2) solid;top:-12px;position:relative;margin-left:1.25rem;border-radius:0.75rem;padding:1rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.stage calcite-link{margin-top:0.5rem;display:block;overflow-wrap:anywhere}.stage h3{font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium)}.stage span{margin-top:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-light);color:var(--calcite-color-text-3)}p{margin-top:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}.empty-state{height:20rem;width:100%;display:flex;align-items:center;justify-content:center}.empty-state calcite-icon{height:60%;width:60%}.collapse-expand-btn{margin-left:20px}",te=ee,ie=class{constructor(e){g(this,e),this.hubTelemetry=p(this,"hubTelemetry",7),this.timelineTitle=void 0,this.description=void 0,this.stages=[],this.canCollapse=void 0,this.isCollapsed=void 0,m(this,"handleCollapseExpandBtnClick")}async componentWillLoad(){this.intl=await c.loadIntlForComponent(this.element)}get shouldCollapse(){return this.canCollapse&&this.stages.length>=6}renderStageLink(e){let t,{href:r,title:s}=e||{};return(r||s)&&(t=i("calcite-link",{href:r||"#"},s||r)),t}handleCollapseExpandBtnClick(){this.isCollapsed=!this.isCollapsed,this.isCollapsed?this.hubTelemetry.emit(h.dictionary.category.interaction.action.close.label.timeline):this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.timeline)}renderCollapseExpandIconAndBtn(){if(this.isCollapsed===void 0&&(this.isCollapsed=this.shouldCollapse),this.shouldCollapse)return i("li",null,i("calcite-icon",{icon:this.isCollapsed?"chevrons-down":"chevrons-up"}),i("calcite-link",{class:"collapse-expand-btn",onClick:this.handleCollapseExpandBtnClick},this.intl.t(this.isCollapsed?"expandTimeline":"collapseTimeline")))}renderStages(){return i("ol",null,this.renderFirstThreeStages(),this.renderCollapseExpandIconAndBtn(),this.renderRemainingStages())}renderStage(e){return i("li",{key:e.title},i("calcite-icon",{icon:P(e.status)}),i("div",{class:"stage"},i("h3",null,e.title),i("span",null,e.timeframe),i("p",null,e.stageDescription),this.renderStageLink(e.link)))}renderFirstThreeStages(){return this.stages.slice(0,3).map(e=>this.renderStage(e))}renderLastStage(){return this.renderStage(this.stages[this.stages.length-1])}renderExpandedStages(){return this.stages.slice(3).map(e=>this.renderStage(e))}renderRemainingStages(){return this.isCollapsed===void 0&&(this.isCollapsed=this.shouldCollapse),this.shouldCollapse&&this.isCollapsed?this.renderLastStage():this.renderExpandedStages()}render(){return i(u,{key:"441237fe055b63769b5df58e5197ab4818980165"},(this.timelineTitle||this.description)&&i("div",{class:"hub-timeline__header"},this.timelineTitle&&i("h1",null,this.timelineTitle),this.description&&i("label",null,this.description)),!!this.stages.length&&this.renderStages())}static get assetsDirs(){return["locales"]}get element(){return b(this)}};ie.style=te;return{arcgis_hub_embed_card:v,arcgis_hub_entity_about:Z,arcgis_hub_timeline:ie}},"config",a)
|
package/dist/cdn/KF76CPF4.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{b as C}from"./QGGOQ34V.js";import{a as _}from"./V64Z6LJC.js";import{b}from"./DEJRHY65.js";import"./EUSTRKGX.js";import{a as f}from"./VE3IG7OU.js";import{c as w,j as E}from"./NVQ63SBB.js";import"./S6IYZQOT.js";import"./YFQODFXM.js";import"./342BWUWV.js";import"./TONDW4XK.js";import"./P6CR5IPF.js";import"./6Y7OTCE2.js";import{a as y}from"./I7M6RTYZ.js";import{a as v}from"./G4VSW6SL.js";import"./D7IEDUGO.js";import"./6SKDS2SM.js";import{a as g}from"./P2GT4GYN.js";import"./JUB2G4HG.js";import{b as o,c as S,d as I,e as m,h as d,i as k}from"./L752ND35.js";import"./6V7DITJ2.js";import{s as u}from"./A665EDYV.js";import{a as p}from"./GNMQOJ3L.js";import"./VMY4MPPS.js";import"./5XTVRXEK.js";function T(e,t){let i;if(e.length===0)return{targetEntity:t,filters:[{operation:"OR",predicates:[{type:["Code Attachment"]}]}]};switch(t){case"user":i={targetEntity:t,filters:[{operation:"OR",predicates:[{username:e}]}]};break;default:i={targetEntity:t,filters:[{operation:"OR",predicates:[{id:e}]}]}}return i}var G='hub-field-input-gallery-picker .gallery-picker__selected-entities{margin-bottom:1.5rem}hub-field-input-gallery-picker calcite-list-item [slot="actions-start"]{margin-top:10px;margin-left:0.75rem}hub-field-input-gallery-picker calcite-list-item{--calcite-font-size--2:var(--calcite-font-size--1);--tw-shadow:var(--twShadowNew, 0 1px 0 var(--calcite-color-border-3))}hub-field-input-gallery-picker calcite-link{display:flex;flex-direction:column;align-items:center;justify-content:center}hub-field-input-gallery-picker .gallery-picker__button-container{display:flex;flex-wrap:wrap;gap:0.75rem}arcgis-hub-gallery{margin-bottom:1rem}calcite-list-item>calcite-button{margin-inline-end:0.25rem}',P=G,O=function(e,t,i,l){var n=arguments.length,s=n<3?t:l===null?l=Object.getOwnPropertyDescriptor(t,i):l,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,l);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(n<3?a(s):n>3?a(t,i,s):a(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},R=class{connectedCallback(){E(this)}disconnectedCallback(){this.disconnectContext()}constructor(e){k(this,e),this.arcgisConfigurationEditorFieldInputChange=m(this,"arcgisConfigurationEditorFieldInputChange",7),this.hubTelemetry=m(this,"hubTelemetry",7),this.setTriggerElement=t=>{this.triggerElement=t},this.handleHubTelemetry=t=>{t.stopPropagation(),this.hubTelemetry.emit(Object.assign({details:this.params.telemetryLabel},t.detail))},this.handleAddContentComplete=t=>{t.stopPropagation(),this.selectedIds=[...this.selectedIds,t.detail.entities[0].id],this.gallerySelection[this.targetEntity]=this.selectedIds,this.arcgisConfigurationEditorFieldInputChange.emit(this.selectedIds)},this.params=void 0,this.styles=void 0,this.isMobile=!1,this._context=w(),this.inaccessibleContentIds=[],this.isOpen=!1,this.gallerySelection=void 0,this.selectedIds=void 0,this.triggerElement=void 0,y(this,"handleGalleryPickerSelectionUpdate","handleGalleryPickerOpen","handleGalleryPickerClose","handleAddContentComplete","handleArcgisHubGalleryResultsChange","handleInaccessibleContentRemove")}async componentWillLoad(){this.selectedIds=Array.isArray(this.params.value)?this.params.value:[],this.gallerySelection=this.convertEntityIdsToGallerySelection(),this.intl=await v.loadIntlForComponent(this.element)}async onParamsChange(){let e=this.selectedIds||[],t=Array.isArray(this.params.value)?this.params.value:[],i=t.some(n=>!e.includes(n)),l=e.some(n=>!t.includes(n));(i||l)&&(this.selectedIds=t,this.gallerySelection=this.convertEntityIdsToGallerySelection())}get targetEntity(){var e,t;return((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.targetEntity)||"item"}get limit(){var e,t;return(t=(e=this.params)===null||e===void 0?void 0:e.schema)===null||t===void 0?void 0:t.maxItems}get selectionMode(){return this.params.schema.maxItems===1?"single":"multiple"}get canReorder(){var e,t,i,l,n,s;let a=!0;return f((i=(t=(e=this.params)===null||e===void 0?void 0:e.uiSchema)===null||t===void 0?void 0:t.options)===null||i===void 0?void 0:i.canReorder)||(a=(n=(l=this.params.uiSchema)===null||l===void 0?void 0:l.options)===null||n===void 0?void 0:n.canReorder),a&&((s=this.selectedIds)===null||s===void 0?void 0:s.length)>1}get pickerTitle(){var e,t;let i,l=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.pickerTitle)&&b(this.params.uiSchema,this.params.t,"options.pickerTitle");return l?i=l:this.limit===1?i=this.intl.t(`select${u(this.targetEntity)}`):i=this.intl.t(`select${u(this.targetEntity)}s`),i}get query(){return T(this.selectedIds,this.targetEntity)}get allowRemoveAction(){var e,t,i,l;return!((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0)&&t.hasOwnProperty("allowRemove")?(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.allowRemove:!0}get actionLinks(){let e=[];return this.allowRemoveAction&&e.push({action:"remove",ariaLabel:this.intl.t("remove"),buttonStyle:"outline",disabled:this.params.disabled,icon:"x",label:this.intl.t("remove")}),e}get _showThumbnail(){var e;return(e=p(this.params,"uiSchema.options.showThumbnail"))!==null&&e!==void 0?e:!0}convertEntityIdsToGallerySelection(){return{[this.targetEntity]:this.params.value}}convertGallerySelectionToEntityIds(e){return e[this.targetEntity]}handleGalleryPickerOpen(){this.isOpen=!0}handleGalleryPickerClose(){this.isOpen=!1}handleGalleryPickerSelectionUpdate(e){let t=this.convertGallerySelectionToEntityIds(e.detail);this.selectedIds=t,this.arcgisConfigurationEditorFieldInputChange.emit(t),this.isOpen=!1}handleArcgisHubGalleryResultsChange(e){let t=e.detail.map(i=>i.id);this.inaccessibleContentIds=this.selectedIds.filter(i=>!t.includes(i))}actionHandler(e){e.detail.action==="remove"&&this.handleGallerySelectionRemove(e)}handleGallerySelectionRemove(e){let t=e.detail.model.id;this.handleSelectionRemove(t)}handleInaccessibleContentRemove(e){let t=e.target.getAttribute("data-id");this.handleSelectionRemove(t),this.inaccessibleContentIds=this.inaccessibleContentIds.filter(i=>i!==t)}handleSelectionRemove(e){this.selectedIds=this.selectedIds.filter(i=>i!==e),this.gallerySelection[this.targetEntity]=this.gallerySelection[this.targetEntity].filter(i=>i!==e),this.arcgisConfigurationEditorFieldInputChange.emit(this.selectedIds);let t={item:"content",group:"groups",user:"users",channel:"channel"}[this.targetEntity]||"content";this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.remove.label[t]),{details:this.params.telemetryLabel,count:this.selectedIds.length}))}handleSelectEntitiesOrderChange(e){let{oldIndex:t,newIndex:i}=e.detail,l=[...this.selectedIds],[n]=l.splice(t,1);l.splice(i,0,n),this.selectedIds=l,this.gallerySelection[this.targetEntity]=l,this.arcgisConfigurationEditorFieldInputChange.emit(l)}renderSelectedEntities(){var e,t,i,l,n;return o(d,null,o("arcgis-hub-gallery",{cardActionLinks:this.actionLinks,include:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.include,layout:"compact",limit:this.selectedIds.length,linkTarget:(n=(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.linkTarget)!==null&&n!==void 0?n:"siteRelative",mobileView:this.isMobile,onArcgisHubGalleryResultsChange:this.handleArcgisHubGalleryResultsChange,query:this.query,reorderable:this.canReorder,showEmptyState:!1,showThumbnail:this._showThumbnail,sortByIds:this.selectedIds}),this.inaccessibleContentIds.length>0&&this.renderInaccessibleContent())}renderGalleryPickerButton(){var e,t,i,l,n,s,a,r,c,h;let A=!((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0)&&t.appearance?(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.appearance:!((s=(n=this.params.uiSchema)===null||n===void 0?void 0:n.options)===null||s===void 0)&&s.showAddContent?"solid":"outline-fill";return o(d,null,o("calcite-button",{appearance:A,class:"gallery-picker__select",disabled:this.isOpen||this.params.disabled,kind:(r=(a=this.params.uiSchema)===null||a===void 0?void 0:a.options)===null||r===void 0?void 0:r.kind,label:this.pickerTitle,onClick:this.handleGalleryPickerOpen,ref:this.setTriggerElement,round:!0,width:(h=(c=this.params.uiSchema)===null||c===void 0?void 0:c.options)===null||h===void 0?void 0:h.width},this.pickerTitle))}renderGalleryPicker(){var e,t,i,l,n,s,a;return o("arcgis-wormhole",{elAttributes:{unthemed:""}},o("arcgis-hub-gallery-picker",{catalogs:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.catalogs,facets:(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.facets,gallerySelection:this.gallerySelection,isMobile:this.isMobile,limit:this.limit,linkTarget:"siteRelative",modalOptions:(n=this.params.uiSchema)===null||n===void 0?void 0:n.options,modalTitle:this.pickerTitle,onArcgisHubGalleryPickerClose:this.handleGalleryPickerClose,onArcgisHubGalleryPickerSelectionUpdate:this.handleGalleryPickerSelectionUpdate,onHubTelemetry:this.handleHubTelemetry,open:this.isOpen,selectionMode:this.selectionMode,showAllCollectionFacet:(a=(s=this.params.uiSchema)===null||s===void 0?void 0:s.options)===null||a===void 0?void 0:a.showAllCollectionFacet,showSearch:!0,triggerElement:this.triggerElement}))}get addContentConfig(){var e,t;let i=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.addContentTypes)||C(this._context,[this.targetEntity]);return{state:"enabled",create:{workflow:"create",targetEntity:this.targetEntity,types:i}}}get shouldRenderSelectButton(){var e,t,i,l;let n=this.selectedIds.length<this.limit||this.limit===void 0;return!((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0)&&t.hasOwnProperty("showSelect")?((l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.showSelect)&&n:n}get shouldRenderAddContent(){var e,t;return((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.showAddContent)&&(this.limit===void 0||this.selectedIds.length<this.limit)}renderAddContentPicker(){var e,t;return o("arcgis-hub-add-content",{allowGroupSelection:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.allowGroupSelection,buttonProps:{appearance:"outline-fill",disabled:this.params.disabled},config:this.targetEntity==="item"?this.addContentConfig:null,entityType:this.targetEntity,onArcgisHubAddContentWorkflowComplete:this.handleAddContentComplete})}renderInaccessibleContent(){let e=this.targetEntity==="item"||!this.targetEntity?"content":this.targetEntity;return o(d,null,this.inaccessibleContentIds.map(t=>o("calcite-list-item",{appearance:"outline",description:this.intl.t(`inaccessibleContent.${e}Description`),"icon-start":"exclamation-mark-triangle","interaction-mode":"static",label:this.intl.t("inaccessibleContent.label",{type:e,id:t}),"selection-mode":"none"},this.allowRemoveAction&&this.renderRemoveAction(t,e))))}renderRemoveAction(e,t){return o("calcite-button",{appearance:"outline","data-id":e,disabled:this.params.disabled,iconEnd:"x",label:this.intl.t("inaccessibleContent.removeActionAriaLabel",{type:t}),onClick:this.handleInaccessibleContentRemove,round:!0,slot:"actions-end"})}render(){return o(S,{key:"172608c06e3417faf0d9ce2b23141c85065e4fd5","data-element":"gallery-picker-field",style:this.styles},!!this.selectedIds.length&&this.renderSelectedEntities(),o("div",{key:"ccf0d9fe65a9786591260d8238c1b7e2f9727ef0",class:"gallery-picker__button-container"},this.shouldRenderSelectButton&&this.renderGalleryPickerButton(),this.shouldRenderAddContent&&this.renderAddContentPicker()),this.isOpen&&this.renderGalleryPicker())}static get assetsDirs(){return["locales"]}get element(){return I(this)}static get watchers(){return{params:["onParamsChange"]}}};O([_("selectedIds","targetEntity")],R.prototype,"query",null);R.style=P;export{R as hub_field_input_gallery_picker};
|
package/dist/cdn/KGQIRRTS.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{a as c}from"./PEFH4H6L.js";import{c as _}from"./IFB4TQIK.js";import{c as C}from"./VXAFB5TZ.js";import{a as v}from"./MZRLFIA6.js";import"./YIWDAASG.js";import"./PUTHWKRS.js";import"./FZWSEUUZ.js";import"./44F7KPEQ.js";import"./KXXTRE3F.js";import"./6KPFPQJO.js";import"./S6IYZQOT.js";import{a as y}from"./I7M6RTYZ.js";import{a as u}from"./G4VSW6SL.js";import"./D7IEDUGO.js";import"./6SKDS2SM.js";import{a as m}from"./P2GT4GYN.js";import"./JUB2G4HG.js";import{b as r,c as b,d as I,e as d,h as p,i as S}from"./L752ND35.js";import"./6V7DITJ2.js";import"./GNMQOJ3L.js";import"./VMY4MPPS.js";import"./5XTVRXEK.js";export default $arcgis.t(([])=>{var A='.image-upload__title{margin-bottom:0px;font-size:var(--calcite-font-size-2);line-height:1.5rem}.image-upload__content{transition:all 200ms ease-in-out;border:1px solid var(--calcite-color-border-3);box-sizing:border-box;background-color:var(--calcite-color-background);padding-left:2rem;padding-right:2rem;padding-top:1rem;padding-bottom:1.5rem}.image-upload__content--with-map{min-height:400px}.image-upload__content--no-padding{padding:0px}.image-upload__canvas{left:-10000px;visibility:hidden;position:fixed}.or-container{margin-top:1rem;margin-bottom:1rem;text-align:center;font-weight:var(--calcite-font-weight-medium)}.or-container:before,.or-container:after{content:"";border-top:solid 1px var(--calcite-color-border-input);width:15%;height:1px;z-index:1;display:inline-block;vertical-align:middle}.or-wrapper{padding-left:0.5rem;padding-right:0.5rem}.image-upload__from-map-button{border:1px solid var(--calcite-color-foreground-3);background-color:var(--calcite-color-foreground-1);padding:1rem;text-align:center}.image-upload__from-map-button:hover{border:1px solid var(--calcite-color-brand)}.image-upload__from-map-title{display:inline-block}.from-map-title-wrapper{display:flex;align-items:center}.from-map-icon{margin-right:0.5rem}.image-upload__from-map-desc{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem}.hide{display:none}.button-container{margin-top:0.5rem;display:flex;width:100%;flex-direction:row;justify-content:space-between;padding-top:1.25rem}.error{background-color:#FFF1EF;border-color:var(--calcite-color-status-danger)}',z=A,L=function(e,t,a,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,a,i);else for(var h=e.length-1;h>=0;h--)(l=e[h])&&(s=(n<3?l(s):n>3?l(t,a,s):l(t,a))||s);return n>3&&s&&Object.defineProperty(t,a,s),s},o;(function(e){e.FILE="file",e.EDIT="edit"})(o||(o={}));var U=class{get _messageOverrides(){return{close:this.intl.t("close")}}async componentWillLoad(){this.intl=await u.loadIntlForComponent(this.el)}constructor(e){S(this,e),this.arcgisImageUploadCancel=d(this,"arcgisImageUploadCancel",7),this.arcgisImageUploadError=d(this,"arcgisImageUploadError",7),this.arcgisImageUploadSave=d(this,"arcgisImageUploadSave",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.imageFormat="png",this.fileName="",this.triggerErrorState=()=>{this.hasError=!0,setTimeout(()=>{this.resetErrorState()},3e3)},this.resetErrorState=()=>{this.hasError=!1},this.handleCancel=()=>{this.arcgisImageUploadCancel.emit()},this.handleChooseDiffClick=()=>{this.activeStep=o.FILE,this.previewSrc="",this.editExisting=!1,this.arcgisImageUploadSave.emit({source:c.UPLOAD,blob:void 0,base64:void 0,fileName:void 0,format:void 0,url:void 0}),this.hubTelemetry.emit(m.dictionary.category.interaction.action.add.label.image)},this.handleSaveClick=async()=>{if(this.activeStep===o.FILE)return;this.saving=!0;let t=await this.getCanvasImage();this.arcgisImageUploadSave.emit(t),this.hubTelemetry.emit(m.dictionary.category.interaction.action.add.label.image),this.inline&&this.resetState()},this.modalTitle=void 0,this.sizeDescription=void 0,this.zoomToFit=!0,this.maxWidth=300,this.maxHeight=300,this.fillBackground=!1,this.active=void 0,this.height=window.innerWidth<412?200:300,this.aspectRatio=1,this.inline=!1,this.previewSrc=void 0,this.saving=!1,this.editExisting=!1,this.isModified=!1,this.activeStep=o.FILE,this.hasError=!1,y(this,"handleCancel","handleChooseDiffClick","handleSaveClick","getEditStepRef","getCanvasRef")}handleFileChange(e){let{fileName:t,dataURL:a}=e.detail;this.fileName=t,this.previewSrc=a,this.activeStep=o.EDIT,this.resetErrorState()}handleInvalidFile(){this.arcgisImageUploadError.emit("invalid file type."),this.triggerErrorState()}async handleImageChange(){if(this.isModified=!0,this.activeStep===o.FILE)return;let e=await this.getCanvasImage();this.arcgisImageUploadSave.emit(e),this.hubTelemetry.emit(m.dictionary.category.interaction.action.add.label.image)}handleActiveChange(){this.active||this.resetState()}resetState(){this.activeStep=o.FILE,this.saving=!1,this.isModified=!1,this.previewSrc="",this.editExisting=!1,this.resetErrorState()}dataURIToBlob(e){let t=atob(e.split(",")[1]),a=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),n=new Uint8Array(i);for(let l=0;l<t.length;l++)n[l]=t.charCodeAt(l);return new Blob([i],{type:a})}drawImage({selectionX:e,selectionY:t,selectionWidth:a,selectionHeight:i,canvasWidth:n,canvasHeight:s,minWidth:l,minHeight:h,drawDimensions:g},E,R,f){this.canvasEl.width=n<l?l:n*E,this.canvasEl.height=s<h?h:s*E,this.maxWidth&&this.canvasEl.width>this.maxWidth&&(this.canvasEl.width=this.maxWidth),this.maxHeight&&this.canvasEl.height>this.maxHeight&&(this.canvasEl.height=this.maxHeight);let D=g.left*this.canvasEl.width,F=g.top*this.canvasEl.height,T=g.width*this.canvasEl.width,O=g.height*this.canvasEl.height;this.fillBackground&&(f.fillStyle="#efefef",f.fillRect(0,0,this.canvasEl.width,this.canvasEl.height)),f.drawImage(R,e,t,a,i,D,F,T,O);let w=this.canvasEl.toDataURL("image/png"),k=this.dataURIToBlob(w);return{base64:w,blob:k}}async getScaledImageData(e){let t=this.canvasEl.getContext("2d"),a=await this.editStepEl.getDrawParameters(),i;function n(){return t.clearRect(0,0,this.canvasEl.width,this.canvasEl.height),this.drawImage(a,1600/e.width,e,t)}try{i=this.drawImage(a,1,e,t),(i.blob.size>1e7||i.blob.size===0)&&(i=n())}catch(s){s.name!=="NS_ERROR_FAILURE"?this.arcgisImageUploadError.emit("unable to save the image provided."):i=n()}return{source:c.UPLOAD,blob:i?.blob,base64:i?.base64,format:this.imageFormat,fileName:this.fileName,url:void 0}}getCanvasImage(){return new Promise(e=>{let t=new Image;this.previewSrc.indexOf("arcgis.com")>-1&&(t.crossOrigin="Anonymous"),t.onload=()=>{if(Math.abs(this.aspectRatio-t.width/t.height)<.01&&!this.isModified){e({source:c.UPLOAD,blob:this.dataURIToBlob(this.previewSrc),base64:this.previewSrc,format:this.imageFormat,fileName:this.fileName,url:void 0});return}e(this.getScaledImageData(t))},t.src=this.previewSrc})}getEditStepRef(e){this.editStepEl=e}getCanvasRef(e){this.canvasEl=e}renderInlineEditStateButtons(){if(this.activeStep===o.EDIT)return r("div",{class:"button-container"},r("calcite-button",{appearance:"transparent",disabled:this.saving,"icon-start":"chevron-left",onClick:this.handleChooseDiffClick,slot:"back",width:this.inline?"auto":"full"},this.intl.t("chooseDiff")))}renderModalButtons(){return r(p,null,this.activeStep===o.EDIT&&r("calcite-button",{appearance:"transparent",disabled:this.saving,"icon-start":"chevron-left",onClick:this.handleChooseDiffClick,slot:"footer-start"},this.intl.t("chooseDiff")),r("calcite-button",{appearance:"outline",class:{hide:this.inline},disabled:this.saving,onClick:this.handleCancel,slot:"footer-end"},this.intl.t("cancel")),r("calcite-button",{appearance:"solid",class:{hide:this.inline},disabled:this.saving,loading:this.saving,onClick:this.handleSaveClick,slot:"footer-end"},this.intl.t("done")))}renderContent(){return r(p,null,this.modalTitle&&this.inline&&r("h3",{"aria-label":this.modalTitle,class:"image-upload__title",id:"image-upload-modal-title",slot:"header"},this.modalTitle),this.inline&&this.renderInlineEditStateButtons(),r("div",{class:{"image-upload__content":!0,error:this.hasError}},this.activeStep===o.FILE&&r("div",null,r("arcgis-hub-image-upload-file-step",{sizeDescription:this.sizeDescription})),this.activeStep===o.EDIT&&r("arcgis-hub-image-upload-edit-step",{aspectRatio:this.aspectRatio,height:this.height,previewSrc:this.previewSrc,ref:this.getEditStepRef,zoomToFit:this.zoomToFit}),this.activeStep===o.EDIT&&r("canvas",{class:"image-upload__canvas",ref:this.getCanvasRef})),!this.inline&&this.renderModalButtons())}render(){return r(b,{key:"63a8c7c45304971f88f9eedb047b953880f583c2","data-element":"image-upload"},this.inline?r(p,null,this.renderContent()):r("calcite-dialog",{"aria-labelledby":"image-upload-modal-title","aria-modal":"true",heading:this.modalTitle,messageOverrides:this._messageOverrides,modal:!0,onCalciteDialogClose:this.handleCancel,open:this.active,outsideCloseDisabled:!0,role:"dialog",width:"m"},this.renderContent()))}static get assetsDirs(){return["locales"]}get el(){return I(this)}static get watchers(){return{active:["handleActiveChange"]}}};L([v({timeout:1e3})],U.prototype,"handleImageChange",null);U.style=z;var V=":host{display:block}img{margin-top:1rem}",B=V,H=function(e,t,a,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,a,i);else for(var h=e.length-1;h>=0;h--)(l=e[h])&&(s=(n<3?l(s):n>3?l(t,a,s):l(t,a))||s);return n>3&&s&&Object.defineProperty(t,a,s),s},x=class{constructor(e){S(this,e),this.arcgisImageUrlSave=d(this,"arcgisImageUrlSave",7),this.handleCalciteInputInputOrChange=t=>{this.imgSrc=t.target.value},this.imgSrc="",this.imgHeight=300,this.imgWidth=400,this.isValid=!1,this.isValidated=!1,this.isValidating=!1}async componentWillLoad(){this.intl=await u.loadIntlForComponent(this.element),this.validate(this.imgSrc)}handleImgSrcUpdated(e,t){this._handleImgSrcUpdated(e,t)}_handleImgSrcUpdated(e,t){this.isValidated=e===t,this.validate(e)}async validate(e){if(this.imgSrc){this.isValidating=!0;try{let t=C(e);this.isValid=await this.verifyImageExists(t),this.arcgisImageUrlSave.emit({source:c.URL,blob:void 0,base64:void 0,format:void 0,fileName:void 0,url:t})}finally{this.isValidating=!1,this.isValidated=!0}}}async verifyImageExists(e){return new Promise(t=>{if(_(e)){let a=new Image;a.src=e,a.onload=()=>t(!0),a.onerror=()=>t(!1)}else t(!1)})}get isInvalidUrl(){return!!this.imgSrc&&this.isValidated&&!this.isValid}get isValidUrl(){return!!this.imgSrc&&this.isValidated&&this.isValid}render(){return r(b,{key:"c3be26e2f8aa5d1c7e557212047f90fb18930f8f"},r("calcite-label",{key:"8c5dec798154076d785b87c5dc8f178f8261bff6"},this.intl.t("label"),r("calcite-input",{key:"003e4ff1ae3f06b21ea05e6a60adb771199af10e",onCalciteInputChange:this.handleCalciteInputInputOrChange,onCalciteInputInput:this.handleCalciteInputInputOrChange,status:this.isInvalidUrl?"invalid":"valid",type:"url",value:this.imgSrc}),this.isInvalidUrl&&r("calcite-input-message",{icon:"x-octagon",status:"invalid"},this.intl.t("error"))),this.isValidUrl&&r("img",{alt:this.intl.t("altText"),height:this.imgHeight,src:this.imgSrc,width:this.imgWidth}))}static get assetsDirs(){return["locales"]}get element(){return I(this)}static get watchers(){return{imgSrc:["handleImgSrcUpdated"]}}};H([v({timeout:250})],x.prototype,"_handleImgSrcUpdated",null);x.style=B;return{arcgis_hub_image_upload:U,arcgis_hub_image_url:x}},"config")
|
package/dist/cdn/KH3PUYJX.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
function t(e){return e.target.assignedElements({flatten:!0})}var n=(e="")=>e.replace(/\n/g,"<br>");export{t as a,n as b};
|
package/dist/cdn/KIJX6X3I.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.31/esri/copyright.txt for details.
|
|
3
|
-
v0.31.0 */
|
|
4
|
-
import{c as ut,e as lt}from"./5XTVRXEK.js";var pt={};lt(pt,{__addDisposableResource:()=>Ge,__assign:()=>O,__asyncDelegator:()=>ve,__asyncGenerator:()=>$e,__asyncValues:()=>je,__await:()=>N,__awaiter:()=>_e,__classPrivateFieldGet:()=>Ce,__classPrivateFieldIn:()=>Ne,__classPrivateFieldSet:()=>De,__createBinding:()=>Y,__decorate:()=>de,__disposeResources:()=>Me,__esDecorate:()=>xe,__exportStar:()=>Ie,__extends:()=>pe,__generator:()=>Te,__importDefault:()=>Ae,__importStar:()=>Pe,__makeTemplateObject:()=>Ue,__metadata:()=>Ee,__param:()=>ge,__propKey:()=>we,__read:()=>oe,__rest:()=>B,__rewriteRelativeImportExtension:()=>Fe,__runInitializers:()=>be,__setFunctionName:()=>ye,__spread:()=>ke,__spreadArray:()=>Se,__spreadArrays:()=>Re,__values:()=>V,default:()=>ft});function pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");re(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function B(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function de(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,r,o):s(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function ge(e,t){return function(r,n){t(r,n,e)}}function xe(e,t,r,n,i,o){function s(x){if(x!==void 0&&typeof x!="function")throw new TypeError("Function expected");return x}for(var a=n.kind,m=a==="getter"?"get":a==="setter"?"set":"value",l=!t&&e?n.static?e:e.prototype:null,p=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),g,y=!1,d=r.length-1;d>=0;d--){var u={};for(var f in n)u[f]=f==="access"?{}:n[f];for(var f in n.access)u.access[f]=n.access[f];u.addInitializer=function(x){if(y)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(x||null))};var b=(0,r[d])(a==="accessor"?{get:p.get,set:p.set}:p[m],u);if(a==="accessor"){if(b===void 0)continue;if(b===null||typeof b!="object")throw new TypeError("Object expected");(g=s(b.get))&&(p.get=g),(g=s(b.set))&&(p.set=g),(g=s(b.init))&&i.unshift(g)}else(g=s(b))&&(a==="field"?i.unshift(g):p[m]=g)}l&&Object.defineProperty(l,n.name,p),y=!0}function be(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function we(e){return typeof e=="symbol"?e:"".concat(e)}function ye(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function Ee(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function _e(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(p){try{l(n.next(p))}catch(g){s(g)}}function m(p){try{l(n.throw(p))}catch(g){s(g)}}function l(p){p.done?o(p.value):i(p.value).then(a,m)}l((n=n.apply(e,t||[])).next())})}function Te(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(p){return m([l,p])}}function m(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(p){l=[6,p],i=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ie(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Y(t,e,r)}function V(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function ke(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(oe(arguments[t]));return e}function Re(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)n[i]=o[s];return n}function Se(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function N(e){return this instanceof N?(this.v=e,this):new N(e)}function $e(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(d){return function(u){return Promise.resolve(u).then(d,g)}}function a(d,u){n[d]&&(i[d]=function(f){return new Promise(function(b,x){o.push([d,f,b,x])>1||m(d,f)})},u&&(i[d]=u(i[d])))}function m(d,u){try{l(n[d](u))}catch(f){y(o[0][3],f)}}function l(d){d.value instanceof N?Promise.resolve(d.value.v).then(p,g):y(o[0][2],d)}function p(d){m("next",d)}function g(d){m("throw",d)}function y(d,u){d(u),o.shift(),o.length&&m(o[0][0],o[0][1])}}function ve(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,o){t[i]=e[i]?function(s){return(r=!r)?{value:N(e[i](s)),done:!1}:o?o(s):s}:o}}function je(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof V=="function"?V(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=e[o]&&function(s){return new Promise(function(a,m){s=e[o](s),i(a,m,s.done,s.value)})}}function i(o,s,a,m){Promise.resolve(m).then(function(l){o({value:l,done:a})},s)}}function Ue(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Pe(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ne(e),n=0;n<r.length;n++)r[n]!=="default"&&Y(t,e,r[n]);return mt(t,e),t}function Ae(e){return e&&e.__esModule?e:{default:e}}function Ce(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function De(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function Ne(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function Ge(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(o){return Promise.reject(o)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}function Me(e){function t(o){e.error=e.hasError?new ht(o,e.error,"An error was suppressed during disposal."):o,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(s){return t(s),i()})}else n|=1}catch(s){t(s)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function Fe(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,o,s){return n?t?".jsx":".js":i&&(!o||!s)?r:i+o+"."+s.toLowerCase()+"js"}):e}var re,O,Y,mt,ne,ht,ft,Le=ut(()=>{re=function(e,t){return re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},re(e,t)};O=function(){return O=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},O.apply(this,arguments)};Y=Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]});mt=Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t},ne=function(e){return ne=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},ne(e)};ht=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};ft={__extends:pe,__assign:O,__rest:B,__decorate:de,__param:ge,__esDecorate:xe,__runInitializers:be,__propKey:we,__setFunctionName:ye,__metadata:Ee,__awaiter:_e,__generator:Te,__createBinding:Y,__exportStar:Ie,__values:V,__read:oe,__spread:ke,__spreadArrays:Re,__spreadArray:Se,__await:N,__asyncGenerator:$e,__asyncDelegator:ve,__asyncValues:je,__makeTemplateObject:Ue,__importStar:Pe,__importDefault:Ae,__classPrivateFieldGet:Ce,__classPrivateFieldSet:De,__classPrivateFieldIn:Ne,__addDisposableResource:Ge,__disposeResources:Me,__rewriteRelativeImportExtension:Fe}});Le();function Q(e){return Object.keys(e).some(t=>{let r=e[t];if(!r)return!1;switch(r&&r.toParam&&(r=r.toParam()),r.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function X(e){let t={};return Object.keys(e).forEach(r=>{var n,i;let o=e[r];if(o&&o.toParam&&(o=o.toParam()),!o&&o!==0&&typeof o!="boolean"&&typeof o!="string")return;let s=o.constructor.name,a;switch(s){case"Array":let m=(i=(n=o[0])===null||n===void 0?void 0:n.constructor)===null||i===void 0?void 0:i.name;a=m==="Array"?o:m==="Object"?JSON.stringify(o):o.join(",");break;case"Object":a=JSON.stringify(o);break;case"Date":a=o.valueOf();break;case"Function":a=null;break;case"Boolean":a=o+"";break;default:a=o;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(t[r]=a)}),t}function ze(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(r=>ze(e,r)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function j(e){let t=X(e);return Object.keys(t).map(r=>ze(r,t[r])).join("&")}var Je=globalThis.FormData,Ct=globalThis.File,Dt=globalThis.Blob;function We(e,t){let r=Q(e)||t,n=X(e);if(r){let i=new Je;return Object.keys(n).forEach(o=>{if(typeof Blob<"u"&&n[o]instanceof Blob){let s=n.fileName||n[o].name||o;i.append(o,n[o],s)}else i.append(o,n[o])}),i}else return j(e)}var S=class extends Error{constructor(t,r,n,i,o){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),t=t||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?t:`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=o}};var dt={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},ie="ARCGIS_REST_JS_NO_CORS";globalThis[ie]||(globalThis[ie]=Object.assign({},dt));var _=globalThis[ie];function He(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let r=t.origin;return _.pendingNoCorsRequests[r]?_.pendingNoCorsRequests[r]:(_.pendingNoCorsRequests[r]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{_.noCorsDomains.indexOf(r)===-1&&_.noCorsDomains.push(r),_.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete _.pendingNoCorsRequests[r]}).catch(n=>(delete _.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`)))),_.pendingNoCorsRequests[r])}function Ke(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?se(t):(se("http://"+t),se("https://"+t))})}function se(e){let r=new URL(e).origin;_.noCorsDomains.indexOf(r)===-1&&_.noCorsDomains.push(r)}function ae(e){let t=!1;if(_.noCorsDomains.length){let r=new URL(e).origin.toLowerCase();t=_.noCorsDomains.some(n=>r.includes(n))}return t}function Oe(e){let t=!1;if(ae(e)){let r=new URL(e).origin.toLowerCase(),n=_.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(t=!0)}return t}function $(e){console&&console.warn&&console.warn.apply(console,[e])}function Ve(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function Be(e,t){var r;if(!t&&!window||!e)return!1;{t=t||window;let n=(r=t.location)===null||r===void 0?void 0:r.origin;return e.startsWith(n)}}var ce="@esri/arcgis-rest-js";function gt(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends S{constructor(t="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,i,o){super(t,r,n,i,o),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?t:`${r}: ${t}`;let s=new.target.prototype;Object.setPrototypeOf(this,s)}retry(t,r=1){let n=0,i=(o,s)=>{n=n+1,t(this.url,this.options).then(a=>{let m=Object.assign(Object.assign({},this.options),{authentication:a});return Ye(this.url,m)}).then(a=>{o(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<r?i(o,s):a.name===this.name&&a.message===this.message&&n>=r?s(this):s(a)})};return new Promise((o,s)=>{i(o,s)})}};function xt(e,t,r,n,i){if(e.code>=400){let{message:o,code:s}=e;throw new S(o,s,e,t,n)}if(e.error){let{message:o,code:s,messageCode:a}=e.error,m=a||s||"UNKNOWN_ERROR_CODE";throw s===498||s===499?i||new A(o,m,e,t,n):new S(o,m,e,t,n)}if(e.status==="failed"||e.status==="failure"){let o,s="UNKNOWN_ERROR_CODE";try{o=JSON.parse(e.statusMessage).message,s=JSON.parse(e.statusMessage).code}catch{o=e.statusMessage||e.message}throw new S(o,s,e,t,n)}return e}function Ye(e,t){let r=gt(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),t),{params:Object.assign(Object.assign({},r.params),t.params),headers:Object.assign(Object.assign({},r.headers),t.headers)}),{httpMethod:i,rawResponse:o}=n,s=Object.assign({f:"json"},n.params),a=null,m={method:i,signal:n.signal,credentials:n.credentials||"same-origin"};ae(e)&&(m.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(m.credentials="include");let l;if(typeof n.authentication=="string"){let u=n.authentication;l={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(u)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&($("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else l=n.authentication;let p=e,g=!1;typeof window<"u"&&(g=Be(e));let y=!g&&Oe(e);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(m.credentials="include");let d=Promise.resolve();return y&&(m.credentials="include",d=He(e)),d.then(()=>l?l.getToken(e).catch(u=>(u.url=e,u.options=n,a=u,Promise.resolve(""))):Promise.resolve("")).then(u=>{u.length&&(s.token=u),l&&l.getDomainCredentials&&(m.credentials=l.getDomainCredentials(e));let f={};if(m.method==="GET"){s.token&&n.hideToken&&typeof window>"u"&&(f["X-Esri-Authorization"]=`Bearer ${s.token}`,delete s.token);let R=j(s)===""?e:e+"?"+j(s);n.maxUrlLength&&R.length>n.maxUrlLength||!n.maxUrlLength&&R.length>2e3||s.token&&n.hideToken?(m.method="POST",u.length&&n.hideToken&&(s.token=u,delete f["X-Esri-Authorization"])):e=R}let b=new RegExp("/items/.+/updateResources").test(e);return m.method==="POST"&&(m.body=We(s,b)),m.headers=Object.assign(Object.assign({},f),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!m.headers.referer&&(m.headers.referer=ce),!Q(s)&&!b&&(m.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,m):Ve().then(({fetch:x})=>x(e,m))}).then(u=>{if(!u.ok)return u.json().then(f=>{let{status:b,statusText:x}=u,{message:R,details:D}=f.error,P=`${R}. ${D?D.join(" "):""}`.trim();throw new S(P,`HTTP ${b} ${x}`,f,e,n)}).catch(f=>{if(f.name==="ArcGISRequestError")throw f;let{status:b,statusText:x}=u;throw new S(x,`HTTP ${b}`,u,e,n)});if(o)return u;switch(s.f){case"json":return u.json();case"geojson":return u.json();case"html":return u.text();case"text":return u.text();default:return u.blob()}}).then(u=>{if((s.f==="json"||s.f==="geojson")&&!o){let f=xt(u,p,s,n,a);if(u&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(u.authorizedCrossOriginNoCorsDomains)&&Ke(u.authorizedCrossOriginNoCorsDomains),a){let b=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[b]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return f}else return u})}function c(e,t={params:{f:"json"}}){let{request:r}=t,n=B(t,["request"]);return r?r(e,n):Ye(e,n).catch(i=>i instanceof A&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function U(e,t,r){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],i=Object.assign(Object.assign({params:{}},r),e);return i.params=t.reduce((o,s)=>((e[s]||typeof e[s]=="boolean"||typeof e[s]=="number"&&e[s]===0)&&(o[s]=e[s]),o),i.params),n.reduce((o,s)=>(i[s]&&(o[s]=i[s]),o),{})}var T;(function(e){e.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",e.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",e.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",e.NOT_FEDERATED="NOT_FEDERATED",e.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(T||(T={}));var I=class extends Error{constructor(t="UNKNOWN_ERROR",r=T.UNKNOWN_ERROR_CODE,n,i,o){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),this.name="ArcGISTokenRequestError",this.message=`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=o}};var z=class extends Error{constructor(){super("The user has denied your authorization request.");let r=new.target.prototype;Object.setPrototypeOf(this,r),this.name="ArcGISAccessDeniedError"}};function w(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function bt(e){let[t,r]=e.split("=");return{key:decodeURIComponent(t),value:decodeURIComponent(r)}}function Qe(e){return!e||e.length<=0?{}:e.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((t,r)=>{let{key:n,value:i}=bt(r);return t[n]=i,t},{})}var Xe;(function(e){e.ArcGISRequestError="ArcGISRequestError",e.ArcGISAuthError="ArcGISAuthError",e.ArcGISAccessDeniedError="ArcGISAccessDeniedError",e.ArcGISTokenRequestError="ArcGISTokenRequestError"})(Xe||(Xe={}));var Ze=300*1e3;function G(e,t){let r=t;return r.rawResponse=!1,c(e,r).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:t.params.username,expires:new Date(n.expires)};let i={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-Ze),ssl:n.ssl===!0};return n.refresh_token&&(i.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(i.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-Ze)),i})}var M=class{constructor(t){this.portal=t.portal?w(t.portal):"https://www.arcgis.com/sharing/rest",this._username=t.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(t=>t.username)}getUser(t){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let r=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(r,n).then(i=>(this._user=i,this._pendingUserRequest=null,i)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var Z=/^https?:\/\/(\S+)\.arcgis\.com.+/;function qe(e){return Z.test(e)}function wt(e){if(!Z.test(e))return e;switch(ue(e)){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 ue(e){if(!Z.test(e))return null;let r=e.match(Z)[1].split(".").pop();return r.includes("dev")?"dev":r.includes("qa")?"qa":"production"}function et(e,t){let r=w(wt(t)).replace(/https?:\/\//,""),n=w(e).replace(/https?:\/\//,"");return new RegExp(n,"i").test(r)}function tt(e,t){let r=qe(e),n=qe(t),i=ue(e),o=ue(t);return!!(r&&n&&i===o)}function rt(e,t,r="https://www.arcgis.com/sharing/rest"){let n=`${r}/oauth2/validateAppAccess`;return c(n,{method:"POST",params:{f:"json",client_id:t,token:e}})}function nt(e){let t=`${w(e.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,r=e.token,n=e.clientId;delete e.portal,delete e.clientId,delete e.token;let i=Object.assign(Object.assign({},e),{httpMethod:"POST",params:{client_id:n,auth_token:r}});return c(t,i).then(o=>{if(!o.success)throw new S("Unable to revoke token",500,o,t,i);return o})}function q(e,t=window){return!t&&window&&(t=window),t.btoa(String.fromCharCode.apply(null,e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function ot(e,t=window){if(!t&&window&&(t=window),e&&t.isSecureContext&&t.crypto&&t.crypto.subtle){let n=new t.TextEncoder().encode(e);return t.crypto.subtle.digest("SHA-256",n).then(i=>q(new Uint8Array(i),t))}return Promise.resolve(null)}function ee(e){!e&&window&&(e=window);let t=e.crypto.getRandomValues(new Uint8Array(32));return q(t)}function it(e,t){return typeof e=="string"?e:typeof e=="object"?e.id:ee(t)}function st(e,t,r){return JSON.stringify(typeof t=="string"||!t?{id:e,originalUrl:r}:Object.assign({id:e},t))}function yt(e){return typeof e.userId=="string"||typeof e.expires=="number"}var v=class e extends M{constructor(t){if(super(t),this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?w(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.server=t.server,this.referer=t.referer,this.state=t.state,this.federatedServers={},this.trustedDomains=[],t.server){let r=this.getServerRootUrl(t.server);this.federatedServers[r]={token:t.token,expires:t.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(t,r){!r&&window&&(r=window);let{portal:n,provider:i,clientId:o,expiration:s,redirectUri:a,popup:m,popupWindowFeatures:l,locale:p,params:g,style:y,pkce:d,state:u}=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},t),f=it(u,r),b=`ARCGIS_REST_JS_AUTH_STATE_${o}`;r.localStorage.setItem(b,f);let x=`${w(n)}/oauth2/authorize`,R={client_id:o,response_type:d?"code":"token",expiration:s,redirect_uri:a,state:st(f,u,r.location.href),locale:p,style:y};i!=="arcgis"&&(x=`${w(n)}/oauth2/social/authorize`,R.socialLoginProviderName=i,R.autoAccountCreateForSocial=!0);let D;if(d){let P=ee(r),K=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`;r.localStorage.setItem(K,P),D=ot(P,r).then(function(E){R.code_challenge_method=E?"S256":"plain",R.code_challenge=E||P})}else D=Promise.resolve();return D.then(()=>{if(x=`${x}?${j(R)}`,g&&(x=`${x}&${j(g)}`),m)return new Promise((P,K)=>{r.addEventListener(`arcgis-rest-js-popup-auth-${o}`,E=>{if(E.detail.error==="access_denied"){let L=new z;return K(L),L}if(E.detail.errorMessage){let L=new A(E.detail.errorMessage,E.detail.error);return K(L),L}P(new e({clientId:o,portal:n,ssl:E.detail.ssl,token:E.detail.token,tokenExpires:E.detail.expires,username:E.detail.username,refreshToken:E.detail.refreshToken,refreshTokenExpires:E.detail.refreshTokenExpires,redirectUri:a,state:E.detail.state}))},{once:!0}),r.open(x,"oauth-window",l),r.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});r.location.href=x})}static completeOAuth2(t,r){!r&&window&&(r=window);let{portal:n,clientId:i,popup:o,pkce:s,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},t),m=`ARCGIS_REST_JS_AUTH_STATE_${i}`,l=r.localStorage.getItem(m),p=Qe(s?r.location.search.replace(/^\?/,""):r.location.hash.replace(/^#/,"")),g=p&&p.state?JSON.parse(p.state):void 0;function y(u,f,b){if(r.localStorage.removeItem(m),o&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${i}`,{detail:{error:f,errorMessage:u}})),r.close();return}return b&&r.history.replaceState(r.history.state,"",b),f==="access_denied"?Promise.reject(new z):Promise.reject(new A(u,f))}function d(u,f){if(r.localStorage.removeItem(m),o&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${i}`,{detail:Object.assign(Object.assign({},u),{state:f})})),r.close();return}return f.originalUrl&&r.history.replaceState(r.history.state,"",f.originalUrl),new e({clientId:i,portal:n,ssl:u.ssl,token:u.token,tokenExpires:u.expires,username:u.username,refreshToken:u.refreshToken,refreshTokenExpires:u.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,""),state:f})}if(!l||!g)return y("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(g.id!==l)return y("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let u=p.error,f=p.error_description||"Unknown error";return y(f,u,g.originalUrl)}if(s&&p.code){let u=w(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${i}`,b=r.localStorage.getItem(f);return r.localStorage.removeItem(f),G(u,{httpMethod:"POST",params:{client_id:i,code_verifier:b,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:p.code}}).then(x=>d(Object.assign(Object.assign({},x),g),g)).catch(x=>y(x.originalMessage,x.code,g.originalUrl))}return!s&&p.access_token?Promise.resolve(d(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},g),g)):y("Unknown error","oauth-error",g.originalUrl)}static fromParent(t,r){!r&&window&&(r=window);let n;return new Promise((i,o)=>{n=s=>{if(s.source===r.parent&&s.data)try{return i(e.parentMessageHandler(s))}catch(a){return o(a)}},r.addEventListener("message",n,!1),r.parent.postMessage({type:"arcgis:auth:requestCredential"},t)}).then(i=>(r.removeEventListener("message",n,!1),i))}static authorize(t,r){let{portal:n,clientId:i,expiration:o,redirectUri:s,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},t),m={client_id:i,expiration:o,response_type:"code",redirect_uri:s};a&&(m.state=a);let l=`${n}/oauth2/authorize?${j(m)}`;r.writeHead(301,{Location:l}),r.end()}static exchangeAuthorizationCode(t,r){let{portal:n,clientId:i,redirectUri:o}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},t);return G(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:i,redirect_uri:o,code:r}}).then(s=>new e({clientId:i,portal:n,ssl:s.ssl,redirectUri:o,refreshToken:s.refreshToken,refreshTokenExpires:s.refreshTokenExpires,token:s.token,tokenExpires:s.expires,username:s.username})).catch(s=>{throw new I(s.message,T.REFRESH_TOKEN_EXCHANGE_FAILED,s.response,s.url,s.options)})}static deserialize(t){let r=JSON.parse(t);return new e({clientId:r.clientId,refreshToken:r.refreshToken,refreshTokenExpires:r.refreshTokenExpires?new Date(r.refreshTokenExpires):void 0,username:r.username,password:r.password,token:r.token,tokenExpires:r.tokenExpires?new Date(r.tokenExpires):void 0,portal:r.portal,ssl:r.ssl,tokenDuration:r.tokenDuration,redirectUri:r.redirectUri,server:r.server})}static fromCredential(t,r){let n=typeof t.ssl<"u"?t.ssl:!0,i=t.expires||Date.now()+72e5;return r.hasServer?new e({server:t.server,ssl:n,token:t.token,username:t.userId,tokenExpires:new Date(i)}):new e({portal:w(t.server.includes("sharing/rest")?t.server:t.server+"/sharing/rest"),ssl:n,token:t.token,username:t.userId,tokenExpires:new Date(i)})}static parentMessageHandler(t){if(t.data.type==="arcgis:auth:credential"){let r=t.data.credential;return yt(r)?e.fromCredential(r,{hasPortal:!0,hasServer:!1,server:r.server}):new e(r)}if(t.data.type==="arcgis:auth:error"){let r=new Error(t.data.error.message);throw r.name=t.data.error.name,r}else throw new Error("Unknown message type.")}static destroy(t){return nt({clientId:t.clientId,portal:t.portal,token:t.refreshToken||t.token})}static fromToken(t){let r=new e(t);return r.getUser().then(()=>r)}static signIn(t){let r=new e(t);return r.getUser().then(()=>r)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(t){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let r=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(r,n).then(i=>(this._portalInfo=i,this._pendingPortalRequest=null,i)),this._pendingPortalRequest}}getToken(t,r){return tt(this.portal,t)?this.getFreshToken(r):new RegExp(this.portal,"i").test(t)?this.getFreshToken(r):this.getTokenForServer(t,r)}validateAppAccess(t){return this.getToken(this.portal).then(r=>rt(r,t))}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(t,r){!r&&window&&(r=window),this._hostHandler=this.createPostMessageHandler(t),r.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(t){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new I("Unable to refresh token. No refresh token or password present.",T.TOKEN_REFRESH_FAILED))}getServerRootUrl(t){let[r]=w(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,i,o]=r.match(/(https?:\/\/)(.+)/),[s,...a]=o.split("/");return`${i}${s.toLowerCase()}/${a.join("/")}`}getDomainCredentials(t){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(t=t.toLowerCase(),this.trustedDomains.some(r=>t.startsWith(r.toLowerCase()))?"include":"same-origin")}signOut(){return e.destroy(this)}createPostMessageHandler(t){return r=>{let n=t.indexOf(r.origin)>-1,i=r.data.type==="arcgis:auth:requestCredential",o=this.tokenExpires.getTime()>Date.now();if(n&&i){let s={};if(o){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),s={type:"arcgis:auth:credential",credential:a}}else s={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};r.source.postMessage(s,r.origin)}}}getTokenForServer(t,r){let n=this.getServerRootUrl(t),i=this.federatedServers[n];return i&&i.expires&&i.expires.getTime()>Date.now()?Promise.resolve(i.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>c(`${n}/rest/info`,{credentials:this.getDomainCredentials(t)}).then(o=>{if(o.owningSystemUrl){if(et(o.owningSystemUrl,this.portal))return c(`${o.owningSystemUrl}/sharing/rest/info`,r);throw new I(`${t} is not federated with ${this.portal}.`,T.NOT_FEDERATED)}else{if(o.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:o.authInfo});throw new I(`${t} is not federated with any portal and is not explicitly trusted.`,T.NOT_FEDERATED)}}).then(o=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(o.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(o.authInfo.tokenServicesUrl,n)).then(o=>(this.federatedServers[n]=o,delete this._pendingTokenRequests[n],o.token))),this._pendingTokenRequests[n])}generateTokenForServer(t,r){return c(t,{params:{token:this.token,serverUrl:r,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new I(n.message,T.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(t){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(t).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(t){let r={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:ce};return(this.server?c(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>c(n.authInfo.tokenServicesUrl,Object.assign({params:r},t))):c(`${this.portal}/generateToken`,Object.assign({params:r},t))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new I(n.message,T.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(t){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(t);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return G(`${this.portal}/oauth2/token`,n).then(i=>this.updateToken(i.token,i.expires)).catch(i=>{throw new I(i.message,T.TOKEN_REFRESH_FAILED,i.response,i.url,i.options)})}updateToken(t,r){return this._token=t,this._tokenExpires=r,this}exchangeRefreshToken(t){let r=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return G(`${this.portal}/oauth2/token`,r).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new I(n.message,T.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(t=>(t.authorizedCrossOriginDomains&&t.authorizedCrossOriginDomains.length&&(this.trustedDomains=t.authorizedCrossOriginDomains.filter(r=>!r.startsWith("http://")).map(r=>r.startsWith("https://")?r:`https://${r}`)),this))}};function C(e){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new v(e)}C.beginOAuth2=function(...e){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),v.beginOAuth2(...e)};C.completeOAuth2=function(...e){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),e.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),v.completeOAuth2(...e)};C.fromParent=function(...e){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),v.fromParent(...e)};C.authorize=function(...e){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),v.authorize(...e)};C.exchangeAuthorizationCode=function(...e){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),v.exchangeAuthorizationCode(...e)};C.fromCredential=function(...e){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),v.fromCredential(...e)};C.deserialize=function(...e){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),v.deserialize(...e)};var le;(function(e){e.Success="Succeeded",e.Failed="Failed",e.Waiting="Waiting",e.Cancelled="Cancelled",e.Cancelling="Cancelling",e.New="New",e.Executing="Executing",e.Submitted="Submitted",e.Failure="Failure",e.TimedOut="TimedOut",e.Error="Error",e.Status="Etatus",e.Unknown="Unknown"})(le||(le={}));function h(e={}){return e.portal?w(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}var Et=/[\x00-\x1F\x7F-\x9F\xA0]/g;function at(e){return e.replace(Et,"")}function k(e){return e.owner?Promise.resolve(e.owner):e.item&&e.item.owner?Promise.resolve(e.item.owner):e.authentication&&e.authentication.getUsername?e.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function me(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function he(e){return e.join(",")}function te(e,t,r){if(!e)return e;let n=null;return typeof e.thumbnail=="string"&&(n=`${t}/content/items/${e.id}/info/${e.thumbnail}`,n&&e.access!=="public"&&r&&(n+=`?${r}`)),Object.assign(Object.assign({},e),n?{thumbnailUrl:n}:{})}function bo(e,t){let r=J(e,t),n=Object.assign({httpMethod:"GET"},t);return c(r,n).then(async i=>{let o=t?.portal||h(t),s;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(s=await t.authentication.getToken(r)),te(i,o,s)})}var J=(e,t)=>`${typeof t=="string"?t:h(t)}/content/items/${e}`;function wo(e,t){let r=`${J(e,t)}/data`,n=Object.assign({httpMethod:"GET",params:{}},t);return n.file&&(n.params.f=null),c(r,n).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function yo(e,t){let r=`${J(e,t)}/resources`,n=Object.assign({},t);return n.params=Object.assign({num:1e3},n.params),c(r,n)}function Eo(e,t){let r=`${J(e,t)}/groups`;return c(r,t)}function _t(e,t){let{fileName:r="iteminfo.xml",readAs:n="text"}=t||{},i=Object.assign({httpMethod:"GET"},t);return Tt(e,`/info/${r}`,n,i)}function _o(e,t){let r=Object.assign(Object.assign({},t),{fileName:"metadata/metadata.xml"});return _t(e,r)}function Tt(e,t,r,n){let i=`${J(e,n)}${t}`,o=Object.assign({params:{}},n),s=o.rawResponse;return o.rawResponse=!0,o.params.f=null,c(i,o).then(a=>s?a:r!=="json"?a[r]():a.text().then(m=>JSON.parse(at(m))))}function It(e){return k(e).then(t=>{let r=e.folderId?`${h(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${h(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&me(e.params.extent)&&(e.params.extent=he(e.params.extent));let n=h(e),i=te(Object.assign(Object.assign({},e.item),{access:e.item.access}),n),o=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof o=="string"&&i.thumbnailUrl.split("?")[0]===o.split("?")[0]&&delete e.params.thumbnailUrl,c(r,e)})}function Po(e){return k(e).then(t=>{let r=`${h(e)}/content/users/${t}/items/${e.id}/addResources`;return e.params=Object.assign({file:e.resource,fileName:e.name,resourcesPrefix:e.prefix,text:e.content,access:e.private?"private":"inherit"},e.params),c(r,e)})}function kt(e,t){let r=`${h(t)}/community/groups/${e}`,n=Object.assign({httpMethod:"GET"},t);return c(r,n)}function ui(e){return k(e).then(t=>{let r=`${h(e)}/content/users/${t}/items/${e.id}/removeResources`;return e.params=Object.assign(Object.assign({},e.params),{resource:e.resource}),typeof e.deleteAll<"u"&&(e.params.deleteAll=e.deleteAll),c(r,e)})}var F=class e{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let r=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?($(`${r} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?($("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?($('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?($('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new e(this.q+"")}addModifier(t){return this.currentModifer?($(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?($(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for($(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&$("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function W(e,t){let r;typeof e=="string"||e instanceof F?r={httpMethod:"GET",params:{q:e}}:r=U(e,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let n;switch(t){case"item":n="/search";break;case"group":n="/community/groups";break;case"groupContent":if(typeof e!="string"&&!(e instanceof F)&&e.groupId)n=`/content/groups/${e.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":n="/community/users";break;default:n="/portals/self/users/search";break}let i=h(r)+n;return c(i,r).then(o=>(o.nextStart&&o.nextStart!==-1&&(o.nextPage=function(){let s;return typeof e=="string"||e instanceof F?s={q:e,start:o.nextStart}:(s=e,s.start=o.nextStart),W(s,t)}),o))}function St(e){return W(e,"item")}function Zi(e){let t=`${h(e)}/community/groups/${e.group.id}/update`;return e.params=Object.assign(Object.assign({},e.params),e.group),c(t,e)}async function H(e){var t;if(e.username)return encodeURIComponent(e.username);if(!((t=e.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(e.authentication.username);if(e.authentication)return e.authentication.getUsername().then(encodeURIComponent)}async function ct(e){let t,r={httpMethod:"GET"};if(typeof e=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${e}`;else{let n=await H(e);t=`${h(e)}/community/users/${n}`,r=Object.assign(Object.assign({},e),r)}return c(t,r)}function ba(e){return jt(null,e)}function jt(e,t){let r=e||"self",n=`${h(t)}/portals/${r}`,i=Object.assign({httpMethod:"GET"},t);return c(n,i)}export{B as a,pt as b,Le as c,c as d,U as e,w as f,h as g,It as h,Po as i,bo as j,wo as k,yo as l,Eo as m,_o as n,kt as o,ui as p,St as q,Zi as r,ct as s,ba as t,jt as u};
|