@hostclubeos/miraos 0.0.1-beta → 0.0.5-beta
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/bundled/app-store-compliance/SKILL.md +58 -0
- package/bundled/bug-hunter/NOTICE +17 -0
- package/bundled/bug-hunter/SKILL.md +65 -0
- package/bundled/superpowers/NOTICE +11 -0
- package/bundled/superpowers/SKILL.md +43 -0
- package/bundled/superpowers/references/brainstorming/SKILL.md +316 -0
- package/bundled/superpowers/references/brainstorming/builder-check-prompt.md +23 -0
- package/bundled/superpowers/references/brainstorming/scripts/frame-template.html +213 -0
- package/bundled/superpowers/references/brainstorming/scripts/helper.js +167 -0
- package/bundled/superpowers/references/brainstorming/scripts/server.cjs +723 -0
- package/bundled/superpowers/references/brainstorming/scripts/start-server.sh +216 -0
- package/bundled/superpowers/references/brainstorming/scripts/stop-server.sh +120 -0
- package/bundled/superpowers/references/brainstorming/visual-companion.md +299 -0
- package/bundled/superpowers/references/diagnosing-superpowers/SKILL.md +120 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/analyst-common.md +38 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/cost-and-time.md +28 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/plan-adherence.md +29 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/quality-evidence.md +26 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/repeated-work.md +30 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/request-conflicts.md +20 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/scrub-audit.md +33 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/scrub.md +29 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/similar-session.md +38 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/skill-timeline.md +30 -0
- package/bundled/superpowers/references/diagnosing-superpowers/prompts/stumbles.md +28 -0
- package/bundled/superpowers/references/diagnosing-superpowers/references/context-safety.md +22 -0
- package/bundled/superpowers/references/diagnosing-superpowers/references/github-issues.md +47 -0
- package/bundled/superpowers/references/diagnosing-superpowers/references/redaction-policy.md +34 -0
- package/bundled/superpowers/references/diagnosing-superpowers/references/session-discovery.md +31 -0
- package/bundled/superpowers/references/diagnosing-superpowers/templates/bundle-README.md +77 -0
- package/bundled/superpowers/references/diagnosing-superpowers/templates/case.md +64 -0
- package/bundled/superpowers/references/diagnosing-superpowers/templates/issue.md +70 -0
- package/bundled/superpowers/references/diagnosing-superpowers/templates/report.md +82 -0
- package/bundled/superpowers/references/dispatching-parallel-agents/SKILL.md +167 -0
- package/bundled/superpowers/references/executing-plans/SKILL.md +323 -0
- package/bundled/superpowers/references/executing-plans/scripts/task-done +55 -0
- package/bundled/superpowers/references/executing-plans/scripts/task-start +32 -0
- package/bundled/superpowers/references/finishing-a-development-branch/SKILL.md +225 -0
- package/bundled/superpowers/references/receiving-code-review/SKILL.md +205 -0
- package/bundled/superpowers/references/requesting-code-review/SKILL.md +95 -0
- package/bundled/superpowers/references/requesting-code-review/code-reviewer.md +198 -0
- package/bundled/superpowers/references/subagent-driven-development/SKILL.md +339 -0
- package/bundled/superpowers/references/subagent-driven-development/implementer-prompt.md +154 -0
- package/bundled/superpowers/references/subagent-driven-development/re-review-prompt.md +116 -0
- package/bundled/superpowers/references/subagent-driven-development/references/batching.md +11 -0
- package/bundled/superpowers/references/subagent-driven-development/references/cannot-verify.md +10 -0
- package/bundled/superpowers/references/subagent-driven-development/references/final-review.md +49 -0
- package/bundled/superpowers/references/subagent-driven-development/references/fix-loop.md +77 -0
- package/bundled/superpowers/references/subagent-driven-development/references/handling-reports.md +15 -0
- package/bundled/superpowers/references/subagent-driven-development/references/preflight.md +26 -0
- package/bundled/superpowers/references/subagent-driven-development/references/resuming.md +12 -0
- package/bundled/superpowers/references/subagent-driven-development/scripts/review-package +64 -0
- package/bundled/superpowers/references/subagent-driven-development/scripts/sdd-repo +54 -0
- package/bundled/superpowers/references/subagent-driven-development/scripts/sdd-workspace +110 -0
- package/bundled/superpowers/references/subagent-driven-development/scripts/task-brief +108 -0
- package/bundled/superpowers/references/subagent-driven-development/task-reviewer-prompt.md +209 -0
- package/bundled/superpowers/references/systematic-debugging/SKILL.md +283 -0
- package/bundled/superpowers/references/systematic-debugging/condition-based-waiting-example.ts +159 -0
- package/bundled/superpowers/references/systematic-debugging/condition-based-waiting.md +115 -0
- package/bundled/superpowers/references/systematic-debugging/defense-in-depth.md +122 -0
- package/bundled/superpowers/references/systematic-debugging/find-polluter.sh +72 -0
- package/bundled/superpowers/references/systematic-debugging/root-cause-tracing.md +169 -0
- package/bundled/superpowers/references/test-driven-development/SKILL.md +330 -0
- package/bundled/superpowers/references/test-driven-development/writing-good-tests.md +198 -0
- package/bundled/superpowers/references/using-git-worktrees/SKILL.md +167 -0
- package/bundled/superpowers/references/using-superpowers/SKILL.md +65 -0
- package/bundled/superpowers/references/using-superpowers/references/antigravity-tools.md +23 -0
- package/bundled/superpowers/references/using-superpowers/references/claude-code-tools.md +29 -0
- package/bundled/superpowers/references/using-superpowers/references/codex-tools.md +108 -0
- package/bundled/superpowers/references/using-superpowers/references/gemini-tools.md +63 -0
- package/bundled/superpowers/references/using-superpowers/references/hermes-tools.md +56 -0
- package/bundled/superpowers/references/using-superpowers/references/muse-tools.md +35 -0
- package/bundled/superpowers/references/using-superpowers/references/pi-tools.md +16 -0
- package/bundled/superpowers/references/verification-before-completion/SKILL.md +120 -0
- package/bundled/superpowers/references/writing-plans/SKILL.md +204 -0
- package/bundled/superpowers/references/writing-skills/SKILL.md +399 -0
- package/bundled/superpowers/references/writing-skills/references/CLAUDE_MD_TESTING.md +189 -0
- package/bundled/superpowers/references/writing-skills/references/anthropic-best-practices.md +1150 -0
- package/bundled/superpowers/references/writing-skills/references/bulletproofing.md +80 -0
- package/bundled/superpowers/references/writing-skills/references/discovery.md +201 -0
- package/bundled/superpowers/references/writing-skills/references/flowcharts.md +37 -0
- package/bundled/superpowers/references/writing-skills/references/graphviz-conventions.dot +172 -0
- package/bundled/superpowers/references/writing-skills/references/persuasion-principles.md +187 -0
- package/bundled/superpowers/references/writing-skills/references/testing-skills-with-subagents.md +384 -0
- package/bundled/superpowers/references/writing-skills/render-graphs.js +169 -0
- package/bundled/swarm/SKILL.md +47 -0
- package/chunks/{MaxSizedBox-4XZJGJCR.js → MaxSizedBox-CBUPHLMW.js} +1 -1
- package/chunks/{StandaloneSessionPicker-YUWFI6WT.js → StandaloneSessionPicker-EXZJQKTK.js} +1 -1
- package/chunks/{acp-subagent-executor-7BGJRBWA.js → acp-subagent-executor-BMIXP52W.js} +1 -1
- package/chunks/{acpAgent-DO3DYSKS.js → acpAgent-UHWDA3W7.js} +3 -3
- package/chunks/{advisor-ZMSGPCRF.js → advisor-5RUG3VFZ.js} +1 -1
- package/chunks/{agent-ZMZLTEBG.js → agent-SGQ7AEZI.js} +1 -1
- package/chunks/{agent-headless-5COOZKMA.js → agent-headless-ZGCZ2DA7.js} +1 -1
- package/chunks/{agent-host-client-L2ROWXVT.js → agent-host-client-HY5GPSHM.js} +1 -1
- package/chunks/{agent-host-connections-A4UGANXV.js → agent-host-connections-KGTBS37X.js} +1 -1
- package/chunks/{autofix-pr-N3M7IGHT.js → autofix-pr-E62FC67X.js} +1 -1
- package/chunks/{autofix-pr-VWZPABZQ.js → autofix-pr-TRI4NMYI.js} +1 -1
- package/chunks/{batch-RTO7FWGG.js → batch-OUC6FGCQ.js} +1 -1
- package/chunks/{bridge-ZZ2GF4DM.js → bridge-FLEIBB5V.js} +1 -1
- package/chunks/{bwrap-execution-6NIUP47A.js → bwrap-execution-VLHJWP4O.js} +1 -1
- package/chunks/{channel-settings-store-Y5HXLPQF.js → channel-settings-store-QG6HREVH.js} +1 -1
- package/chunks/{chunk-FXFSZ7QF.js → chunk-23543L6E.js} +1 -1
- package/chunks/{chunk-NM5TUAPJ.js → chunk-2GVKPBW5.js} +1 -1
- package/chunks/{chunk-DPKN7TSL.js → chunk-2QYFSBJY.js} +1 -1
- package/chunks/{chunk-NMB6IBA7.js → chunk-2TDRP3IX.js} +1 -1
- package/chunks/{chunk-ZE5YXIAJ.js → chunk-2VW4HXVF.js} +1 -1
- package/chunks/{chunk-FQXNP7EE.js → chunk-2ZWVSKPK.js} +1 -1
- package/chunks/{chunk-SBFKWNC3.js → chunk-3GJ56V2J.js} +1 -1
- package/chunks/{chunk-7JU5ZJJ7.js → chunk-3KFLO5W3.js} +1 -1
- package/chunks/{chunk-P4ZCOMZS.js → chunk-3MBYQYPC.js} +1 -1
- package/chunks/{chunk-FHGGT7VE.js → chunk-4346FNTB.js} +1 -1
- package/chunks/{chunk-IKQHFQ74.js → chunk-4GNHXVJZ.js} +1 -1
- package/chunks/{chunk-2FD2BYUZ.js → chunk-4IVYVCCU.js} +3 -3
- package/chunks/{chunk-ZEIWENJU.js → chunk-4KIFAVR2.js} +1 -1
- package/chunks/{chunk-YSWDQYJU.js → chunk-4MGTY3CJ.js} +1 -1
- package/chunks/{chunk-3LS3HVJA.js → chunk-4WYKHP7Q.js} +1 -1
- package/chunks/{chunk-MWGGXT4P.js → chunk-56PVVXUG.js} +1 -1
- package/chunks/{chunk-J4KLD52D.js → chunk-62DMHXLL.js} +1 -1
- package/chunks/{chunk-TALEJQWF.js → chunk-66DZADDA.js} +1 -1
- package/chunks/{chunk-GOEBFMO2.js → chunk-6RDYPRV6.js} +1 -1
- package/chunks/{chunk-5HNCGRMZ.js → chunk-724YPZRX.js} +1 -1
- package/chunks/{chunk-HA6K73R7.js → chunk-744QTJR2.js} +2 -2
- package/chunks/{chunk-SCQWVHLA.js → chunk-7F5IYTVE.js} +1 -1
- package/chunks/{chunk-TDM5PKRC.js → chunk-7VP4KALB.js} +1 -1
- package/chunks/{chunk-QWOBTVIO.js → chunk-7W5DOBKY.js} +1 -1
- package/chunks/{chunk-UL5A63VS.js → chunk-AE6E2YKY.js} +1 -1
- package/chunks/{chunk-J2DA7XAM.js → chunk-AIAYQAPA.js} +1 -1
- package/chunks/{chunk-3XFUS57Z.js → chunk-AIGBQN6R.js} +1 -1
- package/chunks/{chunk-BVYNPYGP.js → chunk-AJ75BPTA.js} +6 -1
- package/chunks/{chunk-LEZ3AZJI.js → chunk-ATVRF62A.js} +1 -1
- package/chunks/{chunk-DW4HTZVZ.js → chunk-BX3KM7OK.js} +1 -1
- package/chunks/{chunk-4UVQYN33.js → chunk-CUY6CVSL.js} +1 -1
- package/chunks/{chunk-RRXNG7AI.js → chunk-D3QZNIFB.js} +6 -6
- package/chunks/{chunk-5PZ4EFXH.js → chunk-D3YOXHQF.js} +1 -1
- package/chunks/{chunk-L66KXTVG.js → chunk-DABLVQXV.js} +1 -1
- package/chunks/{chunk-6AA5DYMC.js → chunk-DMM5LJWL.js} +2 -2
- package/chunks/{chunk-TWCQNRBQ.js → chunk-DNYXZVBT.js} +1 -1
- package/chunks/{chunk-HCIFQTQ4.js → chunk-E6LRCLLE.js} +2 -2
- package/chunks/{chunk-L44CUCID.js → chunk-EF3HUB7S.js} +1 -1
- package/chunks/{chunk-WQEJL3HN.js → chunk-EW3EVEYN.js} +1 -1
- package/chunks/{chunk-RMATGKAM.js → chunk-FC7SJIAS.js} +1 -1
- package/chunks/{chunk-4NQCOITC.js → chunk-FK5L2WVV.js} +1 -1
- package/chunks/{chunk-EMRZ722U.js → chunk-FRADUGRC.js} +1 -1
- package/chunks/{chunk-T2O3JMRH.js → chunk-FS67DOZQ.js} +1 -1
- package/chunks/{chunk-27MEJGPT.js → chunk-FXANOHXI.js} +5 -5
- package/chunks/{chunk-VCLKQDTV.js → chunk-GLQWA4W2.js} +1 -1
- package/chunks/{chunk-STPD3MIX.js → chunk-GOZ5FAUV.js} +1 -1
- package/chunks/{chunk-POX6TDCX.js → chunk-GTQULDIL.js} +1 -1
- package/chunks/{chunk-SR6MFJYO.js → chunk-GY4ID3EB.js} +1 -1
- package/chunks/{chunk-IJDGB3GP.js → chunk-H65ZVST6.js} +1 -1
- package/chunks/{chunk-6MWOHNU7.js → chunk-HASJX2YS.js} +1 -1
- package/chunks/{chunk-TJVI2L24.js → chunk-HSN5QUS7.js} +1 -1
- package/chunks/{chunk-7A42KF7G.js → chunk-HZ4L4MDM.js} +1 -1
- package/chunks/{chunk-WXVU3W2Q.js → chunk-IC42HQCH.js} +1 -1
- package/chunks/{chunk-NSA4ZO4V.js → chunk-IF3SWUYT.js} +1 -1
- package/chunks/{chunk-AGVUBA2V.js → chunk-J773THNP.js} +1 -1
- package/chunks/{chunk-ETYFIFMT.js → chunk-JDHMSERR.js} +1 -1
- package/chunks/{chunk-GNJTCOX3.js → chunk-JIQVUYBI.js} +1 -1
- package/chunks/{chunk-F5LMCQ2K.js → chunk-JJDF5FHA.js} +1 -1
- package/chunks/{chunk-TSI3G7JM.js → chunk-JQOLNQQN.js} +1 -1
- package/chunks/{chunk-ERUWCPGL.js → chunk-JQYPRANX.js} +1 -1
- package/chunks/{chunk-IW5GJAOR.js → chunk-K7KY7FIB.js} +1 -1
- package/chunks/{chunk-P2CUOX2Q.js → chunk-K7VOBDFT.js} +1 -1
- package/chunks/{chunk-SNGI5OD7.js → chunk-KK6SQPYG.js} +1 -1
- package/chunks/{chunk-HVAOQB42.js → chunk-KNW2OD46.js} +1 -1
- package/chunks/{chunk-GQSVGUOU.js → chunk-KP77CL5U.js} +1 -1
- package/chunks/{chunk-G6EIN5FW.js → chunk-KYK53GFP.js} +1 -1
- package/chunks/{chunk-432LPP2J.js → chunk-MQWKOOSR.js} +1 -1
- package/chunks/{chunk-XMIUDKGO.js → chunk-MUS4ADP7.js} +2 -2
- package/chunks/{chunk-IVHSWYWP.js → chunk-MYS5NQXO.js} +1 -1
- package/chunks/{chunk-FCOVJQX7.js → chunk-N4RIISOE.js} +1 -1
- package/chunks/{chunk-FCB7X7TI.js → chunk-NCBA52SB.js} +1 -1
- package/chunks/{chunk-GNV3UOVR.js → chunk-NGH27AWP.js} +1 -1
- package/chunks/{chunk-YM7CPT6W.js → chunk-NKWATWMD.js} +2 -2
- package/chunks/{chunk-R4HUU27E.js → chunk-NVD63O5H.js} +1 -1
- package/chunks/{chunk-WNT3ND65.js → chunk-NYM67KKZ.js} +2 -2
- package/chunks/{chunk-F6MHDBMX.js → chunk-O6Z3KO6R.js} +1 -1
- package/chunks/{chunk-RPMW55YH.js → chunk-OV2J3OED.js} +1 -1
- package/chunks/{chunk-RGOWOT3Z.js → chunk-P42MFWO2.js} +1 -1
- package/chunks/{chunk-XREDCQA5.js → chunk-P5543CFV.js} +1 -1
- package/chunks/{chunk-RHFRL6CB.js → chunk-PFECH6U6.js} +1 -1
- package/chunks/{chunk-3SQ76U4F.js → chunk-PFKTTUGS.js} +6 -6
- package/chunks/{chunk-XU5D2FKZ.js → chunk-PGKFDR73.js} +1 -1
- package/chunks/{chunk-LTUKVA3O.js → chunk-PQOQONLN.js} +1 -1
- package/chunks/{chunk-E7PL6EYK.js → chunk-PVHBBTAU.js} +1 -1
- package/chunks/{chunk-SKLO2WHR.js → chunk-PXBJPUGN.js} +1 -1
- package/chunks/{chunk-BCY6VYWQ.js → chunk-QEIX42MZ.js} +1 -1
- package/chunks/{chunk-MEUP65FI.js → chunk-QTCO5I4C.js} +1 -1
- package/chunks/{chunk-3KM4JL4Y.js → chunk-RBA3TP7L.js} +1 -1
- package/chunks/{chunk-R3H2AN4X.js → chunk-RKFNQQNA.js} +1 -1
- package/chunks/{chunk-RBYRJBQV.js → chunk-RNPVWQ3V.js} +1 -1
- package/chunks/{chunk-G7KBHT53.js → chunk-RRMTSVGU.js} +1 -1
- package/chunks/{chunk-W5YMSMZG.js → chunk-RWFOQXPU.js} +1 -1
- package/chunks/{chunk-R32F7IAM.js → chunk-SCHCTQCG.js} +1 -1
- package/chunks/{chunk-MC47YWMG.js → chunk-SHKSVOTG.js} +1 -1
- package/chunks/{chunk-YPG2SMZS.js → chunk-SK3QOQR4.js} +1 -1
- package/chunks/{chunk-5SFSOCHV.js → chunk-T3A53XMM.js} +1 -1
- package/chunks/{chunk-3SCCBDDE.js → chunk-T5PDEAU5.js} +1 -1
- package/chunks/{chunk-PIHZPQYO.js → chunk-T5XGTSQU.js} +1 -1
- package/chunks/{chunk-J4SZAKAX.js → chunk-TFITRCIC.js} +1 -1
- package/chunks/{chunk-THO23XWK.js → chunk-TLZM3DMY.js} +1 -1
- package/chunks/{chunk-Y6PDX4C4.js → chunk-TU5QHOJC.js} +1 -1
- package/chunks/{chunk-FFE5LIA6.js → chunk-TWJ4XBED.js} +1 -1
- package/chunks/{chunk-K6I2EP3G.js → chunk-UNJYVYTC.js} +1 -1
- package/chunks/{chunk-KSWZ6FTA.js → chunk-UOYXBAN7.js} +1 -1
- package/chunks/{chunk-GGXMABF2.js → chunk-USR2Y7B3.js} +1 -1
- package/chunks/{chunk-6O6IED5M.js → chunk-UWMLSAQY.js} +1 -1
- package/chunks/{chunk-OGPOUNG7.js → chunk-V5Z6OEKJ.js} +1 -1
- package/chunks/{chunk-MWMYT4PK.js → chunk-VBJV7T47.js} +1 -1
- package/chunks/{chunk-BAHNLZJQ.js → chunk-VF2UWWI2.js} +1 -1
- package/chunks/{chunk-MVF4MYTY.js → chunk-VJUTDS6C.js} +1 -1
- package/chunks/{chunk-A42T2FGM.js → chunk-W2ZVZ6LS.js} +1 -1
- package/chunks/{chunk-V6ZOOFZ3.js → chunk-W6IOHGWW.js} +1 -1
- package/chunks/{chunk-I5FHTXDB.js → chunk-WC72OWF2.js} +2 -2
- package/chunks/{chunk-XW5ZOTPK.js → chunk-WJLHLFIR.js} +1 -1
- package/chunks/{chunk-T4P4FF3I.js → chunk-WZTO3EYG.js} +1 -1
- package/chunks/{chunk-IUUWYEF5.js → chunk-XZNF4YNN.js} +1 -1
- package/chunks/{chunk-N7OJZ7AS.js → chunk-YN6WXB6B.js} +1 -1
- package/chunks/{chunk-PJUXHD2F.js → chunk-YVN32EUM.js} +1 -1
- package/chunks/{chunk-B7XMOQLO.js → chunk-Z4JY3HGO.js} +1 -1
- package/chunks/{chunk-AIIV662S.js → chunk-ZOWMHZWO.js} +1 -1
- package/chunks/{codex-subagent-executor-AR4Q5IHV.js → codex-subagent-executor-UCDGQFTR.js} +1 -1
- package/chunks/{config-utils-5S5PZQ5S.js → config-utils-Z6F4DVLG.js} +1 -1
- package/chunks/{contextCommand-YEZP3P4L.js → contextCommand-HMVZT56Y.js} +1 -1
- package/chunks/{core-runtime-LISS3YR4.js → core-runtime-AV7CJXOL.js} +1 -1
- package/chunks/{create-sub-session-FCB4YENT.js → create-sub-session-NNKVHZKT.js} +1 -1
- package/chunks/{cron-create-E2PZGYSL.js → cron-create-HWZDFVPA.js} +1 -1
- package/chunks/{daemon-git-worktree-guard-23KFZWC5.js → daemon-git-worktree-guard-Q3C45X7T.js} +1 -1
- package/chunks/{daemon-status-provider-KU7B5BBQ.js → daemon-status-provider-F6KB2LNG.js} +1 -1
- package/chunks/{daemon-trust-policy-FL3DDA6T.js → daemon-trust-policy-6D4KJANB.js} +1 -1
- package/chunks/{daemon-trust-policy-monitor-FCCK3YHW.js → daemon-trust-policy-monitor-BZ46W4IA.js} +1 -1
- package/chunks/{deferred-core-runtime-BCJU6YQI.js → deferred-core-runtime-YC5XIWEI.js} +1 -1
- package/chunks/{display-image-ZHNLZCK7.js → display-image-LAGHQ4RY.js} +1 -1
- package/chunks/{edit-SXQ5HK4W.js → edit-LOWDEKPX.js} +1 -1
- package/chunks/{enterPlanMode-NX6SOALP.js → enterPlanMode-NGSATDRH.js} +1 -1
- package/chunks/{environment-GFCR2C43.js → environment-CVIB5DW4.js} +1 -1
- package/chunks/{errors-WZJPHSEP.js → errors-USKSVZFO.js} +1 -1
- package/chunks/{execute-sandbox-VZ4OKFCC.js → execute-sandbox-KNRRYQ52.js} +1 -1
- package/chunks/{execution-sandbox-config-XQNSHI7G.js → execution-sandbox-config-XBW3PXDA.js} +1 -1
- package/chunks/{execution-tool-XPHUDQJ4.js → execution-tool-QSJLRU5N.js} +1 -1
- package/chunks/{execution-worker-6RXFIQH4.js → execution-worker-TQEIC4AJ.js} +1 -1
- package/chunks/{exitPlanMode-LP3D7M5M.js → exitPlanMode-AW2HOTIK.js} +1 -1
- package/chunks/{fast-path-2D5QZRQW.js → fast-path-DWPD5EGQ.js} +1 -1
- package/chunks/{glob-JFH2DTI7.js → glob-7U6FQSWZ.js} +1 -1
- package/chunks/{goal-tools-UL3O364Y.js → goal-tools-5ZB6GPCJ.js} +1 -1
- package/chunks/{handleAutoUpdate-MYD2LZXQ.js → handleAutoUpdate-MLUFTWFP.js} +1 -1
- package/chunks/{i18n-LDINZEX3.js → i18n-QAPQLOC3.js} +1 -1
- package/chunks/{initializer-LLXI4EVO.js → initializer-B27IZ7K4.js} +1 -1
- package/chunks/{installationInfo-4FS5ROEO.js → installationInfo-SAMHABWV.js} +1 -1
- package/chunks/{interactive-mod-session-UFB2CURW.js → interactive-mod-session-7LQ5CYUR.js} +1 -1
- package/chunks/{landlock-execution-3T5Y3SFY.js → landlock-execution-2BJ56FDV.js} +1 -1
- package/chunks/{list-45PFXWOV.js → list-TDMJQDQO.js} +1 -1
- package/chunks/{llm-VIFUT34L.js → llm-RBI7KXDE.js} +4 -4
- package/chunks/{loadedSettingsAdapter-3MNB7PHB.js → loadedSettingsAdapter-ZQK5KMEW.js} +1 -1
- package/chunks/{local-TBDN3BOU.js → local-HSG47CNJ.js} +1 -1
- package/chunks/{local-execution-environment-PNRU2WTJ.js → local-execution-environment-WJVCE26F.js} +1 -1
- package/chunks/{loggingContentGenerator-JA22TIC4.js → loggingContentGenerator-ALSG42YA.js} +1 -1
- package/chunks/{loop-wakeup-BXKFVB7H.js → loop-wakeup-LFU4LDJM.js} +1 -1
- package/chunks/{manage-memory-BMKA64KG.js → manage-memory-FBL6CHX2.js} +1 -1
- package/chunks/{managed-execution-engine-PVXRANOE.js → managed-execution-engine-FX7FDAWW.js} +1 -1
- package/chunks/{managed-local-serve-H5BEBXVR.js → managed-local-serve-YE4JDFNP.js} +1 -1
- package/chunks/{managed-npm-update-JGC5W6SL.js → managed-npm-update-2MKV7UOI.js} +1 -1
- package/chunks/{managed-runtime-attestation-worker-KCUQIRVR.js → managed-runtime-attestation-worker-DBAHM5MN.js} +1 -1
- package/chunks/{managed-runtime-bootstrap-HCN3NINM.js → managed-runtime-bootstrap-SHEXUEZN.js} +1 -1
- package/chunks/{managed-runtime-session-worker-G4TB3S5M.js → managed-runtime-session-worker-YN4KML7A.js} +1 -1
- package/chunks/{managed-runtime-ssh-worker-4WSWY2MH.js → managed-runtime-ssh-worker-BZNJV7IB.js} +1 -1
- package/chunks/{managed-session-authority-H5USCQ6W.js → managed-session-authority-MFEINLXC.js} +1 -1
- package/chunks/{mcp-WXNSQID6.js → mcp-TS5PX5FY.js} +1 -1
- package/chunks/{memory-E5SQH3NJ.js → memory-JTDN5AEA.js} +1 -1
- package/chunks/{model-call-collection-PULBNXXQ.js → model-call-collection-TNBMD3YL.js} +1 -1
- package/chunks/{model-configuration-SJEIOQGZ.js → model-configuration-6KTQQTMO.js} +1 -1
- package/chunks/{modelConfigUtils-WJ27GPGB.js → modelConfigUtils-LCZZ3EQU.js} +1 -1
- package/chunks/{monitor-N25QQU7J.js → monitor-KCCNIKLE.js} +1 -1
- package/chunks/{nonInteractiveCli-E6RLP7AG.js → nonInteractiveCli-BXHX6EIU.js} +1 -1
- package/chunks/{nonInteractiveToolExecutor-Z5JBEIAW.js → nonInteractiveToolExecutor-R5CTTWKD.js} +1 -1
- package/chunks/{notebook-edit-WVLO2EUN.js → notebook-edit-KIWE2XOA.js} +1 -1
- package/chunks/{omni-RKVYBBQI.js → omni-IFTMWBMU.js} +1 -1
- package/chunks/{openaiContentGenerator-2G2XB3DF.js → openaiContentGenerator-XP3VPU6C.js} +1 -1
- package/chunks/{openaiResponsesContentGenerator-344BTMHF.js → openaiResponsesContentGenerator-ZJ6C22EA.js} +1 -1
- package/chunks/{pidfile-KS6QFQIJ.js → pidfile-42P24JIA.js} +1 -1
- package/chunks/{processUtils-U45GFMXN.js → processUtils-I2XOO5U2.js} +1 -1
- package/chunks/{prompt-terminal-ledger-HAK6RGOC.js → prompt-terminal-ledger-7EW46VQ4.js} +1 -1
- package/chunks/{reactive-degrade-S7C6GXHH.js → reactive-degrade-O4JO7MOX.js} +1 -1
- package/chunks/{read-file-RG5ZNNCH.js → read-file-VGC4O7F2.js} +1 -1
- package/chunks/{record-source-6J47E2DW.js → record-source-VX26ZO6I.js} +1 -1
- package/chunks/{request-shutdown-SCU5TN5V.js → request-shutdown-P7227UEF.js} +1 -1
- package/chunks/{resumeHistoryUtils-CDDEU4RO.js → resumeHistoryUtils-QMVIHQRW.js} +1 -1
- package/chunks/{review-H6FLIVJV.js → review-PC4IDLCG.js} +1 -1
- package/chunks/{ripGrep-XEDOYGPA.js → ripGrep-JY4PZABK.js} +1 -1
- package/chunks/{run-qwen-serve-ODBFOM6H.js → run-qwen-serve-XRWVWOZK.js} +1 -1
- package/chunks/{runtime-SCINDTK2.js → runtime-OL7B72CH.js} +1 -1
- package/chunks/{runtime-shell-policy-77EFLSNG.js → runtime-shell-policy-TXAWAOBK.js} +1 -1
- package/chunks/{sandboxConfig-WE7GXTES.js → sandboxConfig-EJTMWZHD.js} +1 -1
- package/chunks/{scheduled-tasks-4HL6GKQ4.js → scheduled-tasks-XQSZWZXG.js} +1 -1
- package/chunks/{scheduler-ETHKOB4B.js → scheduler-3TIRZEVB.js} +1 -1
- package/chunks/{search-memory-R4O5AIEV.js → search-memory-P5KOTUVV.js} +1 -1
- package/chunks/{send-message-SBQSBXDW.js → send-message-KFSKFXLX.js} +1 -1
- package/chunks/{serve-TRAGNNK6.js → serve-JCUT4WK7.js} +1 -1
- package/chunks/{server-BXVHT3XW.js → server-HMTRZJF7.js} +3 -3
- package/chunks/{session-A6NV4RLU.js → session-RGLZU6KY.js} +1 -1
- package/chunks/{session-attachments-root-WU56VFQN.js → session-attachments-root-O3YQ7HWD.js} +1 -1
- package/chunks/{session-execution-engine-selector-MG2ZDK25.js → session-execution-engine-selector-LZBHS3UO.js} +1 -1
- package/chunks/{session-pr-refresh-HQOHASVU.js → session-pr-refresh-L5Z5WCXS.js} +1 -1
- package/chunks/{sessionService-XBFZRVW6.js → sessionService-MMPZUN5X.js} +1 -1
- package/chunks/{settings-HDG72SDU.js → settings-7PYHXPN4.js} +1 -1
- package/chunks/{shell-VNVPTXQO.js → shell-E6QLKRVU.js} +1 -1
- package/chunks/{skill-4VDNIMOV.js → skill-55IZUUM5.js} +1 -1
- package/chunks/{skill-settings-VKC2ATCK.js → skill-settings-A2M5BPH7.js} +1 -1
- package/chunks/{spawnChannel-RB5Q6Z4U.js → spawnChannel-KWU26CB7.js} +1 -1
- package/chunks/{standalone-update-QDH63IIS.js → standalone-update-32WYZ3BJ.js} +1 -1
- package/chunks/{start-opentui-ui-VULNQJ3L.js → start-opentui-ui-YNTPK7LX.js} +2 -2
- package/chunks/{startInteractiveUI-XZATGHLR.js → startInteractiveUI-MWA2VYTJ.js} +2 -2
- package/chunks/{task-create-ODLLJ5EF.js → task-create-67YBESBR.js} +1 -1
- package/chunks/{task-update-ZNWF5QPF.js → task-update-DLBXOE5R.js} +1 -1
- package/chunks/{team-create-CUJXJ2ZS.js → team-create-ARICYIQB.js} +1 -1
- package/chunks/{team-plan-approval-36LS5SZD.js → team-plan-approval-JPRE6Q3R.js} +1 -1
- package/chunks/{terminal-image-renderer-FYGH5GYJ.js → terminal-image-renderer-HVIZ2VNE.js} +1 -1
- package/chunks/{theme-manager-AMNU6BMN.js → theme-manager-UEPLIBUP.js} +1 -1
- package/chunks/{tool-call-E635LKSC.js → tool-call-EFJKXI3Z.js} +1 -1
- package/chunks/{tool-result-media-USCQTGHC.js → tool-result-media-LMIYNXSD.js} +1 -1
- package/chunks/{tool-search-FNTAT2ZW.js → tool-search-D7HQTRQG.js} +1 -1
- package/chunks/{total-session-admission-6P5YNVII.js → total-session-admission-67QMR44O.js} +1 -1
- package/chunks/{trustedFolders-7SPIYZSS.js → trustedFolders-HARYVS3F.js} +1 -1
- package/chunks/{update-relaunch-ZYID7ZKA.js → update-relaunch-NVNPOK5J.js} +1 -1
- package/chunks/{updateCheck-A3JUVWQV.js → updateCheck-7NMXUCTN.js} +1 -1
- package/chunks/{upload-config-DT3IQPC7.js → upload-config-W2SICJ32.js} +1 -1
- package/chunks/{useAutoAcceptIndicator-OS64SJOW.js → useAutoAcceptIndicator-ELMIP4TJ.js} +1 -1
- package/chunks/{validateNonInterActiveAuth-SJLXPGT4.js → validateNonInterActiveAuth-3433WFLE.js} +1 -1
- package/chunks/{version-CD2O2AJ7.js → version-XCFKTEY3.js} +1 -1
- package/chunks/{web-fetch-CQZMLBDV.js → web-fetch-537RS6IX.js} +1 -1
- package/chunks/{web-search-47YZU3PO.js → web-search-O27MYFSW.js} +1 -1
- package/chunks/{workflow-ROHRWGL5.js → workflow-6QF4RMYM.js} +1 -1
- package/chunks/{workflow-ancestor-trust-YSFNC6J5.js → workflow-ancestor-trust-CABLU3VV.js} +1 -1
- package/chunks/{workspace-agents-P4T5564B.js → workspace-agents-5WP3PY7W.js} +1 -1
- package/chunks/{workspace-providers-status-GZOJR5XX.js → workspace-providers-status-7G2EJJEO.js} +1 -1
- package/chunks/{workspace-recovery-worker-C4KTT7J5.js → workspace-recovery-worker-ICCIDEWU.js} +1 -1
- package/chunks/{workspace-registration-store-2WDVL42M.js → workspace-registration-store-WHXMNQQQ.js} +1 -1
- package/chunks/{workspace-registry-2V2LYFXO.js → workspace-registry-NXBODLYH.js} +1 -1
- package/chunks/{workspace-runtime-coordinator-7OH4M6FV.js → workspace-runtime-coordinator-CJXS273B.js} +1 -1
- package/chunks/{workspace-service-353F3S2A.js → workspace-service-HUDE2RXN.js} +1 -1
- package/chunks/{workspace-skills-status-A5FRCJJF.js → workspace-skills-status-FJC6U62F.js} +1 -1
- package/chunks/{workspace-trust-reconciler-N4AKVBD4.js → workspace-trust-reconciler-ZIQ3A5ZB.js} +1 -1
- package/chunks/{write-file-XOIVQYGC.js → write-file-652YGG7I.js} +1 -1
- package/chunks/{zoom-image-ACTDUJ4C.js → zoom-image-YEH4O74G.js} +1 -1
- package/cli.js +2 -2
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/package.json +2 -2
- package/web-shell/assets/{PierreFilePreview-DR46bTX6.js → PierreFilePreview-DEhWK46v.js} +1 -1
- package/web-shell/assets/{SpreadsheetPreview-zgxr-aKy.js → SpreadsheetPreview-C-GgIuPX.js} +1 -1
- package/web-shell/assets/{WorkspaceFileBrowser-BEoibHvP.js → WorkspaceFileBrowser-64vDYikf.js} +1 -1
- package/web-shell/assets/{abnfDiagram-VCTEODGH-Cba-rfLM.js → abnfDiagram-VCTEODGH-C2WWURam.js} +1 -1
- package/web-shell/assets/{agents-route-DexLhLcH.js → agents-route-j5ba59xn.js} +1 -1
- package/web-shell/assets/{arc-BLxikpdy.js → arc-Bkr_-GVn.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-BMaIAoGQ.js → architectureDiagram-5GKGNRK7-D_v_wDDW.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-CGSbuIDn.js → blockDiagram-NRAW4CY4-Csxc3YNo.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-DVwZ8MO2.js → c4Diagram-UCG6FXSJ-PXryoJCB.js} +1 -1
- package/web-shell/assets/channel-6Pj4KPAs.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-BzKDWtZ3.js → chunk-2Q5K7J3B-DwK5UBHI.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-C8SFBHFV.js → chunk-5VM5RSS4-BC1hvD6_.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-D8brpDvU.js → chunk-F27PBJKO-iFe0IxfJ.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-Cilx_eO_.js → chunk-G27WJ6UU-ROSuKRxI.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-CeplW23S.js → chunk-JWPE2WC7-CYHS6PxA.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-BUO5XSSe.js → chunk-LCL6LL3I-D5bFMqCy.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-DPo869nv.js → chunk-POPQ4Y6H-BJh77MGv.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-DhfIj0Jt.js → chunk-SVP7TREG-Cs81aYft.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-B72Tsbdi.js → chunk-XXDRQBXY-DqDbN44E.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-BaTUuuB8.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-BaTUuuB8.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-8EANR5K4.js → cose-bilkent-JH36ORCC-DhjrwADJ.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-Cj3uoFr9.js → cynefin-OW5HDTMX-Dh7t-_3M.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CHwRYcv9.js → cynefinDiagram-5FMLGOSQ-5J4kto0C.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-B50MDk4E.js → dagre-3AP2YEHR-28AdbIcl.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-Fbk8W4Ks.js → diagram-S7CK7UJ4-DmksuoIf.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-CNeEtpni.js → diagram-UQ7AKVKN-DUjgQ8Fg.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-CYXiWI4p.js → diagram-VSXAHHWV-DUe_FpG-.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-CF7R7hGA.js → diagram-VX7I27RA-CJJ70teK.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-DZzHpEub.js → diagram-Z3DM3KII-BgABlJO4.js} +1 -1
- package/web-shell/assets/{docx-preview-CjpeB47y.js → docx-preview-BMBWboRx.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-CtH0z2j9.js → ebnfDiagram-PWID7BFC-B3nK_Lh7.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-D51BQ445.js → erDiagram-SSCWMZ5O-DCTdCWlu.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-B1-3lJwP.js → flowDiagram-A5DVABFB-CPxk2UUl.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-iMw3jNW5.js → ganttDiagram-EL5Y4UJY-WZzMAKht.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-D_KI4JVS.js → gitGraphDiagram-WWUBYQGX-DKcO5ugU.js} +1 -1
- package/web-shell/assets/{index-D1oIEFvH.js → index-CkRLMu1y.js} +6 -6
- package/web-shell/assets/{index-iouf3mnZ.js → index-Dbm3-Fps.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-CwG9MQQq.js → infoDiagram-RXCK75RN-CJX5DzdL.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-C99w6R-O.js → ishikawaDiagram-5VMMS53U-fF0Id5B6.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL--T5XVhJh.js → journeyDiagram-EYS64GPL-BOAezBVe.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-Cs-rGYgZ.js → kanban-definition-3QL26DDD-DdNBof9J.js} +1 -1
- package/web-shell/assets/{layout-BHU2s0xS.js → layout-CXX3l5w0.js} +1 -1
- package/web-shell/assets/{linear-DbLtsa7_.js → linear-Dnaccp-S.js} +1 -1
- package/web-shell/assets/{mermaid.core-CTBkTEXb.js → mermaid.core-BzdC3B6T.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-RWLGqkYd.js → mindmap-definition-FBJOCRG2-D-gMUzLw.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-DIQRWxNr.js → pegDiagram-XKGWAZYB-B9n1WVZq.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-Dg9VHqU0.js → pieDiagram-E7YTZNPT-ok49U0zT.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-BFeuB7Iq.js → quadrantDiagram-AXDQQJYC-DJKha-v3.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-DbO9AYto.js → railroadDiagram-O6MQD6OU-DjL4pl7y.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-ClpOYbUE.js → requirementDiagram-EFPCY7ZU-BpmmRw3A.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CaHmNc0O.js → sankeyDiagram-P5KCCOFB-KpteHB8X.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-4r32bqWv.js → sequenceDiagram-WJ2MYXX4-COMghCpA.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-CGXqc7rW.js → sizeCapture-X5ZJPWSS-5fEwJD-n.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-DuAO60my.js → stateDiagram-HBIQ2CUA-CnC7oXvs.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-V_cfZFBL.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-DUQMHZRn.js → swimlanes-XN3QIQJK-bVlhZdve.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-25wVg0WL.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-DNCSPOxv.js → timeline-definition-24CTP7MA-CBvYgMu5.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-Bxh1Z0T6.js → vennDiagram-4TSXK5OY-CUTYvV1j.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-D6fuN1bA.js → wardleyDiagram-VM6X3IG4-Djl4gxCB.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-DkwTa8kZ.js → xychartDiagram-S5SC5T6Z-BcJZtI2X.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-CvkbH6SO.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DuyseBqE.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DuyseBqE.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BjIYif-p.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DZB3DqrF.js +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hostclubeos/miraos",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5-beta",
|
|
4
4
|
"description": "MiraOS - terminal coding agent",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"opentui-assets/@opentui/core-linux-x64"
|
|
44
44
|
],
|
|
45
45
|
"config": {
|
|
46
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.
|
|
46
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.5-beta"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {},
|
|
49
49
|
"optionalDependencies": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/cpp-DddhVWhK.js","assets/c-BIGW1oBm.js","assets/html-BlS82ilI.js","assets/javascript-wDzz0qaB.js","assets/css-Z72CF80r.js","assets/lua-BaeVxFsk.js","assets/php-DoruYMF0.js","assets/xml-sdJ4AIDG.js","assets/java-CylS5w8V.js","assets/sql-DkvoVjww.js","assets/json-Cp-IABpG.js","assets/ruby-5x8vynjC.js","assets/typescript-BPQ3VLAy.js","assets/jsx-g9-lgVsj.js","assets/tsx-COt5Ahok.js","assets/shellscript-Yzrsuije.js","assets/yaml-Buea-lGh.js","assets/vue-CwSeJimo.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var Yr=Object.defineProperty;var Zr=Object.getPrototypeOf;var Jr=Reflect.get;var Bn=e=>{throw TypeError(e)};var es=(e,t,n)=>t in e?Yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var p=(e,t,n)=>es(e,typeof t!="symbol"?t+"":t,n),Ut=(e,t,n)=>t.has(e)||Bn("Cannot "+n);var D=(e,t,n)=>(Ut(e,t,"read from private field"),n?n.call(e):t.get(e)),we=(e,t,n)=>t.has(e)?Bn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),q=(e,t,n,i)=>(Ut(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),zt=(e,t,n)=>(Ut(e,t,"access private method"),n);var Gn=(e,t,n)=>Jr(Zr(e),n,t);import{aU as x,aV as an,aW as Bt,aX as ts,aY as ns,aZ as pe,a_ as z,as as is,r as _e,j as rs}from"./index-D1oIEFvH.js";const j=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function Tn(e,t,n,i){const r=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let o=0,a="";for(const l of e.matchAll(r)){const{0:c,groups:{$skip:d}}=l;if(!d&&(!i||i===j.DEFAULT==!o)){n instanceof Function?a+=n(l,{context:o?j.CHAR_CLASS:j.DEFAULT,negated:s[s.length-1]}):a+=n;continue}c[0]==="["?(o++,s.push(c[1]==="^")):c==="]"&&o&&(o--,s.pop()),a+=c}return a}function Gi(e,t,n,i){Tn(e,t,n,i)}function ss(e,t,n=0,i){if(!new RegExp(t,"su").test(e))return null;const r=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");r.lastIndex=n;let s=0,o;for(;o=r.exec(e);){const{0:a,groups:{$skip:l}}=o;if(!l&&(!i||i===j.DEFAULT==!s))return o;a==="["?s++:a==="]"&&s&&s--,r.lastIndex==o.index&&r.lastIndex++}return null}function st(e,t,n){return!!ss(e,t,0,n)}function os(e,t){const n=/\\?./gsu;n.lastIndex=t;let i=e.length,r=0,s=1,o;for(;o=n.exec(e);){const[a]=o;if(a==="[")r++;else if(r)a==="]"&&r--;else if(a==="(")s++;else if(a===")"&&(s--,!s)){i=o.index;break}}return e.slice(t,i)}const St={c:()=>x(()=>import("./c-BIGW1oBm.js"),[]),cpp:()=>x(()=>import("./cpp-DddhVWhK.js"),__vite__mapDeps([0,1])),csharp:()=>x(()=>import("./csharp-B_TYUkTI.js"),[]),css:()=>x(()=>import("./css-Z72CF80r.js"),[]),diff:()=>x(()=>import("./diff-D97Zzqfu.js"),[]),dockerfile:()=>x(()=>import("./dockerfile-BcOcwvcX.js"),[]),go:()=>x(()=>import("./go-C27-OAKa.js"),[]),html:()=>x(()=>import("./html-BlS82ilI.js"),__vite__mapDeps([2,3,4])),ini:()=>x(()=>import("./ini-BEwlwnbL.js"),[]),java:()=>x(()=>import("./java-CylS5w8V.js"),[]),javascript:()=>x(()=>import("./javascript-wDzz0qaB.js"),[]),json:()=>x(()=>import("./json-Cp-IABpG.js"),[]),jsonc:()=>x(()=>import("./jsonc-Des-eS-w.js"),[]),jsx:()=>x(()=>import("./jsx-g9-lgVsj.js"),[]),kotlin:()=>x(()=>import("./kotlin-BdnUsdx6.js"),[]),lua:()=>x(()=>import("./lua-BaeVxFsk.js"),__vite__mapDeps([5,1])),makefile:()=>x(()=>import("./makefile-CHLpvVh8.js"),[]),markdown:()=>x(()=>import("./markdown-Cvjx9yec.js"),[]),"objective-cpp":()=>x(()=>import("./objective-cpp-CLxacb5B.js"),[]),php:()=>x(()=>import("./php-DoruYMF0.js"),__vite__mapDeps([6,2,3,4,7,8,9,10])),python:()=>x(()=>import("./python-B6aJPvgy.js"),[]),ruby:()=>x(()=>import("./ruby-5x8vynjC.js"),__vite__mapDeps([11,2,3,4,7,8,9,12,13,14,0,1,15,5,16])),rust:()=>x(()=>import("./rust-DPvrY3IQ.js"),[]),shellscript:()=>x(()=>import("./shellscript-Yzrsuije.js"),[]),sql:()=>x(()=>import("./sql-DkvoVjww.js"),[]),swift:()=>x(()=>import("./swift-C2oV4EkX.js"),[]),toml:()=>x(()=>import("./toml-vGWfd6FD.js"),[]),tsx:()=>x(()=>import("./tsx-COt5Ahok.js"),[]),typescript:()=>x(()=>import("./typescript-BPQ3VLAy.js"),[]),vue:()=>x(()=>import("./vue-CwSeJimo.js"),__vite__mapDeps([17,4,3,12,10,2])),xml:()=>x(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])),yaml:()=>x(()=>import("./yaml-Buea-lGh.js"),[]),zsh:()=>x(()=>import("./shellscript-Yzrsuije.js"),[])},ln={"github-light":()=>x(()=>import("./github-light-CBO01_j6.js"),[]),"github-dark":()=>x(()=>import("./github-dark-vbPMK5nw.js"),[])},Vi="diffs-container";(()=>{try{return!1}catch{return!1}})();const Wi="header-prefix",ji="header-filename-suffix",qi="header-metadata",Ki="header-custom",se={dark:"pierre-dark",light:"pierre-light"},as="data-theme-css",ls="data-unsafe-css",cs="data-diffs-scrollbar-measure",Xi="--diffs-scrollbar-gutter-measured",An={hunkLineCount:50,lineHeight:20,diffHeaderHeight:44,spacing:8};({...An});const Vn={startingLine:0,totalLines:1/0,bufferBefore:0,bufferAfter:0},ds={startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:0},Ze=new Map,Gt=new Map,us=new Map,cn=new Set;function dn(e){for(const t of Array.isArray(e)?e:[e])if(!(t==="text"||t==="ansi")&&!cn.has(t))return!1;return!0}function Wn(e,t){e=Array.isArray(e)?e:[e];for(const n of e){if(cn.has(n.name))continue;let i=Ze.get(n.name);i==null&&(i=n,Ze.set(n.name,i));const r=i.data.find(s=>s.name===i.name||s.aliases?.includes(i.name)===!0);if(r==null)throw new Error(`attachResolvedLanguages: No returned grammar declares "${i.name}" as its name or an alias.`);t.loadLanguageSync(i.data);try{t.getLanguage(i.name)}catch{throw new Error(`attachResolvedLanguages: "${r.name}" is already loaded without alias "${i.name}". Load the alias first or give the grammar a unique name.`)}cn.add(i.name)}}function Qi(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}var A=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Ct(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},i=typeof e=="string"?e:e.name;for(const[r,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[r]=s:r===i&&Object.assign(n,s);return n}function me(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function fs(e){return Array.isArray(e)?e:[e]}async function Yi(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function At(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Zi(e){return e==="ansi"||At(e)}function Rt(e){return e==="none"}function Ji(e){return Rt(e)}const hs=/(\r?\n)/g;function _t(e,t=!1){if(e.length===0)return[["",0]];const n=e.split(hs);let i=0;const r=[];for(let s=0;s<n.length;s+=2){const o=t?n[s]+(n[s+1]||""):n[s];r.push([o,i]),i+=n[s].length,i+=n[s+1]?.length||0}return r}const jn={light:"#333333",dark:"#bbbbbb"},qn={light:"#fffffe",dark:"#1e1e1e"},Kn="__shiki_resolved";function Rn(e){if(e?.[Kn])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:i}=t;if(!n||!i){const a=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(i=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!i&&t?.colors?.["editor.foreground"]&&(i=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),i||(i=t.type==="light"?jn.light:jn.dark),n||(n=t.type==="light"?qn.light:qn.dark),t.fg=i,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let r=0;const s=new Map;function o(a){if(s.has(a))return s.get(a);r+=1;const l=`#${r.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?o(a):(s.set(a,l),l)}t.settings=t.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!c)return a;const d={...a,settings:{...a.settings}};if(l){const u=o(a.settings.foreground);t.colorReplacements[u]=a.settings.foreground,d.settings.foreground=u}if(c){const u=o(a.settings.background);t.colorReplacements[u]=a.settings.background,d.settings.background=u}return d});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const l=o(t.colors[a]);t.colorReplacements[l]=t.colors[a],t.colors[a]=l}return Object.defineProperty(t,Kn,{enumerable:!1,writable:!1,value:!0}),t}async function er(e){return[...new Set((await Promise.all(e.filter(t=>!Zi(t)).map(async t=>await Yi(t).then(n=>Array.isArray(n)?n:[n])))).flat())]}async function tr(e){return(await Promise.all(e.map(async t=>Ji(t)?null:Rn(await Yi(t))))).filter(t=>!!t)}function nr(e,t){if(!t)return e;if(t[e]){const n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new A(`Circular alias \`${[...n].join(" -> ")} -> ${e}\``);n.add(e)}}return e}var gs=class extends ts{constructor(t,n,i,r={}){super(t);p(this,"_resolver");p(this,"_themes");p(this,"_langs");p(this,"_alias");p(this,"_resolvedThemes",new Map);p(this,"_resolvedGrammars",new Map);p(this,"_langMap",new Map);p(this,"_langGraph",new Map);p(this,"_textmateThemeCache",new WeakMap);p(this,"_loadedThemesCache",null);p(this,"_loadedLanguagesCache",null);this._resolver=t,this._themes=n,this._langs=i,this._alias=r,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=Rn(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=ns.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){return t=nr(t,this._alias),this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const i={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const r=this.loadGrammarWithConfiguration(t.scopeName,1,i);if(r.name=t.name,this._resolvedGrammars.set(t.name,r),t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)this._syncRegistry?._grammars?.get(s.scopeName)?.dispose(),this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),this.loadLanguage(this._langMap.get(s.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const r of t)this.resolveEmbeddedLanguages(r);const n=[...this._langGraph.entries()],i=n.filter(([r,s])=>!s);if(i.length){const r=n.filter(([s,o])=>o?(o.embeddedLanguages||o.embeddedLangs)?.some(a=>i.map(([l])=>l).includes(a)):!1).filter(s=>!i.includes(s));throw new A(`Missing languages ${i.map(([s])=>`\`${s}\``).join(", ")}, required by ${r.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[r,s]of n)this._resolver.addLanguage(s);for(const[r,s]of n)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){this._langMap.set(t.name,t),this._langGraph.set(t.name,t);const n=t.embeddedLanguages??t.embeddedLangs;if(n)for(const i of n)this._langGraph.set(i,this._langMap.get(i))}},ps=class{constructor(e,t){p(this,"_langs",new Map);p(this,"_scopeToLang",new Map);p(this,"_injections",new Map);p(this,"_onigLib");this._onigLib={createOnigScanner:n=>e.createScanner(n),createOnigString:n=>e.createString(n)},t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).includes(e.scopeName)||this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let i=1;i<=t.length;i++){const r=t.slice(0,i).join(".");n=[...n,...this._injections.get(r)||[]]}return n}};let Ve=0;function ms(e){Ve+=1,e.warnings!==!1&&Ve>=10&&Ve%10===0&&console.warn(`[Shiki] ${Ve} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new A("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(Rn),r=new gs(new ps(e.engine,n),i,n,e.langAlias);let s;function o(b){return nr(b,e.langAlias)}function a(b){w();const y=r.getGrammar(typeof b=="string"?b:b.name);if(!y)throw new A(`Language \`${b}\` not found, you may need to load it first`);return y}function l(b){if(b==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};w();const y=r.getTheme(b);if(!y)throw new A(`Theme \`${b}\` not found, you may need to load it first`);return y}function c(b){w();const y=l(b);return s!==b&&(r.setTheme(y),s=b),{theme:y,colorMap:r.getColorMap()}}function d(){return w(),r.getLoadedThemes()}function u(){return w(),r.getLoadedLanguages()}function f(...b){w(),r.loadLanguages(b.flat(1))}async function h(...b){return f(await er(b))}function g(...b){w();for(const y of b.flat(1))r.loadTheme(y)}async function v(...b){return w(),g(await tr(b))}function w(){if(t)throw new A("Shiki instance has been disposed")}function m(){t||(t=!0,r.dispose(),Ve-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:d,getLoadedLanguages:u,resolveLangAlias:o,loadLanguage:h,loadLanguageSync:f,loadTheme:v,loadThemeSync:g,dispose:m,[Symbol.dispose]:m}}async function bs(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,i]=await Promise.all([tr(e.themes||[]),er(e.langs||[]),e.engine]);return ms({...e,themes:t,langs:n,engine:i})}const ir=new WeakMap;function Mt(e,t){ir.set(e,t)}function Je(e){return ir.get(e)}var It=class rr{constructor(...t){p(this,"_stacks",{});p(this,"lang");if(t.length===2){const[n,i]=t;this.lang=i,this._stacks=n}else{const[n,i,r]=t;this.lang=i,this._stacks={[r]:n}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new rr(Object.fromEntries(fs(n).map(i=>[i,an])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return vs(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function vs(e){const t=[],n=new Set;function i(r){if(n.has(r))return;n.add(r);const s=r?.nameScopesList?.scopeName;s&&t.push(s),r.parent&&i(r.parent)}return i(e),t}function ys(e,t){if(!(e instanceof It))throw new A("Invalid grammar state");return e.getInternalStack(t)}const ws=/,/,Ss=/ /;function sr(e,t,n={}){const{theme:i=e.getLoadedThemes()[0]}=n;if(At(e.resolveLangAlias(n.lang||"text"))||Rt(i))return _t(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:r,colorMap:s}=e.setTheme(i),o=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==o.name)throw new A(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(r.name))throw new A(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${r.name}"`)}return xs(t,o,r,s,n)}function Cs(...e){if(e.length===2)return Je(e[1]);const[t,n,i={}]=e,{lang:r="text",theme:s=t.getLoadedThemes()[0]}=i;if(At(r)||Rt(s))throw new A("Plain language does not have grammar state");if(r==="ansi")throw new A("ANSI language does not have grammar state");const{theme:o,colorMap:a}=t.setTheme(s),l=t.getLanguage(r);return new It(_n(n,l,o,a,i).stateStack,l.name,o.name)}function xs(e,t,n,i,r){const s=_n(e,t,n,i,r),o=new It(s.stateStack,t.name,n.name);return Mt(s.tokens,o),s.tokens}function _n(e,t,n,i,r){const s=Ct(n,r),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:a=500,includeExplanation:l=!1}=r,c=_t(e);let d=r.grammarState?ys(r.grammarState,n.name)??an:r.grammarContextCode!=null?_n(r.grammarContextCode,t,n,i,{...r,grammarState:void 0,grammarContextCode:void 0}).stateStack:an,u=[];const f=[];for(let h=0,g=c.length;h<g;h++){const[v,w]=c[h];if(v===""){u=[],f.push([]);continue}if(o>0&&v.length>=o){u=[],f.push([{content:v,offset:w,color:"",fontStyle:0}]);continue}let m,b,y;l&&l!=="tokenType"&&(m=t.tokenizeLine(v,d,a),b=m.tokens,y=0);const S=t.tokenizeLine2(v,d,a),k=S.tokens.length/2;for(let L=0;L<k;L++){const E=S.tokens[2*L],_=L+1<k?S.tokens[2*L+2]:v.length;if(E===_)continue;const R=S.tokens[2*L+1],B=me(i[Bt.getForeground(R)],s),ae=Bt.getFontStyle(R),$={content:v.substring(E,_),offset:w+E,color:B,fontStyle:ae};if(l==="tokenType")$.type=Bt.getTokenType(R);else if(l){const le=[];if(l!=="scopeName")for(const V of n.settings){let ce;switch(typeof V.scope){case"string":ce=V.scope.split(ws).map(ve=>ve.trim());break;case"object":ce=V.scope;break;default:continue}le.push({settings:V,selectors:ce.map(ve=>ve.split(Ss))})}$.explanation=[];let it=0;for(;E+it<_;){const V=b[y],ce=v.substring(V.startIndex,V.endIndex);it+=ce.length,$.explanation.push({content:ce,scopes:l==="scopeName"?ks(V.scopes):Es(le,V.scopes)}),y+=1}}u.push($)}f.push(u),u=[],d=S.ruleStack}return{tokens:f,stateStack:d}}function ks(e){return e.map(t=>({scopeName:t}))}function Es(e,t){const n=[];for(let i=0,r=t.length;i<r;i++){const s=t[i];n[i]={scopeName:s,themeMatches:Ts(e,s,t.slice(0,i))}}return n}function Xn(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function Ls(e,t,n){if(!Xn(e.at(-1),t))return!1;let i=e.length-2,r=n.length-1;for(;i>=0&&r>=0;)Xn(e[i],n[r])&&(i-=1),r-=1;return i===-1}function Ts(e,t,n){const i=[];for(const{selectors:r,settings:s}of e)for(const o of r)if(Ls(o,t,n)){i.push(s);break}return i}function or(e,t,n,i=sr){const r=Object.entries(n.themes).filter(c=>c[1]).map(c=>({color:c[0],theme:c[1]})),s=r.map(c=>{const d=i(e,t,{...n,theme:c.theme});return{tokens:d,state:Je(d),theme:typeof c.theme=="string"?c.theme:c.theme.name}}),o=As(...s.map(c=>c.tokens)),a=o[0].map((c,d)=>c.map((u,f)=>{const h={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(h.explanation=u.explanation),o.forEach((g,v)=>{const{content:w,explanation:m,offset:b,...y}=g[d][f];h.variants[r[v].color]=y}),h})),l=s[0].state?new It(Object.fromEntries(s.map(c=>[c.theme,c.state?.getInternalStack(c.theme)])),s[0].state.lang):void 0;return l&&Mt(a,l),a}function As(...e){const t=e.map(()=>[]),n=e.length;for(let i=0;i<e[0].length;i++){const r=e.map(l=>l[i]),s=t.map(()=>[]);t.forEach((l,c)=>l.push(s[c]));const o=r.map(()=>0),a=r.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const d=a[c];d.content.length===l?(s[c].push(d),o[c]+=1,a[c]=r[c][o[c]]):(s[c].push({...d,content:d.content.slice(0,l)}),a[c]={...d,content:d.content.slice(l),offset:d.offset+l})}}}return t}const Qn=/\s+/g;function ar(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(Qn)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(Qn);for(const i of n)i&&!e.properties.class.includes(i)&&e.properties.class.push(i);return e}function Rs(e){const t=_t(e,!0).map(([r])=>r);function n(r){if(r===e.length)return{line:t.length-1,character:t.at(-1).length};let s=r,o=0;for(const a of t){if(s<a.length)break;s-=a.length,o++}return{line:o,character:s}}function i(r,s){let o=0;for(let a=0;a<r;a++)o+=t[a].length;return o+=s,o}return{lines:t,indexToPos:n,posToIndex:i}}const _s=["color","background-color"];function Ms(e,t){let n=0;const i=[];for(const r of t)r>n&&i.push({...e,content:e.content.slice(n,r),offset:e.offset+n}),n=r;return n<e.content.length&&i.push({...e,content:e.content.slice(n),offset:e.offset+n}),i}function Is(e,t){let n=0,i=e.length;for(;n<i;){const r=n+(i-n>>1);e[r]<=t?n=r+1:i=r}return n}function Ns(e,t){const n=[...t instanceof Set?t:new Set(t)].sort((i,r)=>i-r);return n.length?e.map(i=>i.flatMap(r=>{const s=r.offset+r.content.length,o=Is(n,r.offset);let a=o;for(;a<n.length&&n[a]<s;)a++;if(o===a)return r;const l=n.slice(o,a);for(let c=0;c<l.length;c++)l[c]-=r.offset;return Ms(r,l)})):e}function Ps(e,t,n,i,r="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(d=>xt(e.variants[d])),a=new Set(o.flatMap(d=>Object.keys(d))),l={},c=(d,u)=>{const f=u==="color"?"":u==="background-color"?"-bg":`-${u}`;return n+t[d]+(u==="color"?"":f)};return o.forEach((d,u)=>{for(const f of a){const h=d[f]||"inherit";if(u===0&&i&&_s.includes(f))if(i==="light-dark()"&&o.length>1){const g=t.findIndex(b=>b==="light"),v=t.findIndex(b=>b==="dark");if(g===-1||v===-1)throw new A('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const w=o[g][f]||"inherit",m=o[v][f]||"inherit";l[f]=`light-dark(${w}, ${m})`,r==="css-vars"&&(l[c(u,f)]=h)}else l[f]=h;else r==="css-vars"&&(l[c(u,f)]=h)}}),s.htmlStyle=l,s}function xt(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&z.Italic&&(t["font-style"]="italic"),e.fontStyle&z.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&z.Underline&&n.push("underline"),e.fontStyle&z.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function un(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Hs(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(o){if(typeof o=="number"){if(o<0||o>n.source.length)throw new A(`Invalid decoration offset: ${o}. Code length: ${n.source.length}`);return{...i.indexToPos(o),offset:o}}else{const a=i.lines[o.line];if(a===void 0)throw new A(`Invalid decoration position ${JSON.stringify(o)}. Lines length: ${i.lines.length}`);let l=o.character;if(l<0&&(l=a.length+l),l<0||l>a.length)throw new A(`Invalid decoration position ${JSON.stringify(o)}. Line ${o.line} length: ${a.length}`);return{...o,character:l,offset:i.posToIndex(o.line,l)}}};const i=Rs(n.source),s=(n.options.decorations||[]).map(o=>({...o,start:r(o.start),end:r(o.end)}));Fs(s),e.set(n.meta,{decorations:s,converter:i,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(this.options.decorations?.length)return Ns(n,t(this).decorations.flatMap(i=>[i.start.offset,i.end.offset]))},code(n){if(!this.options.decorations?.length)return;const i=t(this),r=[...n.children].filter(d=>d.type==="element"&&d.tagName==="span");if(r.length!==i.converter.lines.length)throw new A(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${i.converter.lines.length}). Failed to apply decorations.`);function s(d,u,f,h){const g=r[d];let v="",w=-1,m=-1;if(u===0&&(w=0),f===0&&(m=0),f===Number.POSITIVE_INFINITY&&(m=g.children.length),w===-1||m===-1)for(let y=0;y<g.children.length;y++)v+=lr(g.children[y]),w===-1&&v.length===u&&(w=y+1),m===-1&&v.length===f&&(m=y+1);if(w===-1)throw new A(`Failed to find start index for decoration ${JSON.stringify(h.start)}`);if(m===-1)throw new A(`Failed to find end index for decoration ${JSON.stringify(h.end)}`);const b=g.children.slice(w,m);if(!h.alwaysWrap&&b.length===g.children.length)a(g,h,"line");else if(!h.alwaysWrap&&b.length===1&&b[0].type==="element")a(b[0],h,"token");else{const y={type:"element",tagName:"span",properties:{},children:b};a(y,h,"wrapper"),g.children.splice(w,b.length,y)}}function o(d,u){r[d]=a(r[d],u,"line")}function a(d,u,f){const h=u.properties||{},g=u.transform||(v=>v);return d.tagName=u.tagName||"span",d.properties={...d.properties,...h,class:d.properties.class},u.properties?.class&&ar(d,u.properties.class),d=g(d,f)||d,d}const l=[],c=i.decorations.sort((d,u)=>u.start.offset-d.start.offset||d.end.offset-u.end.offset);for(const d of c){const{start:u,end:f}=d;if(u.line===f.line)s(u.line,u.character,f.character,d);else if(u.line<f.line){s(u.line,u.character,Number.POSITIVE_INFINITY,d);for(let h=u.line+1;h<f.line;h++)l.unshift(()=>o(h,d));s(f.line,0,f.character,d)}}l.forEach(d=>d())}}}function Fs(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new A(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let i=t+1;i<e.length;i++){const r=e[i],s=n.start.offset<=r.start.offset&&r.start.offset<n.end.offset,o=n.start.offset<r.end.offset&&r.end.offset<=n.end.offset,a=r.start.offset<=n.start.offset&&n.start.offset<r.end.offset,l=r.start.offset<n.end.offset&&n.end.offset<=r.end.offset;if(s||o||a||l){if(s&&o||a&&l||a&&n.start.offset===n.end.offset||o&&r.start.offset===r.end.offset)continue;throw new A(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(r.start)} intersect.`)}}}}function lr(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(lr).join(""):""}const Os=[Hs()];function kt(e){const t=$s(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...Os]}function $s(e){const t=[],n=[],i=[];for(const r of e)switch(r.enforce){case"pre":t.push(r);break;case"post":n.push(r);break;default:i.push(r)}return{pre:t,post:n,normal:i}}var xe=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Vt={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function Ds(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const i=e.indexOf("m",n);if(i!==-1)return{sequence:e.substring(n+2,i).split(";"),startPosition:n,position:i+1}}return{position:e.length}}function Yn(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(i=>Number.parseInt(i));return n.length!==3||n.some(i=>Number.isNaN(i))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function Us(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const i=Number.parseInt(n);if(!Number.isNaN(i))if(i===0)t.push({type:"resetAll"});else if(i<=9)Vt[i]&&t.push({type:"setDecoration",value:Vt[i]});else if(i<=29){const r=Vt[i-20];r&&(t.push({type:"resetDecoration",value:r}),r==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(i<=37)t.push({type:"setForegroundColor",value:{type:"named",name:xe[i-30]}});else if(i===38){const r=Yn(e);r&&t.push({type:"setForegroundColor",value:r})}else if(i===39)t.push({type:"resetForegroundColor"});else if(i<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:xe[i-40]}});else if(i===48){const r=Yn(e);r&&t.push({type:"setBackgroundColor",value:r})}else i===49?t.push({type:"resetBackgroundColor"}):i===53?t.push({type:"setDecoration",value:"overline"}):i===55?t.push({type:"resetDecoration",value:"overline"}):i>=90&&i<=97?t.push({type:"setForegroundColor",value:{type:"named",name:xe[i-90+8]}}):i>=100&&i<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:xe[i-100+8]}})}return t}function zs(){let e=null,t=null,n=new Set;return{parse(i){const r=[];let s=0;do{const o=Ds(i,s),a=o.sequence?i.substring(s,o.startPosition):i.substring(s);if(a.length>0&&r.push({value:a,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const l=Us(o.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=o.position}while(s<i.length);return r}}}var Bs={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Gs(e=Bs){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let i;function r(){if(i)return i;i=[];for(let c=0;c<xe.length;c++)i.push(t(xe[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let d=0;d<6;d++)for(let u=0;u<6;u++)i.push(n([a[c],a[d],a[u]]));let l=8;for(let c=0;c<24;c++,l+=10)i.push(n([l,l,l]));return i}function s(a){return r()[a]}function o(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return s(a.index)}}return{value:o}}const Vs=/#([0-9a-f]{3,8})/i,Ws=/var\((--[\w-]+-ansi-[\w-]+)\)/,js={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function qs(e,t,n){const i=Ct(e,n),r=_t(t),s=Gs(Object.fromEntries(xe.map(a=>{const l=`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`;return[a,e.colors?.[l]||js[a]]}))),o=zs();return r.map(a=>o.parse(a[0]).map(l=>{let c,d;l.decorations.has("reverse")?(c=l.background?s.value(l.background):e.bg,d=l.foreground?s.value(l.foreground):e.fg):(c=l.foreground?s.value(l.foreground):e.fg,d=l.background?s.value(l.background):void 0),c=me(c,i),d=me(d,i),l.decorations.has("dim")&&(c=Ks(c));let u=z.None;return l.decorations.has("bold")&&(u|=z.Bold),l.decorations.has("italic")&&(u|=z.Italic),l.decorations.has("underline")&&(u|=z.Underline),l.decorations.has("strikethrough")&&(u|=z.Strikethrough),{content:l.value,offset:a[1],color:c,bgColor:d,fontStyle:u}}))}function Ks(e){const t=e.match(Vs);if(t){const i=t[1];if(i.length===8){const r=Math.round(Number.parseInt(i.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${i.slice(0,6)}${r}`}else{if(i.length===6)return`#${i}80`;if(i.length===4){const r=i[0],s=i[1],o=i[2],a=i[3];return`#${r}${r}${s}${s}${o}${o}${Math.round(Number.parseInt(`${a}${a}`,16)/2).toString(16).padStart(2,"0")}`}else if(i.length===3){const r=i[0],s=i[1],o=i[2];return`#${r}${r}${s}${s}${o}${o}80`}}}const n=e.match(Ws);return n?`var(${n[1]}-dim)`:e}function fn(e,t,n={}){const i=e.resolveLangAlias(n.lang||"text"),{theme:r=e.getLoadedThemes()[0]}=n;if(!At(i)&&!Rt(r)&&i==="ansi"){const{theme:s}=e.setTheme(r);return qs(s,t,n)}return sr(e,t,n)}function Et(e,t,n){let i,r,s,o,a,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:d="--shiki-",colorsRendering:u="css-vars"}=n,f=Object.entries(n.themes).filter(m=>m[1]).map(m=>({color:m[0],theme:m[1]})).sort((m,b)=>m.color===c?-1:b.color===c?1:0);if(f.length===0)throw new A("`themes` option must not be empty");const h=or(e,t,n,fn);if(l=Je(h),c&&c!=="light-dark()"&&!f.some(m=>m.color===c))throw new A(`\`themes\` option must contain the defaultColor key \`${c}\``);const g=f.map(m=>e.getTheme(m.theme)),v=f.map(m=>m.color);s=h.map(m=>m.map(b=>Ps(b,v,d,c,u))),l&&Mt(s,l);const w=f.map(m=>Ct(m.theme,n));r=Zn(f,g,w,d,c,"fg",u),i=Zn(f,g,w,d,c,"bg",u),o=`shiki-themes ${g.map(m=>m.name).join(" ")}`,a=c?void 0:[r,i].join(";")}else if("theme"in n){const c=Ct(n.theme,n);s=fn(e,t,n);const d=e.getTheme(n.theme);i=me(d.bg,c),r=me(d.fg,c),o=d.name,l=Je(s)}else throw new A("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:r,bg:i,themeName:o,rootStyle:a,grammarState:l}}function Zn(e,t,n,i,r,s,o){return e.map((a,l)=>{const c=me(t[l][s],n[l])||"inherit",d=`${i+a.color}${s==="bg"?"-bg":""}:${c}`;if(l===0&&r){if(r==="light-dark()"&&e.length>1){const u=e.findIndex(h=>h.color==="light"),f=e.findIndex(h=>h.color==="dark");if(u===-1||f===-1)throw new A('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${me(t[u][s],n[u])||"inherit"}, ${me(t[f][s],n[f])||"inherit"});${d}`}return c}return o==="css-vars"?d:null}).filter(a=>!!a).join(";")}const cr=/^\s+$/,Xs=/^(\s*)(.*?)(\s*)$/;function Lt(e,t,n,i={meta:{},options:n,codeToHast:(r,s)=>Lt(e,r,s),codeToTokens:(r,s)=>Et(e,r,s)}){let r=t;for(const g of kt(n))r=g.preprocess?.call(i,r,n)||r;let{tokens:s,fg:o,bg:a,themeName:l,rootStyle:c,grammarState:d}=Et(e,r,n);const{mergeWhitespaces:u=!0,mergeSameStyleTokens:f=!1}=n;u===!0?s=Ys(s):u==="never"&&(s=Zs(s)),f&&(s=Js(s));const h={...i,get source(){return r}};for(const g of kt(n))s=g.tokens?.call(h,s)||s;return Qs(s,{...n,fg:o,bg:a,themeName:l,rootStyle:n.rootStyle===!1?!1:n.rootStyle??c},h,d)}function Qs(e,t,n,i=Je(e)){const r=kt(t),s=[],o={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t,c={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?c.style=t.rootStyle:c.style=`background-color:${t.bg};color:${t.fg}`),l!==!1&&l!=null&&(c.tabindex=l.toString());for(const[v,w]of Object.entries(t.meta||{}))v.startsWith("_")||(c[v]=w);let d={type:"element",tagName:"pre",properties:c,children:[],data:t.data},u={type:"element",tagName:"code",properties:{},children:s};const f=[],h={...n,structure:a,addClassToHast:ar,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return d},get code(){return u},get lines(){return f}};if(e.forEach((v,w)=>{w&&(a==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&s.push({type:"text",value:`
|
|
2
|
+
var Yr=Object.defineProperty;var Zr=Object.getPrototypeOf;var Jr=Reflect.get;var Bn=e=>{throw TypeError(e)};var es=(e,t,n)=>t in e?Yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var p=(e,t,n)=>es(e,typeof t!="symbol"?t+"":t,n),Ut=(e,t,n)=>t.has(e)||Bn("Cannot "+n);var D=(e,t,n)=>(Ut(e,t,"read from private field"),n?n.call(e):t.get(e)),we=(e,t,n)=>t.has(e)?Bn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),q=(e,t,n,i)=>(Ut(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),zt=(e,t,n)=>(Ut(e,t,"access private method"),n);var Gn=(e,t,n)=>Jr(Zr(e),n,t);import{aU as x,aV as an,aW as Bt,aX as ts,aY as ns,aZ as pe,a_ as z,as as is,r as _e,j as rs}from"./index-CkRLMu1y.js";const j=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function Tn(e,t,n,i){const r=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let o=0,a="";for(const l of e.matchAll(r)){const{0:c,groups:{$skip:d}}=l;if(!d&&(!i||i===j.DEFAULT==!o)){n instanceof Function?a+=n(l,{context:o?j.CHAR_CLASS:j.DEFAULT,negated:s[s.length-1]}):a+=n;continue}c[0]==="["?(o++,s.push(c[1]==="^")):c==="]"&&o&&(o--,s.pop()),a+=c}return a}function Gi(e,t,n,i){Tn(e,t,n,i)}function ss(e,t,n=0,i){if(!new RegExp(t,"su").test(e))return null;const r=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");r.lastIndex=n;let s=0,o;for(;o=r.exec(e);){const{0:a,groups:{$skip:l}}=o;if(!l&&(!i||i===j.DEFAULT==!s))return o;a==="["?s++:a==="]"&&s&&s--,r.lastIndex==o.index&&r.lastIndex++}return null}function st(e,t,n){return!!ss(e,t,0,n)}function os(e,t){const n=/\\?./gsu;n.lastIndex=t;let i=e.length,r=0,s=1,o;for(;o=n.exec(e);){const[a]=o;if(a==="[")r++;else if(r)a==="]"&&r--;else if(a==="(")s++;else if(a===")"&&(s--,!s)){i=o.index;break}}return e.slice(t,i)}const St={c:()=>x(()=>import("./c-BIGW1oBm.js"),[]),cpp:()=>x(()=>import("./cpp-DddhVWhK.js"),__vite__mapDeps([0,1])),csharp:()=>x(()=>import("./csharp-B_TYUkTI.js"),[]),css:()=>x(()=>import("./css-Z72CF80r.js"),[]),diff:()=>x(()=>import("./diff-D97Zzqfu.js"),[]),dockerfile:()=>x(()=>import("./dockerfile-BcOcwvcX.js"),[]),go:()=>x(()=>import("./go-C27-OAKa.js"),[]),html:()=>x(()=>import("./html-BlS82ilI.js"),__vite__mapDeps([2,3,4])),ini:()=>x(()=>import("./ini-BEwlwnbL.js"),[]),java:()=>x(()=>import("./java-CylS5w8V.js"),[]),javascript:()=>x(()=>import("./javascript-wDzz0qaB.js"),[]),json:()=>x(()=>import("./json-Cp-IABpG.js"),[]),jsonc:()=>x(()=>import("./jsonc-Des-eS-w.js"),[]),jsx:()=>x(()=>import("./jsx-g9-lgVsj.js"),[]),kotlin:()=>x(()=>import("./kotlin-BdnUsdx6.js"),[]),lua:()=>x(()=>import("./lua-BaeVxFsk.js"),__vite__mapDeps([5,1])),makefile:()=>x(()=>import("./makefile-CHLpvVh8.js"),[]),markdown:()=>x(()=>import("./markdown-Cvjx9yec.js"),[]),"objective-cpp":()=>x(()=>import("./objective-cpp-CLxacb5B.js"),[]),php:()=>x(()=>import("./php-DoruYMF0.js"),__vite__mapDeps([6,2,3,4,7,8,9,10])),python:()=>x(()=>import("./python-B6aJPvgy.js"),[]),ruby:()=>x(()=>import("./ruby-5x8vynjC.js"),__vite__mapDeps([11,2,3,4,7,8,9,12,13,14,0,1,15,5,16])),rust:()=>x(()=>import("./rust-DPvrY3IQ.js"),[]),shellscript:()=>x(()=>import("./shellscript-Yzrsuije.js"),[]),sql:()=>x(()=>import("./sql-DkvoVjww.js"),[]),swift:()=>x(()=>import("./swift-C2oV4EkX.js"),[]),toml:()=>x(()=>import("./toml-vGWfd6FD.js"),[]),tsx:()=>x(()=>import("./tsx-COt5Ahok.js"),[]),typescript:()=>x(()=>import("./typescript-BPQ3VLAy.js"),[]),vue:()=>x(()=>import("./vue-CwSeJimo.js"),__vite__mapDeps([17,4,3,12,10,2])),xml:()=>x(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])),yaml:()=>x(()=>import("./yaml-Buea-lGh.js"),[]),zsh:()=>x(()=>import("./shellscript-Yzrsuije.js"),[])},ln={"github-light":()=>x(()=>import("./github-light-CBO01_j6.js"),[]),"github-dark":()=>x(()=>import("./github-dark-vbPMK5nw.js"),[])},Vi="diffs-container";(()=>{try{return!1}catch{return!1}})();const Wi="header-prefix",ji="header-filename-suffix",qi="header-metadata",Ki="header-custom",se={dark:"pierre-dark",light:"pierre-light"},as="data-theme-css",ls="data-unsafe-css",cs="data-diffs-scrollbar-measure",Xi="--diffs-scrollbar-gutter-measured",An={hunkLineCount:50,lineHeight:20,diffHeaderHeight:44,spacing:8};({...An});const Vn={startingLine:0,totalLines:1/0,bufferBefore:0,bufferAfter:0},ds={startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:0},Ze=new Map,Gt=new Map,us=new Map,cn=new Set;function dn(e){for(const t of Array.isArray(e)?e:[e])if(!(t==="text"||t==="ansi")&&!cn.has(t))return!1;return!0}function Wn(e,t){e=Array.isArray(e)?e:[e];for(const n of e){if(cn.has(n.name))continue;let i=Ze.get(n.name);i==null&&(i=n,Ze.set(n.name,i));const r=i.data.find(s=>s.name===i.name||s.aliases?.includes(i.name)===!0);if(r==null)throw new Error(`attachResolvedLanguages: No returned grammar declares "${i.name}" as its name or an alias.`);t.loadLanguageSync(i.data);try{t.getLanguage(i.name)}catch{throw new Error(`attachResolvedLanguages: "${r.name}" is already loaded without alias "${i.name}". Load the alias first or give the grammar a unique name.`)}cn.add(i.name)}}function Qi(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}var A=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Ct(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},i=typeof e=="string"?e:e.name;for(const[r,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[r]=s:r===i&&Object.assign(n,s);return n}function me(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function fs(e){return Array.isArray(e)?e:[e]}async function Yi(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function At(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Zi(e){return e==="ansi"||At(e)}function Rt(e){return e==="none"}function Ji(e){return Rt(e)}const hs=/(\r?\n)/g;function _t(e,t=!1){if(e.length===0)return[["",0]];const n=e.split(hs);let i=0;const r=[];for(let s=0;s<n.length;s+=2){const o=t?n[s]+(n[s+1]||""):n[s];r.push([o,i]),i+=n[s].length,i+=n[s+1]?.length||0}return r}const jn={light:"#333333",dark:"#bbbbbb"},qn={light:"#fffffe",dark:"#1e1e1e"},Kn="__shiki_resolved";function Rn(e){if(e?.[Kn])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:i}=t;if(!n||!i){const a=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(i=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!i&&t?.colors?.["editor.foreground"]&&(i=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),i||(i=t.type==="light"?jn.light:jn.dark),n||(n=t.type==="light"?qn.light:qn.dark),t.fg=i,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let r=0;const s=new Map;function o(a){if(s.has(a))return s.get(a);r+=1;const l=`#${r.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?o(a):(s.set(a,l),l)}t.settings=t.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!c)return a;const d={...a,settings:{...a.settings}};if(l){const u=o(a.settings.foreground);t.colorReplacements[u]=a.settings.foreground,d.settings.foreground=u}if(c){const u=o(a.settings.background);t.colorReplacements[u]=a.settings.background,d.settings.background=u}return d});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const l=o(t.colors[a]);t.colorReplacements[l]=t.colors[a],t.colors[a]=l}return Object.defineProperty(t,Kn,{enumerable:!1,writable:!1,value:!0}),t}async function er(e){return[...new Set((await Promise.all(e.filter(t=>!Zi(t)).map(async t=>await Yi(t).then(n=>Array.isArray(n)?n:[n])))).flat())]}async function tr(e){return(await Promise.all(e.map(async t=>Ji(t)?null:Rn(await Yi(t))))).filter(t=>!!t)}function nr(e,t){if(!t)return e;if(t[e]){const n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new A(`Circular alias \`${[...n].join(" -> ")} -> ${e}\``);n.add(e)}}return e}var gs=class extends ts{constructor(t,n,i,r={}){super(t);p(this,"_resolver");p(this,"_themes");p(this,"_langs");p(this,"_alias");p(this,"_resolvedThemes",new Map);p(this,"_resolvedGrammars",new Map);p(this,"_langMap",new Map);p(this,"_langGraph",new Map);p(this,"_textmateThemeCache",new WeakMap);p(this,"_loadedThemesCache",null);p(this,"_loadedLanguagesCache",null);this._resolver=t,this._themes=n,this._langs=i,this._alias=r,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=Rn(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=ns.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){return t=nr(t,this._alias),this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const i={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const r=this.loadGrammarWithConfiguration(t.scopeName,1,i);if(r.name=t.name,this._resolvedGrammars.set(t.name,r),t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)this._syncRegistry?._grammars?.get(s.scopeName)?.dispose(),this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),this.loadLanguage(this._langMap.get(s.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const r of t)this.resolveEmbeddedLanguages(r);const n=[...this._langGraph.entries()],i=n.filter(([r,s])=>!s);if(i.length){const r=n.filter(([s,o])=>o?(o.embeddedLanguages||o.embeddedLangs)?.some(a=>i.map(([l])=>l).includes(a)):!1).filter(s=>!i.includes(s));throw new A(`Missing languages ${i.map(([s])=>`\`${s}\``).join(", ")}, required by ${r.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[r,s]of n)this._resolver.addLanguage(s);for(const[r,s]of n)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){this._langMap.set(t.name,t),this._langGraph.set(t.name,t);const n=t.embeddedLanguages??t.embeddedLangs;if(n)for(const i of n)this._langGraph.set(i,this._langMap.get(i))}},ps=class{constructor(e,t){p(this,"_langs",new Map);p(this,"_scopeToLang",new Map);p(this,"_injections",new Map);p(this,"_onigLib");this._onigLib={createOnigScanner:n=>e.createScanner(n),createOnigString:n=>e.createString(n)},t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).includes(e.scopeName)||this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let i=1;i<=t.length;i++){const r=t.slice(0,i).join(".");n=[...n,...this._injections.get(r)||[]]}return n}};let Ve=0;function ms(e){Ve+=1,e.warnings!==!1&&Ve>=10&&Ve%10===0&&console.warn(`[Shiki] ${Ve} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new A("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(Rn),r=new gs(new ps(e.engine,n),i,n,e.langAlias);let s;function o(b){return nr(b,e.langAlias)}function a(b){w();const y=r.getGrammar(typeof b=="string"?b:b.name);if(!y)throw new A(`Language \`${b}\` not found, you may need to load it first`);return y}function l(b){if(b==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};w();const y=r.getTheme(b);if(!y)throw new A(`Theme \`${b}\` not found, you may need to load it first`);return y}function c(b){w();const y=l(b);return s!==b&&(r.setTheme(y),s=b),{theme:y,colorMap:r.getColorMap()}}function d(){return w(),r.getLoadedThemes()}function u(){return w(),r.getLoadedLanguages()}function f(...b){w(),r.loadLanguages(b.flat(1))}async function h(...b){return f(await er(b))}function g(...b){w();for(const y of b.flat(1))r.loadTheme(y)}async function v(...b){return w(),g(await tr(b))}function w(){if(t)throw new A("Shiki instance has been disposed")}function m(){t||(t=!0,r.dispose(),Ve-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:d,getLoadedLanguages:u,resolveLangAlias:o,loadLanguage:h,loadLanguageSync:f,loadTheme:v,loadThemeSync:g,dispose:m,[Symbol.dispose]:m}}async function bs(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,i]=await Promise.all([tr(e.themes||[]),er(e.langs||[]),e.engine]);return ms({...e,themes:t,langs:n,engine:i})}const ir=new WeakMap;function Mt(e,t){ir.set(e,t)}function Je(e){return ir.get(e)}var It=class rr{constructor(...t){p(this,"_stacks",{});p(this,"lang");if(t.length===2){const[n,i]=t;this.lang=i,this._stacks=n}else{const[n,i,r]=t;this.lang=i,this._stacks={[r]:n}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new rr(Object.fromEntries(fs(n).map(i=>[i,an])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return vs(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function vs(e){const t=[],n=new Set;function i(r){if(n.has(r))return;n.add(r);const s=r?.nameScopesList?.scopeName;s&&t.push(s),r.parent&&i(r.parent)}return i(e),t}function ys(e,t){if(!(e instanceof It))throw new A("Invalid grammar state");return e.getInternalStack(t)}const ws=/,/,Ss=/ /;function sr(e,t,n={}){const{theme:i=e.getLoadedThemes()[0]}=n;if(At(e.resolveLangAlias(n.lang||"text"))||Rt(i))return _t(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:r,colorMap:s}=e.setTheme(i),o=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==o.name)throw new A(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(r.name))throw new A(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${r.name}"`)}return xs(t,o,r,s,n)}function Cs(...e){if(e.length===2)return Je(e[1]);const[t,n,i={}]=e,{lang:r="text",theme:s=t.getLoadedThemes()[0]}=i;if(At(r)||Rt(s))throw new A("Plain language does not have grammar state");if(r==="ansi")throw new A("ANSI language does not have grammar state");const{theme:o,colorMap:a}=t.setTheme(s),l=t.getLanguage(r);return new It(_n(n,l,o,a,i).stateStack,l.name,o.name)}function xs(e,t,n,i,r){const s=_n(e,t,n,i,r),o=new It(s.stateStack,t.name,n.name);return Mt(s.tokens,o),s.tokens}function _n(e,t,n,i,r){const s=Ct(n,r),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:a=500,includeExplanation:l=!1}=r,c=_t(e);let d=r.grammarState?ys(r.grammarState,n.name)??an:r.grammarContextCode!=null?_n(r.grammarContextCode,t,n,i,{...r,grammarState:void 0,grammarContextCode:void 0}).stateStack:an,u=[];const f=[];for(let h=0,g=c.length;h<g;h++){const[v,w]=c[h];if(v===""){u=[],f.push([]);continue}if(o>0&&v.length>=o){u=[],f.push([{content:v,offset:w,color:"",fontStyle:0}]);continue}let m,b,y;l&&l!=="tokenType"&&(m=t.tokenizeLine(v,d,a),b=m.tokens,y=0);const S=t.tokenizeLine2(v,d,a),k=S.tokens.length/2;for(let L=0;L<k;L++){const E=S.tokens[2*L],_=L+1<k?S.tokens[2*L+2]:v.length;if(E===_)continue;const R=S.tokens[2*L+1],B=me(i[Bt.getForeground(R)],s),ae=Bt.getFontStyle(R),$={content:v.substring(E,_),offset:w+E,color:B,fontStyle:ae};if(l==="tokenType")$.type=Bt.getTokenType(R);else if(l){const le=[];if(l!=="scopeName")for(const V of n.settings){let ce;switch(typeof V.scope){case"string":ce=V.scope.split(ws).map(ve=>ve.trim());break;case"object":ce=V.scope;break;default:continue}le.push({settings:V,selectors:ce.map(ve=>ve.split(Ss))})}$.explanation=[];let it=0;for(;E+it<_;){const V=b[y],ce=v.substring(V.startIndex,V.endIndex);it+=ce.length,$.explanation.push({content:ce,scopes:l==="scopeName"?ks(V.scopes):Es(le,V.scopes)}),y+=1}}u.push($)}f.push(u),u=[],d=S.ruleStack}return{tokens:f,stateStack:d}}function ks(e){return e.map(t=>({scopeName:t}))}function Es(e,t){const n=[];for(let i=0,r=t.length;i<r;i++){const s=t[i];n[i]={scopeName:s,themeMatches:Ts(e,s,t.slice(0,i))}}return n}function Xn(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function Ls(e,t,n){if(!Xn(e.at(-1),t))return!1;let i=e.length-2,r=n.length-1;for(;i>=0&&r>=0;)Xn(e[i],n[r])&&(i-=1),r-=1;return i===-1}function Ts(e,t,n){const i=[];for(const{selectors:r,settings:s}of e)for(const o of r)if(Ls(o,t,n)){i.push(s);break}return i}function or(e,t,n,i=sr){const r=Object.entries(n.themes).filter(c=>c[1]).map(c=>({color:c[0],theme:c[1]})),s=r.map(c=>{const d=i(e,t,{...n,theme:c.theme});return{tokens:d,state:Je(d),theme:typeof c.theme=="string"?c.theme:c.theme.name}}),o=As(...s.map(c=>c.tokens)),a=o[0].map((c,d)=>c.map((u,f)=>{const h={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(h.explanation=u.explanation),o.forEach((g,v)=>{const{content:w,explanation:m,offset:b,...y}=g[d][f];h.variants[r[v].color]=y}),h})),l=s[0].state?new It(Object.fromEntries(s.map(c=>[c.theme,c.state?.getInternalStack(c.theme)])),s[0].state.lang):void 0;return l&&Mt(a,l),a}function As(...e){const t=e.map(()=>[]),n=e.length;for(let i=0;i<e[0].length;i++){const r=e.map(l=>l[i]),s=t.map(()=>[]);t.forEach((l,c)=>l.push(s[c]));const o=r.map(()=>0),a=r.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const d=a[c];d.content.length===l?(s[c].push(d),o[c]+=1,a[c]=r[c][o[c]]):(s[c].push({...d,content:d.content.slice(0,l)}),a[c]={...d,content:d.content.slice(l),offset:d.offset+l})}}}return t}const Qn=/\s+/g;function ar(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(Qn)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(Qn);for(const i of n)i&&!e.properties.class.includes(i)&&e.properties.class.push(i);return e}function Rs(e){const t=_t(e,!0).map(([r])=>r);function n(r){if(r===e.length)return{line:t.length-1,character:t.at(-1).length};let s=r,o=0;for(const a of t){if(s<a.length)break;s-=a.length,o++}return{line:o,character:s}}function i(r,s){let o=0;for(let a=0;a<r;a++)o+=t[a].length;return o+=s,o}return{lines:t,indexToPos:n,posToIndex:i}}const _s=["color","background-color"];function Ms(e,t){let n=0;const i=[];for(const r of t)r>n&&i.push({...e,content:e.content.slice(n,r),offset:e.offset+n}),n=r;return n<e.content.length&&i.push({...e,content:e.content.slice(n),offset:e.offset+n}),i}function Is(e,t){let n=0,i=e.length;for(;n<i;){const r=n+(i-n>>1);e[r]<=t?n=r+1:i=r}return n}function Ns(e,t){const n=[...t instanceof Set?t:new Set(t)].sort((i,r)=>i-r);return n.length?e.map(i=>i.flatMap(r=>{const s=r.offset+r.content.length,o=Is(n,r.offset);let a=o;for(;a<n.length&&n[a]<s;)a++;if(o===a)return r;const l=n.slice(o,a);for(let c=0;c<l.length;c++)l[c]-=r.offset;return Ms(r,l)})):e}function Ps(e,t,n,i,r="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(d=>xt(e.variants[d])),a=new Set(o.flatMap(d=>Object.keys(d))),l={},c=(d,u)=>{const f=u==="color"?"":u==="background-color"?"-bg":`-${u}`;return n+t[d]+(u==="color"?"":f)};return o.forEach((d,u)=>{for(const f of a){const h=d[f]||"inherit";if(u===0&&i&&_s.includes(f))if(i==="light-dark()"&&o.length>1){const g=t.findIndex(b=>b==="light"),v=t.findIndex(b=>b==="dark");if(g===-1||v===-1)throw new A('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const w=o[g][f]||"inherit",m=o[v][f]||"inherit";l[f]=`light-dark(${w}, ${m})`,r==="css-vars"&&(l[c(u,f)]=h)}else l[f]=h;else r==="css-vars"&&(l[c(u,f)]=h)}}),s.htmlStyle=l,s}function xt(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&z.Italic&&(t["font-style"]="italic"),e.fontStyle&z.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&z.Underline&&n.push("underline"),e.fontStyle&z.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function un(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Hs(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(o){if(typeof o=="number"){if(o<0||o>n.source.length)throw new A(`Invalid decoration offset: ${o}. Code length: ${n.source.length}`);return{...i.indexToPos(o),offset:o}}else{const a=i.lines[o.line];if(a===void 0)throw new A(`Invalid decoration position ${JSON.stringify(o)}. Lines length: ${i.lines.length}`);let l=o.character;if(l<0&&(l=a.length+l),l<0||l>a.length)throw new A(`Invalid decoration position ${JSON.stringify(o)}. Line ${o.line} length: ${a.length}`);return{...o,character:l,offset:i.posToIndex(o.line,l)}}};const i=Rs(n.source),s=(n.options.decorations||[]).map(o=>({...o,start:r(o.start),end:r(o.end)}));Fs(s),e.set(n.meta,{decorations:s,converter:i,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(this.options.decorations?.length)return Ns(n,t(this).decorations.flatMap(i=>[i.start.offset,i.end.offset]))},code(n){if(!this.options.decorations?.length)return;const i=t(this),r=[...n.children].filter(d=>d.type==="element"&&d.tagName==="span");if(r.length!==i.converter.lines.length)throw new A(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${i.converter.lines.length}). Failed to apply decorations.`);function s(d,u,f,h){const g=r[d];let v="",w=-1,m=-1;if(u===0&&(w=0),f===0&&(m=0),f===Number.POSITIVE_INFINITY&&(m=g.children.length),w===-1||m===-1)for(let y=0;y<g.children.length;y++)v+=lr(g.children[y]),w===-1&&v.length===u&&(w=y+1),m===-1&&v.length===f&&(m=y+1);if(w===-1)throw new A(`Failed to find start index for decoration ${JSON.stringify(h.start)}`);if(m===-1)throw new A(`Failed to find end index for decoration ${JSON.stringify(h.end)}`);const b=g.children.slice(w,m);if(!h.alwaysWrap&&b.length===g.children.length)a(g,h,"line");else if(!h.alwaysWrap&&b.length===1&&b[0].type==="element")a(b[0],h,"token");else{const y={type:"element",tagName:"span",properties:{},children:b};a(y,h,"wrapper"),g.children.splice(w,b.length,y)}}function o(d,u){r[d]=a(r[d],u,"line")}function a(d,u,f){const h=u.properties||{},g=u.transform||(v=>v);return d.tagName=u.tagName||"span",d.properties={...d.properties,...h,class:d.properties.class},u.properties?.class&&ar(d,u.properties.class),d=g(d,f)||d,d}const l=[],c=i.decorations.sort((d,u)=>u.start.offset-d.start.offset||d.end.offset-u.end.offset);for(const d of c){const{start:u,end:f}=d;if(u.line===f.line)s(u.line,u.character,f.character,d);else if(u.line<f.line){s(u.line,u.character,Number.POSITIVE_INFINITY,d);for(let h=u.line+1;h<f.line;h++)l.unshift(()=>o(h,d));s(f.line,0,f.character,d)}}l.forEach(d=>d())}}}function Fs(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new A(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let i=t+1;i<e.length;i++){const r=e[i],s=n.start.offset<=r.start.offset&&r.start.offset<n.end.offset,o=n.start.offset<r.end.offset&&r.end.offset<=n.end.offset,a=r.start.offset<=n.start.offset&&n.start.offset<r.end.offset,l=r.start.offset<n.end.offset&&n.end.offset<=r.end.offset;if(s||o||a||l){if(s&&o||a&&l||a&&n.start.offset===n.end.offset||o&&r.start.offset===r.end.offset)continue;throw new A(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(r.start)} intersect.`)}}}}function lr(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(lr).join(""):""}const Os=[Hs()];function kt(e){const t=$s(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...Os]}function $s(e){const t=[],n=[],i=[];for(const r of e)switch(r.enforce){case"pre":t.push(r);break;case"post":n.push(r);break;default:i.push(r)}return{pre:t,post:n,normal:i}}var xe=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Vt={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function Ds(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const i=e.indexOf("m",n);if(i!==-1)return{sequence:e.substring(n+2,i).split(";"),startPosition:n,position:i+1}}return{position:e.length}}function Yn(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(i=>Number.parseInt(i));return n.length!==3||n.some(i=>Number.isNaN(i))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function Us(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const i=Number.parseInt(n);if(!Number.isNaN(i))if(i===0)t.push({type:"resetAll"});else if(i<=9)Vt[i]&&t.push({type:"setDecoration",value:Vt[i]});else if(i<=29){const r=Vt[i-20];r&&(t.push({type:"resetDecoration",value:r}),r==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(i<=37)t.push({type:"setForegroundColor",value:{type:"named",name:xe[i-30]}});else if(i===38){const r=Yn(e);r&&t.push({type:"setForegroundColor",value:r})}else if(i===39)t.push({type:"resetForegroundColor"});else if(i<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:xe[i-40]}});else if(i===48){const r=Yn(e);r&&t.push({type:"setBackgroundColor",value:r})}else i===49?t.push({type:"resetBackgroundColor"}):i===53?t.push({type:"setDecoration",value:"overline"}):i===55?t.push({type:"resetDecoration",value:"overline"}):i>=90&&i<=97?t.push({type:"setForegroundColor",value:{type:"named",name:xe[i-90+8]}}):i>=100&&i<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:xe[i-100+8]}})}return t}function zs(){let e=null,t=null,n=new Set;return{parse(i){const r=[];let s=0;do{const o=Ds(i,s),a=o.sequence?i.substring(s,o.startPosition):i.substring(s);if(a.length>0&&r.push({value:a,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const l=Us(o.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=o.position}while(s<i.length);return r}}}var Bs={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Gs(e=Bs){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let i;function r(){if(i)return i;i=[];for(let c=0;c<xe.length;c++)i.push(t(xe[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let d=0;d<6;d++)for(let u=0;u<6;u++)i.push(n([a[c],a[d],a[u]]));let l=8;for(let c=0;c<24;c++,l+=10)i.push(n([l,l,l]));return i}function s(a){return r()[a]}function o(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return s(a.index)}}return{value:o}}const Vs=/#([0-9a-f]{3,8})/i,Ws=/var\((--[\w-]+-ansi-[\w-]+)\)/,js={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function qs(e,t,n){const i=Ct(e,n),r=_t(t),s=Gs(Object.fromEntries(xe.map(a=>{const l=`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`;return[a,e.colors?.[l]||js[a]]}))),o=zs();return r.map(a=>o.parse(a[0]).map(l=>{let c,d;l.decorations.has("reverse")?(c=l.background?s.value(l.background):e.bg,d=l.foreground?s.value(l.foreground):e.fg):(c=l.foreground?s.value(l.foreground):e.fg,d=l.background?s.value(l.background):void 0),c=me(c,i),d=me(d,i),l.decorations.has("dim")&&(c=Ks(c));let u=z.None;return l.decorations.has("bold")&&(u|=z.Bold),l.decorations.has("italic")&&(u|=z.Italic),l.decorations.has("underline")&&(u|=z.Underline),l.decorations.has("strikethrough")&&(u|=z.Strikethrough),{content:l.value,offset:a[1],color:c,bgColor:d,fontStyle:u}}))}function Ks(e){const t=e.match(Vs);if(t){const i=t[1];if(i.length===8){const r=Math.round(Number.parseInt(i.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${i.slice(0,6)}${r}`}else{if(i.length===6)return`#${i}80`;if(i.length===4){const r=i[0],s=i[1],o=i[2],a=i[3];return`#${r}${r}${s}${s}${o}${o}${Math.round(Number.parseInt(`${a}${a}`,16)/2).toString(16).padStart(2,"0")}`}else if(i.length===3){const r=i[0],s=i[1],o=i[2];return`#${r}${r}${s}${s}${o}${o}80`}}}const n=e.match(Ws);return n?`var(${n[1]}-dim)`:e}function fn(e,t,n={}){const i=e.resolveLangAlias(n.lang||"text"),{theme:r=e.getLoadedThemes()[0]}=n;if(!At(i)&&!Rt(r)&&i==="ansi"){const{theme:s}=e.setTheme(r);return qs(s,t,n)}return sr(e,t,n)}function Et(e,t,n){let i,r,s,o,a,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:d="--shiki-",colorsRendering:u="css-vars"}=n,f=Object.entries(n.themes).filter(m=>m[1]).map(m=>({color:m[0],theme:m[1]})).sort((m,b)=>m.color===c?-1:b.color===c?1:0);if(f.length===0)throw new A("`themes` option must not be empty");const h=or(e,t,n,fn);if(l=Je(h),c&&c!=="light-dark()"&&!f.some(m=>m.color===c))throw new A(`\`themes\` option must contain the defaultColor key \`${c}\``);const g=f.map(m=>e.getTheme(m.theme)),v=f.map(m=>m.color);s=h.map(m=>m.map(b=>Ps(b,v,d,c,u))),l&&Mt(s,l);const w=f.map(m=>Ct(m.theme,n));r=Zn(f,g,w,d,c,"fg",u),i=Zn(f,g,w,d,c,"bg",u),o=`shiki-themes ${g.map(m=>m.name).join(" ")}`,a=c?void 0:[r,i].join(";")}else if("theme"in n){const c=Ct(n.theme,n);s=fn(e,t,n);const d=e.getTheme(n.theme);i=me(d.bg,c),r=me(d.fg,c),o=d.name,l=Je(s)}else throw new A("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:r,bg:i,themeName:o,rootStyle:a,grammarState:l}}function Zn(e,t,n,i,r,s,o){return e.map((a,l)=>{const c=me(t[l][s],n[l])||"inherit",d=`${i+a.color}${s==="bg"?"-bg":""}:${c}`;if(l===0&&r){if(r==="light-dark()"&&e.length>1){const u=e.findIndex(h=>h.color==="light"),f=e.findIndex(h=>h.color==="dark");if(u===-1||f===-1)throw new A('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${me(t[u][s],n[u])||"inherit"}, ${me(t[f][s],n[f])||"inherit"});${d}`}return c}return o==="css-vars"?d:null}).filter(a=>!!a).join(";")}const cr=/^\s+$/,Xs=/^(\s*)(.*?)(\s*)$/;function Lt(e,t,n,i={meta:{},options:n,codeToHast:(r,s)=>Lt(e,r,s),codeToTokens:(r,s)=>Et(e,r,s)}){let r=t;for(const g of kt(n))r=g.preprocess?.call(i,r,n)||r;let{tokens:s,fg:o,bg:a,themeName:l,rootStyle:c,grammarState:d}=Et(e,r,n);const{mergeWhitespaces:u=!0,mergeSameStyleTokens:f=!1}=n;u===!0?s=Ys(s):u==="never"&&(s=Zs(s)),f&&(s=Js(s));const h={...i,get source(){return r}};for(const g of kt(n))s=g.tokens?.call(h,s)||s;return Qs(s,{...n,fg:o,bg:a,themeName:l,rootStyle:n.rootStyle===!1?!1:n.rootStyle??c},h,d)}function Qs(e,t,n,i=Je(e)){const r=kt(t),s=[],o={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t,c={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?c.style=t.rootStyle:c.style=`background-color:${t.bg};color:${t.fg}`),l!==!1&&l!=null&&(c.tabindex=l.toString());for(const[v,w]of Object.entries(t.meta||{}))v.startsWith("_")||(c[v]=w);let d={type:"element",tagName:"pre",properties:c,children:[],data:t.data},u={type:"element",tagName:"code",properties:{},children:s};const f=[],h={...n,structure:a,addClassToHast:ar,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return d},get code(){return u},get lines(){return f}};if(e.forEach((v,w)=>{w&&(a==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&s.push({type:"text",value:`
|
|
3
3
|
`}));let m={type:"element",tagName:"span",properties:{class:"line"},children:[]},b=0;for(const y of v){let S={type:"element",tagName:"span",properties:{...y.htmlAttrs},children:[{type:"text",value:y.content}]};const k=un(y.htmlStyle||xt(y));k&&(S.properties.style=k);for(const L of r)S=L?.span?.call(h,S,w+1,b,m,y)||S;a==="inline"?o.children.push(S):a==="classic"&&m.children.push(S),b+=y.content.length}if(a==="classic"){for(const y of r)m=y?.line?.call(h,m,w+1)||m;f.push(m),s.push(m)}else a==="inline"&&f.push(m)}),a==="classic"){for(const v of r)u=v?.code?.call(h,u)||u;d.children.push(u);for(const v of r)d=v?.pre?.call(h,d)||d;o.children.push(d)}else if(a==="inline"){const v=[];let w={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const b of o.children)b.type==="element"&&b.tagName==="br"?(v.push(w),w={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(b.type==="element"||b.type==="text")&&w.children.push(b);v.push(w);let m={type:"element",tagName:"code",properties:{},children:v};for(const b of r)m=b?.code?.call(h,m)||m;o.children=[];for(let b=0;b<m.children.length;b++){b>0&&o.children.push({type:"element",tagName:"br",properties:{},children:[]});const y=m.children[b];y.type==="element"&&o.children.push(...y.children)}}let g=o;for(const v of r)g=v?.root?.call(h,g)||g;return i&&Mt(g,i),g}function Ys(e){return e.map(t=>{const n=[];let i="",r;return t.forEach((s,o)=>{const a=!(s.fontStyle&&(s.fontStyle&z.Underline||s.fontStyle&z.Strikethrough));a&&cr.test(s.content)&&t[o+1]?(r===void 0&&(r=s.offset),i+=s.content):i?(a?n.push({...s,offset:r,content:i+s.content}):n.push({content:i,offset:r},s),r=void 0,i=""):n.push(s)}),n})}function Zs(e){return e.map(t=>t.flatMap(n=>{if(cr.test(n.content))return n;const i=n.content.match(Xs);if(!i)return n;const[,r,s,o]=i;if(!r&&!o)return n;const a=[{...n,offset:n.offset+r.length,content:s}];return r&&a.unshift({content:r,offset:n.offset}),o&&a.push({content:o,offset:n.offset+r.length+s.length}),a}))}function Js(e){return e.map(t=>{const n=[];for(const i of t){if(n.length===0){n.push({...i});continue}const r=n.at(-1),s=un(r.htmlStyle||xt(r)),o=un(i.htmlStyle||xt(i)),a=r.fontStyle&&(r.fontStyle&z.Underline||r.fontStyle&z.Strikethrough),l=i.fontStyle&&(i.fontStyle&z.Underline||i.fontStyle&z.Strikethrough);!a&&!l&&s===o?r.content+=i.content:n.push({...i})}return n})}const eo=pe;function to(e,t,n){const i={meta:{},options:n,codeToHast:(s,o)=>Lt(e,s,o),codeToTokens:(s,o)=>Et(e,s,o)};let r=eo(Lt(e,t,n,i));for(const s of kt(n))r=s.postprocess?.call(i,r,n)||r;return r}async function no(e){const t=await bs(e);return{getLastGrammarState:(...n)=>Cs(t,...n),codeToTokensBase:(n,i)=>fn(t,n,i),codeToTokensWithThemes:(n,i)=>or(t,n,i),codeToTokens:(n,i)=>Et(t,n,i),codeToHast:(n,i)=>Lt(t,n,i),codeToHtml:(n,i)=>to(t,n,i),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function io(e){const t=e.langs,n=e.themes,i=e.engine;async function r(s){function o(u){if(typeof u=="string"){if(u=s.langAlias?.[u]||u,Zi(u))return[];const f=t[u];if(!f)throw new A(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function a(u){if(Ji(u))return"none";if(typeof u=="string"){const f=n[u];if(!f)throw new A(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}const l=(s.themes??[]).map(u=>a(u)),c=(s.langs??[]).map(u=>o(u)),d=await no({engine:s.engine??i(),...s,themes:l,langs:c});return{...d,loadLanguage(...u){return d.loadLanguage(...u.map(o))},loadTheme(...u){return d.loadTheme(...u.map(a))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return r}const Jn=4294967295;function ro(e){return!e.sticky&&!e.rawOptions?.strategy}function ei(e,t){return{index:e,captureIndices:t.map(n=>n==null?{start:Jn,end:Jn,length:0}:{start:n[0],end:n[1],length:n[1]-n[0]})}}var so=class{constructor(e,t={}){p(this,"patterns");p(this,"options");p(this,"regexps");p(this,"lastSearches");this.patterns=e,this.options=t;const{forgiving:n=!1,cache:i,regexConstructor:r}=t;if(!r)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(s=>{if(typeof s!="string")return s;const o=i?.get(s);if(o){if(o instanceof RegExp)return o;if(n)return null;throw o}try{const a=r(s);return i?.set(s,a),a}catch(a){if(i?.set(s,a),n)return null;throw a}}),this.lastSearches=this.regexps.map(s=>s&&ro(s)?{strId:0,searchedFrom:0,matchIndex:-1,indices:null}:null)}findNextMatchSync(e,t,n){const i=typeof e=="string"?e:e.content,r=typeof e=="string"?0:e.id||0;let s=-1,o=0,a=null;for(let l=0;l<this.regexps.length;l++){const c=this.regexps[l];if(c)try{const d=r?this.lastSearches[l]:null;let u,f;if(d&&d.strId===r&&d.searchedFrom<=t&&(d.matchIndex===-1||d.matchIndex>=t))u=d.matchIndex,f=d.indices;else{c.lastIndex=t;const h=c.exec(i);u=h?h.index:-1,f=h?h.indices:null,d&&(d.strId=r,d.searchedFrom=t,d.matchIndex=u,d.indices=f)}if(u===-1)continue;if(u===t)return ei(l,f);(s===-1||u<o)&&(s=l,o=u,a=f)}catch(d){if(this.options.forgiving)continue;throw d}}return s===-1?null:ei(s,a)}};let oo=0;function ao(e){return{content:e,id:++oo}}function Ue(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function lo(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const Mn=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),F=String.raw;function ze(e,t){if(e==null)throw new Error(t??"Value expected");return e}const dr=F`\[\^?`,ur=`c.? | C(?:-.?)?|${F`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${F`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${F`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${F`o\{[^\}]*\}?`}|${F`\d{1,3}`}`,In=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,ot=new RegExp(F`
|
|
4
4
|
\\ (?:
|
|
5
5
|
${ur}
|