@antseed/gateway-console 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/Activity-C_HO7qSL.js +1 -0
- package/dist/assets/{Audit-DqVdOhlJ.js → Audit-CPbMBpcn.js} +1 -1
- package/dist/assets/ChainGate-XojWG6ik.js +1 -0
- package/dist/assets/{ChannelClose-OIfxrL05.js → ChannelClose-DoIyd3cZ.js} +1 -1
- package/dist/assets/{Charts-C40fH8xu.js → Charts-BskMsr_y.js} +1 -1
- package/dist/assets/{Chat-BvGYJ5Y8.js → Chat-D0VwXSTJ.js} +3 -3
- package/dist/assets/{ConnectWallet-CIF1O-b8.js → ConnectWallet-bv1j8xJR.js} +1 -1
- package/dist/assets/{DataTable-sbVT8kP1.js → DataTable-D-JhP6Cu.js} +1 -1
- package/dist/assets/{Disclosure-Cx-awmr6.js → Disclosure-2Zc4btXj.js} +1 -1
- package/dist/assets/KeyHolder-D2dEBiu4.js +1 -0
- package/dist/assets/Keys-C8eP--Dj.js +1 -0
- package/dist/assets/Logs-CkyveD5I.js +1 -0
- package/dist/assets/Members-CstL7rtd.js +1 -0
- package/dist/assets/{Migrate-DSwqmuYZ.js → Migrate-DWKWE9N-.js} +1 -1
- package/dist/assets/Models-WCJJM5l5.js +1 -0
- package/dist/assets/OperatorActions-C13p8Mup.js +1 -0
- package/dist/assets/{OperatorGateAlert-C3dHqq3P.js → OperatorGateAlert-CQtV_buR.js} +1 -1
- package/dist/assets/{Overview-zCE_XZV5.js → Overview-DTWHu-uz.js} +1 -1
- package/dist/assets/PeerPicker-DrpM2w08.js +1 -0
- package/dist/assets/PolicyEditor-DNb3bKbN.js +1 -0
- package/dist/assets/PolicyField-CfklGeps.js +1 -0
- package/dist/assets/Presets-CHEpKMLB.js +4 -0
- package/dist/assets/Providers-CT_U_xku.js +1 -0
- package/dist/assets/RequestLog-aPr3ty82.js +1 -0
- package/dist/assets/{Rewards-EtGJVAbO.js → Rewards-DLmqivnL.js} +2 -2
- package/dist/assets/RewardsClaim-CcLsyzPs.js +1 -0
- package/dist/assets/Routing-D7AS9ogG.js +1 -0
- package/dist/assets/{Segmented-D3p0uCs7.js → Segmented-BJMfyrv9.js} +1 -1
- package/dist/assets/SelectField-Yrfi46XZ.js +1 -0
- package/dist/assets/{Settings-mk_D9qwH.js → Settings-DYAb7Idr.js} +3 -3
- package/dist/assets/{Switch-C1JjKdQ3.js → Switch-DQFMOyMT.js} +1 -1
- package/dist/assets/{Tabs-4vclgTgN.js → Tabs-0IMgC9uU.js} +1 -1
- package/dist/assets/TextAreaField-CKrBh0oZ.js +1 -0
- package/dist/assets/{UsageByModel-DrWRsB8W.js → UsageByModel-D-xMV8ke.js} +1 -1
- package/dist/assets/Wallet-eX5k-E9r.js +9 -0
- package/dist/assets/{WalletConfirm-DR1uVQ0x.js → WalletConfirm-D_hppAfp.js} +1 -1
- package/dist/assets/WalletFunding-Cd8311aj.js +1 -0
- package/dist/assets/WalletSignIn-Dml1bE7_.js +1 -0
- package/dist/assets/Workspaces-Dc7lPxxi.js +1 -0
- package/dist/assets/{add-D-7UccYb.js → add-DhKjYYaW.js} +1 -1
- package/dist/assets/{all-wallets-BGxRkpcp.js → all-wallets-B1SSU1TF.js} +1 -1
- package/dist/assets/{app-store-s1uoA2ti.js → app-store-fOZ_23bX.js} +1 -1
- package/dist/assets/{apple-BRpXhQwe.js → apple-_8Zbl9Z_.js} +1 -1
- package/dist/assets/{arrow-bottom-FKCC1_cZ.js → arrow-bottom-DPc1Zc38.js} +1 -1
- package/dist/assets/{arrow-bottom-circle-CJkzZmsc.js → arrow-bottom-circle-B0tSexI5.js} +1 -1
- package/dist/assets/{arrow-left-De1oRzmY.js → arrow-left-BRvgjm8f.js} +1 -1
- package/dist/assets/{arrow-right-2NX2NyRD.js → arrow-right-0-kK_2Ru.js} +1 -1
- package/dist/assets/{arrow-top-CgrB8jyp.js → arrow-top-Bxpi_NOR.js} +1 -1
- package/dist/assets/{bank-CMkHQ1al.js → bank-CDSQYgdF.js} +1 -1
- package/dist/assets/{basic-BkMqokQN.js → basic-75Z8JR0c.js} +1 -1
- package/dist/assets/{browser-7RnxNloE.js → browser-BdywFN9y.js} +1 -1
- package/dist/assets/{bundle-full-DUUqKkjA.js → bundle-full-zTuzz_v7.js} +1 -1
- package/dist/assets/{card-B_HxJTZt.js → card-GqsikqTj.js} +1 -1
- package/dist/assets/{ccip-Co0K3XbT.js → ccip-CGkS6Jyg.js} +1 -1
- package/dist/assets/{checkmark-CFWVDR6z.js → checkmark-Bq0DRPd3.js} +1 -1
- package/dist/assets/{checkmark-bold-CNBCmpUc.js → checkmark-bold-BbhqFFvY.js} +1 -1
- package/dist/assets/{chevron-bottom-CTGYD88S.js → chevron-bottom-LkblkfKl.js} +1 -1
- package/dist/assets/{chevron-left-mTki2Hbr.js → chevron-left-D5ZHrKz6.js} +1 -1
- package/dist/assets/{chevron-right-DayB9xK6.js → chevron-right-CZEpGP_Y.js} +1 -1
- package/dist/assets/{chevron-top-9WSiSGRy.js → chevron-top-D081n7MO.js} +1 -1
- package/dist/assets/{chrome-store-CgM5Miz5.js → chrome-store-DD4b3pix.js} +1 -1
- package/dist/assets/{clock-BxY5-pG7.js → clock-CIkNUdlW.js} +1 -1
- package/dist/assets/{close-CDUCKnVv.js → close-MjqlUFnr.js} +1 -1
- package/dist/assets/{code-block-D5n56Bu8.js → code-block-BDV3hPqW.js} +1 -1
- package/dist/assets/{coinPlaceholder-Ds_PtIse.js → coinPlaceholder-CQSfO1WN.js} +1 -1
- package/dist/assets/{compass-C649LqmC.js → compass-C5kD2161.js} +1 -1
- package/dist/assets/{copy-DYxsyU2w.js → copy-Zrz0R86f.js} +1 -1
- package/dist/assets/{core-CX6jme4T.js → core-CH8pl6He.js} +3 -3
- package/dist/assets/cursor-BkEr5_-X.js +3 -0
- package/dist/assets/{cursor-transparent-Dq6J5BgS.js → cursor-transparent-DsWWbUhZ.js} +1 -1
- package/dist/assets/{desktop-Do922EUE.js → desktop-C0-agZjr.js} +1 -1
- package/dist/assets/{disconnect-DUKdDBRk.js → disconnect-DMDC_Xs6.js} +1 -1
- package/dist/assets/{discord-JwdabNcm.js → discord-C3cOERbi.js} +1 -1
- package/dist/assets/{en_US-Y4ZOVFV4-CReY5kLU.js → en_US-Y4ZOVFV4-D2zZwqC_.js} +4 -4
- package/dist/assets/{etherscan-DTBHIFki.js → etherscan-m6ykHpsX.js} +1 -1
- package/dist/assets/{exclamation-triangle-BpP327Fo.js → exclamation-triangle-Ndf0Nf0N.js} +1 -1
- package/dist/assets/{extension-j6JOf27o.js → extension-nQAe1Vqe.js} +1 -1
- package/dist/assets/{external-link-KPnIyOs2.js → external-link-Ct2elSIz.js} +1 -1
- package/dist/assets/{facebook-CUm5rmxi.js → facebook-BcEQkgXt.js} +1 -1
- package/dist/assets/{farcaster-B0vG6PgN.js → farcaster-Bm-SoK56.js} +1 -1
- package/dist/assets/{filters-lRsk33JN.js → filters-DkNOeYpX.js} +1 -1
- package/dist/assets/{github-CxYb478W.js → github-CLUyT4GZ.js} +1 -1
- package/dist/assets/{google-AoLkuqHM.js → google-Bzb8d8aw.js} +1 -1
- package/dist/assets/{help-circle-B4PduW5F.js → help-circle-C5S7GK9d.js} +1 -1
- package/dist/assets/{highlighted-body-KQOG7T2V-tu6WaGd1.js → highlighted-body-KQOG7T2V-4RHbDcyq.js} +1 -1
- package/dist/assets/{id-L7tAEkKG.js → id-CjwfmICa.js} +1 -1
- package/dist/assets/{image-DOQYBepB.js → image-CZAX7pOB.js} +1 -1
- package/dist/assets/{index-17PEzKx_.js → index-B8VMfX86.js} +1 -1
- package/dist/assets/{index-y9ajgRFv.js → index-BGpZJvqT.js} +1 -1
- package/dist/assets/{index-Bgrmz5Gh.js → index-BadBPNlq.js} +16 -16
- package/dist/assets/{index-DK7xhF9m.js → index-CZ-EHDzh.js} +1 -1
- package/dist/assets/{index-DNT4SsKr.css → index-D8vXwUTI.css} +1 -1
- package/dist/assets/{index-BqGpfOnj.js → index-k_E0JTj8.js} +3 -3
- package/dist/assets/{index.es-kR-uCv4P.js → index.es-CQ9CIS6P.js} +4 -4
- package/dist/assets/{info-uKWVCo_C.js → info-CRdyUurs.js} +1 -1
- package/dist/assets/{info-circle-BvfVUJNy.js → info-circle-Bulr5-X0.js} +1 -1
- package/dist/assets/{lightbulb-DO32OYdV.js → lightbulb-BccTnGBf.js} +1 -1
- package/dist/assets/{limits-I4Xri5kH.js → limits-DnXi8KYO.js} +1 -1
- package/dist/assets/{mail-MlMfOV0O.js → mail-J1p7aEAL.js} +1 -1
- package/dist/assets/{mermaid-MCJ5UELQ-CXGXvvLA.js → mermaid-MCJ5UELQ-DS0t3vui.js} +3 -3
- package/dist/assets/{metamask-sdk-CZTQzdZy.js → metamask-sdk-DIbH7ulQ.js} +1 -1
- package/dist/assets/{mobile-DxWEXY-d.js → mobile-DweZDHJs.js} +1 -1
- package/dist/assets/{models-DGQYrtKn.js → models-KtwCOBAB.js} +1 -1
- package/dist/assets/{more-CDCHQLT3.js → more-ftCZ78Ri.js} +1 -1
- package/dist/assets/{network-placeholder-Bscumk_y.js → network-placeholder-C56vppZF.js} +1 -1
- package/dist/assets/{nftPlaceholder-CZj8ym45.js → nftPlaceholder-VVSPOtjy.js} +1 -1
- package/dist/assets/{off-DZcfy0ut.js → off-CB6AUEcL.js} +1 -1
- package/dist/assets/{play-store-DMcFVzJl.js → play-store-Cbt8S4Fy.js} +1 -1
- package/dist/assets/{plus-CrMZIqkK.js → plus-D4MGLM7H.js} +1 -1
- package/dist/assets/{qr-code-BmydgyiV.js → qr-code-BcnaLoHb.js} +1 -1
- package/dist/assets/{recycle-horizontal-CSrs8rul.js → recycle-horizontal-CbXg23Et.js} +1 -1
- package/dist/assets/{refresh-Bghm7ATF.js → refresh-DIF_EhZz.js} +1 -1
- package/dist/assets/{reown-logo-BE_YCUWl.js → reown-logo-C6kx1Dpz.js} +1 -1
- package/dist/assets/{search-BVKO89aW.js → search-DuCbGgsb.js} +1 -1
- package/dist/assets/{secp256k1-BYFo74Iy.js → secp256k1-qeEbqQxX.js} +1 -1
- package/dist/assets/{send-pY0DB7x7.js → send-DkMK92qb.js} +1 -1
- package/dist/assets/{swapHorizontal-DLJaB22K.js → swapHorizontal-m5CpC7Qf.js} +1 -1
- package/dist/assets/{swapHorizontalBold-DGAu8PHD.js → swapHorizontalBold-15eicY1d.js} +1 -1
- package/dist/assets/{swapHorizontalMedium-CgNljeNo.js → swapHorizontalMedium-Dgs4j9qs.js} +1 -1
- package/dist/assets/{swapHorizontalRoundedBold-Cj5OUnOy.js → swapHorizontalRoundedBold-C9M5muAI.js} +1 -1
- package/dist/assets/{swapVertical-BrZopBF4.js → swapVertical-Drjd1fn6.js} +1 -1
- package/dist/assets/{telegram-XorPgtmK.js → telegram-BgkRAeS_.js} +1 -1
- package/dist/assets/{three-dots-BJhNCCn5.js → three-dots-C5xkxl8k.js} +1 -1
- package/dist/assets/{twitch-BEbiCzO2.js → twitch-CQfDaj1f.js} +1 -1
- package/dist/assets/{twitterIcon-CkcUz9fu.js → twitterIcon-XiikTDVV.js} +1 -1
- package/dist/assets/{usage-D2MGES9n.js → usage-E97PY8Eg.js} +1 -1
- package/dist/assets/{useInfiniteQuery-DWwzEQdC.js → useInfiniteQuery-D4a4EjtW.js} +1 -1
- package/dist/assets/{useTx-CIkBd_D3.js → useTx-sWvJMTA4.js} +1 -1
- package/dist/assets/{verify-9cqPQDU3.js → verify-B_XwiCO4.js} +1 -1
- package/dist/assets/{verify-filled-Da6z020R.js → verify-filled-o6LejTdA.js} +1 -1
- package/dist/assets/{w3m-modal-DYYWuCzk.js → w3m-modal-BmGCQizE.js} +1 -1
- package/dist/assets/{wallet-ctGTkC8h.js → wallet-2tmSJ8kt.js} +1 -1
- package/dist/assets/{wallet-placeholder-CMKbW-yz.js → wallet-placeholder-BEYpeK2m.js} +1 -1
- package/dist/assets/{walletconnect-Cyg39b3w.js → walletconnect-COxaZlsg.js} +1 -1
- package/dist/assets/{warning-circle-D9mA3kC3.js → warning-circle-CF-y1g4G.js} +1 -1
- package/dist/assets/{x-DVGEd37g.js → x-YfU_qc_f.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +3 -3
- package/dist/assets/Activity-62ACSef_.js +0 -1
- package/dist/assets/ChainGate-B1xi2PsC.js +0 -1
- package/dist/assets/KeyHolder-CPmUp8lv.js +0 -1
- package/dist/assets/Keys-stljGmXA.js +0 -1
- package/dist/assets/Logs-C2h0OUd6.js +0 -1
- package/dist/assets/Members-CvRczTwo.js +0 -1
- package/dist/assets/Models-DRrQ0eaX.js +0 -1
- package/dist/assets/OperatorActions-CDFST6SU.js +0 -1
- package/dist/assets/PolicyEditor-B52YQzMa.js +0 -1
- package/dist/assets/PolicyField-Djk40GaH.js +0 -1
- package/dist/assets/Presets-MqSKjh0_.js +0 -4
- package/dist/assets/Providers-Deprr6b6.js +0 -1
- package/dist/assets/RequestLog-C5PR-cpV.js +0 -1
- package/dist/assets/RewardsClaim-DRzi4dnv.js +0 -1
- package/dist/assets/Routing-B4sVpf47.js +0 -1
- package/dist/assets/SelectField-BSkxMNGk.js +0 -1
- package/dist/assets/TextAreaField-CYcKNNwk.js +0 -1
- package/dist/assets/Wallet-B73Wye2M.js +0 -9
- package/dist/assets/WalletFunding-CctnzIgN.js +0 -1
- package/dist/assets/WalletSignIn-CE39ggEH.js +0 -1
- package/dist/assets/Workspaces-CmwBRhwh.js +0 -1
- package/dist/assets/cursor-BXlarUDb.js +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-D_SYSyRt.js","assets/html-BlS82ilI.js","assets/javascript-wDzz0qaB.js","assets/css-Z72CF80r.js","assets/angular-ts-DGq0tZX5.js","assets/scss-Cw6XMfVs.js","assets/apl-ChzvTHjC.js","assets/xml-sdJ4AIDG.js","assets/java-CylS5w8V.js","assets/json-Cp-IABpG.js","assets/astro-DTjqU0_L.js","assets/typescript-BPQ3VLAy.js","assets/postcss-CXtECtnM.js","assets/tsx-COt5Ahok.js","assets/blade-k33SngOZ.js","assets/html-derivative-DZhk3IEZ.js","assets/sql-DkvoVjww.js","assets/bsl-DlhNcFeZ.js","assets/sdbl-DVxCFoDh.js","assets/cairo-KRGpt6FW.js","assets/python-B6aJPvgy.js","assets/chapel-DTp_pixX.js","assets/c-BIGW1oBm.js","assets/cobol-BBKr1ja6.js","assets/coffee-Ch7k5sss.js","assets/cpp-BMRokrvK.js","assets/regexp-CDVJQ6XC.js","assets/glsl-DplSGwfg.js","assets/crystal-LUwhHfY5.js","assets/shellscript-Yzrsuije.js","assets/edge-CJaD-t2L.js","assets/elixir-DkJLSxtU.js","assets/elm-DbKCFpqz.js","assets/erb-CSMaCouu.js","assets/ruby-C8rp0wew.js","assets/haml-GN_XdMnF.js","assets/graphql-ChdNCCLP.js","assets/jsx-g9-lgVsj.js","assets/lua-BaeVxFsk.js","assets/yaml-Buea-lGh.js","assets/erlang-DsQrWhSR.js","assets/markdown-Cvjx9yec.js","assets/fortran-fixed-form-CkoXwp7k.js","assets/fortran-free-form-BxgE0vQu.js","assets/fsharp-CXgrBDvD.js","assets/gdresource-TyuKm33G.js","assets/gdshader-DkwncUOv.js","assets/gdscript-DqcFQ5yU.js","assets/git-commit-F4YmCXRG.js","assets/diff-D97Zzqfu.js","assets/git-rebase-r7XF79zn.js","assets/glimmer-js-Drrc9bTt.js","assets/glimmer-ts-zeybXsvi.js","assets/hack-Ck6-gGSS.js","assets/handlebars-DPT5vKgj.js","assets/http-jrhK8wxY.js","assets/hurl-irOxFIW8.js","assets/csv-fuZLfV_i.js","assets/hxml-2-FPmUDs.js","assets/haxe-CfZj7gIn.js","assets/jinja-DFQZVq3b.js","assets/jison-wvAkD_A8.js","assets/julia-Cu79e8SL.js","assets/r-Cf5RLm7j.js","assets/just-CMxyWJJc.js","assets/perl-5klg-GXX.js","assets/latex-DJVikpzR.js","assets/tex-D96PA37w.js","assets/liquid-B-duXHXw.js","assets/marko-BYgDmDgU.js","assets/less-B1dDrJ26.js","assets/mdc-DF4WjDMn.js","assets/nextflow-BCxp2Aob.js","assets/nextflow-groovy-CedDknKX.js","assets/nginx-BpAMiNFr.js","assets/nim-nV83PyhX.js","assets/org-6a7ccXN_.js","assets/ini-BEwlwnbL.js","assets/make-CHLpvVh8.js","assets/php-DoruYMF0.js","assets/vb-Cu-pLBUe.js","assets/clojure-P80f7IUj.js","assets/objective-c-DXmwc3jG.js","assets/docker-BcOcwvcX.js","assets/go-C27-OAKa.js","assets/groovy-gcz8RCvz.js","assets/raku-DXvB9xmW.js","assets/rust-DPvrY3IQ.js","assets/scala-CqE71os6.js","assets/csharp-B_TYUkTI.js","assets/dart-CtKP3W-j.js","assets/ocaml-C0hk2d4L.js","assets/zig-VOosw3JB.js","assets/xsl-CtQFsRM5.js","assets/pug-BtYPkAgq.js","assets/qml-3beO22l8.js","assets/razor-CyjPwjZj.js","assets/rst-CVOjT0e7.js","assets/cmake-D1j8_8rp.js","assets/sas-BGn39htG.js","assets/shaderlab-Dg9Lc6iA.js","assets/hlsl-D3lLCCz7.js","assets/shellsession-BADoaaVG.js","assets/soy-zscZBeg6.js","assets/sparql-rVzFXLq3.js","assets/turtle-BsS91CYL.js","assets/stata-DACIj5bg.js","assets/surrealql-Cjom0U5J.js","assets/svelte-D84K1R2Q.js","assets/templ-Vpw5XpSW.js","assets/ts-tags-Ls60c9xG.js","assets/twig-D9-LOF2p.js","assets/typst-DamkJZ1Q.js","assets/bat-CickPsom.js","assets/bibtex-CHM0blh-.js","assets/jsonc-Des-eS-w.js","assets/log-2UxHyX5q.js","assets/powershell-Dd0kTxKP.js","assets/swift-C2oV4EkX.js","assets/verilog-nZwndyjY.js","assets/system-verilog-0hqHdDBg.js","assets/vue-DSqPwMUe.js","assets/vue-html-AaS7Mt5G.js","assets/vue-vine-C0RcJ6UU.js","assets/stylus-BEDo0Tqx.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var In=Object.defineProperty;var On=(n,e,t)=>e in n?In(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var _=(n,e,t)=>On(n,typeof e!="symbol"?e+"":e,t);import{_ as a}from"./index-Bgrmz5Gh.js";var We=Object.defineProperty,Cn=Object.getOwnPropertyDescriptor,wn=Object.getOwnPropertyNames,kn=Object.prototype.hasOwnProperty,Dn=(n,e)=>{let t={};for(var r in n)We(t,r,{get:n[r],enumerable:!0});return We(t,Symbol.toStringTag,{value:"Module"}),t},Nn=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(var i=wn(e),o=0,s=i.length,u;o<s;o++)u=i[o],!kn.call(n,u)&&u!==t&&We(n,u,{get:(l=>e[l]).bind(null,u),enumerable:!(r=Cn(e,u))||r.enumerable});return n},Vn=(n,e,t)=>(Nn(n,e,"default"),t);const Vt=[{id:"abap",name:"ABAP",import:(()=>a(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",aliases:["actionscript","as3"],import:(()=>a(()=>import("./actionscript-3-B3316cI-.js"),[]))},{id:"ada",name:"Ada",import:(()=>a(()=>import("./ada-BIOnG6TC.js"),[]))},{id:"ahk",name:"AutoHotkey",aliases:["ahk1"],import:(()=>a(()=>import("./ahk-BrbAagtO.js"),[]))},{id:"ahk2",name:"AutoHotkey2",import:(()=>a(()=>import("./ahk2-8Zs4aa1G.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>a(()=>import("./angular-html-D_SYSyRt.js").then(n=>n.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>a(()=>import("./angular-ts-DGq0tZX5.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>a(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>a(()=>import("./apex-DhZFqWV2.js"),[]))},{id:"apl",name:"APL",import:(()=>a(()=>import("./apl-ChzvTHjC.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>a(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>a(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>a(()=>import("./asciidoc-CSVQ5wI8.js"),[]))},{id:"asm",name:"Assembly",import:(()=>a(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>a(()=>import("./astro-DTjqU0_L.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>a(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>a(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch","cmd"],import:(()=>a(()=>import("./bat-CickPsom.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>a(()=>import("./beancount-BgSHGh8x.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>a(()=>import("./berry-uYugtg8r.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>a(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>a(()=>import("./bicep-Bmn6On1c.js"),[]))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:(()=>a(()=>import("./bird2-Bx8U0n9b.js"),[]))},{id:"blade",name:"Blade",import:(()=>a(()=>import("./blade-k33SngOZ.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>a(()=>import("./bsl-DlhNcFeZ.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>a(()=>import("./c-BIGW1oBm.js"),[]))},{id:"c3",name:"C3",import:(()=>a(()=>import("./c3-Dp5svz6Z.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>a(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>a(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"chapel",name:"Chapel",aliases:["chpl"],import:(()=>a(()=>import("./chapel-DTp_pixX.js"),__vite__mapDeps([21,22])))},{id:"clarity",name:"Clarity",import:(()=>a(()=>import("./clarity-Dn5IMItf.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>a(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>a(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>a(()=>import("./cobol-BBKr1ja6.js"),__vite__mapDeps([23,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>a(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>a(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>a(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([24,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>a(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Rocq",import:(()=>a(()=>import("./coq-BqXF5kFF.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>a(()=>import("./cpp-BMRokrvK.js"),__vite__mapDeps([25,26,27,22])))},{id:"crystal",name:"Crystal",import:(()=>a(()=>import("./crystal-LUwhHfY5.js"),__vite__mapDeps([28,1,2,3,16,22,29])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>a(()=>import("./csharp-B_TYUkTI.js"),[]))},{id:"css",name:"CSS",import:(()=>a(()=>import("./css-Z72CF80r.js"),[]))},{id:"csv",name:"CSV",import:(()=>a(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>a(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>a(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>a(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>a(()=>import("./dart-CtKP3W-j.js"),[]))},{id:"dax",name:"DAX",import:(()=>a(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>a(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>a(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>a(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>a(()=>import("./dotenv-De0Btta0.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>a(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>a(()=>import("./edge-CJaD-t2L.js"),__vite__mapDeps([30,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>a(()=>import("./elixir-DkJLSxtU.js"),__vite__mapDeps([31,1,2,3])))},{id:"elm",name:"Elm",import:(()=>a(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([32,27,22])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>a(()=>import("./emacs-lisp-DaIrSCgJ.js"),[]))},{id:"erb",name:"ERB",import:(()=>a(()=>import("./erb-CSMaCouu.js"),__vite__mapDeps([33,1,2,3,34,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>a(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([40,41])))},{id:"fennel",name:"Fennel",import:(()=>a(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>a(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>a(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>a(()=>import("./fortran-fixed-form-CkoXwp7k.js"),__vite__mapDeps([42,43])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>a(()=>import("./fortran-free-form-BxgE0vQu.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>a(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([44,41])))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:(()=>a(()=>import("./gdresource-TyuKm33G.js"),__vite__mapDeps([45,46,47])))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:(()=>a(()=>import("./gdscript-DqcFQ5yU.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>a(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>a(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>a(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>a(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([48,49])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>a(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([50,29])))},{id:"gleam",name:"Gleam",import:(()=>a(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>a(()=>import("./glimmer-js-Drrc9bTt.js"),__vite__mapDeps([51,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>a(()=>import("./glimmer-ts-zeybXsvi.js"),__vite__mapDeps([52,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>a(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([27,22])))},{id:"gn",name:"GN",import:(()=>a(()=>import("./gn-8iBmfbXw.js"),[]))},{id:"gnuplot",name:"Gnuplot",import:(()=>a(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>a(()=>import("./go-C27-OAKa.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>a(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([36,2,11,37,13])))},{id:"groovy",name:"Groovy",import:(()=>a(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>a(()=>import("./hack-Ck6-gGSS.js"),__vite__mapDeps([53,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>a(()=>import("./haml-GN_XdMnF.js"),__vite__mapDeps([35,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>a(()=>import("./handlebars-DPT5vKgj.js"),__vite__mapDeps([54,1,2,3,39])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>a(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>a(()=>import("./haxe-CfZj7gIn.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>a(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>a(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>a(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>a(()=>import("./html-BlS82ilI.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>a(()=>import("./html-derivative-DZhk3IEZ.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>a(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([55,29,9,7,8,36,2,11,37,13])))},{id:"hurl",name:"Hurl",import:(()=>a(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([56,36,2,11,37,13,7,8,57])))},{id:"hxml",name:"HXML",import:(()=>a(()=>import("./hxml-2-FPmUDs.js"),__vite__mapDeps([58,59])))},{id:"hy",name:"Hy",import:(()=>a(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>a(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>a(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>a(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>a(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>a(()=>import("./jinja-DFQZVq3b.js"),__vite__mapDeps([60,1,2,3])))},{id:"jison",name:"Jison",import:(()=>a(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([61,2])))},{id:"json",name:"JSON",import:(()=>a(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>a(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>a(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>a(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>a(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>a(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>a(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>a(()=>import("./julia-Cu79e8SL.js"),__vite__mapDeps([62,25,26,27,22,20,2,63,16])))},{id:"just",name:"Just",aliases:["justfile"],import:(()=>a(()=>import("./just-CMxyWJJc.js"),__vite__mapDeps([64,29,2,11,65,1,3,7,8,16,20,34,35,36,37,13,25,26,27,22,38,39])))},{id:"kdl",name:"KDL",import:(()=>a(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>a(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>a(()=>import("./kusto-wEQ09or8.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>a(()=>import("./latex-DJVikpzR.js"),__vite__mapDeps([66,67,63])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>a(()=>import("./lean-BZvkOJ9d.js"),[]))},{id:"less",name:"Less",import:(()=>a(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>a(()=>import("./liquid-B-duXHXw.js"),__vite__mapDeps([68,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>a(()=>import("./llvm-BZoOZj88.js"),[]))},{id:"log",name:"Log file",import:(()=>a(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>a(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>a(()=>import("./lua-BaeVxFsk.js"),__vite__mapDeps([38,22])))},{id:"luau",name:"Luau",import:(()=>a(()=>import("./luau-nOZpfvQi.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>a(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>a(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>a(()=>import("./marko-BYgDmDgU.js"),__vite__mapDeps([69,3,70,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>a(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>a(()=>import("./mdc-DF4WjDMn.js"),__vite__mapDeps([71,41,39,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>a(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>a(()=>import("./mermaid-CQcHuHx7.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>a(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>a(()=>import("./mojo-DJz3ZmWd.js"),[]))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:(()=>a(()=>import("./moonbit-Bag4Rp_g.js"),[]))},{id:"move",name:"Move",import:(()=>a(()=>import("./move-el3G9tDJ.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>a(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>a(()=>import("./nextflow-BCxp2Aob.js"),__vite__mapDeps([72,73])))},{id:"nextflow-groovy",name:"Nextflow Groovy",import:(()=>a(()=>import("./nextflow-groovy-CedDknKX.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>a(()=>import("./nginx-BpAMiNFr.js"),__vite__mapDeps([74,38,22])))},{id:"nim",name:"Nim",import:(()=>a(()=>import("./nim-nV83PyhX.js"),__vite__mapDeps([75,22,1,2,3,7,8,27,41])))},{id:"nix",name:"Nix",import:(()=>a(()=>import("./nix-CwoSXNpI.js"),[]))},{id:"nsis",name:"NSIS",import:(()=>a(()=>import("./nsis-BlV79W_Q.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>a(()=>import("./nushell-BXD5iret.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>a(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>a(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>a(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"odin",name:"Odin",import:(()=>a(()=>import("./odin-BBf5iR-q.js"),[]))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:(()=>a(()=>import("./openscad-C4EeE6gA.js"),[]))},{id:"org",name:"Org Markup",import:(()=>a(()=>import("./org-6a7ccXN_.js"),__vite__mapDeps([76,2,11,13,8,20,26,3,38,22,77,78,65,1,7,16,63,34,35,36,37,25,27,29,39,79,9,80,81,24,82,49,83,84,85,70,5,86,87,88,89,90,75,41,31,40,91,92,93,48,50,66,67])))},{id:"pascal",name:"Pascal",import:(()=>a(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>a(()=>import("./perl-5klg-GXX.js"),__vite__mapDeps([65,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>a(()=>import("./php-DoruYMF0.js"),__vite__mapDeps([79,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>a(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>a(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>a(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>a(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>a(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>a(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1","pwsh"],import:(()=>a(()=>import("./powershell-Dd0kTxKP.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>a(()=>import("./prisma-Vru482bI.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>a(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>a(()=>import("./proto-C7zT0LnQ.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>a(()=>import("./pug-BtYPkAgq.js"),__vite__mapDeps([94,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>a(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>a(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>a(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>a(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([95,2])))},{id:"qmldir",name:"QML Directory",import:(()=>a(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>a(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>a(()=>import("./r-Cf5RLm7j.js"),[]))},{id:"racket",name:"Racket",import:(()=>a(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>a(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>a(()=>import("./razor-CyjPwjZj.js"),__vite__mapDeps([96,1,2,3,89])))},{id:"rbs",name:"RBS",aliases:["ruby-signature"],import:(()=>a(()=>import("./rbs-CpoqiR4B.js"),[]))},{id:"reg",name:"Windows Registry Script",import:(()=>a(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>a(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>a(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>a(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"ron",name:"RON",import:(()=>a(()=>import("./ron-D8l8udqQ.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>a(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>a(()=>import("./rst-CVOjT0e7.js"),__vite__mapDeps([97,15,1,2,3,25,26,27,22,20,29,39,98,34,35,7,8,16,36,11,37,13,38])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>a(()=>import("./ruby-C8rp0wew.js"),__vite__mapDeps([34,1,2,3,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>a(()=>import("./rust-DPvrY3IQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>a(()=>import("./sas-BGn39htG.js"),__vite__mapDeps([99,16])))},{id:"sass",name:"Sass",import:(()=>a(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>a(()=>import("./scala-CqE71os6.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>a(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>a(()=>import("./scss-Cw6XMfVs.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>a(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>a(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([100,101])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>a(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>a(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([102,29])))},{id:"smalltalk",name:"GNU Smalltalk",import:(()=>a(()=>import("./smalltalk-BOQMe2GC.js"),[]))},{id:"smithy",name:"Smithy",import:(()=>a(()=>import("./smithy-cds9vsN8.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>a(()=>import("./solidity-DijEV5ha.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>a(()=>import("./soy-zscZBeg6.js"),__vite__mapDeps([103,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>a(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([104,105])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>a(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>a(()=>import("./sql-DkvoVjww.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>a(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>a(()=>import("./stata-DACIj5bg.js"),__vite__mapDeps([106,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>a(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:(()=>a(()=>import("./surrealql-Cjom0U5J.js"),__vite__mapDeps([107,2])))},{id:"svelte",name:"Svelte",import:(()=>a(()=>import("./svelte-D84K1R2Q.js"),__vite__mapDeps([108,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>a(()=>import("./swift-C2oV4EkX.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>a(()=>import("./system-verilog-0hqHdDBg.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>a(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>a(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>a(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>a(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>a(()=>import("./templ-Vpw5XpSW.js"),__vite__mapDeps([109,84,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>a(()=>import("./terraform-BETggiCN.js"),[]))},{id:"tex",name:"TeX",import:(()=>a(()=>import("./tex-D96PA37w.js"),__vite__mapDeps([67,63])))},{id:"toml",name:"TOML",import:(()=>a(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>a(()=>import("./ts-tags-Ls60c9xG.js"),__vite__mapDeps([110,11,3,2,27,22,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>a(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>a(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>a(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>a(()=>import("./twig-D9-LOF2p.js"),__vite__mapDeps([111,2,3,5,79,1,7,8,16,9,20,34,35,36,11,37,13,25,26,27,22,29,38,39])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>a(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>a(()=>import("./typespec-ClX509-Q.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>a(()=>import("./typst-DamkJZ1Q.js"),__vite__mapDeps([112,113,114,22,81,24,2,25,26,27,3,89,90,49,83,31,1,40,41,44,48,50,29,84,85,54,39,77,8,115,9,62,20,63,16,66,67,70,116,38,78,82,65,7,86,79,117,94,34,35,36,11,37,13,5,118,93,87,88,111,119,120,80])))},{id:"v",name:"V",import:(()=>a(()=>import("./v-BGw2Nkan.js"),[]))},{id:"vala",name:"Vala",import:(()=>a(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",import:(()=>a(()=>import("./vb-Cu-pLBUe.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>a(()=>import("./verilog-nZwndyjY.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>a(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>a(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>a(()=>import("./vue-DSqPwMUe.js"),__vite__mapDeps([121,3,2,11,9,1,15])))},{id:"vue-html",name:"Vue HTML",import:(()=>a(()=>import("./vue-html-AaS7Mt5G.js"),__vite__mapDeps([122,2])))},{id:"vue-vine",name:"Vue Vine",import:(()=>a(()=>import("./vue-vine-C0RcJ6UU.js"),__vite__mapDeps([123,3,5,70,124,12,2])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>a(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>a(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>a(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>a(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>a(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>a(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>a(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>a(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>a(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([93,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>a(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>a(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>a(()=>import("./zig-VOosw3JB.js"),[]))}],xn=Object.fromEntries(Vt.map(n=>[n.id,n.import])),Mn=Object.fromEntries(Vt.flatMap(n=>{var e;return((e=n.aliases)==null?void 0:e.map(t=>[t,n.import]))||[]})),Bn={...xn,...Mn},Gn=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>a(()=>import("./andromeeda-C4gqWexZ.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>a(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>a(()=>import("./ayu-dark-DYE7WIF3.js"),[]))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:(()=>a(()=>import("./ayu-light-BA47KaF1.js"),[]))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:(()=>a(()=>import("./ayu-mirage-32ctXXKs.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>a(()=>import("./catppuccin-frappe-CZL1YF0i.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>a(()=>import("./catppuccin-latte-DH-8KZSZ.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>a(()=>import("./catppuccin-macchiato-B7yYVSCf.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>a(()=>import("./catppuccin-mocha-Ct7hS0mc.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>a(()=>import("./dark-plus-C3mMm8J8.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>a(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>a(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>a(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>a(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>a(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>a(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>a(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>a(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>a(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>a(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>a(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>a(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>a(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>a(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"horizon",displayName:"Horizon",type:"dark",import:(()=>a(()=>import("./horizon-BUw7H-hv.js"),[]))},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:(()=>a(()=>import("./horizon-bright-CUuTKBJd.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>a(()=>import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>a(()=>import("./kanagawa-dragon-BuwD2xS4.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>a(()=>import("./kanagawa-lotus-C3DzagqV.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>a(()=>import("./kanagawa-wave-DFGoQZhC.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>a(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>a(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>a(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>a(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>a(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>a(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>a(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>a(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>a(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>a(()=>import("./monokai-CR4piiQ-.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>a(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:(()=>a(()=>import("./night-owl-light-CMTm3GFP.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>a(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>a(()=>import("./one-dark-pro-CxGP3dtY.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>a(()=>import("./one-light-C3Wv6jpd.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>a(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>a(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>a(()=>import("./red-DMbB5_pp.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>a(()=>import("./rose-pine-5qJOZa0Y.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>a(()=>import("./rose-pine-dawn-zx0QlTCp.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>a(()=>import("./rose-pine-moon-C9pEdX9L.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>a(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>a(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>a(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>a(()=>import("./solarized-dark-UcubFVte.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>a(()=>import("./solarized-light-DCG28T6R.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>a(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>a(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>a(()=>import("./vesper-DRje8inN.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>a(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>a(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>a(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],jn=Object.fromEntries(Gn.map(n=>[n.id,n.import]));var rt=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function $n(){return 2147483648}function Un(){return typeof performance<"u"?performance.now():Date.now()}const Hn=(n,e)=>n+(e-n%e)%e;async function Wn(n){let e,t;const r={};function i(h){t=h,r.HEAPU8=new Uint8Array(h),r.HEAPU32=new Uint32Array(h)}function o(h,f,A){r.HEAPU8.copyWithin(h,f,f+A)}function s(h){try{return e.grow(h-t.byteLength+65535>>>16),i(e.buffer),1}catch{}}function u(h){const f=r.HEAPU8.length;h=h>>>0;const A=$n();if(h>A)return!1;for(let R=1;R<=4;R*=2){let E=f*(1+.2/R);E=Math.min(E,h+100663296);const y=Math.min(A,Hn(Math.max(h,E),65536));if(s(y))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(h,f,A=1024){const R=f+A;let E=f;for(;h[E]&&!(E>=R);)++E;if(E-f>16&&h.buffer&&l)return l.decode(h.subarray(f,E));let y="";for(;f<E;){let v=h[f++];if(!(v&128)){y+=String.fromCharCode(v);continue}const T=h[f++]&63;if((v&224)===192){y+=String.fromCharCode((v&31)<<6|T);continue}const L=h[f++]&63;if((v&240)===224?v=(v&15)<<12|T<<6|L:v=(v&7)<<18|T<<12|L<<6|h[f++]&63,v<65536)y+=String.fromCharCode(v);else{const P=v-65536;y+=String.fromCharCode(55296|P>>10,56320|P&1023)}}return y}function m(h,f){return h?c(r.HEAPU8,h,f):""}const d={emscripten_get_now:Un,emscripten_memcpy_big:o,emscripten_resize_heap:u,fd_write:()=>0};async function p(){const f=await n({env:d,wasi_snapshot_preview1:d});e=f.memory,i(e.buffer),Object.assign(r,f),r.UTF8ToString=m}return await p(),r}var Fn=Object.defineProperty,zn=(n,e,t)=>e in n?Fn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,C=(n,e,t)=>zn(n,typeof e!="symbol"?e+"":e,t);let k=null;function qn(n){throw new rt(n.UTF8ToString(n.getLastOnigError()))}class Ie{constructor(e){C(this,"utf16Length"),C(this,"utf8Length"),C(this,"utf16Value"),C(this,"utf8Value"),C(this,"utf16OffsetToUtf8"),C(this,"utf8OffsetToUtf16");const t=e.length,r=Ie._utf8ByteLength(e),i=r!==t,o=i?new Uint32Array(t+1):null;i&&(o[t]=r);const s=i?new Uint32Array(r+1):null;i&&(s[r]=t);const u=new Uint8Array(r);let l=0;for(let c=0;c<t;c++){const m=e.charCodeAt(c);let d=m,p=!1;if(m>=55296&&m<=56319&&c+1<t){const h=e.charCodeAt(c+1);h>=56320&&h<=57343&&(d=(m-55296<<10)+65536|h-56320,p=!0)}i&&(o[c]=l,p&&(o[c+1]=l),d<=127?s[l+0]=c:d<=2047?(s[l+0]=c,s[l+1]=c):d<=65535?(s[l+0]=c,s[l+1]=c,s[l+2]=c):(s[l+0]=c,s[l+1]=c,s[l+2]=c,s[l+3]=c)),d<=127?u[l++]=d:d<=2047?(u[l++]=192|(d&1984)>>>6,u[l++]=128|(d&63)>>>0):d<=65535?(u[l++]=224|(d&61440)>>>12,u[l++]=128|(d&4032)>>>6,u[l++]=128|(d&63)>>>0):(u[l++]=240|(d&1835008)>>>18,u[l++]=128|(d&258048)>>>12,u[l++]=128|(d&4032)>>>6,u[l++]=128|(d&63)>>>0),p&&c++}this.utf16Length=t,this.utf8Length=r,this.utf16Value=e,this.utf8Value=u,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=s}static _utf8ByteLength(e){let t=0;for(let r=0,i=e.length;r<i;r++){const o=e.charCodeAt(r);let s=o,u=!1;if(o>=55296&&o<=56319&&r+1<i){const l=e.charCodeAt(r+1);l>=56320&&l<=57343&&(s=(o-55296<<10)+65536|l-56320,u=!0)}s<=127?t+=1:s<=2047?t+=2:s<=65535?t+=3:t+=4,u&&r++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const Oe=class ${constructor(e){if(C(this,"id",++$.LAST_ID),C(this,"_onigBinding"),C(this,"content"),C(this,"utf16Length"),C(this,"utf8Length"),C(this,"utf16OffsetToUtf8"),C(this,"utf8OffsetToUtf16"),C(this,"ptr"),!k)throw new rt("Must invoke loadWasm first.");this._onigBinding=k,this.content=e;const t=new Ie(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!$._sharedPtrInUse?($._sharedPtr||($._sharedPtr=k.omalloc(1e4)),$._sharedPtrInUse=!0,k.HEAPU8.set(t.utf8Value,$._sharedPtr),this.ptr=$._sharedPtr):this.ptr=t.createString(k)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===$._sharedPtr?$._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};C(Oe,"LAST_ID",0);C(Oe,"_sharedPtr",0);C(Oe,"_sharedPtrInUse",!1);let xt=Oe;class Kn{constructor(e){if(C(this,"_onigBinding"),C(this,"_ptr"),!k)throw new rt("Must invoke loadWasm first.");const t=[],r=[];for(let u=0,l=e.length;u<l;u++){const c=new Ie(e[u]);t[u]=c.createString(k),r[u]=c.utf8Length}const i=k.omalloc(4*e.length);k.HEAPU32.set(t,i/4);const o=k.omalloc(4*e.length);k.HEAPU32.set(r,o/4);const s=k.createOnigScanner(i,o,e.length);for(let u=0,l=e.length;u<l;u++)k.ofree(t[u]);k.ofree(o),k.ofree(i),s===0&&qn(k),this._onigBinding=k,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,r){let i=0;if(typeof r=="number"&&(i=r),typeof e=="string"){e=new xt(e);const o=this._findNextMatchSync(e,t,!1,i);return e.dispose(),o}return this._findNextMatchSync(e,t,!1,i)}_findNextMatchSync(e,t,r,i){const o=this._onigBinding,s=o.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),i);if(s===0)return null;const u=o.HEAPU32;let l=s/4;const c=u[l++],m=u[l++],d=[];for(let p=0;p<m;p++){const h=e.convertUtf8OffsetToUtf16(u[l++]),f=e.convertUtf8OffsetToUtf16(u[l++]);d[p]={start:h,end:f,length:f-h}}return{index:c,captureIndices:d}}}function Jn(n){return typeof n.instantiator=="function"}function Xn(n){return typeof n.default=="function"}function Yn(n){return typeof n.data<"u"}function Qn(n){return typeof Response<"u"&&n instanceof Response}function Zn(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let pe;function Mt(n){if(pe)return pe;async function e(){k=await Wn(async t=>{let r=n;return r=await r,typeof r=="function"&&(r=await r(t)),typeof r=="function"&&(r=await r(t)),Jn(r)?r=await r.instantiator(t):Xn(r)?r=await r.default(t):(Yn(r)&&(r=r.data),Qn(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await er(r)(t):r=await tr(r)(t):Zn(r)?r=await xe(r)(t):r instanceof WebAssembly.Module?r=await xe(r)(t):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await xe(r.default)(t))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return pe=e(),pe}function xe(n){return e=>WebAssembly.instantiate(n,e)}function er(n){return e=>WebAssembly.instantiateStreaming(n,e)}function tr(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let Bt;function nr(n){Bt=n}function rr(){return Bt}async function ir(n){return n&&await Mt(n),{createScanner(e){return new Kn(e.map(t=>typeof t=="string"?t:t.source))},createString(e){return new xt(e)}}}const or=Object.freeze(Object.defineProperty({__proto__:null,createOnigurumaEngine:ir,getDefaultWasmLoader:rr,loadWasm:Mt,setDefaultWasmLoader:nr},Symbol.toStringTag,{value:"Module"}));var Gt=Dn({});Vn(Gt,or);var I=class extends Error{constructor(n){super(n),this.name="ShikiError"}};function sr(n){return it(n)}function it(n){return Array.isArray(n)?ar(n):n instanceof RegExp?n:typeof n=="object"?lr(n):n}function ar(n){let e=[];for(let t=0,r=n.length;t<r;t++)e[t]=it(n[t]);return e}function lr(n){let e={};for(let t in n)e[t]=it(n[t]);return e}function jt(n,...e){return e.forEach(t=>{for(let r in t)n[r]=t[r]}),n}function $t(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?$t(n.substring(0,n.length-1)):n.substr(~e+1)}var Me=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,me=class{static hasCaptures(n){return n===null?!1:(Me.lastIndex=0,Me.test(n))}static replaceCaptures(n,e,t){return n.replace(Me,(r,i,o,s)=>{let u=t[parseInt(i||o,10)];if(u){let l=e.substring(u.start,u.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Ut(n,e){return n<e?-1:n>e?1:0}function Ht(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,r=e.length;if(t===r){for(let i=0;i<t;i++){let o=Ut(n[i],e[i]);if(o!==0)return o}return 0}return t-r}function pt(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Wt(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Ft=class{constructor(n){_(this,"cache",new Map);this.fn=n}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},ye=class{constructor(n,e,t){_(this,"_cachedMatchRoot",new Ft(n=>this._root.match(n)));this._colorMap=n,this._defaults=e,this._root=t}static createFromRawTheme(n,e){return this.createFromParsedTheme(dr(n),e)}static createFromParsedTheme(n,e){return mr(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,r=this._cachedMatchRoot.get(e).find(i=>ur(n.parent,i.parentScopes));return r?new zt(r.fontStyle,r.foreground,r.background):null}},Be=class fe{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const r of t)e=new fe(e,r);return e}static from(...e){let t=null;for(let r=0;r<e.length;r++)t=new fe(t,e[r]);return t}push(e){return new fe(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let r=this;for(;r&&r!==e;)t.push(r.scopeName),r=r.parent;return r===e?t.reverse():void 0}};function ur(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let r=e[t],i=!1;if(r===">"){if(t===e.length-1)return!1;r=e[++t],i=!0}for(;n&&!cr(n.scopeName,r);){if(i)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function cr(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var zt=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function dr(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],r=0;for(let i=0,o=e.length;i<o;i++){let s=e[i];if(!s.settings)continue;let u;if(typeof s.scope=="string"){let d=s.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),u=d.split(",")}else Array.isArray(s.scope)?u=s.scope:u=[""];let l=-1;if(typeof s.settings.fontStyle=="string"){l=0;let d=s.settings.fontStyle.split(" ");for(let p=0,h=d.length;p<h;p++)switch(d[p]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof s.settings.foreground=="string"&&pt(s.settings.foreground)&&(c=s.settings.foreground);let m=null;typeof s.settings.background=="string"&&pt(s.settings.background)&&(m=s.settings.background);for(let d=0,p=u.length;d<p;d++){let f=u[d].trim().split(" "),A=f[f.length-1],R=null;f.length>1&&(R=f.slice(0,f.length-1),R.reverse()),t[r++]=new pr(A,R,i,l,c,m)}}return t}var pr=class{constructor(n,e,t,r,i,o){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=r,this.foreground=i,this.background=o}},N=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(N||{});function mr(n,e){n.sort((l,c)=>{let m=Ut(l.scope,c.scope);return m!==0||(m=Ht(l.parentScopes,c.parentScopes),m!==0)?m:l.index-c.index});let t=0,r="#000000",i="#ffffff";for(;n.length>=1&&n[0].scope==="";){let l=n.shift();l.fontStyle!==-1&&(t=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(i=l.background)}let o=new hr(e),s=new zt(t,o.getId(r),o.getId(i)),u=new fr(new Fe(0,null,-1,0,0),[]);for(let l=0,c=n.length;l<c;l++){let m=n[l];u.insert(0,m.scope,m.parentScopes,m.fontStyle,o.getId(m.foreground),o.getId(m.background))}return new ye(o,s,u)}var hr=class{constructor(n){_(this,"_isFrozen");_(this,"_lastColorId");_(this,"_id2color");_(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},_r=Object.freeze([]),Fe=class qt{constructor(e,t,r,i,o){_(this,"scopeDepth");_(this,"parentScopes");_(this,"fontStyle");_(this,"foreground");_(this,"background");this.scopeDepth=e,this.parentScopes=t||_r,this.fontStyle=r,this.foreground=i,this.background=o}clone(){return new qt(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let r=0,i=e.length;r<i;r++)t[r]=e[r].clone();return t}acceptOverwrite(e,t,r,i){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}},fr=class ze{constructor(e,t=[],r={}){_(this,"_rulesWithParentScopes");this._mainRule=e,this._children=r,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let r=0,i=0;for(;e.parentScopes[r]===">"&&r++,t.parentScopes[i]===">"&&i++,!(r>=e.parentScopes.length||i>=t.parentScopes.length);){const o=t.parentScopes[i].length-e.parentScopes[r].length;if(o!==0)return o;r++,i++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),i,o;if(r===-1?(i=e,o=""):(i=e.substring(0,r),o=e.substring(r+1)),this._children.hasOwnProperty(i))return this._children[i].match(o)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(ze._cmpBySpecificity),t}insert(e,t,r,i,o,s){if(t===""){this._doInsertHere(e,r,i,o,s);return}let u=t.indexOf("."),l,c;u===-1?(l=t,c=""):(l=t.substring(0,u),c=t.substring(u+1));let m;this._children.hasOwnProperty(l)?m=this._children[l]:(m=new ze(this._mainRule.clone(),Fe.cloneArr(this._rulesWithParentScopes)),this._children[l]=m),m.insert(e+1,c,r,i,o,s)}_doInsertHere(e,t,r,i,o){if(t===null){this._mainRule.acceptOverwrite(e,r,i,o);return}for(let s=0,u=this._rulesWithParentScopes.length;s<u;s++){let l=this._rulesWithParentScopes[s];if(Ht(l.parentScopes,t)===0){l.acceptOverwrite(e,r,i,o);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new Fe(e,t,r,i,o))}},J=class G{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=G.getLanguageId(e),r=G.getTokenType(e),i=G.getFontStyle(e),o=G.getForeground(e),s=G.getBackground(e);console.log({languageId:t,tokenType:r,fontStyle:i,foreground:o,background:s})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,r,i,o,s,u){let l=G.getLanguageId(e),c=G.getTokenType(e),m=G.containsBalancedBrackets(e)?1:0,d=G.getFontStyle(e),p=G.getForeground(e),h=G.getBackground(e);return t!==0&&(l=t),r!==8&&(c=r),i!==null&&(m=i?1:0),o!==-1&&(d=o),s!==0&&(p=s),u!==0&&(h=u),(l<<0|c<<8|m<<10|d<<11|p<<15|h<<24)>>>0}};function Ee(n,e){const t=[],r=gr(n);let i=r.next();for(;i!==null;){let l=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=s();if(t.push({matcher:c,priority:l}),i!==",")break;i=r.next()}return t;function o(){if(i==="-"){i=r.next();const l=o();return c=>!!l&&!l(c)}if(i==="("){i=r.next();const l=u();return i===")"&&(i=r.next()),l}if(mt(i)){const l=[];do l.push(i),i=r.next();while(mt(i));return c=>e(l,c)}return null}function s(){const l=[];let c=o();for(;c;)l.push(c),c=o();return m=>l.every(d=>d(m))}function u(){const l=[];let c=s();for(;c&&(l.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=s()}return m=>l.some(d=>d(m))}}function mt(n){return!!n&&!!n.match(/[\w\.:]+/)}function gr(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const r=t[0];return t=e.exec(n),r}}}function Kt(n){typeof n.dispose=="function"&&n.dispose()}var oe=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},yr=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},Er=class{constructor(){_(this,"_references",[]);_(this,"_seenReferenceKeys",new Set);_(this,"visitedRule",new Set)}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},vr=class{constructor(n,e){_(this,"seenFullScopeRequests",new Set);_(this,"seenPartialScopeRequests",new Set);_(this,"Q");this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new oe(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new Er;for(const t of n)Rr(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof oe){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function Rr(n,e,t,r){const i=t.lookup(n.scopeName);if(!i){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const o=t.lookup(e);n instanceof oe?ge({baseGrammar:o,selfGrammar:i},r):qe(n.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},r);const s=t.injections(n.scopeName);if(s)for(const u of s)r.add(new oe(u))}function qe(n,e,t){if(e.repository&&e.repository[n]){const r=e.repository[n];ve([r],e,t)}}function ge(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&ve(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&ve(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function ve(n,e,t){for(const r of n){if(t.visitedRule.has(r))continue;t.visitedRule.add(r);const i=r.repository?jt({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&ve(r.patterns,{...e,repository:i},t);const o=r.include;if(!o)continue;const s=Jt(o);switch(s.kind){case 0:ge({...e,selfGrammar:e.baseGrammar},t);break;case 1:ge(e,t);break;case 2:qe(s.ruleName,{...e,repository:i},t);break;case 3:case 4:const u=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(u){const l={baseGrammar:e.baseGrammar,selfGrammar:u,repository:i};s.kind===4?qe(s.ruleName,l,t):ge(l,t)}else s.kind===4?t.add(new yr(s.scopeName,s.ruleName)):t.add(new oe(s.scopeName));break}}}var Ar=class{constructor(){_(this,"kind",0)}},br=class{constructor(){_(this,"kind",1)}},Tr=class{constructor(n){_(this,"kind",2);this.ruleName=n}},Lr=class{constructor(n){_(this,"kind",3);this.scopeName=n}},Pr=class{constructor(n,e){_(this,"kind",4);this.scopeName=n,this.ruleName=e}};function Jt(n){if(n==="$base")return new Ar;if(n==="$self")return new br;const e=n.indexOf("#");if(e===-1)return new Lr(n);if(e===0)return new Tr(n.substring(1));{const t=n.substring(0,e),r=n.substring(e+1);return new Pr(t,r)}}var Sr=/\\(\d+)/,ht=/\\(\d+)/g,Ir=-1,Xt=-2;var ue=class{constructor(n,e,t,r){_(this,"$location");_(this,"id");_(this,"_nameIsCapturing");_(this,"_name");_(this,"_contentNameIsCapturing");_(this,"_contentName");this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=me.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=me.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${$t(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:me.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:me.replaceCaptures(this._contentName,n,e)}},Or=class extends ue{constructor(e,t,r,i,o){super(e,t,r,i);_(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,r,i){throw new Error("Not supported!")}},Cr=class extends ue{constructor(e,t,r,i,o){super(e,t,r,null);_(this,"_match");_(this,"captures");_(this,"_cachedCompiledPatterns");this._match=new se(i,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ae,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},_t=class extends ue{constructor(e,t,r,i,o){super(e,t,r,i);_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const r of this.patterns)e.getRule(r).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ae,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ke=class extends ue{constructor(e,t,r,i,o,s,u,l,c,m){super(e,t,r,i);_(this,"_begin");_(this,"beginCaptures");_(this,"_end");_(this,"endHasBackReferences");_(this,"endCaptures");_(this,"applyEndPatternLast");_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");this._begin=new se(o,this.id),this.beginCaptures=s,this._end=new se(u||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=m.patterns,this.hasMissingPatterns=m.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e,t).compileAG(e,r,i)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ae;for(const r of this.patterns)e.getRule(r).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Re=class extends ue{constructor(e,t,r,i,o,s,u,l,c){super(e,t,r,i);_(this,"_begin");_(this,"beginCaptures");_(this,"whileCaptures");_(this,"_while");_(this,"whileHasBackReferences");_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");_(this,"_cachedCompiledWhilePatterns");this._begin=new se(o,this.id),this.beginCaptures=s,this.whileCaptures=l,this._while=new se(u,Xt),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ae;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,r,i){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,r,i)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ae,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},Yt=class D{static createCaptureRule(e,t,r,i,o){return e.registerRule(s=>new Or(t,s,r,i,o))}static getCompiledRuleId(e,t,r){return e.id||t.registerRule(i=>{if(e.id=i,e.match)return new Cr(e.$vscodeTextmateLocation,e.id,e.name,e.match,D._compileCaptures(e.captures,t,r));if(typeof e.begin>"u"){e.repository&&(r=jt({},r,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new _t(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,D._compilePatterns(o,t,r))}return e.while?new Re(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,D._compileCaptures(e.beginCaptures||e.captures,t,r),e.while,D._compileCaptures(e.whileCaptures||e.captures,t,r),D._compilePatterns(e.patterns,t,r)):new Ke(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,D._compileCaptures(e.beginCaptures||e.captures,t,r),e.end,D._compileCaptures(e.endCaptures||e.captures,t,r),e.applyEndPatternLast,D._compilePatterns(e.patterns,t,r))}),e.id}static _compileCaptures(e,t,r){let i=[];if(e){let o=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const u=parseInt(s,10);u>o&&(o=u)}for(let s=0;s<=o;s++)i[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const u=parseInt(s,10);let l=0;e[s].patterns&&(l=D.getCompiledRuleId(e[s],t,r)),i[u]=D.createCaptureRule(t,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,l)}}return i}static _compilePatterns(e,t,r){let i=[];if(e)for(let o=0,s=e.length;o<s;o++){const u=e[o];let l=-1;if(u.include){const c=Jt(u.include);switch(c.kind){case 0:case 1:l=D.getCompiledRuleId(r[u.include],t,r);break;case 2:let m=r[c.ruleName];m&&(l=D.getCompiledRuleId(m,t,r));break;case 3:case 4:const d=c.scopeName,p=c.kind===4?c.ruleName:null,h=t.getExternalGrammar(d,r);if(h)if(p){let f=h.repository[p];f&&(l=D.getCompiledRuleId(f,t,h.repository))}else l=D.getCompiledRuleId(h.repository.$self,t,h.repository);break}}else l=D.getCompiledRuleId(u,t,r);if(l!==-1){const c=t.getRule(l);let m=!1;if((c instanceof _t||c instanceof Ke||c instanceof Re)&&c.hasMissingPatterns&&c.patterns.length===0&&(m=!0),m)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}},se=class Qt{constructor(e,t){_(this,"source");_(this,"ruleId");_(this,"hasAnchor");_(this,"hasBackReferences");_(this,"_anchorCache");if(e&&typeof e=="string"){const r=e.length;let i=0,o=[],s=!1;for(let u=0;u<r;u++)if(e.charAt(u)==="\\"&&u+1<r){const c=e.charAt(u+1);c==="z"?(o.push(e.substring(i,u)),o.push("$(?!\\n)(?<!\\n)"),i=u+2):(c==="A"||c==="G")&&(s=!0),u++}this.hasAnchor=s,i===0?this.source=e:(o.push(e.substring(i,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,typeof this.source=="string"?this.hasBackReferences=Sr.test(this.source):this.hasBackReferences=!1}clone(){return new Qt(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=t.map(i=>e.substring(i.start,i.end));return ht.lastIndex=0,this.source.replace(ht,(i,o)=>Wt(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],t=[],r=[],i=[],o,s,u,l;for(o=0,s=this.source.length;o<s;o++)u=this.source.charAt(o),e[o]=u,t[o]=u,r[o]=u,i[o]=u,u==="\\"&&o+1<s&&(l=this.source.charAt(o+1),l==="A"?(e[o+1]="",t[o+1]="",r[o+1]="A",i[o+1]="A"):l==="G"?(e[o+1]="",t[o+1]="G",r[o+1]="",i[o+1]="G"):(e[o+1]=l,t[o+1]=l,r[o+1]=l,i[o+1]=l),o++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ae=class{constructor(){_(this,"_items");_(this,"_hasAnchors");_(this,"_cached");_(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new ft(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let r=this._items.map(i=>i.resolveAnchors(e,t));return new ft(n,r,this._items.map(i=>i.ruleId))}},ft=class{constructor(n,e,t){_(this,"scanner");this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
|
|
2
|
+
var In=Object.defineProperty;var On=(n,e,t)=>e in n?In(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var _=(n,e,t)=>On(n,typeof e!="symbol"?e+"":e,t);import{_ as a}from"./index-BadBPNlq.js";var We=Object.defineProperty,Cn=Object.getOwnPropertyDescriptor,wn=Object.getOwnPropertyNames,kn=Object.prototype.hasOwnProperty,Dn=(n,e)=>{let t={};for(var r in n)We(t,r,{get:n[r],enumerable:!0});return We(t,Symbol.toStringTag,{value:"Module"}),t},Nn=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(var i=wn(e),o=0,s=i.length,u;o<s;o++)u=i[o],!kn.call(n,u)&&u!==t&&We(n,u,{get:(l=>e[l]).bind(null,u),enumerable:!(r=Cn(e,u))||r.enumerable});return n},Vn=(n,e,t)=>(Nn(n,e,"default"),t);const Vt=[{id:"abap",name:"ABAP",import:(()=>a(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",aliases:["actionscript","as3"],import:(()=>a(()=>import("./actionscript-3-B3316cI-.js"),[]))},{id:"ada",name:"Ada",import:(()=>a(()=>import("./ada-BIOnG6TC.js"),[]))},{id:"ahk",name:"AutoHotkey",aliases:["ahk1"],import:(()=>a(()=>import("./ahk-BrbAagtO.js"),[]))},{id:"ahk2",name:"AutoHotkey2",import:(()=>a(()=>import("./ahk2-8Zs4aa1G.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>a(()=>import("./angular-html-D_SYSyRt.js").then(n=>n.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>a(()=>import("./angular-ts-DGq0tZX5.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>a(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>a(()=>import("./apex-DhZFqWV2.js"),[]))},{id:"apl",name:"APL",import:(()=>a(()=>import("./apl-ChzvTHjC.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>a(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>a(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>a(()=>import("./asciidoc-CSVQ5wI8.js"),[]))},{id:"asm",name:"Assembly",import:(()=>a(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>a(()=>import("./astro-DTjqU0_L.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>a(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>a(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch","cmd"],import:(()=>a(()=>import("./bat-CickPsom.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>a(()=>import("./beancount-BgSHGh8x.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>a(()=>import("./berry-uYugtg8r.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>a(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>a(()=>import("./bicep-Bmn6On1c.js"),[]))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:(()=>a(()=>import("./bird2-Bx8U0n9b.js"),[]))},{id:"blade",name:"Blade",import:(()=>a(()=>import("./blade-k33SngOZ.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>a(()=>import("./bsl-DlhNcFeZ.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>a(()=>import("./c-BIGW1oBm.js"),[]))},{id:"c3",name:"C3",import:(()=>a(()=>import("./c3-Dp5svz6Z.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>a(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>a(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"chapel",name:"Chapel",aliases:["chpl"],import:(()=>a(()=>import("./chapel-DTp_pixX.js"),__vite__mapDeps([21,22])))},{id:"clarity",name:"Clarity",import:(()=>a(()=>import("./clarity-Dn5IMItf.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>a(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>a(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>a(()=>import("./cobol-BBKr1ja6.js"),__vite__mapDeps([23,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>a(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>a(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>a(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([24,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>a(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Rocq",import:(()=>a(()=>import("./coq-BqXF5kFF.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>a(()=>import("./cpp-BMRokrvK.js"),__vite__mapDeps([25,26,27,22])))},{id:"crystal",name:"Crystal",import:(()=>a(()=>import("./crystal-LUwhHfY5.js"),__vite__mapDeps([28,1,2,3,16,22,29])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>a(()=>import("./csharp-B_TYUkTI.js"),[]))},{id:"css",name:"CSS",import:(()=>a(()=>import("./css-Z72CF80r.js"),[]))},{id:"csv",name:"CSV",import:(()=>a(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>a(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>a(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>a(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>a(()=>import("./dart-CtKP3W-j.js"),[]))},{id:"dax",name:"DAX",import:(()=>a(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>a(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>a(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>a(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>a(()=>import("./dotenv-De0Btta0.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>a(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>a(()=>import("./edge-CJaD-t2L.js"),__vite__mapDeps([30,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>a(()=>import("./elixir-DkJLSxtU.js"),__vite__mapDeps([31,1,2,3])))},{id:"elm",name:"Elm",import:(()=>a(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([32,27,22])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>a(()=>import("./emacs-lisp-DaIrSCgJ.js"),[]))},{id:"erb",name:"ERB",import:(()=>a(()=>import("./erb-CSMaCouu.js"),__vite__mapDeps([33,1,2,3,34,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>a(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([40,41])))},{id:"fennel",name:"Fennel",import:(()=>a(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>a(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>a(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>a(()=>import("./fortran-fixed-form-CkoXwp7k.js"),__vite__mapDeps([42,43])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>a(()=>import("./fortran-free-form-BxgE0vQu.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>a(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([44,41])))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:(()=>a(()=>import("./gdresource-TyuKm33G.js"),__vite__mapDeps([45,46,47])))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:(()=>a(()=>import("./gdscript-DqcFQ5yU.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>a(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>a(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>a(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>a(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([48,49])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>a(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([50,29])))},{id:"gleam",name:"Gleam",import:(()=>a(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>a(()=>import("./glimmer-js-Drrc9bTt.js"),__vite__mapDeps([51,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>a(()=>import("./glimmer-ts-zeybXsvi.js"),__vite__mapDeps([52,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>a(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([27,22])))},{id:"gn",name:"GN",import:(()=>a(()=>import("./gn-8iBmfbXw.js"),[]))},{id:"gnuplot",name:"Gnuplot",import:(()=>a(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>a(()=>import("./go-C27-OAKa.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>a(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([36,2,11,37,13])))},{id:"groovy",name:"Groovy",import:(()=>a(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>a(()=>import("./hack-Ck6-gGSS.js"),__vite__mapDeps([53,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>a(()=>import("./haml-GN_XdMnF.js"),__vite__mapDeps([35,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>a(()=>import("./handlebars-DPT5vKgj.js"),__vite__mapDeps([54,1,2,3,39])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>a(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>a(()=>import("./haxe-CfZj7gIn.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>a(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>a(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>a(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>a(()=>import("./html-BlS82ilI.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>a(()=>import("./html-derivative-DZhk3IEZ.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>a(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([55,29,9,7,8,36,2,11,37,13])))},{id:"hurl",name:"Hurl",import:(()=>a(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([56,36,2,11,37,13,7,8,57])))},{id:"hxml",name:"HXML",import:(()=>a(()=>import("./hxml-2-FPmUDs.js"),__vite__mapDeps([58,59])))},{id:"hy",name:"Hy",import:(()=>a(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>a(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>a(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>a(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>a(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>a(()=>import("./jinja-DFQZVq3b.js"),__vite__mapDeps([60,1,2,3])))},{id:"jison",name:"Jison",import:(()=>a(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([61,2])))},{id:"json",name:"JSON",import:(()=>a(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>a(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>a(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>a(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>a(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>a(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>a(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>a(()=>import("./julia-Cu79e8SL.js"),__vite__mapDeps([62,25,26,27,22,20,2,63,16])))},{id:"just",name:"Just",aliases:["justfile"],import:(()=>a(()=>import("./just-CMxyWJJc.js"),__vite__mapDeps([64,29,2,11,65,1,3,7,8,16,20,34,35,36,37,13,25,26,27,22,38,39])))},{id:"kdl",name:"KDL",import:(()=>a(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>a(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>a(()=>import("./kusto-wEQ09or8.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>a(()=>import("./latex-DJVikpzR.js"),__vite__mapDeps([66,67,63])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>a(()=>import("./lean-BZvkOJ9d.js"),[]))},{id:"less",name:"Less",import:(()=>a(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>a(()=>import("./liquid-B-duXHXw.js"),__vite__mapDeps([68,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>a(()=>import("./llvm-BZoOZj88.js"),[]))},{id:"log",name:"Log file",import:(()=>a(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>a(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>a(()=>import("./lua-BaeVxFsk.js"),__vite__mapDeps([38,22])))},{id:"luau",name:"Luau",import:(()=>a(()=>import("./luau-nOZpfvQi.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>a(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>a(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>a(()=>import("./marko-BYgDmDgU.js"),__vite__mapDeps([69,3,70,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>a(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>a(()=>import("./mdc-DF4WjDMn.js"),__vite__mapDeps([71,41,39,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>a(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>a(()=>import("./mermaid-CQcHuHx7.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>a(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>a(()=>import("./mojo-DJz3ZmWd.js"),[]))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:(()=>a(()=>import("./moonbit-Bag4Rp_g.js"),[]))},{id:"move",name:"Move",import:(()=>a(()=>import("./move-el3G9tDJ.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>a(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>a(()=>import("./nextflow-BCxp2Aob.js"),__vite__mapDeps([72,73])))},{id:"nextflow-groovy",name:"Nextflow Groovy",import:(()=>a(()=>import("./nextflow-groovy-CedDknKX.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>a(()=>import("./nginx-BpAMiNFr.js"),__vite__mapDeps([74,38,22])))},{id:"nim",name:"Nim",import:(()=>a(()=>import("./nim-nV83PyhX.js"),__vite__mapDeps([75,22,1,2,3,7,8,27,41])))},{id:"nix",name:"Nix",import:(()=>a(()=>import("./nix-CwoSXNpI.js"),[]))},{id:"nsis",name:"NSIS",import:(()=>a(()=>import("./nsis-BlV79W_Q.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>a(()=>import("./nushell-BXD5iret.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>a(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>a(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>a(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"odin",name:"Odin",import:(()=>a(()=>import("./odin-BBf5iR-q.js"),[]))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:(()=>a(()=>import("./openscad-C4EeE6gA.js"),[]))},{id:"org",name:"Org Markup",import:(()=>a(()=>import("./org-6a7ccXN_.js"),__vite__mapDeps([76,2,11,13,8,20,26,3,38,22,77,78,65,1,7,16,63,34,35,36,37,25,27,29,39,79,9,80,81,24,82,49,83,84,85,70,5,86,87,88,89,90,75,41,31,40,91,92,93,48,50,66,67])))},{id:"pascal",name:"Pascal",import:(()=>a(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>a(()=>import("./perl-5klg-GXX.js"),__vite__mapDeps([65,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>a(()=>import("./php-DoruYMF0.js"),__vite__mapDeps([79,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>a(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>a(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>a(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>a(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>a(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>a(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1","pwsh"],import:(()=>a(()=>import("./powershell-Dd0kTxKP.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>a(()=>import("./prisma-Vru482bI.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>a(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>a(()=>import("./proto-C7zT0LnQ.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>a(()=>import("./pug-BtYPkAgq.js"),__vite__mapDeps([94,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>a(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>a(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>a(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>a(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([95,2])))},{id:"qmldir",name:"QML Directory",import:(()=>a(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>a(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>a(()=>import("./r-Cf5RLm7j.js"),[]))},{id:"racket",name:"Racket",import:(()=>a(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>a(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>a(()=>import("./razor-CyjPwjZj.js"),__vite__mapDeps([96,1,2,3,89])))},{id:"rbs",name:"RBS",aliases:["ruby-signature"],import:(()=>a(()=>import("./rbs-CpoqiR4B.js"),[]))},{id:"reg",name:"Windows Registry Script",import:(()=>a(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>a(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>a(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>a(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"ron",name:"RON",import:(()=>a(()=>import("./ron-D8l8udqQ.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>a(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>a(()=>import("./rst-CVOjT0e7.js"),__vite__mapDeps([97,15,1,2,3,25,26,27,22,20,29,39,98,34,35,7,8,16,36,11,37,13,38])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>a(()=>import("./ruby-C8rp0wew.js"),__vite__mapDeps([34,1,2,3,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>a(()=>import("./rust-DPvrY3IQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>a(()=>import("./sas-BGn39htG.js"),__vite__mapDeps([99,16])))},{id:"sass",name:"Sass",import:(()=>a(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>a(()=>import("./scala-CqE71os6.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>a(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>a(()=>import("./scss-Cw6XMfVs.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>a(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>a(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([100,101])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>a(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>a(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([102,29])))},{id:"smalltalk",name:"GNU Smalltalk",import:(()=>a(()=>import("./smalltalk-BOQMe2GC.js"),[]))},{id:"smithy",name:"Smithy",import:(()=>a(()=>import("./smithy-cds9vsN8.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>a(()=>import("./solidity-DijEV5ha.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>a(()=>import("./soy-zscZBeg6.js"),__vite__mapDeps([103,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>a(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([104,105])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>a(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>a(()=>import("./sql-DkvoVjww.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>a(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>a(()=>import("./stata-DACIj5bg.js"),__vite__mapDeps([106,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>a(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:(()=>a(()=>import("./surrealql-Cjom0U5J.js"),__vite__mapDeps([107,2])))},{id:"svelte",name:"Svelte",import:(()=>a(()=>import("./svelte-D84K1R2Q.js"),__vite__mapDeps([108,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>a(()=>import("./swift-C2oV4EkX.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>a(()=>import("./system-verilog-0hqHdDBg.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>a(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>a(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>a(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>a(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>a(()=>import("./templ-Vpw5XpSW.js"),__vite__mapDeps([109,84,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>a(()=>import("./terraform-BETggiCN.js"),[]))},{id:"tex",name:"TeX",import:(()=>a(()=>import("./tex-D96PA37w.js"),__vite__mapDeps([67,63])))},{id:"toml",name:"TOML",import:(()=>a(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>a(()=>import("./ts-tags-Ls60c9xG.js"),__vite__mapDeps([110,11,3,2,27,22,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>a(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>a(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>a(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>a(()=>import("./twig-D9-LOF2p.js"),__vite__mapDeps([111,2,3,5,79,1,7,8,16,9,20,34,35,36,11,37,13,25,26,27,22,29,38,39])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>a(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>a(()=>import("./typespec-ClX509-Q.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>a(()=>import("./typst-DamkJZ1Q.js"),__vite__mapDeps([112,113,114,22,81,24,2,25,26,27,3,89,90,49,83,31,1,40,41,44,48,50,29,84,85,54,39,77,8,115,9,62,20,63,16,66,67,70,116,38,78,82,65,7,86,79,117,94,34,35,36,11,37,13,5,118,93,87,88,111,119,120,80])))},{id:"v",name:"V",import:(()=>a(()=>import("./v-BGw2Nkan.js"),[]))},{id:"vala",name:"Vala",import:(()=>a(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",import:(()=>a(()=>import("./vb-Cu-pLBUe.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>a(()=>import("./verilog-nZwndyjY.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>a(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>a(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>a(()=>import("./vue-DSqPwMUe.js"),__vite__mapDeps([121,3,2,11,9,1,15])))},{id:"vue-html",name:"Vue HTML",import:(()=>a(()=>import("./vue-html-AaS7Mt5G.js"),__vite__mapDeps([122,2])))},{id:"vue-vine",name:"Vue Vine",import:(()=>a(()=>import("./vue-vine-C0RcJ6UU.js"),__vite__mapDeps([123,3,5,70,124,12,2])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>a(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>a(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>a(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>a(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>a(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>a(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>a(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>a(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>a(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([93,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>a(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>a(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>a(()=>import("./zig-VOosw3JB.js"),[]))}],xn=Object.fromEntries(Vt.map(n=>[n.id,n.import])),Mn=Object.fromEntries(Vt.flatMap(n=>{var e;return((e=n.aliases)==null?void 0:e.map(t=>[t,n.import]))||[]})),Bn={...xn,...Mn},Gn=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>a(()=>import("./andromeeda-C4gqWexZ.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>a(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>a(()=>import("./ayu-dark-DYE7WIF3.js"),[]))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:(()=>a(()=>import("./ayu-light-BA47KaF1.js"),[]))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:(()=>a(()=>import("./ayu-mirage-32ctXXKs.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>a(()=>import("./catppuccin-frappe-CZL1YF0i.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>a(()=>import("./catppuccin-latte-DH-8KZSZ.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>a(()=>import("./catppuccin-macchiato-B7yYVSCf.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>a(()=>import("./catppuccin-mocha-Ct7hS0mc.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>a(()=>import("./dark-plus-C3mMm8J8.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>a(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>a(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>a(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>a(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>a(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>a(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>a(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>a(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>a(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>a(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>a(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>a(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>a(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>a(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"horizon",displayName:"Horizon",type:"dark",import:(()=>a(()=>import("./horizon-BUw7H-hv.js"),[]))},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:(()=>a(()=>import("./horizon-bright-CUuTKBJd.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>a(()=>import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>a(()=>import("./kanagawa-dragon-BuwD2xS4.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>a(()=>import("./kanagawa-lotus-C3DzagqV.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>a(()=>import("./kanagawa-wave-DFGoQZhC.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>a(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>a(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>a(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>a(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>a(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>a(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>a(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>a(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>a(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>a(()=>import("./monokai-CR4piiQ-.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>a(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:(()=>a(()=>import("./night-owl-light-CMTm3GFP.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>a(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>a(()=>import("./one-dark-pro-CxGP3dtY.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>a(()=>import("./one-light-C3Wv6jpd.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>a(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>a(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>a(()=>import("./red-DMbB5_pp.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>a(()=>import("./rose-pine-5qJOZa0Y.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>a(()=>import("./rose-pine-dawn-zx0QlTCp.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>a(()=>import("./rose-pine-moon-C9pEdX9L.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>a(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>a(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>a(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>a(()=>import("./solarized-dark-UcubFVte.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>a(()=>import("./solarized-light-DCG28T6R.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>a(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>a(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>a(()=>import("./vesper-DRje8inN.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>a(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>a(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>a(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],jn=Object.fromEntries(Gn.map(n=>[n.id,n.import]));var rt=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function $n(){return 2147483648}function Un(){return typeof performance<"u"?performance.now():Date.now()}const Hn=(n,e)=>n+(e-n%e)%e;async function Wn(n){let e,t;const r={};function i(h){t=h,r.HEAPU8=new Uint8Array(h),r.HEAPU32=new Uint32Array(h)}function o(h,f,A){r.HEAPU8.copyWithin(h,f,f+A)}function s(h){try{return e.grow(h-t.byteLength+65535>>>16),i(e.buffer),1}catch{}}function u(h){const f=r.HEAPU8.length;h=h>>>0;const A=$n();if(h>A)return!1;for(let R=1;R<=4;R*=2){let E=f*(1+.2/R);E=Math.min(E,h+100663296);const y=Math.min(A,Hn(Math.max(h,E),65536));if(s(y))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(h,f,A=1024){const R=f+A;let E=f;for(;h[E]&&!(E>=R);)++E;if(E-f>16&&h.buffer&&l)return l.decode(h.subarray(f,E));let y="";for(;f<E;){let v=h[f++];if(!(v&128)){y+=String.fromCharCode(v);continue}const T=h[f++]&63;if((v&224)===192){y+=String.fromCharCode((v&31)<<6|T);continue}const L=h[f++]&63;if((v&240)===224?v=(v&15)<<12|T<<6|L:v=(v&7)<<18|T<<12|L<<6|h[f++]&63,v<65536)y+=String.fromCharCode(v);else{const P=v-65536;y+=String.fromCharCode(55296|P>>10,56320|P&1023)}}return y}function m(h,f){return h?c(r.HEAPU8,h,f):""}const d={emscripten_get_now:Un,emscripten_memcpy_big:o,emscripten_resize_heap:u,fd_write:()=>0};async function p(){const f=await n({env:d,wasi_snapshot_preview1:d});e=f.memory,i(e.buffer),Object.assign(r,f),r.UTF8ToString=m}return await p(),r}var Fn=Object.defineProperty,zn=(n,e,t)=>e in n?Fn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,C=(n,e,t)=>zn(n,typeof e!="symbol"?e+"":e,t);let k=null;function qn(n){throw new rt(n.UTF8ToString(n.getLastOnigError()))}class Ie{constructor(e){C(this,"utf16Length"),C(this,"utf8Length"),C(this,"utf16Value"),C(this,"utf8Value"),C(this,"utf16OffsetToUtf8"),C(this,"utf8OffsetToUtf16");const t=e.length,r=Ie._utf8ByteLength(e),i=r!==t,o=i?new Uint32Array(t+1):null;i&&(o[t]=r);const s=i?new Uint32Array(r+1):null;i&&(s[r]=t);const u=new Uint8Array(r);let l=0;for(let c=0;c<t;c++){const m=e.charCodeAt(c);let d=m,p=!1;if(m>=55296&&m<=56319&&c+1<t){const h=e.charCodeAt(c+1);h>=56320&&h<=57343&&(d=(m-55296<<10)+65536|h-56320,p=!0)}i&&(o[c]=l,p&&(o[c+1]=l),d<=127?s[l+0]=c:d<=2047?(s[l+0]=c,s[l+1]=c):d<=65535?(s[l+0]=c,s[l+1]=c,s[l+2]=c):(s[l+0]=c,s[l+1]=c,s[l+2]=c,s[l+3]=c)),d<=127?u[l++]=d:d<=2047?(u[l++]=192|(d&1984)>>>6,u[l++]=128|(d&63)>>>0):d<=65535?(u[l++]=224|(d&61440)>>>12,u[l++]=128|(d&4032)>>>6,u[l++]=128|(d&63)>>>0):(u[l++]=240|(d&1835008)>>>18,u[l++]=128|(d&258048)>>>12,u[l++]=128|(d&4032)>>>6,u[l++]=128|(d&63)>>>0),p&&c++}this.utf16Length=t,this.utf8Length=r,this.utf16Value=e,this.utf8Value=u,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=s}static _utf8ByteLength(e){let t=0;for(let r=0,i=e.length;r<i;r++){const o=e.charCodeAt(r);let s=o,u=!1;if(o>=55296&&o<=56319&&r+1<i){const l=e.charCodeAt(r+1);l>=56320&&l<=57343&&(s=(o-55296<<10)+65536|l-56320,u=!0)}s<=127?t+=1:s<=2047?t+=2:s<=65535?t+=3:t+=4,u&&r++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const Oe=class ${constructor(e){if(C(this,"id",++$.LAST_ID),C(this,"_onigBinding"),C(this,"content"),C(this,"utf16Length"),C(this,"utf8Length"),C(this,"utf16OffsetToUtf8"),C(this,"utf8OffsetToUtf16"),C(this,"ptr"),!k)throw new rt("Must invoke loadWasm first.");this._onigBinding=k,this.content=e;const t=new Ie(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!$._sharedPtrInUse?($._sharedPtr||($._sharedPtr=k.omalloc(1e4)),$._sharedPtrInUse=!0,k.HEAPU8.set(t.utf8Value,$._sharedPtr),this.ptr=$._sharedPtr):this.ptr=t.createString(k)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===$._sharedPtr?$._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};C(Oe,"LAST_ID",0);C(Oe,"_sharedPtr",0);C(Oe,"_sharedPtrInUse",!1);let xt=Oe;class Kn{constructor(e){if(C(this,"_onigBinding"),C(this,"_ptr"),!k)throw new rt("Must invoke loadWasm first.");const t=[],r=[];for(let u=0,l=e.length;u<l;u++){const c=new Ie(e[u]);t[u]=c.createString(k),r[u]=c.utf8Length}const i=k.omalloc(4*e.length);k.HEAPU32.set(t,i/4);const o=k.omalloc(4*e.length);k.HEAPU32.set(r,o/4);const s=k.createOnigScanner(i,o,e.length);for(let u=0,l=e.length;u<l;u++)k.ofree(t[u]);k.ofree(o),k.ofree(i),s===0&&qn(k),this._onigBinding=k,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,r){let i=0;if(typeof r=="number"&&(i=r),typeof e=="string"){e=new xt(e);const o=this._findNextMatchSync(e,t,!1,i);return e.dispose(),o}return this._findNextMatchSync(e,t,!1,i)}_findNextMatchSync(e,t,r,i){const o=this._onigBinding,s=o.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),i);if(s===0)return null;const u=o.HEAPU32;let l=s/4;const c=u[l++],m=u[l++],d=[];for(let p=0;p<m;p++){const h=e.convertUtf8OffsetToUtf16(u[l++]),f=e.convertUtf8OffsetToUtf16(u[l++]);d[p]={start:h,end:f,length:f-h}}return{index:c,captureIndices:d}}}function Jn(n){return typeof n.instantiator=="function"}function Xn(n){return typeof n.default=="function"}function Yn(n){return typeof n.data<"u"}function Qn(n){return typeof Response<"u"&&n instanceof Response}function Zn(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let pe;function Mt(n){if(pe)return pe;async function e(){k=await Wn(async t=>{let r=n;return r=await r,typeof r=="function"&&(r=await r(t)),typeof r=="function"&&(r=await r(t)),Jn(r)?r=await r.instantiator(t):Xn(r)?r=await r.default(t):(Yn(r)&&(r=r.data),Qn(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await er(r)(t):r=await tr(r)(t):Zn(r)?r=await xe(r)(t):r instanceof WebAssembly.Module?r=await xe(r)(t):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await xe(r.default)(t))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return pe=e(),pe}function xe(n){return e=>WebAssembly.instantiate(n,e)}function er(n){return e=>WebAssembly.instantiateStreaming(n,e)}function tr(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let Bt;function nr(n){Bt=n}function rr(){return Bt}async function ir(n){return n&&await Mt(n),{createScanner(e){return new Kn(e.map(t=>typeof t=="string"?t:t.source))},createString(e){return new xt(e)}}}const or=Object.freeze(Object.defineProperty({__proto__:null,createOnigurumaEngine:ir,getDefaultWasmLoader:rr,loadWasm:Mt,setDefaultWasmLoader:nr},Symbol.toStringTag,{value:"Module"}));var Gt=Dn({});Vn(Gt,or);var I=class extends Error{constructor(n){super(n),this.name="ShikiError"}};function sr(n){return it(n)}function it(n){return Array.isArray(n)?ar(n):n instanceof RegExp?n:typeof n=="object"?lr(n):n}function ar(n){let e=[];for(let t=0,r=n.length;t<r;t++)e[t]=it(n[t]);return e}function lr(n){let e={};for(let t in n)e[t]=it(n[t]);return e}function jt(n,...e){return e.forEach(t=>{for(let r in t)n[r]=t[r]}),n}function $t(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?$t(n.substring(0,n.length-1)):n.substr(~e+1)}var Me=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,me=class{static hasCaptures(n){return n===null?!1:(Me.lastIndex=0,Me.test(n))}static replaceCaptures(n,e,t){return n.replace(Me,(r,i,o,s)=>{let u=t[parseInt(i||o,10)];if(u){let l=e.substring(u.start,u.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Ut(n,e){return n<e?-1:n>e?1:0}function Ht(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,r=e.length;if(t===r){for(let i=0;i<t;i++){let o=Ut(n[i],e[i]);if(o!==0)return o}return 0}return t-r}function pt(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Wt(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Ft=class{constructor(n){_(this,"cache",new Map);this.fn=n}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},ye=class{constructor(n,e,t){_(this,"_cachedMatchRoot",new Ft(n=>this._root.match(n)));this._colorMap=n,this._defaults=e,this._root=t}static createFromRawTheme(n,e){return this.createFromParsedTheme(dr(n),e)}static createFromParsedTheme(n,e){return mr(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,r=this._cachedMatchRoot.get(e).find(i=>ur(n.parent,i.parentScopes));return r?new zt(r.fontStyle,r.foreground,r.background):null}},Be=class fe{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const r of t)e=new fe(e,r);return e}static from(...e){let t=null;for(let r=0;r<e.length;r++)t=new fe(t,e[r]);return t}push(e){return new fe(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let r=this;for(;r&&r!==e;)t.push(r.scopeName),r=r.parent;return r===e?t.reverse():void 0}};function ur(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let r=e[t],i=!1;if(r===">"){if(t===e.length-1)return!1;r=e[++t],i=!0}for(;n&&!cr(n.scopeName,r);){if(i)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function cr(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var zt=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function dr(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],r=0;for(let i=0,o=e.length;i<o;i++){let s=e[i];if(!s.settings)continue;let u;if(typeof s.scope=="string"){let d=s.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),u=d.split(",")}else Array.isArray(s.scope)?u=s.scope:u=[""];let l=-1;if(typeof s.settings.fontStyle=="string"){l=0;let d=s.settings.fontStyle.split(" ");for(let p=0,h=d.length;p<h;p++)switch(d[p]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof s.settings.foreground=="string"&&pt(s.settings.foreground)&&(c=s.settings.foreground);let m=null;typeof s.settings.background=="string"&&pt(s.settings.background)&&(m=s.settings.background);for(let d=0,p=u.length;d<p;d++){let f=u[d].trim().split(" "),A=f[f.length-1],R=null;f.length>1&&(R=f.slice(0,f.length-1),R.reverse()),t[r++]=new pr(A,R,i,l,c,m)}}return t}var pr=class{constructor(n,e,t,r,i,o){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=r,this.foreground=i,this.background=o}},N=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(N||{});function mr(n,e){n.sort((l,c)=>{let m=Ut(l.scope,c.scope);return m!==0||(m=Ht(l.parentScopes,c.parentScopes),m!==0)?m:l.index-c.index});let t=0,r="#000000",i="#ffffff";for(;n.length>=1&&n[0].scope==="";){let l=n.shift();l.fontStyle!==-1&&(t=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(i=l.background)}let o=new hr(e),s=new zt(t,o.getId(r),o.getId(i)),u=new fr(new Fe(0,null,-1,0,0),[]);for(let l=0,c=n.length;l<c;l++){let m=n[l];u.insert(0,m.scope,m.parentScopes,m.fontStyle,o.getId(m.foreground),o.getId(m.background))}return new ye(o,s,u)}var hr=class{constructor(n){_(this,"_isFrozen");_(this,"_lastColorId");_(this,"_id2color");_(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},_r=Object.freeze([]),Fe=class qt{constructor(e,t,r,i,o){_(this,"scopeDepth");_(this,"parentScopes");_(this,"fontStyle");_(this,"foreground");_(this,"background");this.scopeDepth=e,this.parentScopes=t||_r,this.fontStyle=r,this.foreground=i,this.background=o}clone(){return new qt(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let r=0,i=e.length;r<i;r++)t[r]=e[r].clone();return t}acceptOverwrite(e,t,r,i){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}},fr=class ze{constructor(e,t=[],r={}){_(this,"_rulesWithParentScopes");this._mainRule=e,this._children=r,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let r=0,i=0;for(;e.parentScopes[r]===">"&&r++,t.parentScopes[i]===">"&&i++,!(r>=e.parentScopes.length||i>=t.parentScopes.length);){const o=t.parentScopes[i].length-e.parentScopes[r].length;if(o!==0)return o;r++,i++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),i,o;if(r===-1?(i=e,o=""):(i=e.substring(0,r),o=e.substring(r+1)),this._children.hasOwnProperty(i))return this._children[i].match(o)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(ze._cmpBySpecificity),t}insert(e,t,r,i,o,s){if(t===""){this._doInsertHere(e,r,i,o,s);return}let u=t.indexOf("."),l,c;u===-1?(l=t,c=""):(l=t.substring(0,u),c=t.substring(u+1));let m;this._children.hasOwnProperty(l)?m=this._children[l]:(m=new ze(this._mainRule.clone(),Fe.cloneArr(this._rulesWithParentScopes)),this._children[l]=m),m.insert(e+1,c,r,i,o,s)}_doInsertHere(e,t,r,i,o){if(t===null){this._mainRule.acceptOverwrite(e,r,i,o);return}for(let s=0,u=this._rulesWithParentScopes.length;s<u;s++){let l=this._rulesWithParentScopes[s];if(Ht(l.parentScopes,t)===0){l.acceptOverwrite(e,r,i,o);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new Fe(e,t,r,i,o))}},J=class G{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=G.getLanguageId(e),r=G.getTokenType(e),i=G.getFontStyle(e),o=G.getForeground(e),s=G.getBackground(e);console.log({languageId:t,tokenType:r,fontStyle:i,foreground:o,background:s})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,r,i,o,s,u){let l=G.getLanguageId(e),c=G.getTokenType(e),m=G.containsBalancedBrackets(e)?1:0,d=G.getFontStyle(e),p=G.getForeground(e),h=G.getBackground(e);return t!==0&&(l=t),r!==8&&(c=r),i!==null&&(m=i?1:0),o!==-1&&(d=o),s!==0&&(p=s),u!==0&&(h=u),(l<<0|c<<8|m<<10|d<<11|p<<15|h<<24)>>>0}};function Ee(n,e){const t=[],r=gr(n);let i=r.next();for(;i!==null;){let l=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=s();if(t.push({matcher:c,priority:l}),i!==",")break;i=r.next()}return t;function o(){if(i==="-"){i=r.next();const l=o();return c=>!!l&&!l(c)}if(i==="("){i=r.next();const l=u();return i===")"&&(i=r.next()),l}if(mt(i)){const l=[];do l.push(i),i=r.next();while(mt(i));return c=>e(l,c)}return null}function s(){const l=[];let c=o();for(;c;)l.push(c),c=o();return m=>l.every(d=>d(m))}function u(){const l=[];let c=s();for(;c&&(l.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=s()}return m=>l.some(d=>d(m))}}function mt(n){return!!n&&!!n.match(/[\w\.:]+/)}function gr(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const r=t[0];return t=e.exec(n),r}}}function Kt(n){typeof n.dispose=="function"&&n.dispose()}var oe=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},yr=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},Er=class{constructor(){_(this,"_references",[]);_(this,"_seenReferenceKeys",new Set);_(this,"visitedRule",new Set)}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},vr=class{constructor(n,e){_(this,"seenFullScopeRequests",new Set);_(this,"seenPartialScopeRequests",new Set);_(this,"Q");this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new oe(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new Er;for(const t of n)Rr(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof oe){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function Rr(n,e,t,r){const i=t.lookup(n.scopeName);if(!i){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const o=t.lookup(e);n instanceof oe?ge({baseGrammar:o,selfGrammar:i},r):qe(n.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},r);const s=t.injections(n.scopeName);if(s)for(const u of s)r.add(new oe(u))}function qe(n,e,t){if(e.repository&&e.repository[n]){const r=e.repository[n];ve([r],e,t)}}function ge(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&ve(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&ve(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function ve(n,e,t){for(const r of n){if(t.visitedRule.has(r))continue;t.visitedRule.add(r);const i=r.repository?jt({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&ve(r.patterns,{...e,repository:i},t);const o=r.include;if(!o)continue;const s=Jt(o);switch(s.kind){case 0:ge({...e,selfGrammar:e.baseGrammar},t);break;case 1:ge(e,t);break;case 2:qe(s.ruleName,{...e,repository:i},t);break;case 3:case 4:const u=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(u){const l={baseGrammar:e.baseGrammar,selfGrammar:u,repository:i};s.kind===4?qe(s.ruleName,l,t):ge(l,t)}else s.kind===4?t.add(new yr(s.scopeName,s.ruleName)):t.add(new oe(s.scopeName));break}}}var Ar=class{constructor(){_(this,"kind",0)}},br=class{constructor(){_(this,"kind",1)}},Tr=class{constructor(n){_(this,"kind",2);this.ruleName=n}},Lr=class{constructor(n){_(this,"kind",3);this.scopeName=n}},Pr=class{constructor(n,e){_(this,"kind",4);this.scopeName=n,this.ruleName=e}};function Jt(n){if(n==="$base")return new Ar;if(n==="$self")return new br;const e=n.indexOf("#");if(e===-1)return new Lr(n);if(e===0)return new Tr(n.substring(1));{const t=n.substring(0,e),r=n.substring(e+1);return new Pr(t,r)}}var Sr=/\\(\d+)/,ht=/\\(\d+)/g,Ir=-1,Xt=-2;var ue=class{constructor(n,e,t,r){_(this,"$location");_(this,"id");_(this,"_nameIsCapturing");_(this,"_name");_(this,"_contentNameIsCapturing");_(this,"_contentName");this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=me.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=me.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${$t(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:me.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:me.replaceCaptures(this._contentName,n,e)}},Or=class extends ue{constructor(e,t,r,i,o){super(e,t,r,i);_(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,r,i){throw new Error("Not supported!")}},Cr=class extends ue{constructor(e,t,r,i,o){super(e,t,r,null);_(this,"_match");_(this,"captures");_(this,"_cachedCompiledPatterns");this._match=new se(i,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ae,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},_t=class extends ue{constructor(e,t,r,i,o){super(e,t,r,i);_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const r of this.patterns)e.getRule(r).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ae,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ke=class extends ue{constructor(e,t,r,i,o,s,u,l,c,m){super(e,t,r,i);_(this,"_begin");_(this,"beginCaptures");_(this,"_end");_(this,"endHasBackReferences");_(this,"endCaptures");_(this,"applyEndPatternLast");_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");this._begin=new se(o,this.id),this.beginCaptures=s,this._end=new se(u||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=m.patterns,this.hasMissingPatterns=m.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e,t).compileAG(e,r,i)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ae;for(const r of this.patterns)e.getRule(r).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Re=class extends ue{constructor(e,t,r,i,o,s,u,l,c){super(e,t,r,i);_(this,"_begin");_(this,"beginCaptures");_(this,"whileCaptures");_(this,"_while");_(this,"whileHasBackReferences");_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");_(this,"_cachedCompiledWhilePatterns");this._begin=new se(o,this.id),this.beginCaptures=s,this.whileCaptures=l,this._while=new se(u,Xt),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ae;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,r,i){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,r,i)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ae,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},Yt=class D{static createCaptureRule(e,t,r,i,o){return e.registerRule(s=>new Or(t,s,r,i,o))}static getCompiledRuleId(e,t,r){return e.id||t.registerRule(i=>{if(e.id=i,e.match)return new Cr(e.$vscodeTextmateLocation,e.id,e.name,e.match,D._compileCaptures(e.captures,t,r));if(typeof e.begin>"u"){e.repository&&(r=jt({},r,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new _t(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,D._compilePatterns(o,t,r))}return e.while?new Re(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,D._compileCaptures(e.beginCaptures||e.captures,t,r),e.while,D._compileCaptures(e.whileCaptures||e.captures,t,r),D._compilePatterns(e.patterns,t,r)):new Ke(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,D._compileCaptures(e.beginCaptures||e.captures,t,r),e.end,D._compileCaptures(e.endCaptures||e.captures,t,r),e.applyEndPatternLast,D._compilePatterns(e.patterns,t,r))}),e.id}static _compileCaptures(e,t,r){let i=[];if(e){let o=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const u=parseInt(s,10);u>o&&(o=u)}for(let s=0;s<=o;s++)i[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const u=parseInt(s,10);let l=0;e[s].patterns&&(l=D.getCompiledRuleId(e[s],t,r)),i[u]=D.createCaptureRule(t,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,l)}}return i}static _compilePatterns(e,t,r){let i=[];if(e)for(let o=0,s=e.length;o<s;o++){const u=e[o];let l=-1;if(u.include){const c=Jt(u.include);switch(c.kind){case 0:case 1:l=D.getCompiledRuleId(r[u.include],t,r);break;case 2:let m=r[c.ruleName];m&&(l=D.getCompiledRuleId(m,t,r));break;case 3:case 4:const d=c.scopeName,p=c.kind===4?c.ruleName:null,h=t.getExternalGrammar(d,r);if(h)if(p){let f=h.repository[p];f&&(l=D.getCompiledRuleId(f,t,h.repository))}else l=D.getCompiledRuleId(h.repository.$self,t,h.repository);break}}else l=D.getCompiledRuleId(u,t,r);if(l!==-1){const c=t.getRule(l);let m=!1;if((c instanceof _t||c instanceof Ke||c instanceof Re)&&c.hasMissingPatterns&&c.patterns.length===0&&(m=!0),m)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}},se=class Qt{constructor(e,t){_(this,"source");_(this,"ruleId");_(this,"hasAnchor");_(this,"hasBackReferences");_(this,"_anchorCache");if(e&&typeof e=="string"){const r=e.length;let i=0,o=[],s=!1;for(let u=0;u<r;u++)if(e.charAt(u)==="\\"&&u+1<r){const c=e.charAt(u+1);c==="z"?(o.push(e.substring(i,u)),o.push("$(?!\\n)(?<!\\n)"),i=u+2):(c==="A"||c==="G")&&(s=!0),u++}this.hasAnchor=s,i===0?this.source=e:(o.push(e.substring(i,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,typeof this.source=="string"?this.hasBackReferences=Sr.test(this.source):this.hasBackReferences=!1}clone(){return new Qt(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=t.map(i=>e.substring(i.start,i.end));return ht.lastIndex=0,this.source.replace(ht,(i,o)=>Wt(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],t=[],r=[],i=[],o,s,u,l;for(o=0,s=this.source.length;o<s;o++)u=this.source.charAt(o),e[o]=u,t[o]=u,r[o]=u,i[o]=u,u==="\\"&&o+1<s&&(l=this.source.charAt(o+1),l==="A"?(e[o+1]="",t[o+1]="",r[o+1]="A",i[o+1]="A"):l==="G"?(e[o+1]="",t[o+1]="G",r[o+1]="",i[o+1]="G"):(e[o+1]=l,t[o+1]=l,r[o+1]=l,i[o+1]=l),o++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ae=class{constructor(){_(this,"_items");_(this,"_hasAnchors");_(this,"_cached");_(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new ft(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let r=this._items.map(i=>i.resolveAnchors(e,t));return new ft(n,r,this._items.map(i=>i.ruleId))}},ft=class{constructor(n,e,t){_(this,"scanner");this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
|
|
3
3
|
`)}findNextMatchSync(n,e,t){const r=this.scanner.findNextMatchSync(n,e,t);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Ge=class{constructor(n,e){this.languageId=n,this.tokenType=e}},W,wr=(W=class{constructor(e,t){_(this,"_defaultAttributes");_(this,"_embeddedLanguagesMatcher");_(this,"_getBasicScopeAttributes",new Ft(e=>{const t=this._scopeToLanguage(e),r=this._toStandardTokenType(e);return new Ge(t,r)}));this._defaultAttributes=new Ge(e,8),this._embeddedLanguagesMatcher=new kr(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?W._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(W.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},_(W,"_NULL_SCOPE_METADATA",new Ge(0,0)),_(W,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),W),kr=class{constructor(n){_(this,"values");_(this,"scopesRegExp");if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const e=n.map(([t,r])=>Wt(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const e=n.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},gt=class{constructor(n,e){this.stack=n,this.stoppedEarly=e}};function Zt(n,e,t,r,i,o,s,u){const l=e.content.length;let c=!1,m=-1;if(s){const h=Dr(n,e,t,r,i,o);i=h.stack,r=h.linePos,t=h.isFirstLine,m=h.anchorPosition}const d=Date.now();for(;!c;){if(u!==0&&Date.now()-d>u)return new gt(i,!0);p()}return new gt(i,!1);function p(){const h=Nr(n,e,t,r,i,m);if(!h){o.produce(i,l),c=!0;return}const f=h.captureIndices,A=h.matchedRuleId,R=f&&f.length>0?f[0].end>r:!1;if(A===Ir){const E=i.getRule(n);o.produce(i,f[0].start),i=i.withContentNameScopesList(i.nameScopesList),re(n,e,t,i,o,E.endCaptures,f),o.produce(i,f[0].end);const y=i;if(i=i.parent,m=y.getAnchorPos(),!R&&y.getEnterPos()===r){i=y,o.produce(i,l),c=!0;return}}else{const E=n.getRule(A);o.produce(i,f[0].start);const y=i,v=E.getName(e.content,f),T=i.contentNameScopesList.pushAttributed(v,n);if(i=i.push(A,r,m,f[0].end===l,null,T,T),E instanceof Ke){const L=E;re(n,e,t,i,o,L.beginCaptures,f),o.produce(i,f[0].end),m=f[0].end;const P=L.getContentName(e.content,f),V=T.pushAttributed(P,n);if(i=i.withContentNameScopesList(V),L.endHasBackReferences&&(i=i.withEndRule(L.getEndWithResolvedBackReferences(e.content,f))),!R&&y.hasSameRuleAs(i)){i=i.pop(),o.produce(i,l),c=!0;return}}else if(E instanceof Re){const L=E;re(n,e,t,i,o,L.beginCaptures,f),o.produce(i,f[0].end),m=f[0].end;const P=L.getContentName(e.content,f),V=T.pushAttributed(P,n);if(i=i.withContentNameScopesList(V),L.whileHasBackReferences&&(i=i.withEndRule(L.getWhileWithResolvedBackReferences(e.content,f))),!R&&y.hasSameRuleAs(i)){i=i.pop(),o.produce(i,l),c=!0;return}}else if(re(n,e,t,i,o,E.captures,f),o.produce(i,f[0].end),i=i.pop(),!R){i=i.safePop(),o.produce(i,l),c=!0;return}}f[0].end>r&&(r=f[0].end,t=!1)}}function Dr(n,e,t,r,i,o){let s=i.beginRuleCapturedEOL?0:-1;const u=[];for(let l=i;l;l=l.pop()){const c=l.getRule(n);c instanceof Re&&u.push({rule:c,stack:l})}for(let l=u.pop();l;l=u.pop()){const{ruleScanner:c,findOptions:m}=Mr(l.rule,n,l.stack.endRule,t,r===s),d=c.findNextMatchSync(e,r,m);if(d){if(d.ruleId!==Xt){i=l.stack.pop();break}d.captureIndices&&d.captureIndices.length&&(o.produce(l.stack,d.captureIndices[0].start),re(n,e,t,l.stack,o,l.rule.whileCaptures,d.captureIndices),o.produce(l.stack,d.captureIndices[0].end),s=d.captureIndices[0].end,d.captureIndices[0].end>r&&(r=d.captureIndices[0].end,t=!1))}else{i=l.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:s,isFirstLine:t}}function Nr(n,e,t,r,i,o){const s=Vr(n,e,t,r,i,o),u=n.getInjections();if(u.length===0)return s;const l=xr(u,n,e,t,r,i,o);if(!l)return s;if(!s)return l;const c=s.captureIndices[0].start,m=l.captureIndices[0].start;return m<c||l.priorityMatch&&m===c?l:s}function Vr(n,e,t,r,i,o){const s=i.getRule(n),{ruleScanner:u,findOptions:l}=en(s,n,i.endRule,t,r===o),c=u.findNextMatchSync(e,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function xr(n,e,t,r,i,o,s){let u=Number.MAX_VALUE,l=null,c,m=0;const d=o.contentNameScopesList.getScopeNames();for(let p=0,h=n.length;p<h;p++){const f=n[p];if(!f.matcher(d))continue;const A=e.getRule(f.ruleId),{ruleScanner:R,findOptions:E}=en(A,e,null,r,i===s),y=R.findNextMatchSync(t,i,E);if(!y)continue;const v=y.captureIndices[0].start;if(!(v>=u)&&(u=v,l=y.captureIndices,c=y.ruleId,m=f.priority,u===i))break}return l?{priorityMatch:m===-1,captureIndices:l,matchedRuleId:c}:null}function en(n,e,t,r,i){return{ruleScanner:n.compileAG(e,t,r,i),findOptions:0}}function Mr(n,e,t,r,i){return{ruleScanner:n.compileWhileAG(e,t,r,i),findOptions:0}}function re(n,e,t,r,i,o,s){if(o.length===0)return;const u=e.content,l=Math.min(o.length,s.length),c=[],m=s[0].end;for(let d=0;d<l;d++){const p=o[d];if(p===null)continue;const h=s[d];if(h.length===0)continue;if(h.start>m)break;for(;c.length>0&&c[c.length-1].endPos<=h.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,h.start):i.produce(r,h.start),p.retokenizeCapturedWithRuleId){const A=p.getName(u,s),R=r.contentNameScopesList.pushAttributed(A,n),E=p.getContentName(u,s),y=R.pushAttributed(E,n),v=r.push(p.retokenizeCapturedWithRuleId,h.start,-1,!1,null,R,y),T=n.createOnigString(u.substring(0,h.end));Zt(n,T,t&&h.start===0,h.start,v,i,!1,0),Kt(T);continue}const f=p.getName(u,s);if(f!==null){const R=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(f,n);c.push(new Br(R,h.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var Br=class{constructor(n,e){_(this,"scopes");_(this,"endPos");this.scopes=n,this.endPos=e}};function Gr(n,e,t,r,i,o,s,u){return new $r(n,e,t,r,i,o,s,u)}function yt(n,e,t,r,i){const o=Ee(e,Ae),s=Yt.getCompiledRuleId(t,r,i.repository);for(const u of o)n.push({debugSelector:e,matcher:u.matcher,ruleId:s,grammar:i,priority:u.priority})}function Ae(n,e){if(e.length<n.length)return!1;let t=0;return n.every(r=>{for(let i=t;i<e.length;i++)if(jr(e[i],r))return t=i+1,!0;return!1})}function jr(n,e){if(!n)return!1;if(n===e)return!0;const t=e.length;return n.length>t&&n.substr(0,t)===e&&n[t]==="."}var $r=class{constructor(n,e,t,r,i,o,s,u){_(this,"_rootId");_(this,"_lastRuleId");_(this,"_ruleId2desc");_(this,"_includedGrammars");_(this,"_grammarRepository");_(this,"_grammar");_(this,"_injections");_(this,"_basicScopeAttributesProvider");_(this,"_tokenTypeMatchers");if(this._rootScopeName=n,this.balancedBracketSelectors=o,this._onigLib=u,this._basicScopeAttributesProvider=new wr(t,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=Et(e,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const l of Object.keys(i)){const c=Ee(l,Ae);for(const m of c)this._tokenTypeMatchers.push({matcher:m.matcher,type:i[l]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const n of this._ruleId2desc)n&&n.dispose()}createOnigScanner(n){return this._onigLib.createOnigScanner(n)}createOnigString(n){return this._onigLib.createOnigString(n)}getMetadataForScope(n){return this._basicScopeAttributesProvider.getBasicScopeAttributes(n)}_collectInjections(){const n={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},e=[],t=this._rootScopeName,r=n.lookup(t);if(r){const i=r.injections;if(i)for(let s in i)yt(e,s,i[s],this,r);const o=this._grammarRepository.injections(t);o&&o.forEach(s=>{const u=this.getExternalGrammar(s);if(u){const l=u.injectionSelector;l&&yt(e,l,u,this,u)}})}return e.sort((i,o)=>i.priority-o.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const e=++this._lastRuleId,t=n(e);return this._ruleId2desc[e]=t,t}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,e){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const t=this._grammarRepository.lookup(n);if(t)return this._includedGrammars[n]=Et(t,e&&e.$base),this._includedGrammars[n]}}tokenizeLine(n,e,t=0){const r=this._tokenize(n,e,!1,t);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(n,e,t=0){const r=this._tokenize(n,e,!0,t);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(n,e,t,r){this._rootId===-1&&(this._rootId=Yt.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!e||e===Je.NULL){i=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),m=this.themeProvider.getDefaults(),d=J.set(0,c.languageId,c.tokenType,null,m.fontStyle,m.foregroundId,m.backgroundId),p=this.getRule(this._rootId).getName(null,null);let h;p?h=ie.createRootAndLookUpScopeName(p,d,this):h=ie.createRoot("unknown",d),e=new Je(null,this._rootId,-1,-1,!1,null,h,h)}else i=!1,e.reset();n=n+`
|
|
4
4
|
`;const o=this.createOnigString(n),s=o.content.length,u=new Hr(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Zt(this,o,i,0,e,u,!0,r);return Kt(o),{lineLength:s,lineTokens:u,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function Et(n,e){return n=sr(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=e||n.repository.$self,n}var ie=class U{constructor(e,t,r){this.parent=e,this.scopePath=t,this.tokenAttributes=r}static fromExtension(e,t){let r=e,i=(e==null?void 0:e.scopePath)??null;for(const o of t)i=Be.push(i,o.scopeNames),r=new U(r,i,o.encodedTokenAttributes);return r}static createRoot(e,t){return new U(null,new Be(null,e),t)}static createRootAndLookUpScopeName(e,t,r){const i=r.getMetadataForScope(e),o=new Be(null,e),s=r.themeProvider.themeMatch(o),u=U.mergeAttributes(t,i,s);return new U(null,o,u)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return U.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,r){let i=-1,o=0,s=0;return r!==null&&(i=r.fontStyle,o=r.foregroundId,s=r.backgroundId),J.set(e,t.languageId,t.tokenType,null,i,o,s)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return U._pushAttributed(this,e,t);const r=e.split(/ /g);let i=this;for(const o of r)i=U._pushAttributed(i,o,t);return i}static _pushAttributed(e,t,r){const i=r.getMetadataForScope(t),o=e.scopePath.push(t),s=r.themeProvider.themeMatch(o),u=U.mergeAttributes(e.tokenAttributes,i,s);return new U(e,o,u)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var i;const t=[];let r=this;for(;r&&r!==e;)t.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((i=r.parent)==null?void 0:i.scopePath)??null)}),r=r.parent;return r===e?t.reverse():void 0}},j,Je=(j=class{constructor(e,t,r,i,o,s,u,l){_(this,"_stackElementBrand");_(this,"_enterPos");_(this,"_anchorPos");_(this,"depth");this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=o,this.endRule=s,this.nameScopesList=u,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}equals(e){return e===null?!1:j._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?ie.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){j._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,r,i,o,s,u){return new j(this,e,t,r,i,o,s,u)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var r,i;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(i=this.contentNameScopesList)==null?void 0:i.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new j(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const r=ie.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new j(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,r,ie.fromExtension(r,t.contentNameScopesList))}},_(j,"NULL",new j(null,0,0,0,!1,null,null,null)),j),Ur=class{constructor(n,e){_(this,"balancedBracketScopes");_(this,"unbalancedBracketScopes");_(this,"allowAny",!1);this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):Ee(t,Ae).map(r=>r.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>Ee(t,Ae).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(n){for(const e of this.unbalancedBracketScopes)if(e(n))return!1;for(const e of this.balancedBracketScopes)if(e(n))return!0;return this.allowAny}},Hr=class{constructor(n,e,t,r){_(this,"_emitBinaryTokens");_(this,"_lineText");_(this,"_tokens");_(this,"_binaryTokens");_(this,"_lastTokenEndIndex");_(this,"_tokenTypeOverrides");this.balancedBracketSelectors=r,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,e){this.produceFromScopes(n.contentNameScopesList,e)}produceFromScopes(n,e){var r;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let i=(n==null?void 0:n.tokenAttributes)??0,o=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=(n==null?void 0:n.getScopeNames())??[];for(const u of this._tokenTypeOverrides)u.matcher(s)&&(i=J.set(i,0,u.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(s))}if(o&&(i=J.set(i,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=e;return}const t=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(n,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let r=0,i=this._binaryTokens.length;r<i;r++)t[r]=this._binaryTokens[r];return t}},Wr=class{constructor(n,e){_(this,"_grammars",new Map);_(this,"_rawGrammars",new Map);_(this,"_injectionGrammars",new Map);_(this,"_theme");this._onigLib=e,this._theme=n}dispose(){for(const n of this._grammars.values())n.dispose()}setTheme(n){this._theme=n}getColorMap(){return this._theme.getColorMap()}addGrammar(n,e){this._rawGrammars.set(n.scopeName,n),e&&this._injectionGrammars.set(n.scopeName,e)}lookup(n){return this._rawGrammars.get(n)}injections(n){return this._injectionGrammars.get(n)}getDefaults(){return this._theme.getDefaults()}themeMatch(n){return this._theme.match(n)}grammarForScopeName(n,e,t,r,i){if(!this._grammars.has(n)){let o=this._rawGrammars.get(n);if(!o)return null;this._grammars.set(n,Gr(n,o,e,t,r,i,this,this._onigLib))}return this._grammars.get(n)}},Fr=class{constructor(e){_(this,"_options");_(this,"_syncRegistry");_(this,"_ensureGrammarCache");this._options=e,this._syncRegistry=new Wr(ye.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(ye.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,r){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:r})}loadGrammarWithConfiguration(e,t,r){return this._loadGrammar(e,t,r.embeddedLanguages,r.tokenTypes,new Ur(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,r,i,o){const s=new vr(this._syncRegistry,e);for(;s.Q.length>0;)s.Q.map(u=>this._loadSingleGrammar(u.scopeName)),s.processQueue();return this._grammarForScopeName(e,t,r,i,o)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,r)}}addGrammar(e,t=[],r=0,i=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,r,i)}_grammarForScopeName(e,t=0,r=null,i=null,o=null){return this._syncRegistry.grammarForScopeName(e,t,r,i,o)}},Xe=Je.NULL;function be(n,e){const t=typeof n=="string"?{}:{...n.colorReplacements},r=typeof n=="string"?n:n.name;for(const[i,o]of Object.entries((e==null?void 0:e.colorReplacements)||{}))typeof o=="string"?t[i]=o:i===r&&Object.assign(t,o);return t}function q(n,e){return n&&((e==null?void 0:e[n==null?void 0:n.toLowerCase()])||n)}function zr(n){return Array.isArray(n)?n:[n]}async function tn(n){return Promise.resolve(typeof n=="function"?n():n).then(e=>e.default||e)}function Ce(n){return!n||["plaintext","txt","text","plain"].includes(n)}function nn(n){return n==="ansi"||Ce(n)}function we(n){return n==="none"}function rn(n){return we(n)}const qr=/(\r?\n)/g;function ke(n,e=!1){var o;if(n.length===0)return[["",0]];const t=n.split(qr);let r=0;const i=[];for(let s=0;s<t.length;s+=2){const u=e?t[s]+(t[s+1]||""):t[s];i.push([u,r]),r+=t[s].length,r+=((o=t[s+1])==null?void 0:o.length)||0}return i}const vt={light:"#333333",dark:"#bbbbbb"},Rt={light:"#fffffe",dark:"#1e1e1e"},At="__shiki_resolved";function ot(n){var u,l,c,m,d;if(n!=null&&n[At])return n;const e={...n};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||(e.type="dark"),e.colorReplacements={...e.colorReplacements},e.settings||(e.settings=[]);let{bg:t,fg:r}=e;if(!t||!r){const p=e.settings?e.settings.find(h=>!h.name&&!h.scope):void 0;(u=p==null?void 0:p.settings)!=null&&u.foreground&&(r=p.settings.foreground),(l=p==null?void 0:p.settings)!=null&&l.background&&(t=p.settings.background),!r&&((c=e==null?void 0:e.colors)!=null&&c["editor.foreground"])&&(r=e.colors["editor.foreground"]),!t&&((m=e==null?void 0:e.colors)!=null&&m["editor.background"])&&(t=e.colors["editor.background"]),r||(r=e.type==="light"?vt.light:vt.dark),t||(t=e.type==="light"?Rt.light:Rt.dark),e.fg=r,e.bg=t}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let i=0;const o=new Map;function s(p){var f;if(o.has(p))return o.get(p);i+=1;const h=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return(f=e.colorReplacements)!=null&&f[`#${h}`]?s(p):(o.set(p,h),h)}e.settings=e.settings.map(p=>{var R,E;const h=((R=p.settings)==null?void 0:R.foreground)&&!p.settings.foreground.startsWith("#"),f=((E=p.settings)==null?void 0:E.background)&&!p.settings.background.startsWith("#");if(!h&&!f)return p;const A={...p,settings:{...p.settings}};if(h){const y=s(p.settings.foreground);e.colorReplacements[y]=p.settings.foreground,A.settings.foreground=y}if(f){const y=s(p.settings.background);e.colorReplacements[y]=p.settings.background,A.settings.background=y}return A});for(const p of Object.keys(e.colors||{}))if((p==="editor.foreground"||p==="editor.background"||p.startsWith("terminal.ansi"))&&!((d=e.colors[p])!=null&&d.startsWith("#"))){const h=s(e.colors[p]);e.colorReplacements[h]=e.colors[p],e.colors[p]=h}return Object.defineProperty(e,At,{enumerable:!1,writable:!1,value:!0}),e}async function on(n){return[...new Set((await Promise.all(n.filter(e=>!nn(e)).map(async e=>await tn(e).then(t=>Array.isArray(t)?t:[t])))).flat())]}async function sn(n){return(await Promise.all(n.map(async e=>rn(e)?null:ot(await tn(e))))).filter(e=>!!e)}function an(n,e){if(!e)return n;if(e[n]){const t=new Set([n]);for(;e[n];){if(n=e[n],t.has(n))throw new I(`Circular alias \`${[...t].join(" -> ")} -> ${n}\``);t.add(n)}}return n}var Kr=class extends Fr{constructor(e,t,r,i={}){super(e);_(this,"_resolver");_(this,"_themes");_(this,"_langs");_(this,"_alias");_(this,"_resolvedThemes",new Map);_(this,"_resolvedGrammars",new Map);_(this,"_langMap",new Map);_(this,"_langGraph",new Map);_(this,"_textmateThemeCache",new WeakMap);_(this,"_loadedThemesCache",null);_(this,"_loadedLanguagesCache",null);this._resolver=e,this._themes=t,this._langs=r,this._alias=i,this._themes.map(o=>this.loadTheme(o)),this.loadLanguages(this._langs)}getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=ot(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=ye.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=an(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){var o,s,u,l,c,m,d;if(this.getGrammar(e.name))return;const t=new Set([...this._langMap.values()].filter(p=>{var h;return(h=p.embeddedLangsLazy)==null?void 0:h.includes(e.name)}));this._resolver.addLanguage(e);const r={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const i=this.loadGrammarWithConfiguration(e.scopeName,1,r);if(i.name=e.name,this._resolvedGrammars.set(e.name,i),e.aliases&&e.aliases.forEach(p=>{this._alias[p]=e.name}),this._loadedLanguagesCache=null,t.size)for(const p of t)(u=(s=(o=this._syncRegistry)==null?void 0:o._grammars)==null?void 0:s.get(p.scopeName))==null||u.dispose(),this._resolvedGrammars.delete(p.name),this._loadedLanguagesCache=null,(c=(l=this._syncRegistry)==null?void 0:l._injectionGrammars)==null||c.delete(p.scopeName),(d=(m=this._syncRegistry)==null?void 0:m._grammars)==null||d.delete(p.scopeName),this.loadLanguage(this._langMap.get(p.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const i of e)this.resolveEmbeddedLanguages(i);const t=[...this._langGraph.entries()],r=t.filter(([i,o])=>!o);if(r.length){const i=t.filter(([o,s])=>{var u;return s?(u=s.embeddedLanguages||s.embeddedLangs)==null?void 0:u.some(l=>r.map(([c])=>c).includes(l)):!1}).filter(o=>!r.includes(o));throw new I(`Missing languages ${r.map(([o])=>`\`${o}\``).join(", ")}, required by ${i.map(([o])=>`\`${o}\``).join(", ")}`)}for(const[i,o]of t)this._resolver.addLanguage(o);for(const[i,o]of t)this.loadLanguage(o)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const t=e.embeddedLanguages??e.embeddedLangs;if(t)for(const r of t)this._langGraph.set(r,this._langMap.get(r))}},Jr=class{constructor(n,e){_(this,"_langs",new Map);_(this,"_scopeToLang",new Map);_(this,"_injections",new Map);_(this,"_onigLib");this._onigLib={createOnigScanner:t=>n.createScanner(t),createOnigString:t=>n.createString(t)},e.forEach(t=>this.addLanguage(t))}get onigLib(){return this._onigLib}getLangRegistration(n){return this._langs.get(n)}loadGrammar(n){return this._scopeToLang.get(n)}addLanguage(n){this._langs.set(n.name,n),n.aliases&&n.aliases.forEach(e=>{this._langs.set(e,n)}),this._scopeToLang.set(n.scopeName,n),n.injectTo&&n.injectTo.forEach(e=>{this._injections.get(e)||this._injections.set(e,[]),this._injections.get(e).includes(n.scopeName)||this._injections.get(e).push(n.scopeName)})}getInjections(n){const e=n.split(".");let t=[];for(let r=1;r<=e.length;r++){const i=e.slice(0,r).join(".");t=[...t,...this._injections.get(i)||[]]}return t}};let ne=0;function Xr(n){ne+=1,n.warnings!==!1&&ne>=10&&ne%10===0&&console.warn(`[Shiki] ${ne} 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 e=!1;if(!n.engine)throw new I("`engine` option is required for synchronous mode");const t=(n.langs||[]).flat(1),r=(n.themes||[]).flat(1).map(ot),i=new Kr(new Jr(n.engine,t),r,t,n.langAlias);let o;function s(y){return an(y,n.langAlias)}function u(y){R();const v=i.getGrammar(typeof y=="string"?y:y.name);if(!v)throw new I(`Language \`${y}\` not found, you may need to load it first`);return v}function l(y){if(y==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};R();const v=i.getTheme(y);if(!v)throw new I(`Theme \`${y}\` not found, you may need to load it first`);return v}function c(y){R();const v=l(y);return o!==y&&(i.setTheme(v),o=y),{theme:v,colorMap:i.getColorMap()}}function m(){return R(),i.getLoadedThemes()}function d(){return R(),i.getLoadedLanguages()}function p(...y){R(),i.loadLanguages(y.flat(1))}async function h(...y){return p(await on(y))}function f(...y){R();for(const v of y.flat(1))i.loadTheme(v)}async function A(...y){return R(),f(await sn(y))}function R(){if(e)throw new I("Shiki instance has been disposed")}function E(){e||(e=!0,i.dispose(),ne-=1)}return{setTheme:c,getTheme:l,getLanguage:u,getLoadedThemes:m,getLoadedLanguages:d,resolveLangAlias:s,loadLanguage:h,loadLanguageSync:p,loadTheme:A,loadThemeSync:f,dispose:E,[Symbol.dispose]:E}}async function Yr(n){n.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[e,t,r]=await Promise.all([sn(n.themes||[]),on(n.langs||[]),n.engine]);return Xr({...n,themes:e,langs:t,engine:r})}const ln=new WeakMap;function De(n,e){ln.set(n,e)}function le(n){return ln.get(n)}var Ne=class un{constructor(...e){_(this,"_stacks",{});_(this,"lang");if(e.length===2){const[t,r]=e;this.lang=r,this._stacks=t}else{const[t,r,i]=e;this.lang=r,this._stacks={[i]:t}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,t){return new un(Object.fromEntries(zr(t).map(r=>[r,Xe])),e)}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return Qr(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function Qr(n){const e=[],t=new Set;function r(i){var s;if(t.has(i))return;t.add(i);const o=(s=i==null?void 0:i.nameScopesList)==null?void 0:s.scopeName;o&&e.push(o),i.parent&&r(i.parent)}return r(n),e}function Zr(n,e){if(!(n instanceof Ne))throw new I("Invalid grammar state");return n.getInternalStack(e)}const ei=/,/,ti=/ /;function cn(n,e,t={}){const{theme:r=n.getLoadedThemes()[0]}=t;if(Ce(n.resolveLangAlias(t.lang||"text"))||we(r))return ke(e).map(u=>[{content:u[0],offset:u[1]}]);const{theme:i,colorMap:o}=n.setTheme(r),s=n.getLanguage(t.lang||"text");if(t.grammarState){if(t.grammarState.lang!==s.name)throw new I(`Grammar state language "${t.grammarState.lang}" does not match highlight language "${s.name}"`);if(!t.grammarState.themes.includes(i.name))throw new I(`Grammar state themes "${t.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return ri(e,s,i,o,t)}function ni(...n){if(n.length===2)return le(n[1]);const[e,t,r={}]=n,{lang:i="text",theme:o=e.getLoadedThemes()[0]}=r;if(Ce(i)||we(o))throw new I("Plain language does not have grammar state");if(i==="ansi")throw new I("ANSI language does not have grammar state");const{theme:s,colorMap:u}=e.setTheme(o),l=e.getLanguage(i);return new Ne(st(t,l,s,u,r).stateStack,l.name,s.name)}function ri(n,e,t,r,i){const o=st(n,e,t,r,i),s=new Ne(o.stateStack,e.name,t.name);return De(o.tokens,s),o.tokens}function st(n,e,t,r,i){const o=be(t,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:u=500,includeExplanation:l=!1}=i,c=ke(n);let m=i.grammarState?Zr(i.grammarState,t.name)??Xe:i.grammarContextCode!=null?st(i.grammarContextCode,e,t,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:Xe,d=[];const p=[];for(let h=0,f=c.length;h<f;h++){const[A,R]=c[h];if(A===""){d=[],p.push([]);continue}if(s>0&&A.length>=s){d=[],p.push([{content:A,offset:R,color:"",fontStyle:0}]);continue}let E,y,v;l&&l!=="tokenType"&&(E=e.tokenizeLine(A,m,u),y=E.tokens,v=0);const T=e.tokenizeLine2(A,m,u),L=T.tokens.length/2;for(let P=0;P<L;P++){const V=T.tokens[2*P],Y=P+1<L?T.tokens[2*P+2]:A.length;if(V===Y)continue;const x=T.tokens[2*P+1],F=q(r[J.getForeground(x)],o),de=J.getFontStyle(x),z={content:A.substring(V,Y),offset:R+V,color:F,fontStyle:de};if(l==="tokenType")z.type=J.getTokenType(x);else if(l){const ct=[];if(l!=="scopeName")for(const H of t.settings){let Q;switch(typeof H.scope){case"string":Q=H.scope.split(ei).map(Ve=>Ve.trim());break;case"object":Q=H.scope;break;default:continue}ct.push({settings:H,selectors:Q.map(Ve=>Ve.split(ti))})}z.explanation=[];let dt=0;for(;V+dt<Y;){const H=y[v],Q=A.substring(H.startIndex,H.endIndex);dt+=Q.length,z.explanation.push({content:Q,scopes:l==="scopeName"?ii(H.scopes):oi(ct,H.scopes)}),v+=1}}d.push(z)}p.push(d),d=[],m=T.ruleStack}return{tokens:p,stateStack:m}}function ii(n){return n.map(e=>({scopeName:e}))}function oi(n,e){const t=[];for(let r=0,i=e.length;r<i;r++){const o=e[r];t[r]={scopeName:o,themeMatches:ai(n,o,e.slice(0,r))}}return t}function bt(n,e){return n===e||e.substring(0,n.length)===n&&e[n.length]==="."}function si(n,e,t){if(!bt(n.at(-1),e))return!1;let r=n.length-2,i=t.length-1;for(;r>=0&&i>=0;)bt(n[r],t[i])&&(r-=1),i-=1;return r===-1}function ai(n,e,t){const r=[];for(const{selectors:i,settings:o}of n)for(const s of i)if(si(s,e,t)){r.push(o);break}return r}function dn(n,e,t,r=cn){const i=Object.entries(t.themes).filter(c=>c[1]).map(c=>({color:c[0],theme:c[1]})),o=i.map(c=>{const m=r(n,e,{...t,theme:c.theme});return{tokens:m,state:le(m),theme:typeof c.theme=="string"?c.theme:c.theme.name}}),s=li(...o.map(c=>c.tokens)),u=s[0].map((c,m)=>c.map((d,p)=>{const h={content:d.content,variants:{},offset:d.offset};return"includeExplanation"in t&&t.includeExplanation&&(h.explanation=d.explanation),s.forEach((f,A)=>{const{content:R,explanation:E,offset:y,...v}=f[m][p];h.variants[i[A].color]=v}),h})),l=o[0].state?new Ne(Object.fromEntries(o.map(c=>{var m;return[c.theme,(m=c.state)==null?void 0:m.getInternalStack(c.theme)]})),o[0].state.lang):void 0;return l&&De(u,l),u}function li(...n){const e=n.map(()=>[]),t=n.length;for(let r=0;r<n[0].length;r++){const i=n.map(l=>l[r]),o=e.map(()=>[]);e.forEach((l,c)=>l.push(o[c]));const s=i.map(()=>0),u=i.map(l=>l[0]);for(;u.every(l=>l);){const l=Math.min(...u.map(c=>c.content.length));for(let c=0;c<t;c++){const m=u[c];m.content.length===l?(o[c].push(m),s[c]+=1,u[c]=i[c][s[c]]):(o[c].push({...m,content:m.content.slice(0,l)}),u[c]={...m,content:m.content.slice(l),offset:m.offset+l})}}}return e}const ui=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ce{constructor(e,t,r){this.normal=t,this.property=e,r&&(this.space=r)}}ce.prototype.normal={};ce.prototype.property={};ce.prototype.space=void 0;function pn(n,e){const t={},r={};for(const i of n)Object.assign(t,i.property),Object.assign(r,i.normal);return new ce(t,r,e)}function Ye(n){return n.toLowerCase()}class M{constructor(e,t){this.attribute=t,this.property=e}}M.prototype.attribute="";M.prototype.booleanish=!1;M.prototype.boolean=!1;M.prototype.commaOrSpaceSeparated=!1;M.prototype.commaSeparated=!1;M.prototype.defined=!1;M.prototype.mustUseProperty=!1;M.prototype.number=!1;M.prototype.overloadedBoolean=!1;M.prototype.property="";M.prototype.spaceSeparated=!1;M.prototype.space=void 0;let ci=0;const b=X(),O=X(),Qe=X(),g=X(),S=X(),Z=X(),B=X();function X(){return 2**++ci}const Ze=Object.freeze(Object.defineProperty({__proto__:null,boolean:b,booleanish:O,commaOrSpaceSeparated:B,commaSeparated:Z,number:g,overloadedBoolean:Qe,spaceSeparated:S},Symbol.toStringTag,{value:"Module"})),je=Object.keys(Ze);class at extends M{constructor(e,t,r,i){let o=-1;if(super(e,t),Tt(this,"space",i),typeof r=="number")for(;++o<je.length;){const s=je[o];Tt(this,je[o],(r&Ze[s])===Ze[s])}}}at.prototype.defined=!0;function Tt(n,e,t){t&&(n[e]=t)}function te(n){const e={},t={};for(const[r,i]of Object.entries(n.properties)){const o=new at(r,n.transform(n.attributes||{},r),i,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,t[Ye(r)]=r,t[Ye(o.attribute)]=r}return new ce(e,t,n.space)}const mn=te({properties:{ariaActiveDescendant:null,ariaAtomic:O,ariaAutoComplete:null,ariaBusy:O,ariaChecked:O,ariaColCount:g,ariaColIndex:g,ariaColSpan:g,ariaControls:S,ariaCurrent:null,ariaDescribedBy:S,ariaDetails:null,ariaDisabled:O,ariaDropEffect:S,ariaErrorMessage:null,ariaExpanded:O,ariaFlowTo:S,ariaGrabbed:O,ariaHasPopup:null,ariaHidden:O,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:S,ariaLevel:g,ariaLive:null,ariaModal:O,ariaMultiLine:O,ariaMultiSelectable:O,ariaOrientation:null,ariaOwns:S,ariaPlaceholder:null,ariaPosInSet:g,ariaPressed:O,ariaReadOnly:O,ariaRelevant:null,ariaRequired:O,ariaRoleDescription:S,ariaRowCount:g,ariaRowIndex:g,ariaRowSpan:g,ariaSelected:O,ariaSetSize:g,ariaSort:null,ariaValueMax:g,ariaValueMin:g,ariaValueNow:g,ariaValueText:null,role:null},transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function hn(n,e){return e in n?n[e]:e}function _n(n,e){return hn(n,e.toLowerCase())}const di=te({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Z,acceptCharset:S,accessKey:S,action:null,allow:null,allowFullScreen:b,allowPaymentRequest:b,allowUserMedia:b,alt:null,as:null,async:b,autoCapitalize:null,autoComplete:S,autoFocus:b,autoPlay:b,blocking:S,capture:null,charSet:null,checked:b,cite:null,className:S,cols:g,colSpan:null,content:null,contentEditable:O,controls:b,controlsList:S,coords:g|Z,crossOrigin:null,data:null,dateTime:null,decoding:null,default:b,defer:b,dir:null,dirName:null,disabled:b,download:Qe,draggable:O,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:b,formTarget:null,headers:S,height:g,hidden:Qe,high:g,href:null,hrefLang:null,htmlFor:S,httpEquiv:S,id:null,imageSizes:null,imageSrcSet:null,inert:b,inputMode:null,integrity:null,is:null,isMap:b,itemId:null,itemProp:S,itemRef:S,itemScope:b,itemType:S,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:b,low:g,manifest:null,max:null,maxLength:g,media:null,method:null,min:null,minLength:g,multiple:b,muted:b,name:null,nonce:null,noModule:b,noValidate:b,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:b,optimum:g,pattern:null,ping:S,placeholder:null,playsInline:b,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:b,referrerPolicy:null,rel:S,required:b,reversed:b,rows:g,rowSpan:g,sandbox:S,scope:null,scoped:b,seamless:b,selected:b,shadowRootClonable:b,shadowRootDelegatesFocus:b,shadowRootMode:null,shape:null,size:g,sizes:null,slot:null,span:g,spellCheck:O,src:null,srcDoc:null,srcLang:null,srcSet:null,start:g,step:null,style:null,tabIndex:g,target:null,title:null,translate:null,type:null,typeMustMatch:b,useMap:null,value:O,width:g,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:S,axis:null,background:null,bgColor:null,border:g,borderColor:null,bottomMargin:g,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:b,declare:b,event:null,face:null,frame:null,frameBorder:null,hSpace:g,leftMargin:g,link:null,longDesc:null,lowSrc:null,marginHeight:g,marginWidth:g,noResize:b,noHref:b,noShade:b,noWrap:b,object:null,profile:null,prompt:null,rev:null,rightMargin:g,rules:null,scheme:null,scrolling:O,standby:null,summary:null,text:null,topMargin:g,valueType:null,version:null,vAlign:null,vLink:null,vSpace:g,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:b,disableRemotePlayback:b,prefix:null,property:null,results:g,security:null,unselectable:null},space:"html",transform:_n}),pi=te({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:B,accentHeight:g,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:g,amplitude:g,arabicForm:null,ascent:g,attributeName:null,attributeType:null,azimuth:g,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:g,by:null,calcMode:null,capHeight:g,className:S,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:g,diffuseConstant:g,direction:null,display:null,dur:null,divisor:g,dominantBaseline:null,download:b,dx:null,dy:null,edgeMode:null,editable:null,elevation:g,enableBackground:null,end:null,event:null,exponent:g,externalResourcesRequired:null,fill:null,fillOpacity:g,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Z,g2:Z,glyphName:Z,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:g,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:g,horizOriginX:g,horizOriginY:g,id:null,ideographic:g,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:g,k:g,k1:g,k2:g,k3:g,k4:g,kernelMatrix:B,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:g,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:g,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:g,overlineThickness:g,paintOrder:null,panose1:null,path:null,pathLength:g,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:S,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:g,pointsAtY:g,pointsAtZ:g,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:B,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:B,rev:B,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:B,requiredFeatures:B,requiredFonts:B,requiredFormats:B,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:g,specularExponent:g,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:g,strikethroughThickness:g,string:null,stroke:null,strokeDashArray:B,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:g,strokeOpacity:g,strokeWidth:null,style:null,surfaceScale:g,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:B,tabIndex:g,tableValues:null,target:null,targetX:g,targetY:g,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:B,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:g,underlineThickness:g,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:g,values:null,vAlphabetic:g,vMathematical:g,vectorEffect:null,vHanging:g,vIdeographic:g,version:null,vertAdvY:g,vertOriginX:g,vertOriginY:g,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:g,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:hn}),fn=te({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()}}),gn=te({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:_n}),yn=te({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()}}),mi=/[A-Z]/g,Lt=/-[a-z]/g,hi=/^data[-\w.:]+$/i;function _i(n,e){const t=Ye(e);let r=e,i=M;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&hi.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(Lt,gi);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!Lt.test(o)){let s=o.replace(mi,fi);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}i=at}return new i(r,e)}function fi(n){return"-"+n.toLowerCase()}function gi(n){return n.charAt(1).toUpperCase()}const yi=pn([mn,di,fn,gn,yn],"html"),En=pn([mn,pi,fn,gn,yn],"svg"),Pt={}.hasOwnProperty;function Ei(n,e){const t=e||{};function r(i,...o){let s=r.invalid;const u=r.handlers;if(i&&Pt.call(i,n)){const l=String(i[n]);s=Pt.call(u,l)?u[l]:r.unknown}if(s)return s.call(this,i,...o)}return r.handlers=t.handlers||{},r.invalid=t.invalid,r.unknown=t.unknown,r}const vi=/["&'<>`]/g,Ri=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ai=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,bi=/[|\\{}()[\]^$+*?.]/g,St=new WeakMap;function Ti(n,e){if(n=n.replace(e.subset?Li(e.subset):vi,r),e.subset||e.escapeOnly)return n;return n.replace(Ri,t).replace(Ai,r);function t(i,o,s){return e.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),e)}function r(i,o,s){return e.format(i.charCodeAt(0),s.charCodeAt(o+1),e)}}function Li(n){let e=St.get(n);return e||(e=Pi(n),St.set(n,e)),e}function Pi(n){const e=[];let t=-1;for(;++t<n.length;)e.push(n[t].replace(bi,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const Si=/[\dA-Fa-f]/;function Ii(n,e,t){const r="&#x"+n.toString(16).toUpperCase();return t&&e&&!Si.test(String.fromCharCode(e))?r:r+";"}const Oi=/\d/;function Ci(n,e,t){const r="&#"+String(n);return t&&e&&!Oi.test(String.fromCharCode(e))?r:r+";"}const wi=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],$e={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},ki=["cent","copy","divide","gt","lt","not","para","times"],vn={}.hasOwnProperty,et={};let he;for(he in $e)vn.call($e,he)&&(et[$e[he]]=he);const Di=/[^\dA-Za-z]/;function Ni(n,e,t,r){const i=String.fromCharCode(n);if(vn.call(et,i)){const o=et[i],s="&"+o;return t&&wi.includes(o)&&!ki.includes(o)&&(!r||e&&e!==61&&Di.test(String.fromCharCode(e)))?s:s+";"}return""}function Vi(n,e,t){let r=Ii(n,e,t.omitOptionalSemicolons),i;if((t.useNamedReferences||t.useShortestReferences)&&(i=Ni(n,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!i)&&t.useShortestReferences){const o=Ci(n,e,t.omitOptionalSemicolons);o.length<r.length&&(r=o)}return i&&(!t.useShortestReferences||i.length<r.length)?i:r}function ee(n,e){return Ti(n,Object.assign({format:Vi},e))}const xi=/^>|^->|<!--|-->|--!>|<!-$/g,Mi=[">"],Bi=["<",">"];function Gi(n,e,t,r){return r.settings.bogusComments?"<?"+ee(n.value,Object.assign({},r.settings.characterReferences,{subset:Mi}))+">":"<!--"+n.value.replace(xi,i)+"-->";function i(o){return ee(o,Object.assign({},r.settings.characterReferences,{subset:Bi}))}}function ji(n,e,t,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function It(n,e){const t=String(n);if(typeof e!="string")throw new TypeError("Expected character");let r=0,i=t.indexOf(e);for(;i!==-1;)r++,i=t.indexOf(e,i+e.length);return r}function os(n){const e=[],t=String(n||"");let r=t.indexOf(","),i=0,o=!1;for(;!o;){r===-1&&(r=t.length,o=!0);const s=t.slice(i,r).trim();(s||!o)&&e.push(s),i=r+1,r=t.indexOf(",",i)}return e}function $i(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function ss(n){const e=String(n||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function Ui(n){return n.join(" ").trim()}const Hi=/[ \t\n\f\r]/g;function lt(n){return typeof n=="object"?n.type==="text"?Ot(n.value):!1:Ot(n)}function Ot(n){return n.replace(Hi,"")===""}const w=An(1),Rn=An(-1),Wi=[];function An(n){return e;function e(t,r,i){const o=t?t.children:Wi;let s=(r||0)+n,u=o[s];if(!i)for(;u&<(u);)s+=n,u=o[s];return u}}const Fi={}.hasOwnProperty;function bn(n){return e;function e(t,r,i){return Fi.call(n,t.tagName)&&n[t.tagName](t,r,i)}}const ut=bn({body:qi,caption:Ue,colgroup:Ue,dd:Yi,dt:Xi,head:Ue,html:zi,li:Ji,optgroup:Qi,option:Zi,p:Ki,rp:Ct,rt:Ct,tbody:to,td:wt,tfoot:no,th:wt,thead:eo,tr:ro});function Ue(n,e,t){const r=w(t,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&<(r.value.charAt(0)))}function zi(n,e,t){const r=w(t,e);return!r||r.type!=="comment"}function qi(n,e,t){const r=w(t,e);return!r||r.type!=="comment"}function Ki(n,e,t){const r=w(t,e);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function Ji(n,e,t){const r=w(t,e);return!r||r.type==="element"&&r.tagName==="li"}function Xi(n,e,t){const r=w(t,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Yi(n,e,t){const r=w(t,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Ct(n,e,t){const r=w(t,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Qi(n,e,t){const r=w(t,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function Zi(n,e,t){const r=w(t,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function eo(n,e,t){const r=w(t,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function to(n,e,t){const r=w(t,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function no(n,e,t){return!w(t,e)}function ro(n,e,t){const r=w(t,e);return!r||r.type==="element"&&r.tagName==="tr"}function wt(n,e,t){const r=w(t,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const io=bn({body:ao,colgroup:lo,head:so,html:oo,tbody:uo});function oo(n){const e=w(n,-1);return!e||e.type!=="comment"}function so(n){const e=new Set;for(const r of n.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(e.has(r.tagName))return!1;e.add(r.tagName)}const t=n.children[0];return!t||t.type==="element"}function ao(n){const e=w(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&<(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function lo(n,e,t){const r=Rn(t,e),i=w(n,-1,!0);return t&&r&&r.type==="element"&&r.tagName==="colgroup"&&ut(r,t.children.indexOf(r),t)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function uo(n,e,t){const r=Rn(t,e),i=w(n,-1);return t&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ut(r,t.children.indexOf(r),t)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const _e={name:[[`
|
|
5
5
|
\f\r &/=>`.split(""),`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as C}from"./core-
|
|
1
|
+
import{w as C}from"./core-CH8pl6He.js";import"./index-BadBPNlq.js";import"./index.es-CQ9CIS6P.js";import"./events-DQ172AOg.js";import"./en_US-Y4ZOVFV4-D2zZwqC_.js";import"./clsx-B-dksMZM.js";import"./index-BwpQbdIU.js";const m=C`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="12"
|
|
4
4
|
height="13"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as u,g as y,s as w,d as k,i as b,l as L,e as O,f as E,h as x,j as R,H as m,k as M}from"./en_US-Y4ZOVFV4-
|
|
1
|
+
import{B as u,g as y,s as w,d as k,i as b,l as L,e as O,f as E,h as x,j as R,H as m,k as M}from"./en_US-Y4ZOVFV4-D2zZwqC_.js";import"./index-BadBPNlq.js";import"./clsx-B-dksMZM.js";import"./index-BwpQbdIU.js";class S extends u{constructor({callbackSelector:r,cause:a,data:n,extraData:i,sender:f,urls:t}){var o;super(a.shortMessage||"An error occurred while fetching for an offchain result.",{cause:a,metaMessages:[...a.metaMessages||[],(o=a.metaMessages)!=null&&o.length?"":[],"Offchain Gateway Call:",t&&[" Gateway URL(s):",...t.map(d=>` ${y(d)}`)],` Sender: ${f}`,` Data: ${n}`,` Callback selector: ${r}`,` Extra data: ${i}`].flat(),name:"OffchainLookupError"})}}class $ extends u{constructor({result:r,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${y(a)}`,`Response: ${w(r)}`],name:"OffchainLookupResponseMalformedError"})}}class q extends u{constructor({sender:r,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${r}`],name:"OffchainLookupSenderMismatchError"})}}const B="0x556f1830",T={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function P(c,{blockNumber:r,blockTag:a,data:n,to:i}){const{args:f}=k({data:n,abi:[T]}),[t,o,d,l,s]=f,{ccipRead:e}=c,h=e&&typeof(e==null?void 0:e.request)=="function"?e.request:C;try{if(!b(i,t))throw new q({sender:t,to:i});const p=o.includes(L)?await O({data:d,ccipRequest:h}):await h({data:d,sender:t,urls:o}),{data:g}=await E(c,{blockNumber:r,blockTag:a,data:x([l,R([{type:"bytes"},{type:"bytes"}],[p,s])]),to:i});return g}catch(p){throw new S({callbackSelector:l,cause:p,data:n,extraData:s,sender:t,urls:o})}}async function C({data:c,sender:r,urls:a}){var i;let n=new Error("An unknown error occurred.");for(let f=0;f<a.length;f++){const t=a[f],o=t.includes("{data}")?"GET":"POST",d=o==="POST"?{data:c,sender:r}:void 0,l=o==="POST"?{"Content-Type":"application/json"}:{};try{const s=await fetch(t.replace("{sender}",r.toLowerCase()).replace("{data}",c),{body:JSON.stringify(d),headers:l,method:o});let e;if((i=s.headers.get("Content-Type"))!=null&&i.startsWith("application/json")?e=(await s.json()).data:e=await s.text(),!s.ok){n=new m({body:d,details:e!=null&&e.error?w(e.error):s.statusText,headers:s.headers,status:s.status,url:t});continue}if(!M(e)){n=new $({result:e,url:t});continue}return e}catch(s){n=new m({body:d,details:s.message,url:t})}}throw n}export{C as ccipRequest,P as offchainLookup,T as offchainLookupAbiItem,B as offchainLookupSignature};
|