@esri/solutions-components 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/2DREXAAI.js +20 -0
- package/dist/cdn/2HCC42DE.js +4 -0
- package/dist/cdn/{XDTSRIUV.js → 2KQCEICX.js} +4 -4
- package/dist/cdn/2N4CQXHT.js +4 -0
- package/dist/cdn/{PFD6TBZM.js → 2RQJQWZN.js} +2 -2
- package/dist/cdn/{JYTMSQVX.js → 2TV52QIG.js} +2 -2
- package/dist/cdn/{BM7MU2L4.js → 2WXZBSU3.js} +2 -2
- package/dist/cdn/{ZRPPJQRE.js → 34FKJAYZ.js} +2 -2
- package/dist/cdn/{2VDJE4V4.js → 34K3UEZZ.js} +2 -2
- package/dist/cdn/{RM3ZEQXS.js → 3BCY5VBO.js} +2 -2
- package/dist/cdn/{7XRIDSQA.js → 3J3GWPGS.js} +2 -2
- package/dist/cdn/{7V252QBT.js → 3L5CUNW3.js} +2 -2
- package/dist/cdn/{S2NGFTAF.js → 3OPTGOTN.js} +2 -2
- package/dist/cdn/{G4UJUDJT.js → 3QXMAC7L.js} +2 -2
- package/dist/cdn/{5YSFQ4E3.js → 3UIKDYVX.js} +1 -1
- package/dist/cdn/{L72F3CMH.js → 3UITRYPY.js} +1 -1
- package/dist/cdn/{5C2W5W6U.js → 3VJVSHZ3.js} +2 -2
- package/dist/cdn/{CLZ76DFI.js → 3XT4LMZL.js} +1 -1
- package/dist/cdn/{IKVFAXUB.js → 427VOQVY.js} +2 -2
- package/dist/cdn/{YXHUA4CI.js → 42CBSGWQ.js} +2 -2
- package/dist/cdn/{ZPNUYCYC.js → 45JENHBT.js} +2 -2
- package/dist/cdn/{X4I3726V.js → 4B47MLZ4.js} +2 -2
- package/dist/cdn/{65FSH56H.js → 4CA5Q4HU.js} +2 -2
- package/dist/cdn/4UFLKP6T.js +4 -0
- package/dist/cdn/{PE2TLSRM.js → 4V6HHPEY.js} +2 -2
- package/dist/cdn/{T7T6X6O5.js → 53U2O7QU.js} +2 -2
- package/dist/cdn/{HG3L3JDR.js → 57ICJINS.js} +2 -2
- package/dist/cdn/{4RVVEL4U.js → 5BS5RPN3.js} +2 -2
- package/dist/cdn/5D4L7E7B.js +4 -0
- package/dist/cdn/5IMGOBVR.js +8 -0
- package/dist/cdn/{6NDD2A2S.js → 5PEEQTOJ.js} +2 -2
- package/dist/cdn/{CXK3KS6W.js → 5Q6ZKF23.js} +1 -1
- package/dist/cdn/{ORH5XZIQ.js → 5UIQ5XPI.js} +1 -1
- package/dist/cdn/{VUHPVY6F.js → 5X2CUO2G.js} +2 -2
- package/dist/cdn/{SGGYFQLR.js → 623OCGUZ.js} +2 -2
- package/dist/cdn/{MAFJTGI7.js → 627BP4CQ.js} +2 -2
- package/dist/cdn/{D55TK32T.js → 6CHYPF6P.js} +2 -2
- package/dist/cdn/6FBUKPW2.js +4 -0
- package/dist/cdn/6OFBEWUU.js +4 -0
- package/dist/cdn/{FSQJF7E4.js → 6OP4PP3P.js} +2 -2
- package/dist/cdn/{SFY7JL2D.js → 6RC6X7JL.js} +2 -2
- package/dist/cdn/{ZGA5KQXP.js → 6ULIHKIX.js} +1 -1
- package/dist/cdn/6Y37L4Y2.js +4 -0
- package/dist/cdn/{UUIMWX7O.js → 6YWQEJ3R.js} +2 -2
- package/dist/cdn/{ATNDBD4K.js → 6ZPPQS7Z.js} +2 -2
- package/dist/cdn/{OGLT2FNT.js → 7DSO57VG.js} +2 -2
- package/dist/cdn/A2LA4B77.js +18 -0
- package/dist/cdn/{ZFJUFWKG.js → AGN7ST2V.js} +2 -2
- package/dist/cdn/{GUNSWZAV.js → AGXQF5CB.js} +2 -2
- package/dist/cdn/{562IDXBA.js → AWOD4YMZ.js} +2 -2
- package/dist/cdn/AX3GHSA4.js +4 -0
- package/dist/cdn/{3NF274CX.js → AXNLHEND.js} +2 -2
- package/dist/cdn/{C5B7DSSA.js → AXPTSMNQ.js} +2 -2
- package/dist/cdn/{KSLSMSNN.js → B2AUDLTO.js} +2 -2
- package/dist/cdn/{EHTK6HWZ.js → BBCZTH66.js} +1 -1
- package/dist/cdn/{TNPHUDU5.js → BH7LJ72A.js} +2 -2
- package/dist/cdn/{3EVGRBFY.js → BIVUMER5.js} +1 -1
- package/dist/cdn/BJQ5IZYR.js +4 -0
- package/dist/cdn/{TGHZAXVE.js → BN32H2NI.js} +2 -2
- package/dist/cdn/BP6NB6LJ.js +18 -0
- package/dist/cdn/{XGBQUYNN.js → BPHSFWBE.js} +2 -2
- package/dist/cdn/{7S572CXN.js → BSBALSW3.js} +2 -2
- package/dist/cdn/{VXPBZUD6.js → BTHJLT2K.js} +2 -2
- package/dist/cdn/BVYE77GY.js +4 -0
- package/dist/cdn/BWY46B5P.js +4 -0
- package/dist/cdn/{TSYBPIHM.js → BY7442LE.js} +2 -2
- package/dist/cdn/C5LL6JKL.js +4 -0
- package/dist/cdn/C6RAYAOF.js +18 -0
- package/dist/cdn/C7N6NXZS.js +4 -0
- package/dist/cdn/{CGUIDOP7.js → CBAXU66B.js} +2 -2
- package/dist/cdn/{OGW4H5WS.js → CBU5ZJTL.js} +2 -2
- package/dist/cdn/{YLMMX2OH.js → CDC2AGQU.js} +2 -2
- package/dist/cdn/{WIZLQW7N.js → CH2V66RG.js} +2 -2
- package/dist/cdn/{AABCWF4V.js → CST36BMZ.js} +2 -2
- package/dist/cdn/CU4HDBVA.js +4 -0
- package/dist/cdn/{RFH4QYOD.js → CXHBMY3H.js} +2 -2
- package/dist/cdn/D3MKS27U.js +18 -0
- package/dist/cdn/{NCU6UX4Y.js → DAE4AFWE.js} +2 -2
- package/dist/cdn/{ZUSLGKOQ.js → DDIKF3Y6.js} +2 -2
- package/dist/cdn/{GVD3BPTW.js → DHZBJPEI.js} +2 -2
- package/dist/cdn/{753QAV4W.js → DKB2YHXU.js} +2 -2
- package/dist/cdn/{IXTBS5WJ.js → DMOKBYTT.js} +2 -2
- package/dist/cdn/{RUKTK5PF.js → DNSP25OL.js} +1 -1
- package/dist/cdn/{4LOK3JWB.js → DQCGIKDE.js} +2 -2
- package/dist/cdn/{77US24T3.js → DVKB52PG.js} +2 -2
- package/dist/cdn/{F2T2S2QU.js → E6YH3G2I.js} +1 -1
- package/dist/cdn/E7DQW7XG.js +18 -0
- package/dist/cdn/{DMWC3BFF.js → EIG2RIEW.js} +2 -2
- package/dist/cdn/{A3YY7YT4.js → EJ2ZYQDN.js} +2 -2
- package/dist/cdn/{COE4KJBH.js → EU66V4DL.js} +2 -2
- package/dist/cdn/{WZT6CYOJ.js → EUJJCM4N.js} +2 -2
- package/dist/cdn/{B5KSOIAE.js → EW2G5EHV.js} +2 -2
- package/dist/cdn/{PS7XJL2U.js → EXPP7EHV.js} +2 -2
- package/dist/cdn/{K7A26VQP.js → F3ITEU5L.js} +2 -2
- package/dist/cdn/{RX5LSG2B.js → FGX5VXCN.js} +2 -2
- package/dist/cdn/{FJDXAEGB.js → FQRP6IK4.js} +2 -2
- package/dist/cdn/{EFEMVR7H.js → FYGEDZYU.js} +2 -2
- package/dist/cdn/{KQT4EINQ.js → G2U2FC5M.js} +2 -2
- package/dist/cdn/{Y737Y2JU.js → G4VDYGGB.js} +2 -2
- package/dist/cdn/{7U4V4KQD.js → G57AFF3K.js} +1 -1
- package/dist/cdn/GJYS7J5Y.js +4 -0
- package/dist/cdn/{37FXFNVH.js → GLKAIY7B.js} +2 -2
- package/dist/cdn/{6WGXTLF4.js → GSHJMUOL.js} +2 -2
- package/dist/cdn/{DEQ6UPN5.js → H236KX4X.js} +2 -2
- package/dist/cdn/{375NF2W7.js → H7J6NVIQ.js} +2 -2
- package/dist/cdn/{A534RBYP.js → HE7ELDIR.js} +1 -1
- package/dist/cdn/{BAUJD3CH.js → HISSLYMD.js} +2 -2
- package/dist/cdn/{Y33UFW64.js → HMOPCXOD.js} +2 -2
- package/dist/cdn/{2IP6OT43.js → HVCG3MNH.js} +2 -2
- package/dist/cdn/{UKSUWA3B.js → HX4VINVI.js} +1 -1
- package/dist/cdn/{KTKSUQ5S.js → HY3PBNPE.js} +3 -3
- package/dist/cdn/{CX2QWWHL.js → I2QY6RRM.js} +2 -2
- package/dist/cdn/IARLSMD2.js +4 -0
- package/dist/cdn/IDOBPHGE.js +4 -0
- package/dist/cdn/{TQWK6V5V.js → IGNOSAEB.js} +1 -1
- package/dist/cdn/{4QO4KGLF.js → IJNIOO5S.js} +2 -2
- package/dist/cdn/{TBQ6UDD2.js → IQVXZDV3.js} +2 -2
- package/dist/cdn/{JVW5HI2D.js → ITWRX5NJ.js} +2 -2
- package/dist/cdn/{VXCPN4DG.js → J4QVOH72.js} +2 -2
- package/dist/cdn/J5SSKOUJ.js +18 -0
- package/dist/cdn/{IXJEV6RS.js → J67A6WYJ.js} +2 -2
- package/dist/cdn/{VXZ2B534.js → J6BS2SYI.js} +2 -2
- package/dist/cdn/{FWP6XYXK.js → J6SZZA33.js} +1 -1
- package/dist/cdn/{LDJU7VV4.js → JCJADZGS.js} +2 -2
- package/dist/cdn/JFXEOOWV.js +4 -0
- package/dist/cdn/{GH7MZ4TU.js → JQKAETCU.js} +1 -1
- package/dist/cdn/{7QIEPJRP.js → K3UTGJMU.js} +1 -1
- package/dist/cdn/{JQ7HMAJD.js → KF6SZPRF.js} +2 -2
- package/dist/cdn/KK5EFX35.js +4 -0
- package/dist/cdn/{VKXA2IQW.js → KMK3IXHT.js} +2 -2
- package/dist/cdn/{I4QX6RMP.js → KQ6WZUPW.js} +2 -2
- package/dist/cdn/KYJLH6UV.js +4 -0
- package/dist/cdn/L6MHQFEW.js +4 -0
- package/dist/cdn/LHDC2KUS.js +4 -0
- package/dist/cdn/{YQMCID5Z.js → LMJVHANR.js} +2 -2
- package/dist/cdn/{4OJANGG2.js → LYLGDYC3.js} +2 -2
- package/dist/cdn/{PY55NBB3.js → M4Q44Y7R.js} +2 -2
- package/dist/cdn/{7VTP4EVO.js → M6VJRRQ6.js} +2 -2
- package/dist/cdn/{45CNJSWY.js → MBB3DRUX.js} +2 -2
- package/dist/cdn/{MAVOVPIB.js → MCOVXOZE.js} +2 -2
- package/dist/cdn/{NMZOOVD5.js → MDBE6QB6.js} +2 -2
- package/dist/cdn/{3GL66CHB.js → ME3PJXJC.js} +2 -2
- package/dist/cdn/{UZFCVNKV.js → MEIJQ75E.js} +2 -2
- package/dist/cdn/{7ESWUYD7.js → MFT2YTZE.js} +2 -2
- package/dist/cdn/{WC247XQ6.js → MJ6UHJO5.js} +2 -2
- package/dist/cdn/{VU6ZKOYY.js → MMQ4KQ2B.js} +2 -2
- package/dist/cdn/{4BIK73M6.js → MPH25RN2.js} +2 -2
- package/dist/cdn/{3EO7HXAA.js → MRDF2627.js} +2 -2
- package/dist/cdn/MRHAUAK5.js +4 -0
- package/dist/cdn/{PUKJYYTH.js → MS7LIRHZ.js} +2 -2
- package/dist/cdn/{QZYPXSAV.js → MW46SBLS.js} +2 -2
- package/dist/cdn/{BOHONSFJ.js → MWZRE5PN.js} +2 -2
- package/dist/cdn/{QQBRQOVF.js → MX2NQ664.js} +2 -2
- package/dist/cdn/{HQIAVN67.js → N2SRPBDD.js} +1 -1
- package/dist/cdn/N4BYA7EI.js +4 -0
- package/dist/cdn/{RV5R7U2A.js → N4NNCHK6.js} +2 -2
- package/dist/cdn/N6AFW5X5.js +18 -0
- package/dist/cdn/{PYIX27UL.js → N6WPLWG3.js} +2 -2
- package/dist/cdn/{M2MY5G5H.js → N765GK5M.js} +2 -2
- package/dist/cdn/{PSP2JCLX.js → NDXSJLKV.js} +1 -1
- package/dist/cdn/NF6VWQKC.js +18 -0
- package/dist/cdn/{QEZIPKKL.js → NHKMUTOW.js} +2 -2
- package/dist/cdn/{QPA3WWD5.js → NJBLOY6O.js} +2 -2
- package/dist/cdn/{4DELYGXR.js → NS7LWOIF.js} +1 -1
- package/dist/cdn/{DBQ42J5H.js → NVRFL7NL.js} +2 -2
- package/dist/cdn/NZUFRJWD.js +4 -0
- package/dist/cdn/{X6AY6CXE.js → O7SEZIYA.js} +2 -2
- package/dist/cdn/{VF3OE7WS.js → OGNLV67M.js} +1 -1
- package/dist/cdn/{WVJNLVM2.js → OJUIATLV.js} +2 -2
- package/dist/cdn/OMJT2NGS.js +4 -0
- package/dist/cdn/ORFCQZNQ.js +4 -0
- package/dist/cdn/OSZNMAJF.js +4 -0
- package/dist/cdn/OU5FGKZQ.js +4 -0
- package/dist/cdn/{DC22KAGH.js → OWFH6YUK.js} +2 -2
- package/dist/cdn/OX6RYCMB.js +4 -0
- package/dist/cdn/OXHWMQRP.js +4 -0
- package/dist/cdn/{4P66S2XD.js → P5VXHMBV.js} +2 -2
- package/dist/cdn/{KQRRNLN7.js → P6I2SMSL.js} +2 -2
- package/dist/cdn/{YT3HXHZX.js → PA6X2UX4.js} +2 -2
- package/dist/cdn/{J4JPFH2C.js → PBS5CVH6.js} +2 -2
- package/dist/cdn/{BF4MLXML.js → PJC5OY32.js} +1 -1
- package/dist/cdn/{OKHJNJQ3.js → PK2KYHCB.js} +2 -2
- package/dist/cdn/{RPF35HAJ.js → PQ55EL2N.js} +2 -2
- package/dist/cdn/{TXLKUYV2.js → PT2PN6JX.js} +25 -25
- package/dist/cdn/{PYNMB3I2.js → PWAA6UKX.js} +2 -2
- package/dist/cdn/{LZC5OKYE.js → PZ4I46YP.js} +2 -2
- package/dist/cdn/{W3GM72GU.js → Q2BUQJJY.js} +2 -2
- package/dist/cdn/{GU6ODYX3.js → Q4KUEUUN.js} +2 -2
- package/dist/cdn/{GFKIE25D.js → Q7OC2577.js} +2 -2
- package/dist/cdn/QBKQBYYD.js +4 -0
- package/dist/cdn/{WTQ4CUVN.js → QH7FXF55.js} +2 -2
- package/dist/cdn/QIVGXNMA.js +4 -0
- package/dist/cdn/{XXLQWESJ.js → QKUXZWFL.js} +2 -2
- package/dist/cdn/{BZES2KJM.js → QMCJ7WTH.js} +2 -2
- package/dist/cdn/QNUW3X3Y.js +4 -0
- package/dist/cdn/{C5POLXJA.js → QPQDH5UO.js} +2 -2
- package/dist/cdn/{PLASWOCJ.js → QTN6BMW2.js} +1 -1
- package/dist/cdn/{M3JQHFSU.js → QUB3JPGL.js} +1 -1
- package/dist/cdn/{SRZKPJVK.js → QZWC4VIB.js} +2 -2
- package/dist/cdn/{LKE4PKVZ.js → R2RYAQ6J.js} +2 -2
- package/dist/cdn/{5JQYCQWD.js → R6VHQQOK.js} +1 -1
- package/dist/cdn/RDBY4KOY.js +4 -0
- package/dist/cdn/{IKGNORRI.js → RHC7DNDW.js} +1 -1
- package/dist/cdn/{7C7SXM4M.js → RQNGE4QQ.js} +2 -2
- package/dist/cdn/RQZHVOZW.js +4 -0
- package/dist/cdn/{H4S5Q3QE.js → RSH2UKEC.js} +2 -2
- package/dist/cdn/{2JQ2BEIQ.js → RUMM4LRY.js} +2 -2
- package/dist/cdn/{6C3QGOV2.js → RVQFI2GI.js} +2 -2
- package/dist/cdn/{TKP6ZIYO.js → RZBKYA4H.js} +1 -1
- package/dist/cdn/{2DNLAFAS.js → S5AIQSGG.js} +2 -2
- package/dist/cdn/{6EBCWPAA.js → SB6IKLS3.js} +2 -2
- package/dist/cdn/{AB4XPYGH.js → SEVUDBYU.js} +2 -2
- package/dist/cdn/{YHQYMIPA.js → SEWOHKIX.js} +3 -3
- package/dist/cdn/{KFYEVP5G.js → SFYHUOTM.js} +2 -2
- package/dist/cdn/{DUVNOIA7.js → SLARORK6.js} +2 -2
- package/dist/cdn/SMUXGPZR.js +4 -0
- package/dist/cdn/{WP57L3ZR.js → SPYEGWSA.js} +2 -2
- package/dist/cdn/{WY2YAJV2.js → SZVMRJ24.js} +1 -1
- package/dist/cdn/T4PEWJBT.js +4 -0
- package/dist/cdn/{4AMMMHQL.js → T5ORGPHJ.js} +2 -2
- package/dist/cdn/T757ITK2.js +4 -0
- package/dist/cdn/T7XUVORP.js +4 -0
- package/dist/cdn/{ASHWLSNH.js → TA2KPG6T.js} +2 -2
- package/dist/cdn/TF5NNCNV.js +4 -0
- package/dist/cdn/{LWNLZFMB.js → TGECS5FN.js} +2 -2
- package/dist/cdn/{GK2GYSCW.js → TK6UBBJX.js} +2 -2
- package/dist/cdn/{DZWNJWAP.js → TL4CBL4J.js} +2 -2
- package/dist/cdn/{KAZSBKHX.js → TND7GPH7.js} +1 -1
- package/dist/cdn/{2ETHF7OM.js → TSJWAHST.js} +2 -2
- package/dist/cdn/{QUGE5UIB.js → TYK6M57O.js} +2 -2
- package/dist/cdn/U5EERXBG.js +4 -0
- package/dist/cdn/{PXCWZJ7U.js → UDSTQRSC.js} +2 -2
- package/dist/cdn/UGDEHIGY.js +4 -0
- package/dist/cdn/{2AZTGGQP.js → UGWIFJHW.js} +1 -1
- package/dist/cdn/UHMFK7KR.js +18 -0
- package/dist/cdn/{O5NFMICR.js → UHULYTFL.js} +1 -1
- package/dist/cdn/{GEOD3XEI.js → UJYMNOGA.js} +2 -2
- package/dist/cdn/UPVA5Z5X.js +6 -0
- package/dist/cdn/URAHLQ3P.js +4 -0
- package/dist/cdn/{JSPHL3ZQ.js → UZSGGRRN.js} +2 -2
- package/dist/cdn/{XM4IJDWV.js → V3KV4ZPK.js} +1 -1
- package/dist/cdn/V3STUVBX.js +4 -0
- package/dist/cdn/{AMW6PLM5.js → V72LELKA.js} +2 -2
- package/dist/cdn/{B4IYKBMJ.js → VC3OUF74.js} +2 -2
- package/dist/cdn/{UUUHJN3K.js → VOP3WFWQ.js} +2 -2
- package/dist/cdn/VSEHM5KR.js +4 -0
- package/dist/cdn/{JOYJ7K2X.js → VVZJIYXL.js} +2 -2
- package/dist/cdn/W23X7NWO.js +4 -0
- package/dist/cdn/{F3GQ2KDF.js → W5Q4PI4D.js} +2 -2
- package/dist/cdn/{PCAPJGRX.js → WDJYH74E.js} +2 -2
- package/dist/cdn/{PPVPQPWQ.js → WONNB7ZA.js} +2 -2
- package/dist/cdn/{BMVYNMLV.js → WPQTSQ5W.js} +2 -2
- package/dist/cdn/WQUBINLR.js +4 -0
- package/dist/cdn/{USSUHCJG.js → WS7S5Z7C.js} +2 -2
- package/dist/cdn/{AF27BERT.js → X26TSF65.js} +2 -2
- package/dist/cdn/X7CS7ZS5.js +4 -0
- package/dist/cdn/{OWK6VKPV.js → XF3EBBPG.js} +2 -2
- package/dist/cdn/{RV44MYN7.js → XHXK6QN7.js} +2 -2
- package/dist/cdn/{FDRKGYGJ.js → XINOQA62.js} +1 -1
- package/dist/cdn/{FFU546ZJ.js → XL6DAOQU.js} +2 -2
- package/dist/cdn/XMOLE7SD.js +4 -0
- package/dist/cdn/{OZVC6WF4.js → XNRASUFU.js} +2 -2
- package/dist/cdn/{KVEA5E7H.js → XOZFNKXY.js} +2 -2
- package/dist/cdn/{GQVTZIV3.js → XPTTFHFY.js} +2 -2
- package/dist/cdn/{UNYBJ7BO.js → XWBLDO6F.js} +1 -1
- package/dist/cdn/{KIQPCYN6.js → XYDJHJLZ.js} +1 -1
- package/dist/cdn/{N2SMCNLL.js → XYDZ75MI.js} +2 -2
- package/dist/cdn/{FGCO2ORF.js → Y3DUHGHO.js} +1 -1
- package/dist/cdn/{OIK6EGQ7.js → YEK5YHI4.js} +2 -2
- package/dist/cdn/{K3GLXE2P.js → YFRUN4NK.js} +2 -2
- package/dist/cdn/{QPGA66A2.js → YWLH4TVT.js} +2 -2
- package/dist/cdn/{YWSDRWQN.js → YWS4DWQO.js} +2 -2
- package/dist/cdn/{I6ZE3VUY.js → YX2IMVKL.js} +1 -1
- package/dist/cdn/{6PD2H4JH.js → YX4KF34C.js} +2 -2
- package/dist/cdn/Z2FRFIOF.js +4 -0
- package/dist/cdn/Z3W52BA5.js +4 -0
- package/dist/cdn/ZLEZXMKN.js +18 -0
- package/dist/cdn/{MUWEJYVI.js → ZM76BYQX.js} +2 -2
- package/dist/cdn/{4MI7L2IM.js → ZPQ43SZ3.js} +2 -2
- package/dist/cdn/{YMQZBSVF.js → ZQRUDWGJ.js} +2 -2
- package/dist/cdn/ZRIOHEOT.js +4 -0
- package/dist/cdn/{G457BSKN.js → ZUKAASU2.js} +2 -2
- package/dist/cdn/ZXBKW6YA.js +4 -0
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
- 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/common.js +17 -3
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +2 -2
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.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/prepareDataForSolutionDisplay.js +57 -0
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- 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/basemap-gallery/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.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +2 -2
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/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 +13 -10
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +8 -8
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +25 -26
- 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-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/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.d.ts +1 -0
- package/dist/components/solution-delete-dialog/customElement.js +42 -46
- package/dist/components/solution-delete-dialog/index.d.ts +1 -0
- package/dist/components/solution-delete-dialog/index.js +1 -0
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +25 -75
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.d.ts +1 -1
- package/dist/components/solution-details-panel/customElement.js +54 -59
- 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 +2 -2
- 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-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +24 -0
- package/dist/components/solution-snapshot-gallery/customElement.js +45 -17
- package/dist/components/solution-snapshot-gallery/index.d.ts +4 -0
- package/dist/components/solution-snapshot-gallery/index.js +4 -0
- 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-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +19 -15
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/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 +200 -73
- package/dist/docs/docs.json +217 -74
- package/dist/docs/vscode.html-custom-data.json +8 -2
- package/dist/docs/web-types.json +49 -7
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/common.d.ts +16 -0
- package/package.json +26 -26
- package/dist/cdn/2V47J56C.js +0 -18
- package/dist/cdn/3O4G5XDF.js +0 -18
- package/dist/cdn/3WWZQYHU.js +0 -18
- package/dist/cdn/4H2V4B6C.js +0 -4
- package/dist/cdn/4RYZ25UY.js +0 -4
- package/dist/cdn/4W4XMW2A.js +0 -4
- package/dist/cdn/5LUSAPPH.js +0 -4
- package/dist/cdn/6JY7QTCS.js +0 -4
- package/dist/cdn/6KPH5V5K.js +0 -4
- package/dist/cdn/7N6NOB6I.js +0 -4
- package/dist/cdn/A5FGCYNW.js +0 -8
- package/dist/cdn/A6RESCXF.js +0 -4
- package/dist/cdn/AH6XEMQ2.js +0 -4
- package/dist/cdn/B7B5O4K4.js +0 -18
- package/dist/cdn/BVSTBYJQ.js +0 -4
- package/dist/cdn/C6BGGFEF.js +0 -4
- package/dist/cdn/CDDGYF3K.js +0 -4
- package/dist/cdn/CUK7OF76.js +0 -4
- package/dist/cdn/DJG2ZUWK.js +0 -4
- package/dist/cdn/DYWRP4H5.js +0 -18
- package/dist/cdn/FVAP4UBB.js +0 -6
- package/dist/cdn/G4CYMD2F.js +0 -4
- package/dist/cdn/HI7D2U25.js +0 -4
- package/dist/cdn/HLGUH3Z5.js +0 -4
- package/dist/cdn/HYWAINS4.js +0 -4
- package/dist/cdn/I3E3JX77.js +0 -4
- package/dist/cdn/IRZGR6FA.js +0 -18
- package/dist/cdn/JKOAF37V.js +0 -18
- package/dist/cdn/JUIF3JFS.js +0 -4
- package/dist/cdn/KNPFBJQA.js +0 -4
- package/dist/cdn/KTI5QE2K.js +0 -4
- package/dist/cdn/KZFFQCTK.js +0 -4
- package/dist/cdn/M5DV4YRX.js +0 -18
- package/dist/cdn/MC2Q2QYK.js +0 -4
- package/dist/cdn/MI54WZOS.js +0 -18
- package/dist/cdn/MTPMC5GM.js +0 -4
- package/dist/cdn/MU4OTO47.js +0 -4
- package/dist/cdn/MW3TOC4O.js +0 -4
- package/dist/cdn/N6EHMAJL.js +0 -4
- package/dist/cdn/NF2EHSNV.js +0 -4
- package/dist/cdn/NKZQ7OVS.js +0 -4
- package/dist/cdn/NP4W7EDK.js +0 -4
- package/dist/cdn/O3JIKJGK.js +0 -4
- package/dist/cdn/OS2XMULM.js +0 -4
- package/dist/cdn/P325FJIH.js +0 -4
- package/dist/cdn/PGXDDG5S.js +0 -4
- package/dist/cdn/PUQGIVUM.js +0 -4
- package/dist/cdn/Q5AWSODM.js +0 -4
- package/dist/cdn/Q7M5LNDV.js +0 -4
- package/dist/cdn/RRC2IGCL.js +0 -4
- package/dist/cdn/SZEHA4OQ.js +0 -4
- package/dist/cdn/T2HT5CMC.js +0 -18
- package/dist/cdn/T6E7HFWP.js +0 -4
- package/dist/cdn/TARGNPVA.js +0 -4
- package/dist/cdn/TCDPSWNN.js +0 -4
- package/dist/cdn/TY7GL3FG.js +0 -4
- package/dist/cdn/TZRKKXAD.js +0 -4
- package/dist/cdn/U3YAUOKI.js +0 -4
- package/dist/cdn/U45DGMUG.js +0 -4
- package/dist/cdn/UANGRMJE.js +0 -32
- package/dist/cdn/UUIA7SBZ.js +0 -4
- package/dist/cdn/VTR2E6HB.js +0 -4
- package/dist/cdn/WSWWUPOS.js +0 -4
- package/dist/cdn/YLTGHBKB.js +0 -4
- package/dist/cdn/YO3NHOIF.js +0 -4
- package/dist/cdn/ZEVGAANR.js +0 -4
- package/dist/cdn/ZRK24AZH.js +0 -4
- package/dist/cdn/ZUVIZNK3.js +0 -4
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.2 */
|
4
|
+
import{a as r}from"./K3UTGJMU.js";import{a as o,b as h}from"./IGNOSAEB.js";import{b as i}from"./5Q6ZKF23.js";import{a as l,c as t,d,e as p,f as g}from"./6CHYPF6P.js";import"./QTN6BMW2.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,a={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(e){l(this,e),this.infoIsOpenChanged=g(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=r.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let e=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(e),n=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?a.headerContent.concat(" ",a.alignment[this.headerAlignment]):a.headerContent,m=o(this.fontFamily);return t(d,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${a.base}${this.dir==="rtl"?` ${a.flipRtl}`:""}${this.logoImage&&!e?` ${a.logoHeight}${this.logoScale}`:` ${a.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:a.headerContainer},t("span",{class:c},s,n,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:a.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(e){let s=this.logoScale??"m",n=`${a.logoScale}${s}`;return e?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),await Promise.resolve()}mqlCallback(){return e=>{let{matches:s}=e;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let e=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(e);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return p(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.2 */
|
4
|
+
import{a as Tr}from"./RZBKYA4H.js";import{c as g,e as Z}from"./QTN6BMW2.js";var I=g((ki,Gs)=>{"use strict";var Or=function(i){return i&&i.Math===Math&&i};Gs.exports=Or(typeof globalThis=="object"&&globalThis)||Or(typeof window=="object"&&window)||Or(typeof self=="object"&&self)||Or(typeof global=="object"&&global)||Or(typeof ki=="object"&&ki)||function(){return this}()||Function("return this")()});var D=g((VO,Hs)=>{"use strict";Hs.exports=function(i){try{return!!i()}catch{return!0}}});var ue=g((_O,Ys)=>{"use strict";var wg=D();Ys.exports=!wg(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Sr=g((DO,Xs)=>{"use strict";var Cg=D();Xs.exports=!Cg(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})});var H=g((LO,Ws)=>{"use strict";var qg=Sr(),lt=Function.prototype.call;Ws.exports=qg?lt.bind(lt):function(){return lt.apply(lt,arguments)}});var Js=g(Zs=>{"use strict";var Qs={}.propertyIsEnumerable,Ks=Object.getOwnPropertyDescriptor,Pg=Ks&&!Qs.call({1:2},1);Zs.f=Pg?function(e){var r=Ks(this,e);return!!r&&r.enumerable}:Qs});var ht=g((BO,eo)=>{"use strict";eo.exports=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}}});var L=g((UO,io)=>{"use strict";var ro=Sr(),to=Function.prototype,Bi=to.call,Ag=ro&&to.bind.bind(Bi,Bi);io.exports=ro?Ag:function(i){return function(){return Bi.apply(i,arguments)}}});var Ae=g((jO,no)=>{"use strict";var ao=L(),Rg=ao({}.toString),Ng=ao("".slice);no.exports=function(i){return Ng(Rg(i),8,-1)}});var ji=g((FO,so)=>{"use strict";var Ig=L(),Mg=D(),Vg=Ae(),Ui=Object,_g=Ig("".split);so.exports=Mg(function(){return!Ui("z").propertyIsEnumerable(0)})?function(i){return Vg(i)==="String"?_g(i,""):Ui(i)}:Ui});var Er=g((zO,oo)=>{"use strict";oo.exports=function(i){return i==null}});var le=g(($O,uo)=>{"use strict";var Dg=Er(),Lg=TypeError;uo.exports=function(i){if(Dg(i))throw new Lg("Can't call method on "+i);return i}});var Ke=g((GO,lo)=>{"use strict";var kg=ji(),Bg=le();lo.exports=function(i){return kg(Bg(i))}});var k=g((HO,ho)=>{"use strict";var Fi=typeof document=="object"&&document.all;ho.exports=typeof Fi>"u"&&Fi!==void 0?function(i){return typeof i=="function"||i===Fi}:function(i){return typeof i=="function"}});var te=g((YO,co)=>{"use strict";var Ug=k();co.exports=function(i){return typeof i=="object"?i!==null:Ug(i)}});var Re=g((XO,fo)=>{"use strict";var zi=I(),jg=k(),Fg=function(i){return jg(i)?i:void 0};fo.exports=function(i,e){return arguments.length<2?Fg(zi[i]):zi[i]&&zi[i][e]}});var wr=g((WO,vo)=>{"use strict";var zg=L();vo.exports=zg({}.isPrototypeOf)});var Ze=g((QO,yo)=>{"use strict";var $g=I(),go=$g.navigator,po=go&&go.userAgent;yo.exports=po?String(po):""});var ft=g((KO,So)=>{"use strict";var Oo=I(),$i=Ze(),mo=Oo.process,bo=Oo.Deno,xo=mo&&mo.versions||bo&&bo.version,To=xo&&xo.v8,fe,ct;To&&(fe=To.split("."),ct=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!ct&&$i&&(fe=$i.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=$i.match(/Chrome\/(\d+)/),fe&&(ct=+fe[1])));So.exports=ct});var Gi=g((ZO,wo)=>{"use strict";var Eo=ft(),Gg=D(),Hg=I(),Yg=Hg.String;wo.exports=!!Object.getOwnPropertySymbols&&!Gg(function(){var i=Symbol("symbol detection");return!Yg(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Eo&&Eo<41})});var Hi=g((JO,Co)=>{"use strict";var Xg=Gi();Co.exports=Xg&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Yi=g((eS,qo)=>{"use strict";var Wg=Re(),Qg=k(),Kg=wr(),Zg=Hi(),Jg=Object;qo.exports=Zg?function(i){return typeof i=="symbol"}:function(i){var e=Wg("Symbol");return Qg(e)&&Kg(e.prototype,Jg(i))}});var Cr=g((rS,Po)=>{"use strict";var ed=String;Po.exports=function(i){try{return ed(i)}catch{return"Object"}}});var xe=g((tS,Ao)=>{"use strict";var rd=k(),td=Cr(),id=TypeError;Ao.exports=function(i){if(rd(i))return i;throw new id(td(i)+" is not a function")}});var Be=g((iS,Ro)=>{"use strict";var ad=xe(),nd=Er();Ro.exports=function(i,e){var r=i[e];return nd(r)?void 0:ad(r)}});var Io=g((aS,No)=>{"use strict";var Xi=H(),Wi=k(),Qi=te(),sd=TypeError;No.exports=function(i,e){var r,t;if(e==="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i))||Wi(r=i.valueOf)&&!Qi(t=Xi(r,i))||e!=="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i)))return t;throw new sd("Can't convert object to primitive value")}});var ve=g((nS,Mo)=>{"use strict";Mo.exports=!1});var vt=g((sS,_o)=>{"use strict";var Vo=I(),od=Object.defineProperty;_o.exports=function(i,e){try{od(Vo,i,{value:e,configurable:!0,writable:!0})}catch{Vo[i]=e}return e}});var gt=g((oS,ko)=>{"use strict";var ud=ve(),ld=I(),hd=vt(),Do="__core-js_shared__",Lo=ko.exports=ld[Do]||hd(Do,{});(Lo.versions||(Lo.versions=[])).push({version:"3.43.0",mode:ud?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var dt=g((uS,Uo)=>{"use strict";var Bo=gt();Uo.exports=function(i,e){return Bo[i]||(Bo[i]=e||{})}});var qr=g((lS,jo)=>{"use strict";var cd=le(),fd=Object;jo.exports=function(i){return fd(cd(i))}});var he=g((hS,Fo)=>{"use strict";var vd=L(),gd=qr(),dd=vd({}.hasOwnProperty);Fo.exports=Object.hasOwn||function(e,r){return dd(gd(e),r)}});var Ki=g((cS,zo)=>{"use strict";var pd=L(),yd=0,md=Math.random(),bd=pd(1.1.toString);zo.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+bd(++yd+md,36)}});var z=g((fS,Go)=>{"use strict";var xd=I(),Td=dt(),$o=he(),Od=Ki(),Sd=Gi(),Ed=Hi(),Je=xd.Symbol,Zi=Td("wks"),wd=Ed?Je.for||Je:Je&&Je.withoutSetter||Od;Go.exports=function(i){return $o(Zi,i)||(Zi[i]=Sd&&$o(Je,i)?Je[i]:wd("Symbol."+i)),Zi[i]}});var Wo=g((vS,Xo)=>{"use strict";var Cd=H(),Ho=te(),Yo=Yi(),qd=Be(),Pd=Io(),Ad=z(),Rd=TypeError,Nd=Ad("toPrimitive");Xo.exports=function(i,e){if(!Ho(i)||Yo(i))return i;var r=qd(i,Nd),t;if(r){if(e===void 0&&(e="default"),t=Cd(r,i,e),!Ho(t)||Yo(t))return t;throw new Rd("Can't convert object to primitive value")}return e===void 0&&(e="number"),Pd(i,e)}});var Ji=g((gS,Qo)=>{"use strict";var Id=Wo(),Md=Yi();Qo.exports=function(i){var e=Id(i,"string");return Md(e)?e:e+""}});var Pr=g((dS,Zo)=>{"use strict";var Vd=I(),Ko=te(),ea=Vd.document,_d=Ko(ea)&&Ko(ea.createElement);Zo.exports=function(i){return _d?ea.createElement(i):{}}});var ra=g((pS,Jo)=>{"use strict";var Dd=ue(),Ld=D(),kd=Pr();Jo.exports=!Dd&&!Ld(function(){return Object.defineProperty(kd("div"),"a",{get:function(){return 7}}).a!==7})});var Ar=g(ru=>{"use strict";var Bd=ue(),Ud=H(),jd=Js(),Fd=ht(),zd=Ke(),$d=Ji(),Gd=he(),Hd=ra(),eu=Object.getOwnPropertyDescriptor;ru.f=Bd?eu:function(e,r){if(e=zd(e),r=$d(r),Hd)try{return eu(e,r)}catch{}if(Gd(e,r))return Fd(!Ud(jd.f,e,r),e[r])}});var ta=g((mS,tu)=>{"use strict";var Yd=ue(),Xd=D();tu.exports=Yd&&Xd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var J=g((bS,iu)=>{"use strict";var Wd=te(),Qd=String,Kd=TypeError;iu.exports=function(i){if(Wd(i))return i;throw new Kd(Qd(i)+" is not an object")}});var Oe=g(nu=>{"use strict";var Zd=ue(),Jd=ra(),ep=ta(),pt=J(),au=Ji(),rp=TypeError,ia=Object.defineProperty,tp=Object.getOwnPropertyDescriptor,aa="enumerable",na="configurable",sa="writable";nu.f=Zd?ep?function(e,r,t){if(pt(e),r=au(r),pt(t),typeof e=="function"&&r==="prototype"&&"value"in t&&sa in t&&!t[sa]){var a=tp(e,r);a&&a[sa]&&(e[r]=t.value,t={configurable:na in t?t[na]:a[na],enumerable:aa in t?t[aa]:a[aa],writable:!1})}return ia(e,r,t)}:ia:function(e,r,t){if(pt(e),r=au(r),pt(t),Jd)try{return ia(e,r,t)}catch{}if("get"in t||"set"in t)throw new rp("Accessors not supported");return"value"in t&&(e[r]=t.value),e}});var er=g((TS,su)=>{"use strict";var ip=ue(),ap=Oe(),np=ht();su.exports=ip?function(i,e,r){return ap.f(i,e,np(1,r))}:function(i,e,r){return i[e]=r,i}});var Rr=g((OS,uu)=>{"use strict";var oa=ue(),sp=he(),ou=Function.prototype,op=oa&&Object.getOwnPropertyDescriptor,ua=sp(ou,"name"),up=ua&&function(){}.name==="something",lp=ua&&(!oa||oa&&op(ou,"name").configurable);uu.exports={EXISTS:ua,PROPER:up,CONFIGURABLE:lp}});var yt=g((SS,lu)=>{"use strict";var hp=L(),cp=k(),la=gt(),fp=hp(Function.toString);cp(la.inspectSource)||(la.inspectSource=function(i){return fp(i)});lu.exports=la.inspectSource});var fu=g((ES,cu)=>{"use strict";var vp=I(),gp=k(),hu=vp.WeakMap;cu.exports=gp(hu)&&/native code/.test(String(hu))});var mt=g((wS,gu)=>{"use strict";var dp=dt(),pp=Ki(),vu=dp("keys");gu.exports=function(i){return vu[i]||(vu[i]=pp(i))}});var bt=g((CS,du)=>{"use strict";du.exports={}});var Ir=g((qS,mu)=>{"use strict";var yp=fu(),yu=I(),mp=te(),bp=er(),ha=he(),ca=gt(),xp=mt(),Tp=bt(),pu="Object already initialized",fa=yu.TypeError,Op=yu.WeakMap,xt,Nr,Tt,Sp=function(i){return Tt(i)?Nr(i):xt(i,{})},Ep=function(i){return function(e){var r;if(!mp(e)||(r=Nr(e)).type!==i)throw new fa("Incompatible receiver, "+i+" required");return r}};yp||ca.state?(ge=ca.state||(ca.state=new Op),ge.get=ge.get,ge.has=ge.has,ge.set=ge.set,xt=function(i,e){if(ge.has(i))throw new fa(pu);return e.facade=i,ge.set(i,e),e},Nr=function(i){return ge.get(i)||{}},Tt=function(i){return ge.has(i)}):(Ue=xp("state"),Tp[Ue]=!0,xt=function(i,e){if(ha(i,Ue))throw new fa(pu);return e.facade=i,bp(i,Ue,e),e},Nr=function(i){return ha(i,Ue)?i[Ue]:{}},Tt=function(i){return ha(i,Ue)});var ge,Ue;mu.exports={set:xt,get:Nr,has:Tt,enforce:Sp,getterFor:Ep}});var da=g((PS,Tu)=>{"use strict";var ga=L(),wp=D(),Cp=k(),Ot=he(),va=ue(),qp=Rr().CONFIGURABLE,Pp=yt(),xu=Ir(),Ap=xu.enforce,Rp=xu.get,bu=String,St=Object.defineProperty,Np=ga("".slice),Ip=ga("".replace),Mp=ga([].join),Vp=va&&!wp(function(){return St(function(){},"length",{value:8}).length!==8}),_p=String(String).split("String"),Dp=Tu.exports=function(i,e,r){Np(bu(e),0,7)==="Symbol("&&(e="["+Ip(bu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Ot(i,"name")||qp&&i.name!==e)&&(va?St(i,"name",{value:e,configurable:!0}):i.name=e),Vp&&r&&Ot(r,"arity")&&i.length!==r.arity&&St(i,"length",{value:r.arity});try{r&&Ot(r,"constructor")&&r.constructor?va&&St(i,"prototype",{writable:!1}):i.prototype&&(i.prototype=void 0)}catch{}var t=Ap(i);return Ot(t,"source")||(t.source=Mp(_p,typeof e=="string"?e:"")),i};Function.prototype.toString=Dp(function(){return Cp(this)&&Rp(this).source||Pp(this)},"toString")});var Ne=g((AS,Ou)=>{"use strict";var Lp=k(),kp=Oe(),Bp=da(),Up=vt();Ou.exports=function(i,e,r,t){t||(t={});var a=t.enumerable,n=t.name!==void 0?t.name:e;if(Lp(r)&&Bp(r,n,t),t.global)a?i[e]=r:Up(e,r);else{try{t.unsafe?i[e]&&(a=!0):delete i[e]}catch{}a?i[e]=r:kp.f(i,e,{value:r,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return i}});var Eu=g((RS,Su)=>{"use strict";var jp=Math.ceil,Fp=Math.floor;Su.exports=Math.trunc||function(e){var r=+e;return(r>0?Fp:jp)(r)}});var Mr=g((NS,wu)=>{"use strict";var zp=Eu();wu.exports=function(i){var e=+i;return e!==e||e===0?0:zp(e)}});var qu=g((IS,Cu)=>{"use strict";var $p=Mr(),Gp=Math.max,Hp=Math.min;Cu.exports=function(i,e){var r=$p(i);return r<0?Gp(r+e,0):Hp(r,e)}});var je=g((MS,Pu)=>{"use strict";var Yp=Mr(),Xp=Math.min;Pu.exports=function(i){var e=Yp(i);return e>0?Xp(e,9007199254740991):0}});var Et=g((VS,Au)=>{"use strict";var Wp=je();Au.exports=function(i){return Wp(i.length)}});var pa=g((_S,Nu)=>{"use strict";var Qp=Ke(),Kp=qu(),Zp=Et(),Ru=function(i){return function(e,r,t){var a=Qp(e),n=Zp(a);if(n===0)return!i&&-1;var o=Kp(t,n),s;if(i&&r!==r){for(;n>o;)if(s=a[o++],s!==s)return!0}else for(;n>o;o++)if((i||o in a)&&a[o]===r)return i||o||0;return!i&&-1}};Nu.exports={includes:Ru(!0),indexOf:Ru(!1)}});var ma=g((DS,Mu)=>{"use strict";var Jp=L(),ya=he(),ey=Ke(),ry=pa().indexOf,ty=bt(),Iu=Jp([].push);Mu.exports=function(i,e){var r=ey(i),t=0,a=[],n;for(n in r)!ya(ty,n)&&ya(r,n)&&Iu(a,n);for(;e.length>t;)ya(r,n=e[t++])&&(~ry(a,n)||Iu(a,n));return a}});var wt=g((LS,Vu)=>{"use strict";Vu.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Du=g(_u=>{"use strict";var iy=ma(),ay=wt(),ny=ay.concat("length","prototype");_u.f=Object.getOwnPropertyNames||function(e){return iy(e,ny)}});var ku=g(Lu=>{"use strict";Lu.f=Object.getOwnPropertySymbols});var Uu=g((US,Bu)=>{"use strict";var sy=Re(),oy=L(),uy=Du(),ly=ku(),hy=J(),cy=oy([].concat);Bu.exports=sy("Reflect","ownKeys")||function(e){var r=uy.f(hy(e)),t=ly.f;return t?cy(r,t(e)):r}});var zu=g((jS,Fu)=>{"use strict";var ju=he(),fy=Uu(),vy=Ar(),gy=Oe();Fu.exports=function(i,e,r){for(var t=fy(e),a=gy.f,n=vy.f,o=0;o<t.length;o++){var s=t[o];!ju(i,s)&&!(r&&ju(r,s))&&a(i,s,n(e,s))}}});var ba=g((FS,$u)=>{"use strict";var dy=D(),py=k(),yy=/#|\.prototype\./,Vr=function(i,e){var r=by[my(i)];return r===Ty?!0:r===xy?!1:py(e)?dy(e):!!e},my=Vr.normalize=function(i){return String(i).replace(yy,".").toLowerCase()},by=Vr.data={},xy=Vr.NATIVE="N",Ty=Vr.POLYFILL="P";$u.exports=Vr});var ee=g((zS,Gu)=>{"use strict";var Ct=I(),Oy=Ar().f,Sy=er(),Ey=Ne(),wy=vt(),Cy=zu(),qy=ba();Gu.exports=function(i,e){var r=i.target,t=i.global,a=i.stat,n,o,s,u,l,h;if(t?o=Ct:a?o=Ct[r]||wy(r,{}):o=Ct[r]&&Ct[r].prototype,o)for(s in e){if(l=e[s],i.dontCallGetSet?(h=Oy(o,s),u=h&&h.value):u=o[s],n=qy(t?s:r+(a?".":"#")+s,i.forced),!n&&u!==void 0){if(typeof l==typeof u)continue;Cy(l,u)}(i.sham||u&&u.sham)&&Sy(l,"sham",!0),Ey(o,s,l,i)}}});var xa=g(($S,Hu)=>{"use strict";var _r=I(),Py=Ze(),Ay=Ae(),qt=function(i){return Py.slice(0,i.length)===i};Hu.exports=function(){return qt("Bun/")?"BUN":qt("Cloudflare-Workers")?"CLOUDFLARE":qt("Deno/")?"DENO":qt("Node.js/")?"NODE":_r.Bun&&typeof Bun.version=="string"?"BUN":_r.Deno&&typeof Deno.version=="object"?"DENO":Ay(_r.process)==="process"?"NODE":_r.window&&_r.document?"BROWSER":"REST"}()});var Dr=g((GS,Yu)=>{"use strict";var Ry=xa();Yu.exports=Ry==="NODE"});var Wu=g((HS,Xu)=>{"use strict";var Ny=I();Xu.exports=Ny});var Ku=g((YS,Qu)=>{"use strict";var Iy=L(),My=xe();Qu.exports=function(i,e,r){try{return Iy(My(Object.getOwnPropertyDescriptor(i,e)[r]))}catch{}}});var Ju=g((XS,Zu)=>{"use strict";var Vy=te();Zu.exports=function(i){return Vy(i)||i===null}});var rl=g((WS,el)=>{"use strict";var _y=Ju(),Dy=String,Ly=TypeError;el.exports=function(i){if(_y(i))return i;throw new Ly("Can't set "+Dy(i)+" as a prototype")}});var Ta=g((QS,tl)=>{"use strict";var ky=Ku(),By=te(),Uy=le(),jy=rl();tl.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,e={},r;try{r=ky(Object.prototype,"__proto__","set"),r(e,[]),i=e instanceof Array}catch{}return function(a,n){return Uy(a),jy(n),By(a)&&(i?r(a,n):a.__proto__=n),a}}():void 0)});var Lr=g((KS,al)=>{"use strict";var Fy=Oe().f,zy=he(),$y=z(),il=$y("toStringTag");al.exports=function(i,e,r){i&&!r&&(i=i.prototype),i&&!zy(i,il)&&Fy(i,il,{configurable:!0,value:e})}});var ol=g((ZS,sl)=>{"use strict";var nl=da(),Gy=Oe();sl.exports=function(i,e,r){return r.get&&nl(r.get,e,{getter:!0}),r.set&&nl(r.set,e,{setter:!0}),Gy.f(i,e,r)}});var hl=g((JS,ll)=>{"use strict";var Hy=Re(),Yy=ol(),Xy=z(),Wy=ue(),ul=Xy("species");ll.exports=function(i){var e=Hy(i);Wy&&e&&!e[ul]&&Yy(e,ul,{configurable:!0,get:function(){return this}})}});var fl=g((eE,cl)=>{"use strict";var Qy=wr(),Ky=TypeError;cl.exports=function(i,e){if(Qy(e,i))return i;throw new Ky("Incorrect invocation")}});var dl=g((rE,gl)=>{"use strict";var Zy=z(),Jy=Zy("toStringTag"),vl={};vl[Jy]="z";gl.exports=String(vl)==="[object z]"});var At=g((tE,pl)=>{"use strict";var e0=dl(),r0=k(),Pt=Ae(),t0=z(),i0=t0("toStringTag"),a0=Object,n0=Pt(function(){return arguments}())==="Arguments",s0=function(i,e){try{return i[e]}catch{}};pl.exports=e0?Pt:function(i){var e,r,t;return i===void 0?"Undefined":i===null?"Null":typeof(r=s0(e=a0(i),i0))=="string"?r:n0?Pt(e):(t=Pt(e))==="Object"&&r0(e.callee)?"Arguments":t}});var Ol=g((iE,Tl)=>{"use strict";var o0=L(),u0=D(),yl=k(),l0=At(),h0=Re(),c0=yt(),ml=function(){},bl=h0("Reflect","construct"),Oa=/^\s*(?:class|function)\b/,f0=o0(Oa.exec),v0=!Oa.test(ml),kr=function(e){if(!yl(e))return!1;try{return bl(ml,[],e),!0}catch{return!1}},xl=function(e){if(!yl(e))return!1;switch(l0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v0||!!f0(Oa,c0(e))}catch{return!0}};xl.sham=!0;Tl.exports=!bl||u0(function(){var i;return kr(kr.call)||!kr(Object)||!kr(function(){i=!0})||i})?xl:kr});var El=g((aE,Sl)=>{"use strict";var g0=Ol(),d0=Cr(),p0=TypeError;Sl.exports=function(i){if(g0(i))return i;throw new p0(d0(i)+" is not a constructor")}});var Sa=g((nE,Cl)=>{"use strict";var wl=J(),y0=El(),m0=Er(),b0=z(),x0=b0("species");Cl.exports=function(i,e){var r=wl(i).constructor,t;return r===void 0||m0(t=wl(r)[x0])?e:y0(t)}});var Ea=g((sE,Rl)=>{"use strict";var T0=Sr(),Al=Function.prototype,ql=Al.apply,Pl=Al.call;Rl.exports=typeof Reflect=="object"&&Reflect.apply||(T0?Pl.bind(ql):function(){return Pl.apply(ql,arguments)})});var Br=g((oE,Nl)=>{"use strict";var O0=Ae(),S0=L();Nl.exports=function(i){if(O0(i)==="Function")return S0(i)}});var Rt=g((uE,Ml)=>{"use strict";var Il=Br(),E0=xe(),w0=Sr(),C0=Il(Il.bind);Ml.exports=function(i,e){return E0(i),e===void 0?i:w0?C0(i,e):function(){return i.apply(e,arguments)}}});var wa=g((lE,Vl)=>{"use strict";var q0=Re();Vl.exports=q0("document","documentElement")});var Dl=g((hE,_l)=>{"use strict";var P0=L();_l.exports=P0([].slice)});var kl=g((cE,Ll)=>{"use strict";var A0=TypeError;Ll.exports=function(i,e){if(i<e)throw new A0("Not enough arguments");return i}});var Ca=g((fE,Bl)=>{"use strict";var R0=Ze();Bl.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(R0)});var _a=g((vE,Xl)=>{"use strict";var ne=I(),N0=Ea(),I0=Rt(),Ul=k(),M0=he(),Yl=D(),jl=wa(),V0=Dl(),Fl=Pr(),_0=kl(),D0=Ca(),L0=Dr(),Ia=ne.setImmediate,Ma=ne.clearImmediate,k0=ne.process,qa=ne.Dispatch,B0=ne.Function,zl=ne.MessageChannel,U0=ne.String,Pa=0,Ur={},$l="onreadystatechange",jr,Fe,Aa,Ra;Yl(function(){jr=ne.location});var Va=function(i){if(M0(Ur,i)){var e=Ur[i];delete Ur[i],e()}},Na=function(i){return function(){Va(i)}},Gl=function(i){Va(i.data)},Hl=function(i){ne.postMessage(U0(i),jr.protocol+"//"+jr.host)};(!Ia||!Ma)&&(Ia=function(e){_0(arguments.length,1);var r=Ul(e)?e:B0(e),t=V0(arguments,1);return Ur[++Pa]=function(){N0(r,void 0,t)},Fe(Pa),Pa},Ma=function(e){delete Ur[e]},L0?Fe=function(i){k0.nextTick(Na(i))}:qa&&qa.now?Fe=function(i){qa.now(Na(i))}:zl&&!D0?(Aa=new zl,Ra=Aa.port2,Aa.port1.onmessage=Gl,Fe=I0(Ra.postMessage,Ra)):ne.addEventListener&&Ul(ne.postMessage)&&!ne.importScripts&&jr&&jr.protocol!=="file:"&&!Yl(Hl)?(Fe=Hl,ne.addEventListener("message",Gl,!1)):$l in Fl("script")?Fe=function(i){jl.appendChild(Fl("script"))[$l]=function(){jl.removeChild(this),Va(i)}}:Fe=function(i){setTimeout(Na(i),0)});Xl.exports={set:Ia,clear:Ma}});var Kl=g((gE,Ql)=>{"use strict";var Wl=I(),j0=ue(),F0=Object.getOwnPropertyDescriptor;Ql.exports=function(i){if(!j0)return Wl[i];var e=F0(Wl,i);return e&&e.value}});var Da=g((dE,Jl)=>{"use strict";var Zl=function(){this.head=null,this.tail=null};Zl.prototype={add:function(i){var e={item:i,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var i=this.head;if(i){var e=this.head=i.next;return e===null&&(this.tail=null),i.item}}};Jl.exports=Zl});var rh=g((pE,eh)=>{"use strict";var z0=Ze();eh.exports=/ipad|iphone|ipod/i.test(z0)&&typeof Pebble<"u"});var ih=g((yE,th)=>{"use strict";var $0=Ze();th.exports=/web0s(?!.*chrome)/i.test($0)});var hh=g((mE,lh)=>{"use strict";var tr=I(),G0=Kl(),ah=Rt(),La=_a().set,H0=Da(),Y0=Ca(),X0=rh(),W0=ih(),ka=Dr(),nh=tr.MutationObserver||tr.WebKitMutationObserver,sh=tr.document,oh=tr.process,Nt=tr.Promise,ja=G0("queueMicrotask"),rr,Ba,Ua,It,uh;ja||(Fr=new H0,zr=function(){var i,e;for(ka&&(i=oh.domain)&&i.exit();e=Fr.get();)try{e()}catch(r){throw Fr.head&&rr(),r}i&&i.enter()},!Y0&&!ka&&!W0&&nh&&sh?(Ba=!0,Ua=sh.createTextNode(""),new nh(zr).observe(Ua,{characterData:!0}),rr=function(){Ua.data=Ba=!Ba}):!X0&&Nt&&Nt.resolve?(It=Nt.resolve(void 0),It.constructor=Nt,uh=ah(It.then,It),rr=function(){uh(zr)}):ka?rr=function(){oh.nextTick(zr)}:(La=ah(La,tr),rr=function(){La(zr)}),ja=function(i){Fr.head||rr(),Fr.add(i)});var Fr,zr;lh.exports=ja});var fh=g((bE,ch)=>{"use strict";ch.exports=function(i,e){try{arguments.length===1?console.error(i):console.error(i,e)}catch{}}});var Mt=g((xE,vh)=>{"use strict";vh.exports=function(i){try{return{error:!1,value:i()}}catch(e){return{error:!0,value:e}}}});var ir=g((TE,gh)=>{"use strict";var Q0=I();gh.exports=Q0.Promise});var ar=g((OE,mh)=>{"use strict";var K0=I(),$r=ir(),Z0=k(),J0=ba(),em=yt(),rm=z(),dh=xa(),tm=ve(),Fa=ft(),ph=$r&&$r.prototype,im=rm("species"),za=!1,yh=Z0(K0.PromiseRejectionEvent),am=J0("Promise",function(){var i=em($r),e=i!==String($r);if(!e&&Fa===66||tm&&!(ph.catch&&ph.finally))return!0;if(!Fa||Fa<51||!/native code/.test(i)){var r=new $r(function(n){n(1)}),t=function(n){n(function(){},function(){})},a=r.constructor={};if(a[im]=t,za=r.then(function(){})instanceof t,!za)return!0}return!e&&(dh==="BROWSER"||dh==="DENO")&&!yh});mh.exports={CONSTRUCTOR:am,REJECTION_EVENT:yh,SUBCLASSING:za}});var nr=g((SE,xh)=>{"use strict";var bh=xe(),nm=TypeError,sm=function(i){var e,r;this.promise=new i(function(t,a){if(e!==void 0||r!==void 0)throw new nm("Bad Promise constructor");e=t,r=a}),this.resolve=bh(e),this.reject=bh(r)};xh.exports.f=function(i){return new sm(i)}});var Uh=g(()=>{"use strict";var om=ee(),um=ve(),Lt=Dr(),Ie=I(),lm=Wu(),lr=H(),Th=Ne(),Oh=Ta(),hm=Lr(),cm=hl(),fm=xe(),Dt=k(),vm=te(),gm=fl(),dm=Sa(),qh=_a().set,Xa=hh(),pm=fh(),ym=Mt(),mm=Da(),Ph=Ir(),kt=ir(),Wa=ar(),Ah=nr(),Bt="Promise",Rh=Wa.CONSTRUCTOR,bm=Wa.REJECTION_EVENT,xm=Wa.SUBCLASSING,$a=Ph.getterFor(Bt),Tm=Ph.set,sr=kt&&kt.prototype,ze=kt,Vt=sr,Nh=Ie.TypeError,Ga=Ie.document,Qa=Ie.process,Ha=Ah.f,Om=Ha,Sm=!!(Ga&&Ga.createEvent&&Ie.dispatchEvent),Ih="unhandledrejection",Em="rejectionhandled",Sh=0,Mh=1,wm=2,Ka=1,Vh=2,_t,Eh,_h,wh,Dh=function(i){var e;return vm(i)&&Dt(e=i.then)?e:!1},Lh=function(i,e){var r=e.value,t=e.state===Mh,a=t?i.ok:i.fail,n=i.resolve,o=i.reject,s=i.domain,u,l,h;try{a?(t||(e.rejection===Vh&&qm(e),e.rejection=Ka),a===!0?u=r:(s&&s.enter(),u=a(r),s&&(s.exit(),h=!0)),u===i.promise?o(new Nh("Promise-chain cycle")):(l=Dh(u))?lr(l,u,n,o):n(u)):o(r)}catch(f){s&&!h&&s.exit(),o(f)}},kh=function(i,e){i.notified||(i.notified=!0,Xa(function(){for(var r=i.reactions,t;t=r.get();)Lh(t,i);i.notified=!1,e&&!i.rejection&&Cm(i)}))},Bh=function(i,e,r){var t,a;Sm?(t=Ga.createEvent("Event"),t.promise=e,t.reason=r,t.initEvent(i,!1,!0),Ie.dispatchEvent(t)):t={promise:e,reason:r},!bm&&(a=Ie["on"+i])?a(t):i===Ih&&pm("Unhandled promise rejection",r)},Cm=function(i){lr(qh,Ie,function(){var e=i.facade,r=i.value,t=Ch(i),a;if(t&&(a=ym(function(){Lt?Qa.emit("unhandledRejection",r,e):Bh(Ih,e,r)}),i.rejection=Lt||Ch(i)?Vh:Ka,a.error))throw a.value})},Ch=function(i){return i.rejection!==Ka&&!i.parent},qm=function(i){lr(qh,Ie,function(){var e=i.facade;Lt?Qa.emit("rejectionHandled",e):Bh(Em,e,i.value)})},or=function(i,e,r){return function(t){i(e,t,r)}},ur=function(i,e,r){i.done||(i.done=!0,r&&(i=r),i.value=e,i.state=wm,kh(i,!0))},Ya=function(i,e,r){if(!i.done){i.done=!0,r&&(i=r);try{if(i.facade===e)throw new Nh("Promise can't be resolved itself");var t=Dh(e);t?Xa(function(){var a={done:!1};try{lr(t,e,or(Ya,a,i),or(ur,a,i))}catch(n){ur(a,n,i)}}):(i.value=e,i.state=Mh,kh(i,!1))}catch(a){ur({done:!1},a,i)}}};if(Rh&&(ze=function(e){gm(this,Vt),fm(e),lr(_t,this);var r=$a(this);try{e(or(Ya,r),or(ur,r))}catch(t){ur(r,t)}},Vt=ze.prototype,_t=function(e){Tm(this,{type:Bt,done:!1,notified:!1,parent:!1,reactions:new mm,rejection:!1,state:Sh,value:null})},_t.prototype=Th(Vt,"then",function(e,r){var t=$a(this),a=Ha(dm(this,ze));return t.parent=!0,a.ok=Dt(e)?e:!0,a.fail=Dt(r)&&r,a.domain=Lt?Qa.domain:void 0,t.state===Sh?t.reactions.add(a):Xa(function(){Lh(a,t)}),a.promise}),Eh=function(){var i=new _t,e=$a(i);this.promise=i,this.resolve=or(Ya,e),this.reject=or(ur,e)},Ah.f=Ha=function(i){return i===ze||i===_h?new Eh(i):Om(i)},!um&&Dt(kt)&&sr!==Object.prototype)){wh=sr.then,xm||Th(sr,"then",function(e,r){var t=this;return new ze(function(a,n){lr(wh,t,a,n)}).then(e,r)},{unsafe:!0});try{delete sr.constructor}catch{}Oh&&Oh(sr,Vt)}om({global:!0,constructor:!0,wrap:!0,forced:Rh},{Promise:ze});_h=lm.Promise;hm(ze,Bt,!1,!0);cm(Bt)});var hr=g((CE,jh)=>{"use strict";jh.exports={}});var zh=g((qE,Fh)=>{"use strict";var Pm=z(),Am=hr(),Rm=Pm("iterator"),Nm=Array.prototype;Fh.exports=function(i){return i!==void 0&&(Am.Array===i||Nm[Rm]===i)}});var Za=g((PE,Gh)=>{"use strict";var Im=At(),$h=Be(),Mm=Er(),Vm=hr(),_m=z(),Dm=_m("iterator");Gh.exports=function(i){if(!Mm(i))return $h(i,Dm)||$h(i,"@@iterator")||Vm[Im(i)]}});var Yh=g((AE,Hh)=>{"use strict";var Lm=H(),km=xe(),Bm=J(),Um=Cr(),jm=Za(),Fm=TypeError;Hh.exports=function(i,e){var r=arguments.length<2?jm(i):e;if(km(r))return Bm(Lm(r,i));throw new Fm(Um(i)+" is not iterable")}});var Qh=g((RE,Wh)=>{"use strict";var zm=H(),Xh=J(),$m=Be();Wh.exports=function(i,e,r){var t,a;Xh(i);try{if(t=$m(i,"return"),!t){if(e==="throw")throw r;return r}t=zm(t,i)}catch(n){a=!0,t=n}if(e==="throw")throw r;if(a)throw t;return Xh(t),r}});var Ja=g((NE,ec)=>{"use strict";var Gm=Rt(),Hm=H(),Ym=J(),Xm=Cr(),Wm=zh(),Qm=Et(),Kh=wr(),Km=Yh(),Zm=Za(),Zh=Qh(),Jm=TypeError,Ut=function(i,e){this.stopped=i,this.result=e},Jh=Ut.prototype;ec.exports=function(i,e,r){var t=r&&r.that,a=!!(r&&r.AS_ENTRIES),n=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=Gm(e,t),l,h,f,v,c,d,p,y=function(T){return l&&Zh(l,"normal"),new Ut(!0,T)},m=function(T){return a?(Ym(T),s?u(T[0],T[1],y):u(T[0],T[1])):s?u(T,y):u(T)};if(n)l=i.iterator;else if(o)l=i;else{if(h=Zm(i),!h)throw new Jm(Xm(i)+" is not iterable");if(Wm(h)){for(f=0,v=Qm(i);v>f;f++)if(c=m(i[f]),c&&Kh(Jh,c))return c;return new Ut(!1)}l=Km(i,h)}for(d=n?i.next:l.next;!(p=Hm(d,l)).done;){try{c=m(p.value)}catch(T){Zh(l,"throw",T)}if(typeof c=="object"&&c&&Kh(Jh,c))return c}return new Ut(!1)}});var nc=g((IE,ac)=>{"use strict";var eb=z(),tc=eb("iterator"),ic=!1;try{rc=0,en={next:function(){return{done:!!rc++}},return:function(){ic=!0}},en[tc]=function(){return this},Array.from(en,function(){throw 2})}catch{}var rc,en;ac.exports=function(i,e){try{if(!e&&!ic)return!1}catch{return!1}var r=!1;try{var t={};t[tc]=function(){return{next:function(){return{done:r=!0}}}},i(t)}catch{}return r}});var rn=g((ME,sc)=>{"use strict";var rb=ir(),tb=nc(),ib=ar().CONSTRUCTOR;sc.exports=ib||!tb(function(i){rb.all(i).then(void 0,function(){})})});var oc=g(()=>{"use strict";var ab=ee(),nb=H(),sb=xe(),ob=nr(),ub=Mt(),lb=Ja(),hb=rn();ab({target:"Promise",stat:!0,forced:hb},{all:function(e){var r=this,t=ob.f(r),a=t.resolve,n=t.reject,o=ub(function(){var s=sb(r.resolve),u=[],l=0,h=1;lb(e,function(f){var v=l++,c=!1;h++,nb(s,r,f).then(function(d){c||(c=!0,u[v]=d,--h||a(u))},n)}),--h||a(u)});return o.error&&n(o.value),t.promise}})});var lc=g(()=>{"use strict";var cb=ee(),fb=ve(),vb=ar().CONSTRUCTOR,an=ir(),gb=Re(),db=k(),pb=Ne(),uc=an&&an.prototype;cb({target:"Promise",proto:!0,forced:vb,real:!0},{catch:function(i){return this.then(void 0,i)}});!fb&&db(an)&&(tn=gb("Promise").prototype.catch,uc.catch!==tn&&pb(uc,"catch",tn,{unsafe:!0}));var tn});var hc=g(()=>{"use strict";var yb=ee(),mb=H(),bb=xe(),xb=nr(),Tb=Mt(),Ob=Ja(),Sb=rn();yb({target:"Promise",stat:!0,forced:Sb},{race:function(e){var r=this,t=xb.f(r),a=t.reject,n=Tb(function(){var o=bb(r.resolve);Ob(e,function(s){mb(o,r,s).then(t.resolve,a)})});return n.error&&a(n.value),t.promise}})});var cc=g(()=>{"use strict";var Eb=ee(),wb=nr(),Cb=ar().CONSTRUCTOR;Eb({target:"Promise",stat:!0,forced:Cb},{reject:function(e){var r=wb.f(this),t=r.reject;return t(e),r.promise}})});var vc=g((FE,fc)=>{"use strict";var qb=J(),Pb=te(),Ab=nr();fc.exports=function(i,e){if(qb(i),Pb(e)&&e.constructor===i)return e;var r=Ab.f(i),t=r.resolve;return t(e),r.promise}});var pc=g(()=>{"use strict";var Rb=ee(),Nb=Re(),gc=ve(),Ib=ir(),dc=ar().CONSTRUCTOR,Mb=vc(),Vb=Nb("Promise"),_b=gc&&!dc;Rb({target:"Promise",stat:!0,forced:gc||dc},{resolve:function(e){return Mb(_b&&this===Vb?Ib:this,e)}})});var yc=g(()=>{"use strict";Uh();oc();lc();hc();cc();pc()});var de=g((XE,bc)=>{"use strict";var Db=At(),Lb=String;bc.exports=function(i){if(Db(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Lb(i)}});var nn=g((WE,xc)=>{"use strict";var kb=J();xc.exports=function(){var i=kb(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e}});var ln=g((QE,Tc)=>{"use strict";var sn=D(),Bb=I(),on=Bb.RegExp,un=sn(function(){var i=on("a","y");return i.lastIndex=2,i.exec("abcd")!==null}),Ub=un||sn(function(){return!on("a","y").sticky}),jb=un||sn(function(){var i=on("^r","gy");return i.lastIndex=2,i.exec("str")!==null});Tc.exports={BROKEN_CARET:jb,MISSED_STICKY:Ub,UNSUPPORTED_Y:un}});var Sc=g((KE,Oc)=>{"use strict";var Fb=ma(),zb=wt();Oc.exports=Object.keys||function(e){return Fb(e,zb)}});var wc=g(Ec=>{"use strict";var $b=ue(),Gb=ta(),Hb=Oe(),Yb=J(),Xb=Ke(),Wb=Sc();Ec.f=$b&&!Gb?Object.defineProperties:function(e,r){Yb(e);for(var t=Xb(r),a=Wb(r),n=a.length,o=0,s;n>o;)Hb.f(e,s=a[o++],t[s]);return e}});var Gr=g((JE,Ic)=>{"use strict";var Qb=J(),Kb=wc(),Cc=wt(),Zb=bt(),Jb=wa(),ex=Pr(),rx=mt(),qc=">",Pc="<",cn="prototype",fn="script",Rc=rx("IE_PROTO"),hn=function(){},Nc=function(i){return Pc+fn+qc+i+Pc+"/"+fn+qc},Ac=function(i){i.write(Nc("")),i.close();var e=i.parentWindow.Object;return i=null,e},tx=function(){var i=ex("iframe"),e="java"+fn+":",r;return i.style.display="none",Jb.appendChild(i),i.src=String(e),r=i.contentWindow.document,r.open(),r.write(Nc("document.F=Object")),r.close(),r.F},jt,Ft=function(){try{jt=new ActiveXObject("htmlfile")}catch{}Ft=typeof document<"u"?document.domain&&jt?Ac(jt):tx():Ac(jt);for(var i=Cc.length;i--;)delete Ft[cn][Cc[i]];return Ft()};Zb[Rc]=!0;Ic.exports=Object.create||function(e,r){var t;return e!==null?(hn[cn]=Qb(e),t=new hn,hn[cn]=null,t[Rc]=e):t=Ft(),r===void 0?t:Kb.f(t,r)}});var Vc=g((ew,Mc)=>{"use strict";var ix=D(),ax=I(),nx=ax.RegExp;Mc.exports=ix(function(){var i=nx(".","s");return!(i.dotAll&&i.test(`
|
5
|
+
`)&&i.flags==="s")})});var Dc=g((rw,_c)=>{"use strict";var sx=D(),ox=I(),ux=ox.RegExp;_c.exports=sx(function(){var i=ux("(?<a>b)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$<a>c")!=="bc"})});var Gt=g((tw,kc)=>{"use strict";var cr=H(),$t=L(),lx=de(),hx=nn(),cx=ln(),fx=dt(),vx=Gr(),gx=Ir().get,dx=Vc(),px=Dc(),yx=fx("native-string-replace",String.prototype.replace),zt=RegExp.prototype.exec,gn=zt,mx=$t("".charAt),bx=$t("".indexOf),xx=$t("".replace),vn=$t("".slice),dn=function(){var i=/a/,e=/b*/g;return cr(zt,i,"a"),cr(zt,e,"a"),i.lastIndex!==0||e.lastIndex!==0}(),Lc=cx.BROKEN_CARET,pn=/()??/.exec("")[1]!==void 0,Tx=dn||pn||Lc||dx||px;Tx&&(gn=function(e){var r=this,t=gx(r),a=lx(e),n=t.raw,o,s,u,l,h,f,v;if(n)return n.lastIndex=r.lastIndex,o=cr(gn,n,a),r.lastIndex=n.lastIndex,o;var c=t.groups,d=Lc&&r.sticky,p=cr(hx,r),y=r.source,m=0,T=a;if(d&&(p=xx(p,"y",""),bx(p,"g")===-1&&(p+="g"),T=vn(a,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&mx(a,r.lastIndex-1)!==`
|
6
|
+
`)&&(y="(?: "+y+")",T=" "+T,m++),s=new RegExp("^(?:"+y+")",p)),pn&&(s=new RegExp("^"+y+"$(?!\\s)",p)),dn&&(u=r.lastIndex),l=cr(zt,d?s:r,T),d?l?(l.input=vn(l.input,m),l[0]=vn(l[0],m),l.index=r.lastIndex,r.lastIndex+=l[0].length):r.lastIndex=0:dn&&l&&(r.lastIndex=r.global?l.index+l[0].length:u),pn&&l&&l.length>1&&cr(yx,l[0],s,function(){for(h=1;h<arguments.length-2;h++)arguments[h]===void 0&&(l[h]=void 0)}),l&&c)for(l.groups=f=vx(null),h=0;h<c.length;h++)v=c[h],f[v[0]]=l[v[1]];return l});kc.exports=gn});var Uc=g(()=>{"use strict";var Ox=ee(),Bc=Gt();Ox({target:"RegExp",proto:!0,forced:/./.exec!==Bc},{exec:Bc})});var Ht=g((nw,Gc)=>{"use strict";Uc();var jc=H(),Fc=Ne(),Sx=Gt(),zc=D(),$c=z(),Ex=er(),wx=$c("species"),yn=RegExp.prototype;Gc.exports=function(i,e,r,t){var a=$c(i),n=!zc(function(){var l={};return l[a]=function(){return 7},""[i](l)!==7}),o=n&&!zc(function(){var l=!1,h=/a/;return i==="split"&&(h={},h.constructor={},h.constructor[wx]=function(){return h},h.flags="",h[a]=/./[a]),h.exec=function(){return l=!0,null},h[a](""),!l});if(!n||!o||r){var s=/./[a],u=e(a,""[i],function(l,h,f,v,c){var d=h.exec;return d===Sx||d===yn.exec?n&&!c?{done:!0,value:jc(s,h,f,v)}:{done:!0,value:jc(l,f,h,v)}:{done:!1}});Fc(String.prototype,i,u[0]),Fc(yn,a,u[1])}t&&Ex(yn[a],"sham",!0)}});var Wc=g((sw,Xc)=>{"use strict";var mn=L(),Cx=Mr(),qx=de(),Px=le(),Ax=mn("".charAt),Hc=mn("".charCodeAt),Rx=mn("".slice),Yc=function(i){return function(e,r){var t=qx(Px(e)),a=Cx(r),n=t.length,o,s;return a<0||a>=n?i?"":void 0:(o=Hc(t,a),o<55296||o>56319||a+1===n||(s=Hc(t,a+1))<56320||s>57343?i?Ax(t,a):o:i?Rx(t,a,a+2):(o-55296<<10)+(s-56320)+65536)}};Xc.exports={codeAt:Yc(!1),charAt:Yc(!0)}});var Yt=g((ow,Qc)=>{"use strict";var Nx=Wc().charAt;Qc.exports=function(i,e,r){return e+(r?Nx(i,e).length:1)}});var Jc=g((uw,Zc)=>{"use strict";var Ix=I(),Mx=D(),Kc=Ix.RegExp,Vx=!Mx(function(){var i=!0;try{Kc(".","d")}catch{i=!1}var e={},r="",t=i?"dgimsy":"gimsy",a=function(u,l){Object.defineProperty(e,u,{get:function(){return r+=l,!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(n.hasIndices="d");for(var o in n)a(o,n[o]);var s=Object.getOwnPropertyDescriptor(Kc.prototype,"flags").get.call(e);return s!==t||r!==t});Zc.exports={correct:Vx}});var Xt=g((lw,rf)=>{"use strict";var _x=H(),Dx=he(),Lx=wr(),ef=Jc(),kx=nn(),Bx=RegExp.prototype;rf.exports=ef.correct?function(i){return i.flags}:function(i){return!ef.correct&&Lx(Bx,i)&&!Dx(i,"flags")?_x(kx,i):i.flags}});var Wt=g((hw,af)=>{"use strict";var tf=H(),Ux=J(),jx=k(),Fx=Ae(),zx=Gt(),$x=TypeError;af.exports=function(i,e){var r=i.exec;if(jx(r)){var t=tf(r,i,e);return t!==null&&Ux(t),t}if(Fx(i)==="RegExp")return tf(zx,i,e);throw new $x("RegExp#exec called on incompatible receiver")}});var of=g(()=>{"use strict";var Gx=H(),Hx=L(),Yx=Ht(),Xx=J(),Wx=te(),Qx=je(),Qt=de(),Kx=le(),Zx=Be(),Jx=Yt(),e1=Xt(),nf=Wt(),sf=Hx("".indexOf);Yx("match",function(i,e,r){return[function(a){var n=Kx(this),o=Wx(a)?Zx(a,i):void 0;return o?Gx(o,a,n):new RegExp(a)[i](Qt(n))},function(t){var a=Xx(this),n=Qt(t),o=r(e,a,n);if(o.done)return o.value;var s=Qt(e1(a));if(sf(s,"g")===-1)return nf(a,n);var u=sf(s,"u")!==-1;a.lastIndex=0;for(var l=[],h=0,f;(f=nf(a,n))!==null;){var v=Qt(f[0]);l[h]=v,v===""&&(a.lastIndex=Jx(n,Qx(a.lastIndex),u)),h++}return h===0?null:l}]})});var lf=g((vw,uf)=>{"use strict";var Tn=L(),r1=qr(),t1=Math.floor,bn=Tn("".charAt),i1=Tn("".replace),xn=Tn("".slice),a1=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,n1=/\$([$&'`]|\d{1,2})/g;uf.exports=function(i,e,r,t,a,n){var o=r+i.length,s=t.length,u=n1;return a!==void 0&&(a=r1(a),u=a1),i1(n,u,function(l,h){var f;switch(bn(h,0)){case"$":return"$";case"&":return i;case"`":return xn(e,0,r);case"'":return xn(e,o);case"<":f=a[xn(h,1,-1)];break;default:var v=+h;if(v===0)return l;if(v>s){var c=t1(v/10);return c===0?l:c<=s?t[c-1]===void 0?bn(h,1):t[c-1]+bn(h,1):l}f=t[v-1]}return f===void 0?"":f})}});var vf=g(()=>{"use strict";var s1=Ea(),hf=H(),Zt=L(),o1=Ht(),u1=D(),l1=J(),h1=k(),c1=te(),f1=Mr(),v1=je(),$e=de(),g1=le(),d1=Yt(),p1=Be(),y1=lf(),m1=Xt(),b1=Wt(),x1=z(),Sn=x1("replace"),T1=Math.max,O1=Math.min,S1=Zt([].concat),On=Zt([].push),Kt=Zt("".indexOf),cf=Zt("".slice),E1=function(i){return i===void 0?i:String(i)},w1=function(){return"a".replace(/./,"$0")==="$0"}(),ff=function(){return/./[Sn]?/./[Sn]("a","$0")==="":!1}(),C1=!u1(function(){var i=/./;return i.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(i,"$<a>")!=="7"});o1("replace",function(i,e,r){var t=ff?"$":"$0";return[function(n,o){var s=g1(this),u=c1(n)?p1(n,Sn):void 0;return u?hf(u,n,s,o):hf(e,$e(s),n,o)},function(a,n){var o=l1(this),s=$e(a);if(typeof n=="string"&&Kt(n,t)===-1&&Kt(n,"$<")===-1){var u=r(e,o,s,n);if(u.done)return u.value}var l=h1(n);l||(n=$e(n));var h=$e(m1(o)),f=Kt(h,"g")!==-1,v;f&&(v=Kt(h,"u")!==-1,o.lastIndex=0);for(var c=[],d;d=b1(o,s),!(d===null||(On(c,d),!f));){var p=$e(d[0]);p===""&&(o.lastIndex=d1(s,v1(o.lastIndex),v))}for(var y="",m=0,T=0;T<c.length;T++){d=c[T];for(var x=$e(d[0]),O=T1(O1(f1(d.index),s.length),0),q=[],w,S=1;S<d.length;S++)On(q,E1(d[S]));var P=d.groups;if(l){var A=S1([x],q,O,s);P!==void 0&&On(A,P),w=$e(s1(n,void 0,A))}else w=y1(x,s,O,q,P,n);O>=m&&(y+=cf(s,m,O)+w,m=O+x.length)}return y+cf(s,m)}]},!C1||!w1||ff)});var df=g((pw,gf)=>{"use strict";var q1=te(),P1=Ae(),A1=z(),R1=A1("match");gf.exports=function(i){var e;return q1(i)&&((e=i[R1])!==void 0?!!e:P1(i)==="RegExp")}});var Jt=g((yw,pf)=>{"use strict";var N1=df(),I1=TypeError;pf.exports=function(i){if(N1(i))throw new I1("The method doesn't accept regular expressions");return i}});var ei=g((mw,yf)=>{"use strict";var M1=z(),V1=M1("match");yf.exports=function(i){var e=/./;try{"/./"[i](e)}catch{try{return e[V1]=!1,"/./"[i](e)}catch{}}return!1}});var xf=g(()=>{"use strict";var _1=ee(),D1=Br(),L1=Ar().f,k1=je(),mf=de(),B1=Jt(),U1=le(),j1=ei(),F1=ve(),z1=D1("".slice),$1=Math.min,bf=j1("startsWith"),G1=!F1&&!bf&&!!function(){var i=L1(String.prototype,"startsWith");return i&&!i.writable}();_1({target:"String",proto:!0,forced:!G1&&!bf},{startsWith:function(e){var r=mf(U1(this));B1(e);var t=k1($1(arguments.length>1?arguments[1]:void 0,r.length)),a=mf(e);return z1(r,t,t+a.length)===a}})});var Of=g((Tw,Tf)=>{"use strict";var H1=z(),Y1=Gr(),X1=Oe().f,En=H1("unscopables"),wn=Array.prototype;wn[En]===void 0&&X1(wn,En,{configurable:!0,value:Y1(null)});Tf.exports=function(i){wn[En][i]=!0}});var Ef=g((Ow,Sf)=>{"use strict";var W1=D();Sf.exports=!W1(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})});var qn=g((Sw,Cf)=>{"use strict";var Q1=he(),K1=k(),Z1=qr(),J1=mt(),e2=Ef(),wf=J1("IE_PROTO"),Cn=Object,r2=Cn.prototype;Cf.exports=e2?Cn.getPrototypeOf:function(i){var e=Z1(i);if(Q1(e,wf))return e[wf];var r=e.constructor;return K1(r)&&e instanceof r?r.prototype:e instanceof Cn?r2:null}});var Nn=g((Ew,Af)=>{"use strict";var t2=D(),i2=k(),a2=te(),n2=Gr(),qf=qn(),s2=Ne(),o2=z(),u2=ve(),Rn=o2("iterator"),Pf=!1,Se,Pn,An;[].keys&&(An=[].keys(),"next"in An?(Pn=qf(qf(An)),Pn!==Object.prototype&&(Se=Pn)):Pf=!0);var l2=!a2(Se)||t2(function(){var i={};return Se[Rn].call(i)!==i});l2?Se={}:u2&&(Se=n2(Se));i2(Se[Rn])||s2(Se,Rn,function(){return this});Af.exports={IteratorPrototype:Se,BUGGY_SAFARI_ITERATORS:Pf}});var Nf=g((ww,Rf)=>{"use strict";var h2=Nn().IteratorPrototype,c2=Gr(),f2=ht(),v2=Lr(),g2=hr(),d2=function(){return this};Rf.exports=function(i,e,r,t){var a=e+" Iterator";return i.prototype=c2(h2,{next:f2(+!t,r)}),v2(i,a,!1,!0),g2[a]=d2,i}});var Ff=g((Cw,jf)=>{"use strict";var p2=ee(),y2=H(),ri=ve(),Bf=Rr(),m2=k(),b2=Nf(),If=qn(),Mf=Ta(),x2=Lr(),T2=er(),In=Ne(),O2=z(),Vf=hr(),Uf=Nn(),S2=Bf.PROPER,E2=Bf.CONFIGURABLE,_f=Uf.IteratorPrototype,ti=Uf.BUGGY_SAFARI_ITERATORS,Hr=O2("iterator"),Df="keys",Yr="values",Lf="entries",kf=function(){return this};jf.exports=function(i,e,r,t,a,n,o){b2(r,e,t);var s=function(m){if(m===a&&v)return v;if(!ti&&m&&m in h)return h[m];switch(m){case Df:return function(){return new r(this,m)};case Yr:return function(){return new r(this,m)};case Lf:return function(){return new r(this,m)}}return function(){return new r(this)}},u=e+" Iterator",l=!1,h=i.prototype,f=h[Hr]||h["@@iterator"]||a&&h[a],v=!ti&&f||s(a),c=e==="Array"&&h.entries||f,d,p,y;if(c&&(d=If(c.call(new i)),d!==Object.prototype&&d.next&&(!ri&&If(d)!==_f&&(Mf?Mf(d,_f):m2(d[Hr])||In(d,Hr,kf)),x2(d,u,!0,!0),ri&&(Vf[u]=kf))),S2&&a===Yr&&f&&f.name!==Yr&&(!ri&&E2?T2(h,"name",Yr):(l=!0,v=function(){return y2(f,this)})),a)if(p={values:s(Yr),keys:n?v:s(Df),entries:s(Lf)},o)for(y in p)(ti||l||!(y in h))&&In(h,y,p[y]);else p2({target:e,proto:!0,forced:ti||l},p);return(!ri||o)&&h[Hr]!==v&&In(h,Hr,v,{name:a}),Vf[e]=v,p}});var $f=g((qw,zf)=>{"use strict";zf.exports=function(i,e){return{value:i,done:e}}});var Vn=g((Pw,Wf)=>{"use strict";var w2=Ke(),Mn=Of(),Gf=hr(),Yf=Ir(),C2=Oe().f,q2=Ff(),ii=$f(),P2=ve(),A2=ue(),Xf="Array Iterator",R2=Yf.set,N2=Yf.getterFor(Xf);Wf.exports=q2(Array,"Array",function(i,e){R2(this,{type:Xf,target:w2(i),index:0,kind:e})},function(){var i=N2(this),e=i.target,r=i.index++;if(!e||r>=e.length)return i.target=null,ii(void 0,!0);switch(i.kind){case"keys":return ii(r,!1);case"values":return ii(e[r],!1)}return ii([r,e[r]],!1)},"values");var Hf=Gf.Arguments=Gf.Array;Mn("keys");Mn("values");Mn("entries");if(!P2&&A2&&Hf.name!=="values")try{C2(Hf,"name",{value:"values"})}catch{}});var Kf=g((Aw,Qf)=>{"use strict";Qf.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var ev=g((Rw,Jf)=>{"use strict";var I2=Pr(),_n=I2("span").classList,Zf=_n&&_n.constructor&&_n.constructor.prototype;Jf.exports=Zf===Object.prototype?void 0:Zf});var nv=g(()=>{"use strict";var rv=I(),iv=Kf(),M2=ev(),Xr=Vn(),tv=er(),V2=Lr(),_2=z(),Dn=_2("iterator"),Ln=Xr.values,av=function(i,e){if(i){if(i[Dn]!==Ln)try{tv(i,Dn,Ln)}catch{i[Dn]=Ln}if(V2(i,e,!0),iv[e]){for(var r in Xr)if(i[r]!==Xr[r])try{tv(i,r,Xr[r])}catch{i[r]=Xr[r]}}}};for(ai in iv)av(rv[ai]&&rv[ai].prototype,ai);var ai;av(M2,"DOMTokenList")});var fv=g((Uw,cv)=>{"use strict";var D2=xe(),L2=qr(),k2=ji(),B2=Et(),uv=TypeError,lv="Reduce of empty array with no initial value",hv=function(i){return function(e,r,t,a){var n=L2(e),o=k2(n),s=B2(n);if(D2(r),s===0&&t<2)throw new uv(lv);var u=i?s-1:0,l=i?-1:1;if(t<2)for(;;){if(u in o){a=o[u],u+=l;break}if(u+=l,i?u<0:s<=u)throw new uv(lv)}for(;i?u>=0:s>u;u+=l)u in o&&(a=r(a,o[u],u,n));return a}};cv.exports={left:hv(!1),right:hv(!0)}});var kn=g((jw,vv)=>{"use strict";var U2=D();vv.exports=function(i,e){var r=[][i];return!!r&&U2(function(){r.call(null,e||function(){return 1},1)})}});var dv=g(()=>{"use strict";var j2=ee(),F2=fv().left,z2=kn(),gv=ft(),$2=Dr(),G2=!$2&&gv>79&&gv<83,H2=G2||!z2("reduce");j2({target:"Array",proto:!0,forced:H2},{reduce:function(e){var r=arguments.length;return F2(this,e,r,r>1?arguments[1]:void 0)}})});var mv=g(()=>{"use strict";var Y2=ee(),X2=Br(),W2=Ar().f,Q2=je(),pv=de(),K2=Jt(),Z2=le(),J2=ei(),eT=ve(),rT=X2("".slice),tT=Math.min,yv=J2("endsWith"),iT=!eT&&!yv&&!!function(){var i=W2(String.prototype,"endsWith");return i&&!i.writable}();Y2({target:"String",proto:!0,forced:!iT&&!yv},{endsWith:function(e){var r=pv(Z2(this));K2(e);var t=arguments.length>1?arguments[1]:void 0,a=r.length,n=t===void 0?a:tT(Q2(t),a),o=pv(e);return rT(r,n-o.length,n)===o}})});var Sv=g(()=>{"use strict";var Bn=H(),Ov=L(),aT=Ht(),nT=J(),sT=te(),oT=le(),uT=Sa(),lT=Yt(),hT=je(),bv=de(),cT=Be(),xv=Wt(),fT=ln(),vT=D(),fr=fT.UNSUPPORTED_Y,gT=4294967295,dT=Math.min,Un=Ov([].push),jn=Ov("".slice),pT=!vT(function(){var i=/(?:)/,e=i.exec;i.exec=function(){return e.apply(this,arguments)};var r="ab".split(i);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),Tv="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;aT("split",function(i,e,r){var t="0".split(void 0,0).length?function(a,n){return a===void 0&&n===0?[]:Bn(e,this,a,n)}:e;return[function(n,o){var s=oT(this),u=sT(n)?cT(n,i):void 0;return u?Bn(u,n,s,o):Bn(t,bv(s),n,o)},function(a,n){var o=nT(this),s=bv(a);if(!Tv){var u=r(t,o,s,n,t!==e);if(u.done)return u.value}var l=uT(o,RegExp),h=o.unicode,f=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(fr?"g":"y"),v=new l(fr?"^(?:"+o.source+")":o,f),c=n===void 0?gT:n>>>0;if(c===0)return[];if(s.length===0)return xv(v,s)===null?[s]:[];for(var d=0,p=0,y=[];p<s.length;){v.lastIndex=fr?0:p;var m=xv(v,fr?jn(s,p):s),T;if(m===null||(T=dT(hT(v.lastIndex+(fr?p:0)),s.length))===d)p=lT(s,p,h);else{if(Un(y,jn(s,d,p)),y.length===c)return y;for(var x=1;x<=m.length-1;x++)if(Un(y,m[x]),y.length===c)return y;p=d=T}}return Un(y,jn(s,d)),y}]},Tv||!pT,fr)});var wv=g((Ev,Wr)=>{(function(){var i,e,r,t,a,n;typeof performance<"u"&&performance!==null&&performance.now?Wr.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Wr.exports=function(){return(i()-a)/1e6},e=process.hrtime,i=function(){var o;return o=e(),o[0]*1e9+o[1]},t=i(),n=process.uptime()*1e9,a=t-n):Date.now?(Wr.exports=function(){return Date.now()-r},r=Date.now()):(Wr.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(Ev)});var qv=g((Xw,ui)=>{var yT=wv(),Ee=typeof window>"u"?global:window,si=["moz","webkit"],gr="AnimationFrame",dr=Ee["request"+gr],Qr=Ee["cancel"+gr]||Ee["cancelRequest"+gr];for(vr=0;!dr&&vr<si.length;vr++)dr=Ee[si[vr]+"Request"+gr],Qr=Ee[si[vr]+"Cancel"+gr]||Ee[si[vr]+"CancelRequest"+gr];var vr;(!dr||!Qr)&&(oi=0,Fn=0,Me=[],Cv=1e3/60,dr=function(i){if(Me.length===0){var e=yT(),r=Math.max(0,Cv-(e-oi));oi=r+e,setTimeout(function(){var t=Me.slice(0);Me.length=0;for(var a=0;a<t.length;a++)if(!t[a].cancelled)try{t[a].callback(oi)}catch(n){setTimeout(function(){throw n},0)}},Math.round(r))}return Me.push({handle:++Fn,callback:i,cancelled:!1}),Fn},Qr=function(i){for(var e=0;e<Me.length;e++)Me[e].handle===i&&(Me[e].cancelled=!0)});var oi,Fn,Me,Cv;ui.exports=function(i){return dr.call(Ee,i)};ui.exports.cancel=function(){Qr.apply(Ee,arguments)};ui.exports.polyfill=function(i){i||(i=Ee),i.requestAnimationFrame=dr,i.cancelAnimationFrame=Qr}});var zn=g((Ww,Pv)=>{"use strict";Pv.exports=`
|
7
|
+
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Nv=g((Qw,Rv)=>{"use strict";var mT=L(),bT=le(),xT=de(),Gn=zn(),Av=mT("".replace),TT=RegExp("^["+Gn+"]+"),OT=RegExp("(^|[^"+Gn+"])["+Gn+"]+$"),$n=function(i){return function(e){var r=xT(bT(e));return i&1&&(r=Av(r,TT,"")),i&2&&(r=Av(r,OT,"$1")),r}};Rv.exports={start:$n(1),end:$n(2),trim:$n(3)}});var _v=g((Kw,Vv)=>{"use strict";var ST=Rr().PROPER,ET=D(),Iv=zn(),Mv="\u200B\x85\u180E";Vv.exports=function(i){return ET(function(){return!!Iv[i]()||Mv[i]()!==Mv||ST&&Iv[i].name!==i})}});var Dv=g(()=>{"use strict";var wT=ee(),CT=Nv().trim,qT=_v();wT({target:"String",proto:!0,forced:qT("trim")},{trim:function(){return CT(this)}})});var kv=g((eC,Lv)=>{Lv.exports=function(i){this.ok=!1,this.alpha=1,i.charAt(0)=="#"&&(i=i.substr(1,6)),i=i.replace(/ /g,""),i=i.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};i=e[i]||i;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],t=0;t<r.length;t++){var a=r[t].re,n=r[t].process,o=a.exec(i);if(o){var s=n(o);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l<r.length;l++)for(var h=r[l].example,f=0;f<h.length;f++)u[u.length]=h[f];for(var v in e)u[u.length]=v;var c=document.createElement("ul");c.setAttribute("id","rgbcolor-examples");for(var l=0;l<u.length;l++)try{var d=document.createElement("li"),p=new RGBColor(u[l]),y=document.createElement("div");y.style.cssText="margin: 3px; border: 1px solid black; background:"+p.toHex()+"; color:"+p.toHex(),y.appendChild(document.createTextNode("test"));var m=document.createTextNode(" "+u[l]+" -> "+p.toRGB()+" -> "+p.toHex());d.appendChild(y),d.appendChild(m),c.appendChild(d)}catch{}return c}}});var Uv=g(()=>{"use strict";var PT=ee(),AT=Br(),RT=pa().indexOf,NT=kn(),Hn=AT([].indexOf),Bv=!!Hn&&1/Hn([1],1,-0)<0,IT=Bv||!NT("indexOf");PT({target:"Array",proto:!0,forced:IT},{indexOf:function(e){var r=arguments.length>1?arguments[1]:void 0;return Bv?Hn(this,e,r)||0:RT(this,e,r)}})});var Fv=g(()=>{"use strict";var MT=ee(),VT=L(),_T=Jt(),DT=le(),jv=de(),LT=ei(),kT=VT("".indexOf);MT({target:"String",proto:!0,forced:!LT("includes")},{includes:function(e){return!!~kT(jv(DT(this)),jv(_T(e)),arguments.length>1?arguments[1]:void 0)}})});var $v=g((nC,zv)=>{"use strict";var BT=Ae();zv.exports=Array.isArray||function(e){return BT(e)==="Array"}});var Hv=g(()=>{"use strict";var UT=ee(),jT=L(),FT=$v(),zT=jT([].reverse),Gv=[1,2];UT({target:"Array",proto:!0,forced:String(Gv)===String(Gv.reverse())},{reverse:function(){return FT(this)&&(this.length=this.length),zT(this)}})});var ng=g(()=>{"use strict";var XT=Rr().PROPER,WT=Ne(),QT=J(),tg=de(),KT=D(),ZT=Xt(),Wn="toString",ig=RegExp.prototype,ag=ig[Wn],JT=KT(function(){return ag.call({source:"a",flags:"b"})!=="/a/b"}),eO=XT&&ag.name!==Wn;(JT||eO)&&WT(ig,Wn,function(){var e=QT(this),r=tg(e.source),t=tg(ZT(e));return"/"+r+"/"+t},{unsafe:!0})});var fC=Z(yc(),1);function mc(i,e,r,t,a,n,o){try{var s=i[n](o),u=s.value}catch(l){return void r(l)}s.done?e(u):Promise.resolve(u).then(t,a)}function Te(i){return function(){var e=this,r=arguments;return new Promise(function(t,a){var n=i.apply(e,r);function o(u){mc(n,t,a,o,s,"next",u)}function s(u){mc(n,t,a,o,s,"throw",u)}o(void 0)})}}var gC=Z(of(),1),dC=Z(vf(),1),pC=Z(xf(),1),yC=Z(Vn(),1),mC=Z(nv(),1);function sv(i,e){if(Tr(i)!="object"||!i)return i;var r=i[Symbol.toPrimitive];if(r!==void 0){var t=r.call(i,e||"default");if(Tr(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function ov(i){var e=sv(i,"string");return Tr(e)=="symbol"?e:e+""}function ni(i,e,r){return(e=ov(e))in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r,i}var xC=Z(dv(),1),TC=Z(mv(),1),OC=Z(Sv(),1),vi=Z(qv(),1),SC=Z(Dv(),1),gi=Z(kv(),1),EC=Z(Uv(),1),wC=Z(Fv(),1),CC=Z(Hv(),1);var Jv=function(i,e){return(Jv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])})(i,e)};function eg(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=i}Jv(i,e),i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function $T(i){var e="";Array.isArray(i)||(i=[i]);for(var r=0;r<i.length;r++){var t=i[r];if(t.type===b.CLOSE_PATH)e+="z";else if(t.type===b.HORIZ_LINE_TO)e+=(t.relative?"h":"H")+t.x;else if(t.type===b.VERT_LINE_TO)e+=(t.relative?"v":"V")+t.y;else if(t.type===b.MOVE_TO)e+=(t.relative?"m":"M")+t.x+" "+t.y;else if(t.type===b.LINE_TO)e+=(t.relative?"l":"L")+t.x+" "+t.y;else if(t.type===b.CURVE_TO)e+=(t.relative?"c":"C")+t.x1+" "+t.y1+" "+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===b.SMOOTH_CURVE_TO)e+=(t.relative?"s":"S")+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===b.QUAD_TO)e+=(t.relative?"q":"Q")+t.x1+" "+t.y1+" "+t.x+" "+t.y;else if(t.type===b.SMOOTH_QUAD_TO)e+=(t.relative?"t":"T")+t.x+" "+t.y;else{if(t.type!==b.ARC)throw new Error('Unexpected command type "'+t.type+'" at index '+r+".");e+=(t.relative?"a":"A")+t.rX+" "+t.rY+" "+t.xRot+" "+ +t.lArcFlag+" "+ +t.sweepFlag+" "+t.x+" "+t.y}}return e}function Xn(i,e){var r=i[0],t=i[1];return[r*Math.cos(e)-t*Math.sin(e),r*Math.sin(e)+t*Math.cos(e)]}function ye(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];for(var r=0;r<i.length;r++)if(typeof i[r]!="number")throw new Error("assertNumbers arguments["+r+"] is not a number. "+typeof i[r]+" == typeof "+i[r]);return!0}var Ve=Math.PI;function Yn(i,e,r){i.lArcFlag=i.lArcFlag===0?0:1,i.sweepFlag=i.sweepFlag===0?0:1;var t=i.rX,a=i.rY,n=i.x,o=i.y;t=Math.abs(i.rX),a=Math.abs(i.rY);var s=Xn([(e-n)/2,(r-o)/2],-i.xRot/180*Ve),u=s[0],l=s[1],h=Math.pow(u,2)/Math.pow(t,2)+Math.pow(l,2)/Math.pow(a,2);1<h&&(t*=Math.sqrt(h),a*=Math.sqrt(h)),i.rX=t,i.rY=a;var f=Math.pow(t,2)*Math.pow(l,2)+Math.pow(a,2)*Math.pow(u,2),v=(i.lArcFlag!==i.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(t,2)*Math.pow(a,2)-f)/f)),c=t*l/a*v,d=-a*u/t*v,p=Xn([c,d],i.xRot/180*Ve);i.cX=p[0]+(e+n)/2,i.cY=p[1]+(r+o)/2,i.phi1=Math.atan2((l-d)/a,(u-c)/t),i.phi2=Math.atan2((-l-d)/a,(-u-c)/t),i.sweepFlag===0&&i.phi2>i.phi1&&(i.phi2-=2*Ve),i.sweepFlag===1&&i.phi2<i.phi1&&(i.phi2+=2*Ve),i.phi1*=180/Ve,i.phi2*=180/Ve}function Yv(i,e,r){ye(i,e,r);var t=i*i+e*e-r*r;if(0>t)return[];if(t===0)return[[i*r/(i*i+e*e),e*r/(i*i+e*e)]];var a=Math.sqrt(t);return[[(i*r+e*a)/(i*i+e*e),(e*r-i*a)/(i*i+e*e)],[(i*r-e*a)/(i*i+e*e),(e*r+i*a)/(i*i+e*e)]]}var U,we=Math.PI/180;function Xv(i,e,r){return(1-r)*i+r*e}function Wv(i,e,r,t){return i+Math.cos(t/180*Ve)*e+Math.sin(t/180*Ve)*r}function Qv(i,e,r,t){var a=1e-6,n=e-i,o=r-e,s=3*n+3*(t-r)-6*o,u=6*(o-n),l=3*n;return Math.abs(s)<a?[-l/u]:function(h,f,v){v===void 0&&(v=1e-6);var c=h*h/4-f;if(c<-v)return[];if(c<=v)return[-h/2];var d=Math.sqrt(c);return[-h/2-d,-h/2+d]}(u/s,l/s,a)}function Kv(i,e,r,t,a){var n=1-a;return i*(n*n*n)+e*(3*n*n*a)+r*(3*n*a*a)+t*(a*a*a)}(function(i){function e(){return a(function(s,u,l){return s.relative&&(s.x1!==void 0&&(s.x1+=u),s.y1!==void 0&&(s.y1+=l),s.x2!==void 0&&(s.x2+=u),s.y2!==void 0&&(s.y2+=l),s.x!==void 0&&(s.x+=u),s.y!==void 0&&(s.y+=l),s.relative=!1),s})}function r(){var s=NaN,u=NaN,l=NaN,h=NaN;return a(function(f,v,c){return f.type&b.SMOOTH_CURVE_TO&&(f.type=b.CURVE_TO,s=isNaN(s)?v:s,u=isNaN(u)?c:u,f.x1=f.relative?v-s:2*v-s,f.y1=f.relative?c-u:2*c-u),f.type&b.CURVE_TO?(s=f.relative?v+f.x2:f.x2,u=f.relative?c+f.y2:f.y2):(s=NaN,u=NaN),f.type&b.SMOOTH_QUAD_TO&&(f.type=b.QUAD_TO,l=isNaN(l)?v:l,h=isNaN(h)?c:h,f.x1=f.relative?v-l:2*v-l,f.y1=f.relative?c-h:2*c-h),f.type&b.QUAD_TO?(l=f.relative?v+f.x1:f.x1,h=f.relative?c+f.y1:f.y1):(l=NaN,h=NaN),f})}function t(){var s=NaN,u=NaN;return a(function(l,h,f){if(l.type&b.SMOOTH_QUAD_TO&&(l.type=b.QUAD_TO,s=isNaN(s)?h:s,u=isNaN(u)?f:u,l.x1=l.relative?h-s:2*h-s,l.y1=l.relative?f-u:2*f-u),l.type&b.QUAD_TO){s=l.relative?h+l.x1:l.x1,u=l.relative?f+l.y1:l.y1;var v=l.x1,c=l.y1;l.type=b.CURVE_TO,l.x1=((l.relative?0:h)+2*v)/3,l.y1=((l.relative?0:f)+2*c)/3,l.x2=(l.x+2*v)/3,l.y2=(l.y+2*c)/3}else s=NaN,u=NaN;return l})}function a(s){var u=0,l=0,h=NaN,f=NaN;return function(v){if(isNaN(h)&&!(v.type&b.MOVE_TO))throw new Error("path must start with moveto");var c=s(v,u,l,h,f);return v.type&b.CLOSE_PATH&&(u=h,l=f),v.x!==void 0&&(u=v.relative?u+v.x:v.x),v.y!==void 0&&(l=v.relative?l+v.y:v.y),v.type&b.MOVE_TO&&(h=u,f=l),c}}function n(s,u,l,h,f,v){return ye(s,u,l,h,f,v),a(function(c,d,p,y){var m=c.x1,T=c.x2,x=c.relative&&!isNaN(y),O=c.x!==void 0?c.x:x?0:d,q=c.y!==void 0?c.y:x?0:p;function w(ce){return ce*ce}c.type&b.HORIZ_LINE_TO&&u!==0&&(c.type=b.LINE_TO,c.y=c.relative?0:p),c.type&b.VERT_LINE_TO&&l!==0&&(c.type=b.LINE_TO,c.x=c.relative?0:d),c.x!==void 0&&(c.x=c.x*s+q*l+(x?0:f)),c.y!==void 0&&(c.y=O*u+c.y*h+(x?0:v)),c.x1!==void 0&&(c.x1=c.x1*s+c.y1*l+(x?0:f)),c.y1!==void 0&&(c.y1=m*u+c.y1*h+(x?0:v)),c.x2!==void 0&&(c.x2=c.x2*s+c.y2*l+(x?0:f)),c.y2!==void 0&&(c.y2=T*u+c.y2*h+(x?0:v));var S=s*h-u*l;if(c.xRot!==void 0&&(s!==1||u!==0||l!==0||h!==1))if(S===0)delete c.rX,delete c.rY,delete c.xRot,delete c.lArcFlag,delete c.sweepFlag,c.type=b.LINE_TO;else{var P=c.xRot*Math.PI/180,A=Math.sin(P),_=Math.cos(P),B=1/w(c.rX),R=1/w(c.rY),X=w(_)*B+w(A)*R,W=2*A*_*(B-R),G=w(A)*B+w(_)*R,Q=X*h*h-W*u*h+G*u*u,Y=W*(s*h+u*l)-2*(X*l*h+G*s*u),K=X*l*l-W*s*l+G*s*s,N=(Math.atan2(Y,Q-K)+Math.PI)%Math.PI/2,M=Math.sin(N),re=Math.cos(N);c.rX=Math.abs(S)/Math.sqrt(Q*w(re)+Y*M*re+K*w(M)),c.rY=Math.abs(S)/Math.sqrt(Q*w(M)-Y*M*re+K*w(re)),c.xRot=180*N/Math.PI}return c.sweepFlag!==void 0&&0>S&&(c.sweepFlag=+!c.sweepFlag),c})}function o(){return function(s){var u={};for(var l in s)u[l]=s[l];return u}}i.ROUND=function(s){function u(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),ye(s),function(l){return l.x1!==void 0&&(l.x1=u(l.x1)),l.y1!==void 0&&(l.y1=u(l.y1)),l.x2!==void 0&&(l.x2=u(l.x2)),l.y2!==void 0&&(l.y2=u(l.y2)),l.x!==void 0&&(l.x=u(l.x)),l.y!==void 0&&(l.y=u(l.y)),l.rX!==void 0&&(l.rX=u(l.rX)),l.rY!==void 0&&(l.rY=u(l.rY)),l}},i.TO_ABS=e,i.TO_REL=function(){return a(function(s,u,l){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=l),s.relative=!0),s})},i.NORMALIZE_HVZ=function(s,u,l){return s===void 0&&(s=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),a(function(h,f,v,c,d){if(isNaN(c)&&!(h.type&b.MOVE_TO))throw new Error("path must start with moveto");return u&&h.type&b.HORIZ_LINE_TO&&(h.type=b.LINE_TO,h.y=h.relative?0:v),l&&h.type&b.VERT_LINE_TO&&(h.type=b.LINE_TO,h.x=h.relative?0:f),s&&h.type&b.CLOSE_PATH&&(h.type=b.LINE_TO,h.x=h.relative?c-f:c,h.y=h.relative?d-v:d),h.type&b.ARC&&(h.rX===0||h.rY===0)&&(h.type=b.LINE_TO,delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag),h})},i.NORMALIZE_ST=r,i.QT_TO_C=t,i.INFO=a,i.SANITIZE=function(s){s===void 0&&(s=0),ye(s);var u=NaN,l=NaN,h=NaN,f=NaN;return a(function(v,c,d,p,y){var m=Math.abs,T=!1,x=0,O=0;if(v.type&b.SMOOTH_CURVE_TO&&(x=isNaN(u)?0:c-u,O=isNaN(l)?0:d-l),v.type&(b.CURVE_TO|b.SMOOTH_CURVE_TO)?(u=v.relative?c+v.x2:v.x2,l=v.relative?d+v.y2:v.y2):(u=NaN,l=NaN),v.type&b.SMOOTH_QUAD_TO?(h=isNaN(h)?c:2*c-h,f=isNaN(f)?d:2*d-f):v.type&b.QUAD_TO?(h=v.relative?c+v.x1:v.x1,f=v.relative?d+v.y1:v.y2):(h=NaN,f=NaN),v.type&b.LINE_COMMANDS||v.type&b.ARC&&(v.rX===0||v.rY===0||!v.lArcFlag)||v.type&b.CURVE_TO||v.type&b.SMOOTH_CURVE_TO||v.type&b.QUAD_TO||v.type&b.SMOOTH_QUAD_TO){var q=v.x===void 0?0:v.relative?v.x:v.x-c,w=v.y===void 0?0:v.relative?v.y:v.y-d;x=isNaN(h)?v.x1===void 0?x:v.relative?v.x:v.x1-c:h-c,O=isNaN(f)?v.y1===void 0?O:v.relative?v.y:v.y1-d:f-d;var S=v.x2===void 0?0:v.relative?v.x:v.x2-c,P=v.y2===void 0?0:v.relative?v.y:v.y2-d;m(q)<=s&&m(w)<=s&&m(x)<=s&&m(O)<=s&&m(S)<=s&&m(P)<=s&&(T=!0)}return v.type&b.CLOSE_PATH&&m(c-p)<=s&&m(d-y)<=s&&(T=!0),T?[]:v})},i.MATRIX=n,i.ROTATE=function(s,u,l){u===void 0&&(u=0),l===void 0&&(l=0),ye(s,u,l);var h=Math.sin(s),f=Math.cos(s);return n(f,h,-h,f,u-u*f+l*h,l-u*h-l*f)},i.TRANSLATE=function(s,u){return u===void 0&&(u=0),ye(s,u),n(1,0,0,1,s,u)},i.SCALE=function(s,u){return u===void 0&&(u=s),ye(s,u),n(s,0,0,u,0,0)},i.SKEW_X=function(s){return ye(s),n(1,0,Math.atan(s),1,0,0)},i.SKEW_Y=function(s){return ye(s),n(1,Math.atan(s),0,1,0,0)},i.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(-1,0,0,1,s,0)},i.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(1,0,0,-1,0,s)},i.A_TO_C=function(){return a(function(s,u,l){return b.ARC===s.type?function(h,f,v){var c,d,p,y;h.cX||Yn(h,f,v);for(var m=Math.min(h.phi1,h.phi2),T=Math.max(h.phi1,h.phi2)-m,x=Math.ceil(T/90),O=new Array(x),q=f,w=v,S=0;S<x;S++){var P=Xv(h.phi1,h.phi2,S/x),A=Xv(h.phi1,h.phi2,(S+1)/x),_=A-P,B=4/3*Math.tan(_*we/4),R=[Math.cos(P*we)-B*Math.sin(P*we),Math.sin(P*we)+B*Math.cos(P*we)],X=R[0],W=R[1],G=[Math.cos(A*we),Math.sin(A*we)],Q=G[0],Y=G[1],K=[Q+B*Math.sin(A*we),Y-B*Math.cos(A*we)],N=K[0],M=K[1];O[S]={relative:h.relative,type:b.CURVE_TO};var re=function(ce,be){var Pe=Xn([ce*h.rX,be*h.rY],h.xRot),We=Pe[0],et=Pe[1];return[h.cX+We,h.cY+et]};c=re(X,W),O[S].x1=c[0],O[S].y1=c[1],d=re(N,M),O[S].x2=d[0],O[S].y2=d[1],p=re(Q,Y),O[S].x=p[0],O[S].y=p[1],h.relative&&(O[S].x1-=q,O[S].y1-=w,O[S].x2-=q,O[S].y2-=w,O[S].x-=q,O[S].y-=w),q=(y=[O[S].x,O[S].y])[0],w=y[1]}return O}(s,s.relative?0:u,s.relative?0:l):s})},i.ANNOTATE_ARCS=function(){return a(function(s,u,l){return s.relative&&(u=0,l=0),b.ARC===s.type&&Yn(s,u,l),s})},i.CLONE=o,i.CALCULATE_BOUNDS=function(){var s=function(v){var c={};for(var d in v)c[d]=v[d];return c},u=e(),l=t(),h=r(),f=a(function(v,c,d){var p=h(l(u(s(v))));function y(M){M>f.maxX&&(f.maxX=M),M<f.minX&&(f.minX=M)}function m(M){M>f.maxY&&(f.maxY=M),M<f.minY&&(f.minY=M)}if(p.type&b.DRAWING_COMMANDS&&(y(c),m(d)),p.type&b.HORIZ_LINE_TO&&y(p.x),p.type&b.VERT_LINE_TO&&m(p.y),p.type&b.LINE_TO&&(y(p.x),m(p.y)),p.type&b.CURVE_TO){y(p.x),m(p.y);for(var T=0,x=Qv(c,p.x1,p.x2,p.x);T<x.length;T++)0<(N=x[T])&&1>N&&y(Kv(c,p.x1,p.x2,p.x,N));for(var O=0,q=Qv(d,p.y1,p.y2,p.y);O<q.length;O++)0<(N=q[O])&&1>N&&m(Kv(d,p.y1,p.y2,p.y,N))}if(p.type&b.ARC){y(p.x),m(p.y),Yn(p,c,d);for(var w=p.xRot/180*Math.PI,S=Math.cos(w)*p.rX,P=Math.sin(w)*p.rX,A=-Math.sin(w)*p.rY,_=Math.cos(w)*p.rY,B=p.phi1<p.phi2?[p.phi1,p.phi2]:-180>p.phi2?[p.phi2+360,p.phi1+360]:[p.phi2,p.phi1],R=B[0],X=B[1],W=function(M){var re=M[0],ce=M[1],be=180*Math.atan2(ce,re)/Math.PI;return be<R?be+360:be},G=0,Q=Yv(A,-S,0).map(W);G<Q.length;G++)(N=Q[G])>R&&N<X&&y(Wv(p.cX,S,A,N));for(var Y=0,K=Yv(_,-P,0).map(W);Y<K.length;Y++){var N;(N=K[Y])>R&&N<X&&m(Wv(p.cY,P,_,N))}}return v});return f.minX=1/0,f.maxX=-1/0,f.minY=1/0,f.maxY=-1/0,f}})(U||(U={}));var pe,rg=function(){function i(){}return i.prototype.round=function(e){return this.transform(U.ROUND(e))},i.prototype.toAbs=function(){return this.transform(U.TO_ABS())},i.prototype.toRel=function(){return this.transform(U.TO_REL())},i.prototype.normalizeHVZ=function(e,r,t){return this.transform(U.NORMALIZE_HVZ(e,r,t))},i.prototype.normalizeST=function(){return this.transform(U.NORMALIZE_ST())},i.prototype.qtToC=function(){return this.transform(U.QT_TO_C())},i.prototype.aToC=function(){return this.transform(U.A_TO_C())},i.prototype.sanitize=function(e){return this.transform(U.SANITIZE(e))},i.prototype.translate=function(e,r){return this.transform(U.TRANSLATE(e,r))},i.prototype.scale=function(e,r){return this.transform(U.SCALE(e,r))},i.prototype.rotate=function(e,r,t){return this.transform(U.ROTATE(e,r,t))},i.prototype.matrix=function(e,r,t,a,n,o){return this.transform(U.MATRIX(e,r,t,a,n,o))},i.prototype.skewX=function(e){return this.transform(U.SKEW_X(e))},i.prototype.skewY=function(e){return this.transform(U.SKEW_Y(e))},i.prototype.xSymmetry=function(e){return this.transform(U.X_AXIS_SYMMETRY(e))},i.prototype.ySymmetry=function(e){return this.transform(U.Y_AXIS_SYMMETRY(e))},i.prototype.annotateArcs=function(){return this.transform(U.ANNOTATE_ARCS())},i}(),GT=function(i){return i===" "||i===" "||i==="\r"||i===`
|
8
|
+
`},Zv=function(i){return 48<=i.charCodeAt(0)&&i.charCodeAt(0)<=57},HT=function(i){function e(){var r=i.call(this)||this;return r.curNumber="",r.curCommandType=-1,r.curCommandRelative=!1,r.canParseCommandOrComma=!0,r.curNumberHasExp=!1,r.curNumberHasExpDigits=!1,r.curNumberHasDecimal=!1,r.curArgs=[],r}return eg(e,i),e.prototype.finish=function(r){if(r===void 0&&(r=[]),this.parse(" ",r),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return r},e.prototype.parse=function(r,t){var a=this;t===void 0&&(t=[]);for(var n=function(f){t.push(f),a.curArgs.length=0,a.canParseCommandOrComma=!0},o=0;o<r.length;o++){var s=r[o],u=!(this.curCommandType!==b.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),l=Zv(s)&&(this.curNumber==="0"&&s==="0"||u);if(!Zv(s)||l)if(s!=="e"&&s!=="E")if(s!=="-"&&s!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(s!=="."||this.curNumberHasExp||this.curNumberHasDecimal||u){if(this.curNumber&&this.curCommandType!==-1){var h=Number(this.curNumber);if(isNaN(h))throw new SyntaxError("Invalid number ending at "+o);if(this.curCommandType===b.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>h)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+o+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"')}this.curArgs.push(h),this.curArgs.length===YT[this.curCommandType]&&(b.HORIZ_LINE_TO===this.curCommandType?n({type:b.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):b.VERT_LINE_TO===this.curCommandType?n({type:b.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===b.MOVE_TO||this.curCommandType===b.LINE_TO||this.curCommandType===b.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),b.MOVE_TO===this.curCommandType&&(this.curCommandType=b.LINE_TO)):this.curCommandType===b.CURVE_TO?n({type:b.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===b.SMOOTH_CURVE_TO?n({type:b.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.QUAD_TO?n({type:b.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.ARC&&n({type:b.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!GT(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(l)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=b.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=b.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=b.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=b.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=b.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=b.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=b.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=b.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=b.ARC,this.curCommandRelative=s==="a"}else t.push({type:b.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return t},e.prototype.transform=function(r){return Object.create(this,{parse:{value:function(t,a){a===void 0&&(a=[]);for(var n=0,o=Object.getPrototypeOf(this).parse.call(this,t);n<o.length;n++){var s=o[n],u=r(s);Array.isArray(u)?a.push.apply(a,u):a.push(u)}return a}}})},e}(rg),b=function(i){function e(r){var t=i.call(this)||this;return t.commands=typeof r=="string"?e.parse(r):r,t}return eg(e,i),e.prototype.encode=function(){return e.encode(this.commands)},e.prototype.getBounds=function(){var r=U.CALCULATE_BOUNDS();return this.transform(r),r},e.prototype.transform=function(r){for(var t=[],a=0,n=this.commands;a<n.length;a++){var o=r(n[a]);Array.isArray(o)?t.push.apply(t,o):t.push(o)}return this.commands=t,this},e.encode=function(r){return $T(r)},e.parse=function(r){var t=new HT,a=[];return t.parse(r,a),t.finish(a),a},e.CLOSE_PATH=1,e.MOVE_TO=2,e.HORIZ_LINE_TO=4,e.VERT_LINE_TO=8,e.LINE_TO=16,e.CURVE_TO=32,e.SMOOTH_CURVE_TO=64,e.QUAD_TO=128,e.SMOOTH_QUAD_TO=256,e.ARC=512,e.LINE_COMMANDS=e.LINE_TO|e.HORIZ_LINE_TO|e.VERT_LINE_TO,e.DRAWING_COMMANDS=e.HORIZ_LINE_TO|e.VERT_LINE_TO|e.LINE_TO|e.CURVE_TO|e.SMOOTH_CURVE_TO|e.QUAD_TO|e.SMOOTH_QUAD_TO|e.ARC,e}(rg),YT=((pe={})[b.MOVE_TO]=2,pe[b.LINE_TO]=2,pe[b.HORIZ_LINE_TO]=1,pe[b.VERT_LINE_TO]=1,pe[b.CLOSE_PATH]=0,pe[b.QUAD_TO]=4,pe[b.SMOOTH_QUAD_TO]=2,pe[b.CURVE_TO]=6,pe[b.SMOOTH_CURVE_TO]=4,pe[b.ARC]=7,pe);var PC=Z(ng(),1);function li(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?li=function(e){return typeof e}:li=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},li(i)}function rO(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}var tO=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],iO=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function aO(i,e,r,t,a){if(typeof i=="string"&&(i=document.getElementById(i)),!i||li(i)!=="object"||!("getContext"in i))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var n=i.getContext("2d");try{return n.getImageData(e,r,t,a)}catch(o){throw new Error("unable to access image data: "+o)}}function og(i,e,r,t,a,n){if(!(isNaN(n)||n<1)){n|=0;var o=aO(i,e,r,t,a);o=nO(o,e,r,t,a,n),i.getContext("2d").putImageData(o,e,r)}}function nO(i,e,r,t,a,n){for(var o=i.data,s=2*n+1,u=t-1,l=a-1,h=n+1,f=h*(h+1)/2,v=new sg,c=v,d,p=1;p<s;p++)c=c.next=new sg,p===h&&(d=c);c.next=v;for(var y=null,m=null,T=0,x=0,O=tO[n],q=iO[n],w=0;w<a;w++){c=v;for(var S=o[x],P=o[x+1],A=o[x+2],_=o[x+3],B=0;B<h;B++)c.r=S,c.g=P,c.b=A,c.a=_,c=c.next;for(var R=0,X=0,W=0,G=0,Q=h*S,Y=h*P,K=h*A,N=h*_,M=f*S,re=f*P,ce=f*A,be=f*_,Pe=1;Pe<h;Pe++){var We=x+((u<Pe?u:Pe)<<2),et=o[We],Ds=o[We+1],Ls=o[We+2],ks=o[We+3],rt=h-Pe;M+=(c.r=et)*rt,re+=(c.g=Ds)*rt,ce+=(c.b=Ls)*rt,be+=(c.a=ks)*rt,R+=et,X+=Ds,W+=Ls,G+=ks,c=c.next}y=v,m=d;for(var Ci=0;Ci<t;Ci++){var qi=be*O>>>q;if(o[x+3]=qi,qi!==0){var Pi=255/qi;o[x]=(M*O>>>q)*Pi,o[x+1]=(re*O>>>q)*Pi,o[x+2]=(ce*O>>>q)*Pi}else o[x]=o[x+1]=o[x+2]=0;M-=Q,re-=Y,ce-=K,be-=N,Q-=y.r,Y-=y.g,K-=y.b,N-=y.a;var _e=Ci+n+1;_e=T+(_e<u?_e:u)<<2,R+=y.r=o[_e],X+=y.g=o[_e+1],W+=y.b=o[_e+2],G+=y.a=o[_e+3],M+=R,re+=X,ce+=W,be+=G,y=y.next;var tt=m,Bs=tt.r,Us=tt.g,js=tt.b,Fs=tt.a;Q+=Bs,Y+=Us,K+=js,N+=Fs,R-=Bs,X-=Us,W-=js,G-=Fs,m=m.next,x+=4}T+=t}for(var Qe=0;Qe<t;Qe++){x=Qe<<2;var De=o[x],Le=o[x+1],ke=o[x+2],ie=o[x+3],Ai=h*De,Ri=h*Le,Ni=h*ke,Ii=h*ie,it=f*De,at=f*Le,nt=f*ke,st=f*ie;c=v;for(var zs=0;zs<h;zs++)c.r=De,c.g=Le,c.b=ke,c.a=ie,c=c.next;for(var $s=t,Mi=0,Vi=0,_i=0,Di=0,ot=1;ot<=n;ot++){x=$s+Qe<<2;var ut=h-ot;it+=(c.r=De=o[x])*ut,at+=(c.g=Le=o[x+1])*ut,nt+=(c.b=ke=o[x+2])*ut,st+=(c.a=ie=o[x+3])*ut,Di+=De,Mi+=Le,Vi+=ke,_i+=ie,c=c.next,ot<l&&($s+=t)}x=Qe,y=v,m=d;for(var Li=0;Li<a;Li++){var ae=x<<2;o[ae+3]=ie=st*O>>>q,ie>0?(ie=255/ie,o[ae]=(it*O>>>q)*ie,o[ae+1]=(at*O>>>q)*ie,o[ae+2]=(nt*O>>>q)*ie):o[ae]=o[ae+1]=o[ae+2]=0,it-=Ai,at-=Ri,nt-=Ni,st-=Ii,Ai-=y.r,Ri-=y.g,Ni-=y.b,Ii-=y.a,ae=Qe+((ae=Li+h)<l?ae:l)*t<<2,it+=Di+=y.r=o[ae],at+=Mi+=y.g=o[ae+1],nt+=Vi+=y.b=o[ae+2],st+=_i+=y.a=o[ae+3],y=y.next,Ai+=De=m.r,Ri+=Le=m.g,Ni+=ke=m.b,Ii+=ie=m.a,Di-=De,Mi-=Le,Vi-=ke,_i-=ie,m=m.next,x+=t}}return i}var sg=function i(){rO(this,i),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function sO(){var{DOMParser:i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:i,createCanvas(r,t){return new OffscreenCanvas(r,t)},createImage(r){return Te(function*(){var t=yield fetch(r),a=yield t.blob(),n=yield createImageBitmap(a);return n})()}};return(typeof DOMParser<"u"||typeof i>"u")&&Reflect.deleteProperty(e,"DOMParser"),e}function oO(i){var{DOMParser:e,canvas:r,fetch:t}=i;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:t,createCanvas:r.createCanvas,createImage:r.loadImage}}var RC=Object.freeze({__proto__:null,offscreen:sO,node:oO});function xr(i){return i.replace(/(?!\u3000)\s+/gm," ")}function uO(i){return i.replace(/^[\n \t]+/,"")}function lO(i){return i.replace(/[\n \t]+$/,"")}function se(i){var e=(i||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return e.map(parseFloat)}var hO=/^[A-Z-]+$/;function cO(i){return hO.test(i)?i.toLowerCase():i}function Og(i){var e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(i)||[];return e[2]||e[3]||e[4]}function fO(i){if(!i.startsWith("rgb"))return i;var e=3,r=i.replace(/\d+(\.\d+)?/g,(t,a)=>e--&&a?String(Math.round(parseFloat(t))):t);return r}var vO=/(\[[^\]]+\])/g,gO=/(#[^\s+>~.[:]+)/g,dO=/(\.[^\s+>~.[:]+)/g,pO=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,yO=/(:[\w-]+\([^)]*\))/gi,mO=/(:[^\s+>~.[:]+)/g,bO=/([^\s+>~.[:]+)/g;function Ge(i,e){var r=e.exec(i);return r?[i.replace(e," "),r.length]:[i,0]}function xO(i){var e=[0,0,0],r=i.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),t=0;return[r,t]=Ge(r,vO),e[1]+=t,[r,t]=Ge(r,gO),e[0]+=t,[r,t]=Ge(r,dO),e[1]+=t,[r,t]=Ge(r,pO),e[2]+=t,[r,t]=Ge(r,yO),e[1]+=t,[r,t]=Ge(r,mO),e[1]+=t,r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[r,t]=Ge(r,bO),e[2]+=t,e.join("")}var pr=1e-8;function ug(i){return Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2))}function Qn(i,e){return(i[0]*e[0]+i[1]*e[1])/(ug(i)*ug(e))}function lg(i,e){return(i[0]*e[1]<i[1]*e[0]?-1:1)*Math.acos(Qn(i,e))}function hg(i){return i*i*i}function cg(i){return 3*i*i*(1-i)}function fg(i){return 3*i*(1-i)*(1-i)}function vg(i){return(1-i)*(1-i)*(1-i)}function gg(i){return i*i}function dg(i){return 2*i*(1-i)}function pg(i){return(1-i)*(1-i)}var E=class i{constructor(e,r,t){this.document=e,this.name=r,this.value=t,this.isNormalizedColor=!1}static empty(e){return new i(e,"EMPTY","")}split(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:r,name:t}=this;return xr(this.getString()).trim().split(e).map(a=>new i(r,t,a))}hasValue(e){var{value:r}=this;return r!==null&&r!==""&&(e||r!==0)&&typeof r<"u"}isString(e){var{value:r}=this,t=typeof r=="string";return!t||!e?t:e.test(r)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case e.endsWith("px"):case/^[0-9]+$/.test(e):return!0;default:return!1}}setValue(e){return this.value=e,this}getValue(e){return typeof e>"u"||this.hasValue()?this.value:e}getNumber(e){if(!this.hasValue())return typeof e>"u"?0:parseFloat(e);var{value:r}=this,t=parseFloat(r);return this.isString(/%$/)&&(t/=100),t}getString(e){return typeof e>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(e)}getColor(e){var r=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,r=fO(r),this.value=r),r}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[t,a]=typeof e=="boolean"?[void 0,e]:[e],{viewPort:n}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(n.computeSize("x"),n.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(n.computeSize("x"),n.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*n.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*n.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&a):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*n.computeSize(t);default:{var o=this.getNumber();return r&&o<1?o*n.computeSize(t):o}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var e=this.getString(),r=/#([^)'"]+)/.exec(e);return r&&(r=r[1]),r||(r=e),this.document.definitions[r]}getFillStyleDefinition(e,r){var t=this.getDefinition();if(!t)return null;if(typeof t.createGradient=="function")return t.createGradient(this.document.ctx,e,r);if(typeof t.createPattern=="function"){if(t.getHrefAttribute().hasValue()){var a=t.getAttribute("patternTransform");t=t.getHrefAttribute().getDefinition(),a.hasValue()&&t.getAttribute("patternTransform",!0).setValue(a.value)}return t.createPattern(this.document.ctx,e,r)}return null}getTextBaseline(){return this.hasValue()?i.textBaselineMapping[this.getString()]:null}addOpacity(e){for(var r=this.getColor(),t=r.length,a=0,n=0;n<t&&(r[n]===","&&a++,a!==3);n++);if(e.hasValue()&&this.isString()&&a!==3){var o=new gi.default(r);o.ok&&(o.alpha=e.getNumber(),r=o.toRGBA())}return new i(this.document,this.name,r)}};E.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};var Kn=class{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(e,r){this.viewPorts.push({width:e,height:r})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:e}=this;return e[e.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(e){return typeof e=="number"?e:e==="x"?this.width:e==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}},$=class i{constructor(e,r){this.x=e,this.y=r}static parse(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,[t=r,a=r]=se(e);return new i(t,a)}static parseScale(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[t=r,a=t]=se(e);return new i(t,a)}static parsePath(e){for(var r=se(e),t=r.length,a=[],n=0;n<t;n+=2)a.push(new i(r[n],r[n+1]));return a}angleTo(e){return Math.atan2(e.y-this.y,e.x-this.x)}applyTransform(e){var{x:r,y:t}=this,a=r*e[0]+t*e[2]+e[4],n=r*e[1]+t*e[3]+e[5];this.x=a,this.y=n}},Zn=class{constructor(e){this.screen=e,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:e,onClick:r,onMouseMove:t}=this,a=e.ctx.canvas;a.onclick=r,a.onmousemove=t,this.working=!0}}stop(){if(this.working){var e=this.screen.ctx.canvas;this.working=!1,e.onclick=null,e.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:e,events:r,eventElements:t}=this,{style:a}=e.ctx.canvas;a&&(a.cursor=""),r.forEach((n,o)=>{for(var{run:s}=n,u=t[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}}checkPath(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInPath&&r.isPointInPath(s,u)&&(a[o]=e)})}}checkBoundingBox(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInBox(s,u)&&(a[o]=e)})}}mapXY(e,r){for(var{window:t,ctx:a}=this.screen,n=new $(e,r),o=a.canvas;o;)n.x-=o.offsetLeft,n.y-=o.offsetTop,o=o.offsetParent;return t.scrollX&&(n.x+=t.scrollX),t.scrollY&&(n.y+=t.scrollY),n}onClick(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onclick",x:r,y:t,run(a){a.onClick&&a.onClick()}})}onMouseMove(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onmousemove",x:r,y:t,run(a){a.onMouseMove&&a.onMouseMove()}})}},Sg=typeof window<"u"?window:null,Eg=typeof fetch<"u"?fetch.bind(void 0):null,yr=class{constructor(e){var{fetch:r=Eg,window:t=Sg}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=e,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Kn,this.mouse=new Zn(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=t,this.fetch=r}wait(e){this.waits.push(e)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var e=this.waits.every(r=>r());return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}setDefaults(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}setViewBox(e){var{document:r,ctx:t,aspectRatio:a,width:n,desiredWidth:o,height:s,desiredHeight:u,minX:l=0,minY:h=0,refX:f,refY:v,clip:c=!1,clipX:d=0,clipY:p=0}=e,y=xr(a).replace(/^defer\s/,""),[m,T]=y.split(" "),x=m||"xMidYMid",O=T||"meet",q=n/o,w=s/u,S=Math.min(q,w),P=Math.max(q,w),A=o,_=u;O==="meet"&&(A*=S,_*=S),O==="slice"&&(A*=P,_*=P);var B=new E(r,"refX",f),R=new E(r,"refY",v),X=B.hasValue()&&R.hasValue();if(X&&t.translate(-S*B.getPixels("x"),-S*R.getPixels("y")),c){var W=S*d,G=S*p;t.beginPath(),t.moveTo(W,G),t.lineTo(n,G),t.lineTo(n,s),t.lineTo(W,s),t.closePath(),t.clip()}if(!X){var Q=O==="meet"&&S===w,Y=O==="slice"&&P===w,K=O==="meet"&&S===q,N=O==="slice"&&P===q;x.startsWith("xMid")&&(Q||Y)&&t.translate(n/2-A/2,0),x.endsWith("YMid")&&(K||N)&&t.translate(0,s/2-_/2),x.startsWith("xMax")&&(Q||Y)&&t.translate(n-A,0),x.endsWith("YMax")&&(K||N)&&t.translate(0,s-_)}switch(!0){case x==="none":t.scale(q,w);break;case O==="meet":t.scale(S,S);break;case O==="slice":t.scale(P,P);break}t.translate(-l,-h)}start(e){var{enableRedraw:r=!1,ignoreMouse:t=!1,ignoreAnimation:a=!1,ignoreDimensions:n=!1,ignoreClear:o=!1,forceRedraw:s,scaleWidth:u,scaleHeight:l,offsetX:h,offsetY:f}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:v,mouse:c}=this,d=1e3/v;if(this.frameDuration=d,this.readyPromise=new Promise(x=>{this.resolveReady=x}),this.isReady()&&this.render(e,n,o,u,l,h,f),!!r){var p=Date.now(),y=p,m=0,T=()=>{p=Date.now(),m=p-y,m>=d&&(y=p-m%d,this.shouldUpdate(a,s)&&(this.render(e,n,o,u,l,h,f),c.runEvents())),this.intervalId=(0,vi.default)(T)};t||c.start(),this.intervalId=(0,vi.default)(T)}}stop(){this.intervalId&&(vi.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(e,r){if(!e){var{frameDuration:t}=this,a=this.animations.reduce((n,o)=>o.update(t)||n,!1);if(a)return!0}return!!(typeof r=="function"&&r()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(e,r,t,a,n,o,s){var{CLIENT_WIDTH:u,CLIENT_HEIGHT:l,viewPort:h,ctx:f,isFirstRender:v}=this,c=f.canvas;h.clear(),c.width&&c.height?h.setCurrent(c.width,c.height):h.setCurrent(u,l);var d=e.getStyle("width"),p=e.getStyle("height");!r&&(v||typeof a!="number"&&typeof n!="number")&&(d.hasValue()&&(c.width=d.getPixels("x"),c.style&&(c.style.width="".concat(c.width,"px"))),p.hasValue()&&(c.height=p.getPixels("y"),c.style&&(c.style.height="".concat(c.height,"px"))));var y=c.clientWidth||c.width,m=c.clientHeight||c.height;if(r&&d.hasValue()&&p.hasValue()&&(y=d.getPixels("x"),m=p.getPixels("y")),h.setCurrent(y,m),typeof o=="number"&&e.getAttribute("x",!0).setValue(o),typeof s=="number"&&e.getAttribute("y",!0).setValue(s),typeof a=="number"||typeof n=="number"){var T=se(e.getAttribute("viewBox").getString()),x=0,O=0;if(typeof a=="number"){var q=e.getStyle("width");q.hasValue()?x=q.getPixels("x")/a:isNaN(T[2])||(x=T[2]/a)}if(typeof n=="number"){var w=e.getStyle("height");w.hasValue()?O=w.getPixels("y")/n:isNaN(T[3])||(O=T[3]/n)}x||(x=O),O||(O=x),e.getAttribute("width",!0).setValue(a),e.getAttribute("height",!0).setValue(n);var S=e.getStyle("transform",!0,!0);S.setValue("".concat(S.getString()," scale(").concat(1/x,", ").concat(1/O,")"))}t||f.clearRect(0,0,y,m),e.render(f),v&&(this.isFirstRender=!1)}};yr.defaultWindow=Sg;yr.defaultFetch=Eg;var{defaultFetch:TO}=yr,OO=typeof DOMParser<"u"?DOMParser:null,Kr=class{constructor(){var{fetch:e=TO,DOMParser:r=OO}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=e,this.DOMParser=r}parse(e){var r=this;return Te(function*(){return e.startsWith("<")?r.parseFromString(e):r.load(e)})()}parseFromString(e){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(e,"image/svg+xml"))}catch{return this.checkDocument(r.parseFromString(e,"text/xml"))}}checkDocument(e){var r=e.getElementsByTagName("parsererror")[0];if(r)throw new Error(r.textContent);return e}load(e){var r=this;return Te(function*(){var t=yield r.fetch(e),a=yield t.text();return r.parseFromString(a)})()}},Jn=class{constructor(e,r){this.type="translate",this.point=null,this.point=$.parse(r)}apply(e){var{x:r,y:t}=this.point;e.translate(r||0,t||0)}unapply(e){var{x:r,y:t}=this.point;e.translate(-1*r||0,-1*t||0)}applyToPoint(e){var{x:r,y:t}=this.point;e.applyTransform([1,0,0,1,r||0,t||0])}},es=class{constructor(e,r,t){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var a=se(r);this.angle=new E(e,"angle",a[0]),this.originX=t[0],this.originY=t[1],this.cx=a[1]||0,this.cy=a[2]||0}apply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(o.getRadians()),e.translate(-s,-u)}unapply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(-1*o.getRadians()),e.translate(-s,-u)}applyToPoint(e){var{cx:r,cy:t,angle:a}=this,n=a.getRadians();e.applyTransform([1,0,0,1,r||0,t||0]),e.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),e.applyTransform([1,0,0,1,-r||0,-t||0])}},rs=class{constructor(e,r,t){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var a=$.parseScale(r);(a.x===0||a.y===0)&&(a.x=pr,a.y=pr),this.scale=a,this.originX=t[0],this.originY=t[1]}apply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(r,t||r),e.translate(-o,-s)}unapply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(1/r,1/t||r),e.translate(-o,-s)}applyToPoint(e){var{x:r,y:t}=this.scale;e.applyTransform([r||0,0,0,t||0,0,0])}},di=class{constructor(e,r,t){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=se(r),this.originX=t[0],this.originY=t[1]}apply(e){var{originX:r,originY:t,matrix:a}=this,n=r.getPixels("x"),o=t.getPixels("y");e.translate(n,o),e.transform(a[0],a[1],a[2],a[3],a[4],a[5]),e.translate(-n,-o)}unapply(e){var{originX:r,originY:t,matrix:a}=this,n=a[0],o=a[2],s=a[4],u=a[1],l=a[3],h=a[5],f=0,v=0,c=1,d=1/(n*(l*c-h*v)-o*(u*c-h*f)+s*(u*v-l*f)),p=r.getPixels("x"),y=t.getPixels("y");e.translate(p,y),e.transform(d*(l*c-h*v),d*(h*f-u*c),d*(s*v-o*c),d*(n*c-s*f),d*(o*h-s*l),d*(s*u-n*h)),e.translate(-p,-y)}applyToPoint(e){e.applyTransform(this.matrix)}},pi=class extends di{constructor(e,r,t){super(e,r,t),this.type="skew",this.angle=null,this.angle=new E(e,"angle",r)}},ts=class extends pi{constructor(e,r,t){super(e,r,t),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}},is=class extends pi{constructor(e,r,t){super(e,r,t),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}};function SO(i){return xr(i).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function EO(i){var[e,r]=i.split("(");return[e.trim(),r.trim().replace(")","")]}var mr=class i{constructor(e,r,t){this.document=e,this.transforms=[];var a=SO(r);a.forEach(n=>{if(n!=="none"){var[o,s]=EO(n),u=i.transformTypes[o];typeof u<"u"&&this.transforms.push(new u(this.document,s,t))}})}static fromElement(e,r){var t=r.getStyle("transform",!1,!0),[a,n=a]=r.getStyle("transform-origin",!1,!0).split(),o=[a,n];return t.hasValue()?new i(e,t.getString(),o):null}apply(e){for(var{transforms:r}=this,t=r.length,a=0;a<t;a++)r[a].apply(e)}unapply(e){for(var{transforms:r}=this,t=r.length,a=t-1;a>=0;a--)r[a].unapply(e)}applyToPoint(e){for(var{transforms:r}=this,t=r.length,a=0;a<t;a++)r[a].applyToPoint(e)}};mr.transformTypes={translate:Jn,rotate:es,scale:rs,matrix:di,skewX:ts,skewY:is};var V=class i{constructor(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=e,this.node=r,this.captureTextNodes=t,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!(!r||r.nodeType!==1)){if(Array.from(r.attributes).forEach(s=>{var u=cO(s.nodeName);this.attributes[u]=new E(e,u,s.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var a=this.getAttribute("style").getString().split(";").map(s=>s.trim());a.forEach(s=>{if(s){var[u,l]=s.split(":").map(h=>h.trim());this.styles[u]=new E(e,u,l)}})}var{definitions:n}=e,o=this.getAttribute("id");o.hasValue()&&(n[o.getString()]||(n[o.getString()]=this)),Array.from(r.childNodes).forEach(s=>{if(s.nodeType===1)this.addChild(s);else if(t&&(s.nodeType===3||s.nodeType===4)){var u=e.createTextNode(s);u.getText().length>0&&this.addChild(u)}})}}getAttribute(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=this.attributes[e];if(!t&&r){var a=new E(this.document,e,"");return this.attributes[e]=a,a}return t||E.empty(this.document)}getHrefAttribute(){for(var e in this.attributes)if(e==="href"||e.endsWith(":href"))return this.attributes[e];return E.empty(this.document)}getStyle(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.styles[e];if(a)return a;var n=this.getAttribute(e);if(n!=null&&n.hasValue())return this.styles[e]=n,n;if(!t){var{parent:o}=this;if(o){var s=o.getStyle(e);if(s!=null&&s.hasValue())return s}}if(r){var u=new E(this.document,e,"");return this.styles[e]=u,u}return a||E.empty(this.document)}render(e){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(e.save(),this.getStyle("mask").hasValue()){var r=this.getStyle("mask").getDefinition();r&&(this.applyEffects(e),r.apply(e,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var t=this.getStyle("filter").getDefinition();t&&(this.applyEffects(e),t.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}setContext(e){}applyEffects(e){var r=mr.fromElement(this.document,this);r&&r.apply(e);var t=this.getStyle("clip-path",!1,!0);if(t.hasValue()){var a=t.getDefinition();a&&a.apply(e)}}clearContext(e){}renderChildren(e){this.children.forEach(r=>{r.render(e)})}addChild(e){var r=e instanceof i?e:this.document.createElement(e);r.parent=this,i.ignoreChildTypes.includes(r.type)||this.children.push(r)}matchesSelector(e){var r,{node:t}=this;if(typeof t.matches=="function")return t.matches(e);var a=(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"class");return!a||a===""?!1:a.split(" ").some(n=>".".concat(n)===e)}addStylesFromStyleDefinition(){var{styles:e,stylesSpecificity:r}=this.document;for(var t in e)if(!t.startsWith("@")&&this.matchesSelector(t)){var a=e[t],n=r[t];if(a)for(var o in a){var s=this.stylesSpecificity[o];typeof s>"u"&&(s="000"),n>=s&&(this.styles[o]=a[o],this.stylesSpecificity[o]=n)}}}removeStyles(e,r){var t=r.reduce((a,n)=>{var o=e.getStyle(n);if(!o.hasValue())return a;var s=o.getString();return o.setValue(""),[...a,[n,s]]},[]);return t}restoreStyles(e,r){r.forEach(t=>{var[a,n]=t;e.getStyle(a,!0).setValue(n)})}isFirstChild(){var e;return((e=this.parent)===null||e===void 0?void 0:e.children.indexOf(this))===0}};V.ignoreChildTypes=["title"];var as=class extends V{constructor(e,r,t){super(e,r,t)}};function wO(i){var e=i.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}function CO(i){return typeof process>"u"?i:i.trim().split(",").map(wO).join(",")}function qO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:""}}function PO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return e;default:return/^[\d.]+$/.test(e)?e:""}}var me=class i{constructor(e,r,t,a,n,o){var s=o?typeof o=="string"?i.parse(o):o:{};this.fontFamily=n||s.fontFamily,this.fontSize=a||s.fontSize,this.fontStyle=e||s.fontStyle,this.fontWeight=t||s.fontWeight,this.fontVariant=r||s.fontVariant}static parse(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,t="",a="",n="",o="",s="",u=xr(e).trim().split(" "),l={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return u.forEach(h=>{switch(!0){case(!l.fontStyle&&i.styles.includes(h)):h!=="inherit"&&(t=h),l.fontStyle=!0;break;case(!l.fontVariant&&i.variants.includes(h)):h!=="inherit"&&(a=h),l.fontStyle=!0,l.fontVariant=!0;break;case(!l.fontWeight&&i.weights.includes(h)):h!=="inherit"&&(n=h),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0;break;case!l.fontSize:h!=="inherit"&&([o]=h.split("/")),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0,l.fontSize=!0;break;default:h!=="inherit"&&(s+=h)}}),new i(t,a,n,o,s,r)}toString(){return[qO(this.fontStyle),this.fontVariant,PO(this.fontWeight),this.fontSize,CO(this.fontFamily)].join(" ").trim()}};me.styles="normal|italic|oblique|inherit";me.variants="normal|small-caps|inherit";me.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var oe=class{constructor(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=e,this.y1=r,this.x2=t,this.y2=a,this.addPoint(e,r),this.addPoint(t,a)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(e,r){typeof e<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),typeof r<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),r<this.y1&&(this.y1=r),r>this.y2&&(this.y2=r))}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addBoundingBox(e){if(e){var{x1:r,y1:t,x2:a,y2:n}=e;this.addPoint(r,t),this.addPoint(a,n)}}sumCubic(e,r,t,a,n){return Math.pow(1-e,3)*r+3*Math.pow(1-e,2)*e*t+3*(1-e)*Math.pow(e,2)*a+Math.pow(e,3)*n}bezierCurveAdd(e,r,t,a,n){var o=6*r-12*t+6*a,s=-3*r+9*t-9*a+3*n,u=3*t-3*r;if(s===0){if(o===0)return;var l=-u/o;0<l&&l<1&&(e?this.addX(this.sumCubic(l,r,t,a,n)):this.addY(this.sumCubic(l,r,t,a,n)));return}var h=Math.pow(o,2)-4*u*s;if(!(h<0)){var f=(-o+Math.sqrt(h))/(2*s);0<f&&f<1&&(e?this.addX(this.sumCubic(f,r,t,a,n)):this.addY(this.sumCubic(f,r,t,a,n)));var v=(-o-Math.sqrt(h))/(2*s);0<v&&v<1&&(e?this.addX(this.sumCubic(v,r,t,a,n)):this.addY(this.sumCubic(v,r,t,a,n)))}}addBezierCurve(e,r,t,a,n,o,s,u){this.addPoint(e,r),this.addPoint(s,u),this.bezierCurveAdd(!0,e,t,n,s),this.bezierCurveAdd(!1,r,a,o,u)}addQuadraticCurve(e,r,t,a,n,o){var s=e+.6666666666666666*(t-e),u=r+2/3*(a-r),l=s+1/3*(n-e),h=u+1/3*(o-r);this.addBezierCurve(e,r,s,l,u,h,n,o)}isPointInBox(e,r){var{x1:t,y1:a,x2:n,y2:o}=this;return t<=e&&e<=n&&a<=r&&r<=o}},C=class extends b{constructor(e){super(e.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new $(0,0),this.control=new $(0,0),this.current=new $(0,0),this.points=[],this.angles=[]}isEnd(){var{i:e,commands:r}=this;return e>=r.length-1}next(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}getPoint(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",t=new $(this.command[e],this.command[r]);return this.makeAbsolute(t)}getAsControlPoint(e,r){var t=this.getPoint(e,r);return this.control=t,t}getAsCurrentPoint(e,r){var t=this.getPoint(e,r);return this.current=t,t}getReflectedControlPoint(){var e=this.previousCommand.type;if(e!==b.CURVE_TO&&e!==b.SMOOTH_CURVE_TO&&e!==b.QUAD_TO&&e!==b.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:t},control:{x:a,y:n}}=this,o=new $(2*r-a,2*t-n);return o}makeAbsolute(e){if(this.command.relative){var{x:r,y:t}=this.current;e.x+=r,e.y+=t}return e}addMarker(e,r,t){var{points:a,angles:n}=this;t&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=a[a.length-1].angleTo(t)),this.addMarkerAngle(e,r?r.angleTo(e):null)}addMarkerAngle(e,r){this.points.push(e),this.angles.push(r)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:e}=this,r=e.length,t=0;t<r;t++)if(!e[t]){for(var a=t+1;a<r;a++)if(e[a]){e[t]=e[a];break}}return e}},qe=class extends V{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var e=1,r=this;r;){var t=r.getStyle("opacity",!1,!0);t.hasValue(!0)&&(e*=t.getNumber()),r=r.parent}return e}setContext(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!r){var t=this.getStyle("fill"),a=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(t.isUrlDefinition()){var s=t.getFillStyleDefinition(this,a);s&&(e.fillStyle=s)}else if(t.hasValue()){t.getString()==="currentColor"&&t.setValue(this.getStyle("color").getColor());var u=t.getColor();u!=="inherit"&&(e.fillStyle=u==="none"?"rgba(0,0,0,0)":u)}if(a.hasValue()){var l=new E(this.document,"fill",e.fillStyle).addOpacity(a).getColor();e.fillStyle=l}if(n.isUrlDefinition()){var h=n.getFillStyleDefinition(this,o);h&&(e.strokeStyle=h)}else if(n.hasValue()){n.getString()==="currentColor"&&n.setValue(this.getStyle("color").getColor());var f=n.getString();f!=="inherit"&&(e.strokeStyle=f==="none"?"rgba(0,0,0,0)":f)}if(o.hasValue()){var v=new E(this.document,"stroke",e.strokeStyle).addOpacity(o).getString();e.strokeStyle=v}var c=this.getStyle("stroke-width");if(c.hasValue()){var d=c.getPixels();e.lineWidth=d||pr}var p=this.getStyle("stroke-linecap"),y=this.getStyle("stroke-linejoin"),m=this.getStyle("stroke-miterlimit"),T=this.getStyle("stroke-dasharray"),x=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(e.lineCap=p.getString()),y.hasValue()&&(e.lineJoin=y.getString()),m.hasValue()&&(e.miterLimit=m.getNumber()),T.hasValue()&&T.getString()!=="none"){var O=se(T.getString());typeof e.setLineDash<"u"?e.setLineDash(O):typeof e.webkitLineDash<"u"?e.webkitLineDash=O:typeof e.mozDash<"u"&&!(O.length===1&&O[0]===0)&&(e.mozDash=O);var q=x.getPixels();typeof e.lineDashOffset<"u"?e.lineDashOffset=q:typeof e.webkitLineDashOffset<"u"?e.webkitLineDashOffset=q:typeof e.mozDashOffset<"u"&&(e.mozDashOffset=q)}}if(this.modifiedEmSizeStack=!1,typeof e.font<"u"){var w=this.getStyle("font"),S=this.getStyle("font-style"),P=this.getStyle("font-variant"),A=this.getStyle("font-weight"),_=this.getStyle("font-size"),B=this.getStyle("font-family"),R=new me(S.getString(),P.getString(),A.getString(),_.hasValue()?"".concat(_.getPixels(!0),"px"):"",B.getString(),me.parse(w.getString(),e.font));S.setValue(R.fontStyle),P.setValue(R.fontVariant),A.setValue(R.fontWeight),_.setValue(R.fontSize),B.setValue(R.fontFamily),e.font=R.toString(),_.isPixels()&&(this.document.emSize=_.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}clearContext(e){super.clearContext(e),this.modifiedEmSizeStack&&this.document.popEmSize()}},F=class i extends qe{constructor(e,r,t){super(e,r,t),this.type="path",this.pathParser=null,this.pathParser=new C(this.getAttribute("d").getString())}path(e){var{pathParser:r}=this,t=new oe;for(r.reset(),e&&e.beginPath();!r.isEnd();)switch(r.next().type){case C.MOVE_TO:this.pathM(e,t);break;case C.LINE_TO:this.pathL(e,t);break;case C.HORIZ_LINE_TO:this.pathH(e,t);break;case C.VERT_LINE_TO:this.pathV(e,t);break;case C.CURVE_TO:this.pathC(e,t);break;case C.SMOOTH_CURVE_TO:this.pathS(e,t);break;case C.QUAD_TO:this.pathQ(e,t);break;case C.SMOOTH_QUAD_TO:this.pathT(e,t);break;case C.ARC:this.pathA(e,t);break;case C.CLOSE_PATH:this.pathZ(e,t);break}return t}getBoundingBox(e){return this.path()}getMarkers(){var{pathParser:e}=this,r=e.getMarkerPoints(),t=e.getMarkerAngles(),a=r.map((n,o)=>[n,t[o]]);return a}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var r=this.getStyle("fill-rule");e.fillStyle!==""&&(r.getString("inherit")!=="inherit"?e.fill(r.getString()):e.fill()),e.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var t=this.getMarkers();if(t){var a=t.length-1,n=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(n.isUrlDefinition()){var u=n.getDefinition(),[l,h]=t[0];u.render(e,l,h)}if(o.isUrlDefinition())for(var f=o.getDefinition(),v=1;v<a;v++){var[c,d]=t[v];f.render(e,c,d)}if(s.isUrlDefinition()){var p=s.getDefinition(),[y,m]=t[a];p.render(e,y,m)}}}static pathM(e){var r=e.getAsCurrentPoint();return e.start=e.current,{point:r}}pathM(e,r){var{pathParser:t}=this,{point:a}=i.pathM(t),{x:n,y:o}=a;t.addMarker(a),r.addPoint(n,o),e&&e.moveTo(n,o)}static pathL(e){var{current:r}=e,t=e.getAsCurrentPoint();return{current:r,point:t}}pathL(e,r){var{pathParser:t}=this,{current:a,point:n}=i.pathL(t),{x:o,y:s}=n;t.addMarker(n,a),r.addPoint(o,s),e&&e.lineTo(o,s)}static pathH(e){var{current:r,command:t}=e,a=new $((t.relative?r.x:0)+t.x,r.y);return e.current=a,{current:r,point:a}}pathH(e,r){var{pathParser:t}=this,{current:a,point:n}=i.pathH(t),{x:o,y:s}=n;t.addMarker(n,a),r.addPoint(o,s),e&&e.lineTo(o,s)}static pathV(e){var{current:r,command:t}=e,a=new $(r.x,(t.relative?r.y:0)+t.y);return e.current=a,{current:r,point:a}}pathV(e,r){var{pathParser:t}=this,{current:a,point:n}=i.pathV(t),{x:o,y:s}=n;t.addMarker(n,a),r.addPoint(o,s),e&&e.lineTo(o,s)}static pathC(e){var{current:r}=e,t=e.getPoint("x1","y1"),a=e.getAsControlPoint("x2","y2"),n=e.getAsCurrentPoint();return{current:r,point:t,controlPoint:a,currentPoint:n}}pathC(e,r){var{pathParser:t}=this,{current:a,point:n,controlPoint:o,currentPoint:s}=i.pathC(t);t.addMarker(s,o,n),r.addBezierCurve(a.x,a.y,n.x,n.y,o.x,o.y,s.x,s.y),e&&e.bezierCurveTo(n.x,n.y,o.x,o.y,s.x,s.y)}static pathS(e){var{current:r}=e,t=e.getReflectedControlPoint(),a=e.getAsControlPoint("x2","y2"),n=e.getAsCurrentPoint();return{current:r,point:t,controlPoint:a,currentPoint:n}}pathS(e,r){var{pathParser:t}=this,{current:a,point:n,controlPoint:o,currentPoint:s}=i.pathS(t);t.addMarker(s,o,n),r.addBezierCurve(a.x,a.y,n.x,n.y,o.x,o.y,s.x,s.y),e&&e.bezierCurveTo(n.x,n.y,o.x,o.y,s.x,s.y)}static pathQ(e){var{current:r}=e,t=e.getAsControlPoint("x1","y1"),a=e.getAsCurrentPoint();return{current:r,controlPoint:t,currentPoint:a}}pathQ(e,r){var{pathParser:t}=this,{current:a,controlPoint:n,currentPoint:o}=i.pathQ(t);t.addMarker(o,n,n),r.addQuadraticCurve(a.x,a.y,n.x,n.y,o.x,o.y),e&&e.quadraticCurveTo(n.x,n.y,o.x,o.y)}static pathT(e){var{current:r}=e,t=e.getReflectedControlPoint();e.control=t;var a=e.getAsCurrentPoint();return{current:r,controlPoint:t,currentPoint:a}}pathT(e,r){var{pathParser:t}=this,{current:a,controlPoint:n,currentPoint:o}=i.pathT(t);t.addMarker(o,n,n),r.addQuadraticCurve(a.x,a.y,n.x,n.y,o.x,o.y),e&&e.quadraticCurveTo(n.x,n.y,o.x,o.y)}static pathA(e){var{current:r,command:t}=e,{rX:a,rY:n,xRot:o,lArcFlag:s,sweepFlag:u}=t,l=o*(Math.PI/180),h=e.getAsCurrentPoint(),f=new $(Math.cos(l)*(r.x-h.x)/2+Math.sin(l)*(r.y-h.y)/2,-Math.sin(l)*(r.x-h.x)/2+Math.cos(l)*(r.y-h.y)/2),v=Math.pow(f.x,2)/Math.pow(a,2)+Math.pow(f.y,2)/Math.pow(n,2);v>1&&(a*=Math.sqrt(v),n*=Math.sqrt(v));var c=(s===u?-1:1)*Math.sqrt((Math.pow(a,2)*Math.pow(n,2)-Math.pow(a,2)*Math.pow(f.y,2)-Math.pow(n,2)*Math.pow(f.x,2))/(Math.pow(a,2)*Math.pow(f.y,2)+Math.pow(n,2)*Math.pow(f.x,2)));isNaN(c)&&(c=0);var d=new $(c*a*f.y/n,c*-n*f.x/a),p=new $((r.x+h.x)/2+Math.cos(l)*d.x-Math.sin(l)*d.y,(r.y+h.y)/2+Math.sin(l)*d.x+Math.cos(l)*d.y),y=lg([1,0],[(f.x-d.x)/a,(f.y-d.y)/n]),m=[(f.x-d.x)/a,(f.y-d.y)/n],T=[(-f.x-d.x)/a,(-f.y-d.y)/n],x=lg(m,T);return Qn(m,T)<=-1&&(x=Math.PI),Qn(m,T)>=1&&(x=0),{currentPoint:h,rX:a,rY:n,sweepFlag:u,xAxisRotation:l,centp:p,a1:y,ad:x}}pathA(e,r){var{pathParser:t}=this,{currentPoint:a,rX:n,rY:o,sweepFlag:s,xAxisRotation:u,centp:l,a1:h,ad:f}=i.pathA(t),v=1-s?1:-1,c=h+v*(f/2),d=new $(l.x+n*Math.cos(c),l.y+o*Math.sin(c));if(t.addMarkerAngle(d,c-v*Math.PI/2),t.addMarkerAngle(a,c-v*Math.PI),r.addPoint(a.x,a.y),e&&!isNaN(h)&&!isNaN(f)){var p=n>o?n:o,y=n>o?1:n/o,m=n>o?o/n:1;e.translate(l.x,l.y),e.rotate(u),e.scale(y,m),e.arc(0,0,p,h,h+f,!!(1-s)),e.scale(1/y,1/m),e.rotate(-u),e.translate(-l.x,-l.y)}}static pathZ(e){e.current=e.start}pathZ(e,r){i.pathZ(this.pathParser),e&&r.x1!==r.x2&&r.y1!==r.y2&&e.closePath()}},yi=class extends F{constructor(e,r,t){super(e,r,t),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}},Ye=class i extends qe{constructor(e,r,t){super(e,r,new.target===i?!0:t),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(e,r);var t=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();t&&(e.textBaseline=t)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(e){if(this.type!=="text")return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var r=null;return this.children.forEach((t,a)=>{var n=this.getChildBoundingBox(e,this,this,a);r?r.addBoundingBox(n):r=n}),r}getFontSize(){var{document:e,parent:r}=this,t=me.parse(e.ctx.font).fontSize,a=r.getStyle("font-size").getNumber(t);return a}getTElementBoundingBox(e){var r=this.getFontSize();return new oe(this.x,this.y-r,this.x+this.measureText(e),this.y)}getGlyph(e,r,t){var a=r[t],n=null;if(e.isArabic){var o=r.length,s=r[t-1],u=r[t+1],l="isolated";if((t===0||s===" ")&&t<o-1&&u!==" "&&(l="terminal"),t>0&&s!==" "&&t<o-1&&u!==" "&&(l="medial"),t>0&&s!==" "&&(t===o-1||u===" ")&&(l="initial"),typeof e.glyphs[a]<"u"){var h=e.glyphs[a];n=h instanceof yi?h:h[l]}}else n=e.glyphs[a];return n||(n=e.missingGlyph),n}getText(){return""}getTextFromNode(e){var r=e||this.node,t=Array.from(r.parentNode.childNodes),a=t.indexOf(r),n=t.length-1,o=xr(r.textContent||"");return a===0&&(o=uO(o)),a===n&&(o=lO(o)),o}renderChildren(e){if(this.type!=="text"){this.renderTElementChildren(e);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((t,a)=>{this.renderChild(e,this,this,a)});var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(e))}renderTElementChildren(e){var{document:r,parent:t}=this,a=this.getText(),n=t.getStyle("font-family").getDefinition();if(n){for(var{unitsPerEm:o}=n.fontFace,s=me.parse(r.ctx.font),u=t.getStyle("font-size").getNumber(s.fontSize),l=t.getStyle("font-style").getString(s.fontStyle),h=u/o,f=n.isRTL?a.split("").reverse().join(""):a,v=se(t.getAttribute("dx").getString()),c=f.length,d=0;d<c;d++){var p=this.getGlyph(n,f,d);e.translate(this.x,this.y),e.scale(h,-h);var y=e.lineWidth;e.lineWidth=e.lineWidth*o/u,l==="italic"&&e.transform(1,0,.4,1,0,0),p.render(e),l==="italic"&&e.transform(1,0,-.4,1,0,0),e.lineWidth=y,e.scale(1/h,-1/h),e.translate(-this.x,-this.y),this.x+=u*(p.horizAdvX||n.horizAdvX)/o,typeof v[d]<"u"&&!isNaN(v[d])&&(this.x+=v[d])}return}var{x:m,y:T}=this;e.fillStyle&&e.fillText(a,m,T),e.strokeStyle&&e.strokeText(a,m,T)}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var e=this.leafTexts[this.textChunkStart],r=e.getStyle("text-anchor").getString("start"),t=!1,a=0;r==="start"&&!t||r==="end"&&t?a=e.x-this.minX:r==="end"&&!t||r==="start"&&t?a=e.x-this.maxX:a=e.x-(this.minX+this.maxX)/2;for(var n=this.textChunkStart;n<this.leafTexts.length;n++)this.leafTexts[n].x+=a;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(e){this.children.forEach((r,t)=>{this.adjustChildCoordinatesRecursiveCore(e,this,this,t)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(e,r,t,a){var n=t.children[a];n.children.length>0?n.children.forEach((o,s)=>{r.adjustChildCoordinatesRecursiveCore(e,r,n,s)}):this.adjustChildCoordinates(e,r,t,a)}adjustChildCoordinates(e,r,t,a){var n=t.children[a];if(typeof n.measureText!="function")return n;e.save(),n.setContext(e,!0);var o=n.getAttribute("x"),s=n.getAttribute("y"),u=n.getAttribute("dx"),l=n.getAttribute("dy"),h=n.getStyle("font-family").getDefinition(),f=!!h&&h.isRTL;a===0&&(o.hasValue()||o.setValue(n.getInheritedAttribute("x")),s.hasValue()||s.setValue(n.getInheritedAttribute("y")),u.hasValue()||u.setValue(n.getInheritedAttribute("dx")),l.hasValue()||l.setValue(n.getInheritedAttribute("dy")));var v=n.measureText(e);return f&&(r.x-=v),o.hasValue()?(r.applyAnchoring(),n.x=o.getPixels("x"),u.hasValue()&&(n.x+=u.getPixels("x"))):(u.hasValue()&&(r.x+=u.getPixels("x")),n.x=r.x),r.x=n.x,f||(r.x+=v),s.hasValue()?(n.y=s.getPixels("y"),l.hasValue()&&(n.y+=l.getPixels("y"))):(l.hasValue()&&(r.y+=l.getPixels("y")),n.y=r.y),r.y=n.y,r.leafTexts.push(n),r.minX=Math.min(r.minX,n.x,n.x+v),r.maxX=Math.max(r.maxX,n.x,n.x+v),n.clearContext(e),e.restore(),n}getChildBoundingBox(e,r,t,a){var n=t.children[a];if(typeof n.getBoundingBox!="function")return null;var o=n.getBoundingBox(e);return o?(n.children.forEach((s,u)=>{var l=r.getChildBoundingBox(e,r,n,u);o.addBoundingBox(l)}),o):null}renderChild(e,r,t,a){var n=t.children[a];n.render(e),n.children.forEach((o,s)=>{r.renderChild(e,r,n,s)})}measureText(e){var{measureCache:r}=this;if(~r)return r;var t=this.getText(),a=this.measureTargetText(e,t);return this.measureCache=a,a}measureTargetText(e,r){if(!r.length)return 0;var{parent:t}=this,a=t.getStyle("font-family").getDefinition();if(a){for(var n=this.getFontSize(),o=a.isRTL?r.split("").reverse().join(""):r,s=se(t.getAttribute("dx").getString()),u=o.length,l=0,h=0;h<u;h++){var f=this.getGlyph(a,o,h);l+=(f.horizAdvX||a.horizAdvX)*n/a.fontFace.unitsPerEm,typeof s[h]<"u"&&!isNaN(s[h])&&(l+=s[h])}return l}if(!e.measureText)return r.length*10;e.save(),this.setContext(e,!0);var{width:v}=e.measureText(r);return this.clearContext(e),e.restore(),v}getInheritedAttribute(e){for(var r=this;r instanceof i&&r.isFirstChild();){var t=r.parent.getAttribute(e);if(t.hasValue(!0))return t.getValue("0");r=r.parent}return null}},mi=class i extends Ye{constructor(e,r,t){super(e,r,new.target===i?!0:t),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}},ns=class extends mi{constructor(){super(...arguments),this.type="textNode"}},Xe=class extends qe{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(e){var r,{document:t}=this,{screen:a,window:n}=t,o=e.canvas;if(a.setDefaults(e),o.style&&typeof e.font<"u"&&n&&typeof n.getComputedStyle<"u"){e.font=n.getComputedStyle(o).getPropertyValue("font");var s=new E(t,"fontSize",me.parse(e.font).fontSize);s.hasValue()&&(t.rootEmSize=s.getPixels("y"),t.emSize=t.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:u,height:l}=a.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var h=this.getAttribute("refX"),f=this.getAttribute("refY"),v=this.getAttribute("viewBox"),c=v.hasValue()?se(v.getString()):null,d=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",p=0,y=0,m=0,T=0;c&&(p=c[0],y=c[1]),this.root||(u=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y"),this.type==="marker"&&(m=p,T=y,p=0,y=0)),a.viewPort.setCurrent(u,l),this.node&&(!this.parent||((r=this.node.parentNode)===null||r===void 0?void 0:r.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),c&&(u=c[2],l=c[3]),t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a.viewPort.width,desiredWidth:u,height:a.viewPort.height,desiredHeight:l,minX:p,minY:y,refX:h.getValue(),refY:f.getValue(),clip:d,clipX:m,clipY:T}),c&&(a.viewPort.removeCurrent(),a.viewPort.setCurrent(u,l))}clearContext(e){super.clearContext(e),this.document.screen.viewPort.removeCurrent()}resize(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.getAttribute("width",!0),n=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=a.getNumber(0),l=n.getNumber(0);if(t)if(typeof t=="string")this.getAttribute("preserveAspectRatio",!0).setValue(t);else{var h=this.getAttribute("preserveAspectRatio");h.hasValue()&&h.setValue(h.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(a.setValue(e),n.setValue(r),o.hasValue()||o.setValue("0 0 ".concat(u||e," ").concat(l||r)),s.hasValue()){var f=this.getStyle("width"),v=this.getStyle("height");f.hasValue()&&f.setValue("".concat(e,"px")),v.hasValue()&&v.setValue("".concat(r,"px"))}}},bi=class extends F{constructor(){super(...arguments),this.type="rect"}path(e){var r=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),a=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),s=this.getAttribute("ry"),u=o.getPixels("x"),l=s.getPixels("y");if(o.hasValue()&&!s.hasValue()&&(l=u),s.hasValue()&&!o.hasValue()&&(u=l),u=Math.min(u,a/2),l=Math.min(l,n/2),e){var h=4*((Math.sqrt(2)-1)/3);e.beginPath(),n>0&&a>0&&(e.moveTo(r+u,t),e.lineTo(r+a-u,t),e.bezierCurveTo(r+a-u+h*u,t,r+a,t+l-h*l,r+a,t+l),e.lineTo(r+a,t+n-l),e.bezierCurveTo(r+a,t+n-l+h*l,r+a-u+h*u,t+n,r+a-u,t+n),e.lineTo(r+u,t+n),e.bezierCurveTo(r+u-h*u,t+n,r,t+n-l+h*l,r,t+n-l),e.lineTo(r,t+l),e.bezierCurveTo(r,t+l-h*l,r+u-h*u,t,r+u,t),e.closePath())}return new oe(r,t,r+a,t+n)}getMarkers(){return null}},ss=class extends F{constructor(){super(...arguments),this.type="circle"}path(e){var r=this.getAttribute("cx").getPixels("x"),t=this.getAttribute("cy").getPixels("y"),a=this.getAttribute("r").getPixels();return e&&a>0&&(e.beginPath(),e.arc(r,t,a,0,Math.PI*2,!1),e.closePath()),new oe(r-a,t-a,r+a,t+a)}getMarkers(){return null}},os=class extends F{constructor(){super(...arguments),this.type="ellipse"}path(e){var r=4*((Math.sqrt(2)-1)/3),t=this.getAttribute("rx").getPixels("x"),a=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return e&&t>0&&a>0&&(e.beginPath(),e.moveTo(n+t,o),e.bezierCurveTo(n+t,o+r*a,n+r*t,o+a,n,o+a),e.bezierCurveTo(n-r*t,o+a,n-t,o+r*a,n-t,o),e.bezierCurveTo(n-t,o-r*a,n-r*t,o-a,n,o-a),e.bezierCurveTo(n+r*t,o-a,n+t,o-r*a,n+t,o),e.closePath()),new oe(n-t,o-a,n+t,o+a)}getMarkers(){return null}},us=class extends F{constructor(){super(...arguments),this.type="line"}getPoints(){return[new $(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new $(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(e){var[{x:r,y:t},{x:a,y:n}]=this.getPoints();return e&&(e.beginPath(),e.moveTo(r,t),e.lineTo(a,n)),new oe(r,t,a,n)}getMarkers(){var[e,r]=this.getPoints(),t=e.angleTo(r);return[[e,t],[r,t]]}},xi=class extends F{constructor(e,r,t){super(e,r,t),this.type="polyline",this.points=[],this.points=$.parsePath(this.getAttribute("points").getString())}path(e){var{points:r}=this,[{x:t,y:a}]=r,n=new oe(t,a);return e&&(e.beginPath(),e.moveTo(t,a)),r.forEach(o=>{var{x:s,y:u}=o;n.addPoint(s,u),e&&e.lineTo(s,u)}),n}getMarkers(){var{points:e}=this,r=e.length-1,t=[];return e.forEach((a,n)=>{n!==r&&t.push([a,a.angleTo(e[n+1])])}),t.length>0&&t.push([e[e.length-1],t[t.length-1][1]]),t}},ls=class extends xi{constructor(){super(...arguments),this.type="polygon"}path(e){var r=super.path(e),[{x:t,y:a}]=this.points;return e&&(e.lineTo(t,a),e.closePath()),r}},hs=class extends V{constructor(){super(...arguments),this.type="pattern"}createPattern(e,r,t){var a=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),o=new Xe(this.document,null);o.attributes.viewBox=new E(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new E(this.document,"width","".concat(a,"px")),o.attributes.height=new E(this.document,"height","".concat(n,"px")),o.attributes.transform=new E(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var s=this.document.createCanvas(a,n),u=s.getContext("2d"),l=this.getAttribute("x"),h=this.getAttribute("y");l.hasValue()&&h.hasValue()&&u.translate(l.getPixels("x",!0),h.getPixels("y",!0)),t.hasValue()?this.styles["fill-opacity"]=t:Reflect.deleteProperty(this.styles,"fill-opacity");for(var f=-1;f<=1;f++)for(var v=-1;v<=1;v++)u.save(),o.attributes.x=new E(this.document,"x",f*s.width),o.attributes.y=new E(this.document,"y",v*s.height),o.render(u),u.restore();var c=e.createPattern(s,"repeat");return c}},cs=class extends V{constructor(){super(...arguments),this.type="marker"}render(e,r,t){if(r){var{x:a,y:n}=r,o=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(a,n),o==="auto"&&e.rotate(t),s==="strokeWidth"&&e.scale(e.lineWidth,e.lineWidth),e.save();var u=new Xe(this.document,null);u.type=this.type,u.attributes.viewBox=new E(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new E(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new E(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new E(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new E(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new E(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new E(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new E(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(e),e.restore(),s==="strokeWidth"&&e.scale(1/e.lineWidth,1/e.lineWidth),o==="auto"&&e.rotate(-t),e.translate(-a,-n)}}},fs=class extends V{constructor(){super(...arguments),this.type="defs"}render(){}},Zr=class extends qe{constructor(){super(...arguments),this.type="g"}getBoundingBox(e){var r=new oe;return this.children.forEach(t=>{r.addBoundingBox(t.getBoundingBox(e))}),r}},Ti=class extends V{constructor(e,r,t){super(e,r,t),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:a,children:n}=this;n.forEach(o=>{o.type==="stop"&&a.push(o)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(e,r,t){var a=this;this.getHrefAttribute().hasValue()&&(a=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(a));var{stops:n}=a,o=this.getGradient(e,r);if(!o)return this.addParentOpacity(t,n[n.length-1].color);if(n.forEach(y=>{o.addColorStop(y.offset,this.addParentOpacity(t,y.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:u,viewPort:l}=s.screen,[h]=l.viewPorts,f=new bi(s,null);f.attributes.x=new E(s,"x",-u/3),f.attributes.y=new E(s,"y",-u/3),f.attributes.width=new E(s,"width",u),f.attributes.height=new E(s,"height",u);var v=new Zr(s,null);v.attributes.transform=new E(s,"transform",this.getAttribute("gradientTransform").getValue()),v.children=[f];var c=new Xe(s,null);c.attributes.x=new E(s,"x",0),c.attributes.y=new E(s,"y",0),c.attributes.width=new E(s,"width",h.width),c.attributes.height=new E(s,"height",h.height),c.children=[v];var d=s.createCanvas(h.width,h.height),p=d.getContext("2d");return p.fillStyle=o,c.render(p),p.createPattern(d,"no-repeat")}return o}inheritStopContainer(e){this.attributesToInherit.forEach(r=>{!this.getAttribute(r).hasValue()&&e.getAttribute(r).hasValue()&&this.getAttribute(r,!0).setValue(e.getAttribute(r).getValue())})}addParentOpacity(e,r){if(e.hasValue()){var t=new E(this.document,"color",r);return t.addOpacity(e).getColor()}return r}},vs=class extends Ti{constructor(e,r,t){super(e,r,t),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=t?r.getBoundingBox(e):null;if(t&&!a)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=t?a.x+a.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=t?a.y+a.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=t?a.x+a.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=t?a.y+a.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===s&&o===u?null:e.createLinearGradient(n,o,s,u)}},gs=class extends Ti{constructor(e,r,t){super(e,r,t),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=r.getBoundingBox(e);if(t&&!a)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=t?a.x+a.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=t?a.y+a.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=n,u=o;this.getAttribute("fx").hasValue()&&(s=t?a.x+a.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=t?a.y+a.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var l=t?(a.width+a.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),h=this.getAttribute("fr").getPixels();return e.createRadialGradient(s,u,h,n,o,l)}},ds=class extends V{constructor(e,r,t){super(e,r,t),this.type="stop";var a=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);o.getString()===""&&o.setValue("#000"),n.hasValue()&&(o=o.addOpacity(n)),this.offset=a,this.color=o.getColor()}},Jr=class extends V{constructor(e,r,t){super(e,r,t),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,e.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new E(e,"values",null);var a=this.getAttribute("values");a.hasValue()&&this.values.setValue(a.getString().split(";"))}getProperty(){var e=this.getAttribute("attributeType").getString(),r=this.getAttribute("attributeName").getString();return e==="CSS"?this.parent.getStyle(r,!0):this.parent.getAttribute(r,!0)}calcValue(){var{initialUnits:e}=this,{progress:r,from:t,to:a}=this.getProgress(),n=t.getNumber()+(a.getNumber()-t.getNumber())*r;return e==="%"&&(n*=100),"".concat(n).concat(e)}update(e){var{parent:r}=this,t=this.getProperty();if(this.initialValue||(this.initialValue=t.getString(),this.initialUnits=t.getUnits()),this.duration>this.maxDuration){var a=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(a==="freeze"&&!this.frozen)this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=t.getString();else if(a==="remove"&&!this.removed)return this.removed=!0,t.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=e;var n=!1;if(this.begin<this.duration){var o=this.calcValue(),s=this.getAttribute("type");if(s.hasValue()){var u=s.getString();o="".concat(u,"(").concat(o,")")}t.setValue(o),n=!0}return n}getProgress(){var{document:e,values:r}=this,t={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(r.hasValue()){var a=t.progress*(r.getValue().length-1),n=Math.floor(a),o=Math.ceil(a);t.from=new E(e,"from",parseFloat(r.getValue()[n])),t.to=new E(e,"to",parseFloat(r.getValue()[o])),t.progress=(a-n)/(o-n)}else t.from=this.from,t.to=this.to;return t}},ps=class extends Jr{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:e,from:r,to:t}=this.getProgress(),a=new gi.default(r.getColor()),n=new gi.default(t.getColor());if(a.ok&&n.ok){var o=a.r+(n.r-a.r)*e,s=a.g+(n.g-a.g)*e,u=a.b+(n.b-a.b)*e;return"rgb(".concat(Math.floor(o),", ").concat(Math.floor(s),", ").concat(Math.floor(u),")")}return this.getAttribute("from").getColor()}},ys=class extends Jr{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:e,from:r,to:t}=this.getProgress(),a=se(r.getString()),n=se(t.getString()),o=a.map((s,u)=>{var l=n[u];return s+(l-s)*e}).join(" ");return o}},ms=class extends V{constructor(e,r,t){super(e,r,t),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:a}=e,{children:n}=this;for(var o of n)switch(o.type){case"font-face":{this.fontFace=o;var s=o.getStyle("font-family");s.hasValue()&&(a[s.getString()]=this);break}case"missing-glyph":this.missingGlyph=o;break;case"glyph":{var u=o;u.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[u.unicode]>"u"&&(this.glyphs[u.unicode]=Object.create(null)),this.glyphs[u.unicode][u.arabicForm]=u):this.glyphs[u.unicode]=u;break}}}render(){}},bs=class extends V{constructor(e,r,t){super(e,r,t),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}},xs=class extends F{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}},Ts=class extends Ye{constructor(){super(...arguments),this.type="tref"}getText(){var e=this.getHrefAttribute().getDefinition();if(e){var r=e.children[0];if(r)return r.getText()}return""}},Os=class extends Ye{constructor(e,r,t){super(e,r,t),this.type="a";var{childNodes:a}=r,n=a[0],o=a.length>0&&Array.from(a).every(s=>s.nodeType===3);this.hasText=o,this.text=o?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(e){if(this.hasText){super.renderChildren(e);var{document:r,x:t,y:a}=this,{mouse:n}=r.screen,o=new E(r,"fontSize",me.parse(r.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new oe(t,a-o.getPixels("y"),t+this.measureText(e),a))}else if(this.children.length>0){var s=new Zr(this.document,null);s.children=this.children,s.parent=this,s.render(e)}}onClick(){var{window:e}=this.document;e&&e.open(this.getHrefAttribute().getString())}onMouseMove(){var e=this.document.ctx;e.canvas.style.cursor="pointer"}};function yg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function hi(i){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?yg(Object(r),!0).forEach(function(t){ni(i,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):yg(Object(r)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(r,t))})}return i}var Ss=class extends Ye{constructor(e,r,t){super(e,r,t),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var a=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(a)}getText(){return this.text}path(e){var{dataArray:r}=this;e&&e.beginPath(),r.forEach(t=>{var{type:a,points:n}=t;switch(a){case C.LINE_TO:e&&e.lineTo(n[0],n[1]);break;case C.MOVE_TO:e&&e.moveTo(n[0],n[1]);break;case C.CURVE_TO:e&&e.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);break;case C.QUAD_TO:e&&e.quadraticCurveTo(n[0],n[1],n[2],n[3]);break;case C.ARC:{var[o,s,u,l,h,f,v,c]=n,d=u>l?u:l,p=u>l?1:u/l,y=u>l?l/u:1;e&&(e.translate(o,s),e.rotate(v),e.scale(p,y),e.arc(0,0,d,h,h+f,!!(1-c)),e.scale(1/p,1/y),e.rotate(-v),e.translate(-o,-s));break}case C.CLOSE_PATH:e&&e.closePath();break}})}renderChildren(e){this.setTextData(e),e.save();var r=this.parent.getStyle("text-decoration").getString(),t=this.getFontSize(),{glyphInfo:a}=this,n=e.fillStyle;r==="underline"&&e.beginPath(),a.forEach((o,s)=>{var{p0:u,p1:l,rotation:h,text:f}=o;e.save(),e.translate(u.x,u.y),e.rotate(h),e.fillStyle&&e.fillText(f,0,0),e.strokeStyle&&e.strokeText(f,0,0),e.restore(),r==="underline"&&(s===0&&e.moveTo(u.x,u.y+t/8),e.lineTo(l.x,l.y+t/5))}),r==="underline"&&(e.lineWidth=t/20,e.strokeStyle=n,e.stroke(),e.closePath()),e.restore()}getLetterSpacingAt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[e]||0}findSegmentToFitChar(e,r,t,a,n,o,s,u,l){var h=o,f=this.measureText(e,u);u===" "&&r==="justify"&&t<a&&(f+=(a-t)/n),l>-1&&(h+=this.getLetterSpacingAt(l));var v=this.textHeight/20,c=this.getEquidistantPointOnPath(h,v,0),d=this.getEquidistantPointOnPath(h+f,v,0),p={p0:c,p1:d},y=c&&d?Math.atan2(d.y-c.y,d.x-c.x):0;if(s){var m=Math.cos(Math.PI/2+y)*s,T=Math.cos(-y)*s;p.p0=hi(hi({},c),{},{x:c.x+m,y:c.y+T}),p.p1=hi(hi({},d),{},{x:d.x+m,y:d.y+T})}return h+=f,{offset:h,segment:p,rotation:y}}measureText(e,r){var{measuresCache:t}=this,a=r||this.getText();if(t.has(a))return t.get(a);var n=this.measureTargetText(e,a);return t.set(a,n),n}setTextData(e){if(!this.glyphInfo){var r=this.getText(),t=r.split(""),a=r.split(" ").length-1,n=this.parent.getAttribute("dx").split().map(O=>O.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing"),h=0;!u.hasValue()||u.getValue()==="inherit"?h=l.getPixels():u.hasValue()&&u.getValue()!=="initial"&&u.getValue()!=="unset"&&(h=u.getPixels());var f=[],v=r.length;this.letterSpacingCache=f;for(var c=0;c<v;c++)f.push(typeof n[c]<"u"?n[c]:h);var d=f.reduce((O,q,w)=>w===0?0:O+q||0,0),p=this.measureText(e),y=Math.max(p+d,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var m=this.getPathLength(),T=this.getStyle("startOffset").getNumber(0)*m,x=0;(s==="middle"||s==="center")&&(x=-y/2),(s==="end"||s==="right")&&(x=-y),x+=T,t.forEach((O,q)=>{var{offset:w,segment:S,rotation:P}=this.findSegmentToFitChar(e,s,y,m,a,x,o,O,q);x=w,!(!S.p0||!S.p1)&&this.glyphInfo.push({text:t[q],p0:S.p0,p1:S.p1,rotation:P})})}}parsePathData(e){if(this.pathLength=-1,!e)return[];var r=[],{pathParser:t}=e;for(t.reset();!t.isEnd();){var{current:a}=t,n=a?a.x:0,o=a?a.y:0,s=t.next(),u=s.type,l=[];switch(s.type){case C.MOVE_TO:this.pathM(t,l);break;case C.LINE_TO:u=this.pathL(t,l);break;case C.HORIZ_LINE_TO:u=this.pathH(t,l);break;case C.VERT_LINE_TO:u=this.pathV(t,l);break;case C.CURVE_TO:this.pathC(t,l);break;case C.SMOOTH_CURVE_TO:u=this.pathS(t,l);break;case C.QUAD_TO:this.pathQ(t,l);break;case C.SMOOTH_QUAD_TO:u=this.pathT(t,l);break;case C.ARC:l=this.pathA(t);break;case C.CLOSE_PATH:F.pathZ(t);break}s.type!==C.CLOSE_PATH?r.push({type:u,points:l,start:{x:n,y:o},pathLength:this.calcLength(n,o,u,l)}):r.push({type:C.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(e,r){var{x:t,y:a}=F.pathM(e).point;r.push(t,a)}pathL(e,r){var{x:t,y:a}=F.pathL(e).point;return r.push(t,a),C.LINE_TO}pathH(e,r){var{x:t,y:a}=F.pathH(e).point;return r.push(t,a),C.LINE_TO}pathV(e,r){var{x:t,y:a}=F.pathV(e).point;return r.push(t,a),C.LINE_TO}pathC(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathC(e);r.push(t.x,t.y,a.x,a.y,n.x,n.y)}pathS(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathS(e);return r.push(t.x,t.y,a.x,a.y,n.x,n.y),C.CURVE_TO}pathQ(e,r){var{controlPoint:t,currentPoint:a}=F.pathQ(e);r.push(t.x,t.y,a.x,a.y)}pathT(e,r){var{controlPoint:t,currentPoint:a}=F.pathT(e);return r.push(t.x,t.y,a.x,a.y),C.QUAD_TO}pathA(e){var{rX:r,rY:t,sweepFlag:a,xAxisRotation:n,centp:o,a1:s,ad:u}=F.pathA(e);return a===0&&u>0&&(u-=2*Math.PI),a===1&&u<0&&(u+=2*Math.PI),[o.x,o.y,r,t,s,u,n,a]}calcLength(e,r,t,a){var n=0,o=null,s=null,u=0;switch(t){case C.LINE_TO:return this.getLineLength(e,r,a[0],a[1]);case C.CURVE_TO:for(n=0,o=this.getPointOnCubicBezier(0,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),u=.01;u<=1;u+=.01)s=this.getPointOnCubicBezier(u,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case C.QUAD_TO:for(n=0,o=this.getPointOnQuadraticBezier(0,e,r,a[0],a[1],a[2],a[3]),u=.01;u<=1;u+=.01)s=this.getPointOnQuadraticBezier(u,e,r,a[0],a[1],a[2],a[3]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case C.ARC:{n=0;var l=a[4],h=a[5],f=a[4]+h,v=Math.PI/180;if(Math.abs(l-f)<v&&(v=Math.abs(l-f)),o=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],l,0),h<0)for(u=l-v;u>f;u-=v)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;else for(u=l+v;u<f;u+=v)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],f,0),n+=this.getLineLength(o.x,o.y,s.x,s.y),n}}return 0}getPointOnLine(e,r,t,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:r,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:t,u=(n-t)/(a-r+pr),l=Math.sqrt(e*e/(1+u*u));a<r&&(l*=-1);var h=u*l,f=null;if(a===r)f={x:o,y:s+h};else if((s-t)/(o-r+pr)===u)f={x:o+l,y:s+h};else{var v=0,c=0,d=this.getLineLength(r,t,a,n);if(d<pr)return null;var p=(o-r)*(a-r)+(s-t)*(n-t);p/=d*d,v=r+p*(a-r),c=t+p*(n-t);var y=this.getLineLength(o,s,v,c),m=Math.sqrt(e*e-y*y);l=Math.sqrt(m*m/(1+u*u)),a<r&&(l*=-1),h=u*l,f={x:v+l,y:c+h}}return f}getPointOnPath(e){var r=this.getPathLength(),t=0,a=null;if(e<-5e-5||e-5e-5>r)return null;var{dataArray:n}=this;for(var o of n){if(o&&(o.pathLength<5e-5||t+o.pathLength+5e-5<e)){t+=o.pathLength;continue}var s=e-t,u=0;switch(o.type){case C.LINE_TO:a=this.getPointOnLine(s,o.start.x,o.start.y,o.points[0],o.points[1],o.start.x,o.start.y);break;case C.ARC:{var l=o.points[4],h=o.points[5],f=o.points[4]+h;if(u=l+s/o.pathLength*h,h<0&&u<f||h>=0&&u>f)break;a=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break}case C.CURVE_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case C.QUAD_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3]);break}if(a)return a;break}return null}getLineLength(e,r,t,a){return Math.sqrt((t-e)*(t-e)+(a-r)*(a-r))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((e,r)=>r.pathLength>0?e+r.pathLength:e,0)),this.pathLength}getPointOnCubicBezier(e,r,t,a,n,o,s,u,l){var h=u*hg(e)+o*cg(e)+a*fg(e)+r*vg(e),f=l*hg(e)+s*cg(e)+n*fg(e)+t*vg(e);return{x:h,y:f}}getPointOnQuadraticBezier(e,r,t,a,n,o,s){var u=o*gg(e)+a*dg(e)+r*pg(e),l=s*gg(e)+n*dg(e)+t*pg(e);return{x:u,y:l}}getPointOnEllipticalArc(e,r,t,a,n,o){var s=Math.cos(o),u=Math.sin(o),l={x:t*Math.cos(n),y:a*Math.sin(n)};return{x:e+(l.x*s-l.y*u),y:r+(l.x*u+l.y*s)}}buildEquidistantCache(e,r){var t=this.getPathLength(),a=r||.25,n=e||t/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==a){this.equidistantCache={step:n,precision:a,points:[]};for(var o=0,s=0;s<=t;s+=a){var u=this.getPointOnPath(s),l=this.getPointOnPath(s+a);!u||!l||(o+=this.getLineLength(u.x,u.y,l.x,l.y),o>=n&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:s}),o-=n))}}}getEquidistantPointOnPath(e,r,t){if(this.buildEquidistantCache(r,t),e<0||e-this.getPathLength()>5e-5)return null;var a=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[a]||null}},AO=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,Es=class extends qe{constructor(e,r,t){super(e,r,t),this.type="image",this.loaded=!1;var a=this.getHrefAttribute().getString();if(a){var n=a.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(a);e.images.push(this),n?this.loadSvg(a):this.loadImage(a),this.isSvg=n}}loadImage(e){var r=this;return Te(function*(){try{var t=yield r.document.createImage(e);r.image=t}catch(a){console.error('Error while loading image "'.concat(e,'":'),a)}r.loaded=!0})()}loadSvg(e){var r=this;return Te(function*(){var t=AO.exec(e);if(t){var a=t[5];t[4]==="base64"?r.image=atob(a):r.image=decodeURIComponent(a)}else try{var n=yield r.document.fetch(e),o=yield n.text();r.image=o}catch(s){console.error('Error while loading image "'.concat(e,'":'),s)}r.loaded=!0})()}renderChildren(e){var{document:r,image:t,loaded:a}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!(!a||!t||!s||!u)){if(e.save(),e.translate(n,o),this.isSvg){var l=r.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:u});l.document.documentElement.parent=this,l.render()}else{var h=this.image;r.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:h.width,height:u,desiredHeight:h.height}),this.loaded&&(typeof h.complete>"u"||h.complete)&&e.drawImage(h,0,0)}e.restore()}}getBoundingBox(){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),t=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");return new oe(e,r,e+t,r+a)}},ws=class extends qe{constructor(){super(...arguments),this.type="symbol"}render(e){}},Cs=class{constructor(e){this.document=e,this.loaded=!1,e.fonts.push(this)}load(e,r){var t=this;return Te(function*(){try{var{document:a}=t,n=yield a.canvg.parser.load(r),o=n.getElementsByTagName("font");Array.from(o).forEach(s=>{var u=a.createElement(s);a.definitions[e]=u})}catch(s){console.error('Error while loading font "'.concat(r,'":'),s)}t.loaded=!0})()}},Oi=class extends V{constructor(e,r,t){super(e,r,t),this.type="style";var a=xr(Array.from(r.childNodes).map(o=>o.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),n=a.split("}");n.forEach(o=>{var s=o.trim();if(s){var u=s.split("{"),l=u[0].split(","),h=u[1].split(";");l.forEach(f=>{var v=f.trim();if(v){var c=e.styles[v]||{};if(h.forEach(y=>{var m=y.indexOf(":"),T=y.substr(0,m).trim(),x=y.substr(m+1,y.length-m).trim();T&&x&&(c[T]=new E(e,T,x))}),e.styles[v]=c,e.stylesSpecificity[v]=xO(v),v==="@font-face"){var d=c["font-family"].getString().replace(/"|'/g,""),p=c.src.getString().split(",");p.forEach(y=>{if(y.indexOf('format("svg")')>0){var m=Og(y);m&&new Cs(e).load(d,m)}})}}})}})}};Oi.parseExternalUrl=Og;var qs=class extends qe{constructor(){super(...arguments),this.type="use"}setContext(e){super.setContext(e);var r=this.getAttribute("x"),t=this.getAttribute("y");r.hasValue()&&e.translate(r.getPixels("x"),0),t.hasValue()&&e.translate(0,t.getPixels("y"))}path(e){var{element:r}=this;r&&r.path(e)}renderChildren(e){var{document:r,element:t}=this;if(t){var a=t;if(t.type==="symbol"&&(a=new Xe(r,null),a.attributes.viewBox=new E(r,"viewBox",t.getAttribute("viewBox").getString()),a.attributes.preserveAspectRatio=new E(r,"preserveAspectRatio",t.getAttribute("preserveAspectRatio").getString()),a.attributes.overflow=new E(r,"overflow",t.getAttribute("overflow").getString()),a.children=t.children,t.styles.opacity=new E(r,"opacity",this.calculateOpacity())),a.type==="svg"){var n=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);n.hasValue()&&(a.attributes.width=new E(r,"width",n.getString())),o.hasValue()&&(a.attributes.height=new E(r,"height",o.getString()))}var s=a.parent;a.parent=this,a.render(e),a.parent=s}}getBoundingBox(e){var{element:r}=this;return r?r.getBoundingBox(e):null}elementTransform(){var{document:e,element:r}=this;return mr.fromElement(e,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}};function ci(i,e,r,t,a,n){return i[r*t*4+e*4+n]}function fi(i,e,r,t,a,n,o){i[r*t*4+e*4+n]=o}function j(i,e,r){var t=i[e];return t*r}function Ce(i,e,r,t){return e+Math.cos(i)*r+Math.sin(i)*t}var Si=class extends V{constructor(e,r,t){super(e,r,t),this.type="feColorMatrix";var a=se(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var n=a[0];a=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var o=a[0]*Math.PI/180;a=[Ce(o,.213,.787,-.213),Ce(o,.715,-.715,-.715),Ce(o,.072,-.072,.928),0,0,Ce(o,.213,-.213,.143),Ce(o,.715,.285,.14),Ce(o,.072,-.072,-.283),0,0,Ce(o,.213,-.213,-.787),Ce(o,.715,-.715,.715),Ce(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}this.matrix=a,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(e,r,t,a,n){for(var{includeOpacity:o,matrix:s}=this,u=e.getImageData(0,0,a,n),l=0;l<n;l++)for(var h=0;h<a;h++){var f=ci(u.data,h,l,a,n,0),v=ci(u.data,h,l,a,n,1),c=ci(u.data,h,l,a,n,2),d=ci(u.data,h,l,a,n,3),p=j(s,0,f)+j(s,1,v)+j(s,2,c)+j(s,3,d)+j(s,4,1),y=j(s,5,f)+j(s,6,v)+j(s,7,c)+j(s,8,d)+j(s,9,1),m=j(s,10,f)+j(s,11,v)+j(s,12,c)+j(s,13,d)+j(s,14,1),T=j(s,15,f)+j(s,16,v)+j(s,17,c)+j(s,18,d)+j(s,19,1);o&&(p=0,y=0,m=0,T*=d/255),fi(u.data,h,l,a,n,0,p),fi(u.data,h,l,a,n,1,y),fi(u.data,h,l,a,n,2,m),fi(u.data,h,l,a,n,3,T)}e.clearRect(0,0,a,n),e.putImageData(u,0,0)}},Ei=class i extends V{constructor(){super(...arguments),this.type="mask"}apply(e,r){var{document:t}=this,a=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),o=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");if(!o&&!s){var u=new oe;this.children.forEach(d=>{u.addBoundingBox(d.getBoundingBox(e))}),a=Math.floor(u.x1),n=Math.floor(u.y1),o=Math.floor(u.width),s=Math.floor(u.height)}var l=this.removeStyles(r,i.ignoreStyles),h=t.createCanvas(a+o,n+s),f=h.getContext("2d");t.screen.setDefaults(f),this.renderChildren(f),new Si(t,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(f,0,0,a+o,n+s);var v=t.createCanvas(a+o,n+s),c=v.getContext("2d");t.screen.setDefaults(c),r.render(c),c.globalCompositeOperation="destination-in",c.fillStyle=f.createPattern(h,"no-repeat"),c.fillRect(0,0,a+o,n+s),e.fillStyle=c.createPattern(v,"no-repeat"),e.fillRect(0,0,a+o,n+s),this.restoreStyles(r,l)}render(e){}};Ei.ignoreStyles=["mask","transform","clip-path"];var mg=()=>{},Ps=class extends V{constructor(){super(...arguments),this.type="clipPath"}apply(e){var{document:r}=this,t=Reflect.getPrototypeOf(e),{beginPath:a,closePath:n}=e;t&&(t.beginPath=mg,t.closePath=mg),Reflect.apply(a,e,[]),this.children.forEach(o=>{if(!(typeof o.path>"u")){var s=typeof o.elementTransform<"u"?o.elementTransform():null;s||(s=mr.fromElement(r,o)),s&&s.apply(e),o.path(e),t&&(t.closePath=n),s&&s.unapply(e)}}),Reflect.apply(n,e,[]),e.clip(),t&&(t.beginPath=a,t.closePath=n)}render(e){}},wi=class i extends V{constructor(){super(...arguments),this.type="filter"}apply(e,r){var{document:t,children:a}=this,n=r.getBoundingBox(e);if(n){var o=0,s=0;a.forEach(m=>{var T=m.extraFilterDistance||0;o=Math.max(o,T),s=Math.max(s,T)});var u=Math.floor(n.width),l=Math.floor(n.height),h=u+2*o,f=l+2*s;if(!(h<1||f<1)){var v=Math.floor(n.x),c=Math.floor(n.y),d=this.removeStyles(r,i.ignoreStyles),p=t.createCanvas(h,f),y=p.getContext("2d");t.screen.setDefaults(y),y.translate(-v+o,-c+s),r.render(y),a.forEach(m=>{typeof m.apply=="function"&&m.apply(y,0,0,h,f)}),e.drawImage(p,0,0,h,f,v-o,c-s,h,f),this.restoreStyles(r,d)}}}render(e){}};wi.ignoreStyles=["filter","transform","clip-path"];var As=class extends V{constructor(e,r,t){super(e,r,t),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(e,r,t,a,n){}},Rs=class extends V{constructor(){super(...arguments),this.type="feMorphology"}apply(e,r,t,a,n){}},Ns=class extends V{constructor(){super(...arguments),this.type="feComposite"}apply(e,r,t,a,n){}},Is=class extends V{constructor(e,r,t){super(e,r,t),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(e,r,t,a,n){var{document:o,blurRadius:s}=this,u=o.window?o.window.document.body:null,l=e.canvas;l.id=o.getUniqueId(),u&&(l.style.display="none",u.appendChild(l)),og(l,r,t,a,n,s),u&&u.removeChild(l)}},Ms=class extends V{constructor(){super(...arguments),this.type="title"}},Vs=class extends V{constructor(){super(...arguments),this.type="desc"}},RO={svg:Xe,rect:bi,circle:ss,ellipse:os,line:us,polyline:xi,polygon:ls,path:F,pattern:hs,marker:cs,defs:fs,linearGradient:vs,radialGradient:gs,stop:ds,animate:Jr,animateColor:ps,animateTransform:ys,font:ms,"font-face":bs,"missing-glyph":xs,glyph:yi,text:Ye,tspan:mi,tref:Ts,a:Os,textPath:Ss,image:Es,g:Zr,symbol:ws,style:Oi,use:qs,mask:Ei,clipPath:Ps,filter:wi,feDropShadow:As,feMorphology:Rs,feComposite:Ns,feColorMatrix:Si,feGaussianBlur:Is,title:Ms,desc:Vs};function bg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function NO(i){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bg(Object(r),!0).forEach(function(t){ni(i,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):bg(Object(r)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(r,t))})}return i}function IO(i,e){var r=document.createElement("canvas");return r.width=i,r.height=e,r}function MO(i){return _s.apply(this,arguments)}function _s(){return _s=Te(function*(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=document.createElement("img");return e&&(r.crossOrigin="Anonymous"),new Promise((t,a)=>{r.onload=()=>{t(r)},r.onerror=(n,o,s,u,l)=>{a(l)},r.src=i})}),_s.apply(this,arguments)}var br=class i{constructor(e){var{rootEmSize:r=12,emSize:t=12,createCanvas:a=i.createCanvas,createImage:n=i.createImage,anonymousCrossOrigin:o}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=e,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=e.screen,this.rootEmSize=r,this.emSize=t,this.createCanvas=a,this.createImage=this.bindCreateImage(n,o),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(e,r){return typeof r=="boolean"?(t,a)=>e(t,typeof a=="boolean"?a:r):e}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:e}=this;return e[e.length-1]}set emSize(e){var{emSizeStack:r}=this;r.push(e)}popEmSize(){var{emSizeStack:e}=this;e.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(e=>e.loaded)}isFontsLoaded(){return this.fonts.every(e=>e.loaded)}createDocumentElement(e){var r=this.createElement(e.documentElement);return r.root=!0,r.addStylesFromStyleDefinition(),this.documentElement=r,r}createElement(e){var r=e.nodeName.replace(/^[^:]+:/,""),t=i.elementTypes[r];return typeof t<"u"?new t(this,e):new as(this,e)}createTextNode(e){return new ns(this,e)}setViewBox(e){this.screen.setViewBox(NO({document:this},e))}};br.createCanvas=IO;br.createImage=MO;br.elementTypes=RO;function xg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function He(i){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?xg(Object(r),!0).forEach(function(t){ni(i,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):xg(Object(r)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(r,t))})}return i}var Tg=class i{constructor(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new Kr(t),this.screen=new yr(e,t),this.options=t;var a=new br(this,t),n=a.createDocumentElement(r);this.document=a,this.documentElement=n}static from(e,r){var t=arguments;return Te(function*(){var a=t.length>2&&t[2]!==void 0?t[2]:{},n=new Kr(a),o=yield n.parse(r);return new i(e,o,a)})()}static fromString(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=new Kr(t),n=a.parseFromString(r);return new i(e,n,t)}fork(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.from(e,r,He(He({},this.options),t))}forkString(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.fromString(e,r,He(He({},this.options),t))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var e=arguments,r=this;return Te(function*(){var t=e.length>0&&e[0]!==void 0?e[0]:{};r.start(He({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t)),yield r.ready(),r.stop()})()}start(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:r,screen:t,options:a}=this;t.start(r,He(He({enableRedraw:!0},a),e))}stop(){this.screen.stop()}resize(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(e,r,t)}};export{Os as AElement,ps as AnimateColorElement,Jr as AnimateElement,ys as AnimateTransformElement,oe as BoundingBox,hg as CB1,cg as CB2,fg as CB3,vg as CB4,Tg as Canvg,ss as CircleElement,Ps as ClipPathElement,fs as DefsElement,Vs as DescElement,br as Document,V as Element,os as EllipseElement,Si as FeColorMatrixElement,Ns as FeCompositeElement,As as FeDropShadowElement,Is as FeGaussianBlurElement,Rs as FeMorphologyElement,wi as FilterElement,me as Font,ms as FontElement,bs as FontFaceElement,Zr as GElement,yi as GlyphElement,Ti as GradientElement,Es as ImageElement,us as LineElement,vs as LinearGradientElement,cs as MarkerElement,Ei as MaskElement,di as Matrix,xs as MissingGlyphElement,Zn as Mouse,pr as PSEUDO_ZERO,Kr as Parser,F as PathElement,C as PathParser,hs as PatternElement,$ as Point,ls as PolygonElement,xi as PolylineElement,E as Property,gg as QB1,dg as QB2,pg as QB3,gs as RadialGradientElement,bi as RectElement,qe as RenderedElement,es as Rotate,Xe as SVGElement,Cs as SVGFontLoader,rs as Scale,yr as Screen,pi as Skew,ts as SkewX,is as SkewY,ds as StopElement,Oi as StyleElement,ws as SymbolElement,Ts as TRefElement,mi as TSpanElement,Ye as TextElement,Ss as TextPathElement,Ms as TitleElement,mr as Transform,Jn as Translate,as as UnknownElement,qs as UseElement,Kn as ViewPort,xr as compressSpaces,Tg as default,xO as getSelectorSpecificity,cO as normalizeAttributeName,fO as normalizeColor,Og as parseExternalUrl,RC as presets,se as toNumbers,uO as trimLeft,lO as trimRight,ug as vectorMagnitude,lg as vectorsAngle,Qn as vectorsRatio};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.2 */
|
4
|
+
import{a as l}from"./J67A6WYJ.js";import{D as o,c as r,d as a,n as s,y as n}from"./6ULIHKIX.js";import"./QTN6BMW2.js";var c=r`/** @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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
3
|
+
v1.0.2 */
|
4
4
|
var l=new Map([["ar","ar"],["bg","bg"],["bs","bs"],["ca","ca"],["cs","cs"],["da","da"],["de","de"],["el","el"],["en","en"],["es","es"],["et","et"],["fi","fi"],["fr","fr"],["he","he"],["hr","hr"],["hu","hu"],["id","id"],["it","it"],["ja","ja"],["ko","ko"],["lt","lt"],["lv","lv"],["no","no"],["nb","no"],["nn","no"],["nl","nl"],["pl","pl"],["pt-br","pt-BR"],["pt-pt","pt-PT"],["ro","ro"],["ru","ru"],["sk","sk"],["sl","sl"],["sr","sr"],["sv","sv"],["th","th"],["tr","tr"],["uk","uk"],["vi","vi"],["zh-cn","zh-CN"],["zh-hk","zh-HK"],["zh-tw","zh-TW"]]);function h(t){return s(t,"dir","ltr")}function s(t,e,n){let r=t.closest(`[${e}]`);return r?r.getAttribute(e):n}export{l as a,h as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.2 */
|
4
|
+
import{a as e}from"./XHXK6QN7.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{D as h,c as n,d as s,f as c,n as l,p as o,y as d}from"./
|
3
|
+
v1.0.2 */
|
4
|
+
import{D as h,c as n,d as s,f as c,n as l,p as o,y as d}from"./6ULIHKIX.js";import"./QTN6BMW2.js";var p=n`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|