@esri/solutions-components 1.2.0-next.38 → 1.2.0-next.39
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/{DDWZNUZS.js → 2AJOUQB7.js} +2 -2
- package/dist/cdn/{2FVNCWOA.js → 2ES34Q6J.js} +1 -1
- package/dist/cdn/{TYXANF4L.js → 2GANLR5Q.js} +2 -2
- package/dist/cdn/{JK22HA3B.js → 2GJE2W5K.js} +2 -2
- package/dist/cdn/{BRKXHNDD.js → 2IX3QGSO.js} +2 -2
- package/dist/cdn/{7FKJLGII.js → 2KYRVCYO.js} +1 -1
- package/dist/cdn/{XFASBCXW.js → 2LBWKLHR.js} +2 -2
- package/dist/cdn/{XJKIXAYN.js → 2O6NGBB6.js} +2 -2
- package/dist/cdn/{DN274VMS.js → 2Q4FTEUR.js} +2 -2
- package/dist/cdn/{7WCVPKVP.js → 2VG4KTXI.js} +2 -2
- package/dist/cdn/{SGX3472W.js → 2WXPOV3P.js} +1 -1
- package/dist/cdn/{ATKAVXFK.js → 2YPK4AUS.js} +2 -2
- package/dist/cdn/{ADQP7YJE.js → 352FKSLT.js} +2 -2
- package/dist/cdn/{JAWTCH7J.js → 3CZIT627.js} +2 -2
- package/dist/cdn/{2G2ABE73.js → 3INDJ4AP.js} +2 -2
- package/dist/cdn/{2S4CUMJ6.js → 3ISSDQ4D.js} +2 -2
- package/dist/cdn/{6AL3SUJ7.js → 3PPCI2R3.js} +1 -1
- package/dist/cdn/{CJ2U26E2.js → 3QN5E5ZG.js} +2 -2
- package/dist/cdn/{5CWOJPPE.js → 3ST4PJS2.js} +2 -2
- package/dist/cdn/{YPFWQTGP.js → 3TEA7MX6.js} +1 -1
- package/dist/cdn/{7J273U2Z.js → 3VN4LR27.js} +2 -2
- package/dist/cdn/{G7NP2JQ4.js → 44NBOHM2.js} +2 -2
- package/dist/cdn/{7KDZOGN2.js → 44NXP2VH.js} +2 -2
- package/dist/cdn/{4SUQ4Y5C.js → 45I67QEZ.js} +2 -2
- package/dist/cdn/{TWTE6ANP.js → 4AE4PUDE.js} +2 -2
- package/dist/cdn/4BRGJEKH.js +4 -0
- package/dist/cdn/{5EIIYAAT.js → 4BWFKSLS.js} +2 -2
- package/dist/cdn/{5S76KEEY.js → 4CZMUJAU.js} +2 -2
- package/dist/cdn/{NP6KZHON.js → 4EI3LJ75.js} +1 -1
- package/dist/cdn/{QW6XVBWW.js → 4NGLWLMV.js} +2 -2
- package/dist/cdn/{2NNDBF2P.js → 4SCKR3SG.js} +2 -2
- package/dist/cdn/{JRN4Y3DV.js → 4VFCAKDX.js} +2 -2
- package/dist/cdn/{BNQZVMZV.js → 4WNCYDZV.js} +2 -2
- package/dist/cdn/{B3NUH64R.js → 4XMI442R.js} +2 -2
- package/dist/cdn/54YAKRH3.js +4 -0
- package/dist/cdn/{L476FYEM.js → 574TSGS3.js} +2 -2
- package/dist/cdn/{2V3UNNU7.js → 5G5DFCQ2.js} +2 -2
- package/dist/cdn/{HQRDNTWE.js → 5GRPH64Y.js} +2 -2
- package/dist/cdn/{ELZIA2CM.js → 5NYJD7TZ.js} +2 -2
- package/dist/cdn/{SUEANLGQ.js → 5OH2OKSA.js} +2 -2
- package/dist/cdn/{O6I27TPU.js → 5RQ465F3.js} +2 -2
- package/dist/cdn/{4E2MMS3U.js → 5VVNZED5.js} +2 -2
- package/dist/cdn/{SFOL7GYB.js → 5XOOAIG3.js} +2 -2
- package/dist/cdn/{OSMJZYZ7.js → 5XZXS7KC.js} +1 -1
- package/dist/cdn/{LY5OQBIC.js → 5Z5TBRGZ.js} +2 -2
- package/dist/cdn/{W2ZX24VQ.js → 5ZNDWVZH.js} +2 -2
- package/dist/cdn/{PMHRJNJ4.js → 64OWILE3.js} +2 -2
- package/dist/cdn/{T72P36C5.js → 67DXBPNN.js} +1 -1
- package/dist/cdn/{D3IGXOOQ.js → 6A2NATOZ.js} +2 -2
- package/dist/cdn/{Z3XVTJFU.js → 6EIKVLU7.js} +2 -2
- package/dist/cdn/{7GDAM2DS.js → 6EQFECME.js} +2 -2
- package/dist/cdn/{NEW2IQIA.js → 6F2DKEFE.js} +2 -2
- package/dist/cdn/{7FMJ2FWK.js → 6GG4PERR.js} +2 -2
- package/dist/cdn/{FS7WUCPO.js → 6GJQHZLV.js} +2 -2
- package/dist/cdn/{6LN7UVH2.js → 6HLRUCZG.js} +2 -2
- package/dist/cdn/6IOFUKLT.js +4 -0
- package/dist/cdn/6J3DNHKP.js +4 -0
- package/dist/cdn/{TFS5OJFO.js → 6NAJSWSH.js} +2 -2
- package/dist/cdn/{E3GIRPSF.js → 6O7APH3Z.js} +2 -2
- package/dist/cdn/{RQNFXST6.js → 6VJXMFYM.js} +2 -2
- package/dist/cdn/6VTRHK52.js +4 -0
- package/dist/cdn/{SC6DO2EX.js → 6YPWVM37.js} +2 -2
- package/dist/cdn/{NT75NL4Z.js → 72AB6BBZ.js} +2 -2
- package/dist/cdn/{UI6IX36Q.js → 73A3MIHN.js} +2 -2
- package/dist/cdn/{ATG5EGOY.js → 75FCMS3Q.js} +2 -2
- package/dist/cdn/{OEKIR5CI.js → 7H5I3SD4.js} +2 -2
- package/dist/cdn/7JDAS6PM.js +18 -0
- package/dist/cdn/{VJF3T5NM.js → 7OIK5YLC.js} +2 -2
- package/dist/cdn/{M3NGPH7I.js → ADGRZEHH.js} +2 -2
- package/dist/cdn/{XWRFSW2T.js → AHPHMUFH.js} +2 -2
- package/dist/cdn/{6BIOYD3L.js → AIUKZ7QZ.js} +2 -2
- package/dist/cdn/{OXJR6CYO.js → AMF6BI56.js} +2 -2
- package/dist/cdn/{7M2QY7IT.js → AMT5P6S7.js} +2 -2
- package/dist/cdn/{P55VR6Q3.js → APTD6OZU.js} +2 -2
- package/dist/cdn/{AFOLBBYS.js → ASQECNQT.js} +1 -1
- package/dist/cdn/{I37J6DPD.js → AUX627ZK.js} +2 -2
- package/dist/cdn/{4XOMPXB5.js → AVRTEGMF.js} +2 -2
- package/dist/cdn/{S2ABHEPA.js → AWEQVKIB.js} +2 -2
- package/dist/cdn/{5ZPJI3ZK.js → BCWAOOBL.js} +2 -2
- package/dist/cdn/{XSOYU3DF.js → BIKIWV7Q.js} +2 -2
- package/dist/cdn/{I35FFKSE.js → BKOGMQC7.js} +2 -2
- package/dist/cdn/{ZUOW5NVL.js → BQ3F536M.js} +1 -1
- package/dist/cdn/{PZ4WDEBE.js → BQG6CK2P.js} +2 -2
- package/dist/cdn/{GEZUMFPM.js → BRUTOLXS.js} +2 -2
- package/dist/cdn/{NS7SRMXC.js → BTBUOLUA.js} +2 -2
- package/dist/cdn/{CT65UGZZ.js → BYEECON3.js} +2 -2
- package/dist/cdn/{WLUBBOD4.js → BYRYCYHN.js} +2 -2
- package/dist/cdn/{EDPD3UVF.js → BZYIJT4H.js} +2 -2
- package/dist/cdn/{RVDRIXX3.js → C46SRFOU.js} +1 -1
- package/dist/cdn/{YVVBMJIZ.js → CE5L46DL.js} +2 -2
- package/dist/cdn/{ZIBKF533.js → CEG5AOTW.js} +2 -2
- package/dist/cdn/{WKCMJFBL.js → CG4CZ32M.js} +2 -2
- package/dist/cdn/{QXETJSDH.js → CGUJSWMR.js} +2 -2
- package/dist/cdn/{HXWIK2J4.js → CJMUNG5Y.js} +2 -2
- package/dist/cdn/{L2ALHN3Q.js → CLLV77OZ.js} +2 -2
- package/dist/cdn/{W3QK4K7X.js → CME3FQFQ.js} +2 -2
- package/dist/cdn/{BVCCL4VB.js → COFVR5QC.js} +2 -2
- package/dist/cdn/{LFMHNEYC.js → CONE7BUX.js} +1 -1
- package/dist/cdn/{DLRWOKNV.js → CQG3ZUSI.js} +1 -1
- package/dist/cdn/{WPAVKGWB.js → CQQZWTFQ.js} +2 -2
- package/dist/cdn/{CHKPF4ST.js → CTO2VJXA.js} +2 -2
- package/dist/cdn/{L6WLCH4N.js → CTTYGCJK.js} +2 -2
- package/dist/cdn/{5FV2XMJF.js → CTY2EBIR.js} +2 -2
- package/dist/cdn/CVXNKCZL.js +4 -0
- package/dist/cdn/{F27UHK4B.js → CWBKZLNV.js} +2 -2
- package/dist/cdn/{MWG5ET2L.js → CWKRSSOA.js} +2 -2
- package/dist/cdn/{KWOEGN35.js → CZKLCZBX.js} +1 -1
- package/dist/cdn/{U2YRPNFE.js → CZNTAIG5.js} +2 -2
- package/dist/cdn/DGLC6S3I.js +4 -0
- package/dist/cdn/{JU6AXC47.js → DGM7V6SO.js} +2 -2
- package/dist/cdn/{2VIWSK5N.js → DGUXBPYO.js} +2 -2
- package/dist/cdn/{EAOAVR6T.js → DNQ5PPRV.js} +1 -1
- package/dist/cdn/{ZW6W37OU.js → DOCQSXJ7.js} +2 -2
- package/dist/cdn/{SXHVTYP6.js → DTZTMTPS.js} +2 -2
- package/dist/cdn/{J5O77MX2.js → DWAVU62X.js} +2 -2
- package/dist/cdn/{YXGWG4DE.js → E3ZJUJQE.js} +1 -1
- package/dist/cdn/{5ZKEC6XH.js → EAYYPNUN.js} +2 -2
- package/dist/cdn/{HFOMSGRE.js → ED5WILS7.js} +1 -1
- package/dist/cdn/{GXSPICDV.js → EGAIBYO4.js} +2 -2
- package/dist/cdn/{O2ICET7S.js → EJNLBR4A.js} +2 -2
- package/dist/cdn/{BFSNJ2EB.js → EL5FRVS6.js} +2 -2
- package/dist/cdn/{TFG462JL.js → ERPFWR4V.js} +2 -2
- package/dist/cdn/{WTEWSJQM.js → ES5HSUHM.js} +2 -2
- package/dist/cdn/{XGRBMFRW.js → EXHFUAHT.js} +2 -2
- package/dist/cdn/{FT3RIOQX.js → EXJCJXVV.js} +2 -2
- package/dist/cdn/{P7CEQW6U.js → F3MCBCB6.js} +2 -2
- package/dist/cdn/{UYOYS7RB.js → F5TWGHSB.js} +2 -2
- package/dist/cdn/{TWBBIAHJ.js → FG5AJMYA.js} +2 -2
- package/dist/cdn/FGTV2JOZ.js +4 -0
- package/dist/cdn/{KQP3AJSX.js → FI2RYZTL.js} +2 -2
- package/dist/cdn/{RBC7LZTC.js → FVIWRJEX.js} +2 -2
- package/dist/cdn/FYLGBYPU.js +4 -0
- package/dist/cdn/G5ZFF6K4.js +4 -0
- package/dist/cdn/{PCHNZS5N.js → GC6WKYIL.js} +2 -2
- package/dist/cdn/{HZLKBLEE.js → GCWO775W.js} +2 -2
- package/dist/cdn/{SUYX6UMX.js → GEJU4I45.js} +2 -2
- package/dist/cdn/{PLY5ZJ2G.js → GEUFVTB2.js} +2 -2
- package/dist/cdn/{2C5FGXWX.js → GFSUU6WL.js} +2 -2
- package/dist/cdn/{GUJB6YZW.js → GFVX4EMM.js} +2 -2
- package/dist/cdn/{FE5VQVFH.js → GGC6RL2U.js} +2 -2
- package/dist/cdn/{LAY7ZOKS.js → GGKFJMLJ.js} +2 -2
- package/dist/cdn/{G3GLPOZS.js → GL7LRY5F.js} +2 -2
- package/dist/cdn/{VODVKUYT.js → GSWS6LV4.js} +2 -2
- package/dist/cdn/{HQKTE42T.js → GXTBHUQ3.js} +2 -2
- package/dist/cdn/{PDDHE2GA.js → H3WFFNMJ.js} +1 -1
- package/dist/cdn/H7GNFLX5.js +18 -0
- package/dist/cdn/{KTDUECNM.js → HDQCKS57.js} +2 -2
- package/dist/cdn/{FRRL3VOX.js → HESFWY6K.js} +1 -1
- package/dist/cdn/{O5ZV3UHV.js → HETORT6U.js} +2 -2
- package/dist/cdn/{54GRIGGQ.js → HIFCAPVC.js} +2 -2
- package/dist/cdn/{BUUMWQBX.js → HLO4ESLP.js} +2 -2
- package/dist/cdn/{SQUI6CTW.js → HLX23ODB.js} +2 -2
- package/dist/cdn/{OBCSQFUM.js → HN35ETXK.js} +2 -2
- package/dist/cdn/{B7HIGUVX.js → HRU5TQGK.js} +2 -2
- package/dist/cdn/{3G43FIE4.js → HUDLR4XR.js} +2 -2
- package/dist/cdn/{DOEIBRNL.js → HUZIVTBQ.js} +2 -2
- package/dist/cdn/{U7LWEUY7.js → IBOKCC7C.js} +2 -2
- package/dist/cdn/{7F357E22.js → IEPOS5EV.js} +2 -2
- package/dist/cdn/{UYOLR3HI.js → IFH6ER27.js} +2 -2
- package/dist/cdn/{PE4LAJPJ.js → IHK3NBEO.js} +2 -2
- package/dist/cdn/{YOQVQHWA.js → IHW26JOK.js} +2 -2
- package/dist/cdn/{CBM5SVKV.js → IQDY7VUL.js} +2 -2
- package/dist/cdn/{CB6PV55L.js → IR4NISLP.js} +1 -1
- package/dist/cdn/{SNGQJER3.js → IT2MV4QW.js} +2 -2
- package/dist/cdn/{VXSYXI5Z.js → IYCAGAXO.js} +2 -2
- package/dist/cdn/{3GO45KNW.js → J2RRRBDM.js} +2 -2
- package/dist/cdn/{IIAM5HPA.js → J2XTPBZ7.js} +2 -2
- package/dist/cdn/{X3DE2KFS.js → JDG372HJ.js} +2 -2
- package/dist/cdn/{RBIWPS7B.js → JDP425FV.js} +2 -2
- package/dist/cdn/{IKCC43KY.js → JFD2GLUZ.js} +2 -2
- package/dist/cdn/{PO62H53X.js → JGG25YKA.js} +2 -2
- package/dist/cdn/{ONETA4IZ.js → JNIH7XXW.js} +2 -2
- package/dist/cdn/{ZTJENKRZ.js → JPJINGZH.js} +2 -2
- package/dist/cdn/{6R2SPDYG.js → JPUHNRZ6.js} +2 -2
- package/dist/cdn/{HL6K2YTH.js → JQRRHZBK.js} +1 -1
- package/dist/cdn/{ADFQUVVN.js → JTN3AKO6.js} +2 -2
- package/dist/cdn/{3UVFR5IX.js → JUEKMPOJ.js} +2 -2
- package/dist/cdn/{ISXAN7ZH.js → JVI6VOOY.js} +2 -2
- package/dist/cdn/{FHJNTOFV.js → JWMKG6UR.js} +2 -2
- package/dist/cdn/{T4JA6UEK.js → JYP27YIQ.js} +2 -2
- package/dist/cdn/{IDRZXFTP.js → JZMWBYSL.js} +2 -2
- package/dist/cdn/{D6UXUVO3.js → K56GVQG2.js} +2 -2
- package/dist/cdn/{CU2DHBCR.js → KE7LRF4I.js} +2 -2
- package/dist/cdn/KEC4V5NM.js +4 -0
- package/dist/cdn/{J7FL27H5.js → KFDSUIDH.js} +2 -2
- package/dist/cdn/{HODFZHIN.js → KH6KBN5S.js} +2 -2
- package/dist/cdn/{OQXK6IER.js → KMUD7MIG.js} +2 -2
- package/dist/cdn/{QNKMSTXV.js → KMX7DYG7.js} +2 -2
- package/dist/cdn/{CV4LFUGW.js → KN6VRCJR.js} +2 -2
- package/dist/cdn/{YX6PKVZ5.js → KNCE4TTO.js} +2 -2
- package/dist/cdn/{6AVYFAZV.js → KNV6T7IX.js} +2 -2
- package/dist/cdn/{CS47PCEA.js → KPVMNGYD.js} +2 -2
- package/dist/cdn/{LDIJEGEK.js → KRJK7YPS.js} +2 -2
- package/dist/cdn/{E6HHYNLI.js → KTJQK2DV.js} +2 -2
- package/dist/cdn/{NYPKBBU6.js → KULCFWUA.js} +2 -2
- package/dist/cdn/{CSMA4TNL.js → KYRIG7D4.js} +2 -2
- package/dist/cdn/{MTGSCLQC.js → KZRCF37A.js} +2 -2
- package/dist/cdn/{P7S5ARVM.js → L2PXD7EH.js} +2 -2
- package/dist/cdn/{Q6TPFBCR.js → LHM6JY3L.js} +2 -2
- package/dist/cdn/{OYTIM3XA.js → LIY7TY7Z.js} +2 -2
- package/dist/cdn/{MABCGF2C.js → LJUGVDCP.js} +2 -2
- package/dist/cdn/{7HPHZT6D.js → LK5TYQL5.js} +2 -2
- package/dist/cdn/{IE2W2C7Q.js → LMW4LPU4.js} +3 -3
- package/dist/cdn/{42HD4LS6.js → LPUIJYXX.js} +1 -1
- package/dist/cdn/{IAGMSUVF.js → LVR5WN67.js} +2 -2
- package/dist/cdn/{MT7UVLPM.js → LWA5F2BZ.js} +1 -1
- package/dist/cdn/{52BQUP6R.js → LWSKZY3I.js} +2 -2
- package/dist/cdn/{3THQWD5C.js → LZSDBEQY.js} +2 -2
- package/dist/cdn/M57DXFH6.js +4 -0
- package/dist/cdn/{AVSW6FTW.js → M5JMSIE7.js} +2 -2
- package/dist/cdn/{5VXJZOZ7.js → MBHAKWXC.js} +1 -1
- package/dist/cdn/{BT7ZFQNB.js → MDGGXEIV.js} +2 -2
- package/dist/cdn/{RL3QIEW2.js → MEJIGZJA.js} +2 -2
- package/dist/cdn/{BWSH4VJG.js → MEWRX3M3.js} +2 -2
- package/dist/cdn/{K7FVHROV.js → MFMURPUV.js} +2 -2
- package/dist/cdn/{FGDLOFSV.js → MIOO5HYN.js} +2 -2
- package/dist/cdn/{EGCQTWVW.js → MN2R7MTW.js} +2 -2
- package/dist/cdn/{EYVEIIH4.js → MRWIBLIJ.js} +2 -2
- package/dist/cdn/{OZQZ44E4.js → MUA7ZCJU.js} +2 -2
- package/dist/cdn/{ZWKX3IFE.js → MW4NBRQZ.js} +1 -1
- package/dist/cdn/{5I6COHGY.js → MZZHC6MJ.js} +2 -2
- package/dist/cdn/{JUPJVTUF.js → NAXDVUOY.js} +2 -2
- package/dist/cdn/{4RXQVCM4.js → NEVD3I6S.js} +2 -2
- package/dist/cdn/{PYSKXKFD.js → NFC7YG45.js} +2 -2
- package/dist/cdn/{4GYMMLH6.js → NNRTA5SJ.js} +2 -2
- package/dist/cdn/{XRV4FLNJ.js → NPAJRPLS.js} +1 -1
- package/dist/cdn/{R2HBEQY2.js → NQR5HWGO.js} +2 -2
- package/dist/cdn/{3AS7DRIH.js → NXBFLQLG.js} +2 -2
- package/dist/cdn/{C2KTBBG3.js → O3RPPL4R.js} +2 -2
- package/dist/cdn/{KNAJV2HV.js → O5ALHKVH.js} +1 -1
- package/dist/cdn/{AXGUYSFJ.js → O7CTM4NU.js} +1 -1
- package/dist/cdn/{T52O6LAG.js → OBAJ3QVO.js} +2 -2
- package/dist/cdn/{TY7S3RXU.js → OBQWYEXQ.js} +2 -2
- package/dist/cdn/{YUDPELTS.js → OCORZHZK.js} +2 -2
- package/dist/cdn/{S6KVE7T5.js → OHHPHVIZ.js} +2 -2
- package/dist/cdn/{KTL5I4N7.js → OKG5OWZ4.js} +2 -2
- package/dist/cdn/OKYASTM3.js +4 -0
- package/dist/cdn/ORIRCVEP.js +4 -0
- package/dist/cdn/{P6AMX4QY.js → P2EO3DWY.js} +2 -2
- package/dist/cdn/{GIVX5Y3H.js → P6NEF3AG.js} +2 -2
- package/dist/cdn/{3XFCRB5B.js → P6WMRRIT.js} +2 -2
- package/dist/cdn/{AU5ROKBM.js → PBK6ZGYF.js} +2 -2
- package/dist/cdn/{HNJAS7WK.js → PC5PQMH3.js} +2 -2
- package/dist/cdn/PCCIGDAH.js +4 -0
- package/dist/cdn/{ZSMTVBEM.js → PIHN7OGO.js} +2 -2
- package/dist/cdn/{TEFQ3LAP.js → PK6MBS72.js} +3 -3
- package/dist/cdn/{LB2XKIGA.js → PKQMEHQA.js} +2 -2
- package/dist/cdn/{ERLOTZSB.js → PKVF2FP5.js} +2 -2
- package/dist/cdn/{72Y7V4E2.js → PNWUR4FN.js} +2 -2
- package/dist/cdn/{ZTSNO64A.js → PQYA37C4.js} +1 -1
- package/dist/cdn/{7UZHDBXH.js → PXJUCITY.js} +2 -2
- package/dist/cdn/{6P5XL7WJ.js → PXSFL6NE.js} +1 -1
- package/dist/cdn/{4VPZBQBA.js → PYKRSFCJ.js} +2 -2
- package/dist/cdn/{7MPALAN6.js → PZJICKXI.js} +2 -2
- package/dist/cdn/{UP3SPGCQ.js → PZNQ6JJL.js} +2 -2
- package/dist/cdn/{257IN2Y7.js → PZTV2JTA.js} +2 -2
- package/dist/cdn/{6M262WHD.js → Q4KFQCM6.js} +2 -2
- package/dist/cdn/{6XU3AT25.js → QBWBOGFY.js} +2 -2
- package/dist/cdn/QBYFRB7X.js +4 -0
- package/dist/cdn/{QV57KIBB.js → QEAZDKTC.js} +2 -2
- package/dist/cdn/{JB5XMXNY.js → QFKKMAW7.js} +2 -2
- package/dist/cdn/{GUQWOX4S.js → QL653ZDR.js} +2 -2
- package/dist/cdn/{3SLRUFJF.js → QLD2MUBD.js} +1 -1
- package/dist/cdn/{Y3O7XLID.js → QLU5OWJF.js} +2 -2
- package/dist/cdn/{BO7ZX6VY.js → QP3FFP7T.js} +2 -2
- package/dist/cdn/{7RLXHVA4.js → QPH7RQUD.js} +2 -2
- package/dist/cdn/{ZUIPQQRM.js → QQKNXZ7O.js} +2 -2
- package/dist/cdn/{4QFRPNLX.js → QS4IJ33L.js} +2 -2
- package/dist/cdn/{V264QANZ.js → QXT7E6EY.js} +2 -2
- package/dist/cdn/{6UTJ3QVT.js → R2OABS2T.js} +2 -2
- package/dist/cdn/{63GW76E5.js → R3FHS5ZA.js} +2 -2
- package/dist/cdn/{KMHXK4ZM.js → R7JCMEBX.js} +2 -2
- package/dist/cdn/{XYR7D7OA.js → RCDFWLE4.js} +2 -2
- package/dist/cdn/{3NUWB5RM.js → RCONKWD3.js} +1 -1
- package/dist/cdn/{WQLBTX4S.js → RHFUZ4EQ.js} +1 -1
- package/dist/cdn/{4FLD2OM6.js → RIA6LI7U.js} +2 -2
- package/dist/cdn/{ZY72624Y.js → RIQN7H3T.js} +2 -2
- package/dist/cdn/{R2AXNE5Z.js → RKQTODFO.js} +2 -2
- package/dist/cdn/{HXZTDQXD.js → RMSZYQJG.js} +2 -2
- package/dist/cdn/{OBV4IKG7.js → RNCLA6XD.js} +2 -2
- package/dist/cdn/{BK6RBWAX.js → RR77N5AA.js} +2 -2
- package/dist/cdn/{4TQAEHIB.js → RSXAK76K.js} +2 -2
- package/dist/cdn/{JI5ONG3N.js → S3PARDYS.js} +2 -2
- package/dist/cdn/{HUJMUYZW.js → S7GXXB2P.js} +2 -2
- package/dist/cdn/{JKUVQVLV.js → SABMPJEJ.js} +2 -2
- package/dist/cdn/{KUVT55JS.js → SBMKGTYT.js} +2 -2
- package/dist/cdn/{NOWWYKDM.js → SGODNKW5.js} +2 -2
- package/dist/cdn/{TEIQ4T2N.js → SJ3LMJOB.js} +2 -2
- package/dist/cdn/{YPJK7AY7.js → SJYJMWIY.js} +2 -2
- package/dist/cdn/SN74PV4Q.js +4 -0
- package/dist/cdn/{JQWD63ZZ.js → SQ4556X7.js} +2 -2
- package/dist/cdn/{346L7JFF.js → TATJA4IA.js} +2 -2
- package/dist/cdn/{EAYM2DXQ.js → TB5HMOJ3.js} +2 -2
- package/dist/cdn/{WMBQKDYZ.js → TDAI5FBB.js} +2 -2
- package/dist/cdn/{LS5JUMF2.js → TLJ572GX.js} +2 -2
- package/dist/cdn/{QOUDGHEQ.js → TSO2GPQ5.js} +2 -2
- package/dist/cdn/{2WW2IBRS.js → U2LYBUGE.js} +2 -2
- package/dist/cdn/{YWCCKYDU.js → U3G2QMBL.js} +2 -2
- package/dist/cdn/{VMXXHGDB.js → U7OZ5SFK.js} +2 -2
- package/dist/cdn/{X5D3D4IZ.js → UBKD5JKQ.js} +2 -2
- package/dist/cdn/{XVUKIVR5.js → UC4RHZAC.js} +4 -4
- package/dist/cdn/{7FK4VFH2.js → ULZSI2DN.js} +2 -2
- package/dist/cdn/{WXEJPLIR.js → UM77354S.js} +2 -2
- package/dist/cdn/{ZL3GBZXD.js → UQH76H3R.js} +1 -1
- package/dist/cdn/{2YFZHBS2.js → UUILJSCG.js} +2 -2
- package/dist/cdn/{2CFCHSK4.js → UVOTALEM.js} +2 -2
- package/dist/cdn/{KP2FDI6M.js → UXTVUYEE.js} +2 -2
- package/dist/cdn/{LLCTMEH5.js → UYP7LPCO.js} +2 -2
- package/dist/cdn/{OIQDGNWH.js → V5NG2JBW.js} +2 -2
- package/dist/cdn/{D3H7O3WT.js → V67XFEUW.js} +2 -2
- package/dist/cdn/{IABD5DDD.js → VCGAGRCW.js} +1 -1
- package/dist/cdn/{JVFEGKQM.js → VL5YXNHS.js} +2 -2
- package/dist/cdn/{ZEQOJPBZ.js → VNSARVVC.js} +1 -1
- package/dist/cdn/{WJXQ2DPU.js → VRSKGCS7.js} +2 -2
- package/dist/cdn/{OKOUAIZU.js → VZKG4JHV.js} +2 -2
- package/dist/cdn/{WKJ2R7JY.js → W7JWL435.js} +2 -2
- package/dist/cdn/{BI2ROVDZ.js → WEWWSGGN.js} +2 -2
- package/dist/cdn/{UGOKUTLP.js → WHS2PMPC.js} +2 -2
- package/dist/cdn/WNOETQOT.js +4 -0
- package/dist/cdn/{ZYTFJSHA.js → WP7VNBE6.js} +2 -2
- package/dist/cdn/{EYHCDLYW.js → WRBLZ2EY.js} +2 -2
- package/dist/cdn/{M432DZB4.js → WSNKRWTS.js} +2 -2
- package/dist/cdn/{4I3JSUFW.js → WTBUBL7G.js} +2 -2
- package/dist/cdn/{LKNLPOAI.js → WTPDNXJI.js} +2 -2
- package/dist/cdn/{7RVECVHK.js → WUDSDZT7.js} +1 -1
- package/dist/cdn/{MMGVDNX3.js → WZML2FIR.js} +2 -2
- package/dist/cdn/{GJPI4XR6.js → WZUVYC73.js} +2 -2
- package/dist/cdn/{E6B2EFTX.js → XBE6YUAO.js} +2 -2
- package/dist/cdn/{HCZI2WKF.js → XCPR5CLY.js} +2 -2
- package/dist/cdn/{GSFEYQ47.js → XIM7BJJT.js} +2 -2
- package/dist/cdn/{YAINND4R.js → XLE7HHIL.js} +2 -2
- package/dist/cdn/XMCWDSSJ.js +4 -0
- package/dist/cdn/{BS4IA6YE.js → XPWG546Z.js} +2 -2
- package/dist/cdn/{RW6HUZEM.js → XRIEOIYQ.js} +2 -2
- package/dist/cdn/{FTUW735F.js → XWCG6AMB.js} +2 -2
- package/dist/cdn/{2ZCD4CM4.js → XWYZJJRL.js} +2 -2
- package/dist/cdn/{BR6B4ITF.js → XXWZDACE.js} +2 -2
- package/dist/cdn/{URUSIM7Q.js → Y2WHVNN4.js} +2 -2
- package/dist/cdn/{PT3L2R7W.js → YAE55YMV.js} +2 -2
- package/dist/cdn/{YYHZ5MY3.js → YKVADFXR.js} +1 -1
- package/dist/cdn/YLMKS7JB.js +4 -0
- package/dist/cdn/{DQBLQ47Q.js → YWTNIFNR.js} +2 -2
- package/dist/cdn/{PGYCKBKP.js → Z37462H3.js} +2 -2
- package/dist/cdn/{QM2GKBRK.js → Z6HB2LKU.js} +2 -2
- package/dist/cdn/{EFP3DQ4F.js → ZFICIJZQ.js} +2 -2
- package/dist/cdn/{UX4CN3RL.js → ZKZS3TY4.js} +2 -2
- package/dist/cdn/{LFI2BBTH.js → ZLCJOGCM.js} +2 -2
- package/dist/cdn/{CR7TX2QF.js → ZO4AXM6R.js} +2 -2
- package/dist/cdn/{KTF7FHOK.js → ZUCD46UL.js} +2 -2
- package/dist/cdn/{4ZIUJEHS.js → ZWG3U3E7.js} +2 -2
- package/dist/cdn/{A5QZXDV6.js → ZXIUDDYB.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-deployed-card.js +13 -10
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-basemap-gallery/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-floor-filter/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +9 -8
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +1 -0
- package/dist/components/solutions-deploy-app/customElement.js +10 -10
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +12 -1
- package/dist/docs/docs.json +15 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +10 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -0
- package/dist/types/preact.d.ts +1 -0
- package/dist/types/preact10.d.ts +1 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/stencil.d.ts +1 -0
- package/dist/utils/interfaces.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/2URTN7IK.js +0 -4
- package/dist/cdn/3E3XNLNE.js +0 -4
- package/dist/cdn/B5ZLDAFW.js +0 -4
- package/dist/cdn/BQOV6FU7.js +0 -4
- package/dist/cdn/CHLMBFRA.js +0 -18
- package/dist/cdn/DKNKBHHW.js +0 -4
- package/dist/cdn/EITZ2CS3.js +0 -4
- package/dist/cdn/F3BCCICK.js +0 -4
- package/dist/cdn/G4FU3A4M.js +0 -4
- package/dist/cdn/GTIEVTDP.js +0 -4
- package/dist/cdn/I5ZHI4XU.js +0 -4
- package/dist/cdn/JRSTXHPR.js +0 -4
- package/dist/cdn/JWKFCKTE.js +0 -4
- package/dist/cdn/MSCBFODL.js +0 -4
- package/dist/cdn/OS4RG5NL.js +0 -4
- package/dist/cdn/R5KCWF5H.js +0 -4
- package/dist/cdn/SX45AEWP.js +0 -4
- package/dist/cdn/VCUU2HVI.js +0 -4
- package/dist/cdn/WZLBCOQS.js +0 -18
- package/dist/cdn/XAV2PM3Y.js +0 -4
- package/dist/cdn/XNNCHNUY.js +0 -4
- package/dist/cdn/Z4KL5JYW.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import"./UQH76H3R.js";var e="No tiene suficientes cr\xE9ditos para realizar esta operaci\xF3n. P\xF3ngase en contacto con su administrador de sistemas de ArcGIS para obtener ayuda.",a="Esta herramienta se ha publicado a trav\xE9s de un notebook. El acceso a ArcGIS Notebooks est\xE1 bloqueado para su organizaci\xF3n. P\xF3ngase en contacto con su administrador para ajustar la configuraci\xF3n.",r="${ dataPath } no debe tener ${ additionalProperty }",o="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",s="Intente guardar el mapa de nuevo.",t="Error en estimaci\xF3n del cr\xE9dito Despl\xE1cese hacia abajo, corrija los errores y vuelva a realizar la estimaci\xF3n del cr\xE9dito.",i="Se ha producido un error al ejecutar el an\xE1lisis.",n="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",l="No se pudo guardar el historial de an\xE1lisis",d="El almacenamiento del historial est\xE1 lleno. Retire algunos elementos del historial de an\xE1lisis e int\xE9ntelo de nuevo.",c="El nombre del servicio contiene uno o varios caracteres no v\xE1lidos:",u="No se ha completado el guardado de la capa temporal como capa de entidades alojada.",m="Error al obtener las propiedades clave.",p="Error al cargar la capa.",h="La capa no est\xE1 disponible",E="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",b="Se ha producido un error al guardar el modelo. Intente guardar de nuevo.",v="${ dataPath } no debe tener menos de ${ limit } elementos.",y="${ dataPath } no debe tener menos de ${ limit } caracteres.",P="No se ha podido cargar el elemento de modelo. Aseg\xFArese de que el modelo existe y se haya concedido permiso de acceso.",g="Error al completar solicitud.",f="No tiene permiso para ejecutar esta herramienta. <calcite-link target='_blank' href='${ docLink }'>M\xE1s informaci\xF3n</calcite-link>",S="Error al iniciar sesi\xF3n en el portal.",$="Error al leer los datos de entrada.",I="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",k="Ya existe una capa de resultados con este nombre. Los nombres de las capas de resultados deben ser \xFAnicos en toda la organizaci\xF3n. Utilice otro nombre.",F="El nombre de salida contiene uno o m\xE1s caracteres que no son v\xE1lidos. <a href='${docLink}' target='_blank'>M\xE1s informaci\xF3n.</a>",N="La publicaci\xF3n de la capa temporal como capa alojada ha fallado debido a uno o m\xE1s campos no v\xE1lidos. Vuelva a ejecutar la herramienta para crear una capa con campos v\xE1lidos.",L="Error al enviar trabajo. Despl\xE1cese hacia abajo, corrija los errores y vuelva a ejecutar el an\xE1lisis.",j="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:E,mbFailedToSave:b,minItems:v,minLength:y,modelNotFound:P,networkError:g,noPermissionToAccessTool:f,portalLoadError:S,queryFeaturesError:$,requiredProperty:I,serviceNameExistsError:k,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:N,toolValidationError:L,whiteSpacePattern:j};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,E as maxItems,b as mbFailedToSave,v as minItems,y as minLength,P as modelNotFound,g as networkError,f as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,I as requiredProperty,k as serviceNameExistsError,F as specialCharactersInServiceNameError,N as temporaryLayerFieldsError,L as toolValidationError,j as whiteSpacePattern};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
4
|
var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},k=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var H=Symbol.for("controller"),ue=o=>typeof o=="object"&&o!==null&&(H in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ze=o=>typeof o?.then=="function";var j,O=o=>{j!==o&&(j=o,queueMicrotask(()=>j===o?j=void 0:0))},V=o=>j,w=[],Ut=o=>{if(o===void 0){w=[];return}let t=w.indexOf(o);w=t===-1?[...w,o]:w.slice(0,t+1),queueMicrotask(()=>w=[])},Rt=()=>w,U,Xe=o=>{U!==o&&(U=o,queueMicrotask(()=>U===o?U=void 0:0))},fe=()=>{let o=U;return U=void 0,o},Mt=async(o,t)=>{let e=Y(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},It=async o=>{let t=Y(o);return await t.ready,t},Y=o=>{let e=V().manager.X(o);if(e!==void 0)return e;if(ue(o))return o;let s=fe();if(s!==void 0)return s},J=!1,ts=o=>{J=!0;try{return o()}finally{J=!1}};var Z=globalThis,X=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),kt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(X&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&kt.set(e,t))}return t}toString(){return this.cssText}},jt=o=>new z(typeof o=="string"?o:o+"",void 0,mt),me=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new z(e,o,mt)},Ht=(o,t)=>{if(X)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Z.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},yt=X?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return jt(e)})(o):o;var{is:ye,defineProperty:ge,getOwnPropertyDescriptor:ve,getOwnPropertyNames:Ee,getOwnPropertySymbols:$e,getPrototypeOf:be}=Object,et=globalThis,Vt=et.trustedTypes,_e=Vt?Vt.emptyScript:"",Ae=et.reactiveElementPolyfillSupport,B=(o,t)=>o,tt={toAttribute(o,t){switch(t){case Boolean:o=o?_e:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},W=(o,t)=>!ye(o,t),zt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:W};Symbol.metadata??=Symbol("metadata"),et.litPropertyMetadata??=new WeakMap;var _=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&ge(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=ve(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(B("elementProperties")))return;let t=be(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(B("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(B("properties"))){let e=this.properties,s=[...Ee(e),...$e(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(yt(r))}else t!==void 0&&e.push(yt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:tt).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:tt;this._$Em=r;let a=n.fromAttribute(e,i.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??W)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[B("elementProperties")]=new Map,_[B("finalized")]=new Map,Ae?.({ReactiveElement:_}),(et.reactiveElementVersions??=[]).push("2.1.1");var vt=globalThis,st=vt.trustedTypes,Bt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,Et="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,$t="?"+A,Ce=`<${$t}>`,P=document,q=()=>P.createComment(""),G=o=>o===null||typeof o!="object"&&typeof o!="function",bt=Array.isArray,Qt=o=>bt(o)||typeof o?.[Symbol.iterator]=="function",gt=`[
|
|
5
5
|
\f\r]`,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wt=/-->/g,Ft=/>/g,T=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
|
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),qt=/'/g,Gt=/"/g,Jt=/^(?:script|style|textarea|title)$/i,_t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ns=_t(1),as=_t(2),cs=_t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Kt=new WeakMap,S=P.createTreeWalker(P,129);function Yt(o,t){if(!bt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Bt!==void 0?Bt.createHTML(t):t}var Zt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=F;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===F?u[1]==="!--"?n=Wt:u[1]!==void 0?n=Ft:u[2]!==void 0?(Jt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=T):u[3]!==void 0&&(n=T):n===T?u[0]===">"?(n=r??F,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?T:u[3]==='"'?Gt:qt):n===Gt||n===qt?n=T:n===Wt||n===Ft?n=F:(n=T,r=void 0);let g=n===T&&o[a+1].startsWith("/>")?" ":"";i+=n===F?c+Ce:h>=0?(s.push(l),c.slice(0,h)+Et+c.slice(h)+A+g):c+A+(h===-2?a:g)}return[Yt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},K=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Zt(t,e);if(this.el=o.createElement(l,s),S.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=S.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(Et)){let y=u[n++],g=r.getAttribute(h).split(A),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?rt:C[1]==="?"?it:C[1]==="@"?nt:x}),r.removeAttribute(h)}else h.startsWith(A)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Jt.test(r.tagName)){let h=r.textContent.split(A),y=h.length-1;if(y>0){r.textContent=st?st.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],q()),S.nextNode(),c.push({type:2,index:++i});r.append(h[y],q())}}}else if(r.nodeType===8)if(r.data===$t)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)c.push({type:7,index:i}),h+=A.length-1}i++}}static createElement(t,e){let s=P.createElement("template");return s.innerHTML=t,s}};function N(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=G(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=N(o,r._$AS(o,t.values),r,s)),t}var ot=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??P).importNode(e,!0);S.currentNode=r;let i=S.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new R(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new at(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=S.nextNode(),n++)}return S.currentNode=P,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),G(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&G(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=K.createElement(Yt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new ot(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Kt.get(t.strings);return e===void 0&&Kt.set(t.strings,e=new K(t)),e}k(t){bt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(q()),this.O(q()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},x=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=N(this,t,e,0),n=!G(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=N(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!G(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends x{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},it=class extends x{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends x{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=N(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}},Xt={M:Et,P:A,A:$t,C:1,L:Zt,R:ot,D:Qt,V:N,I:R,H:x,N:it,U:nt,B:rt,F:at},we=vt.litHtmlPolyfillSupport;we?.(K,R),(vt.litHtmlVersions??=[]).push("3.3.1");var At=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new R(t.insertBefore(q(),i),i,void 0,e??{})}return r._$AI(o),r};var Ct=globalThis,$=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=At(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,Ct.litElementHydrateSupport?.({LitElement:$});var Oe=Ct.litElementPolyfillSupport;Oe?.({LitElement:$});(Ct.litElementVersions??=[]).push("4.2.1");var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},te=(o,t)=>{let e=t>Te?Se:t/Pe,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Te=4e3,Se=2e3,Pe=4;var Ne=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(I),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,I=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},xe=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},De=(o=[V(),...Rt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Ne(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){xe(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Le=(o="",t={},e=V())=>{let s={emit:r=>{o===""&&I();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&De(void 0,r=>o=r.key,s),s},Ue=Le.bind(null,""),oe;oe=H;var wt=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[oe]=!0,this.#a=[];let e=this,s=t??V(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=se(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Ut(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?se(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return O(this.#i),Mt}get useRef(){return O(this.#i),It}get useRefSync(){return O(this.#i),Y}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await k(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(k)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(ee,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ee,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){O(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function ee(o){p(o,void 0,this)}var re=wt,se=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ct=o=>o.replace(Re,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Re=/[A-Z]+(?![a-z])|[A-Z]/gu;var Ss="randomUUID"in crypto;var Tt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},St={};function Pt(){}var Me=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(Ie):void 0,C=g?.map(([L])=>L),D=class extends Ot{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},lt=Object.defineProperty,Ie=o=>{let t=o.split(":");return t.length===1?[t[0],ct(t[0])]:t},ke=globalThis.HTMLElement??Pt,Ot=class extends ke{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])lt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])lt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])lt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Tt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);He(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(je,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function je([o,t]){this[o]=t}var He=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},lt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Ve}=Xt;var ht=o=>o.strings===void 0,ne=()=>document.createComment(""),ks=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(ne(),r),n=s.insertBefore(ne(),r);e=new Ve(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},js=(o,t,e=o)=>(o._$AI(t,e),o),ze={},ae=(o,t=ze)=>o._$AH=t,Hs=o=>o._$AH,Vs=o=>{o._$AR(),o._$AA.remove()};var Be=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ae(o),t}});var Q=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),Q(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},ce=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),qe(t)}};function We(o){this._$AN!==void 0?(dt(this),this._$AM=o,ce(this)):this._$AM=o}function Fe(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)Q(s[i],!1),dt(s[i]);else s!=null&&(Q(s,!1),dt(s));else Q(this,o)}var qe=o=>{o.type==m.CHILD&&(o._$AP??=Fe,o._$AQ??=We)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),ce(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Q(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var oo=()=>new xt,xt=class{},Nt=new WeakMap,Dt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Nt.get(t);e===void 0&&(e=new WeakMap,Nt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Nt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ut=class extends re{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=ft in t&&typeof t.destroy=="function",$.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${ft} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),O(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=te(t,Ke)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},Ke=1e3,ft="autoDestroyDisabled";var le=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var he="important",Qe=" !"+he,de=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Qe);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?he:""):e[s]=r}}return f}});var pe=class o extends ${constructor(){super(),this.M=[],this.manager=new ut(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Pt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===St;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??W,n={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!J&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===St?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Tt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(k(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(ft)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(H in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var dr=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var pr=o=>typeof o=="object"&&o!=null?le(o):o,ur=o=>typeof o=="object"&&o!=null?de(o):o;var Lt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Dt(this.#e)):Dt(t)}},fr=E(Lt);var mr=d;export{Ze as a,O as b,V as c,Ut as d,Rt as e,Xe as f,ts as g,me as h,ns as i,as as j,f as k,d as l,At as m,xe as n,De as o,Ue as p,wt as q,re as r,St as s,Me as t,m as u,E as v,v as w,ks as x,js as y,ae as z,Hs as A,Vs as B,Be as C,oo as D,Dt as E,pe as F,dr as G,pr as H,ur as I,mr as J};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as Pn}from"./LAY7ZOKS.js";import"./O5ZV3UHV.js";import"./52BQUP6R.js";import{b as En}from"./HUJMUYZW.js";import{F as jn,h as kn,p as In}from"./2FVNCWOA.js";import"./ZL3GBZXD.js";function ln(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Gr(e){return Object.keys(e).some(t=>{let n=e[t];if(!n)return!1;switch(n&&n.toParam&&(n=n.toParam()),n.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 Fr(e){let t={};return Object.keys(e).forEach(n=>{var r,i;let o=e[n];if(o&&o.toParam&&(o=o.toParam()),!o&&o!==0&&typeof o!="boolean"&&typeof o!="string")return;let a=o.constructor.name,s;switch(a){case"Array":let u=(i=(r=o[0])===null||r===void 0?void 0:r.constructor)===null||i===void 0?void 0:i.name;s=u==="Array"?o:u==="Object"?JSON.stringify(o):o.join(",");break;case"Object":s=JSON.stringify(o);break;case"Date":s=o.valueOf();break;case"Function":s=null;break;case"Boolean":s=o+"";break;default:s=o;break}(s||s===0||typeof s=="string"||Array.isArray(s))&&(t[n]=s)}),t}function Jr(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(n=>Jr(e,n)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function Ct(e){let t=Fr(e);return Object.keys(t).map(n=>Jr(n,t[n])).join("&")}var Xi=globalThis.FormData;function Bi(e,t){let n=Gr(e)||t,r=Fr(e);if(n){let i=new Xi;return Object.keys(r).forEach(o=>{if(typeof Blob<"u"&&r[o]instanceof Blob){let a=r.fileName||r[o].name||o;i.append(o,r[o],a)}else i.append(o,r[o])}),i}else return Ct(e)}var ye=class extends Error{constructor(t,n,r,i,o){super(t);let a=new.target.prototype;Object.setPrototypeOf(this,a),t=t||"UNKNOWN_ERROR",n=n||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=n==="UNKNOWN_ERROR_CODE"?t:`${n}: ${t}`,this.originalMessage=t,this.code=n,this.response=r,this.url=i,this.options=o}},Qi={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},Mt="ARCGIS_REST_JS_NO_CORS";globalThis[Mt]||(globalThis[Mt]=Object.assign({},Qi));var te=globalThis[Mt];function Yi(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let n=t.origin;return te.pendingNoCorsRequests[n]||(te.pendingNoCorsRequests[n]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(r=>{te.noCorsDomains.indexOf(n)===-1&&te.noCorsDomains.push(n),te.crossOriginNoCorsDomains[n.toLowerCase()]=Date.now(),delete te.pendingNoCorsRequests[n]}).catch(r=>(delete te.pendingNoCorsRequests[n],Promise.reject(new Error(`no-cors request to ${n} failed`))))),te.pendingNoCorsRequests[n]}function Zi(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?Ot(t):(Ot("http://"+t),Ot("https://"+t))})}function Ot(e){let t=new URL(e).origin;te.noCorsDomains.indexOf(t)===-1&&te.noCorsDomains.push(t)}function Xr(e){let t=!1;if(te.noCorsDomains.length){let n=new URL(e).origin.toLowerCase();t=te.noCorsDomains.some(r=>n.includes(r))}return t}function eo(e){let t=!1;if(Xr(e)){let n=new URL(e).origin.toLowerCase(),r=te.crossOriginNoCorsDomains[n]||0;Date.now()-60*6e4>r&&(t=!0)}return t}function to(e){console&&console.warn&&console.warn.apply(console,[e])}function no(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ro(e,t){var n;if(!t&&!window||!e)return!1;{t=t||window;let r=(n=t.location)===null||n===void 0?void 0:n.origin;return e.startsWith(r)}}var io="@esri/arcgis-rest-js";function oo(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var nt=class extends ye{constructor(t="AUTHENTICATION_ERROR",n="AUTHENTICATION_ERROR_CODE",r,i,o){super(t,n,r,i,o),this.name="ArcGISAuthError",this.message=n==="AUTHENTICATION_ERROR_CODE"?t:`${n}: ${t}`;let a=new.target.prototype;Object.setPrototypeOf(this,a)}retry(t,n=1){let r=0,i=(o,a)=>{r=r+1,t(this.url,this.options).then(s=>{let u=Object.assign(Object.assign({},this.options),{authentication:s});return Br(this.url,u)}).then(s=>{o(s)}).catch(s=>{s.name==="ArcGISAuthError"&&r<n?i(o,a):s.name===this.name&&s.message===this.message&&r>=n?a(this):a(s)})};return new Promise((o,a)=>{i(o,a)})}};function ao(e,t,n,r,i){if(e.code>=400){let{message:o,code:a}=e;throw new ye(o,a,e,t,r)}if(e.error){let{message:o,code:a,messageCode:s}=e.error,u=s||a||"UNKNOWN_ERROR_CODE";throw a===498||a===499?i||new nt(o,u,e,t,r):new ye(o,u,e,t,r)}if(e.status==="failed"||e.status==="failure"){let o,a="UNKNOWN_ERROR_CODE";try{o=JSON.parse(e.statusMessage).message,a=JSON.parse(e.statusMessage).code}catch{o=e.statusMessage||e.message}throw new ye(o,a,e,t,r)}return e}function Br(e,t){let n=oo(),r=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},n),t),{params:Object.assign(Object.assign({},n.params),t.params),headers:Object.assign(Object.assign({},n.headers),t.headers)}),{httpMethod:i,rawResponse:o}=r,a=Object.assign({f:"json"},r.params),s=null,u={method:i,signal:r.signal,credentials:r.credentials||"same-origin"};Xr(e)&&(u.credentials="include"),r.headers&&r.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let c;if(typeof r.authentication=="string"){let y=r.authentication;c={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(y)},!r.authentication.startsWith("AAPK")&&!r.authentication.startsWith("AAPT")&&!r.authentication.startsWith("AATK")&&!r.authentication.startsWith("AAST")&&!r.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(to("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 c=r.authentication;let d=e,p=!1;typeof window<"u"&&(p=ro(e));let g=!p&&eo(e);r.headers&&r.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let O=Promise.resolve();return g&&(u.credentials="include",O=Yi(e)),O.then(()=>c?c.getToken(e).catch(y=>(y.url=e,y.options=r,s=y,Promise.resolve(""))):Promise.resolve("")).then(y=>{y.length&&(a.token=y),c&&c.getDomainCredentials&&(u.credentials=c.getDomainCredentials(e));let A={};if(u.method==="GET"){a.token&&r.hideToken&&typeof window>"u"&&(A["X-Esri-Authorization"]=`Bearer ${a.token}`,delete a.token);let f=Ct(a)===""?e:e+"?"+Ct(a);r.maxUrlLength&&f.length>r.maxUrlLength||!r.maxUrlLength&&f.length>2e3||a.token&&r.hideToken?(u.method="POST",y.length&&r.hideToken&&(a.token=y,delete A["X-Esri-Authorization"])):e=f}let v=new RegExp("/items/.+/updateResources").test(e);return u.method==="POST"&&(u.body=Bi(a,v)),u.headers=Object.assign(Object.assign({},A),r.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=io),!Gr(a)&&!v&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,u):no().then(({fetch:f})=>f(e,u))}).then(y=>{if(!y.ok)return y.json().then(A=>{let{status:v,statusText:f}=y,{message:w,details:j}=A.error,S=`${w}. ${j?j.join(" "):""}`.trim();throw new ye(S,`HTTP ${v} ${f}`,A,e,r)}).catch(A=>{if(A.name==="ArcGISRequestError")throw A;let{status:v,statusText:f}=y;throw new ye(f,`HTTP ${v}`,y,e,r)});if(o)return y;switch(a.f){case"json":return y.json();case"geojson":return y.json();case"html":return y.text();case"text":return y.text();default:return y.blob()}}).then(y=>{if((a.f==="json"||a.f==="geojson")&&!o){let A=ao(y,d,a,r,s);if(y&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(y.authorizedCrossOriginNoCorsDomains)&&Zi(y.authorizedCrossOriginNoCorsDomains),s){let v=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];r.authentication.federatedServers[v]={token:[],expires:new Date(Date.now()+86400*1e3)},s=null}return A}else return y})}function Qr(e,t={params:{f:"json"}}){let{request:n}=t,r=ln(t,["request"]);return n?n(e,r):Br(e,r).catch(i=>i instanceof nt&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function so(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function Le(e={}){return e.portal?so(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}function uo(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 co(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function lo(e){return e.join(",")}function Yr(e,t,n){if(!e)return e;let r=null;return typeof e.thumbnail=="string"&&(r=`${t}/content/items/${e.id}/info/${e.thumbnail}`,r&&e.access!=="public"&&n&&(r+=`?${n}`)),Object.assign(Object.assign({},e),r?{thumbnailUrl:r}:{})}function fo(e){return uo(e).then(t=>{let n=e.folderId?`${Le(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${Le(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&co(e.params.extent)&&(e.params.extent=lo(e.params.extent));let r=Le(e),i=Yr(Object.assign(Object.assign({},e.item),{access:e.item.access}),r),o=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof o=="string"&&i.thumbnailUrl.split("?")[0]===o.split("?")[0]&&delete e.params.thumbnailUrl,Qr(n,e)})}function Zr(e,t){let n=po(e,t),r=Object.assign({httpMethod:"GET"},t);return Qr(n,r).then(async i=>{let o=t?.portal||Le(t),a;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(a=await t.authentication.getToken(n)),Yr(i,o,a)})}var po=(e,t)=>`${typeof t=="string"?t:Le(t)}/content/items/${e}`;function go(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||ho(n)||mo(n)||yo(n))}function ho(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function mo(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function yo(e){return!e.user&&e.ipCntryCode==="US"}var Re={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},ei="esri-telemetry";function vo(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!wo(e)||e.body)&&t()})}function bo(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${ei}="${n}"]`)}function wo(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:c,onerror:d}=e;if(typeof window>"u")throw new rt("Window is undefined: Cannot add script element.");if(bo(e)){console.log(`script (${r||i}) is already present, skipping`);return}let p=Oo({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:c,onerror:d});return o==="body"?document.body.appendChild(p):document.head.appendChild(p)}var rt=class extends Error{};function Oo({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let c=document.createElement("script");return e&&(c.id=e),t&&c.setAttribute(`data-${ei}`,t),a&&(c.src=a),o&&(c.innerText=o),c.type=n,c.async=r,c.defer=i,s&&(c.onload=s),u&&(c.onerror=u),c}function xo(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let i=r;r==="dataAttribute"&&(i="data-esri-telemetry"),t[r]&&n.push(`${i}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var So=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],Dt=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=go(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let o=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;o&&this.setUser(o,(i=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let i=t.email.split("@")[1];r=So.filter(o=>i===o).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(o));let a=i.map(s=>s.logPageView(t,o));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let o=r.map(a=>a.logEvent(i));return Promise.all(o).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let i=Object.assign({name:t,step:"start"},n);return this.logWorkflow(i),r}stepWorkflow(t,n,r={}){let i=typeof r=="string"?r:r.details,o=Object.assign({name:t,step:n,details:i},r);this.logWorkflow(o)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=Re.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=1800*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Re.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Re.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(Ao(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function Ao(e,t){return function(n,[r,i]){return ko(i)?n[r]=i:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(i)}. This will get logged as [object Object]`),n[r]=i),n}}function ko(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}var Ut=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return xo(this._getScripts())}async init(){if(typeof window>"u")throw new rt("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>vo(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),i=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:n}=t,r=ln(t,["action"]),i=n||"other",o=this.buildCustomParams(r);return window.gtag("event",i,o),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:i}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),i&&(n=Object.assign(Object.assign({},n),{event_label:i})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(i=>r.includes(i)).reduce((i,o)=>Object.assign(i,{[o]:t[o]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}},Tn="TELEMETRY_COGNITO_CREDENTIALS";function Io(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Re.get(Tn);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,i).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(o=>{let{IdentityId:a}=o,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(({Credentials:o})=>(Re.set(Tn,o),o))}function ti({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:Eo(t,r),value:e[r]}:{key:r,value:jo(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function jo(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function Eo(e,t){return`dimension${e[t]}`}var Po=["size","duration","position","number","count"];function ni(e,t={}){return Object.keys(e).filter(n=>t[n]||Po.includes(n)).map(n=>t[n]?{key:To(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function To(e,t){return`metric${e[t]}`}function _o({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=ni(e,n),u=ti({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),c=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(c.referrer=document.referrer),typeof window<"u"&&!c.hostname&&(c.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),c.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,c}function No({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=ni(n,i),a=ti({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:c,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:c,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function _n(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}var Co="function",Mo="string",ie="undefined",Do="boolean",Lt="object",Uo="array",Lo="number",Ro="symbol",zo="null",$o=function(){},Nn="__",Wo="form",Vo="input",Ho="button",qo="select",it=typeof process!==ie?process:{};it.env&&it.env.NODE_ENV;var Ke=typeof document!==ie;it.versions!=null&&it.versions.node!=null;typeof Deno!==ie&&Deno.core;Ke&&window.name==="nodejs"||typeof navigator!==ie&&typeof navigator.userAgent!==ie&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ri(e,t){return t.charAt(0)[e]()+t.slice(1)}var Ko=ri.bind(null,"toUpperCase"),Go=ri.bind(null,"toLowerCase");function Fo(e){return ii(e)?Ko(zo):typeof e===Lt?Bo(e):Object.prototype.toString.call(e).slice(8,-1)}function ot(e,t){t===void 0&&(t=!0);var n=Fo(e);return t?Go(n):n}function Ge(e,t){return typeof t===e}var Rt=Ge.bind(null,Co),zt=Ge.bind(null,Mo);Ge.bind(null,ie);Ge.bind(null,Do);Ge.bind(null,Ro);function ii(e){return e===null}function Jo(e){return ot(e)===Lo&&!isNaN(e)}function Xo(e){return ot(e)===Uo}function Bo(e){return Rt(e.constructor)?e.constructor.name:null}function Qo(e){return e instanceof Error||zt(e.message)&&e.constructor&&Jo(e.constructor.stackTraceLimit)}function oi(e,t){if(typeof t!="object"||ii(t))return!1;if(t instanceof e)return!0;var n=ot(new e(""));if(Qo(t))for(;t;){if(ot(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}oi.bind(null,TypeError);oi.bind(null,SyntaxError);function ct(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Yo(e,t):n}function Yo(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function lt(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}lt(ct,Wo);lt(ct,Ho);lt(ct,Vo);lt(ct,qo);function Zo(e){return e?Xo(e)?e:[e]:[]}function Cn(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function ea(){if(Ke){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function ta(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function na(e){return(function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=Cn(n[1]),a=Cn(n[2]);if(o)if(o.substring(o.length-2)==="[]"){var s=r[o=o.substring(0,o.length-2)]||(r[o]=[]);r[o]=Array.isArray(s)?s:[],r[o].push(a)}else r[o]=a===""||a}for(var u in r){var c=u.split("[");c.length>1&&(ra(r,c.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r})((function(t){return Ke&&window.location.search.substring(1)})())}function ra(e,t,n){for(var r=t.length-1,i=0;i<r;++i){var o=t[i];if(o==="__proto__"||o==="constructor")break;o in e||(e[o]={}),e=e[o]}e[t[r]]=n}function Ae(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&n;e+=r=="-"||r=="4"?r:(r=="x"?i:3&i|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var we="global",Te=Nn+we+Nn,_e=typeof self===Lt&&self.self===self&&self||typeof global===Lt&&global[we]===global&&global||void 0;function de(e){return _e[Te][e]}function le(e,t){return _e[Te][e]=t}function ke(e){delete _e[Te][e]}function pe(e,t,n){var r;try{if(ft(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}_e[Te]||(_e[Te]={});var Xe={};function ft(e){if(typeof Xe[e]!==ie)return Xe[e];try{var t=window[e];t.setItem(ie,ie),t.removeItem(ie)}catch{return Xe[e]=!1}return Xe[e]=!0}var Mn,Ve="__",$t=typeof process<"u"?process:{};(Mn=$t.env)!=null&&Mn.NODE_ENV;var fe=typeof window<"u";$t.versions!=null&&$t.versions.node!=null;typeof Deno<"u"&&Deno.core;fe&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function dt(e,t){return typeof t===e}var ae=dt.bind(null,"function"),et=dt.bind(null,"string");dt.bind(null,"undefined");var ia=dt.bind(null,"boolean");function oa(e){return Object.prototype.toString.call(e)==="[object Array]"}function aa(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!aa(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Wt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sa(e){if(Array.isArray(e))return Wt(e)}function ua(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ai(e,t){if(e){if(typeof e=="string")return Wt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wt(e,t)}}function ca(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as Pn}from"./GGKFJMLJ.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{b as En}from"./S7GXXB2P.js";import{F as jn,h as kn,p as In}from"./2ES34Q6J.js";import"./UQH76H3R.js";function ln(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Gr(e){return Object.keys(e).some(t=>{let n=e[t];if(!n)return!1;switch(n&&n.toParam&&(n=n.toParam()),n.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 Fr(e){let t={};return Object.keys(e).forEach(n=>{var r,i;let o=e[n];if(o&&o.toParam&&(o=o.toParam()),!o&&o!==0&&typeof o!="boolean"&&typeof o!="string")return;let a=o.constructor.name,s;switch(a){case"Array":let u=(i=(r=o[0])===null||r===void 0?void 0:r.constructor)===null||i===void 0?void 0:i.name;s=u==="Array"?o:u==="Object"?JSON.stringify(o):o.join(",");break;case"Object":s=JSON.stringify(o);break;case"Date":s=o.valueOf();break;case"Function":s=null;break;case"Boolean":s=o+"";break;default:s=o;break}(s||s===0||typeof s=="string"||Array.isArray(s))&&(t[n]=s)}),t}function Jr(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(n=>Jr(e,n)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function Ct(e){let t=Fr(e);return Object.keys(t).map(n=>Jr(n,t[n])).join("&")}var Xi=globalThis.FormData;function Bi(e,t){let n=Gr(e)||t,r=Fr(e);if(n){let i=new Xi;return Object.keys(r).forEach(o=>{if(typeof Blob<"u"&&r[o]instanceof Blob){let a=r.fileName||r[o].name||o;i.append(o,r[o],a)}else i.append(o,r[o])}),i}else return Ct(e)}var ye=class extends Error{constructor(t,n,r,i,o){super(t);let a=new.target.prototype;Object.setPrototypeOf(this,a),t=t||"UNKNOWN_ERROR",n=n||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=n==="UNKNOWN_ERROR_CODE"?t:`${n}: ${t}`,this.originalMessage=t,this.code=n,this.response=r,this.url=i,this.options=o}},Qi={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},Mt="ARCGIS_REST_JS_NO_CORS";globalThis[Mt]||(globalThis[Mt]=Object.assign({},Qi));var te=globalThis[Mt];function Yi(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let n=t.origin;return te.pendingNoCorsRequests[n]||(te.pendingNoCorsRequests[n]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(r=>{te.noCorsDomains.indexOf(n)===-1&&te.noCorsDomains.push(n),te.crossOriginNoCorsDomains[n.toLowerCase()]=Date.now(),delete te.pendingNoCorsRequests[n]}).catch(r=>(delete te.pendingNoCorsRequests[n],Promise.reject(new Error(`no-cors request to ${n} failed`))))),te.pendingNoCorsRequests[n]}function Zi(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?Ot(t):(Ot("http://"+t),Ot("https://"+t))})}function Ot(e){let t=new URL(e).origin;te.noCorsDomains.indexOf(t)===-1&&te.noCorsDomains.push(t)}function Xr(e){let t=!1;if(te.noCorsDomains.length){let n=new URL(e).origin.toLowerCase();t=te.noCorsDomains.some(r=>n.includes(r))}return t}function eo(e){let t=!1;if(Xr(e)){let n=new URL(e).origin.toLowerCase(),r=te.crossOriginNoCorsDomains[n]||0;Date.now()-60*6e4>r&&(t=!0)}return t}function to(e){console&&console.warn&&console.warn.apply(console,[e])}function no(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ro(e,t){var n;if(!t&&!window||!e)return!1;{t=t||window;let r=(n=t.location)===null||n===void 0?void 0:n.origin;return e.startsWith(r)}}var io="@esri/arcgis-rest-js";function oo(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var nt=class extends ye{constructor(t="AUTHENTICATION_ERROR",n="AUTHENTICATION_ERROR_CODE",r,i,o){super(t,n,r,i,o),this.name="ArcGISAuthError",this.message=n==="AUTHENTICATION_ERROR_CODE"?t:`${n}: ${t}`;let a=new.target.prototype;Object.setPrototypeOf(this,a)}retry(t,n=1){let r=0,i=(o,a)=>{r=r+1,t(this.url,this.options).then(s=>{let u=Object.assign(Object.assign({},this.options),{authentication:s});return Br(this.url,u)}).then(s=>{o(s)}).catch(s=>{s.name==="ArcGISAuthError"&&r<n?i(o,a):s.name===this.name&&s.message===this.message&&r>=n?a(this):a(s)})};return new Promise((o,a)=>{i(o,a)})}};function ao(e,t,n,r,i){if(e.code>=400){let{message:o,code:a}=e;throw new ye(o,a,e,t,r)}if(e.error){let{message:o,code:a,messageCode:s}=e.error,u=s||a||"UNKNOWN_ERROR_CODE";throw a===498||a===499?i||new nt(o,u,e,t,r):new ye(o,u,e,t,r)}if(e.status==="failed"||e.status==="failure"){let o,a="UNKNOWN_ERROR_CODE";try{o=JSON.parse(e.statusMessage).message,a=JSON.parse(e.statusMessage).code}catch{o=e.statusMessage||e.message}throw new ye(o,a,e,t,r)}return e}function Br(e,t){let n=oo(),r=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},n),t),{params:Object.assign(Object.assign({},n.params),t.params),headers:Object.assign(Object.assign({},n.headers),t.headers)}),{httpMethod:i,rawResponse:o}=r,a=Object.assign({f:"json"},r.params),s=null,u={method:i,signal:r.signal,credentials:r.credentials||"same-origin"};Xr(e)&&(u.credentials="include"),r.headers&&r.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let c;if(typeof r.authentication=="string"){let y=r.authentication;c={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(y)},!r.authentication.startsWith("AAPK")&&!r.authentication.startsWith("AAPT")&&!r.authentication.startsWith("AATK")&&!r.authentication.startsWith("AAST")&&!r.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(to("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 c=r.authentication;let d=e,p=!1;typeof window<"u"&&(p=ro(e));let g=!p&&eo(e);r.headers&&r.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let O=Promise.resolve();return g&&(u.credentials="include",O=Yi(e)),O.then(()=>c?c.getToken(e).catch(y=>(y.url=e,y.options=r,s=y,Promise.resolve(""))):Promise.resolve("")).then(y=>{y.length&&(a.token=y),c&&c.getDomainCredentials&&(u.credentials=c.getDomainCredentials(e));let A={};if(u.method==="GET"){a.token&&r.hideToken&&typeof window>"u"&&(A["X-Esri-Authorization"]=`Bearer ${a.token}`,delete a.token);let f=Ct(a)===""?e:e+"?"+Ct(a);r.maxUrlLength&&f.length>r.maxUrlLength||!r.maxUrlLength&&f.length>2e3||a.token&&r.hideToken?(u.method="POST",y.length&&r.hideToken&&(a.token=y,delete A["X-Esri-Authorization"])):e=f}let v=new RegExp("/items/.+/updateResources").test(e);return u.method==="POST"&&(u.body=Bi(a,v)),u.headers=Object.assign(Object.assign({},A),r.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=io),!Gr(a)&&!v&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,u):no().then(({fetch:f})=>f(e,u))}).then(y=>{if(!y.ok)return y.json().then(A=>{let{status:v,statusText:f}=y,{message:w,details:j}=A.error,S=`${w}. ${j?j.join(" "):""}`.trim();throw new ye(S,`HTTP ${v} ${f}`,A,e,r)}).catch(A=>{if(A.name==="ArcGISRequestError")throw A;let{status:v,statusText:f}=y;throw new ye(f,`HTTP ${v}`,y,e,r)});if(o)return y;switch(a.f){case"json":return y.json();case"geojson":return y.json();case"html":return y.text();case"text":return y.text();default:return y.blob()}}).then(y=>{if((a.f==="json"||a.f==="geojson")&&!o){let A=ao(y,d,a,r,s);if(y&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(y.authorizedCrossOriginNoCorsDomains)&&Zi(y.authorizedCrossOriginNoCorsDomains),s){let v=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];r.authentication.federatedServers[v]={token:[],expires:new Date(Date.now()+86400*1e3)},s=null}return A}else return y})}function Qr(e,t={params:{f:"json"}}){let{request:n}=t,r=ln(t,["request"]);return n?n(e,r):Br(e,r).catch(i=>i instanceof nt&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function so(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function Le(e={}){return e.portal?so(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}function uo(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 co(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function lo(e){return e.join(",")}function Yr(e,t,n){if(!e)return e;let r=null;return typeof e.thumbnail=="string"&&(r=`${t}/content/items/${e.id}/info/${e.thumbnail}`,r&&e.access!=="public"&&n&&(r+=`?${n}`)),Object.assign(Object.assign({},e),r?{thumbnailUrl:r}:{})}function fo(e){return uo(e).then(t=>{let n=e.folderId?`${Le(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${Le(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&co(e.params.extent)&&(e.params.extent=lo(e.params.extent));let r=Le(e),i=Yr(Object.assign(Object.assign({},e.item),{access:e.item.access}),r),o=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof o=="string"&&i.thumbnailUrl.split("?")[0]===o.split("?")[0]&&delete e.params.thumbnailUrl,Qr(n,e)})}function Zr(e,t){let n=po(e,t),r=Object.assign({httpMethod:"GET"},t);return Qr(n,r).then(async i=>{let o=t?.portal||Le(t),a;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(a=await t.authentication.getToken(n)),Yr(i,o,a)})}var po=(e,t)=>`${typeof t=="string"?t:Le(t)}/content/items/${e}`;function go(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||ho(n)||mo(n)||yo(n))}function ho(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function mo(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function yo(e){return!e.user&&e.ipCntryCode==="US"}var Re={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},ei="esri-telemetry";function vo(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!wo(e)||e.body)&&t()})}function bo(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${ei}="${n}"]`)}function wo(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:c,onerror:d}=e;if(typeof window>"u")throw new rt("Window is undefined: Cannot add script element.");if(bo(e)){console.log(`script (${r||i}) is already present, skipping`);return}let p=Oo({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:c,onerror:d});return o==="body"?document.body.appendChild(p):document.head.appendChild(p)}var rt=class extends Error{};function Oo({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let c=document.createElement("script");return e&&(c.id=e),t&&c.setAttribute(`data-${ei}`,t),a&&(c.src=a),o&&(c.innerText=o),c.type=n,c.async=r,c.defer=i,s&&(c.onload=s),u&&(c.onerror=u),c}function xo(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let i=r;r==="dataAttribute"&&(i="data-esri-telemetry"),t[r]&&n.push(`${i}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var So=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],Dt=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=go(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let o=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;o&&this.setUser(o,(i=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let i=t.email.split("@")[1];r=So.filter(o=>i===o).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(o));let a=i.map(s=>s.logPageView(t,o));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let o=r.map(a=>a.logEvent(i));return Promise.all(o).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let i=Object.assign({name:t,step:"start"},n);return this.logWorkflow(i),r}stepWorkflow(t,n,r={}){let i=typeof r=="string"?r:r.details,o=Object.assign({name:t,step:n,details:i},r);this.logWorkflow(o)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=Re.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=1800*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Re.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Re.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(Ao(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function Ao(e,t){return function(n,[r,i]){return ko(i)?n[r]=i:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(i)}. This will get logged as [object Object]`),n[r]=i),n}}function ko(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}var Ut=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return xo(this._getScripts())}async init(){if(typeof window>"u")throw new rt("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>vo(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),i=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:n}=t,r=ln(t,["action"]),i=n||"other",o=this.buildCustomParams(r);return window.gtag("event",i,o),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:i}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),i&&(n=Object.assign(Object.assign({},n),{event_label:i})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(i=>r.includes(i)).reduce((i,o)=>Object.assign(i,{[o]:t[o]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}},Tn="TELEMETRY_COGNITO_CREDENTIALS";function Io(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Re.get(Tn);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,i).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(o=>{let{IdentityId:a}=o,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(({Credentials:o})=>(Re.set(Tn,o),o))}function ti({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:Eo(t,r),value:e[r]}:{key:r,value:jo(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function jo(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function Eo(e,t){return`dimension${e[t]}`}var Po=["size","duration","position","number","count"];function ni(e,t={}){return Object.keys(e).filter(n=>t[n]||Po.includes(n)).map(n=>t[n]?{key:To(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function To(e,t){return`metric${e[t]}`}function _o({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=ni(e,n),u=ti({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),c=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(c.referrer=document.referrer),typeof window<"u"&&!c.hostname&&(c.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),c.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,c}function No({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=ni(n,i),a=ti({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:c,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:c,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function _n(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}var Co="function",Mo="string",ie="undefined",Do="boolean",Lt="object",Uo="array",Lo="number",Ro="symbol",zo="null",$o=function(){},Nn="__",Wo="form",Vo="input",Ho="button",qo="select",it=typeof process!==ie?process:{};it.env&&it.env.NODE_ENV;var Ke=typeof document!==ie;it.versions!=null&&it.versions.node!=null;typeof Deno!==ie&&Deno.core;Ke&&window.name==="nodejs"||typeof navigator!==ie&&typeof navigator.userAgent!==ie&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ri(e,t){return t.charAt(0)[e]()+t.slice(1)}var Ko=ri.bind(null,"toUpperCase"),Go=ri.bind(null,"toLowerCase");function Fo(e){return ii(e)?Ko(zo):typeof e===Lt?Bo(e):Object.prototype.toString.call(e).slice(8,-1)}function ot(e,t){t===void 0&&(t=!0);var n=Fo(e);return t?Go(n):n}function Ge(e,t){return typeof t===e}var Rt=Ge.bind(null,Co),zt=Ge.bind(null,Mo);Ge.bind(null,ie);Ge.bind(null,Do);Ge.bind(null,Ro);function ii(e){return e===null}function Jo(e){return ot(e)===Lo&&!isNaN(e)}function Xo(e){return ot(e)===Uo}function Bo(e){return Rt(e.constructor)?e.constructor.name:null}function Qo(e){return e instanceof Error||zt(e.message)&&e.constructor&&Jo(e.constructor.stackTraceLimit)}function oi(e,t){if(typeof t!="object"||ii(t))return!1;if(t instanceof e)return!0;var n=ot(new e(""));if(Qo(t))for(;t;){if(ot(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}oi.bind(null,TypeError);oi.bind(null,SyntaxError);function ct(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Yo(e,t):n}function Yo(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function lt(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}lt(ct,Wo);lt(ct,Ho);lt(ct,Vo);lt(ct,qo);function Zo(e){return e?Xo(e)?e:[e]:[]}function Cn(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function ea(){if(Ke){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function ta(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function na(e){return(function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=Cn(n[1]),a=Cn(n[2]);if(o)if(o.substring(o.length-2)==="[]"){var s=r[o=o.substring(0,o.length-2)]||(r[o]=[]);r[o]=Array.isArray(s)?s:[],r[o].push(a)}else r[o]=a===""||a}for(var u in r){var c=u.split("[");c.length>1&&(ra(r,c.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r})((function(t){return Ke&&window.location.search.substring(1)})())}function ra(e,t,n){for(var r=t.length-1,i=0;i<r;++i){var o=t[i];if(o==="__proto__"||o==="constructor")break;o in e||(e[o]={}),e=e[o]}e[t[r]]=n}function Ae(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&n;e+=r=="-"||r=="4"?r:(r=="x"?i:3&i|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var we="global",Te=Nn+we+Nn,_e=typeof self===Lt&&self.self===self&&self||typeof global===Lt&&global[we]===global&&global||void 0;function de(e){return _e[Te][e]}function le(e,t){return _e[Te][e]=t}function ke(e){delete _e[Te][e]}function pe(e,t,n){var r;try{if(ft(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}_e[Te]||(_e[Te]={});var Xe={};function ft(e){if(typeof Xe[e]!==ie)return Xe[e];try{var t=window[e];t.setItem(ie,ie),t.removeItem(ie)}catch{return Xe[e]=!1}return Xe[e]=!0}var Mn,Ve="__",$t=typeof process<"u"?process:{};(Mn=$t.env)!=null&&Mn.NODE_ENV;var fe=typeof window<"u";$t.versions!=null&&$t.versions.node!=null;typeof Deno<"u"&&Deno.core;fe&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function dt(e,t){return typeof t===e}var ae=dt.bind(null,"function"),et=dt.bind(null,"string");dt.bind(null,"undefined");var ia=dt.bind(null,"boolean");function oa(e){return Object.prototype.toString.call(e)==="[object Array]"}function aa(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!aa(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Wt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sa(e){if(Array.isArray(e))return Wt(e)}function ua(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ai(e,t){if(e){if(typeof e=="string")return Wt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wt(e,t)}}function ca(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5
5
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ze(e){return sa(e)||ua(e)||ai(e)||ca()}function Q(e){"@babel/helpers - typeof";return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Dn(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){n(c);return}s.done?t(u):Promise.resolve(u).then(r,i)}function se(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){Dn(o,r,i,a,s,"next",u)}function s(u){Dn(o,r,i,a,s,"throw",u)}a(void 0)})}}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Un(Object(n),!0).forEach(function(r){he(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Un(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var si={exports:{}};(function(e){var t=(function(n){var r=Object.prototype,i=r.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(h,b,l){return Object.defineProperty(h,b,{value:l,enumerable:!0,configurable:!0,writable:!0}),h[b]}try{d({},"")}catch{d=function(h,b,l){return h[b]=l}}function p(h,b,l,m){var x=b&&b.prototype instanceof w?b:w,I=Object.create(x.prototype),M=new q(m||[]);return I._invoke=C(h,l,M),I}n.wrap=p;function g(h,b,l){try{return{type:"normal",arg:h.call(b,l)}}catch(m){return{type:"throw",arg:m}}}var O="suspendedStart",y="suspendedYield",A="executing",v="completed",f={};function w(){}function j(){}function S(){}var E={};d(E,s,function(){return this});var P=Object.getPrototypeOf,T=P&&P(P(F([])));T&&T!==r&&i.call(T,s)&&(E=T);var L=S.prototype=w.prototype=Object.create(E);j.prototype=S,d(L,"constructor",S),d(S,"constructor",j),j.displayName=d(S,c,"GeneratorFunction");function R(h){["next","throw","return"].forEach(function(b){d(h,b,function(l){return this._invoke(b,l)})})}n.isGeneratorFunction=function(h){var b=typeof h=="function"&&h.constructor;return b?b===j||(b.displayName||b.name)==="GeneratorFunction":!1},n.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,S):(h.__proto__=S,d(h,c,"GeneratorFunction")),h.prototype=Object.create(L),h},n.awrap=function(h){return{__await:h}};function N(h,b){function l(I,M,U,W){var K=g(h[I],h,M);if(K.type==="throw")W(K.arg);else{var H=K.arg,V=H.value;return V&&typeof V=="object"&&i.call(V,"__await")?b.resolve(V.__await).then(function(X){l("next",X,U,W)},function(X){l("throw",X,U,W)}):b.resolve(V).then(function(X){H.value=X,U(H)},function(X){return l("throw",X,U,W)})}}var m;function x(I,M){function U(){return new b(function(W,K){l(I,M,W,K)})}return m=m?m.then(U,U):U()}this._invoke=x}R(N.prototype),d(N.prototype,u,function(){return this}),n.AsyncIterator=N,n.async=function(h,b,l,m,x){x===void 0&&(x=Promise);var I=new N(p(h,b,l,m),x);return n.isGeneratorFunction(b)?I:I.next().then(function(M){return M.done?M.value:I.next()})};function C(h,b,l){var m=O;return function(x,I){if(m===A)throw new Error("Generator is already running");if(m===v){if(x==="throw")throw I;return z()}for(l.method=x,l.arg=I;;){var M=l.delegate;if(M){var U=G(M,l);if(U){if(U===f)continue;return U}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(m===O)throw m=v,l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);m=A;var W=g(h,b,l);if(W.type==="normal"){if(m=l.done?v:y,W.arg===f)continue;return{value:W.arg,done:l.done}}else W.type==="throw"&&(m=v,l.method="throw",l.arg=W.arg)}}}function G(h,b){var l=h.iterator[b.method];if(l===o){if(b.delegate=null,b.method==="throw"){if(h.iterator.return&&(b.method="return",b.arg=o,G(h,b),b.method==="throw"))return f;b.method="throw",b.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var m=g(l,h.iterator,b.arg);if(m.type==="throw")return b.method="throw",b.arg=m.arg,b.delegate=null,f;var x=m.arg;if(!x)return b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,f;if(x.done)b[h.resultName]=x.value,b.next=h.nextLoc,b.method!=="return"&&(b.method="next",b.arg=o);else return x;return b.delegate=null,f}R(L),d(L,c,"Generator"),d(L,s,function(){return this}),d(L,"toString",function(){return"[object Generator]"});function $(h){var b={tryLoc:h[0]};1 in h&&(b.catchLoc=h[1]),2 in h&&(b.finallyLoc=h[2],b.afterLoc=h[3]),this.tryEntries.push(b)}function D(h){var b=h.completion||{};b.type="normal",delete b.arg,h.completion=b}function q(h){this.tryEntries=[{tryLoc:"root"}],h.forEach($,this),this.reset(!0)}n.keys=function(h){var b=[];for(var l in h)b.push(l);return b.reverse(),function m(){for(;b.length;){var x=b.pop();if(x in h)return m.value=x,m.done=!1,m}return m.done=!0,m}};function F(h){if(h){var b=h[s];if(b)return b.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var l=-1,m=function x(){for(;++l<h.length;)if(i.call(h,l))return x.value=h[l],x.done=!1,x;return x.value=o,x.done=!0,x};return m.next=m}}return{next:z}}n.values=F;function z(){return{value:o,done:!0}}return q.prototype={constructor:q,reset:function(h){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(D),!h)for(var b in this)b.charAt(0)==="t"&&i.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=o)},stop:function(){this.done=!0;var h=this.tryEntries[0],b=h.completion;if(b.type==="throw")throw b.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var b=this;function l(W,K){return I.type="throw",I.arg=h,b.next=W,K&&(b.method="next",b.arg=o),!!K}for(var m=this.tryEntries.length-1;m>=0;--m){var x=this.tryEntries[m],I=x.completion;if(x.tryLoc==="root")return l("end");if(x.tryLoc<=this.prev){var M=i.call(x,"catchLoc"),U=i.call(x,"finallyLoc");if(M&&U){if(this.prev<x.catchLoc)return l(x.catchLoc,!0);if(this.prev<x.finallyLoc)return l(x.finallyLoc)}else if(M){if(this.prev<x.catchLoc)return l(x.catchLoc,!0)}else if(U){if(this.prev<x.finallyLoc)return l(x.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(h,b){for(var l=this.tryEntries.length-1;l>=0;--l){var m=this.tryEntries[l];if(m.tryLoc<=this.prev&&i.call(m,"finallyLoc")&&this.prev<m.finallyLoc){var x=m;break}}x&&(h==="break"||h==="continue")&&x.tryLoc<=b&&b<=x.finallyLoc&&(x=null);var I=x?x.completion:{};return I.type=h,I.arg=b,x?(this.method="next",this.next=x.finallyLoc,f):this.complete(I)},complete:function(h,b){if(h.type==="throw")throw h.arg;return h.type==="break"||h.type==="continue"?this.next=h.arg:h.type==="return"?(this.rval=this.arg=h.arg,this.method="return",this.next="end"):h.type==="normal"&&b&&(this.next=b),f},finish:function(h){for(var b=this.tryEntries.length-1;b>=0;--b){var l=this.tryEntries[b];if(l.finallyLoc===h)return this.complete(l.completion,l.afterLoc),D(l),f}},catch:function(h){for(var b=this.tryEntries.length-1;b>=0;--b){var l=this.tryEntries[b];if(l.tryLoc===h){var m=l.completion;if(m.type==="throw"){var x=m.arg;D(l)}return x}}throw new Error("illegal catch attempt")},delegateYield:function(h,b,l){return this.delegate={iterator:F(h),resultName:b,nextLoc:l},this.method==="next"&&(this.arg=o),f}},n})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(si);var B=si.exports,me="function",ue="undefined",$e="reducer",ui="@@redux/",Vt=ui+"INIT",la=ui+Math.random().toString(36),Ln=(function(){return(typeof Symbol>"u"?"undefined":Q(Symbol))===me&&Symbol.observable||"@@observable"})(),Be=" != "+me;function ci(e,t,n){if(Q(t)===me&&Q(n)===ue&&(n=t,t=void 0),Q(n)!==ue){if(Q(n)!==me)throw new Error("enhancer"+Be);return n(ci)(e,t)}if(Q(e)!==me)throw new Error($e+Be);var r=e,i=t,o=[],a=o,s=!1;function u(){a===o&&(a=o.slice())}function c(){return i}function d(y){if(Q(y)!==me)throw new Error("Listener"+Be);var A=!0;return u(),a.push(y),function(){if(A){A=!1,u();var v=a.indexOf(y);a.splice(v,1)}}}function p(y){if(!ne(y))throw new Error("Act != obj");if(Q(y.type)===ue)throw new Error("ActType "+ue);if(s)throw new Error("Dispatch in "+$e);try{s=!0,i=r(i,y)}finally{s=!1}for(var A=o=a,v=0;v<A.length;v++){var f=A[v];f()}return y}function g(y){if(Q(y)!==me)throw new Error("next "+$e+Be);r=y,p({type:Vt})}function O(){var y=d;return he({subscribe:function(A){if(Q(A)!=="object")throw new TypeError("Observer != obj");function v(){A.next&&A.next(c())}v();var f=y(v);return{unsubscribe:f}}},Ln,function(){return this})}return p({type:Vt}),he({dispatch:p,subscribe:d,getState:c,replaceReducer:g},Ln,O)}function fa(e,t){var n=t&&t.type,r=n&&n.toString()||"?";return"action "+r+$e+" "+e+" returns "+ue}function da(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:Vt});if(Q(r)===ue||Q(n(void 0,{type:la}))===ue)throw new Error($e+" "+t+" "+ue)})}function pa(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];Q(e[i])===me&&(n[i]=e[i])}var o=Object.keys(n),a;try{da(n)}catch(s){a=s}return function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;if(a)throw a;for(var c=!1,d={},p=0;p<o.length;p++){var g=o[p],O=n[g],y=s[g],A=O(y,u);if(Q(A)===ue){var v=fa(g,u);throw new Error(v)}d[g]=A,c=c||A!==y}return c?d:s}}function Ne(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,i){return function(){return r(i.apply(void 0,arguments))}})}function ga(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(i,o,a){var s=r(i,o,a),u=s.dispatch,c=[],d={getState:s.getState,dispatch:function(p){return u(p)}};return c=t.map(function(p){return p(d)}),u=Ne.apply(void 0,ze(c))(s.dispatch),k(k({},s),{},{dispatch:u})}}}var ve=Ve+"anon_id",Oe=Ve+"user_id",Ee=Ve+"user_traits",Ht="analytics",ge="userId",Ie="anonymousId",ha="https://lytics.dev/errors/",at=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],qt=["name","EVENTS","config","loaded"],ma={registerPluginType:function(e){return"registerPlugin:".concat(e)},pluginReadyType:function(e){return"ready:".concat(e)}},ya=at.reduce(function(e,t){return e[t]=t,e},ma),_=ya;function va(e){return at.includes(e)}var Rn=/^utm_/,zn=/^an_prop_/,$n=/^an_trait_/;function ba(e){var t=e.storage.setItem;return function(n){return function(r){return function(i){if(i.type===_.bootstrap){var o=i.params,a=i.user,s=i.persistedUser,u=i.initialUser,c=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t(ve,a.anonymousId),c||t(Oe,a.userId),u.traits&&t(Ee,k(k({},c&&s.traits?s.traits:{}),u.traits));var d=Object.keys(i.params);if(d.length){var p=o.an_uid,g=o.an_event,O=d.reduce(function(y,A){if(A.match(Rn)||A.match(/^(d|g)clid/)){var v=A.replace(Rn,""),f=v==="campaign"?"name":v;y.campaign[f]=o[A]}return A.match(zn)&&(y.props[A.replace(zn,"")]=o[A]),A.match($n)&&(y.traits[A.replace($n,"")]=o[A]),y},{campaign:{},props:{},traits:{}});n.dispatch(k(k({type:_.params,raw:o},O),p?{userId:p}:{})),p&&setTimeout(function(){return e.identify(p,O.traits)},0),g&&setTimeout(function(){return e.track(g,O.props)},0),Object.keys(O.campaign).length&&n.dispatch({type:_.campaign,campaign:O.campaign})}}return r(i)}}}}function wa(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n.type===_.setItemEnd){if(n.key===ve)return k(k({},t),{anonymousId:n.value});if(n.key===Oe)return k(k({},t),{userId:n.value})}switch(n.type){case _.identify:return Object.assign({},t,{userId:n.userId,traits:k(k({},t.traits),n.traits)});case _.reset:return[Oe,ve,Ee].forEach(function(r){e.removeItem(r)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function li(e){return{userId:e.getItem(Oe),anonymousId:e.getItem(ve),traits:e.getItem(Ee)}}var fn=function(e){return Ve+"TEMP"+Ve+e};function Oa(e){return function(t,n,r){var i=n.getState("user")[t];if(i)return i;if(r&&ne(r)&&r[t])return r[t];var o=li(e)[t];return o||de(fn(t))||null}}function xa(e){var t=e.storage,n=t.setItem,r=t.removeItem,i=t.getItem;return function(o){return function(a){return function(s){var u=s.userId,c=s.traits,d=s.options;if(s.type===_.reset&&([Oe,Ee,ve].forEach(function(O){r(O)}),[ge,Ie,"traits"].forEach(function(O){ke(fn(O))})),s.type===_.identify){i(ve)||n(ve,Ae());var p=i(Oe),g=i(Ee)||{};p&&p!==u&&o.dispatch({type:_.userIdChanged,old:{userId:p,traits:g},new:{userId:u,traits:c},options:d}),u&&n(Oe,u),c&&n(Ee,k(k({},g),c))}return a(s)}}}}var Ue={};function fi(e,t){Ue[e]&&ae(Ue[e])&&(Ue[e](t),delete Ue[e])}function di(e,t,n){return new Promise(function(r,i){return t()?r(e):n<1?i(k(k({},e),{},{queue:!0})):Sa(10).then(function(o){return di(e,t,n-10).then(r,i)})})}function Sa(e){return new Promise(function(t){return setTimeout(t,e)})}function pi(e,t,n){var r=t(),i=e.getState(),o=i.plugins,a=i.context,s=i.queue,u=i.user,c=!a.offline;if(c&&s&&s.actions&&s.actions.length){var d=s.actions.reduce(function(g,O,y){var A=o[O.plugin].loaded;return A?(g.process.push(O),g.processIndex.push(y)):(g.requeue.push(O),g.requeueIndex.push(y)),g},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(d.processIndex&&d.processIndex.length){d.processIndex.forEach(function(g){var O=s.actions[g],y=O.plugin,A=O.payload.type,v=r[y][A];if(v&&ae(v)){var f=ka(O.payload,u);v({payload:f,config:o[y].config,instance:n});var w="".concat(A,":").concat(y);e.dispatch(k(k({},f),{},{type:w,_:{called:w,from:"queueDrain"}}))}});var p=s.actions.filter(function(g,O){return!~d.processIndex.indexOf(O)});s.actions=p}}}function Aa(e,t,n){return setInterval(function(){return pi(e,t,n)},3e3)}function ka(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[ge,Ie].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}function Ia(e){if(Array.isArray(e))return e}function ja(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(u){o=!0,s=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Ea(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6
6
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pa(e,t){return Ia(e)||ja(e,t)||ai(e,t)||Ea()}function Ta(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(e).filter(function(r){var i=n.plugins||{};return ia(i[r])?i[r]:!(i.all===!1||t[r]&&t[r].enabled===!1)}).map(function(r){return e[r]})}var Ce=/Start$/,Wn=/^bootstrap/,Vn=/^ready/;function _a(e,t,n,r,i){return Kt.apply(this,arguments)}function Kt(){return Kt=se(B.mark(function e(t,n,r,i,o){var a,s,u,c,d,p,g,O,y,A,v;return B.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(a=ae(n)?n():n,s=t.type,u=s.replace(Ce,""),!(t._&&t._.called)){f.next=5;break}return f.abrupt("return",t);case 5:return c=r.getState(),d=Ta(a,c.plugins,t.options),s===_.initializeStart&&t.fromEnable&&(d=Object.keys(c.plugins).filter(function(w){var j=c.plugins[w];return t.plugins.includes(w)&&!j.initialized}).map(function(w){return a[w]})),p=d.map(function(w){return w.name}),g=Ca(s,d),f.next=12,xt({action:t,data:{exact:g.before,namespaced:g.beforeNS},state:c,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 12:if(O=f.sent,!gi(O,p.length)){f.next=15;break}return f.abrupt("return",O);case 15:if(s!==u){f.next=19;break}y=O,f.next=22;break;case 19:return f.next=21,xt({action:k(k({},O),{},{type:u}),data:{exact:g.during,namespaced:g.duringNS},state:c,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 21:y=f.sent;case 22:if(!s.match(Ce)){f.next=28;break}return A="".concat(u,"End"),f.next=26,xt({action:k(k({},y),{},{type:A}),data:{exact:g.after,namespaced:g.afterNS},state:c,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 26:v=f.sent,v.meta&&v.meta.hasCallback&&fi(v.meta.rid,{payload:v});case 28:return f.abrupt("return",O);case 29:case"end":return f.stop()}},e)})),Kt.apply(this,arguments)}function xt(e){return Gt.apply(this,arguments)}function Gt(){return Gt=se(B.mark(function e(t){var n,r,i,o,a,s,u,c,d,p,g,O,y,A,v,f,w,j;return B.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return n=t.data,r=t.action,i=t.instance,o=t.state,a=t.allPlugins,s=t.allMatches,u=t.store,c=t.EVENTS,d=o.plugins,p=o.context,g=r.type,O=g.match(Ce),y=n.exact.map(function(E){return E.pluginName}),O&&(y=s.during.map(function(E){return E.pluginName})),A=Ma(i,y),v=n.exact.reduce(function(E,P){var T=P.pluginName,L=P.methodName,R=!1;return!L.match(/^initialize/)&&!L.match(/^reset/)&&(R=!d[T].loaded),p.offline&&L.match(/^(page|track|identify)/)&&(R=!0),E["".concat(T)]=R,E},{}),S.next=10,n.exact.reduce((function(){var E=se(B.mark(function P(T,L,R){var N,C,G;return B.wrap(function($){for(;;)switch($.prev=$.next){case 0:return N=L.pluginName,$.next=3,T;case 3:if(C=$.sent,!(n.namespaced&&n.namespaced[N])){$.next=11;break}return $.next=7,n.namespaced[N].reduce((function(){var D=se(B.mark(function q(F,z,h){var b,l,m,x;return B.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return l=function(M,U,W){return function(K,H){var V=W||U;return k(k({},M),{},{abort:{reason:K,plugins:H||[U],caller:g,from:V}})}},I.next=3,F;case 3:if(b=I.sent,!(!z.method||!ae(z.method))){I.next=6;break}return I.abrupt("return",b);case 6:return La(z.methodName,z.pluginName),I.next=9,z.method({payload:b,instance:i,abort:l(b,N,z.pluginName),config:Hn(z.pluginName,d,a),plugins:d});case 9:return m=I.sent,x=ne(m)?m:{},I.abrupt("return",Promise.resolve(k(k({},b),x)));case 12:case"end":return I.stop()}},q)}));return function(q,F,z){return D.apply(this,arguments)}})(),Promise.resolve(r));case 7:G=$.sent,C[N]=G,$.next=12;break;case 11:C[N]=r;case 12:return $.abrupt("return",Promise.resolve(C));case 13:case"end":return $.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}})(),Promise.resolve({}));case 10:return f=S.sent,S.next=13,n.exact.reduce((function(){var E=se(B.mark(function P(T,L,R){var N,C,G,$,D,q,F,z,h,b,l,m,x;return B.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return N=n.exact.length===R+1,C=L.pluginName,G=a[C],I.next=5,T;case 5:if($=I.sent,D=f[C]?f[C]:{},O&&(D=$),!At(D,C)){I.next=11;break}return St({data:D,method:g,instance:i,pluginName:C,store:u}),I.abrupt("return",Promise.resolve($));case 11:if(!At($,C)){I.next=14;break}return N&&St({data:$,method:g,instance:i,store:u}),I.abrupt("return",Promise.resolve($));case 14:if(!(v.hasOwnProperty(C)&&v[C]===!0)){I.next=17;break}return u.dispatch({type:"queue",plugin:C,payload:D,_:{called:"queue",from:"queueMechanism"}}),I.abrupt("return",Promise.resolve($));case 17:return q=A(f[C],a[C]),I.next=20,G[g]({abort:q.abort,payload:D,instance:i,config:Hn(C,d,a),plugins:d});case 20:return F=I.sent,z=ne(F)?F:{},h=k(k({},$),z),b=f[C],At(b,C)?St({data:b,method:g,instance:i,pluginName:C,store:u}):(l="".concat(g,":").concat(C),m=(l.match(/:/g)||[]).length,m<2&&!g.match(Wn)&&!g.match(Vn)&&(x=O?h:D,i.dispatch(k(k({},x),{},{type:l,_:{called:l,from:"submethod"}})))),I.abrupt("return",Promise.resolve(h));case 26:case"end":return I.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}})(),Promise.resolve(r));case 13:if(w=S.sent,!(!g.match(Ce)&&!g.match(/^registerPlugin/)&&!g.match(Vn)&&!g.match(Wn)&&!g.match(/^params/)&&!g.match(/^userIdChanged/))){S.next=21;break}if(c.plugins.includes(g),!(w._&&w._.originalAction===g)){S.next=18;break}return S.abrupt("return",w);case 18:j=k(k({},w),{_:{originalAction:w.type,called:w.type,from:"engineEnd"}}),gi(w,n.exact.length)&&!g.match(/End$/)&&(j=k(k({},j),{type:w.type+"Aborted"})),u.dispatch(j);case 21:return S.abrupt("return",w);case 22:case"end":return S.stop()}},e)})),Gt.apply(this,arguments)}function St(e){var t=e.data,n=e.method;e.instance;var r=e.pluginName,i=e.store,o=r?":"+r:"",a=n+"Aborted"+o;i.dispatch(k(k({},t),{},{type:a,_:{called:a,from:"abort"}}))}function Hn(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function qn(e,t){return t.reduce(function(n,r){return r[e]?n.concat({methodName:e,pluginName:r.name,method:r[e]}):n},[])}function Na(e){return e.replace(Ce,"")}function Kn(e,t){var n=Na(e),r=t?":".concat(t):"",i="".concat(e).concat(r),o="".concat(n).concat(r),a="".concat(n,"End").concat(r);return[i,o,a]}function Ca(e,t,n){var r=Kn(e),i=r.map(function(o){return qn(o,t)});return t.reduce(function(o,a){var s=a.name,u=Kn(e,s),c=u.map(function(y){return qn(y,t)}),d=Pa(c,3),p=d[0],g=d[1],O=d[2];return p.length&&(o.beforeNS[s]=p),g.length&&(o.duringNS[s]=g),O.length&&(o.afterNS[s]=O),o},{before:i[0],beforeNS:{},during:i[1],duringNS:{},after:i[2],afterNS:{}})}function At(e,t){var n=e.abort;return n?n===!0?!0:Gn(n,t)||n&&Gn(n.plugins,t):!1}function gi(e,t){var n=e.abort;if(!n)return!1;if(n===!0||et(n))return!0;var r=n.plugins;return He(n)&&n.length===t||He(r)&&r.length===t}function He(e){return Array.isArray(e)}function Gn(e,t){return!e||!He(e)?!1:e.includes(t)}function Ma(e,t){return function(n,r,i){var o=r.config,a=r.name,s="".concat(a,".").concat(n.type);i&&(s=i.event);var u=n.type.match(Ce)?Da(a,s,t,i,n):Ua(n,s);return{payload:Ra(n),instance:e,config:o||{},abort:u}}}function Da(e,t,n,r,i){return function(o,a){var s=r?r.name:e,u=a&&He(a)?a:n;if(r&&(u=a&&He(a)?a:[e],!u.includes(e)||u.length!==1))throw new Error("Method ".concat(t," can only abort ").concat(e," plugin. ").concat(JSON.stringify(u)," input valid"));return k(k({},i),{},{abort:{reason:o,plugins:u,caller:t,_:s}})}}function Ua(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function La(e,t){var n=Fn(e),r=n&&n.name===t;if(r){var i=Fn(n.method),o=i?"or "+i.method:"";throw new Error([t+" plugin is calling method "+e,"Plugins cant call self","Use ".concat(n.method," ").concat(o," in ").concat(t," plugin insteadof ").concat(e)].join(`
|
|
7
7
|
`))}}function Fn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function Ra(e){return Object.keys(e).reduce(function(t,n){return n==="type"||(ne(e[n])?t[n]=Object.assign({},e[n]):t[n]=e[n]),t},{})}function za(e,t,n){var r={};return function(i){return function(o){return(function(){var a=se(B.mark(function s(u){var c,d,p,g,O,y,A,v,f,w,j,S;return B.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(c=u.type,d=u.abort,p=u.plugins,g=u,!d){E.next=4;break}return E.abrupt("return",o(u));case 4:if(c===_.enablePlugin&&i.dispatch({type:_.initializeStart,plugins:p,disabled:[],fromEnable:!0,meta:u.meta}),c===_.disablePlugin&&setTimeout(function(){return fi(u.meta.rid,{payload:u})},0),c===_.initializeEnd&&(O=t(),y=Object.keys(O),A=y.filter(function(P){return p.includes(P)}).map(function(P){return O[P]}),v=[],f=[],w=u.disabled,j=A.map(function(P){var T=P.loaded,L=P.name;return di(P,T,1e4).then(function(R){return r[L]||(i.dispatch({type:_.pluginReadyType(L),name:L,events:Object.keys(P).filter(function(N){return!qt.includes(N)})}),r[L]=!0),v=v.concat(L),P}).catch(function(R){if(R instanceof Error)throw new Error(R);return f=f.concat(R.name),R})}),Promise.all(j).then(function(P){var T={plugins:v,failed:f,disabled:w};setTimeout(function(){y.length===j.length+w.length&&i.dispatch(k(k({},{type:_.ready}),T))},0)})),c===_.bootstrap){E.next=13;break}return/^ready:([^:]*)$/.test(c)&&setTimeout(function(){return pi(i,t,e)},0),E.next=11,_a(u,t,e,i,n);case 11:return S=E.sent,E.abrupt("return",o(S));case 13:return E.abrupt("return",o(g));case 14:case"end":return E.stop()}},s)}));return function(s){return a.apply(this,arguments)}})()}}}function $a(e){return function(t){return function(n){return function(r){var i=r.type,o=r.key,a=r.value,s=r.options;if(i===_.setItem||i===_.removeItem){if(r.abort)return n(r);i===_.setItem?e.setItem(o,a,s):e.removeItem(o,s)}return n(r)}}}}function Wa(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Va(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Ha=Wa(function e(){var t=this;Va(this,e),he(this,"before",[]),he(this,"after",[]),he(this,"addMiddleware",function(n,r){t[r]=t[r].concat(n)}),he(this,"removeMiddleware",function(n,r){var i=t[r].findIndex(function(o){return o===n});i!==-1&&(t[r]=[].concat(ze(t[r].slice(0,i)),ze(t[r].slice(i+1))))}),he(this,"dynamicMiddlewares",function(n){return function(r){return function(i){return function(o){var a={getState:r.getState,dispatch:function(u){return r.dispatch(u)}},s=t[n].map(function(u){return u(a)});return Ne.apply(void 0,ze(s))(i)(o)}}}})});function qa(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r={};if(n.type==="initialize:aborted")return t;if(/^registerPlugin:([^:]*)$/.test(n.type)){var i=Jn(n.type,"registerPlugin"),o=e()[i];if(!o||!i)return t;var a=n.enabled;return r[i]={enabled:a,initialized:a?!o.initialize:!1,loaded:a?!!o.loaded():!1,config:o.config||{}},k(k({},t),r)}if(/^initialize:([^:]*)$/.test(n.type)){var s=Jn(n.type,_.initialize),u=e()[s];return!u||!s?t:(r[s]=k(k({},t[s]),{initialized:!0,loaded:!!u.loaded()}),k(k({},t),r))}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=k(k({},t[n.name]),{loaded:!0}),k(k({},t),r);switch(n.type){case _.disablePlugin:return k(k({},t),Xn(n.plugins,!1,t));case _.enablePlugin:return k(k({},t),Xn(n.plugins,!0,t));default:return t}}}function Jn(e,t){return e.substring(t.length+1,e.length)}function Xn(e,t,n){return e.reduce(function(r,i){return r[i]=k(k({},n[i]),{enabled:t}),r},n)}function hi(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var Ka={last:{},history:[]};function Ga(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ka,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.event,i=t.properties,o=t.options,a=t.meta;switch(n){case _.track:var s=hi(k(k({event:r,properties:i},Object.keys(o).length&&{options:o}),{},{meta:a}));return k(k({},e),{last:s,history:e.history.concat(s)});default:return e}}var Fa={actions:[]};function Ja(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Fa,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"queue":var i;return r&&r.type&&r.type===_.identify?i=[t].concat(e.actions):i=e.actions.concat(t),k(k({},e),{},{actions:i});case"dequeue":return[];default:return e}}var mi=/#.*$/;function Xa(){if(fe){for(var e=document.getElementsByTagName("link"),t=0,n;n=e[t];t++)if(n.getAttribute("rel")==="canonical")return n.getAttribute("href")}}function Ba(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,n=t.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(mi,""):"";return"/"+r}function Qa(e){var t=Xa();return t?t.match(/\?/)?t:t+e:window.location.href.replace(mi,"")}var Ya=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!fe)return e;var t=document,n=t.title,r=t.referrer,i=window,o=i.location,a=i.innerWidth,s=i.innerHeight,u=o.hash,c=o.search,d=Qa(c),p={title:n,url:d,path:Ba(d),hash:u,search:c,width:a,height:s};return r&&r!==""&&(p.referrer=r),k(k({},p),e)},Za={last:{},history:[]};function es(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Za,t=arguments.length>1?arguments[1]:void 0,n=t.properties,r=t.options,i=t.meta;switch(t.type){case _.page:var o=hi(k({properties:n,meta:i},Object.keys(r).length&&{options:r}));return k(k({},e),{last:o,history:e.history.concat(o)});default:return e}}function ts(){if(!fe)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"}var yi,vi,bi,wi;yi=ts(),vi=fe?document.referrer:null,bi=ea(),wi=ta();var Bn={initialized:!1,sessionId:Ae(),app:null,version:null,debug:!1,offline:fe?!navigator.onLine:!1,os:{name:yi},userAgent:fe?navigator.userAgent:"node",library:{name:Ht,version:"0.10.22"},timezone:wi,locale:bi,campaign:{},referrer:vi};function ns(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bn,t=arguments.length>1?arguments[1]:void 0,n=e.initialized,r=t.type,i=t.campaign;switch(r){case _.campaign:return k(k({},e),{campaign:i});case _.offline:return k(k({},e),{offline:!0});case _.online:return k(k({},e),{offline:!1});default:return n?e:k(k(k({},Bn),e),{initialized:!0})}}var rs=["plugins","reducers","storage"];function is(e){return Object.keys(e).reduce(function(t,n){return rs.includes(n)||(t[n]=e[n]),t},{})}function os(e,t,n){if(fe){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(i){r(i,t)})}}function as(){return Promise.resolve(!navigator.onLine)}function ss(e){var t=function(r){return as().then(e)},n=os.bind(null,"online offline",t);return n(!0),function(r){return n(!1)}}function Oi(){return le(Ht,[]),function(e){return function(t,n,r){var i=e(t,n,r),o=i.dispatch,a=function(s){var u=s.action||s;return _e[Te][Ht].push(u),o(s)};return Object.assign(i,{dispatch:a})}}}function Qn(e){return function(){return Ne(Ne.apply(null,arguments),Oi())}}function kt(e){return e?oa(e)?e:[e]:[]}function us(e){for(var t=e||Array.prototype.slice.call(arguments),n,r=0;r<t.length;r++)if(ae(t[r])){n=t[r];break}return n}function cs(){return new Date().getTime()}function ls(e,t){return function(n){t&&t(n),e(n)}}function Yn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=Ae();return t&&(Ue[r]=ls(t,us(n))),k(k({},e),{},{rid:r,ts:cs()},t?{hasCallback:!0}:{})}function fs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},n=e.initialUser||{},r=(e.plugins||[]).reduce(function(l,m){if(ae(m))return l.middlewares=l.middlewares.concat(m),l;if(m.NAMESPACE&&(m.name=m.NAMESPACE),!m.name)throw new Error(ha+"1");var x=m.EVENTS?Object.keys(m.EVENTS).map(function(H){return m.EVENTS[H]}):[],I=m.enabled!==!1,M=!(m.config&&m.config.enabled===!1);l.pluginEnabled[m.name]=I&&M,delete m.enabled,m.methods&&(l.methods[m.name]=Object.keys(m.methods).reduce(function(H,V){return H[V]=b(m.methods[V]),H},{}),delete m.methods);var U=Object.keys(m),W=U.concat(x),K=new Set(l.events.concat(W));if(l.events=Array.from(K),l.pluginsArray=l.pluginsArray.concat(m),l.plugins[m.name])throw new Error(m.name+"AlreadyLoaded");return l.plugins[m.name]=m,l.plugins[m.name].loaded||(l.plugins[m.name].loaded=function(){return!0}),l},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=e.storage?e.storage:{getItem:de,setItem:le,removeItem:ke},o=Oa(i),a=r.plugins,s=r.events.filter(function(l){return!qt.includes(l)}).sort(),u=new Set(s.concat(at).filter(function(l){return!qt.includes(l)})),c=Array.from(u).sort(),d=function(){return a},p=new Ha,g=p.addMiddleware,O=p.removeMiddleware,y=p.dynamicMiddlewares,A=function(){throw new Error("Abort disabled inListener")},v=na(),f=li(i),w=k(k(k(k({},f),n),v.an_uid?{userId:v.an_uid}:{}),v.an_aid?{anonymousId:v.an_aid}:{});w.anonymousId||(w.anonymousId=Ae());var j=k({enable:function(l,m){return new Promise(function(x){D.dispatch({type:_.enablePlugin,plugins:kt(l),_:{originalAction:_.enablePlugin}},x,[m])})},disable:function(l,m){return new Promise(function(x){D.dispatch({type:_.disablePlugin,plugins:kt(l),_:{originalAction:_.disablePlugin}},x,[m])})}},r.methods),S={identify:(function(){var l=se(B.mark(function x(I,M,U,W){var K,H,V,X,Fe;return B.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:return K=et(I)?I:null,H=ne(I)?I:M,V=U||{},X=S.user(),le(fn(ge),K),Fe=K||H.userId||o(ge,S,H),Je.abrupt("return",new Promise(function(Ji){D.dispatch(k({type:_.identifyStart,userId:Fe,traits:H||{},options:V,anonymousId:X.anonymousId},X.id&&X.id!==K&&{previousId:X.id}),Ji,[M,U,W])}));case 7:case"end":return Je.stop()}},x)}));function m(x,I,M,U){return l.apply(this,arguments)}return m})(),track:(function(){var l=se(B.mark(function x(I,M,U,W){var K,H,V;return B.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(K=ne(I)?I.event:I,!(!K||!et(K))){X.next=3;break}throw new Error("EventMissing");case 3:return H=ne(I)?I:M||{},V=ne(U)?U:{},X.abrupt("return",new Promise(function(Fe){D.dispatch({type:_.trackStart,event:K,properties:H,options:V,userId:o(ge,S,M),anonymousId:o(Ie,S,M)},Fe,[M,U,W])}));case 6:case"end":return X.stop()}},x)}));function m(x,I,M,U){return l.apply(this,arguments)}return m})(),page:(function(){var l=se(B.mark(function x(I,M,U){var W,K;return B.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return W=ne(I)?I:{},K=ne(M)?M:{},H.abrupt("return",new Promise(function(V){D.dispatch({type:_.pageStart,properties:Ya(W),options:K,userId:o(ge,S,W),anonymousId:o(Ie,S,W)},V,[I,M,U])}));case 3:case"end":return H.stop()}},x)}));function m(x,I,M){return l.apply(this,arguments)}return m})(),user:function(l){if(l===ge||l==="id")return o(ge,S);if(l===Ie||l==="anonId")return o(Ie,S);var m=S.getState("user");return l?_n(m,l):m},reset:function(l){return new Promise(function(m){D.dispatch({type:_.resetStart},m,l)})},ready:function(l){return S.on(_.ready,l)},on:function(l,m){if(!l||!ae(m))return!1;if(l===_.bootstrap)throw new Error(".on disabled for "+l);var x=/Start$|Start:/;if(l==="*"){var I=function(K){return function(H){return function(V){return V.type.match(x)&&m({payload:V,instance:S,plugins:a}),H(V)}}},M=function(K){return function(H){return function(V){return V.type.match(x)||m({payload:V,instance:S,plugins:a}),H(V)}}};return g(I,Qe),g(M,Ye),function(){O(I,Qe),O(M,Ye)}}var U=l.match(x)?Qe:Ye,W=function(K){return function(H){return function(V){return V.type===l&&m({payload:V,instance:S,plugins:a,abort:A}),H(V)}}};return g(W,U),function(){return O(W,U)}},once:function(l,m){if(!l||!ae(m))return!1;if(l===_.bootstrap)throw new Error(".once disabled for "+l);var x=S.on(l,function(I){var M=I.payload;m({payload:M,instance:S,plugins:a,abort:A}),x()});return x},getState:function(l){var m=D.getState();return l?_n(m,l):Object.assign({},m)},dispatch:function(l){var m=et(l)?{type:l}:l;if(va(m.type))throw new Error("reserved action "+m.type);var x=l._||{},I=k(k({},m),{},{_:k({originalAction:m.type},x)});D.dispatch(I)},enablePlugin:j.enable,disablePlugin:j.disable,plugins:j,storage:{getItem:i.getItem,setItem:function(l,m,x){D.dispatch({type:_.setItemStart,key:l,value:m,options:x})},removeItem:function(l,m){D.dispatch({type:_.removeItemStart,key:l,options:m})}},setAnonymousId:function(l,m){S.storage.setItem(ve,l,m)},events:{all:c,core:at,plugins:s}},E=function(l){return function(m){return function(x){return x.meta||(x.meta=Yn()),m(x)}}},P=r.middlewares.concat([E,y(Qe),za(S,d,{all:c,plugins:s}),$a(i),ba(S),xa(S),y(Ye)]),T={context:ns,user:wa(i),page:es,track:Ga,plugins:qa(d),queue:Ja},L=Ne,R=Ne;if(fe&&e.debug){var N=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;N&&(L=N({trace:!0,traceLimit:25})),R=function(){return arguments.length===0?Oi():ne(Q(arguments[0]))?Qn():Qn().apply(null,arguments)}}var C=is(e),G=r.pluginsArray.reduce(function(l,m){var x=m.name,I=m.config,M=m.loaded,U=r.pluginEnabled[x];return l[x]={enabled:U,initialized:U?!m.initialize:!1,loaded:!!M(),config:I||{}},l},{}),$={context:C,user:w,plugins:G},D=ci(pa(k(k({},T),t)),$,R(L(ga.apply(void 0,ze(P)))));function q(l){return function(m,x,I){var M=Yn(m.meta,x,kt(I)),U=k(k({},m),{meta:M});return l.apply(null,[U])}}D.dispatch=q(D.dispatch);var F=Object.keys(a);D.dispatch({type:_.bootstrap,plugins:F,config:C,params:v,user:w,initialUser:n,persistedUser:f});var z=F.filter(function(l){return r.pluginEnabled[l]}),h=F.filter(function(l){return!r.pluginEnabled[l]});D.dispatch({type:_.registerPlugins,plugins:F,enabled:r.pluginEnabled}),r.pluginsArray.map(function(l,m){var x=l.bootstrap,I=l.config,M=l.name;x&&ae(x)&&x({instance:S,config:I,payload:l}),D.dispatch({type:_.registerPluginType(M),name:M,enabled:r.pluginEnabled[M],plugin:l}),r.pluginsArray.length===m+1&&D.dispatch({type:_.initializeStart,plugins:z,disabled:h})}),ss(function(l){D.dispatch({type:l?_.offline:_.online})}),Aa(D,d,S);function b(l){return function(){for(var m=Array.prototype.slice.call(arguments),x=new Array(l.length),I=0;I<m.length;I++)x[I]=m[I];return x[x.length]=S,l.apply({instance:S},x)}}return S}var Qe="before",Ye="after",xe="cookie",be=Ai(),dn=pt,xi=pt;function Si(e){return be?pt(e,"",-1):ke(e)}function Ai(){if(be!==void 0)return be;var e=xe+xe;try{pt(e,e),be=document.cookie.indexOf(e)!==-1,Si(e)}catch{be=!1}return be}function pt(e,t,n,r,i,o){if(typeof window<"u"){var a=arguments.length>1;return be===!1&&(a?le(e,t):de(e)),a?document.cookie=e+"="+encodeURIComponent(t)+(n?"; expires="+new Date(+new Date+1e3*n).toUTCString()+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var ce="localStorage",ds=ft.bind(null,ce),pn=pe(ce,"getItem",de),ps=pe(ce,"setItem",le),ki=pe(ce,"removeItem",ke),We="sessionStorage",gs=ft.bind(null,"sessionStorage");pe("sessionStorage","getItem",de);pe("sessionStorage","setItem",le);pe("sessionStorage","removeItem",ke);var Zn,Ii="any",ji="*",Ft=typeof process<"u"?process:{};(Zn=Ft.env)!=null&&Zn.NODE_ENV;var hs=typeof window<"u";Ft.versions!=null&&Ft.versions.node!=null;typeof Deno<"u"&&Deno.core;hs&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function gt(e,t){return typeof t===e}gt.bind(null,"function");var ms=gt.bind(null,"string"),je=gt.bind(null,"undefined");gt.bind(null,"boolean");function ys(e){return e&&(typeof e=="object"||e!==null)}function vs(e){if(!ys(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Pe(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(vs(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var bs=ds(),ws=gs(),Os=Ai();function Ei(e,t){if(e){var n=gn(t),r=!vn(n),i=hn(n)?Pe(localStorage.getItem(e)):void 0;if(r&&!je(i))return i;var o=mn(n)?Pe(dn(e)):void 0;if(r&&o)return o;var a=yn(n)?Pe(sessionStorage.getItem(e)):void 0;if(r&&a)return a;var s=de(e);return r?s:{localStorage:i,sessionStorage:a,cookie:o,global:s}}}function xs(e,t,n){if(e&&!je(t)){var r={},i=gn(n),o=JSON.stringify(t),a=!vn(i);return hn(i)&&(r[ce]=Ze(ce,t,Pe(localStorage.getItem(e))),localStorage.setItem(e,o),a)?r[ce]:mn(i)&&(r[xe]=Ze(xe,t,Pe(dn(e))),xi(e,o),a)?r[xe]:yn(i)&&(r[We]=Ze(We,t,Pe(sessionStorage.getItem(e))),sessionStorage.setItem(e,o),a)?r[We]:(r[we]=Ze(we,t,de(e)),le(e,t),a?r[we]:r)}}function Ss(e,t){if(e){var n=gn(t),r=Ei(e,ji),i={};return!je(r.localStorage)&&hn(n)&&(localStorage.removeItem(e),i[ce]=r.localStorage),!je(r.cookie)&&mn(n)&&(Si(e),i[xe]=r.cookie),!je(r.sessionStorage)&&yn(n)&&(sessionStorage.removeItem(e),i[We]=r.sessionStorage),!je(r.global)&&ht(n,we)&&(ke(e),i[we]=r.global),i}}function gn(e){return e?ms(e)?e:e.storage:Ii}function hn(e){return bs&&ht(e,ce)}function mn(e){return Os&&ht(e,xe)}function yn(e){return ws&&ht(e,We)}function vn(e){return e===ji||e==="all"}function ht(e,t){return e===Ii||e===t||vn(e)}function Ze(e,t,n){return{location:e,current:t,previous:n}}var As={setItem:xs,getItem:Ei,removeItem:Ss};function ks(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function tr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?er(Object(n),!0).forEach(function(r){ks(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Is(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:As};return fs(tr(tr({},t),e))}function re(e){"@babel/helpers - typeof";return re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},re(e)}function js(e,t){if(re(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(re(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Es(e){var t=js(e,"string");return re(t)=="symbol"?t:t+""}function bn(e,t,n){return(t=Es(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nr(Object(n),!0).forEach(function(r){bn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Pi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rr={exports:{}},ir={exports:{}},or;function Ti(){return or||(or=1,(function(e){function t(n,r){this.v=n,this.k=r}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ir)),ir.exports}var ar={exports:{}},sr={exports:{}},ur;function _i(){return ur||(ur=1,(function(e){function t(n,r,i,o){var a=Object.defineProperty;try{a({},"",{})}catch{a=0}e.exports=t=function(s,u,c,d){function p(g,O){t(s,g,function(y){return this._invoke(g,O,y)})}u?a?a(s,u,{value:c,enumerable:!d,configurable:!d,writable:!d}):s[u]=c:(p("next",0),p("throw",1),p("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,i,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(sr)),sr.exports}var cr;function Ni(){return cr||(cr=1,(function(e){var t=_i();function n(){var r,i,o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function u(v,f,w,j){var S=f&&f.prototype instanceof d?f:d,E=Object.create(S.prototype);return t(E,"_invoke",(function(P,T,L){var R,N,C,G=0,$=L||[],D=!1,q={p:0,n:0,v:r,a:F,f:F.bind(r,4),d:function(z,h){return R=z,N=0,C=r,q.n=h,c}};function F(z,h){for(N=z,C=h,i=0;!D&&G&&!b&&i<$.length;i++){var b,l=$[i],m=q.p,x=l[2];z>3?(b=x===h)&&(C=l[(N=l[4])?5:(N=3,3)],l[4]=l[5]=r):l[0]<=m&&((b=z<2&&m<l[1])?(N=0,q.v=h,q.n=l[1]):m<x&&(b=z<3||l[0]>h||h>x)&&(l[4]=z,l[5]=h,q.n=x,N=0))}if(b||z>1)return c;throw D=!0,h}return function(z,h,b){if(G>1)throw TypeError("Generator is already running");for(D&&h===1&&F(h,b),N=h,C=b;(i=N<2?r:C)||!D;){R||(N?N<3?(N>1&&(q.n=-1),F(N,C)):q.n=C:q.v=C);try{if(G=2,R){if(N||(z="next"),i=R[z]){if(!(i=i.call(R,C)))throw TypeError("iterator result is not an object");if(!i.done)return i;C=i.value,N<2&&(N=0)}else N===1&&(i=R.return)&&i.call(R),N<2&&(C=TypeError("The iterator does not provide a '"+z+"' method"),N=1);R=r}else if((i=(D=q.n<0)?C:P.call(T,q))!==c)break}catch(l){R=r,N=1,C=l}finally{G=1}}return{value:i,done:D}}})(v,w,j),!0),E}var c={};function d(){}function p(){}function g(){}i=Object.getPrototypeOf;var O=[][a]?i(i([][a]())):(t(i={},a,function(){return this}),i),y=g.prototype=d.prototype=Object.create(O);function A(v){return Object.setPrototypeOf?Object.setPrototypeOf(v,g):(v.__proto__=g,t(v,s,"GeneratorFunction")),v.prototype=Object.create(y),v}return p.prototype=g,t(y,"constructor",g),t(g,"constructor",p),p.displayName="GeneratorFunction",t(g,s,"GeneratorFunction"),t(y),t(y,s,"Generator"),t(y,a,function(){return this}),t(y,"toString",function(){return"[object Generator]"}),(e.exports=n=function(){return{w:u,m:A}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(ar)),ar.exports}var lr={exports:{}},fr={exports:{}},dr={exports:{}},pr;function Ci(){return pr||(pr=1,(function(e){var t=Ti(),n=_i();function r(i,o){function a(u,c,d,p){try{var g=i[u](c),O=g.value;return O instanceof t?o.resolve(O.v).then(function(y){a("next",y,d,p)},function(y){a("throw",y,d,p)}):o.resolve(O).then(function(y){g.value=y,d(g)},function(y){return a("throw",y,d,p)})}catch(y){p(y)}}var s;this.next||(n(r.prototype),n(r.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(u,c,d){function p(){return new o(function(g,O){a(u,d,g,O)})}return s=s?s.then(p,p):p()},!0)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(dr)),dr.exports}var gr;function Mi(){return gr||(gr=1,(function(e){var t=Ni(),n=Ci();function r(i,o,a,s,u){return new n(t().w(i,o,a,s),u||Promise)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(fr)),fr.exports}var hr;function Ps(){return hr||(hr=1,(function(e){var t=Mi();function n(r,i,o,a,s){var u=t(r,i,o,a,s);return u.next().then(function(c){return c.done?c.value:u.next()})}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(lr)),lr.exports}var mr={exports:{}},yr;function Ts(){return yr||(yr=1,(function(e){function t(n){var r=Object(n),i=[];for(var o in r)i.unshift(o);return function a(){for(;i.length;)if((o=i.pop())in r)return a.value=o,a.done=!1,a;return a.done=!0,a}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(mr)),mr.exports}var vr={exports:{}},br={exports:{}},wr;function _s(){return wr||(wr=1,(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(br)),br.exports}var Or;function Ns(){return Or||(Or=1,(function(e){var t=_s().default;function n(r){if(r!=null){var i=r[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],o=0;if(i)return i.call(r);if(typeof r.next=="function")return r;if(!isNaN(r.length))return{next:function(){return r&&o>=r.length&&(r=void 0),{value:r&&r[o++],done:!r}}}}throw new TypeError(t(r)+" is not iterable")}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(vr)),vr.exports}var xr;function Cs(){return xr||(xr=1,(function(e){var t=Ti(),n=Ni(),r=Ps(),i=Mi(),o=Ci(),a=Ts(),s=Ns();function u(){var c=n(),d=c.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(d):d.__proto__).constructor;function g(A){var v=typeof A=="function"&&A.constructor;return!!v&&(v===p||(v.displayName||v.name)==="GeneratorFunction")}var O={throw:1,return:2,break:3,continue:3};function y(A){var v,f;return function(w){v||(v={stop:function(){return f(w.a,2)},catch:function(){return w.v},abrupt:function(j,S){return f(w.a,O[j],S)},delegateYield:function(j,S,E){return v.resultName=S,f(w.d,s(j),E)},finish:function(j){return f(w.f,j)}},f=function(j,S,E){w.p=v.prev,w.n=v.next;try{return j(S,E)}finally{v.next=w.n}}),v.resultName&&(v[v.resultName]=w.v,v.resultName=void 0),v.sent=w.v,v.next=w.n;try{return A.call(this,v)}finally{w.p=v.prev,w.n=v.next}}}return(e.exports=u=function(){return{wrap:function(A,v,f,w){return c.w(y(A),v,f,w&&w.reverse())},isGeneratorFunction:g,mark:c.m,awrap:function(A,v){return new t(A,v)},AsyncIterator:o,async:function(A,v,f,w,j){return(g(v)?i:r)(y(A),v,f,w,j)},keys:a,values:s}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(rr)),rr.exports}var It,Sr;function Ms(){if(Sr)return It;Sr=1;var e=Cs()();It=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return It}var Ds=Ms(),J=Pi(Ds);function Ar(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}function oe(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){Ar(o,r,i,a,s,"next",u)}function s(u){Ar(o,r,i,a,s,"throw",u)}a(void 0)})}}var kr=function(){};function Us(e,t){var n,r,i,o=(t=t||{}).initial||[],a=t.max||1/0,s=t.interval||1e4,u=t.onEmpty||kr,c=t.onPause||kr;function d(g){clearInterval(n);var O=o.splice(0,a);return O.length&&e(O,o),o.length?g?d():p():(i=!1,u(o))}function p(){i=!0,n=setInterval(d,s)}return o.length&&p(),{flush:function(g){d(g)},resume:d,push:function(g){return(r=o.push(g))>=a&&!t.throttle&&d(),i||p(),r},size:function(){return o.length},pause:function(g){g&&d(),clearInterval(n),i=!1,c(o)}}}var mt="sessionStorage";ft.bind(null,mt);var Ls=pe(mt,"getItem",de),Rs=pe(mt,"setItem",le);pe(mt,"removeItem",ke);var tt="__",yt="session",Di=tt+yt,Ui="page",Ir=["id","createdAt","created"];function Jt(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function Li(){var e=Jt(),t=e[0],n=e[1];return{id:Ae(),created:n,createdAt:t}}var zs={session:[Ls,Rs],page:[de,le]};function vt(e,t){for(var n=zs[e],r=n[0],i=n[1],o=Li(),a=!1,s={},u=0;u<Ir.length;u++){var c=Ir[u],d=tt+e+tt+yt+tt+c,p=r(d);a=t||!p,(t||!t&&!p)&&i(d,o[c]);var g=p&&!t?p:o[c],O=c!=="created"?g:Number(g);s[c]=O}return wn(s,a)}function wn(e,t){var n=Date.now();return e.elapsed=n-e.created,e.expires&&(e.remaining=Math.max(e.expires-n,0),e.isExpired=e.remaining===0),e.isNew=t,e}function qe(e,t){e===void 0&&(e=30);var n=dn(Di),r=n?JSON.parse(n):st(e);return t?r:wn(r,!n)}function st(e,t,n){e===void 0&&(e=30);var r=n?qe(e,!0):Li(),i=60*e,o=r.created;if(n){var a=Jt(),s=a[0],u=a[1];r.modified=u,r.modifiedAt=s,o=u}var c=Jt(o+1e3*i),d=c[0];return r.expires=c[1],r.expiresAt=d,r.duration=1e3*i,t&&(r=Object.assign(r,t)),xi(Di,JSON.stringify(r),i),wn(r,!n)}var $s=function(e,t){return st(e,t,!0)},Ri=vt.bind(null,yt),Ws=vt.bind(null,yt,!0),On=vt.bind(null,Ui),jr=vt.bind(null,Ui,!0),Se=typeof window<"u";function Vs(e){return typeof e=="string"}function Er(e){return typeof e=="boolean"}var jt,Pr;function Hs(){if(Pr)return jt;Pr=1;var e=function(f){return t(f)&&!n(f)};function t(f){return!!f&&typeof f=="object"}function n(f){var w=Object.prototype.toString.call(f);return w==="[object RegExp]"||w==="[object Date]"||o(f)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function o(f){return f.$$typeof===i}function a(f){return Array.isArray(f)?[]:{}}function s(f,w){return w.clone!==!1&&w.isMergeableObject(f)?A(a(f),f,w):f}function u(f,w,j){return f.concat(w).map(function(S){return s(S,j)})}function c(f,w){if(!w.customMerge)return A;var j=w.customMerge(f);return typeof j=="function"?j:A}function d(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(w){return Object.propertyIsEnumerable.call(f,w)}):[]}function p(f){return Object.keys(f).concat(d(f))}function g(f,w){try{return w in f}catch{return!1}}function O(f,w){return g(f,w)&&!(Object.hasOwnProperty.call(f,w)&&Object.propertyIsEnumerable.call(f,w))}function y(f,w,j){var S={};return j.isMergeableObject(f)&&p(f).forEach(function(E){S[E]=s(f[E],j)}),p(w).forEach(function(E){O(f,E)||(g(f,E)&&j.isMergeableObject(w[E])?S[E]=c(E,j)(f[E],w[E],j):S[E]=s(w[E],j))}),S}function A(f,w,j){j=j||{},j.arrayMerge=j.arrayMerge||u,j.isMergeableObject=j.isMergeableObject||e,j.cloneUnlessOtherwiseSpecified=s;var S=Array.isArray(w),E=Array.isArray(f),P=S===E;return P?S?j.arrayMerge(f,w,j):y(f,w,j):s(w,j)}A.all=function(f,w){if(!Array.isArray(f))throw new Error("first argument should be an array");return f.reduce(function(j,S){return A(j,S,w)},{})};var v=A;return jt=v,jt}var qs=Hs(),Ks=Pi(qs);var Xt=new TextEncoder,Gs={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},Fs=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),Bt=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:r,service:i,region:o,cache:a,retries:s,initRetryMs:u}){if(t==null)throw new TypeError("accessKeyId is a required option");if(n==null)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=r,this.service=i,this.region=o,this.cache=a||new Map,this.retries=s??10,this.initRetryMs=u||50}async sign(t,n){if(t instanceof Request){let{method:o,url:a,headers:s,body:u}=t;n=Object.assign({method:o,url:a,headers:s},n),n.body==null&&s.has("Content-Type")&&(n.body=u!=null&&s.has("X-Amz-Content-Sha256")?u:await t.clone().arrayBuffer()),t=a}let r=new Qt(Object.assign({url:t.toString()},n,this,n&&n.aws)),i=Object.assign({},n,await r.sign());delete i.aws;try{return new Request(i.url.toString(),i)}catch(o){if(o instanceof TypeError)return new Request(i.url.toString(),Object.assign({duplex:"half"},i));throw o}}async fetch(t,n){for(let r=0;r<=this.retries;r++){let i=fetch(await this.sign(t,n));if(r===this.retries)return i;let o=await i;if(o.status<500&&o.status!==429)return o;await new Promise(a=>setTimeout(a,Math.random()*this.initRetryMs*Math.pow(2,r)))}throw new Error("An unknown error occurred, ensure retries is not negative")}},Qt=class{constructor({method:t,url:n,headers:r,body:i,accessKeyId:o,secretAccessKey:a,sessionToken:s,service:u,region:c,cache:d,datetime:p,signQuery:g,appendSessionToken:O,allHeaders:y,singleEncode:A}){if(n==null)throw new TypeError("url is a required option");if(o==null)throw new TypeError("accessKeyId is a required option");if(a==null)throw new TypeError("secretAccessKey is a required option");this.method=t||(i?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(r||{}),this.body=i,this.accessKeyId=o,this.secretAccessKey=a,this.sessionToken=s;let v,f;(!u||!c)&&([v,f]=Js(this.url,this.headers)),this.service=u||v||"",this.region=c||f||"us-east-1",this.cache=d||new Map,this.datetime=p||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=g,this.appendSessionToken=O||this.service==="iotdevicegateway",this.headers.delete("Host"),this.service==="s3"&&!this.signQuery&&!this.headers.has("X-Amz-Content-Sha256")&&this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");let w=this.signQuery?this.url.searchParams:this.headers;if(w.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&w.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(S=>y||!Fs.has(S)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(S=>S+":"+(S==="host"?this.url.host:(this.headers.get(S)||"").replace(/\s+/g," "))).join(`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as d}from"./GGKFJMLJ.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{b as o}from"./S7GXXB2P.js";import{F as n,h as l,i as e,l as a,p as t}from"./2ES34Q6J.js";import"./UQH76H3R.js";var r=l`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import"./UQH76H3R.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
4
|
function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as _}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as _}from"./6HLRUCZG.js";import{b as m}from"./OCORZHZK.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{D as h,E as u,F as g,H as r,h as d,i as s}from"./2ES34Q6J.js";import"./UQH76H3R.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(e){this.pages=e,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},f=d`:host{--instant-apps-app-guide-width: 300px;--instant-apps-app-guide-height: 400px;--instant-apps-app-guide-list-item-bubble-size: 22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:.5rem;padding-inline:.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-icon-color: var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item:before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}`,l={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},o=class extends g{constructor(){super(...arguments),this._messages=_({name:"instant-apps-app-guide"}),this._viewModel=new c,this._carouselRef=h(),this.header=!0}static{this.properties={headerText:16,header:5,data:0}}static{this.styles=f}load(){this._setContent(this.data)}willUpdate(e){e.has("data")&&this._setContent(this.data),e.has("headerText")&&(this._viewModel.headerText=this.headerText)}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:{value:t},_messages:a}=this;if(!(e&&t))return;let i=Array.from(t.children).indexOf(t.selectedItem),n=e?.pages,p=n?.[i]??n[0];this.headerText=p?.title||a.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return s`<calcite-panel scale=s>${t}<calcite-carousel label="App Guide" @calciteCarouselChange=${()=>this._updateHeaderText()} .arrowType=${this._getArrowType()} ${u(this._carouselRef)}>${e}</calcite-carousel></calcite-panel>`}_renderAppGuideHeader(){let{_messages:e,header:t,headerText:a}=this,i=!!t&&e.headerText,n=a||e.headerText;return i?s`<span slot=header-content>${n} <calcite-icon icon=lightbulb scale=s></calcite-icon></span>`:null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:i,type:n,title:p}=t;return s`<calcite-carousel-item .label=${p}><div class=${r(l.contentWrapper)}>${this._renderContentItems(i,n)}</div></calcite-carousel-item>`})}_renderContentItems(e,t){switch(t){case"list":return s`<ol class=${r(l.contentList)}>${e.map((a,i)=>s`<li class=${r(l.contentListItem)}>${a}</li>`)}</ol>`;case"paragraphs":default:return e.map((a,i)=>s`<p>${a}</p>`)}}};m("instant-apps-app-guide",o);export{o as InstantAppsAppGuide};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a,b}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a,b}from"./F3MCBCB6.js";import"./COFVR5QC.js";import"./LWA5F2BZ.js";import"./C46SRFOU.js";import"./UQH76H3R.js";export{a as SiteEditorTypes,b as getSiteSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as l}from"./6HLRUCZG.js";import{b as h}from"./OCORZHZK.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{F as r,H as n,h as i,i as a}from"./2ES34Q6J.js";import"./UQH76H3R.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{A as D,B as y,k as P,u as k,v as w,w as V,x as m,y as h,z as A}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{A as D,B as y,k as P,u as k,v as w,w as V,x as m,y as h,z as A}from"./2ES34Q6J.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
4
|
export default $arcgis.t(([])=>{var e=(a=>(a.GRID="GRID",a.HORIZONTAL="HORIZONTAL",a.VERTICAL="VERTICAL",a))(e||{}),o=(a=>(a[a.Add=0]="Add",a[a.Update=1]="Update",a[a.Remove=2]="Remove",a[a.None=3]="None",a[a.Obsolete=4]="Obsolete",a))(o||{}),t=(a=>(a[a.LIST=0]="LIST",a[a.SELECT=1]="SELECT",a[a.EXPORT=2]="EXPORT",a[a.REFINE=3]="REFINE",a))(t||{}),E=(a=>(a.ADD="ADD",a.REMOVE="REMOVE",a))(E||{});var i=(a=>(a.SEARCH="SEARCH",a.SELECT="SELECT",a.SKETCH="SKETCH",a.REFINE="REFINE",a))(i||{}),r=(a=>(a.CSV="CSV",a.PDF="PDF",a))(r||{}),n=(a=>(a.SKETCH="SKETCH",a.REFINE="REFINE",a))(n||{}),c="{{params.wkid||",p="}}",C=500,l=(a=>(a.AEC="Architecture, Engineering, and Construction (AEC)",a.AIRPORTPORTRAIL="Airports, Ports, and Rails",a.BUSINESS="Business",a.CONSERVATION="Conservation",a.DEFENSE="Defense",a.FACILITIES="Facilities",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.PIPELINE="Pipeline",a.PUBLICSAFETY="Public Safety",a.RENEWABLES="Renewables",a.STATEANDLOCALGOVERNMENT="State and Local Government",a.TELECOMMUNICATIONS="Telecommunications",a.UTILITIES="Utilities",a))(l||{}),A=(a=>(a.AIRPORT="Airports",a.AGRICULTURE="Agriculture",a.ASSESSMENTANDTAXATION="Assessment and Taxation",a.DISTRICTENERGY="District Energy",a.ELECTIONS="Elections",a.ELECTRIC="Electric",a.EMERGENCYMANAGEMENT="Emergency Management",a.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",a.FIRESERVICE="Fire Service",a.FISHANDWILDLIFE="Fish and Wildlife",a.GAS="Gas",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.LAWENFORCEMENT="Law Enforcement",a.NATURALRESOURCES="Natural Resources",a.PARKS="Parks",a.PLANNINGANDDEVELOPMENT="Planning and Development",a.PROTECTEDAREAS="Protected Areas",a.PUBLICWORKS="Public Works",a.SEWER="Sewer",a.STORMWATER="Stormwater",a.TELECOMMUNICATIONS="Telecommunications",a.TRANSPORTATION="Transportation",a.WATER="Water Distribution",a))(A||{});var T=(a=>(a.OWNER="My solutions",a.ORGANIZATION="My organization's solutions",a))(T||{}),R=(a=>(a.HUBPREMIUM="solutions:hubPremium",a.NOTEBOOK="solutions:notebook",a.TRACKINGBASE="solutions:locationtracking",a.TRACKING="solutions:locationtracking:tracking",a.TRACKINGADMIN="solutions:locationtracking:admin",a.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",a.VELOCITY="solutions:velocity",a.WORKFLOW="solutions:workflowManager",a))(R||{});var O='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',L="(typekeywords:Solution,Template)",m="portal:user:addExternalMembersToGroup",D="portal:user:createItem",d="portal:user:createGroup",P="portal:publisher:publishBigDataAnalytics",b="portal:publisher:publishFeatures",g="portal:publisher:publishFeeds",G="portal:publisher:publishServerGPServices",M="portal:publisher:publishRealTimeAnalytics",h="portal:user:shareToGroup",F="solutions:hubPremium",k="solutions:notebook",H="solutions:locationtracking:admin:tracking",y="solutions:locationtracking:tracking",U="solutions:locationtracking:admin",V="solutions:velocity",v="solutions:workflowManager",w=250;return{a:e,b:o,c:t,d:E,e:i,f:r,g:n,h:c,i:p,j:C,k:l,l:A,m:T,n:R,o:O,p:L,q:m,r:D,s:d,t:P,u:b,v:g,w:G,x:M,y:h,z:F,A:k,B:H,C:y,D:U,E:V,F:v,G:w}},"identity/IdentityManager","identity/OAuthInfo","portal/Portal")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import"./UQH76H3R.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
|