@eidos.space/just-bash 3.0.3 → 3.0.4
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/CHANGELOG.md +17 -0
- package/dist/bin/chunks/{awk2-RLMNTGI7.js → awk2-M5P56WFW.js} +1 -1
- package/dist/bin/{shell/chunks/base64-RZRLGMB3.js → chunks/base64-3BBQMQBD.js} +1 -1
- package/dist/bin/{shell/chunks/bash-CLP24TE2.js → chunks/bash-JOHLB5EM.js} +1 -1
- package/dist/bin/{shell/chunks/cat-LQH5FSAR.js → chunks/cat-QS3FUD2R.js} +1 -1
- package/dist/bin/chunks/{chunk-L24QXM5S.js → chunk-2AUW2OVD.js} +1 -1
- package/dist/bin/chunks/{chunk-EDTBGO7F.js → chunk-3ERCSYXB.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-X4MX6EHF.js → chunks/chunk-46EFQINR.js} +1 -1
- package/dist/bin/chunks/{chunk-7NC4CPHS.js → chunk-4HZ2J7WU.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-UO5LOD7U.js → chunks/chunk-4J4HK3AP.js} +1 -1
- package/dist/bin/chunks/{chunk-PAYQNSZN.js → chunk-4TKEQ5JF.js} +1 -1
- package/dist/bin/chunks/{chunk-V2RP73X4.js → chunk-4TZMT56V.js} +1 -1
- package/dist/bin/chunks/{chunk-F3GKANW3.js → chunk-5MAZXOIE.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-6FSBHK6H.js → chunks/chunk-6CMV7VZ7.js} +1 -1
- package/dist/bin/chunks/{chunk-FVRXEJYQ.js → chunk-7X6QFILN.js} +2 -2
- package/dist/bin/{shell/chunks/chunk-2SVX7I5P.js → chunks/chunk-A66SLDOH.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-Q4UMTSRO.js → chunks/chunk-AIE46WV2.js} +1 -1
- package/dist/bin/chunks/{chunk-VBDLSL7Y.js → chunk-CVDY2PJ2.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-H7JTIXAO.js → chunks/chunk-DSS5HVJD.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-M65CQLJE.js → chunks/chunk-E2TTMLYF.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-HN2DCT7T.js → chunks/chunk-E35XCU6G.js} +1 -1
- package/dist/bin/chunks/{chunk-JZW7NFK2.js → chunk-EVVJUFZE.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-C7ISPH7Y.js → chunks/chunk-FKCULB5D.js} +1 -1
- package/dist/bin/chunks/{chunk-YY5PJR7O.js → chunk-G5P37XAS.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-CAZ75E7E.js → chunks/chunk-IAGQA4VJ.js} +1 -1
- package/dist/bin/chunks/{chunk-22HCD466.js → chunk-JARRTDRA.js} +1 -1
- package/dist/bin/chunks/{chunk-JNUX75OX.js → chunk-JW42N6DP.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-7UU7KPEM.js → chunks/chunk-LLC5H7UY.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-NXVG64T3.js → chunks/chunk-MMSWVFQQ.js} +1 -1
- package/dist/bin/chunks/{chunk-2NRAWO6E.js → chunk-MQIPLKAA.js} +1 -1
- package/dist/bin/chunks/{chunk-YOKQNNQO.js → chunk-NK4UMOPJ.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-OPMLWMNH.js → chunks/chunk-OUWMQLWU.js} +1 -1
- package/dist/bin/chunks/{chunk-KFMPGSUT.js → chunk-PEI4ZGEQ.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-7AYT3UKI.js → chunks/chunk-PNPB62GH.js} +1 -1
- package/dist/bin/chunks/chunk-PUSAQWLR.js +3 -0
- package/dist/bin/chunks/{chunk-LAHBP3FW.js → chunk-QMRTESE5.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-IZGLHVBB.js → chunks/chunk-RGDGVTPT.js} +1 -1
- package/dist/bin/chunks/{chunk-FKVQZWJQ.js → chunk-TO6JCMLQ.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-F3WNDKOC.js → chunks/chunk-TVCXF3IW.js} +1 -1
- package/dist/bin/chunks/{chunk-J7TUF2VI.js → chunk-V2CUST2J.js} +1 -1
- package/dist/bin/{shell/chunks/chunk-XJ37N3S5.js → chunks/chunk-VZTJXRFX.js} +1 -1
- package/dist/bin/chunks/{column-AQB3A3PJ.js → column-W6LUR2XZ.js} +1 -1
- package/dist/bin/{shell/chunks/comm-Q4VDF6ZO.js → chunks/comm-YSS52S62.js} +1 -1
- package/dist/bin/chunks/{cut-ZI2HIAW7.js → cut-VWMTH3YP.js} +1 -1
- package/dist/bin/{shell/chunks/diff-YDJ42RKS.js → chunks/diff-E5JNYAA2.js} +1 -1
- package/dist/bin/chunks/{env-NY32PQJM.js → env-S6XWV5SK.js} +1 -1
- package/dist/bin/chunks/{expand-YYSO35NS.js → expand-AIAYIGRW.js} +1 -1
- package/dist/bin/chunks/{flag-coverage-RFKIBJ6L.js → flag-coverage-AIBITXZA.js} +1 -1
- package/dist/bin/{shell/chunks/fold-5MF7QZWQ.js → chunks/fold-4X7TIQ32.js} +1 -1
- package/dist/bin/chunks/{grep-VAYCFO4O.js → grep-7KM7ZRPL.js} +1 -1
- package/dist/bin/chunks/{gzip-UGBQQKIH.js → gzip-UUURHQYK.js} +1 -1
- package/dist/bin/chunks/{head-QNC2ZYDO.js → head-2NYUMA2U.js} +1 -1
- package/dist/bin/{shell/chunks/html-to-markdown-QEFY7XQR.js → chunks/html-to-markdown-TOIJDAT5.js} +1 -1
- package/dist/bin/{shell/chunks/join-EJ73DYTK.js → chunks/join-W23T6UW4.js} +1 -1
- package/dist/bin/chunks/{jq-GGTKKMEN.js → jq-PG5TWARX.js} +1 -1
- package/dist/bin/chunks/{js-exec-BC6NI55L.js → js-exec-YLOWUQR4.js} +1 -1
- package/dist/bin/chunks/{md5sum-MCVDIB35.js → md5sum-XTC5HSJD.js} +1 -1
- package/dist/bin/chunks/{nl-KUPLVCTS.js → nl-7NAYBH24.js} +1 -1
- package/dist/bin/chunks/{od-YQ5ZUI2H.js → od-BGNLMPXW.js} +1 -1
- package/dist/bin/{shell/chunks/paste-A5KKPWXX.js → chunks/paste-KM6YEJO3.js} +1 -1
- package/dist/bin/chunks/{python3-BQWDPUBM.js → python3-ABK6N2Y5.js} +1 -1
- package/dist/bin/chunks/{rev-PYHOZ4D4.js → rev-YHIGUK3P.js} +1 -1
- package/dist/bin/chunks/{rg-BGFMSIVK.js → rg-6FON3TGH.js} +1 -1
- package/dist/bin/chunks/{sed-FWA634SN.js → sed-LHKUKSBN.js} +1 -1
- package/dist/bin/chunks/{sha1sum-4KF52U3Y.js → sha1sum-VW2AMMXS.js} +1 -1
- package/dist/bin/chunks/{sha256sum-6YEPULPX.js → sha256sum-7O5NHH7H.js} +1 -1
- package/dist/bin/chunks/{sort-4C6WOKNK.js → sort-3BIIXAER.js} +1 -1
- package/dist/bin/chunks/{split-TV7NL7LA.js → split-3DTOTWCO.js} +1 -1
- package/dist/bin/chunks/{sqlite3-W777NCI4.js → sqlite3-AUZE77IO.js} +1 -1
- package/dist/bin/chunks/{strings-MDD72LR6.js → strings-LQXARN54.js} +1 -1
- package/dist/bin/{shell/chunks/tac-C2N4NQ6S.js → chunks/tac-24IIWF3C.js} +1 -1
- package/dist/bin/chunks/{tail-BCB5W6JC.js → tail-5BYXLCVJ.js} +1 -1
- package/dist/bin/chunks/{tar-DOO744MK.js → tar-PEHGL2NT.js} +1 -1
- package/dist/bin/chunks/{tee-UQHPO4OW.js → tee-CPC2RSEW.js} +1 -1
- package/dist/bin/chunks/{time-ZPY52VT2.js → time-7GPZMM6F.js} +1 -1
- package/dist/bin/chunks/{timeout-5AX3ZS3X.js → timeout-B2L3MWOL.js} +1 -1
- package/dist/bin/chunks/{tr-G7K6M6HP.js → tr-SGANQH42.js} +1 -1
- package/dist/bin/chunks/{unexpand-QIR4EDPG.js → unexpand-7TJPGTBZ.js} +1 -1
- package/dist/bin/chunks/{uniq-I7PVFJR4.js → uniq-VH2XX4GT.js} +1 -1
- package/dist/bin/{shell/chunks/wc-6NGWULAP.js → chunks/wc-LGTZO4AP.js} +1 -1
- package/dist/bin/chunks/{xan-KX4VPXUN.js → xan-I5ZN33WB.js} +1 -1
- package/dist/bin/chunks/{xan-view-JXOZLJ7S.js → xan-view-UGYNQULV.js} +1 -1
- package/dist/bin/chunks/{xargs-UWHPYLY7.js → xargs-2NR5N6L3.js} +1 -1
- package/dist/bin/chunks/{yq-GCDCJBKB.js → yq-3EZZPCM2.js} +1 -1
- package/dist/bin/just-bash.js +72 -72
- package/dist/bin/shell/chunks/{awk2-RLMNTGI7.js → awk2-M5P56WFW.js} +1 -1
- package/dist/bin/{chunks/base64-RZRLGMB3.js → shell/chunks/base64-3BBQMQBD.js} +1 -1
- package/dist/bin/{chunks/bash-CLP24TE2.js → shell/chunks/bash-JOHLB5EM.js} +1 -1
- package/dist/bin/{chunks/cat-LQH5FSAR.js → shell/chunks/cat-QS3FUD2R.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-L24QXM5S.js → chunk-2AUW2OVD.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-EDTBGO7F.js → chunk-3ERCSYXB.js} +1 -1
- package/dist/bin/{chunks/chunk-X4MX6EHF.js → shell/chunks/chunk-46EFQINR.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-7NC4CPHS.js → chunk-4HZ2J7WU.js} +1 -1
- package/dist/bin/{chunks/chunk-UO5LOD7U.js → shell/chunks/chunk-4J4HK3AP.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-PAYQNSZN.js → chunk-4TKEQ5JF.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-V2RP73X4.js → chunk-4TZMT56V.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-F3GKANW3.js → chunk-5MAZXOIE.js} +1 -1
- package/dist/bin/{chunks/chunk-6FSBHK6H.js → shell/chunks/chunk-6CMV7VZ7.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-FVRXEJYQ.js → chunk-7X6QFILN.js} +2 -2
- package/dist/bin/{chunks/chunk-2SVX7I5P.js → shell/chunks/chunk-A66SLDOH.js} +1 -1
- package/dist/bin/{chunks/chunk-Q4UMTSRO.js → shell/chunks/chunk-AIE46WV2.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-VBDLSL7Y.js → chunk-CVDY2PJ2.js} +1 -1
- package/dist/bin/{chunks/chunk-H7JTIXAO.js → shell/chunks/chunk-DSS5HVJD.js} +1 -1
- package/dist/bin/{chunks/chunk-M65CQLJE.js → shell/chunks/chunk-E2TTMLYF.js} +1 -1
- package/dist/bin/{chunks/chunk-HN2DCT7T.js → shell/chunks/chunk-E35XCU6G.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-JZW7NFK2.js → chunk-EVVJUFZE.js} +1 -1
- package/dist/bin/{chunks/chunk-C7ISPH7Y.js → shell/chunks/chunk-FKCULB5D.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-YY5PJR7O.js → chunk-G5P37XAS.js} +1 -1
- package/dist/bin/{chunks/chunk-CAZ75E7E.js → shell/chunks/chunk-IAGQA4VJ.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-22HCD466.js → chunk-JARRTDRA.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-JNUX75OX.js → chunk-JW42N6DP.js} +1 -1
- package/dist/bin/{chunks/chunk-7UU7KPEM.js → shell/chunks/chunk-LLC5H7UY.js} +1 -1
- package/dist/bin/{chunks/chunk-NXVG64T3.js → shell/chunks/chunk-MMSWVFQQ.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-2NRAWO6E.js → chunk-MQIPLKAA.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-YOKQNNQO.js → chunk-NK4UMOPJ.js} +1 -1
- package/dist/bin/{chunks/chunk-OPMLWMNH.js → shell/chunks/chunk-OUWMQLWU.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-KFMPGSUT.js → chunk-PEI4ZGEQ.js} +1 -1
- package/dist/bin/{chunks/chunk-7AYT3UKI.js → shell/chunks/chunk-PNPB62GH.js} +1 -1
- package/dist/bin/shell/chunks/chunk-PUSAQWLR.js +3 -0
- package/dist/bin/shell/chunks/{chunk-LAHBP3FW.js → chunk-QMRTESE5.js} +1 -1
- package/dist/bin/{chunks/chunk-IZGLHVBB.js → shell/chunks/chunk-RGDGVTPT.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-FKVQZWJQ.js → chunk-TO6JCMLQ.js} +1 -1
- package/dist/bin/{chunks/chunk-F3WNDKOC.js → shell/chunks/chunk-TVCXF3IW.js} +1 -1
- package/dist/bin/shell/chunks/{chunk-J7TUF2VI.js → chunk-V2CUST2J.js} +1 -1
- package/dist/bin/{chunks/chunk-XJ37N3S5.js → shell/chunks/chunk-VZTJXRFX.js} +1 -1
- package/dist/bin/shell/chunks/{column-AQB3A3PJ.js → column-W6LUR2XZ.js} +1 -1
- package/dist/bin/{chunks/comm-Q4VDF6ZO.js → shell/chunks/comm-YSS52S62.js} +1 -1
- package/dist/bin/shell/chunks/{cut-ZI2HIAW7.js → cut-VWMTH3YP.js} +1 -1
- package/dist/bin/{chunks/diff-YDJ42RKS.js → shell/chunks/diff-E5JNYAA2.js} +1 -1
- package/dist/bin/shell/chunks/{env-NY32PQJM.js → env-S6XWV5SK.js} +1 -1
- package/dist/bin/shell/chunks/{expand-YYSO35NS.js → expand-AIAYIGRW.js} +1 -1
- package/dist/bin/shell/chunks/{flag-coverage-RFKIBJ6L.js → flag-coverage-AIBITXZA.js} +1 -1
- package/dist/bin/{chunks/fold-5MF7QZWQ.js → shell/chunks/fold-4X7TIQ32.js} +1 -1
- package/dist/bin/shell/chunks/{grep-VAYCFO4O.js → grep-7KM7ZRPL.js} +1 -1
- package/dist/bin/shell/chunks/{gzip-UGBQQKIH.js → gzip-UUURHQYK.js} +1 -1
- package/dist/bin/shell/chunks/{head-QNC2ZYDO.js → head-2NYUMA2U.js} +1 -1
- package/dist/bin/{chunks/html-to-markdown-QEFY7XQR.js → shell/chunks/html-to-markdown-TOIJDAT5.js} +1 -1
- package/dist/bin/{chunks/join-EJ73DYTK.js → shell/chunks/join-W23T6UW4.js} +1 -1
- package/dist/bin/shell/chunks/{jq-GGTKKMEN.js → jq-PG5TWARX.js} +1 -1
- package/dist/bin/shell/chunks/{js-exec-BC6NI55L.js → js-exec-YLOWUQR4.js} +1 -1
- package/dist/bin/shell/chunks/{md5sum-MCVDIB35.js → md5sum-XTC5HSJD.js} +1 -1
- package/dist/bin/shell/chunks/{nl-KUPLVCTS.js → nl-7NAYBH24.js} +1 -1
- package/dist/bin/shell/chunks/{od-YQ5ZUI2H.js → od-BGNLMPXW.js} +1 -1
- package/dist/bin/{chunks/paste-A5KKPWXX.js → shell/chunks/paste-KM6YEJO3.js} +1 -1
- package/dist/bin/shell/chunks/{python3-BQWDPUBM.js → python3-ABK6N2Y5.js} +1 -1
- package/dist/bin/shell/chunks/{rev-PYHOZ4D4.js → rev-YHIGUK3P.js} +1 -1
- package/dist/bin/shell/chunks/{rg-BGFMSIVK.js → rg-6FON3TGH.js} +1 -1
- package/dist/bin/shell/chunks/{sed-FWA634SN.js → sed-LHKUKSBN.js} +1 -1
- package/dist/bin/shell/chunks/{sha1sum-4KF52U3Y.js → sha1sum-VW2AMMXS.js} +1 -1
- package/dist/bin/shell/chunks/{sha256sum-6YEPULPX.js → sha256sum-7O5NHH7H.js} +1 -1
- package/dist/bin/shell/chunks/{sort-4C6WOKNK.js → sort-3BIIXAER.js} +1 -1
- package/dist/bin/shell/chunks/{split-TV7NL7LA.js → split-3DTOTWCO.js} +1 -1
- package/dist/bin/shell/chunks/{sqlite3-W777NCI4.js → sqlite3-AUZE77IO.js} +1 -1
- package/dist/bin/shell/chunks/{strings-MDD72LR6.js → strings-LQXARN54.js} +1 -1
- package/dist/bin/{chunks/tac-C2N4NQ6S.js → shell/chunks/tac-24IIWF3C.js} +1 -1
- package/dist/bin/shell/chunks/{tail-BCB5W6JC.js → tail-5BYXLCVJ.js} +1 -1
- package/dist/bin/shell/chunks/{tar-DOO744MK.js → tar-PEHGL2NT.js} +1 -1
- package/dist/bin/shell/chunks/{tee-UQHPO4OW.js → tee-CPC2RSEW.js} +1 -1
- package/dist/bin/shell/chunks/{time-ZPY52VT2.js → time-7GPZMM6F.js} +1 -1
- package/dist/bin/shell/chunks/{timeout-5AX3ZS3X.js → timeout-B2L3MWOL.js} +1 -1
- package/dist/bin/shell/chunks/{tr-G7K6M6HP.js → tr-SGANQH42.js} +1 -1
- package/dist/bin/shell/chunks/{unexpand-QIR4EDPG.js → unexpand-7TJPGTBZ.js} +1 -1
- package/dist/bin/shell/chunks/{uniq-I7PVFJR4.js → uniq-VH2XX4GT.js} +1 -1
- package/dist/bin/{chunks/wc-6NGWULAP.js → shell/chunks/wc-LGTZO4AP.js} +1 -1
- package/dist/bin/shell/chunks/{xan-KX4VPXUN.js → xan-I5ZN33WB.js} +1 -1
- package/dist/bin/shell/chunks/{xan-view-JXOZLJ7S.js → xan-view-UGYNQULV.js} +1 -1
- package/dist/bin/shell/chunks/{xargs-UWHPYLY7.js → xargs-2NR5N6L3.js} +1 -1
- package/dist/bin/shell/chunks/{yq-GCDCJBKB.js → yq-3EZZPCM2.js} +1 -1
- package/dist/bin/shell/shell.js +73 -73
- package/dist/bundle/browser.js +3 -3
- package/dist/bundle/chunks/{awk2-LA3USKJP.js → awk2-2OROQ6TB.js} +1 -1
- package/dist/bundle/chunks/{base64-C2AIWVNC.js → base64-6IJBGYEA.js} +1 -1
- package/dist/bundle/chunks/{bash-YZ33HQZQ.js → bash-AT4DFUJM.js} +1 -1
- package/dist/bundle/chunks/{cat-TSFMZVYS.js → cat-Z4ATD4R2.js} +1 -1
- package/dist/bundle/chunks/{chunk-YCLFEX4T.js → chunk-4HV7HIHS.js} +1 -1
- package/dist/bundle/chunks/{chunk-S443BAN4.js → chunk-6HPVYB3B.js} +1 -1
- package/dist/bundle/chunks/chunk-6JHJPYPW.js +2 -0
- package/dist/bundle/chunks/{chunk-GJC3WVOW.js → chunk-7QLDUSO4.js} +1 -1
- package/dist/bundle/chunks/{chunk-RLAAFSP3.js → chunk-AAH22H6T.js} +1 -1
- package/dist/bundle/chunks/{chunk-OVGANXCG.js → chunk-AEU2AH3H.js} +1 -1
- package/dist/bundle/chunks/{chunk-XCQWV4AU.js → chunk-AK7Q2PNY.js} +1 -1
- package/dist/bundle/chunks/{chunk-S3LEJEPP.js → chunk-EO3OLY7H.js} +1 -1
- package/dist/bundle/chunks/{chunk-XDGLKIHR.js → chunk-G372PPPL.js} +1 -1
- package/dist/bundle/chunks/{chunk-U73A73IE.js → chunk-HGXBBQKY.js} +1 -1
- package/dist/bundle/chunks/{chunk-46RN27KI.js → chunk-IJZY7GO5.js} +1 -1
- package/dist/bundle/chunks/{chunk-VLCHOJWK.js → chunk-K57W527P.js} +1 -1
- package/dist/bundle/chunks/{chunk-GSPYNYZA.js → chunk-K5VKTLDB.js} +1 -1
- package/dist/bundle/chunks/{chunk-VPADYNBD.js → chunk-KHCKEMD6.js} +1 -1
- package/dist/bundle/chunks/{chunk-ICIEVHY5.js → chunk-KTWS34JV.js} +1 -1
- package/dist/bundle/chunks/{chunk-Q7H5W7YE.js → chunk-KUSBC35O.js} +2 -2
- package/dist/bundle/chunks/{chunk-UZR7BRBM.js → chunk-LJ64BU4T.js} +1 -1
- package/dist/bundle/chunks/{chunk-4N6J7B5P.js → chunk-MHOVZCXO.js} +1 -1
- package/dist/bundle/chunks/{chunk-UP6MSJGD.js → chunk-MLX6LCEH.js} +1 -1
- package/dist/bundle/chunks/{chunk-2JIPICV3.js → chunk-MSHY3ROY.js} +1 -1
- package/dist/bundle/chunks/{chunk-6VAT5Z2D.js → chunk-NHIFOLSI.js} +1 -1
- package/dist/bundle/chunks/{chunk-T4TFLF3R.js → chunk-O66VCFMW.js} +1 -1
- package/dist/bundle/chunks/{chunk-7JHM3L42.js → chunk-PAZDJXQ2.js} +1 -1
- package/dist/bundle/chunks/{chunk-FW54FHZR.js → chunk-PVSBJ7RN.js} +1 -1
- package/dist/bundle/chunks/{chunk-XYXUMFSU.js → chunk-PXGSAN5M.js} +1 -1
- package/dist/bundle/chunks/{chunk-FJK43EBQ.js → chunk-RCQPTKLM.js} +1 -1
- package/dist/bundle/chunks/{chunk-6LASZU3O.js → chunk-RLPRNBSA.js} +1 -1
- package/dist/bundle/chunks/{chunk-GGC5NEPZ.js → chunk-WLZQ2YQT.js} +1 -1
- package/dist/bundle/chunks/{chunk-FX7KQCEA.js → chunk-WQQIVUNI.js} +1 -1
- package/dist/bundle/chunks/{chunk-EBAPSGAO.js → chunk-WWZU6WGV.js} +1 -1
- package/dist/bundle/chunks/{chunk-LNBPBRV4.js → chunk-XY467F65.js} +1 -1
- package/dist/bundle/chunks/{chunk-KD3KENL6.js → chunk-YAIN5HNN.js} +1 -1
- package/dist/bundle/chunks/{chunk-HJBTD7PY.js → chunk-YOVBUIVE.js} +1 -1
- package/dist/bundle/chunks/{chunk-XHLMAZX2.js → chunk-ZALQAZQS.js} +1 -1
- package/dist/bundle/chunks/{chunk-N6DXJ2JN.js → chunk-ZSV2XR53.js} +1 -1
- package/dist/bundle/chunks/{chunk-ACSZB4FE.js → chunk-ZUKEFBW2.js} +1 -1
- package/dist/bundle/chunks/{column-XT6UFXNQ.js → column-WWAENDUI.js} +1 -1
- package/dist/bundle/chunks/{comm-VV2LDX2J.js → comm-RQ5XNTJM.js} +1 -1
- package/dist/bundle/chunks/{cut-OKARJCCV.js → cut-QWB7NUKQ.js} +1 -1
- package/dist/bundle/chunks/{diff-5MIVVRRQ.js → diff-X5UWGQ3A.js} +1 -1
- package/dist/bundle/chunks/{env-36M5BO7M.js → env-ZRQ43ZZD.js} +1 -1
- package/dist/bundle/chunks/{expand-JSPG6VOP.js → expand-EAKN4OXQ.js} +1 -1
- package/dist/bundle/chunks/{flag-coverage-YKB23BRI.js → flag-coverage-G33S37PG.js} +1 -1
- package/dist/bundle/chunks/{fold-4TQNYMSW.js → fold-D373LLSA.js} +1 -1
- package/dist/bundle/chunks/{grep-V3LQVMRQ.js → grep-SFR3IZ6K.js} +1 -1
- package/dist/bundle/chunks/{gzip-O5ASJAFY.js → gzip-CVIVKFF2.js} +1 -1
- package/dist/bundle/chunks/{head-442HYESI.js → head-FXWZSGHI.js} +1 -1
- package/dist/bundle/chunks/{html-to-markdown-WGBAMDHY.js → html-to-markdown-2JNCRZB7.js} +1 -1
- package/dist/bundle/chunks/{join-TBRGI3LQ.js → join-CTDW75RI.js} +1 -1
- package/dist/bundle/chunks/{jq-4XLYLOS5.js → jq-67Y32ADP.js} +1 -1
- package/dist/bundle/chunks/{js-exec-N5KEZBH7.js → js-exec-2N7YE6ER.js} +1 -1
- package/dist/bundle/chunks/{md5sum-SPU24VSG.js → md5sum-P4DXUWPM.js} +1 -1
- package/dist/bundle/chunks/{nl-WSDW7I4O.js → nl-SLUVZ3TI.js} +1 -1
- package/dist/bundle/chunks/{od-WOKFDJTP.js → od-LKZJLHVE.js} +1 -1
- package/dist/bundle/chunks/{paste-7JC6S4DX.js → paste-LIMPDS6X.js} +1 -1
- package/dist/bundle/chunks/{python3-POMOR4OA.js → python3-2AQWCGWL.js} +1 -1
- package/dist/bundle/chunks/{rev-5EHFX4EJ.js → rev-W4N6QLP5.js} +1 -1
- package/dist/bundle/chunks/{rg-S4FXYXWB.js → rg-QVQNBE57.js} +1 -1
- package/dist/bundle/chunks/{sed-S5UIK574.js → sed-6Q2OKXY5.js} +1 -1
- package/dist/bundle/chunks/{sha1sum-2PTOAFR6.js → sha1sum-UMR2BPZO.js} +1 -1
- package/dist/bundle/chunks/{sha256sum-NS7D3IXX.js → sha256sum-RPSA24NY.js} +1 -1
- package/dist/bundle/chunks/{sort-SW2YEO5B.js → sort-JRCEWR75.js} +1 -1
- package/dist/bundle/chunks/{split-4KKZZXXE.js → split-KAF43FGD.js} +1 -1
- package/dist/bundle/chunks/{sqlite3-CGOEFJAO.js → sqlite3-QVOVCFW4.js} +1 -1
- package/dist/bundle/chunks/{strings-6WDHLGMX.js → strings-5J5KERRU.js} +1 -1
- package/dist/bundle/chunks/{tac-2STMMJYW.js → tac-VQW3WZHD.js} +1 -1
- package/dist/bundle/chunks/{tail-R4PCA2C4.js → tail-CDOI2GPL.js} +1 -1
- package/dist/bundle/chunks/{tar-STHHZTZ6.js → tar-AIQ24PFK.js} +1 -1
- package/dist/bundle/chunks/{tee-YUZ2FKCJ.js → tee-SYEPHRRB.js} +1 -1
- package/dist/bundle/chunks/{time-D4LNBSWX.js → time-DAPKFIOQ.js} +1 -1
- package/dist/bundle/chunks/{timeout-YDCRSLPQ.js → timeout-4OGTKQLR.js} +1 -1
- package/dist/bundle/chunks/{tr-36LHWFRQ.js → tr-P4RRZUZU.js} +1 -1
- package/dist/bundle/chunks/{unexpand-CADSA4VO.js → unexpand-V5HMWT4F.js} +1 -1
- package/dist/bundle/chunks/{uniq-XSIZR6PB.js → uniq-ON4F3TGM.js} +1 -1
- package/dist/bundle/chunks/{wc-LF7NU4LA.js → wc-ASC6XKZW.js} +1 -1
- package/dist/bundle/chunks/{xan-Y6WF3IRG.js → xan-UGHT4U42.js} +1 -1
- package/dist/bundle/chunks/xan-view-HLIT2HYA.js +2 -0
- package/dist/bundle/chunks/{xargs-MGZPH7AX.js → xargs-7BH6BYXE.js} +1 -1
- package/dist/bundle/chunks/{yq-4QJW3EQG.js → yq-5UQZWCTQ.js} +1 -1
- package/dist/bundle/index.cjs +76 -76
- package/dist/bundle/index.js +52 -52
- package/package.json +1 -1
- package/dist/bin/chunks/chunk-VZK4FHWJ.js +0 -3
- package/dist/bin/shell/chunks/chunk-VZK4FHWJ.js +0 -3
- package/dist/bundle/chunks/chunk-NRSASXYY.js +0 -2
- package/dist/bundle/chunks/xan-view-HDVKHFC2.js +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{a as Pi}from"./chunk-
|
|
3
|
+
import{a as Pi}from"./chunk-PUSAQWLR.js";import{a as Ui,b as Vi,c as Xa}from"./chunk-MUFNRCMY.js";import{c as N,e as hl}from"./chunk-LNVSXNT7.js";var Mt=N((Tf,ji)=>{"use strict";ji.exports=_t;_t.CAPTURING_PHASE=1;_t.AT_TARGET=2;_t.BUBBLING_PHASE=3;function _t(e,t){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=_t.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,e&&(this.type=e),t)for(var r in t)this[r]=t[r]}_t.prototype=Object.create(Object.prototype,{constructor:{value:_t},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(t,r,a){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=t,this.bubbles=r,this.cancelable=a)}}})});var Ya=N((yf,zi)=>{"use strict";var Gi=Mt();zi.exports=Ka;function Ka(){Gi.call(this),this.view=null,this.detail=0}Ka.prototype=Object.create(Gi.prototype,{constructor:{value:Ka},initUIEvent:{value:function(e,t,r,a,s){this.initEvent(e,t,r),this.view=a,this.detail=s}}})});var $a=N((Nf,Xi)=>{"use strict";var Wi=Ya();Xi.exports=Qa;function Qa(){Wi.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}Qa.prototype=Object.create(Wi.prototype,{constructor:{value:Qa},initMouseEvent:{value:function(e,t,r,a,s,o,x,m,h,g,v,ne,se,u,be){switch(this.initEvent(e,t,r,a,s),this.screenX=o,this.screenY=x,this.clientX=m,this.clientY=h,this.ctrlKey=g,this.altKey=v,this.shiftKey=ne,this.metaKey=se,this.button=u,u){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=be}},getModifierState:{value:function(e){switch(e){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})});var Xr=N((wf,Yi)=>{"use strict";Yi.exports=Wr;var pl=1,ml=3,gl=4,bl=5,El=7,_l=8,vl=9,Tl=11,yl=12,Nl=13,wl=14,Sl=15,Al=17,Cl=18,Dl=19,kl=20,Ll=21,Ml=22,Rl=23,Il=24,Ol=25,ql=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],Hl=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],Ki={INDEX_SIZE_ERR:pl,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:ml,WRONG_DOCUMENT_ERR:gl,INVALID_CHARACTER_ERR:bl,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:El,NOT_FOUND_ERR:_l,NOT_SUPPORTED_ERR:vl,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:Tl,SYNTAX_ERR:yl,INVALID_MODIFICATION_ERR:Nl,NAMESPACE_ERR:wl,INVALID_ACCESS_ERR:Sl,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:Al,SECURITY_ERR:Cl,NETWORK_ERR:Dl,ABORT_ERR:kl,URL_MISMATCH_ERR:Ll,QUOTA_EXCEEDED_ERR:Ml,TIMEOUT_ERR:Rl,INVALID_NODE_TYPE_ERR:Il,DATA_CLONE_ERR:Ol};function Wr(e){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=e,this.message=Hl[e],this.name=ql[e]}Wr.prototype.__proto__=Error.prototype;for(zr in Ki)Za={value:Ki[zr]},Object.defineProperty(Wr,zr,Za),Object.defineProperty(Wr.prototype,zr,Za);var Za,zr});var Kr=N(Qi=>{Qi.isApiWritable=!globalThis.__domino_frozen__});var ee=N(V=>{"use strict";var J=Xr(),ae=J,Fl=Kr().isApiWritable;V.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"};V.IndexSizeError=function(){throw new J(ae.INDEX_SIZE_ERR)};V.HierarchyRequestError=function(){throw new J(ae.HIERARCHY_REQUEST_ERR)};V.WrongDocumentError=function(){throw new J(ae.WRONG_DOCUMENT_ERR)};V.InvalidCharacterError=function(){throw new J(ae.INVALID_CHARACTER_ERR)};V.NoModificationAllowedError=function(){throw new J(ae.NO_MODIFICATION_ALLOWED_ERR)};V.NotFoundError=function(){throw new J(ae.NOT_FOUND_ERR)};V.NotSupportedError=function(){throw new J(ae.NOT_SUPPORTED_ERR)};V.InvalidStateError=function(){throw new J(ae.INVALID_STATE_ERR)};V.SyntaxError=function(){throw new J(ae.SYNTAX_ERR)};V.InvalidModificationError=function(){throw new J(ae.INVALID_MODIFICATION_ERR)};V.NamespaceError=function(){throw new J(ae.NAMESPACE_ERR)};V.InvalidAccessError=function(){throw new J(ae.INVALID_ACCESS_ERR)};V.TypeMismatchError=function(){throw new J(ae.TYPE_MISMATCH_ERR)};V.SecurityError=function(){throw new J(ae.SECURITY_ERR)};V.NetworkError=function(){throw new J(ae.NETWORK_ERR)};V.AbortError=function(){throw new J(ae.ABORT_ERR)};V.UrlMismatchError=function(){throw new J(ae.URL_MISMATCH_ERR)};V.QuotaExceededError=function(){throw new J(ae.QUOTA_EXCEEDED_ERR)};V.TimeoutError=function(){throw new J(ae.TIMEOUT_ERR)};V.InvalidNodeTypeError=function(){throw new J(ae.INVALID_NODE_TYPE_ERR)};V.DataCloneError=function(){throw new J(ae.DATA_CLONE_ERR)};V.nyi=function(){throw new Error("NotYetImplemented")};V.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")};V.assert=function(e,t){if(!e)throw new Error("Assertion failed: "+(t||"")+`
|
|
4
4
|
`+new Error().stack)};V.expose=function(e,t){for(var r in e)Object.defineProperty(t.prototype,r,{value:e[r],writable:Fl})};V.merge=function(e,t){for(var r in t)e[r]=t[r]};V.documentOrder=function(e,t){return 3-(e.compareDocumentPosition(t)&6)};V.toASCIILowerCase=function(e){return e.replace(/[A-Z]+/g,function(t){return t.toLowerCase()})};V.toASCIIUpperCase=function(e){return e.replace(/[a-z]+/g,function(t){return t.toUpperCase()})}});var Ja=N((Cf,Zi)=>{"use strict";var vt=Mt(),Bl=$a(),Pl=ee();Zi.exports=$i;function $i(){}$i.prototype={addEventListener:function(t,r,a){if(r){a===void 0&&(a=!1),this._listeners||(this._listeners=Object.create(null)),this._listeners[t]||(this._listeners[t]=[]);for(var s=this._listeners[t],o=0,x=s.length;o<x;o++){var m=s[o];if(m.listener===r&&m.capture===a)return}var h={listener:r,capture:a};typeof r=="function"&&(h.f=r),s.push(h)}},removeEventListener:function(t,r,a){if(a===void 0&&(a=!1),this._listeners){var s=this._listeners[t];if(s)for(var o=0,x=s.length;o<x;o++){var m=s[o];if(m.listener===r&&m.capture===a){s.length===1?this._listeners[t]=void 0:s.splice(o,1);return}}}},dispatchEvent:function(t){return this._dispatchEvent(t,!1)},_dispatchEvent:function(t,r){typeof r!="boolean"&&(r=!1);function a(g,v){var ne=v.type,se=v.eventPhase;if(v.currentTarget=g,se!==vt.CAPTURING_PHASE&&g._handlers&&g._handlers[ne]){var u=g._handlers[ne],be;if(typeof u=="function")be=u.call(v.currentTarget,v);else{var X=u.handleEvent;if(typeof X!="function")throw new TypeError("handleEvent property of event handler object isnot a function.");be=X.call(u,v)}v.type==="mouseover"?be===!0&&v.preventDefault():be===!1&&v.preventDefault()}var O=g._listeners&&g._listeners[ne];if(O){O=O.slice();for(var Ye=0,H=O.length;Ye<H;Ye++){if(v._immediatePropagationStopped)return;var ie=O[Ye];if(!(se===vt.CAPTURING_PHASE&&!ie.capture||se===vt.BUBBLING_PHASE&&ie.capture))if(ie.f)ie.f.call(v.currentTarget,v);else{var le=ie.listener.handleEvent;if(typeof le!="function")throw new TypeError("handleEvent property of event listener object is not a function.");le.call(ie.listener,v)}}}}(!t._initialized||t._dispatching)&&Pl.InvalidStateError(),t.isTrusted=r,t._dispatching=!0,t.target=this;for(var s=[],o=this.parentNode;o;o=o.parentNode)s.push(o);t.eventPhase=vt.CAPTURING_PHASE;for(var x=s.length-1;x>=0&&(a(s[x],t),!t._propagationStopped);x--);if(t._propagationStopped||(t.eventPhase=vt.AT_TARGET,a(this,t)),t.bubbles&&!t._propagationStopped){t.eventPhase=vt.BUBBLING_PHASE;for(var m=0,h=s.length;m<h&&(a(s[m],t),!t._propagationStopped);m++);}if(t._dispatching=!1,t.eventPhase=vt.AT_TARGET,t.currentTarget=null,r&&!t.defaultPrevented&&t instanceof Bl)switch(t.type){case"mousedown":this._armed={x:t.clientX,y:t.clientY,t:t.timeStamp};break;case"mouseout":case"mouseover":this._armed=null;break;case"mouseup":this._isClick(t)&&this._doClick(t),this._armed=null;break}return!t.defaultPrevented},_isClick:function(e){return this._armed!==null&&e.type==="mouseup"&&e.isTrusted&&e.button===0&&e.timeStamp-this._armed.t<1e3&&Math.abs(e.clientX-this._armed.x)<10&&Math.abs(e.clientY-this._armed.Y)<10},_doClick:function(e){if(!this._click_in_progress){this._click_in_progress=!0;for(var t=this;t&&!t._post_click_activation_steps;)t=t.parentNode;t&&t._pre_click_activation_steps&&t._pre_click_activation_steps();var r=this.ownerDocument.createEvent("MouseEvent");r.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,null);var a=this._dispatchEvent(r,!0);t&&(a?t._post_click_activation_steps&&t._post_click_activation_steps(r):t._cancelled_activation_steps&&t._cancelled_activation_steps())}},_setEventHandler:function(t,r){this._handlers||(this._handlers=Object.create(null)),this._handlers[t]=r},_getEventHandler:function(t){return this._handlers&&this._handlers[t]||null}}});var en=N((Df,Ji)=>{"use strict";var We=ee(),Se=Ji.exports={valid:function(e){return We.assert(e,"list falsy"),We.assert(e._previousSibling,"previous falsy"),We.assert(e._nextSibling,"next falsy"),!0},insertBefore:function(e,t){We.assert(Se.valid(e)&&Se.valid(t));var r=e,a=e._previousSibling,s=t,o=t._previousSibling;r._previousSibling=o,a._nextSibling=s,o._nextSibling=r,s._previousSibling=a,We.assert(Se.valid(e)&&Se.valid(t))},replace:function(e,t){We.assert(Se.valid(e)&&(t===null||Se.valid(t))),t!==null&&Se.insertBefore(t,e),Se.remove(e),We.assert(Se.valid(e)&&(t===null||Se.valid(t)))},remove:function(e){We.assert(Se.valid(e));var t=e._previousSibling;if(t!==e){var r=e._nextSibling;t._nextSibling=r,r._previousSibling=t,e._previousSibling=e._nextSibling=e,We.assert(Se.valid(e))}}}});var tn=N((kf,os)=>{"use strict";os.exports={serializeOne:Xl,\u0275escapeMatchingClosingTag:ns,\u0275escapeClosingCommentTag:is,\u0275escapeProcessingInstructionContent:ss};var as=ee(),Tt=as.NAMESPACE,es={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},Ul={area:!0,base:!0,basefont:!0,bgsound:!0,br:!0,col:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Vl={},ts=/[&<>\u00A0]/g,rs=/[&"<>\u00A0]/g;function jl(e){return ts.test(e)?e.replace(ts,t=>{switch(t){case"&":return"&";case"<":return"<";case">":return">";case"\xA0":return" "}}):e}function Gl(e){return rs.test(e)?e.replace(rs,t=>{switch(t){case"<":return"<";case">":return">";case"&":return"&";case'"':return""";case"\xA0":return" "}}):e}function zl(e){var t=e.namespaceURI;return t?t===Tt.XML?"xml:"+e.localName:t===Tt.XLINK?"xlink:"+e.localName:t===Tt.XMLNS?e.localName==="xmlns"?"xmlns":"xmlns:"+e.localName:e.name:e.localName}function ns(e,t){let r="</"+t;if(!e.toLowerCase().includes(r))return e;let a=[...e],s=e.matchAll(new RegExp(r,"ig"));for(let o of s)a[o.index]="<";return a.join("")}var Wl=/--!?>/;function is(e){return Wl.test(e)?e.replace(/(--\!?)>/g,"$1>"):e}function ss(e){return e.includes(">")?e.replaceAll(">",">"):e}function Xl(e,t){var r="";switch(e.nodeType){case 1:var a=e.namespaceURI,s=a===Tt.HTML,o=s||a===Tt.SVG||a===Tt.MATHML?e.localName:e.tagName;r+="<"+o;for(var x=0,m=e._numattrs;x<m;x++){var h=e._attr(x);r+=" "+zl(h),h.value!==void 0&&(r+='="'+Gl(h.value)+'"')}if(r+=">",!(s&&Ul[o])){var g=e.serialize();es[o.toUpperCase()]&&(g=ns(g,o)),s&&Vl[o]&&g.charAt(0)===`
|
|
5
5
|
`&&(r+=`
|
|
6
6
|
`),r+=g,r+="</"+o+">"}break;case 3:case 4:var v;t.nodeType===1&&t.namespaceURI===Tt.HTML?v=t.tagName:v="",es[v]||v==="NOSCRIPT"&&t.ownerDocument._scripting_enabled?r+=e.data:r+=jl(e.data);break;case 8:r+="<!--"+is(e.data)+"-->";break;case 7:let ne=ss(e.data);r+="<?"+e.target+" "+ne+"?>";break;case 10:r+="<!DOCTYPE "+e.name,r+=">";break;default:as.InvalidStateError()}return r}});var xe=N((Lf,ds)=>{"use strict";ds.exports=K;var fs=Ja(),Yr=en(),cs=tn(),j=ee();function K(){fs.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var _e=K.ELEMENT_NODE=1,rn=K.ATTRIBUTE_NODE=2,Qr=K.TEXT_NODE=3,Kl=K.CDATA_SECTION_NODE=4,Yl=K.ENTITY_REFERENCE_NODE=5,an=K.ENTITY_NODE=6,ls=K.PROCESSING_INSTRUCTION_NODE=7,us=K.COMMENT_NODE=8,nr=K.DOCUMENT_NODE=9,Ae=K.DOCUMENT_TYPE_NODE=10,lt=K.DOCUMENT_FRAGMENT_NODE=11,nn=K.NOTATION_NODE=12,sn=K.DOCUMENT_POSITION_DISCONNECTED=1,on=K.DOCUMENT_POSITION_PRECEDING=2,cn=K.DOCUMENT_POSITION_FOLLOWING=4,xs=K.DOCUMENT_POSITION_CONTAINS=8,ln=K.DOCUMENT_POSITION_CONTAINED_BY=16,un=K.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;K.prototype=Object.create(fs.prototype,{baseURI:{get:j.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===_e?this.parentNode:null}},hasChildNodes:{value:j.shouldOverride},firstChild:{get:j.shouldOverride},lastChild:{get:j.shouldOverride},isConnected:{get:function(){let e=this;for(;e!=null;){if(e.nodeType===K.DOCUMENT_NODE)return!0;e=e.parentNode,e!=null&&e.nodeType===K.DOCUMENT_FRAGMENT_NODE&&(e=e.host)}return!1}},previousSibling:{get:function(){var e=this.parentNode;return!e||this===e.firstChild?null:this._previousSibling}},nextSibling:{get:function(){var e=this.parentNode,t=this._nextSibling;return!e||t===e.firstChild?null:t}},textContent:{get:function(){return null},set:function(e){}},innerText:{get:function(){return null},set:function(e){}},_countChildrenOfType:{value:function(e){for(var t=0,r=this.firstChild;r!==null;r=r.nextSibling)r.nodeType===e&&t++;return t}},_ensureInsertValid:{value:function(t,r,a){var s=this,o,x;if(!t.nodeType)throw new TypeError("not a node");switch(s.nodeType){case nr:case lt:case _e:break;default:j.HierarchyRequestError()}switch(t.isAncestor(s)&&j.HierarchyRequestError(),(r!==null||!a)&&r.parentNode!==s&&j.NotFoundError(),t.nodeType){case lt:case Ae:case _e:case Qr:case ls:case us:break;default:j.HierarchyRequestError()}if(s.nodeType===nr)switch(t.nodeType){case Qr:j.HierarchyRequestError();break;case lt:switch(t._countChildrenOfType(Qr)>0&&j.HierarchyRequestError(),t._countChildrenOfType(_e)){case 0:break;case 1:if(r!==null)for(a&&r.nodeType===Ae&&j.HierarchyRequestError(),x=r.nextSibling;x!==null;x=x.nextSibling)x.nodeType===Ae&&j.HierarchyRequestError();o=s._countChildrenOfType(_e),a?o>0&&j.HierarchyRequestError():(o>1||o===1&&r.nodeType!==_e)&&j.HierarchyRequestError();break;default:j.HierarchyRequestError()}break;case _e:if(r!==null)for(a&&r.nodeType===Ae&&j.HierarchyRequestError(),x=r.nextSibling;x!==null;x=x.nextSibling)x.nodeType===Ae&&j.HierarchyRequestError();o=s._countChildrenOfType(_e),a?o>0&&j.HierarchyRequestError():(o>1||o===1&&r.nodeType!==_e)&&j.HierarchyRequestError();break;case Ae:if(r===null)s._countChildrenOfType(_e)&&j.HierarchyRequestError();else for(x=s.firstChild;x!==null&&x!==r;x=x.nextSibling)x.nodeType===_e&&j.HierarchyRequestError();o=s._countChildrenOfType(Ae),a?o>0&&j.HierarchyRequestError():(o>1||o===1&&r.nodeType!==Ae)&&j.HierarchyRequestError();break}else t.nodeType===Ae&&j.HierarchyRequestError()}},insertBefore:{value:function(t,r){var a=this;a._ensureInsertValid(t,r,!0);var s=r;return s===t&&(s=t.nextSibling),a.doc.adoptNode(t),t._insertOrReplace(a,s,!1),t}},appendChild:{value:function(e){return this.insertBefore(e,null)}},_appendChild:{value:function(e){e._insertOrReplace(this,null,!1)}},removeChild:{value:function(t){var r=this;if(!t.nodeType)throw new TypeError("not a node");return t.parentNode!==r&&j.NotFoundError(),t.remove(),t}},replaceChild:{value:function(t,r){var a=this;return a._ensureInsertValid(t,r,!1),t.doc!==a.doc&&a.doc.adoptNode(t),t._insertOrReplace(a,r,!0),r}},contains:{value:function(t){return t===null?!1:this===t?!0:(this.compareDocumentPosition(t)&ln)!==0}},compareDocumentPosition:{value:function(t){if(this===t)return 0;if(this.doc!==t.doc||this.rooted!==t.rooted)return sn+un;for(var r=[],a=[],s=this;s!==null;s=s.parentNode)r.push(s);for(s=t;s!==null;s=s.parentNode)a.push(s);if(r.reverse(),a.reverse(),r[0]!==a[0])return sn+un;s=Math.min(r.length,a.length);for(var o=1;o<s;o++)if(r[o]!==a[o])return r[o].index<a[o].index?cn:on;return r.length<a.length?cn+ln:on+xs}},isSameNode:{value:function(t){return this===t}},isEqualNode:{value:function(t){if(!t||t.nodeType!==this.nodeType||!this.isEqual(t))return!1;for(var r=this.firstChild,a=t.firstChild;r&&a;r=r.nextSibling,a=a.nextSibling)if(!r.isEqualNode(a))return!1;return r===null&&a===null}},cloneNode:{value:function(e){var t=this.clone();if(e)for(var r=this.firstChild;r!==null;r=r.nextSibling)t._appendChild(r.cloneNode(!0));return t}},lookupPrefix:{value:function(t){var r;if(t===""||t===null||t===void 0)return null;switch(this.nodeType){case _e:return this._lookupNamespacePrefix(t,this);case nr:return r=this.documentElement,r?r.lookupPrefix(t):null;case an:case nn:case lt:case Ae:return null;case rn:return r=this.ownerElement,r?r.lookupPrefix(t):null;default:return r=this.parentElement,r?r.lookupPrefix(t):null}}},lookupNamespaceURI:{value:function(t){(t===""||t===void 0)&&(t=null);var r;switch(this.nodeType){case _e:return j.shouldOverride();case nr:return r=this.documentElement,r?r.lookupNamespaceURI(t):null;case an:case nn:case Ae:case lt:return null;case rn:return r=this.ownerElement,r?r.lookupNamespaceURI(t):null;default:return r=this.parentElement,r?r.lookupNamespaceURI(t):null}}},isDefaultNamespace:{value:function(t){(t===""||t===void 0)&&(t=null);var r=this.lookupNamespaceURI(null);return r===t}},index:{get:function(){var e=this.parentNode;if(this===e.firstChild)return 0;var t=e.childNodes;if(this._index===void 0||t[this._index]!==this){for(var r=0;r<t.length;r++)t[r]._index=r;j.assert(t[this._index]===this)}return this._index}},isAncestor:{value:function(e){if(this.doc!==e.doc||this.rooted!==e.rooted)return!1;for(var t=e;t;t=t.parentNode)if(t===this)return!0;return!1}},ensureSameDoc:{value:function(e){e.ownerDocument===null?e.ownerDocument=this.doc:e.ownerDocument!==this.doc&&j.WrongDocumentError()}},removeChildren:{value:j.shouldOverride},_insertOrReplace:{value:function(t,r,a){var s=this,o,x;if(s.nodeType===lt&&s.rooted&&j.HierarchyRequestError(),t._childNodes&&(o=r===null?t._childNodes.length:r.index,s.parentNode===t)){var m=s.index;m<o&&o--}a&&(r.rooted&&r.doc.mutateRemove(r),r.parentNode=null);var h=r;h===null&&(h=t.firstChild);var g=s.rooted&&t.rooted;if(s.nodeType===lt){for(var v=[0,a?1:0],ne,se=s.firstChild;se!==null;se=ne)ne=se.nextSibling,v.push(se),se.parentNode=t;var u=v.length;if(a?Yr.replace(h,u>2?v[2]:null):u>2&&h!==null&&Yr.insertBefore(v[2],h),t._childNodes)for(v[0]=r===null?t._childNodes.length:r._index,t._childNodes.splice.apply(t._childNodes,v),x=2;x<u;x++)v[x]._index=v[0]+(x-2);else t._firstChild===r&&(u>2?t._firstChild=v[2]:a&&(t._firstChild=null));if(s._childNodes?s._childNodes.length=0:s._firstChild=null,t.rooted)for(t.modify(),x=2;x<u;x++)t.doc.mutateInsert(v[x])}else{if(r===s)return;g?s._remove():s.parentNode&&s.remove(),s.parentNode=t,a?(Yr.replace(h,s),t._childNodes?(s._index=o,t._childNodes[o]=s):t._firstChild===r&&(t._firstChild=s)):(h!==null&&Yr.insertBefore(s,h),t._childNodes?(s._index=o,t._childNodes.splice(o,0,s)):t._firstChild===r&&(t._firstChild=s)),g?(t.modify(),t.doc.mutateMove(s)):t.rooted&&(t.modify(),t.doc.mutateInsert(s))}}},lastModTime:{get:function(){return this._lastModTime||(this._lastModTime=this.doc.modclock),this._lastModTime}},modify:{value:function(){if(this.doc.modclock)for(var e=++this.doc.modclock,t=this;t;t=t.parentElement)t._lastModTime&&(t._lastModTime=e)}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){for(var e,t=this.firstChild;t!==null;t=e)if(e=t.nextSibling,t.normalize&&t.normalize(),t.nodeType===K.TEXT_NODE){if(t.nodeValue===""){this.removeChild(t);continue}var r=t.previousSibling;r!==null&&r.nodeType===K.TEXT_NODE&&(r.appendData(t.nodeValue),this.removeChild(t))}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;for(var e="",t=this.firstChild;t!==null;t=t.nextSibling)e+=cs.serializeOne(t,this);return e}},outerHTML:{get:function(){return cs.serializeOne(this,{nodeType:0})},set:j.nyi},ELEMENT_NODE:{value:_e},ATTRIBUTE_NODE:{value:rn},TEXT_NODE:{value:Qr},CDATA_SECTION_NODE:{value:Kl},ENTITY_REFERENCE_NODE:{value:Yl},ENTITY_NODE:{value:an},PROCESSING_INSTRUCTION_NODE:{value:ls},COMMENT_NODE:{value:us},DOCUMENT_NODE:{value:nr},DOCUMENT_TYPE_NODE:{value:Ae},DOCUMENT_FRAGMENT_NODE:{value:lt},NOTATION_NODE:{value:nn},DOCUMENT_POSITION_DISCONNECTED:{value:sn},DOCUMENT_POSITION_PRECEDING:{value:on},DOCUMENT_POSITION_FOLLOWING:{value:cn},DOCUMENT_POSITION_CONTAINS:{value:xs},DOCUMENT_POSITION_CONTAINED_BY:{value:ln},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:un}})});var ps=N((Rf,hs)=>{"use strict";hs.exports=class extends Array{constructor(t){if(super(t&&t.length||0),t)for(var r in t)this[r]=t[r]}item(t){return this[t]||null}}});var gs=N((If,ms)=>{"use strict";function Ql(e){return this[e]||null}function $l(e){return e||(e=[]),e.item=Ql,e}ms.exports=$l});var yt=N((Of,bs)=>{"use strict";var xn;try{xn=ps()}catch{xn=gs()}bs.exports=xn});var $r=N((qf,vs)=>{"use strict";vs.exports=_s;var Es=xe(),Zl=yt();function _s(){Es.call(this),this._firstChild=this._childNodes=null}_s.prototype=Object.create(Es.prototype,{hasChildNodes:{value:function(){return this._childNodes?this._childNodes.length>0:this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){return this._childNodes?this._childNodes.length===0?null:this._childNodes[0]:this._firstChild}},lastChild:{get:function(){var e=this._childNodes,t;return e?e.length===0?null:e[e.length-1]:(t=this._firstChild,t===null?null:t._previousSibling)}},_ensureChildNodes:{value:function(){if(!this._childNodes){var e=this._firstChild,t=e,r=this._childNodes=new Zl;if(e)do r.push(t),t=t._nextSibling;while(t!==e);this._firstChild=null}}},removeChildren:{value:function(){for(var t=this.rooted?this.ownerDocument:null,r=this.firstChild,a;r!==null;)a=r,r=a.nextSibling,t&&t.mutateRemove(a),a.parentNode=null;this._childNodes?this._childNodes.length=0:this._firstChild=null,this.modify()}}})});var Zr=N(hn=>{"use strict";hn.isValidName=iu;hn.isValidQName=su;var Jl=/^[_:A-Za-z][-.:\w]+$/,eu=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,ir="_A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",sr="-._A-Za-z0-9\xB7\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0300-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",Nt="["+ir+"]["+sr+"]*",fn=ir+":",dn=sr+":",tu=new RegExp("^["+fn+"]["+dn+"]*$"),ru=new RegExp("^("+Nt+"|"+Nt+":"+Nt+")$"),Ts=/[\uD800-\uDB7F\uDC00-\uDFFF]/,ys=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,Ns=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;ir+="\uD800-\u{EFC00}-\uDFFF";sr+="\uD800-\u{EFC00}-\uDFFF";Nt="["+ir+"]["+sr+"]*";fn=ir+":";dn=sr+":";var au=new RegExp("^["+fn+"]["+dn+"]*$"),nu=new RegExp("^("+Nt+"|"+Nt+":"+Nt+")$");function iu(e){if(Jl.test(e)||tu.test(e))return!0;if(!Ts.test(e)||!au.test(e))return!1;var t=e.match(ys),r=e.match(Ns);return r!==null&&2*r.length===t.length}function su(e){if(eu.test(e)||ru.test(e))return!0;if(!Ts.test(e)||!nu.test(e))return!1;var t=e.match(ys),r=e.match(Ns);return r!==null&&2*r.length===t.length}});var mn=N(pn=>{"use strict";var ws=ee();pn.property=function(e){if(Array.isArray(e.type)){var t=Object.create(null);e.type.forEach(function(s){t[s.value||s]=s.alias||s});var r=e.missing;r===void 0&&(r=null);var a=e.invalid;return a===void 0&&(a=r),{get:function(){var s=this._getattr(e.name);return s===null?r:(s=t[s.toLowerCase()],s!==void 0?s:a!==null?a:s)},set:function(s){this._setattr(e.name,s)}}}else{if(e.type===Boolean)return{get:function(){return this.hasAttribute(e.name)},set:function(s){s?this._setattr(e.name,""):this.removeAttribute(e.name)}};if(e.type===Number||e.type==="long"||e.type==="unsigned long"||e.type==="limited unsigned long with fallback")return ou(e);if(!e.type||e.type===String)return{get:function(){return this._getattr(e.name)||""},set:function(s){e.treatNullAsEmptyString&&s===null&&(s=""),this._setattr(e.name,s)}};if(typeof e.type=="function")return e.type(e.name,e)}throw new Error("Invalid attribute definition")};function ou(e){var t;typeof e.default=="function"?t=e.default:typeof e.default=="number"?t=function(){return e.default}:t=function(){ws.assert(!1,typeof e.default)};var r=e.type==="unsigned long",a=e.type==="long",s=e.type==="limited unsigned long with fallback",o=e.min,x=e.max,m=e.setmin;return o===void 0&&(r&&(o=0),a&&(o=-2147483648),s&&(o=1)),x===void 0&&(r||a||s)&&(x=2147483647),{get:function(){var h=this._getattr(e.name),g=e.float?parseFloat(h):parseInt(h,10);if(h===null||!isFinite(g)||o!==void 0&&g<o||x!==void 0&&g>x)return t.call(this);if(r||a||s){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(h))return t.call(this);g=g|0}return g},set:function(h){e.float||(h=Math.floor(h)),m!==void 0&&h<m&&ws.IndexSizeError(e.name+" set to "+h),r?h=h<0||h>2147483647?t.call(this):h|0:s?h=h<1||h>2147483647?t.call(this):h|0:a&&(h=h<-2147483648||h>2147483647?t.call(this):h|0),this._setattr(e.name,String(h))}}}pn.registerChangeHandler=function(e,t,r){var a=e.prototype;Object.prototype.hasOwnProperty.call(a,"_attributeChangeHandlers")||(a._attributeChangeHandlers=Object.create(a._attributeChangeHandlers||null)),a._attributeChangeHandlers[t]=r}});var Cs=N((Bf,As)=>{"use strict";As.exports=Ss;var cu=xe();function Ss(e,t){this.root=e,this.filter=t,this.lastModTime=e.lastModTime,this.done=!1,this.cache=[],this.traverse()}Ss.prototype=Object.create(Object.prototype,{length:{get:function(){return this.checkcache(),this.done||this.traverse(),this.cache.length}},item:{value:function(e){return this.checkcache(),!this.done&&e>=this.cache.length&&this.traverse(),this.cache[e]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var e=this.cache.length-1;e>=0;e--)this[e]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function(e){e!==void 0&&e++;for(var t;(t=this.next())!==null;)if(this[this.cache.length]=t,this.cache.push(t),e&&this.cache.length===e)return;this.done=!0}},next:{value:function(){var e=this.cache.length===0?this.root:this.cache[this.cache.length-1],t;for(e.nodeType===cu.DOCUMENT_NODE?t=e.documentElement:t=e.nextElement(this.root);t;){if(this.filter(t))return t;t=t.nextElement(this.root)}return null}}})});var bn=N((Pf,Ls)=>{"use strict";var gn=ee();Ls.exports=ks;function ks(e,t){this._getString=e,this._setString=t,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(ks.prototype,{length:{get:function(){return this._length}},item:{value:function(e){var t=Rt(this);return e<0||e>=t.length?null:t[e]}},contains:{value:function(e){e=String(e);var t=Rt(this);return t.indexOf(e)>-1}},add:{value:function(){for(var e=Rt(this),t=0,r=arguments.length;t<r;t++){var a=or(arguments[t]);e.indexOf(a)<0&&e.push(a)}this._update(e)}},remove:{value:function(){for(var e=Rt(this),t=0,r=arguments.length;t<r;t++){var a=or(arguments[t]),s=e.indexOf(a);s>-1&&e.splice(s,1)}this._update(e)}},toggle:{value:function(t,r){return t=or(t),this.contains(t)?r===void 0||r===!1?(this.remove(t),!1):!0:r===void 0||r===!0?(this.add(t),!0):!1}},replace:{value:function(t,r){String(r)===""&&gn.SyntaxError(),t=or(t),r=or(r);var a=Rt(this),s=a.indexOf(t);if(s<0)return!1;var o=a.indexOf(r);return o<0?a[s]=r:s<o?(a[s]=r,a.splice(o,1)):a.splice(s,1),this._update(a),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function(e){this._setString(e),this._update()}},_update:{value:function(e){e?(Ds(this,e),this._setString(e.join(" ").trim())):Ds(this,Rt(this)),this._lastStringValue=this._getString()}}});function Ds(e,t){var r=e._length,a;for(e._length=t.length,a=0;a<t.length;a++)e[a]=t[a];for(;a<r;a++)e[a]=void 0}function or(e){return e=String(e),e===""&&gn.SyntaxError(),/[ \t\r\n\f]/.test(e)&&gn.InvalidCharacterError(),e}function lu(e){for(var t=e._length,r=Array(t),a=0;a<t;a++)r[a]=e[a];return r}function Rt(e){var t=e._getString();if(t===e._lastStringValue)return lu(e);var r=t.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,"");if(r==="")return[];var a=Object.create(null);return r.split(/[ \t\r\n\f]+/g).filter(function(s){var o="$"+s;return a[o]?!1:(a[o]=!0,!0)})}});var ra=N((qt,Hs)=>{"use strict";var Jr=Object.create(null,{location:{get:function(){throw new Error("window.location is not supported.")}}}),uu=function(e,t){return e.compareDocumentPosition(t)},xu=function(e,t){return uu(e,t)&2?1:-1},ta=function(e){for(;(e=e.nextSibling)&&e.nodeType!==1;);return e},Ot=function(e){for(;(e=e.previousSibling)&&e.nodeType!==1;);return e},fu=function(e){if(e=e.firstChild)for(;e.nodeType!==1&&(e=e.nextSibling););return e},du=function(e){if(e=e.lastChild)for(;e.nodeType!==1&&(e=e.previousSibling););return e},It=function(e){if(!e.parentNode)return!1;var t=e.parentNode.nodeType;return t===1||t===9},Ms=function(e){if(!e)return e;var t=e[0];return t==='"'||t==="'"?(e[e.length-1]===t?e=e.slice(1,-1):e=e.slice(1),e.replace(C.str_escape,function(r){var a=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(r);if(!a)return r.slice(1);if(a[2])return"";var s=parseInt(a[1],16);return String.fromCodePoint?String.fromCodePoint(s):String.fromCharCode(s)})):C.ident.test(e)?ut(e):e},ut=function(e){return e.replace(C.escape,function(t){var r=/^\\([0-9A-Fa-f]+)/.exec(t);if(!r)return t[1];var a=parseInt(r[1],16);return String.fromCodePoint?String.fromCodePoint(a):String.fromCharCode(a)})},hu=(function(){return Array.prototype.indexOf?Array.prototype.indexOf:function(e,t){for(var r=this.length;r--;)if(this[r]===t)return r;return-1}})(),Is=function(e,t){var r=C.inside.source.replace(/</g,e).replace(/>/g,t);return new RegExp(r)},ve=function(e,t,r){return e=e.source,e=e.replace(t,r.source||r),new RegExp(e)},Rs=function(e,t){return e.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",t).join("/")},pu=function(e,t){var r=e.replace(/\s+/g,""),a;return r==="even"?r="2n+0":r==="odd"?r="2n+1":r.indexOf("n")===-1&&(r="0n"+r),a=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(r),{group:a[1]==="-"?-(a[2]||1):+(a[2]||1),offset:a[4]?a[3]==="-"?-a[4]:+a[4]:0}},En=function(e,t,r){var a=pu(e),s=a.group,o=a.offset,x=r?du:fu,m=r?Ot:ta;return function(h){if(It(h))for(var g=x(h.parentNode),v=0;g;){if(t(g,h)&&v++,g===h)return v-=o,s&&v?v%s===0&&v<0==s<0:!v;g=m(g)}}},oe={"*":(function(){return function(){return!0}})(),type:function(e){return e=e.toLowerCase(),function(t){return t.nodeName.toLowerCase()===e}},attr:function(e,t,r,a){return t=Os[t],function(s){var o;switch(e){case"for":o=s.htmlFor;break;case"class":o=s.className,o===""&&s.getAttribute("class")==null&&(o=null);break;case"href":case"src":o=s.getAttribute(e,2);break;case"title":o=s.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(s.getAttribute){o=s.getAttribute(e);break}default:if(s.hasAttribute&&!s.hasAttribute(e))break;o=s[e]!=null?s[e]:s.getAttribute&&s.getAttribute(e);break}if(o!=null)return o=o+"",a&&(o=o.toLowerCase(),r=r.toLowerCase()),t(o,r)}},":first-child":function(e){return!Ot(e)&&It(e)},":last-child":function(e){return!ta(e)&&It(e)},":only-child":function(e){return!Ot(e)&&!ta(e)&&It(e)},":nth-child":function(e,t){return En(e,function(){return!0},t)},":nth-last-child":function(e){return oe[":nth-child"](e,!0)},":root":function(e){return e.ownerDocument.documentElement===e},":empty":function(e){return!e.firstChild},":not":function(e){var t=vn(e);return function(r){return!t(r)}},":first-of-type":function(e){if(It(e)){for(var t=e.nodeName;e=Ot(e);)if(e.nodeName===t)return;return!0}},":last-of-type":function(e){if(It(e)){for(var t=e.nodeName;e=ta(e);)if(e.nodeName===t)return;return!0}},":only-of-type":function(e){return oe[":first-of-type"](e)&&oe[":last-of-type"](e)},":nth-of-type":function(e,t){return En(e,function(r,a){return r.nodeName===a.nodeName},t)},":nth-last-of-type":function(e){return oe[":nth-of-type"](e,!0)},":checked":function(e){return!!(e.checked||e.selected)},":indeterminate":function(e){return!oe[":checked"](e)},":enabled":function(e){return!e.disabled&&e.type!=="hidden"},":disabled":function(e){return!!e.disabled},":target":function(e){return e.id===Jr.location.hash.substring(1)},":focus":function(e){return e===e.ownerDocument.activeElement},":is":function(e){return vn(e)},":matches":function(e){return oe[":is"](e)},":nth-match":function(e,t){var r=e.split(/\s*,\s*/),a=r.shift(),s=vn(r.join(","));return En(a,s,t)},":nth-last-match":function(e){return oe[":nth-match"](e,!0)},":links-here":function(e){return e+""==Jr.location+""},":lang":function(e){return function(t){for(;t;){if(t.lang)return t.lang.indexOf(e)===0;t=t.parentNode}}},":dir":function(e){return function(t){for(;t;){if(t.dir)return t.dir===e;t=t.parentNode}}},":scope":function(e,t){var r=t||e.ownerDocument;return r.nodeType===9?e===r.documentElement:e===r},":any-link":function(e){return typeof e.href=="string"},":local-link":function(e){if(e.nodeName)return e.href&&e.host===Jr.location.host;var t=+e+1;return function(r){if(r.href){var a=Jr.location+"",s=r+"";return Rs(a,t)===Rs(s,t)}}},":default":function(e){return!!e.defaultSelected},":valid":function(e){return e.willValidate||e.validity&&e.validity.valid},":invalid":function(e){return!oe[":valid"](e)},":in-range":function(e){return e.value>e.min&&e.value<=e.max},":out-of-range":function(e){return!oe[":in-range"](e)},":required":function(e){return!!e.required},":optional":function(e){return!e.required},":read-only":function(e){if(e.readOnly)return!0;var t=e.getAttribute("contenteditable"),r=e.contentEditable,a=e.nodeName.toLowerCase();return a=a!=="input"&&a!=="textarea",(a||e.disabled)&&t==null&&r!=="true"},":read-write":function(e){return!oe[":read-only"](e)},":hover":function(){throw new Error(":hover is not supported.")},":active":function(){throw new Error(":active is not supported.")},":link":function(){throw new Error(":link is not supported.")},":visited":function(){throw new Error(":visited is not supported.")},":column":function(){throw new Error(":column is not supported.")},":nth-column":function(){throw new Error(":nth-column is not supported.")},":nth-last-column":function(){throw new Error(":nth-last-column is not supported.")},":current":function(){throw new Error(":current is not supported.")},":past":function(){throw new Error(":past is not supported.")},":future":function(){throw new Error(":future is not supported.")},":contains":function(e){return function(t){var r=t.innerText||t.textContent||t.value||"";return r.indexOf(e)!==-1}},":has":function(e){return function(t){return qs(e,t).length>0}}},Os={"-":function(){return!0},"=":function(e,t){return e===t},"*=":function(e,t){return e.indexOf(t)!==-1},"~=":function(e,t){var r,a,s,o;for(a=0;;a=r+1){if(r=e.indexOf(t,a),r===-1)return!1;if(s=e[r-1],o=e[r+t.length],(!s||s===" ")&&(!o||o===" "))return!0}},"|=":function(e,t){var r=e.indexOf(t),a;if(r===0)return a=e[r+t.length],a==="-"||!a},"^=":function(e,t){return e.indexOf(t)===0},"$=":function(e,t){var r=e.lastIndexOf(t);return r!==-1&&r+t.length===e.length},"!=":function(e,t){return e!==t}},cr={" ":function(e){return function(t){for(;t=t.parentNode;)if(e(t))return t}},">":function(e){return function(t){if(t=t.parentNode)return e(t)&&t}},"+":function(e){return function(t){if(t=Ot(t))return e(t)&&t}},"~":function(e){return function(t){for(;t=Ot(t);)if(e(t))return t}},noop:function(e){return function(t){return e(t)&&t}},ref:function(e,t){var r;function a(s){for(var o=s.ownerDocument,x=o.getElementsByTagName("*"),m=x.length;m--;)if(r=x[m],a.test(s))return r=null,!0;r=null}return a.combinator=function(s){if(!(!r||!r.getAttribute)){var o=r.getAttribute(t)||"";if(o[0]==="#"&&(o=o.substring(1)),o===s.id&&e(r))return r}},a}},C={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};C.cssid=ve(C.cssid,"nonascii",C.nonascii);C.cssid=ve(C.cssid,"escape",C.escape);C.qname=ve(C.qname,"cssid",C.cssid);C.simple=ve(C.simple,"cssid",C.cssid);C.ref=ve(C.ref,"cssid",C.cssid);C.attr=ve(C.attr,"cssid",C.cssid);C.pseudo=ve(C.pseudo,"cssid",C.cssid);C.inside=ve(C.inside,`[^"'>]*`,C.inside);C.attr=ve(C.attr,"inside",Is("\\[","\\]"));C.pseudo=ve(C.pseudo,"inside",Is("\\(","\\)"));C.simple=ve(C.simple,"pseudo",C.pseudo);C.simple=ve(C.simple,"attr",C.attr);C.ident=ve(C.ident,"cssid",C.cssid);C.str_escape=ve(C.str_escape,"escape",C.escape);var lr=function(e){for(var t=e.replace(/^\s+|\s+$/g,""),r,a=[],s=[],o,x,m,h,g;t;){if(m=C.qname.exec(t))t=t.substring(m[0].length),x=ut(m[1]),s.push(ea(x,!0));else if(m=C.simple.exec(t))t=t.substring(m[0].length),x="*",s.push(ea(x,!0)),s.push(ea(m));else throw new SyntaxError("Invalid selector.");for(;m=C.simple.exec(t);)t=t.substring(m[0].length),s.push(ea(m));if(t[0]==="!"&&(t=t.substring(1),o=gu(),o.qname=x,s.push(o.simple)),m=C.ref.exec(t)){t=t.substring(m[0].length),g=cr.ref(_n(s),ut(m[1])),a.push(g.combinator),s=[];continue}if(m=C.combinator.exec(t)){if(t=t.substring(m[0].length),h=m[1]||m[2]||m[3],h===","){a.push(cr.noop(_n(s)));break}}else h="noop";if(!cr[h])throw new SyntaxError("Bad combinator.");a.push(cr[h](_n(s))),s=[]}return r=mu(a),r.qname=x,r.sel=t,o&&(o.lname=r.qname,o.test=r,o.qname=o.qname,o.sel=r.sel,r=o),g&&(g.test=r,g.qname=r.qname,g.sel=r.sel,r=g),r},ea=function(e,t){if(t)return e==="*"?oe["*"]:oe.type(e);if(e[1])return e[1][0]==="."?oe.attr("class","~=",ut(e[1].substring(1)),!1):oe.attr("id","=",ut(e[1].substring(1)),!1);if(e[2])return e[3]?oe[ut(e[2])](Ms(e[3])):oe[ut(e[2])];if(e[4]){var r=e[6],a=/["'\s]\s*I$/i.test(r);return a&&(r=r.replace(/\s*I$/i,"")),oe.attr(ut(e[4]),e[5]||"-",Ms(r),a)}throw new SyntaxError("Unknown Selector.")},_n=function(e){var t=e.length,r;return t<2?e[0]:function(a){if(a){for(r=0;r<t;r++)if(!e[r](a))return;return!0}}},mu=function(e){return e.length<2?function(t){return!!e[0](t)}:function(t){for(var r=e.length;r--;)if(!(t=e[r](t)))return;return!0}},gu=function(){var e;function t(r){for(var a=r.ownerDocument,s=a.getElementsByTagName(t.lname),o=s.length;o--;)if(t.test(s[o])&&e===r)return e=null,!0;e=null}return t.simple=function(r){return e=r,!0},t},vn=function(e){for(var t=lr(e),r=[t];t.sel;)t=lr(t.sel),r.push(t);return r.length<2?t:function(a){for(var s=r.length,o=0;o<s;o++)if(r[o](a))return!0}},qs=function(e,t){for(var r=[],a=lr(e),s=t.getElementsByTagName(a.qname),o=0,x;x=s[o++];)a(x)&&r.push(x);if(a.sel){for(;a.sel;)for(a=lr(a.sel),s=t.getElementsByTagName(a.qname),o=0;x=s[o++];)a(x)&&hu.call(r,x)===-1&&r.push(x);r.sort(xu)}return r};Hs.exports=qt=function(e,t){var r,a;if(t.nodeType!==11&&e.indexOf(" ")===-1){if(e[0]==="#"&&t.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test(e)&&t.doc._hasMultipleElementsWithId&&(r=e.substring(1),!t.doc._hasMultipleElementsWithId(r)))return a=t.doc.getElementById(r),a?[a]:[];if(e[0]==="."&&/^\.\w+$/.test(e))return t.getElementsByClassName(e.substring(1));if(/^\w+$/.test(e))return t.getElementsByTagName(e)}return qs(e,t)};qt.selectors=oe;qt.operators=Os;qt.combinators=cr;qt.matches=function(e,t){var r={sel:t};do if(r=lr(r.sel),r(e))return!0;while(r.sel);return!1}});var aa=N((Uf,Fs)=>{"use strict";var bu=xe(),Eu=en(),Tn=function(e,t){for(var r=e.createDocumentFragment(),a=0;a<t.length;a++){var s=t[a],o=s instanceof bu;r.appendChild(o?s:e.createTextNode(String(s)))}return r},_u={after:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,a=this.nextSibling;if(r!==null){for(;a&&t.some(function(o){return o===a});)a=a.nextSibling;var s=Tn(this.doc,t);r.insertBefore(s,a)}}},before:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,a=this.previousSibling;if(r!==null){for(;a&&t.some(function(x){return x===a});)a=a.previousSibling;var s=Tn(this.doc,t),o=a?a.nextSibling:r.firstChild;r.insertBefore(s,o)}}},remove:{value:function(){this.parentNode!==null&&(this.doc&&(this.doc._preremoveNodeIterators(this),this.rooted&&this.doc.mutateRemove(this)),this._remove(),this.parentNode=null)}},_remove:{value:function(){var t=this.parentNode;t!==null&&(t._childNodes?t._childNodes.splice(this.index,1):t._firstChild===this&&(this._nextSibling===this?t._firstChild=null:t._firstChild=this._nextSibling),Eu.remove(this),t.modify())}},replaceWith:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,a=this.nextSibling;if(r!==null){for(;a&&t.some(function(o){return o===a});)a=a.nextSibling;var s=Tn(this.doc,t);this.parentNode===r?r.replaceChild(s,this):r.insertBefore(s,a)}}}};Fs.exports=_u});var yn=N((Vf,Ps)=>{"use strict";var Bs=xe(),vu={nextElementSibling:{get:function(){if(this.parentNode){for(var e=this.nextSibling;e!==null;e=e.nextSibling)if(e.nodeType===Bs.ELEMENT_NODE)return e}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var e=this.previousSibling;e!==null;e=e.previousSibling)if(e.nodeType===Bs.ELEMENT_NODE)return e}return null}}};Ps.exports=vu});var Nn=N((jf,Vs)=>{"use strict";Vs.exports=Us;var Ht=ee();function Us(e){this.element=e}Object.defineProperties(Us.prototype,{length:{get:Ht.shouldOverride},item:{value:Ht.shouldOverride},getNamedItem:{value:function(t){return this.element.getAttributeNode(t)}},getNamedItemNS:{value:function(t,r){return this.element.getAttributeNodeNS(t,r)}},setNamedItem:{value:Ht.nyi},setNamedItemNS:{value:Ht.nyi},removeNamedItem:{value:function(t){var r=this.element.getAttributeNode(t);if(r)return this.element.removeAttribute(t),r;Ht.NotFoundError()}},removeNamedItemNS:{value:function(t,r){var a=this.element.getAttributeNodeNS(t,r);if(a)return this.element.removeAttributeNS(t,r),a;Ht.NotFoundError()}}})});var Bt=N((Gf,Xs)=>{"use strict";Xs.exports=xt;var wn=Zr(),Q=ee(),He=Q.NAMESPACE,ia=mn(),ke=xe(),Sn=yt(),Tu=tn(),na=Cs(),Ft=Xr(),yu=bn(),An=ra(),Gs=$r(),Nu=aa(),wu=yn(),zs=Nn(),js=Object.create(null);function xt(e,t,r,a){Gs.call(this),this.nodeType=ke.ELEMENT_NODE,this.ownerDocument=e,this.localName=t,this.namespaceURI=r,this.prefix=a,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function Cn(e,t){if(e.nodeType===ke.TEXT_NODE)t.push(e._data);else for(var r=0,a=e.childNodes.length;r<a;r++)Cn(e.childNodes[r],t)}xt.prototype=Object.create(Gs.prototype,{isHTML:{get:function(){return this.namespaceURI===He.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var t;if(this.prefix===null?t=this.localName:t=this.prefix+":"+this.localName,this.isHTML){var r=js[t];r||(js[t]=r=Q.toASCIIUpperCase(t)),t=r}this._tagName=t}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var e=[];return Cn(this,e),e.join("")},set:function(e){this.removeChildren(),e!=null&&e!==""&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerText:{get:function(){var e=[];return Cn(this,e),e.join("").replace(/[ \t\n\f\r]+/g," ").trim()},set:function(e){this.removeChildren(),e!=null&&e!==""&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerHTML:{get:function(){return this.serialize()},set:Q.nyi},outerHTML:{get:function(){return Tu.serializeOne(this,{nodeType:0})},set:function(e){var t=this.ownerDocument,r=this.parentNode;if(r!==null){r.nodeType===ke.DOCUMENT_NODE&&Q.NoModificationAllowedError(),r.nodeType===ke.DOCUMENT_FRAGMENT_NODE&&(r=r.ownerDocument.createElement("body"));var a=t.implementation.mozHTMLParser(t._address,r);a.parse(e===null?"":String(e),!0),this.replaceWith(a._asDocumentFragment())}}},_insertAdjacent:{value:function(t,r){var a=!1;switch(t){case"beforebegin":a=!0;case"afterend":var s=this.parentNode;return s===null?null:s.insertBefore(r,a?this:this.nextSibling);case"afterbegin":a=!0;case"beforeend":return this.insertBefore(r,a?this.firstChild:null);default:return Q.SyntaxError()}}},insertAdjacentElement:{value:function(t,r){if(r.nodeType!==ke.ELEMENT_NODE)throw new TypeError("not an element");return t=Q.toASCIILowerCase(String(t)),this._insertAdjacent(t,r)}},insertAdjacentText:{value:function(t,r){var a=this.ownerDocument.createTextNode(r);t=Q.toASCIILowerCase(String(t)),this._insertAdjacent(t,a)}},insertAdjacentHTML:{value:function(t,r){t=Q.toASCIILowerCase(String(t)),r=String(r);var a;switch(t){case"beforebegin":case"afterend":a=this.parentNode,(a===null||a.nodeType===ke.DOCUMENT_NODE)&&Q.NoModificationAllowedError();break;case"afterbegin":case"beforeend":a=this;break;default:Q.SyntaxError()}(!(a instanceof xt)||a.ownerDocument.isHTML&&a.localName==="html"&&a.namespaceURI===He.HTML)&&(a=a.ownerDocument.createElementNS(He.HTML,"body"));var s=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,a);s.parse(r,!0),this._insertAdjacent(t,s._asDocumentFragment())}},children:{get:function(){return this._children||(this._children=new Ws(this)),this._children}},attributes:{get:function(){return this._attributes||(this._attributes=new kn(this)),this._attributes}},firstElementChild:{get:function(){for(var e=this.firstChild;e!==null;e=e.nextSibling)if(e.nodeType===ke.ELEMENT_NODE)return e;return null}},lastElementChild:{get:function(){for(var e=this.lastChild;e!==null;e=e.previousSibling)if(e.nodeType===ke.ELEMENT_NODE)return e;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function(e){e||(e=this.ownerDocument.documentElement);var t=this.firstElementChild;if(!t){if(this===e)return null;t=this.nextElementSibling}if(t)return t;for(var r=this.parentElement;r&&r!==e;r=r.parentElement)if(t=r.nextElementSibling,t)return t;return null}},getElementsByTagName:{value:function(t){var r;return t?(t==="*"?r=function(){return!0}:this.isHTML?r=Su(t):r=Dn(t),new na(this,r)):new Sn}},getElementsByTagNameNS:{value:function(t,r){var a;return t==="*"&&r==="*"?a=function(){return!0}:t==="*"?a=Dn(r):r==="*"?a=Au(t):a=Cu(t,r),new na(this,a)}},getElementsByClassName:{value:function(t){if(t=String(t).trim(),t===""){var r=new Sn;return r}return t=t.split(/[ \t\r\n\f]+/),new na(this,Du(t))}},getElementsByName:{value:function(t){return new na(this,ku(String(t)))}},clone:{value:function(){var t;this.namespaceURI!==He.HTML||this.prefix||!this.ownerDocument.isHTML?t=this.ownerDocument.createElementNS(this.namespaceURI,this.prefix!==null?this.prefix+":"+this.localName:this.localName):t=this.ownerDocument.createElement(this.localName);for(var r=0,a=this._attrKeys.length;r<a;r++){var s=this._attrKeys[r],o=this._attrsByLName[s],x=o.cloneNode();x._setOwnerElement(t),t._attrsByLName[s]=x,t._addQName(x)}return t._attrKeys=this._attrKeys.concat(),t}},isEqual:{value:function(t){if(this.localName!==t.localName||this.namespaceURI!==t.namespaceURI||this.prefix!==t.prefix||this._numattrs!==t._numattrs)return!1;for(var r=0,a=this._numattrs;r<a;r++){var s=this._attr(r);if(!t.hasAttributeNS(s.namespaceURI,s.localName)||t.getAttributeNS(s.namespaceURI,s.localName)!==s.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(t,r){if(this.namespaceURI&&this.namespaceURI===t&&this.prefix!==null&&r.lookupNamespaceURI(this.prefix)===t)return this.prefix;for(var a=0,s=this._numattrs;a<s;a++){var o=this._attr(a);if(o.prefix==="xmlns"&&o.value===t&&r.lookupNamespaceURI(o.localName)===t)return o.localName}var x=this.parentElement;return x?x._lookupNamespacePrefix(t,r):null}},lookupNamespaceURI:{value:function(t){if((t===""||t===void 0)&&(t=null),this.namespaceURI!==null&&this.prefix===t)return this.namespaceURI;for(var r=0,a=this._numattrs;r<a;r++){var s=this._attr(r);if(s.namespaceURI===He.XMLNS&&(s.prefix==="xmlns"&&s.localName===t||t===null&&s.prefix===null&&s.localName==="xmlns"))return s.value||null}var o=this.parentElement;return o?o.lookupNamespaceURI(t):null}},getAttribute:{value:function(t){var r=this.getAttributeNode(t);return r?r.value:null}},getAttributeNS:{value:function(t,r){var a=this.getAttributeNodeNS(t,r);return a?a.value:null}},getAttributeNode:{value:function(t){t=String(t),/[A-Z]/.test(t)&&this.isHTML&&(t=Q.toASCIILowerCase(t));var r=this._attrsByQName[t];return r?(Array.isArray(r)&&(r=r[0]),r):null}},getAttributeNodeNS:{value:function(t,r){t=t==null?"":String(t),r=String(r);var a=this._attrsByLName[t+"|"+r];return a||null}},hasAttribute:{value:function(t){return t=String(t),/[A-Z]/.test(t)&&this.isHTML&&(t=Q.toASCIILowerCase(t)),this._attrsByQName[t]!==void 0}},hasAttributeNS:{value:function(t,r){t=t==null?"":String(t),r=String(r);var a=t+"|"+r;return this._attrsByLName[a]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(t,r){t=String(t),wn.isValidName(t)||Q.InvalidCharacterError(),/[A-Z]/.test(t)&&this.isHTML&&(t=Q.toASCIILowerCase(t));var a=this._attrsByQName[t];return a===void 0?r===void 0||r===!0?(this._setAttribute(t,""),!0):!1:r===void 0||r===!1?(this.removeAttribute(t),!1):!0}},_setAttribute:{value:function(t,r){var a=this._attrsByQName[t],s;a?Array.isArray(a)&&(a=a[0]):(a=this._newattr(t),s=!0),a.value=r,this._attributes&&(this._attributes[t]=a),s&&this._newattrhook&&this._newattrhook(t,r)}},setAttribute:{value:function(t,r){t=String(t),wn.isValidName(t)||Q.InvalidCharacterError(),/[A-Z]/.test(t)&&this.isHTML&&(t=Q.toASCIILowerCase(t)),this._setAttribute(t,String(r))}},_setAttributeNS:{value:function(t,r,a){var s=r.indexOf(":"),o,x;s<0?(o=null,x=r):(o=r.substring(0,s),x=r.substring(s+1)),(t===""||t===void 0)&&(t=null);var m=(t===null?"":t)+"|"+x,h=this._attrsByLName[m],g;h||(h=new ur(this,x,o,t),g=!0,this._attrsByLName[m]=h,this._attributes&&(this._attributes[this._attrKeys.length]=h),this._attrKeys.push(m),this._addQName(h)),h.value=a,g&&this._newattrhook&&this._newattrhook(r,a)}},setAttributeNS:{value:function(t,r,a){t=t==null||t===""?null:String(t),r=String(r),wn.isValidQName(r)||Q.InvalidCharacterError();var s=r.indexOf(":"),o=s<0?null:r.substring(0,s);(o!==null&&t===null||o==="xml"&&t!==He.XML||(r==="xmlns"||o==="xmlns")&&t!==He.XMLNS||t===He.XMLNS&&!(r==="xmlns"||o==="xmlns"))&&Q.NamespaceError(),this._setAttributeNS(t,r,String(a))}},setAttributeNode:{value:function(t){if(t.ownerElement!==null&&t.ownerElement!==this)throw new Ft(Ft.INUSE_ATTRIBUTE_ERR);var r=null,a=this._attrsByQName[t.name];if(a){if(Array.isArray(a)||(a=[a]),a.some(function(s){return s===t}))return t;if(t.ownerElement!==null)throw new Ft(Ft.INUSE_ATTRIBUTE_ERR);a.forEach(function(s){this.removeAttributeNode(s)},this),r=a[0]}return this.setAttributeNodeNS(t),r}},setAttributeNodeNS:{value:function(t){if(t.ownerElement!==null)throw new Ft(Ft.INUSE_ATTRIBUTE_ERR);var r=t.namespaceURI,a=(r===null?"":r)+"|"+t.localName,s=this._attrsByLName[a];return s&&this.removeAttributeNode(s),t._setOwnerElement(this),this._attrsByLName[a]=t,this._attributes&&(this._attributes[this._attrKeys.length]=t),this._attrKeys.push(a),this._addQName(t),this._newattrhook&&this._newattrhook(t.name,t.value),s||null}},removeAttribute:{value:function(t){t=String(t),/[A-Z]/.test(t)&&this.isHTML&&(t=Q.toASCIILowerCase(t));var r=this._attrsByQName[t];if(r){Array.isArray(r)?r.length>2?r=r.shift():(this._attrsByQName[t]=r[1],r=r[0]):this._attrsByQName[t]=void 0;var a=r.namespaceURI,s=(a===null?"":a)+"|"+r.localName;this._attrsByLName[s]=void 0;var o=this._attrKeys.indexOf(s);this._attributes&&(Array.prototype.splice.call(this._attributes,o,1),this._attributes[t]=void 0),this._attrKeys.splice(o,1);var x=r.onchange;r._setOwnerElement(null),x&&x.call(r,this,r.localName,r.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(r)}}},removeAttributeNS:{value:function(t,r){t=t==null?"":String(t),r=String(r);var a=t+"|"+r,s=this._attrsByLName[a];if(s){this._attrsByLName[a]=void 0;var o=this._attrKeys.indexOf(a);this._attributes&&Array.prototype.splice.call(this._attributes,o,1),this._attrKeys.splice(o,1),this._removeQName(s);var x=s.onchange;s._setOwnerElement(null),x&&x.call(s,this,s.localName,s.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(s)}}},removeAttributeNode:{value:function(t){var r=t.namespaceURI,a=(r===null?"":r)+"|"+t.localName;return this._attrsByLName[a]!==t&&Q.NotFoundError(),this.removeAttributeNS(r,t.localName),t}},getAttributeNames:{value:function(){var t=this;return this._attrKeys.map(function(r){return t._attrsByLName[r].name})}},_getattr:{value:function(t){var r=this._attrsByQName[t];return r?r.value:null}},_setattr:{value:function(t,r){var a=this._attrsByQName[t],s;a||(a=this._newattr(t),s=!0),a.value=String(r),this._attributes&&(this._attributes[t]=a),s&&this._newattrhook&&this._newattrhook(t,r)}},_newattr:{value:function(t){var r=new ur(this,t,null,null),a="|"+t;return this._attrsByQName[t]=r,this._attrsByLName[a]=r,this._attributes&&(this._attributes[this._attrKeys.length]=r),this._attrKeys.push(a),r}},_addQName:{value:function(e){var t=e.name,r=this._attrsByQName[t];r?Array.isArray(r)?r.push(e):this._attrsByQName[t]=[r,e]:this._attrsByQName[t]=e,this._attributes&&(this._attributes[t]=e)}},_removeQName:{value:function(e){var t=e.name,r=this._attrsByQName[t];if(Array.isArray(r)){var a=r.indexOf(e);Q.assert(a!==-1),r.length===2?(this._attrsByQName[t]=r[1-a],this._attributes&&(this._attributes[t]=this._attrsByQName[t])):(r.splice(a,1),this._attributes&&this._attributes[t]===e&&(this._attributes[t]=r[0]))}else Q.assert(r===e),this._attrsByQName[t]=void 0,this._attributes&&(this._attributes[t]=void 0)}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function(e){return this._attrsByLName[this._attrKeys[e]]}},id:ia.property({name:"id"}),className:ia.property({name:"class"}),classList:{get:function(){var e=this;if(this._classList)return this._classList;var t=new yu(function(){return e.className||""},function(r){e.className=r});return this._classList=t,t},set:function(e){this.className=e}},matches:{value:function(e){return An.matches(this,e)}},closest:{value:function(e){var t=this;do{if(t.matches&&t.matches(e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===ke.ELEMENT_NODE);return null}},querySelector:{value:function(e){return An(e,this)[0]}},querySelectorAll:{value:function(e){var t=An(e,this);return t.item?t:new Sn(t)}}});Object.defineProperties(xt.prototype,Nu);Object.defineProperties(xt.prototype,wu);ia.registerChangeHandler(xt,"id",function(e,t,r,a){e.rooted&&(r&&e.ownerDocument.delId(r,e),a&&e.ownerDocument.addId(a,e))});ia.registerChangeHandler(xt,"class",function(e,t,r,a){e._classList&&e._classList._update()});function ur(e,t,r,a,s){this.localName=t,this.prefix=r===null||r===""?null:""+r,this.namespaceURI=a===null||a===""?null:""+a,this.data=s,this._setOwnerElement(e)}ur.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(t){this._ownerElement=t,this.prefix===null&&this.namespaceURI===null&&t?this.onchange=t._attributeChangeHandlers[this.localName]:this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+":"+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function(e){var t=this.data;e=e===void 0?"":e+"",e!==t&&(this.data=e,this.ownerElement&&(this.onchange&&this.onchange(this.ownerElement,this.localName,t,e),this.ownerElement.rooted&&this.ownerElement.ownerDocument.mutateAttr(this,t)))}},cloneNode:{value:function(t){return new ur(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return ke.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function(e){this.value=e}},textContent:{get:function(){return this.value},set:function(e){e==null&&(e=""),this.value=e}},innerText:{get:function(){return this.value},set:function(e){e==null&&(e=""),this.value=e}}});xt._Attr=ur;function kn(e){zs.call(this,e);for(var t in e._attrsByQName)this[t]=e._attrsByQName[t];for(var r=0;r<e._attrKeys.length;r++)this[r]=e._attrsByLName[e._attrKeys[r]]}kn.prototype=Object.create(zs.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function(e){return e=e>>>0,e>=this.length?null:this.element._attrsByLName[this.element._attrKeys[e]]}}});globalThis.Symbol?.iterator&&(kn.prototype[globalThis.Symbol.iterator]=function(){var e=0,t=this.length,r=this;return{next:function(){return e<t?{value:r.item(e++)}:{done:!0}}}});function Ws(e){this.element=e,this.updateCache()}Ws.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(t){return this.updateCache(),this.childrenByNumber[t]||null}},namedItem:{value:function(t){return this.updateCache(),this.childrenByName[t]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var t=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;for(var r=this.childrenByNumber&&this.childrenByNumber.length||0,a=0;a<r;a++)this[a]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var s=this.element.firstChild;s!==null;s=s.nextSibling)if(s.nodeType===ke.ELEMENT_NODE){this[this.childrenByNumber.length]=s,this.childrenByNumber.push(s);var o=s.getAttribute("id");o&&!this.childrenByName[o]&&(this.childrenByName[o]=s);var x=s.getAttribute("name");x&&this.element.namespaceURI===He.HTML&&t.test(this.element.localName)&&!this.childrenByName[x]&&(this.childrenByName[o]=s)}}}}});function Dn(e){return function(t){return t.localName===e}}function Su(e){var t=Q.toASCIILowerCase(e);return t===e?Dn(e):function(r){return r.isHTML?r.localName===t:r.localName===e}}function Au(e){return function(t){return t.namespaceURI===e}}function Cu(e,t){return function(r){return r.namespaceURI===e&&r.localName===t}}function Du(e){return function(t){return e.every(function(r){return t.classList.contains(r)})}}function ku(e){return function(t){return t.namespaceURI!==He.HTML?!1:t.getAttribute("name")===e}}});var Ln=N((zf,Zs)=>{"use strict";Zs.exports=$s;var Ys=xe(),Lu=yt(),Qs=ee(),Ks=Qs.HierarchyRequestError,Mu=Qs.NotFoundError;function $s(){Ys.call(this)}$s.prototype=Object.create(Ys.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function(e,t){if(!e.nodeType)throw new TypeError("not a node");Ks()}},replaceChild:{value:function(e,t){if(!e.nodeType)throw new TypeError("not a node");Ks()}},removeChild:{value:function(e){if(!e.nodeType)throw new TypeError("not a node");Mu()}},removeChildren:{value:function(){}},childNodes:{get:function(){return this._childNodes||(this._childNodes=new Lu),this._childNodes}}})});var xr=N((Wf,t0)=>{"use strict";t0.exports=sa;var e0=Ln(),Js=ee(),Ru=aa(),Iu=yn();function sa(){e0.call(this)}sa.prototype=Object.create(e0.prototype,{substringData:{value:function(t,r){if(arguments.length<2)throw new TypeError("Not enough arguments");return t=t>>>0,r=r>>>0,(t>this.data.length||t<0||r<0)&&Js.IndexSizeError(),this.data.substring(t,t+r)}},appendData:{value:function(t){if(arguments.length<1)throw new TypeError("Not enough arguments");this.data+=String(t)}},insertData:{value:function(t,r){return this.replaceData(t,0,r)}},deleteData:{value:function(t,r){return this.replaceData(t,r,"")}},replaceData:{value:function(t,r,a){var s=this.data,o=s.length;t=t>>>0,r=r>>>0,a=String(a),(t>o||t<0)&&Js.IndexSizeError(),t+r>o&&(r=o-t);var x=s.substring(0,t),m=s.substring(t+r);this.data=x+a+m}},isEqual:{value:function(t){return this._data===t._data}},length:{get:function(){return this.data.length}}});Object.defineProperties(sa.prototype,Ru);Object.defineProperties(sa.prototype,Iu)});var Rn=N((Xf,i0)=>{"use strict";i0.exports=Mn;var r0=ee(),a0=xe(),n0=xr();function Mn(e,t){n0.call(this),this.nodeType=a0.TEXT_NODE,this.ownerDocument=e,this._data=t,this._index=void 0}var fr={get:function(){return this._data},set:function(e){e==null?e="":e=String(e),e!==this._data&&(this._data=e,this.rooted&&this.ownerDocument.mutateValue(this),this.parentNode&&this.parentNode._textchangehook&&this.parentNode._textchangehook(this))}};Mn.prototype=Object.create(n0.prototype,{nodeName:{value:"#text"},nodeValue:fr,textContent:fr,innerText:fr,data:{get:fr.get,set:function(e){fr.set.call(this,e===null?"":String(e))}},splitText:{value:function(t){(t>this._data.length||t<0)&&r0.IndexSizeError();var r=this._data.substring(t),a=this.ownerDocument.createTextNode(r);this.data=this.data.substring(0,t);var s=this.parentNode;return s!==null&&s.insertBefore(a,this.nextSibling),a}},wholeText:{get:function(){for(var t=this.textContent,r=this.nextSibling;r&&r.nodeType===a0.TEXT_NODE;r=r.nextSibling)t+=r.textContent;return t}},replaceWholeText:{value:r0.nyi},clone:{value:function(){return new Mn(this.ownerDocument,this._data)}}})});var On=N((Kf,o0)=>{"use strict";o0.exports=In;var Ou=xe(),s0=xr();function In(e,t){s0.call(this),this.nodeType=Ou.COMMENT_NODE,this.ownerDocument=e,this._data=t}var dr={get:function(){return this._data},set:function(e){e==null?e="":e=String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};In.prototype=Object.create(s0.prototype,{nodeName:{value:"#comment"},nodeValue:dr,textContent:dr,innerText:dr,data:{get:dr.get,set:function(e){dr.set.call(this,e===null?"":String(e))}},clone:{value:function(){return new In(this.ownerDocument,this._data)}}})});var Hn=N((Yf,u0)=>{"use strict";u0.exports=qn;var qu=xe(),Hu=yt(),l0=$r(),oa=Bt(),Fu=ra(),c0=ee();function qn(e){l0.call(this),this.nodeType=qu.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=e}qn.prototype=Object.create(l0.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(oa.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(oa.prototype,"innerText"),querySelector:{value:function(e){var t=this.querySelectorAll(e);return t.length?t[0]:null}},querySelectorAll:{value:function(e){var t=Object.create(this);t.isHTML=!0,t.getElementsByTagName=oa.prototype.getElementsByTagName,t.nextElement=Object.getOwnPropertyDescriptor(oa.prototype,"firstElementChild").get;var r=Fu(e,t);return r.item?r:new Hu(r)}},clone:{value:function(){return new qn(this.ownerDocument)}},isEqual:{value:function(t){return!0}},innerHTML:{get:function(){return this.serialize()},set:c0.nyi},outerHTML:{get:function(){return this.serialize()},set:c0.nyi}})});var Bn=N((Qf,f0)=>{"use strict";f0.exports=Fn;var Bu=xe(),x0=xr();function Fn(e,t,r){x0.call(this),this.nodeType=Bu.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=e,this.target=t,this._data=r}var hr={get:function(){return this._data},set:function(e){e==null?e="":e=String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};Fn.prototype=Object.create(x0.prototype,{nodeName:{get:function(){return this.target}},nodeValue:hr,textContent:hr,innerText:hr,data:{get:hr.get,set:function(e){hr.set.call(this,e===null?"":String(e))}},clone:{value:function(){return new Fn(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(t){return this.target===t.target&&this._data===t._data}}})});var pr=N(($f,d0)=>{"use strict";var Pn={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};d0.exports=Pn.constructor=Pn.prototype=Pn});var Vn=N((Jf,p0)=>{"use strict";var Zf=p0.exports={nextSkippingChildren:Pu,nextAncestorSibling:Un,next:Uu,previous:Vu,deepLastChild:h0};function Pu(e,t){return e===t?null:e.nextSibling!==null?e.nextSibling:Un(e,t)}function Un(e,t){for(e=e.parentNode;e!==null;e=e.parentNode){if(e===t)return null;if(e.nextSibling!==null)return e.nextSibling}return null}function Uu(e,t){var r;return r=e.firstChild,r!==null?r:e===t?null:(r=e.nextSibling,r!==null?r:Un(e,t))}function h0(e){for(;e.lastChild;)e=e.lastChild;return e}function Vu(e,t){var r;return r=e.previousSibling,r!==null?h0(r):(r=e.parentNode,r===t?null:r)}});var T0=N((ed,v0)=>{"use strict";v0.exports=_0;var ju=xe(),fe=pr(),m0=Vn(),E0=ee(),jn={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},Gn={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function g0(e,t){var r,a,s,o,x;for(a=e._currentNode[jn[t]];a!==null;){if(o=e._internalFilter(a),o===fe.FILTER_ACCEPT)return e._currentNode=a,a;if(o===fe.FILTER_SKIP&&(r=a[jn[t]],r!==null)){a=r;continue}for(;a!==null;){if(x=a[Gn[t]],x!==null){a=x;break}if(s=a.parentNode,s===null||s===e.root||s===e._currentNode)return null;a=s}}return null}function b0(e,t){var r,a,s;if(r=e._currentNode,r===e.root)return null;for(;;){for(s=r[Gn[t]];s!==null;){if(r=s,a=e._internalFilter(r),a===fe.FILTER_ACCEPT)return e._currentNode=r,r;s=r[jn[t]],(a===fe.FILTER_REJECT||s===null)&&(s=r[Gn[t]])}if(r=r.parentNode,r===null||r===e.root||e._internalFilter(r)===fe.FILTER_ACCEPT)return null}}function _0(e,t,r){(!e||!e.nodeType)&&E0.NotSupportedError(),this._root=e,this._whatToShow=Number(t)||0,this._filter=r||null,this._active=!1,this._currentNode=e}Object.defineProperties(_0.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function(){return this._currentNode},set:function(t){if(!(t instanceof ju))throw new TypeError("Not a Node");this._currentNode=t}},_internalFilter:{value:function(t){var r,a;if(this._active&&E0.InvalidStateError(),!(1<<t.nodeType-1&this._whatToShow))return fe.FILTER_SKIP;if(a=this._filter,a===null)r=fe.FILTER_ACCEPT;else{this._active=!0;try{typeof a=="function"?r=a(t):r=a.acceptNode(t)}finally{this._active=!1}}return+r}},parentNode:{value:function(){for(var t=this._currentNode;t!==this.root;){if(t=t.parentNode,t===null)return null;if(this._internalFilter(t)===fe.FILTER_ACCEPT)return this._currentNode=t,t}return null}},firstChild:{value:function(){return g0(this,"first")}},lastChild:{value:function(){return g0(this,"last")}},previousSibling:{value:function(){return b0(this,"previous")}},nextSibling:{value:function(){return b0(this,"next")}},previousNode:{value:function(){var t,r,a,s;for(t=this._currentNode;t!==this._root;){for(a=t.previousSibling;a;a=t.previousSibling)if(t=a,r=this._internalFilter(t),r!==fe.FILTER_REJECT){for(s=t.lastChild;s&&(t=s,r=this._internalFilter(t),r!==fe.FILTER_REJECT);s=t.lastChild);if(r===fe.FILTER_ACCEPT)return this._currentNode=t,t}if(t===this.root||t.parentNode===null)return null;if(t=t.parentNode,this._internalFilter(t)===fe.FILTER_ACCEPT)return this._currentNode=t,t}return null}},nextNode:{value:function(){var t,r,a,s;t=this._currentNode,r=fe.FILTER_ACCEPT;e:for(;;){for(a=t.firstChild;a;a=t.firstChild){if(t=a,r=this._internalFilter(t),r===fe.FILTER_ACCEPT)return this._currentNode=t,t;if(r===fe.FILTER_REJECT)break}for(s=m0.nextSkippingChildren(t,this.root);s;s=m0.nextSkippingChildren(t,this.root)){if(t=s,r=this._internalFilter(t),r===fe.FILTER_ACCEPT)return this._currentNode=t,t;if(r===fe.FILTER_SKIP)continue e}return null}}},toString:{value:function(){return"[object TreeWalker]"}}})});var C0=N((td,A0)=>{"use strict";A0.exports=S0;var zn=pr(),Wn=Vn(),w0=ee();function Gu(e,t,r){return r?Wn.next(e,t):e===t?null:Wn.previous(e,null)}function y0(e,t){for(;t;t=t.parentNode)if(e===t)return!0;return!1}function N0(e,t){var r,a;for(r=e._referenceNode,a=e._pointerBeforeReferenceNode;;){if(a===t)a=!a;else if(r=Gu(r,e._root,t),r===null)return null;var s=e._internalFilter(r);if(s===zn.FILTER_ACCEPT)break}return e._referenceNode=r,e._pointerBeforeReferenceNode=a,r}function S0(e,t,r){(!e||!e.nodeType)&&w0.NotSupportedError(),this._root=e,this._referenceNode=e,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(t)||0,this._filter=r||null,this._active=!1,e.doc._attachNodeIterator(this)}Object.defineProperties(S0.prototype,{root:{get:function(){return this._root}},referenceNode:{get:function(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},_internalFilter:{value:function(t){var r,a;if(this._active&&w0.InvalidStateError(),!(1<<t.nodeType-1&this._whatToShow))return zn.FILTER_SKIP;if(a=this._filter,a===null)r=zn.FILTER_ACCEPT;else{this._active=!0;try{typeof a=="function"?r=a(t):r=a.acceptNode(t)}finally{this._active=!1}}return+r}},_preremove:{value:function(t){if(!y0(t,this._root)&&y0(t,this._referenceNode)){if(this._pointerBeforeReferenceNode){for(var r=t;r.lastChild;)r=r.lastChild;if(r=Wn.next(r,this.root),r){this._referenceNode=r;return}this._pointerBeforeReferenceNode=!1}if(t.previousSibling===null)this._referenceNode=t.parentNode;else{this._referenceNode=t.previousSibling;var a;for(a=this._referenceNode.lastChild;a;a=this._referenceNode.lastChild)this._referenceNode=a}}}},nextNode:{value:function(){return N0(this,!0)}},previousNode:{value:function(){return N0(this,!1)}},detach:{value:function(){}},toString:{value:function(){return"[object NodeIterator]"}}})});var ca=N((rd,D0)=>{"use strict";D0.exports=de;function de(e){if(!e)return Object.create(de.prototype);this.url=e.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var t=de.pattern.exec(this.url);if(t){if(t[2]&&(this.scheme=t[2]),t[4]){var r=t[4].match(de.userinfoPattern);if(r&&(this.username=r[1],this.password=r[3],t[4]=t[4].substring(r[0].length)),t[4].match(de.portPattern)){var a=t[4].lastIndexOf(":");this.host=t[4].substring(0,a),this.port=t[4].substring(a+1)}else this.host=t[4]}t[5]&&(this.path=t[5]),t[6]&&(this.query=t[7]),t[8]&&(this.fragment=t[9])}}de.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/;de.userinfoPattern=/^([^@:]*)(:([^@]*))?@/;de.portPattern=/:\d+$/;de.authorityPattern=/^[^:\/?#]+:\/\//;de.hierarchyPattern=/^[^:\/?#]+:\//;de.percentEncode=function(t){var r=t.charCodeAt(0);if(r<256)return"%"+r.toString(16);throw Error("can't percent-encode codepoints > 255 yet")};de.prototype={constructor:de,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return de.authorityPattern.test(this.url)},isHierarchical:function(){return de.hierarchyPattern.test(this.url)},toString:function(){var e="";return this.scheme!==void 0&&(e+=this.scheme+":"),this.isAbsolute()&&(e+="//",(this.username||this.password)&&(e+=this.username||"",this.password&&(e+=":"+this.password),e+="@"),this.host&&(e+=this.host)),this.port!==void 0&&(e+=":"+this.port),this.path!==void 0&&(e+=this.path),this.query!==void 0&&(e+="?"+this.query),this.fragment!==void 0&&(e+="#"+this.fragment),e},resolve:function(e){var t=this,r=new de(e),a=new de;return r.scheme!==void 0?(a.scheme=r.scheme,a.username=r.username,a.password=r.password,a.host=r.host,a.port=r.port,a.path=o(r.path),a.query=r.query):(a.scheme=t.scheme,r.host!==void 0?(a.username=r.username,a.password=r.password,a.host=r.host,a.port=r.port,a.path=o(r.path),a.query=r.query):(a.username=t.username,a.password=t.password,a.host=t.host,a.port=t.port,r.path?(r.path.charAt(0)==="/"?a.path=o(r.path):(a.path=s(t.path,r.path),a.path=o(a.path)),a.query=r.query):(a.path=t.path,r.query!==void 0?a.query=r.query:a.query=t.query))),a.fragment=r.fragment,a.toString();function s(x,m){if(t.host!==void 0&&!t.path)return"/"+m;var h=x.lastIndexOf("/");return h===-1?m:x.substring(0,h+1)+m}function o(x){if(!x)return x;for(var m="";x.length>0;){if(x==="."||x===".."){x="";break}var h=x.substring(0,2),g=x.substring(0,3),v=x.substring(0,4);if(g==="../")x=x.substring(3);else if(h==="./")x=x.substring(2);else if(g==="/./")x="/"+x.substring(3);else if(h==="/."&&x.length===2)x="/";else if(v==="/../"||g==="/.."&&x.length===3)x="/"+x.substring(4),m=m.replace(/\/?[^\/]*$/,"");else{var ne=x.match(/(\/?([^\/]*))/)[0];m+=ne,x=x.substring(ne.length)}}return m}}}});var M0=N((ad,L0)=>{"use strict";L0.exports=Xn;var k0=Mt();function Xn(e,t){k0.call(this,e,t)}Xn.prototype=Object.create(k0.prototype,{constructor:{value:Xn}})});var Kn=N((nd,R0)=>{"use strict";R0.exports={Event:Mt(),UIEvent:Ya(),MouseEvent:$a(),CustomEvent:M0()}});var O0=N(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.hyphenate=Pt.parse=void 0;function zu(e){let t=[],r=0,a=0,s=0,o=0,x=0,m=null;for(;r<e.length;)switch(e.charCodeAt(r++)){case 40:a++;break;case 41:a--;break;case 39:s===0?s=39:s===39&&e.charCodeAt(r-1)!==92&&(s=0);break;case 34:s===0?s=34:s===34&&e.charCodeAt(r-1)!==92&&(s=0);break;case 58:!m&&a===0&&s===0&&(m=I0(e.substring(x,r-1).trim()),o=r);break;case 59:if(m&&o>0&&a===0&&s===0){let g=e.substring(o,r-1).trim();t.push(m,g),x=r,o=0,m=null}break}if(m&&o){let h=e.slice(o).trim();t.push(m,h)}return t}Pt.parse=zu;function I0(e){return e.replace(/[a-z][A-Z]/g,t=>t.charAt(0)+"-"+t.charAt(1)).toLowerCase()}Pt.hyphenate=I0});var la=N((sd,P0)=>{"use strict";var{parse:Wu}=O0();P0.exports=function(e){let t=new B0(e),r={get:function(a,s){return s in a?a[s]:a.getPropertyValue(q0(s))},has:function(a,s){return!0},set:function(a,s,o){return s in a?a[s]=o:a.setProperty(q0(s),o??void 0),!0}};return new Proxy(t,r)};function q0(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function B0(e){this._element=e}var H0="!important";function F0(e){let t={property:{},priority:{}};if(!e)return t;let r=Wu(e);if(r.length<2)return t;for(let a=0;a<r.length;a+=2){let s=r[a],o=r[a+1];o.endsWith(H0)&&(t.priority[s]="important",o=o.slice(0,-H0.length).trim()),t.property[s]=o}return t}var Ut={};B0.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var e=this.cssText;this._parsedStyles=F0(e),this._lastParsedText=e,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var e=this._parsed,t="";for(var r in e.property)t&&(t+=" "),t+=r+": "+e.property[r],e.priority[r]&&(t+=" !"+e.priority[r]),t+=";";this.cssText=t,this._lastParsedText=t,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function(e){this._element.setAttribute("style",e)}},length:{get:function(){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names.length}},item:{value:function(e){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names[e]}},getPropertyValue:{value:function(e){return e=e.toLowerCase(),this._parsed.property[e]||""}},getPropertyPriority:{value:function(e){return e=e.toLowerCase(),this._parsed.priority[e]||""}},setProperty:{value:function(e,t,r){if(e=e.toLowerCase(),t==null&&(t=""),r==null&&(r=""),t!==Ut&&(t=""+t),t=t.trim(),t===""){this.removeProperty(e);return}if(!(r!==""&&r!==Ut&&!/^important$/i.test(r))){var a=this._parsed;if(t===Ut){if(!a.property[e])return;r!==""?a.priority[e]="important":delete a.priority[e]}else{if(t.indexOf(";")!==-1)return;var s=F0(e+":"+t);if(Object.getOwnPropertyNames(s.property).length===0||Object.getOwnPropertyNames(s.priority).length!==0)return;for(var o in s.property)a.property[o]=s.property[o],r!==Ut&&(r!==""?a.priority[o]="important":a.priority[o]&&delete a.priority[o])}this._serialize()}}},setPropertyValue:{value:function(e,t){return this.setProperty(e,t,Ut)}},setPropertyPriority:{value:function(e,t){return this.setProperty(e,Ut,t)}},removeProperty:{value:function(e){e=e.toLowerCase();var t=this._parsed;e in t.property&&(delete t.property[e],delete t.priority[e],this._serialize())}}})});var Yn=N((od,U0)=>{"use strict";var ce=ca();U0.exports=mr;function mr(){}mr.prototype=Object.create(Object.prototype,{_url:{get:function(){return new ce(this.href)}},protocol:{get:function(){var e=this._url;return e&&e.scheme?e.scheme+":":":"},set:function(e){var t=this.href,r=new ce(t);r.isAbsolute()&&(e=e.replace(/:+$/,""),e=e.replace(/[^-+\.a-zA-Z0-9]/g,ce.percentEncode),e.length>0&&(r.scheme=e,t=r.toString())),this.href=t}},host:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host+(e.port?":"+e.port:""):""},set:function(e){var t=this.href,r=new ce(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,ce.percentEncode),e.length>0&&(r.host=e,delete r.port,t=r.toString())),this.href=t}},hostname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host:""},set:function(e){var t=this.href,r=new ce(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/^\/+/,""),e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,ce.percentEncode),e.length>0&&(r.host=e,t=r.toString())),this.href=t}},port:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()&&e.port!==void 0?e.port:""},set:function(e){var t=this.href,r=new ce(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=""+e,e=e.replace(/[^0-9].*$/,""),e=e.replace(/^0+/,""),e.length===0&&(e="0"),parseInt(e,10)<=65535&&(r.port=e,t=r.toString())),this.href=t}},pathname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()?e.path:""},set:function(e){var t=this.href,r=new ce(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)!=="/"&&(e="/"+e),e=e.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,ce.percentEncode),r.path=e,t=r.toString()),this.href=t}},search:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()&&e.query!==void 0?"?"+e.query:""},set:function(e){var t=this.href,r=new ce(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)==="?"&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,ce.percentEncode),r.query=e,t=r.toString()),this.href=t}},hash:{get:function(){var e=this._url;return e==null||e.fragment==null||e.fragment===""?"":"#"+e.fragment},set:function(e){var t=this.href,r=new ce(t);e.charAt(0)==="#"&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,ce.percentEncode),r.fragment=e,t=r.toString(),this.href=t}},username:{get:function(){var e=this._url;return e.username||""},set:function(e){var t=this.href,r=new ce(t);r.isAbsolute()&&(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,ce.percentEncode),r.username=e,t=r.toString()),this.href=t}},password:{get:function(){var e=this._url;return e.password||""},set:function(e){var t=this.href,r=new ce(t);r.isAbsolute()&&(e===""?r.password=null:(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,ce.percentEncode),r.password=e),t=r.toString()),this.href=t}},origin:{get:function(){var e=this._url;if(e==null)return"";var t=function(r){var a=[e.scheme,e.host,+e.port||r];return a[0]+"://"+a[1]+(a[2]===r?"":":"+a[2])};switch(e.scheme){case"ftp":return t(21);case"gopher":return t(70);case"http":case"ws":return t(80);case"https":case"wss":return t(443);default:return e.scheme+"://"}}}});mr._inherit=function(e){Object.getOwnPropertyNames(mr.prototype).forEach(function(t){if(!(t==="constructor"||t==="href")){var r=Object.getOwnPropertyDescriptor(mr.prototype,t);Object.defineProperty(e,t,r)}})}});var Qn=N((cd,G0)=>{"use strict";var V0=mn(),Xu=Kr().isApiWritable;G0.exports=function(e,t,r,a){var s=e.ctor;if(s){var o=e.props||{};if(e.attributes)for(var x in e.attributes){var m=e.attributes[x];(typeof m!="object"||Array.isArray(m))&&(m={type:m}),m.name||(m.name=x.toLowerCase()),o[x]=V0.property(m)}o.constructor={value:s,writable:Xu},s.prototype=Object.create((e.superclass||t).prototype,o),e.events&&Yu(s,e.events),r[e.name]=s}else s=t;return(e.tags||e.tag&&[e.tag]||[]).forEach(function(h){a[h]=s}),s};function j0(e,t,r,a){this.body=e,this.document=t,this.form=r,this.element=a}j0.prototype.build=function(){return()=>{}};function Ku(e,t,r,a){var s=e.ownerDocument||Object.create(null),o=e.form||Object.create(null);e[t]=new j0(a,s,o,e).build()}function Yu(e,t){var r=e.prototype;t.forEach(function(a){Object.defineProperty(r,"on"+a,{get:function(){return this._getEventHandler(a)},set:function(s){this._setEventHandler(a,s)}}),V0.registerChangeHandler(e,"on"+a,Ku)})}});var fa=N(xa=>{"use strict";var $n=xe(),z0=Bt(),Qu=la(),Te=ee(),W0=Yn(),$u=Qn(),Xe=xa.elements={},gr=Object.create(null);xa.createElement=function(e,t,r){var a=gr[t]||Ju;return new a(e,t,r)};function _(e){return $u(e,T,Xe,gr)}function te(e){return{get:function(){var t=this._getattr(e);if(t===null)return"";var r=this.doc._resolve(t);return r===null?t:r},set:function(t){this._setattr(e,t)}}}function ua(e){return{get:function(){var t=this._getattr(e);return t===null?null:t.toLowerCase()==="use-credentials"?"use-credentials":"anonymous"},set:function(t){t==null?this.removeAttribute(e):this._setattr(e,t)}}}var Vt={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},Zu={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},Le=function(e,t,r){T.call(this,e,t,r),this._form=null},T=xa.HTMLElement=_({superclass:z0,name:"HTMLElement",ctor:function(t,r,a){z0.call(this,t,r,Te.NAMESPACE.HTML,a)},props:{dangerouslySetInnerHTML:{set:function(e){this._innerHTML=e}},innerHTML:{get:function(){return this.serialize()},set:function(e){var t=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);t.parse(e===null?"":String(e),!0);for(var r=this instanceof gr.template?this.content:this;r.hasChildNodes();)r.removeChild(r.firstChild);r.appendChild(t._asDocumentFragment())}},style:{get:function(){return this._style||(this._style=new Qu(this)),this._style},set:function(e){e==null&&(e=""),this._setattr("style",String(e))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(!this._click_in_progress){this._click_in_progress=!0;try{this._pre_click_activation_steps&&this._pre_click_activation_steps();var e=this.ownerDocument.createEvent("MouseEvent");e.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var t=this.dispatchEvent(e);t?this._post_click_activation_steps&&this._post_click_activation_steps(e):this._cancelled_activation_steps&&this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}}},submit:{value:Te.nyi}},attributes:{title:String,lang:String,dir:{type:["ltr","rtl","auto"],missing:""},draggable:{type:["true","false"],treatNullAsEmptyString:!0},spellcheck:{type:["true","false"],missing:""},enterKeyHint:{type:["enter","done","go","next","previous","search","send"],missing:""},autoCapitalize:{type:["off","on","none","sentences","words","characters"],missing:""},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:["no","yes"],missing:""},tabIndex:{type:"long",default:function(){return this.tagName in Zu||this.contentEditable?0:-1}}},events:["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"]}),Ju=_({name:"HTMLUnknownElement",ctor:function(t,r,a){T.call(this,t,r,a)}}),Me={form:{get:function(){return this._form}}};_({tag:"a",name:"HTMLAnchorElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{_post_click_activation_steps:{value:function(e){this.href&&(this.ownerDocument.defaultView.location=this.href)}}},attributes:{href:te,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:Vt,coords:String,charset:String,name:String,rev:String,shape:String}});W0._inherit(gr.a.prototype);_({tag:"area",name:"HTMLAreaElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:te,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:Vt,noHref:Boolean}});W0._inherit(gr.area.prototype);_({tag:"br",name:"HTMLBRElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{clear:String}});_({tag:"base",name:"HTMLBaseElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{target:String}});_({tag:"body",name:"HTMLBodyElement",ctor:function(t,r,a){T.call(this,t,r,a)},events:["afterprint","beforeprint","beforeunload","blur","error","focus","hashchange","load","message","offline","online","pagehide","pageshow","popstate","resize","scroll","storage","unload"],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}});_({tag:"button",name:"HTMLButtonElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:Me,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:te,formNoValidate:Boolean,formMethod:{type:["get","post","dialog"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""}}});_({tag:"dl",name:"HTMLDListElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{compact:Boolean}});_({tag:"data",name:"HTMLDataElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{value:String}});_({tag:"datalist",name:"HTMLDataListElement",ctor:function(t,r,a){T.call(this,t,r,a)}});_({tag:"details",name:"HTMLDetailsElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{open:Boolean}});_({tag:"div",name:"HTMLDivElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{align:String}});_({tag:"embed",name:"HTMLEmbedElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{src:te,type:String,width:String,height:String,align:String,name:String}});_({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:Me,attributes:{disabled:Boolean,name:String}});_({tag:"form",name:"HTMLFormElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{action:String,autocomplete:{type:["on","off"],missing:"on"},name:String,acceptCharset:{name:"accept-charset"},target:String,noValidate:Boolean,method:{type:["get","post","dialog"],invalid:"get",missing:"get"},enctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"},encoding:{name:"enctype",type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"}}});_({tag:"hr",name:"HTMLHRElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}});_({tag:"head",name:"HTMLHeadElement",ctor:function(t,r,a){T.call(this,t,r,a)}});_({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{align:String}});_({tag:"html",name:"HTMLHtmlElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{xmlns:te,version:String}});_({tag:"iframe",name:"HTMLIFrameElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{src:te,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:Vt,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:te,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}});_({tag:"img",name:"HTMLImageElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{alt:String,src:te,srcset:String,crossOrigin:ua,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:Vt,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:te,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:te,border:{type:String,treatNullAsEmptyString:!0}}});_({tag:"input",name:"HTMLInputElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:{form:Me.form,_post_click_activation_steps:{value:function(e){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio")for(var t=this.form.getElementsByName(this.name),r=t.length-1;r>=0;r--){var a=t[r];a.checked=a===this}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:"value"},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:te,defaultChecked:{name:"checked",type:Boolean},size:{type:"unsigned long",default:20,min:1,setmin:1},width:{type:"unsigned long",min:0,setmin:0,default:0},height:{type:"unsigned long",min:0,setmin:0,default:0},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},autocomplete:String,type:{type:["text","hidden","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"],missing:"text"},formTarget:String,formNoValidate:Boolean,formMethod:{type:["get","post"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""},align:String,useMap:String}});_({tag:"keygen",name:"HTMLKeygenElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:Me,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}});_({tag:"li",name:"HTMLLIElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{value:{type:"long",default:0},type:String}});_({tag:"label",name:"HTMLLabelElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:Me,attributes:{htmlFor:{name:"for",type:String}}});_({tag:"legend",name:"HTMLLegendElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{align:String}});_({tag:"link",name:"HTMLLinkElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{href:te,rel:String,media:String,hreflang:String,type:String,crossOrigin:ua,nonce:String,integrity:String,referrerPolicy:Vt,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}});_({tag:"map",name:"HTMLMapElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{name:String}});_({tag:"menu",name:"HTMLMenuElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}});_({tag:"meta",name:"HTMLMetaElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}});_({tag:"meter",name:"HTMLMeterElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:Me});_({tags:["ins","del"],name:"HTMLModElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{cite:te,dateTime:String}});_({tag:"ol",name:"HTMLOListElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{_numitems:{get:function(){var e=0;return this.childNodes.forEach(function(t){t.nodeType===$n.ELEMENT_NODE&&t.tagName==="LI"&&e++}),e}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){return this.reversed?this._numitems:1}},compact:Boolean}});_({tag:"object",name:"HTMLObjectElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:Me,attributes:{data:te,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:"unsigned long",default:0},standby:String,vspace:{type:"unsigned long",default:0},codeBase:te,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}});_({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{disabled:Boolean,label:String}});_({tag:"option",name:"HTMLOptionElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{form:{get:function(){for(var e=this.parentNode;e&&e.nodeType===$n.ELEMENT_NODE;){if(e.localName==="select")return e.form;e=e.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function(e){this._setattr("value",e)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function(e){this.textContent=e}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}});_({tag:"output",name:"HTMLOutputElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:Me,attributes:{name:String}});_({tag:"p",name:"HTMLParagraphElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{align:String}});_({tag:"param",name:"HTMLParamElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{name:String,value:String,type:String,valueType:String}});_({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{width:{type:"long",default:0}}});_({tag:"progress",name:"HTMLProgressElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:Me,attributes:{max:{type:Number,float:!0,default:1,min:0}}});_({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{cite:te}});_({tag:"script",name:"HTMLScriptElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{text:{get:function(){for(var e="",t=0,r=this.childNodes.length;t<r;t++){var a=this.childNodes[t];a.nodeType===$n.TEXT_NODE&&(e+=a._data)}return e},set:function(e){this.removeChildren(),e!==null&&e!==""&&this.appendChild(this.ownerDocument.createTextNode(e))}}},attributes:{src:te,type:String,charset:String,referrerPolicy:Vt,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:ua,nonce:String,integrity:String}});_({tag:"select",name:"HTMLSelectElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:{form:Me.form,options:{get:function(){return this.getElementsByTagName("option")}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:"unsigned long",default:0}}});_({tag:"span",name:"HTMLSpanElement",ctor:function(t,r,a){T.call(this,t,r,a)}});_({tag:"style",name:"HTMLStyleElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{media:String,type:String,scoped:Boolean}});_({tag:"caption",name:"HTMLTableCaptionElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{align:String}});_({name:"HTMLTableCellElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{colSpan:{type:"unsigned long",default:1},rowSpan:{type:"unsigned long",default:1},scope:{type:["row","col","rowgroup","colgroup"],missing:""},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});_({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{span:{type:"limited unsigned long with fallback",default:1,min:1},align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,width:String}});_({tag:"table",name:"HTMLTableElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}});_({tag:"template",name:"HTMLTemplateElement",ctor:function(t,r,a){T.call(this,t,r,a),this._contentFragment=t._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}});_({tag:"tr",name:"HTMLTableRowElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{cells:{get:function(){return this.querySelectorAll("td,th")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});_({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String}});_({tag:"textarea",name:"HTMLTextAreaElement",ctor:function(t,r,a){Le.call(this,t,r,a)},props:{form:Me.form,type:{get:function(){return"textarea"}},defaultValue:{get:function(){return this.textContent},set:function(e){this.textContent=e}},value:{get:function(){return this.defaultValue},set:function(e){this.defaultValue=e}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:"limited unsigned long with fallback",default:2},cols:{type:"limited unsigned long with fallback",default:20},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""}}});_({tag:"time",name:"HTMLTimeElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{dateTime:String,pubDate:Boolean}});_({tag:"title",name:"HTMLTitleElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{text:{get:function(){return this.textContent}}}});_({tag:"ul",name:"HTMLUListElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{type:String,compact:Boolean}});_({name:"HTMLMediaElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{src:te,crossOrigin:ua,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}});_({name:"HTMLAudioElement",tag:"audio",superclass:Xe.HTMLMediaElement,ctor:function(t,r,a){Xe.HTMLMediaElement.call(this,t,r,a)}});_({name:"HTMLVideoElement",tag:"video",superclass:Xe.HTMLMediaElement,ctor:function(t,r,a){Xe.HTMLMediaElement.call(this,t,r,a)},attributes:{poster:te,width:{type:"unsigned long",min:0,default:0},height:{type:"unsigned long",min:0,default:0}}});_({tag:"td",name:"HTMLTableDataCellElement",superclass:Xe.HTMLTableCellElement,ctor:function(t,r,a){Xe.HTMLTableCellElement.call(this,t,r,a)}});_({tag:"th",name:"HTMLTableHeaderCellElement",superclass:Xe.HTMLTableCellElement,ctor:function(t,r,a){Xe.HTMLTableCellElement.call(this,t,r,a)}});_({tag:"frameset",name:"HTMLFrameSetElement",ctor:function(t,r,a){T.call(this,t,r,a)}});_({tag:"frame",name:"HTMLFrameElement",ctor:function(t,r,a){T.call(this,t,r,a)}});_({tag:"canvas",name:"HTMLCanvasElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{getContext:{value:Te.nyi},probablySupportsContext:{value:Te.nyi},setContext:{value:Te.nyi},transferControlToProxy:{value:Te.nyi},toDataURL:{value:Te.nyi},toBlob:{value:Te.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}});_({tag:"dialog",name:"HTMLDialogElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{show:{value:Te.nyi},showModal:{value:Te.nyi},close:{value:Te.nyi}},attributes:{open:Boolean,returnValue:String}});_({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function(t,r,a){T.call(this,t,r,a)},props:{_label:{get:function(){var e=this._getattr("label");return e!==null&&e!==""?e:(e=this.textContent,e.replace(/[ \t\n\f\r]+/g," ").trim())}},label:{get:function(){var e=this._getattr("label");return e!==null?e:this._label},set:function(e){this._setattr("label",e)}}},attributes:{type:{type:["command","checkbox","radio"],missing:"command"},icon:te,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}});_({tag:"source",name:"HTMLSourceElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{srcset:String,sizes:String,media:String,src:te,type:String,width:String,height:String}});_({tag:"track",name:"HTMLTrackElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{src:te,srclang:String,label:String,default:Boolean,kind:{type:["subtitles","captions","descriptions","chapters","metadata"],missing:"subtitles",invalid:"metadata"}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:Te.nyi},track:{get:Te.nyi}}});_({tag:"font",name:"HTMLFontElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}});_({tag:"dir",name:"HTMLDirectoryElement",ctor:function(t,r,a){T.call(this,t,r,a)},attributes:{compact:Boolean}});_({tags:["abbr","address","article","aside","b","bdi","bdo","cite","content","code","dd","dfn","dt","em","figcaption","figure","footer","header","hgroup","i","kbd","main","mark","nav","noscript","rb","rp","rt","rtc","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr","acronym","basefont","big","center","nobr","noembed","noframes","plaintext","strike","tt"]})});var ei=N(da=>{"use strict";var X0=Bt(),ex=Qn(),tx=ee(),rx=la(),ax=da.elements={},K0=Object.create(null);da.createElement=function(e,t,r){var a=K0[t]||Jn;return new a(e,t,r)};function Zn(e){return ex(e,Jn,ax,K0)}var Jn=Zn({superclass:X0,name:"SVGElement",ctor:function(t,r,a){X0.call(this,t,r,tx.NAMESPACE.SVG,a)},props:{style:{get:function(){return this._style||(this._style=new rx(this)),this._style}}}});Zn({name:"SVGSVGElement",ctor:function(t,r,a){Jn.call(this,t,r,a)},tag:"svg",props:{createSVGRect:{value:function(){return da.createElement(this.ownerDocument,"rect",null)}}}});Zn({tags:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]})});var Q0=N((xd,Y0)=>{"use strict";Y0.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var pa=N((fd,so)=>{"use strict";so.exports=Er;var he=xe(),nx=yt(),ro=$r(),ft=Bt(),ix=Rn(),sx=On(),br=Mt(),ox=Hn(),cx=Bn(),lx=_r(),ux=T0(),xx=C0(),$0=pr(),Z0=ca(),J0=ra(),fx=Kn(),ha=Zr(),ti=fa(),dx=ei(),B=ee(),jt=Q0(),zt=B.NAMESPACE,ri=Kr().isApiWritable;function Er(e,t){ro.call(this),this.nodeType=he.DOCUMENT_NODE,this.isHTML=e,this._address=t||"about:blank",this.readyState="loading",this.implementation=new lx(this),this.ownerDocument=null,this._contentType=e?"text/html":"application/xml",this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var hx={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},px={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},Gt=function(e,t,r){return{get:function(){var a=e.call(this);return a?a[t]:r},set:function(a){var s=e.call(this);s&&(s[t]=a)}}};function eo(e,t){var r,a,s;return e===""&&(e=null),ha.isValidQName(t)||B.InvalidCharacterError(),r=null,a=t,s=t.indexOf(":"),s>=0&&(r=t.substring(0,s),a=t.substring(s+1)),r!==null&&e===null&&B.NamespaceError(),r==="xml"&&e!==zt.XML&&B.NamespaceError(),(r==="xmlns"||t==="xmlns")&&e!==zt.XMLNS&&B.NamespaceError(),e===zt.XMLNS&&!(r==="xmlns"||t==="xmlns")&&B.NamespaceError(),{namespace:e,prefix:r,localName:a}}Er.prototype=Object.create(ro.prototype,{_setMutationHandler:{value:function(e){this.mutationHandler=e}},_dispatchRendererEvent:{value:function(e,t,r){var a=this._nodes[e];a&&a._dispatchEvent(new br(t,r),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:B.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function(e){return new ix(this,String(e))}},createComment:{value:function(e){return new sx(this,e)}},createDocumentFragment:{value:function(){return new ox(this)}},createProcessingInstruction:{value:function(e,t){return(!ha.isValidName(e)||t.indexOf("?>")!==-1)&&B.InvalidCharacterError(),new cx(this,e,t)}},createAttribute:{value:function(e){return e=String(e),ha.isValidName(e)||B.InvalidCharacterError(),this.isHTML&&(e=B.toASCIILowerCase(e)),new ft._Attr(null,e,null,null,"")}},createAttributeNS:{value:function(e,t){e=e==null||e===""?null:String(e),t=String(t);var r=eo(e,t);return new ft._Attr(null,r.localName,r.prefix,r.namespace,"")}},createElement:{value:function(e){return e=String(e),ha.isValidName(e)||B.InvalidCharacterError(),this.isHTML?(/[A-Z]/.test(e)&&(e=B.toASCIILowerCase(e)),ti.createElement(this,e,null)):this.contentType==="application/xhtml+xml"?ti.createElement(this,e,null):new ft(this,e,null,null)},writable:ri},createElementNS:{value:function(e,t){e=e==null||e===""?null:String(e),t=String(t);var r=eo(e,t);return this._createElementNS(r.localName,r.namespace,r.prefix)},writable:ri},_createElementNS:{value:function(e,t,r){return t===zt.HTML?ti.createElement(this,e,r):t===zt.SVG?dx.createElement(this,e,r):new ft(this,e,t,r)}},createEvent:{value:function(t){t=t.toLowerCase();var r=px[t]||t,a=fx[hx[r]];if(a){var s=new a;return s._initialized=!1,s}else B.NotSupportedError()}},createTreeWalker:{value:function(e,t,r){if(!e)throw new TypeError("root argument is required");if(!(e instanceof he))throw new TypeError("root not a node");return t=t===void 0?$0.SHOW_ALL:+t,r=r===void 0?null:r,new ux(e,t,r)}},createNodeIterator:{value:function(e,t,r){if(!e)throw new TypeError("root argument is required");if(!(e instanceof he))throw new TypeError("root not a node");return t=t===void 0?$0.SHOW_ALL:+t,r=r===void 0?null:r,new xx(e,t,r)}},_attachNodeIterator:{value:function(e){this._nodeIterators||(this._nodeIterators=[]),this._nodeIterators.push(e)}},_detachNodeIterator:{value:function(e){var t=this._nodeIterators.indexOf(e);this._nodeIterators.splice(t,1)}},_preremoveNodeIterators:{value:function(e){this._nodeIterators&&this._nodeIterators.forEach(function(t){t._preremove(e)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var t=this.firstChild;t!==null;t=t.nextSibling)t.nodeType===he.DOCUMENT_TYPE_NODE?this.doctype=t:t.nodeType===he.ELEMENT_NODE&&(this.documentElement=t)}},insertBefore:{value:function(t,r){return he.prototype.insertBefore.call(this,t,r),this._updateDocTypeElement(),t}},replaceChild:{value:function(t,r){return he.prototype.replaceChild.call(this,t,r),this._updateDocTypeElement(),r}},removeChild:{value:function(t){return he.prototype.removeChild.call(this,t),this._updateDocTypeElement(),t}},getElementById:{value:function(e){var t=this.byId[e];return t?t instanceof Ke?t.getFirst():t:null}},_hasMultipleElementsWithId:{value:function(e){return this.byId[e]instanceof Ke}},getElementsByName:{value:ft.prototype.getElementsByName},getElementsByTagName:{value:ft.prototype.getElementsByTagName},getElementsByTagNameNS:{value:ft.prototype.getElementsByTagNameNS},getElementsByClassName:{value:ft.prototype.getElementsByClassName},adoptNode:{value:function(t){return t.nodeType===he.DOCUMENT_NODE&&B.NotSupportedError(),t.nodeType===he.ATTRIBUTE_NODE||(t.parentNode&&t.parentNode.removeChild(t),t.ownerDocument!==this&&io(t,this)),t}},importNode:{value:function(t,r){return this.adoptNode(t.cloneNode(r))},writable:ri},origin:{get:function(){return null}},characterSet:{get:function(){return"UTF-8"}},contentType:{get:function(){return this._contentType}},URL:{get:function(){return this._address}},domain:{get:B.nyi,set:B.nyi},referrer:{get:B.nyi},cookie:{get:B.nyi,set:B.nyi},lastModified:{get:B.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:B.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var e=this._titleElement,t=e?e.textContent:"";return t.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function(e){var t=this._titleElement,r=this.head;!t&&!r||(t||(t=this.createElement("title"),r.appendChild(t)),t.textContent=e)}},dir:Gt(function(){var e=this.documentElement;if(e&&e.tagName==="HTML")return e},"dir",""),fgColor:Gt(function(){return this.body},"text",""),linkColor:Gt(function(){return this.body},"link",""),vlinkColor:Gt(function(){return this.body},"vLink",""),alinkColor:Gt(function(){return this.body},"aLink",""),bgColor:Gt(function(){return this.body},"bgColor",""),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return to(this.documentElement,"body")},set:B.nyi},head:{get:function(){return to(this.documentElement,"head")}},images:{get:B.nyi},embeds:{get:B.nyi},plugins:{get:B.nyi},links:{get:B.nyi},forms:{get:B.nyi},scripts:{get:B.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:B.nyi},outerHTML:{get:function(){return this.serialize()},set:B.nyi},write:{value:function(e){if(this.isHTML||B.InvalidStateError(),!!this._parser){this._parser;var t=arguments.join("");this._parser.parse(t)}}},writeln:{value:function(t){this.write(Array.prototype.join.call(arguments,"")+`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{c as u}from"./chunk-MROECM42.js";import{a as l}from"./chunk-
|
|
3
|
+
import{c as u}from"./chunk-MROECM42.js";import{a as l}from"./chunk-PUSAQWLR.js";import{a as d,b as h}from"./chunk-MUFNRCMY.js";var m={name:"bash",summary:"execute shell commands or scripts",usage:"bash [OPTIONS] [SCRIPT_FILE] [ARGUMENTS...]",options:["-c COMMAND execute COMMAND string"," --help display this help and exit"],notes:["Without -c, reads and executes commands from SCRIPT_FILE.","Arguments are passed as $1, $2, etc. to the script.",'$0 is set to the script name (or "bash" with -c).']},F={name:"bash",async execute(t,e){if(h(t))return d(m);if(t[0]==="-c"&&t.length>=2){let s=t[1],n=t[2]||"bash",c=t.slice(3);return r(s,n,c,e)}if(t.length===0){let s=l(e.stdin);return s.trim()?r(s,"bash",[],e):{stdout:"",stderr:"",exitCode:0}}let o=t[0],i=t.slice(1);try{let s=e.fs.resolvePath(e.cwd,o),n=await e.fs.readFile(s);return r(n,o,i,e)}catch{return{stdout:"",stderr:`bash: ${o}: No such file or directory
|
|
4
4
|
`,exitCode:127}}}},P={name:"sh",async execute(t,e){if(h(t))return d({...m,name:"sh",summary:"execute shell commands or scripts (POSIX shell)"});if(t[0]==="-c"&&t.length>=2){let s=t[1],n=t[2]||"sh",c=t.slice(3);return r(s,n,c,e)}if(t.length===0){let s=l(e.stdin);return s.trim()?r(s,"sh",[],e):{stdout:"",stderr:"",exitCode:0}}let o=t[0],i=t.slice(1);try{let s=e.fs.resolvePath(e.cwd,o),n=await e.fs.readFile(s);return r(n,o,i,e)}catch{return{stdout:"",stderr:`sh: ${o}: No such file or directory
|
|
5
5
|
`,exitCode:127}}}};async function r(t,e,o,i){if(!i.exec)return{stdout:"",stderr:`bash: internal error: exec function not available
|
|
6
6
|
`,exitCode:1};let s=u(i.exportedEnv||{},{0:e,"#":String(o.length),"@":o.join(" "),"*":o.join(" ")});o.forEach((a,p)=>{s[String(p+1)]=a});let n=t;if(n.startsWith("#!")){let a=n.indexOf(`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{a as Ee}from"./chunk-MROECM42.js";import{a as D,b as _}from"./chunk-LNNWMRCB.js";import{a as x}from"./chunk-HL4ZS7TX.js";import{a as v,b as H}from"./chunk-IEXQTXU5.js";import{a as z}from"./chunk-
|
|
3
|
+
import{a as Ee}from"./chunk-MROECM42.js";import{a as D,b as _}from"./chunk-LNNWMRCB.js";import{a as x}from"./chunk-HL4ZS7TX.js";import{a as v,b as H}from"./chunk-IEXQTXU5.js";import{a as z}from"./chunk-PUSAQWLR.js";import{k as P}from"./chunk-47WZ2U6M.js";import{a as fe,b as de,c as ie}from"./chunk-MUFNRCMY.js";var Be=1e4,He=100,$e=new H(/\s+/);function se(e={}){let{fieldSep:t=$e,maxIterations:n=Be,maxRecursionDepth:i=He,maxOutputSize:s=0,fs:a,cwd:o,exec:l,coverage:u,requireDefenseContext:N}=e;return{FS:" ",OFS:" ",ORS:`
|
|
4
4
|
`,OFMT:"%.6g",NR:0,NF:0,FNR:0,FILENAME:"",RSTART:0,RLENGTH:-1,SUBSEP:"",fields:[],line:"",vars:Object.create(null),arrays:Object.create(null),arrayAliases:new Map,ARGC:0,ARGV:Object.create(null),ENVIRON:Object.create(null),functions:new Map,fieldSep:t,maxIterations:n,maxRecursionDepth:i,maxOutputSize:s,currentRecursionDepth:0,exitCode:0,shouldExit:!1,shouldNext:!1,shouldNextFile:!1,loopBreak:!1,loopContinue:!1,hasReturn:!1,inEndBlock:!1,output:"",openedFiles:new Set,fs:a,cwd:o,exec:l,coverage:u,requireDefenseContext:N}}function Ne(e,t,n){switch(n){case"+":return e+t;case"-":return e-t;case"*":return e*t;case"/":return t!==0?e/t:0;case"%":return t!==0?e%t:0;case"^":case"**":return e**t;default:return 0}}function M(e){if(typeof e=="number")return e;let t=parseFloat(e);return Number.isNaN(t)?0:t}function k(e){return typeof e=="string"?e:(Number.isInteger(e),String(e))}async function j(e,t){if(e.type==="regex")return e.pattern;let n=k(await t.evalExpr(e));return n.startsWith("/")&&n.endsWith("/")&&(n=n.slice(1,-1)),n}async function Se(e,t){return e?e.type==="variable"?e.name:e.type==="field"?`$${Math.floor(M(await t.evalExpr(e.index)))}`:"$0":"$0"}function me(e,t){if(e==="$0")return t.line;if(e.startsWith("$")){let n=parseInt(e.slice(1),10)-1;return t.fields[n]||""}return k(t.vars[e]??"")}function we(e,t,n){if(e==="$0")n.line=t,n.fields=n.FS===" "?t.trim().split(/\s+/).filter(Boolean):n.fieldSep.split(t),n.NF=n.fields.length;else if(e.startsWith("$")){let i=parseInt(e.slice(1),10)-1;for(;n.fields.length<=i;)n.fields.push("");n.fields[i]=t,n.NF=n.fields.length,n.line=n.fields.join(n.OFS)}else n.vars[e]=t}async function We(e,t,n){return e.length===0?t.line.length:k(await n.evalExpr(e[0])).length}async function Ve(e,t,n){if(e.length<2)return"";let i=k(await n.evalExpr(e[0])),s=Math.floor(M(await n.evalExpr(e[1])))-1;if(e.length>=3){let a=Math.floor(M(await n.evalExpr(e[2])));return i.substr(Math.max(0,s),a)}return i.substr(Math.max(0,s))}async function Ke(e,t,n){if(e.length<2)return 0;let i=k(await n.evalExpr(e[0])),s=k(await n.evalExpr(e[1])),a=i.indexOf(s);return a===-1?0:a+1}async function Xe(e,t,n){if(e.length<2)return 0;let i=k(await n.evalExpr(e[0])),s=e[1];if(s.type!=="variable")return 0;let a=s.name,o=t.FS;if(e.length>=3){let u=e[2];if(u.type==="regex")o=v(u.pattern);else{let N=k(await n.evalExpr(u));o=N===" "?v("\\s+"):N}}else t.FS===" "&&(o=v("\\s+"));let l=typeof o=="string"?i.split(o):o.split(i);t.arrays[a]=Object.create(null);for(let u=0;u<l.length;u++)t.arrays[a][String(u+1)]=l[u];return l.length}async function qe(e,t,n){if(e.length<2)return 0;let i=await j(e[0],n),s=k(await n.evalExpr(e[1])),a=await Se(e[2],n),o=me(a,t);try{let u=v(i).replace(o,Re(s)),N=u!==o?1:0;return we(a,u,t),N}catch{return 0}}async function ze(e,t,n){if(e.length<2)return 0;let i=await j(e[0],n),s=k(await n.evalExpr(e[1])),a=await Se(e[2],n),o=me(a,t);try{let l=v(i,"g"),u=l.match(o),N=u?u.length:0,A=l.replace(o,Re(s));return we(a,A,t),N}catch{return 0}}function Re(e){return t=>{let n="",i=0;for(;i<e.length;)if(e[i]==="\\"&&i+1<e.length){let s=e[i+1];s==="&"?(n+="&",i+=2):s==="\\"?(n+="\\",i+=2):(n+=e[i+1],i+=2)}else e[i]==="&"?(n+=t,i++):(n+=e[i],i++);return n}}async function je(e,t,n){if(e.length<2)return t.RSTART=0,t.RLENGTH=-1,0;let i=k(await n.evalExpr(e[0])),s=await j(e[1],n);try{let o=v(s).exec(i);if(o)return t.RSTART=o.index+1,t.RLENGTH=o[0].length,t.RSTART}catch{}return t.RSTART=0,t.RLENGTH=-1,0}async function Qe(e,t,n){if(e.length<3)return"";let i=await j(e[0],n),s=k(await n.evalExpr(e[1])),a=k(await n.evalExpr(e[2])),o=e.length>=4?k(await n.evalExpr(e[3])):t.line;try{let l=a.toLowerCase()==="g",u=l?0:parseInt(a,10)||1;if(l)return v(i,"g").replace(o,(A,...C)=>ye(s,A,C.slice(0,-2)));{let N=0;return v(i,"g").replace(o,(C,...O)=>(N++,N===u?ye(s,C,O.slice(0,-2)):C))}}catch{return o}}function ye(e,t,n){let i="",s=0;for(;s<e.length;)if(e[s]==="\\"&&s+1<e.length){let a=e[s+1];if(a==="&")i+="&",s+=2;else if(a==="0")i+=t,s+=2;else if(a>="1"&&a<="9"){let o=parseInt(a,10)-1;i+=n[o]||"",s+=2}else a==="n"?(i+=`
|
|
5
5
|
`,s+=2):a==="t"?(i+=" ",s+=2):(i+=a,s+=2)}else e[s]==="&"?(i+=t,s++):(i+=e[s],s++);return i}async function Je(e,t,n){return e.length===0?"":k(await n.evalExpr(e[0])).toLowerCase()}async function Ze(e,t,n){return e.length===0?"":k(await n.evalExpr(e[0])).toUpperCase()}async function Ye(e,t,n){if(e.length===0)return"";let i=k(await n.evalExpr(e[0])),s=[];for(let a=1;a<e.length;a++)s.push(await n.evalExpr(e[a]));return Q(i,s)}async function et(e,t,n){return e.length===0?0:Math.floor(M(await n.evalExpr(e[0])))}async function tt(e,t,n){return e.length===0?0:Math.sqrt(M(await n.evalExpr(e[0])))}async function nt(e,t,n){return e.length===0?0:Math.sin(M(await n.evalExpr(e[0])))}async function rt(e,t,n){return e.length===0?0:Math.cos(M(await n.evalExpr(e[0])))}async function it(e,t,n){let i=e.length>0?M(await n.evalExpr(e[0])):0,s=e.length>1?M(await n.evalExpr(e[1])):0;return Math.atan2(i,s)}async function st(e,t,n){return e.length===0?0:Math.log(M(await n.evalExpr(e[0])))}async function at(e,t,n){return e.length===0?1:Math.exp(M(await n.evalExpr(e[0])))}function ot(e,t,n){return t.random?t.random():Math.random()}async function lt(e,t,n){let i=e.length>0?M(await n.evalExpr(e[0])):Date.now();return t.vars._srand_seed=i,i}function ut(e,t){return()=>{throw new Error(`${e}() is not supported - ${t}`)}}function ae(e){return()=>{throw new Error(`function '${e}()' is not implemented`)}}var U=1e4;function Q(e,t){let n=0,i="",s=0;for(;s<e.length;)if(e[s]==="%"&&s+1<e.length){let a=s+1,o="",l="",u="",N,A=a;for(;a<e.length&&/\d/.test(e[a]);)a++;a>A&&e[a]==="$"?(N=parseInt(e.substring(A,a),10)-1,a++):a=A;let C=()=>{if(a<e.length){if(a+1<e.length&&(e[a]==="h"&&e[a+1]==="h"||e[a]==="l"&&e[a+1]==="l")){a+=2;return}/[lzjh]/.test(e[a])&&a++}};for(;a<e.length&&/[-+ #0]/.test(e[a]);)o+=e[a++];if(e[a]==="*"){let d=t[n++],R=d!==void 0?Math.floor(Number(d)):0;R<0?(o+="-",l=String(Math.min(-R,U))):l=String(Math.min(R,U)),a++}else for(;a<e.length&&/\d/.test(e[a]);)l+=e[a++];if(l&&parseInt(l,10)>U&&(l=String(U)),e[a]==="."){if(a++,e[a]==="*"){let d=t[n++];u=String(Math.min(d!==void 0?Math.floor(Number(d)):0,U)),a++}else for(;a<e.length&&/\d/.test(e[a]);)u+=e[a++];u&&parseInt(u,10)>U&&(u=String(U))}C();let O=e[a],w=t[N!==void 0?N:n];switch(O){case"s":{let d=w!==void 0?String(w):"";if(u&&(d=d.substring(0,parseInt(u,10))),l){let R=parseInt(l,10);o.includes("-")?d=d.padEnd(R):d=d.padStart(R)}i+=d,N===void 0&&n++;break}case"d":case"i":{let d=w!==void 0?Math.floor(Number(w)):0;Number.isNaN(d)&&(d=0);let R=d<0,h=Math.abs(d).toString();if(u){let F=parseInt(u,10);h=h.padStart(F,"0")}let c="";R?c="-":o.includes("+")?c="+":o.includes(" ")&&(c=" ");let E=c+h;if(l){let F=parseInt(l,10);o.includes("-")?E=E.padEnd(F):o.includes("0")&&!u?E=c+h.padStart(F-c.length,"0"):E=E.padStart(F)}i+=E,N===void 0&&n++;break}case"f":{let d=w!==void 0?Number(w):0;Number.isNaN(d)&&(d=0);let R=u?parseInt(u,10):6,h=d.toFixed(R);if(l){let c=parseInt(l,10);o.includes("-")?h=h.padEnd(c):h=h.padStart(c)}i+=h,N===void 0&&n++;break}case"e":case"E":{let d=w!==void 0?Number(w):0;Number.isNaN(d)&&(d=0);let R=u?parseInt(u,10):6,h=d.toExponential(R);if(O==="E"&&(h=h.toUpperCase()),l){let c=parseInt(l,10);o.includes("-")?h=h.padEnd(c):h=h.padStart(c)}i+=h,N===void 0&&n++;break}case"g":case"G":{let d=w!==void 0?Number(w):0;Number.isNaN(d)&&(d=0);let R=u?parseInt(u,10):6,h=d!==0?Math.floor(Math.log10(Math.abs(d))):0,c;if(d===0?c="0":h<-4||h>=R?(c=d.toExponential(R-1),O==="G"&&(c=c.toUpperCase())):c=d.toPrecision(R),c.includes(".")&&(c=c.replace(/\.?0+$/,"").replace(/\.?0+e/,"e")),c.includes("e")&&(c=c.replace(/\.?0+e/,"e")),l){let E=parseInt(l,10);o.includes("-")?c=c.padEnd(E):c=c.padStart(E)}i+=c,N===void 0&&n++;break}case"x":case"X":{let d=w!==void 0?Math.floor(Number(w)):0;Number.isNaN(d)&&(d=0);let R=Math.abs(d).toString(16);if(O==="X"&&(R=R.toUpperCase()),u){let E=parseInt(u,10);R=R.padStart(E,"0")}let h=d<0?"-":"",c=h+R;if(l){let E=parseInt(l,10);o.includes("-")?c=c.padEnd(E):o.includes("0")&&!u?c=h+R.padStart(E-h.length,"0"):c=c.padStart(E)}i+=c,N===void 0&&n++;break}case"o":{let d=w!==void 0?Math.floor(Number(w)):0;Number.isNaN(d)&&(d=0);let R=Math.abs(d).toString(8);if(u){let E=parseInt(u,10);R=R.padStart(E,"0")}let h=d<0?"-":"",c=h+R;if(l){let E=parseInt(l,10);o.includes("-")?c=c.padEnd(E):o.includes("0")&&!u?c=h+R.padStart(E-h.length,"0"):c=c.padStart(E)}i+=c,N===void 0&&n++;break}case"c":{typeof w=="number"?i+=String.fromCharCode(w):i+=String(w??"").charAt(0)||"",N===void 0&&n++;break}case"%":i+="%";break;default:i+=e.substring(s,a+1)}s=a+1}else if(e[s]==="\\"&&s+1<e.length){let a=e[s+1];switch(a){case"n":i+=`
|
|
6
6
|
`;break;case"t":i+=" ";break;case"r":i+="\r";break;case"\\":i+="\\";break;default:i+=a}s+=2}else i+=e[s++];return i}var ge=new Map([["length",We],["substr",Ve],["index",Ke],["split",Xe],["sub",qe],["gsub",ze],["match",je],["gensub",Qe],["tolower",Je],["toupper",Ze],["sprintf",Ye],["int",et],["sqrt",tt],["sin",nt],["cos",rt],["atan2",it],["log",st],["exp",at],["rand",ot],["srand",lt],["system",ut("system","shell execution not allowed in sandboxed environment")],["close",()=>0],["fflush",()=>0],["systime",ae("systime")],["mktime",ae("mktime")],["strftime",ae("strftime")]]);function b(e){return typeof e=="number"?e!==0:!(e===""||e==="0")}function g(e){if(typeof e=="number")return e;let t=parseFloat(e);return Number.isNaN(t)?0:t}function m(e){return typeof e=="string"?e:(Number.isInteger(e),String(e))}function oe(e){if(typeof e=="number")return!0;let t=String(e).trim();return t===""?!1:!Number.isNaN(Number(t))}function K(e,t){try{return v(e).test(t)}catch{return!1}}function Ae(e,t){return t===""?[]:e.FS===" "?t.trim().split(/\s+/).filter(Boolean):e.fieldSep.split(t)}function J(e,t){return t===0?e.line:t<0||t>e.fields.length?"":e.fields[t-1]??""}function le(e,t,n){if(t===0)e.line=m(n),e.fields=Ae(e,e.line),e.NF=e.fields.length;else if(t>0){for(;e.fields.length<t;)e.fields.push("");e.fields[t-1]=m(n),e.NF=e.fields.length,e.line=e.fields.join(e.OFS)}}function $(e,t){e.line=t,e.fields=Ae(e,t),e.NF=e.fields.length}function ve(e,t){if(e.FS=t,t===" ")e.fieldSep=new H(/\s+/);else try{e.fieldSep=v(t)}catch{e.fieldSep=v(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))}}function Z(e,t){switch(t){case"FS":return e.FS;case"OFS":return e.OFS;case"ORS":return e.ORS;case"OFMT":return e.OFMT;case"NR":return e.NR;case"NF":return e.NF;case"FNR":return e.FNR;case"FILENAME":return e.FILENAME;case"RSTART":return e.RSTART;case"RLENGTH":return e.RLENGTH;case"SUBSEP":return e.SUBSEP;case"ARGC":return e.ARGC}return e.vars[t]??""}function W(e,t,n){switch(t){case"FS":ve(e,m(n));return;case"OFS":e.OFS=m(n);return;case"ORS":e.ORS=m(n);return;case"OFMT":e.OFMT=m(n);return;case"NR":e.NR=Math.floor(g(n));return;case"NF":{let i=Math.floor(g(n));if(i<e.NF)e.fields=e.fields.slice(0,i),e.line=e.fields.join(e.OFS);else if(i>e.NF){for(;e.fields.length<i;)e.fields.push("");e.line=e.fields.join(e.OFS)}e.NF=i;return}case"FNR":e.FNR=Math.floor(g(n));return;case"FILENAME":e.FILENAME=m(n);return;case"RSTART":e.RSTART=Math.floor(g(n));return;case"RLENGTH":e.RLENGTH=Math.floor(g(n));return;case"SUBSEP":e.SUBSEP=m(n);return}e.vars[t]=n}function X(e,t){let n=t,i=new Set,s=e.arrayAliases.get(n);for(;s!==void 0&&!i.has(n);)i.add(n),n=s,s=e.arrayAliases.get(n);return n}function Y(e,t,n){if(t==="ARGV")return e.ARGV[n]??"";if(t==="ENVIRON")return e.ENVIRON[n]??"";let i=X(e,t);return e.arrays[i]?.[n]??""}function ue(e,t,n,i){let s=X(e,t);e.arrays[s]||(e.arrays[s]=Object.create(null)),e.arrays[s][n]=i}function Ie(e,t,n){if(t==="ARGV")return e.ARGV[n]!==void 0;if(t==="ENVIRON")return e.ENVIRON[n]!==void 0;let i=X(e,t);return e.arrays[i]?.[n]!==void 0}function ke(e,t,n){let i=X(e,t);e.arrays[i]&&delete e.arrays[i][n]}function Ce(e,t){let n=X(e,t);delete e.arrays[n]}var be=null;function Oe(e){be=e}function L(e,t){D(e.requireDefenseContext,"awk",t)}function S(e,t,n){return _(e.requireDefenseContext,"awk",t,n)}async function f(e,t){switch(L(e,"expression evaluation"),e.coverage?.hit(`awk:expr:${t.type}`),t.type){case"number":return t.value;case"string":return t.value;case"regex":return K(t.pattern,e.line)?1:0;case"field":return ct(e,t);case"variable":return Z(e,t.name);case"array_access":return ht(e,t);case"binary":return pt(e,t);case"unary":return Et(e,t);case"ternary":return b(await S(e,"ternary condition evaluation",()=>f(e,t.condition)))?await S(e,"ternary consequent evaluation",()=>f(e,t.consequent)):await S(e,"ternary alternate evaluation",()=>f(e,t.alternate));case"call":return Nt(e,t.name,t.args);case"assignment":return St(e,t);case"pre_increment":return mt(e,t.operand);case"pre_decrement":return wt(e,t.operand);case"post_increment":return Rt(e,t.operand);case"post_decrement":return gt(e,t.operand);case"in":return At(e,t.key,t.array);case"getline":return vt(e,t.variable,t.file,t.command);case"tuple":return Ct(e,t.elements);default:return""}}async function ct(e,t){L(e,"field reference evaluation");let n=Math.floor(g(await S(e,"field index evaluation",()=>f(e,t.index))));return J(e,n)}async function ht(e,t){L(e,"array access evaluation");let n=m(await S(e,"array key evaluation",()=>f(e,t.key)));return Y(e,t.array,n)}async function pt(e,t){L(e,"binary expression evaluation");let n=t.operator;if(n==="||")return b(await S(e,"logical-or left evaluation",()=>f(e,t.left)))||b(await S(e,"logical-or right evaluation",()=>f(e,t.right)))?1:0;if(n==="&&")return b(await S(e,"logical-and left evaluation",()=>f(e,t.left)))&&b(await S(e,"logical-and right evaluation",()=>f(e,t.right)))?1:0;if(n==="~"){let l=await S(e,"regex left evaluation",()=>f(e,t.left));t.right.type==="regex"&&e.coverage?.hit("awk:expr:regex");let u=t.right.type==="regex"?t.right.pattern:m(await S(e,"regex right evaluation",()=>f(e,t.right)));try{return v(u).test(m(l))?1:0}catch{return 0}}if(n==="!~"){let l=await S(e,"negated-regex left evaluation",()=>f(e,t.left));t.right.type==="regex"&&e.coverage?.hit("awk:expr:regex");let u=t.right.type==="regex"?t.right.pattern:m(await S(e,"negated-regex right evaluation",()=>f(e,t.right)));try{return v(u).test(m(l))?0:1}catch{return 1}}let i=await S(e,"binary left evaluation",()=>f(e,t.left)),s=await S(e,"binary right evaluation",()=>f(e,t.right));if(n===" "){let l=m(i)+m(s);if(e.maxOutputSize>0&&l.length>e.maxOutputSize)throw new P(`awk: string concatenation size limit exceeded (${e.maxOutputSize} bytes)`,"string_length",e.output);return l}if(ft(n))return dt(i,s,n);let a=g(i),o=g(s);return Ne(a,o,n)}function ft(e){return["<","<=",">",">=","==","!="].includes(e)}function dt(e,t,n){let i=oe(e),s=oe(t);if(i&&s){let l=g(e),u=g(t);switch(n){case"<":return l<u?1:0;case"<=":return l<=u?1:0;case">":return l>u?1:0;case">=":return l>=u?1:0;case"==":return l===u?1:0;case"!=":return l!==u?1:0}}let a=m(e),o=m(t);switch(n){case"<":return a<o?1:0;case"<=":return a<=o?1:0;case">":return a>o?1:0;case">=":return a>=o?1:0;case"==":return a===o?1:0;case"!=":return a!==o?1:0}return 0}async function Et(e,t){L(e,"unary expression evaluation");let n=await S(e,"unary operand evaluation",()=>f(e,t.operand));switch(t.operator){case"!":return b(n)?0:1;case"-":return-g(n);case"+":return+g(n);default:return n}}async function Nt(e,t,n){L(e,"function call evaluation");let i=ge.get(t);if(i)return i(n,e,{evalExpr:a=>f(e,a)});let s=e.functions.get(t);return s?yt(e,s,n):""}async function yt(e,t,n){if(L(e,"user function call"),e.currentRecursionDepth++,e.currentRecursionDepth>e.maxRecursionDepth)throw e.currentRecursionDepth--,new P(`awk: recursion depth exceeded maximum (${e.maxRecursionDepth})`,"recursion",e.output);let i=Object.create(null);for(let l of t.params)i[l]=e.vars[l];let s=[];for(let l=0;l<t.params.length;l++){let u=t.params[l];if(l<n.length){let N=n[l];N.type==="variable"&&(e.arrayAliases.set(u,N.name),s.push(u));let A=await S(e,"user function argument evaluation",()=>f(e,N));e.vars[u]=A}else e.vars[u]=""}e.hasReturn=!1,e.returnValue=void 0;let a=be;a&&await S(e,"user function body execution",()=>a(e,t.body.statements));let o=e.returnValue??"";for(let l of t.params)i[l]!==void 0?e.vars[l]=i[l]:delete e.vars[l];for(let l of s)e.arrayAliases.delete(l);return e.hasReturn=!1,e.returnValue=void 0,e.currentRecursionDepth--,o}async function St(e,t){L(e,"assignment evaluation");let n=await S(e,"assignment value evaluation",()=>f(e,t.value)),i=t.target,s=t.operator,a;if(s==="=")a=n;else{let o;if(i.type==="field"){let N=Math.floor(g(await S(e,"assignment field index",()=>f(e,i.index))));o=J(e,N)}else if(i.type==="variable")o=Z(e,i.name);else{let N=m(await S(e,"assignment array key",()=>f(e,i.key)));o=Y(e,i.array,N)}let l=g(o),u=g(n);switch(s){case"+=":a=l+u;break;case"-=":a=l-u;break;case"*=":a=l*u;break;case"/=":a=u!==0?l/u:0;break;case"%=":a=u!==0?l%u:0;break;case"^=":a=l**u;break;default:a=n}}if(i.type==="field"){let o=Math.floor(g(await S(e,"assignment target field index",()=>f(e,i.index))));le(e,o,a)}else if(i.type==="variable")W(e,i.name,a);else{let o=m(await S(e,"assignment target array key",()=>f(e,i.key)));ue(e,i.array,o,a)}return a}async function ee(e,t,n,i){L(e,"inc/dec evaluation");let s;if(t.type==="field"){let a=Math.floor(g(await S(e,"inc/dec field index",()=>f(e,t.index))));s=g(J(e,a)),le(e,a,s+n)}else if(t.type==="variable")s=g(Z(e,t.name)),W(e,t.name,s+n);else{let a=m(await S(e,"inc/dec array key",()=>f(e,t.key)));s=g(Y(e,t.array,a)),ue(e,t.array,a,s+n)}return i?s+n:s}async function mt(e,t){return ee(e,t,1,!0)}async function wt(e,t){return ee(e,t,-1,!0)}async function Rt(e,t){return ee(e,t,1,!1)}async function gt(e,t){return ee(e,t,-1,!1)}async function At(e,t,n){L(e,"in-expression evaluation");let i;if(t.type==="tuple"){e.coverage?.hit("awk:expr:tuple");let s=[];for(let a of t.elements)s.push(m(await S(e,"tuple key element evaluation",()=>f(e,a))));i=s.join(e.SUBSEP)}else i=m(await S(e,"in-expression key evaluation",()=>f(e,t)));return Ie(e,n,i)?1:0}async function vt(e,t,n,i){if(L(e,"getline evaluation"),i)return It(e,t,i);if(n)return kt(e,t,n);if(!e.lines||e.lineIndex===void 0)return-1;let s=e.lineIndex+1;if(s>=e.lines.length)return 0;let a=e.lines[s];return t?W(e,t,a):$(e,a),e.NR++,e.lineIndex=s,1}async function It(e,t,n){let i=e.exec;if(!i)return-1;L(e,"getline command source");let s=m(await S(e,"getline command expression",()=>f(e,n))),a=`__cmd_${s}`,o=`__cmdi_${s}`,l,u;if(e.vars[a]===void 0)try{let C=await S(e,"getline command exec",()=>i(s));l=z(C.stdout).split(`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{b as v}from"./chunk-
|
|
3
|
+
import{b as v}from"./chunk-DSS5HVJD.js";import{a as y}from"./chunk-PUSAQWLR.js";import{a as x,b as I,c as m}from"./chunk-MUFNRCMY.js";var T={name:"cut",summary:"remove sections from each line of files",usage:"cut [OPTION]... [FILE]...",options:["-c LIST select only these characters","-d DELIM use DELIM instead of TAB for field delimiter","-f LIST select only these fields","-s, --only-delimited do not print lines without delimiters"," --help display this help and exit"]};function b(s){let c=[],l=s.split(",");for(let n of l)if(n.includes("-")){let[t,r]=n.split("-");c.push({start:t?parseInt(t,10):1,end:r?parseInt(r,10):null})}else{let t=parseInt(n,10);c.push({start:t,end:t})}return c}function w(s,c){let l=[];for(let n of c){let t=n.start-1,r=n.end===null?s.length:n.end;for(let i=t;i<r&&i<s.length;i++)i>=0&&!l.includes(s[i])&&l.push(s[i])}return l}var E={name:"cut",async execute(s,c){if(I(s))return x(T);let l=" ",n=null,t=null,r=!1,i=[];for(let o=0;o<s.length;o++){let e=s[o];if(e==="-d")l=s[++o]||" ";else if(e.startsWith("-d"))l=e.slice(2);else if(e==="-f")n=s[++o];else if(e.startsWith("-f"))n=e.slice(2);else if(e==="-c")t=s[++o];else if(e.startsWith("-c"))t=e.slice(2);else if(e==="-s"||e==="--only-delimited")r=!0;else{if(e.startsWith("--"))return m("cut",e);if(e.startsWith("-")){let f=!1;for(let u of e.slice(1))if(u==="s")r=!0;else if(!"dfc".includes(u)){f=!0;break}if(f)return m("cut",e)}else i.push(e)}}if(!n&&!t)return{stdout:"",stderr:`cut: you must specify a list of bytes, characters, or fields
|
|
4
4
|
`,exitCode:1};let p=await v(c,i,{cmdName:"cut"});if(!p.ok)return p.error;let a=(t?y(p.content):p.content).split(`
|
|
5
5
|
`);a.length>0&&a[a.length-1]===""&&a.pop();let g=b(n||t||"1"),h="";for(let o of a)if(t){let e=Array.from(o),f=[];for(let u of g){let F=u.start-1,H=u.end===null?e.length:u.end;for(let d=F;d<H&&d<e.length;d++)d>=0&&f.push(e[d])}h+=`${f.join("")}
|
|
6
6
|
`}else{if(r&&!o.includes(l))continue;let e=o.split(l),f=w(e,g);h+=`${f.join(l)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{a as $}from"./chunk-3MRB66F4.js";import{a as v}from"./chunk-
|
|
3
|
+
import{a as $}from"./chunk-3MRB66F4.js";import{a as v}from"./chunk-PUSAQWLR.js";import{a as L,b as M,c as w}from"./chunk-MUFNRCMY.js";var N={name:"xargs",summary:"build and execute command lines from standard input",usage:"xargs [OPTION]... [COMMAND [INITIAL-ARGS]]",options:["-I REPLACE replace occurrences of REPLACE with input","-d DELIM use DELIM as input delimiter (e.g., -d '\\n' for newline)","-n NUM use at most NUM arguments per command line","-P NUM run at most NUM processes at a time","-0, --null items are separated by null, not whitespace","-t, --verbose print commands before executing","-r, --no-run-if-empty do not run command if input is empty"," --help display this help and exit"]},U={name:"xargs",async execute(l,i){if(M(l))return L(N);let m=null,g=null,c=null,o=null,h=!1,x=!1,y=!1,s=0;for(let e=0;e<l.length;e++){let t=l[e];if(t==="-I"&&e+1<l.length)m=l[++e],s=e+1;else if(t==="-d"&&e+1<l.length)g=l[++e].replace(/\\n/g,`
|
|
4
4
|
`).replace(/\\t/g," ").replace(/\\r/g,"\r").replace(/\\0/g,"\0").replace(/\\\\/g,"\\"),s=e+1;else if(t==="-n"&&e+1<l.length)c=parseInt(l[++e],10),s=e+1;else if(t==="-P"&&e+1<l.length)o=parseInt(l[++e],10),s=e+1;else if(t==="-0"||t==="--null")h=!0,s=e+1;else if(t==="-t"||t==="--verbose")x=!0,s=e+1;else if(t==="-r"||t==="--no-run-if-empty")y=!0,s=e+1;else{if(t.startsWith("--"))return w("xargs",t);if(t.startsWith("-")&&t.length>1){for(let n of t.slice(1))if(!"0tr".includes(n))return w("xargs",`-${n}`);t.includes("0")&&(h=!0),t.includes("t")&&(x=!0),t.includes("r")&&(y=!0),s=e+1}else if(!t.startsWith("-")){s=e;break}}}let a=l.slice(s);a.length===0&&a.push("echo");let C=v(i.stdin),r;if(h?r=C.split("\0").filter(e=>e.length>0):g!==null?r=C.replace(/\n$/,"").split(g).filter(t=>t.length>0):r=C.split(/\s+/).map(e=>e.trim()).filter(e=>e.length>0),r.length===0)return y?{stdout:"",stderr:"",exitCode:0}:{stdout:"",stderr:"",exitCode:0};let f="",u="",d=0,I=e=>/[\s"'\\$`!*?[\]{}();&|<>#]/.test(e)?`"${e.replace(/([\\"`$])/g,"\\$1")}"`:e,b=async e=>{if(x){let n=e.map(I).join(" ");u+=`${n}
|
|
5
5
|
`}return i.exec?i.exec($([e[0]]),{cwd:i.cwd,signal:i.signal,args:e.slice(1)}):{stdout:`${e.map(I).join(" ")}
|
|
6
6
|
`,stderr:"",exitCode:0}},A=async e=>{if(o!==null&&o>1)for(let t=0;t<e.length;t+=o){let n=e.slice(t,t+o),E=await Promise.all(n.map(b));for(let p of E)f+=p.stdout,u+=p.stderr,p.exitCode!==0&&(d=p.exitCode)}else for(let t of e){let n=await b(t);f+=n.stdout,u+=n.stderr,n.exitCode!==0&&(d=n.exitCode)}};if(m!==null){let e=r.map(t=>a.map(n=>n.replaceAll(m,t)));await A(e)}else if(c!==null){let e=[];for(let t=0;t<r.length;t+=c){let n=r.slice(t,t+c);e.push([...a,...n])}await A(e)}else{let e=[...a,...r],t=await b(e);f+=t.stdout,u+=t.stderr,d=t.exitCode}return{stdout:f,stderr:u,exitCode:d}}},O={name:"xargs",flags:[{flag:"-I",type:"value",valueHint:"string"},{flag:"-d",type:"value",valueHint:"delimiter"},{flag:"-n",type:"value",valueHint:"number"},{flag:"-0",type:"boolean"},{flag:"-t",type:"boolean"},{flag:"-r",type:"boolean"}],stdinType:"text"};export{U as a,O as b};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{b as O}from"./chunk-
|
|
3
|
+
import{b as O}from"./chunk-DSS5HVJD.js";import{a as F}from"./chunk-PUSAQWLR.js";import{a as N,b as w,c as k}from"./chunk-MUFNRCMY.js";var P=new Map([["",1],["k",1024],["m",1048576],["g",1073741824],["t",1099511627776],["p",0x4000000000000],["e",1152921504606847e3]]),D=new Map([["jan",1],["feb",2],["mar",3],["apr",4],["may",5],["jun",6],["jul",7],["aug",8],["sep",9],["oct",10],["nov",11],["dec",12]]);function x(u){let r=u.trim(),e=r.match(/^([+-]?\d*\.?\d+)\s*([kmgtpeKMGTPE])?[iI]?[bB]?$/);if(!e){let n=parseFloat(r);return Number.isNaN(n)?0:n}let l=parseFloat(e[1]),s=(e[2]||"").toLowerCase(),i=P.get(s)??1;return l*i}function M(u){let r=u.trim().toLowerCase().slice(0,3);return D.get(r)??0}function q(u,r){let e=u.split(/(\d+)/),l=r.split(/(\d+)/),s=Math.max(e.length,l.length);for(let i=0;i<s;i++){let n=e[i]||"",d=l[i]||"",o=/^\d+$/.test(n)?parseInt(n,10):null,c=/^\d+$/.test(d)?parseInt(d,10):null;if(o!==null&&c!==null){if(o!==c)return o-c}else if(n!==d)return n.localeCompare(d)}return 0}function L(u){return u.replace(/[^a-zA-Z0-9\s]/g,"")}function v(u,r,e){let l=e!==null?e:/\s+/,s=u.split(l),i=r.startField-1;if(i>=s.length)return"";if(r.endField===void 0){let o=s[i]||"";return r.startChar!==void 0&&(o=o.slice(r.startChar-1)),r.ignoreLeading&&(o=o.trimStart()),o}let n=Math.min(r.endField-1,s.length-1),d="";for(let o=i;o<=n&&o<s.length;o++){let c=s[o]||"";if(o===i&&r.startChar!==void 0&&(c=c.slice(r.startChar-1)),o===n&&r.endChar!==void 0){let t=o===i&&r.startChar!==void 0?r.endChar-r.startChar+1:r.endChar;c=c.slice(0,t)}o>i&&(d+=e||" "),d+=c}return r.ignoreLeading&&(d=d.trimStart()),d}function I(u,r,e){let l=u,s=r;if(e.dictionaryOrder&&(l=L(l),s=L(s)),e.ignoreCase&&(l=l.toLowerCase(),s=s.toLowerCase()),e.monthSort){let i=M(l),n=M(s);return i-n}if(e.humanNumeric){let i=x(l),n=x(s);return i-n}if(e.versionSort)return q(l,s);if(e.numeric){let i=parseFloat(l)||0,n=parseFloat(s)||0;return i-n}return l.localeCompare(s)}function B(u){let{keys:r,fieldDelimiter:e,numeric:l,ignoreCase:s,reverse:i,humanNumeric:n,versionSort:d,dictionaryOrder:o,monthSort:c,ignoreLeadingBlanks:t,stable:a}=u;return(f,C)=>{let g=f,b=C;if(t&&(g=g.trimStart(),b=b.trimStart()),r.length===0){let h=I(g,b,{numeric:l,ignoreCase:s,humanNumeric:n,versionSort:d,dictionaryOrder:o,monthSort:c});if(h!==0)return i?-h:h;if(!a){let p=f.localeCompare(C);return i?-p:p}return 0}for(let m of r){let h=v(g,m,e),p=v(b,m,e);m.ignoreLeading&&(h=h.trimStart(),p=p.trimStart());let V={numeric:m.numeric??l,ignoreCase:m.ignoreCase??s,humanNumeric:m.humanNumeric??n,versionSort:m.versionSort??d,dictionaryOrder:m.dictionaryOrder??o,monthSort:m.monthSort??c},A=m.reverse??i,S=I(h,p,V);if(S!==0)return A?-S:S}if(!a){let m=f.localeCompare(C);return i?-m:m}return 0}}function E(u,r){if(r.keys.length===0){if(r.ignoreCase){let s=new Set;return u.filter(i=>{let n=i.toLowerCase();return s.has(n)?!1:(s.add(n),!0)})}return[...new Set(u)]}let e=r.keys[0],l=new Set;return u.filter(s=>{let i=v(s,e,r.fieldDelimiter);return(e.ignoreCase??r.ignoreCase)&&(i=i.toLowerCase()),l.has(i)?!1:(l.add(i),!0)})}function y(u){let r={startField:1},e="",l=u,s=l.match(/([bdfhMnrV]+)$/);s&&(e=s[1],l=l.slice(0,-e.length)),e.includes("n")&&(r.numeric=!0),e.includes("r")&&(r.reverse=!0),e.includes("f")&&(r.ignoreCase=!0),e.includes("b")&&(r.ignoreLeading=!0),e.includes("h")&&(r.humanNumeric=!0),e.includes("V")&&(r.versionSort=!0),e.includes("d")&&(r.dictionaryOrder=!0),e.includes("M")&&(r.monthSort=!0);let i=l.split(",");if(i.length===0||i[0]==="")return null;let n=i[0].split("."),d=parseInt(n[0],10);if(Number.isNaN(d)||d<1)return null;if(r.startField=d,n.length>1&&n[1]){let o=parseInt(n[1],10);!Number.isNaN(o)&&o>=1&&(r.startChar=o)}if(i.length>1&&i[1]){let o=i[1],c=o.match(/([bdfhMnrV]+)$/);if(c){let a=c[1];a.includes("n")&&(r.numeric=!0),a.includes("r")&&(r.reverse=!0),a.includes("f")&&(r.ignoreCase=!0),a.includes("b")&&(r.ignoreLeading=!0),a.includes("h")&&(r.humanNumeric=!0),a.includes("V")&&(r.versionSort=!0),a.includes("d")&&(r.dictionaryOrder=!0),a.includes("M")&&(r.monthSort=!0),o=o.slice(0,-a.length)}let t=o.split(".");if(t[0]){let a=parseInt(t[0],10);if(!Number.isNaN(a)&&a>=1&&(r.endField=a),t.length>1&&t[1]){let f=parseInt(t[1],10);!Number.isNaN(f)&&f>=1&&(r.endChar=f)}}}return r}var H={name:"sort",summary:"sort lines of text files",usage:"sort [OPTION]... [FILE]...",options:["-b, --ignore-leading-blanks ignore leading blanks","-d, --dictionary-order consider only blanks and alphanumeric characters","-f, --ignore-case fold lower case to upper case characters","-h, --human-numeric-sort compare human readable numbers (e.g., 2K 1G)","-M, --month-sort compare (unknown) < 'JAN' < ... < 'DEC'","-n, --numeric-sort compare according to string numerical value","-r, --reverse reverse the result of comparisons","-V, --version-sort natural sort of (version) numbers within text","-c, --check check for sorted input; do not sort","-o, --output=FILE write result to FILE instead of stdout","-s, --stable stabilize sort by disabling last-resort comparison","-u, --unique output only unique lines","-k, --key=KEYDEF sort via a key; KEYDEF gives location and type","-t, --field-separator=SEP use SEP as field separator"," --help display this help and exit"],description:`KEYDEF is F[.C][OPTS][,F[.C][OPTS]]
|
|
4
4
|
F is a field number (1-indexed)
|
|
5
5
|
C is a character position within the field (1-indexed)
|
|
6
6
|
OPTS can be: b d f h M n r V (per-key modifiers)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{a as y}from"./chunk-
|
|
3
|
+
import{a as y}from"./chunk-PUSAQWLR.js";import{a as C}from"./chunk-NE4R2FVV.js";import{a as F,b as x}from"./chunk-MUFNRCMY.js";var H={name:"column",summary:"columnate lists",usage:"column [OPTION]... [FILE]...",description:"Format input into multiple columns. By default, fills rows first. Use -t to create a table based on whitespace-delimited input.",options:["-t Create a table (determine columns from input)","-s SEP Input field delimiter (default: whitespace)","-o SEP Output field delimiter (default: two spaces)","-c WIDTH Output width for fill mode (default: 80)","-n Don't merge multiple adjacent delimiters"],examples:["ls | column # Fill columns with ls output","cat data | column -t # Format as table","column -t -s ',' file # Format CSV as table","column -c 40 file # Fill 40-char wide columns"]},I={table:{short:"t",long:"table",type:"boolean"},separator:{short:"s",type:"string"},outputSep:{short:"o",type:"string"},width:{short:"c",type:"number",default:80},noMerge:{short:"n",type:"boolean"}};function v(t,e,o){return e?o?t.split(e):t.split(e).filter(n=>n.length>0):o?t.split(/[ \t]/):t.split(/[ \t]+/).filter(n=>n.length>0)}function T(t){let e=[];for(let o of t)for(let n=0;n<o.length;n++){let l=o[n].length;(e[n]===void 0||l>e[n])&&(e[n]=l)}return e}function W(t,e){if(t.length===0)return"";let o=T(t),n=[];for(let l of t){let c=[];for(let s=0;s<l.length;s++)s===l.length-1?c.push(l[s]):c.push(l[s].padEnd(o[s]));n.push(c.join(e))}return n.join(`
|
|
4
4
|
`)}function j(t,e,o){if(t.length===0)return"";let n=Math.max(...t.map(a=>a.length)),l=o.length,c=n+l,s=Math.max(1,Math.floor((e+l)/c)),p=Math.ceil(t.length/s),d=[];for(let a=0;a<p;a++){let i=[];for(let r=0;r<s;r++){let m=r*p+a;m<t.length&&(r===s-1||(r+1)*p+a>=t.length?i.push(t[m]):i.push(t[m].padEnd(n)))}d.push(i.join(o))}return d.join(`
|
|
5
5
|
`)}var S={name:"column",execute:async(t,e)=>{if(x(t))return F(H);let o=C("column",t,I);if(!o.ok)return o.error;let{table:n,separator:l,outputSep:c,width:s,noMerge:p}=o.result.flags,d=o.result.positional,a=c??" ",i;if(d.length===0)i=y(e.stdin)??"";else{let u=[];for(let f of d)if(f==="-")u.push(y(e.stdin)??"");else{let w=e.fs.resolvePath(e.cwd,f),b=await e.fs.readFile(w);if(b===null)return{exitCode:1,stdout:"",stderr:`column: ${f}: No such file or directory
|
|
6
6
|
`};u.push(b)}i=u.join("")}if(i===""||i.trim()==="")return{exitCode:0,stdout:"",stderr:""};let r=i.split(`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{b as m}from"./chunk-
|
|
3
|
+
import{b as m}from"./chunk-DSS5HVJD.js";import{a as d}from"./chunk-PUSAQWLR.js";import{a as y}from"./chunk-NE4R2FVV.js";import{a as f,b as g}from"./chunk-MUFNRCMY.js";var T={name:"uniq",summary:"report or omit repeated lines",usage:"uniq [OPTION]... [INPUT [OUTPUT]]",options:["-c, --count prefix lines by the number of occurrences","-d, --repeated only print duplicate lines","-i, --ignore-case ignore case when comparing","-u, --unique only print unique lines"," --help display this help and exit"]},w={count:{short:"c",long:"count",type:"boolean"},duplicatesOnly:{short:"d",long:"repeated",type:"boolean"},uniqueOnly:{short:"u",long:"unique",type:"boolean"},ignoreCase:{short:"i",long:"ignore-case",type:"boolean"}},$={name:"uniq",async execute(p,h){if(g(p))return f(T);let o=y("uniq",p,w);if(!o.ok)return o.error;let{count:q,duplicatesOnly:b,uniqueOnly:C,ignoreCase:a}=o.result.flags,x=o.result.positional,r=await m(h,x,{cmdName:"uniq"});if(!r.ok)return r.error;let t=(a?d(r.content):r.content).split(`
|
|
4
4
|
`);if(t.length>0&&t[t.length-1]===""&&t.pop(),t.length===0)return{stdout:"",stderr:"",exitCode:0};let n=[],i=t[0],s=1,O=(e,u)=>a?e.toLowerCase()===u.toLowerCase():e===u;for(let e=1;e<t.length;e++)O(t[e],i)?s++:(n.push({line:i,count:s}),i=t[e],s=1);n.push({line:i,count:s});let c=n;b?c=n.filter(e=>e.count>1):C&&(c=n.filter(e=>e.count===1));let l="";for(let{line:e,count:u}of c)q?l+=`${String(u).padStart(4)} ${e}
|
|
5
5
|
`:l+=`${e}
|
|
6
6
|
`;return a?{stdout:l,stderr:"",exitCode:0}:{stdout:l,stderr:"",exitCode:0,stdoutKind:"bytes",stdoutEncoding:"binary"}}},k={name:"uniq",flags:[{flag:"-c",type:"boolean"},{flag:"-d",type:"boolean"},{flag:"-u",type:"boolean"},{flag:"-i",type:"boolean"}],stdinType:"text",needsFiles:!0};export{$ as a,k as b};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
+
var a=new TextDecoder("utf-8",{fatal:!0}),y=new TextEncoder;function h(t){let e=t;if(!e)return e;let n=!1,r=!1;for(let o=0;o<e.length;o++){let u=e.charCodeAt(o);u>255?r=!0:u>127&&(n=!0)}if(!n)return e;let i=[],s=new TextEncoder;for(let o=0;o<e.length;o++){let u=e.charCodeAt(o);if(u>255){let d=s.encode(e[o]);for(let c=0;c<d.length;c++)i.push(d[c])}else i.push(u)}let f=new Uint8Array(i);try{return a.decode(f)}catch{return e}}function x(t){if(!t)return t;let e=y.encode(t),n="";for(let r=0;r<e.length;r++)n+=String.fromCharCode(e[r]);return n}var B="";function l(t){let e="";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e}async function g(t,e){return typeof t.readFileBytes=="function"?t.readFileBytes(e):l(await t.readFileBuffer(e))}function p(t){return t.stdoutKind?t.stdoutKind:t.stdoutEncoding==="binary"?"bytes":"text"}function b(t){return p(t)==="bytes"?t.stdout:x(t.stdout)}export{h as a,x as b,B as c,g as d,b as e};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{a as j}from"./chunk-MNWK4UIM.js";import{a as y}from"./chunk-
|
|
3
|
+
import{a as j}from"./chunk-MNWK4UIM.js";import{a as y}from"./chunk-PUSAQWLR.js";import{e as v}from"./chunk-LNVSXNT7.js";var w=v(j(),1);function C(){return Object.create(null)}function E(e,r,o){e[r]=o}function b(e){let r=C();for(let o of Object.keys(e)){let s=e[o];(typeof s=="string"||typeof s=="number"||typeof s=="boolean"||s===null)&&(r[o]=s)}return r}function S(e){let r=w.default.parse(e.trim(),{header:!0,dynamicTyping:!0,skipEmptyLines:!0}),o=r.data.map(s=>b(s));return{headers:r.meta.fields||[],data:o}}function I(e,r){return r.length===0?`${e.join(",")}
|
|
4
4
|
`:`${w.default.unparse(r,{columns:e}).replace(/\r\n/g,`
|
|
5
5
|
`)}
|
|
6
6
|
`}async function g(e,r){let o=e.find(p=>!p.startsWith("-")),s;if(!o||o==="-")s=y(r.stdin);else try{let p=r.fs.resolvePath(r.cwd,o);s=await r.fs.readFile(p)}catch{return{headers:[],data:[],error:{stdout:"",stderr:`xan: ${o}: No such file or directory
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{a as f}from"./chunk-
|
|
3
|
+
import{a as f}from"./chunk-PUSAQWLR.js";import{a,b as c,c as d}from"./chunk-MUFNRCMY.js";var u={name:"rev",summary:"reverse lines characterwise",usage:"rev [file ...]",description:"Copies the specified files to standard output, reversing the order of characters in every line. If no files are specified, standard input is read.",examples:["echo 'hello' | rev # Output: olleh","rev file.txt # Reverse each line in file"]};function p(r){return Array.from(r).reverse().join("")}var g={name:"rev",execute:async(r,s)=>{if(c(r))return a(u);let o=[];for(let e of r)if(e==="--"){let t=r.indexOf(e);o.push(...r.slice(t+1));break}else{if(e.startsWith("-")&&e!=="-")return d("rev",e);o.push(e)}let n="",l=e=>{let t=e.split(`
|
|
4
4
|
`),i=e.endsWith(`
|
|
5
5
|
`)&&t[t.length-1]==="";return i&&t.pop(),t.map(p).join(`
|
|
6
6
|
`)+(i?`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{a as U}from"./chunk-
|
|
3
|
+
import{a as U}from"./chunk-PUSAQWLR.js";import{a as $,b as F,c as k}from"./chunk-MUFNRCMY.js";var L=new Map([["sha1","SHA-1"],["sha256","SHA-256"]]);function D(n){function h(r,u){return r<<u|r>>>32-u}let g=new Uint32Array([3614090360,3905402710,606105819,3250441966,4118548399,1200080426,2821735955,4249261313,1770035416,2336552879,4294925233,2304563134,1804603682,4254626195,2792965006,1236535329,4129170786,3225465664,643717713,3921069994,3593408605,38016083,3634488961,3889429448,568446438,3275163606,4107603335,1163531501,2850285829,4243563512,1735328473,2368359562,4294588738,2272392833,1839030562,4259657740,2763975236,1272893353,4139469664,3200236656,681279174,3936430074,3572445317,76029189,3654602809,3873151461,530742520,3299628645,4096336452,1126891415,2878612391,4237533241,1700485571,2399980690,4293915773,2240044497,1873313359,4264355552,2734768916,1309151649,4149444226,3174756917,718787259,3951481745]),A=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],b=n.length*8,c=(n.length%64<56?56:120)-n.length%64,s=new Uint8Array(n.length+c+8);s.set(n),s[n.length]=128;let d=new DataView(s.buffer);d.setUint32(s.length-8,b>>>0,!0),d.setUint32(s.length-4,Math.floor(b/4294967296),!0);let w=1732584193,l=4023233417,p=2562383102,e=271733878;for(let r=0;r<s.length;r+=64){let u=new Uint32Array(16);for(let t=0;t<16;t++)u[t]=d.getUint32(r+t*4,!0);let m=w,a=l,x=p,o=e;for(let t=0;t<64;t++){let i,y;t<16?(i=a&x|~a&o,y=t):t<32?(i=o&a|~o&x,y=(5*t+1)%16):t<48?(i=a^x^o,y=(3*t+5)%16):(i=x^(a|~o),y=7*t%16),i=i+m+g[t]+u[y]>>>0,m=o,o=x,x=a,a=a+h(i,A[t])>>>0}w=w+m>>>0,l=l+a>>>0,p=p+x>>>0,e=e+o>>>0}let f=new Uint8Array(16);return new DataView(f.buffer).setUint32(0,w,!0),new DataView(f.buffer).setUint32(4,l,!0),new DataView(f.buffer).setUint32(8,p,!0),new DataView(f.buffer).setUint32(12,e,!0),Array.from(f).map(r=>r.toString(16).padStart(2,"0")).join("")}async function C(n,h){if(n==="md5")return D(h);let g=L.get(n);if(!g)throw new Error(`Unknown algorithm: ${n}`);let A=await globalThis.crypto.subtle.digest(g,new Uint8Array(h).buffer);return Array.from(new Uint8Array(A)).map(b=>b.toString(16).padStart(2,"0")).join("")}function I(n,h,g){let A={name:n,summary:g,usage:`${n} [OPTION]... [FILE]...`,options:["-c, --check read checksums from FILEs and check them"," --help display this help and exit"]};return{name:n,async execute(b,c){if(F(b))return $(A);let s=!1,d=[];for(let e of b)if(e==="-c"||e==="--check")s=!0;else if(!(e==="-b"||e==="-t"||e==="--binary"||e==="--text")){if(e.startsWith("-")&&e!=="-")return k(n,e);d.push(e)}d.length===0&&d.push("-");let w=async e=>{if(e==="-")return Uint8Array.from(c.stdin,f=>f.charCodeAt(0));try{return await c.fs.readFileBuffer(c.fs.resolvePath(c.cwd,e))}catch{return null}};if(s){let e=0,f="";for(let r of d){let u=r==="-"?U(c.stdin):await c.fs.readFile(c.fs.resolvePath(c.cwd,r)).catch(()=>null);if(u===null)return{stdout:"",stderr:`${n}: ${r}: No such file or directory
|
|
4
4
|
`,exitCode:1};for(let m of u.split(`
|
|
5
5
|
`)){let a=m.match(/^([a-fA-F0-9]+)\s+[* ]?(.+)$/);if(!a)continue;let[,x,o]=a,t=await w(o);if(t===null){f+=`${o}: FAILED open or read
|
|
6
6
|
`,e++;continue}let i=await C(h,t)===x.toLowerCase();f+=`${o}: ${i?"OK":"FAILED"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import{createRequire} from"node:module";const require=createRequire(import.meta.url);
|
|
3
|
-
import{a as s}from"./chunk-
|
|
3
|
+
import{a as s}from"./chunk-TO6JCMLQ.js";var a=s("sha1sum","sha1","compute SHA1 message digest"),m={name:"sha1sum",flags:[{flag:"-c",type:"boolean"}],needsFiles:!0};export{a,m as b};
|