crate dos to md-book (#7)
Some checks are pending
rust-clippy analyze / Run rust-clippy analyzing (push) Waiting to run
Deploy mdBook site to Pages / build (x86_64-unknown-linux-gnu, stable) (push) Waiting to run
Deploy mdBook site to Pages / deploy (push) Blocked by required conditions
Rust / build (src-lang, x86_64-unknown-linux-gnu, stable) (push) Waiting to run

Reviewed-on: #7
This commit is contained in:
sevki 2024-07-17 14:28:09 +00:00
parent 8ef278eaa3
commit 5323fa0de8
17 changed files with 557 additions and 1420 deletions

View file

@ -48,6 +48,7 @@ jobs:
rustup component add cargo rustup component add cargo
rustup component add clippy rustup component add clippy
rustup component add rust-src rustup component add rust-src
rustup target add wasm32-unknown-unknown
rustup target add ${{ matrix.targets }} rustup target add ${{ matrix.targets }}
rustup update rustup update
- name: Install mdBook - name: Install mdBook
@ -60,6 +61,7 @@ jobs:
uses: actions/configure-pages@v5 uses: actions/configure-pages@v5
- name: build_docs - name: build_docs
run: | run: |
cargo install wasm-bindgen-cli
cargo doc cargo doc
cargo build cargo build
- name: Build with mdBook - name: Build with mdBook

View file

@ -19,12 +19,10 @@ jobs:
matrix: matrix:
targets: targets:
- x86_64-unknown-linux-gnu - x86_64-unknown-linux-gnu
- wasm32-unknown-unknown
packages: packages:
- src-lang - src-lang
toolchains: toolchains:
- stable - stable
- nightly
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

6
.gitignore vendored
View file

@ -1,9 +1,7 @@
book book
target target
node_modules node_modules
packages/app/assets/wasm/src_lsp_browser.d.ts packages/app/assets
packages/app/assets/wasm/src_lsp_browser.js dist
packages/app/assets/wasm/src_lsp_browser_bg.wasm
packages/app/assets/wasm/src_lsp_browser_bg.wasm.d.ts
docs/crates/src_* docs/crates/src_*

View file

@ -19,6 +19,8 @@ fn main() -> anyhow::Result<()> {
try_lalrpop(SOURCE, TARGET)?; try_lalrpop(SOURCE, TARGET)?;
try_write_down_versions_info()?;
try_make_books()?;
try_write_down_versions_info()?; try_write_down_versions_info()?;
try_make_books()?; try_make_books()?;
Ok(()) Ok(())
@ -286,15 +288,15 @@ fn try_make_books() -> std::result::Result<(), std::io::Error> {
lastbit_splat.last().unwrap().to_string() lastbit_splat.last().unwrap().to_string()
}; };
let icon = match firstbit { let icon = match firstbit {
"Struct" => r#"℘"#, "Struct" => "&#xea91;",
"Enum" => "", "Enum" => "&#xea95;",
"Trait" => "", "Trait" => "&#xeb61;",
"Function" => "𝑓", "Function" => "&#xea8c;",
"Type" => "τ", "Type" => "&#xea92;",
"Macro" => "", "Macro" => "&#xeb66;",
"Constant" => "𝑐", "Constant" => "&#xeb5d;",
"Module" => "", "Module" => "&#xea8b;",
"Crate" => "", "Crate" => "&#xea8b;",
"Crates" => "🦀", "Crates" => "🦀",
_ => "", _ => "",
}; };

View file

@ -5,128 +5,128 @@
- [ Skills](skill-tree.md) - [ Skills](skill-tree.md)
- [ Research](research.md) - [ Research](research.md)
- [🦀 Crates](crates/index.md) - [🦀 Crates](crates/index.md)
- [ Crate src_derive](crates/src_derive/index.md) - [&#xea8b; Crate src_derive](crates/src_derive/index.md)
- [ node](crates/src_derive/attr.node.md) - [ node](crates/src_derive/attr.node.md)
- [ Crate src_lang](crates/src_lang/index.md) - [&#xea8b; Crate src_lang](crates/src_lang/index.md)
- [ analyzer](crates/src_lang/analyzer/index.md) - [&#xea8b; analyzer](crates/src_lang/analyzer/index.md)
- [ db](crates/src_lang/analyzer/db/index.md) - [&#xea8b; db](crates/src_lang/analyzer/db/index.md)
- [ Database](crates/src_lang/analyzer/db/struct.Database.md) - [&#xea91; Database](crates/src_lang/analyzer/db/struct.Database.md)
- [𝑓 add_file](crates/src_lang/analyzer/fn.add_file.md) - [&#xea8c; add_file](crates/src_lang/analyzer/fn.add_file.md)
- [𝑓 get_symbol](crates/src_lang/analyzer/fn.get_symbol.md) - [&#xea8c; get_symbol](crates/src_lang/analyzer/fn.get_symbol.md)
- [𝑓 span_text](crates/src_lang/analyzer/fn.span_text.md) - [&#xea8c; span_text](crates/src_lang/analyzer/fn.span_text.md)
- [ SyntaxTree](crates/src_lang/analyzer/struct.SyntaxTree.md) - [&#xea91; SyntaxTree](crates/src_lang/analyzer/struct.SyntaxTree.md)
- [ Url](crates/src_lang/analyzer/struct.Url.md) - [&#xea91; Url](crates/src_lang/analyzer/struct.Url.md)
- [ add_file](crates/src_lang/analyzer/struct.add_file.md) - [&#xea91; add_file](crates/src_lang/analyzer/struct.add_file.md)
- [ get_symbol](crates/src_lang/analyzer/struct.get_symbol.md) - [&#xea91; get_symbol](crates/src_lang/analyzer/struct.get_symbol.md)
- [ span_text](crates/src_lang/analyzer/struct.span_text.md) - [&#xea91; span_text](crates/src_lang/analyzer/struct.span_text.md)
- [ ast](crates/src_lang/ast/index.md) - [&#xea8b; ast](crates/src_lang/ast/index.md)
- [ Kw](crates/src_lang/ast/enum.Kw.md) - [&#xea95; Kw](crates/src_lang/ast/enum.Kw.md)
- [ Literal](crates/src_lang/ast/enum.Literal.md) - [&#xea95; Literal](crates/src_lang/ast/enum.Literal.md)
- [ Node](crates/src_lang/ast/enum.Node.md) - [&#xea95; Node](crates/src_lang/ast/enum.Node.md)
- [ Operator](crates/src_lang/ast/enum.Operator.md) - [&#xea95; Operator](crates/src_lang/ast/enum.Operator.md)
- [ Visibility](crates/src_lang/ast/enum.Visibility.md) - [&#xea95; Visibility](crates/src_lang/ast/enum.Visibility.md)
- [ Field](crates/src_lang/ast/struct.Field.md) - [&#xea91; Field](crates/src_lang/ast/struct.Field.md)
- [ Ident](crates/src_lang/ast/struct.Ident.md) - [&#xea91; Ident](crates/src_lang/ast/struct.Ident.md)
- [ Keyword](crates/src_lang/ast/struct.Keyword.md) - [&#xea91; Keyword](crates/src_lang/ast/struct.Keyword.md)
- [ FieldVisitor](crates/src_lang/ast/trait.FieldVisitor.md) - [&#xeb61; FieldVisitor](crates/src_lang/ast/trait.FieldVisitor.md)
- [ IdentVisitor](crates/src_lang/ast/trait.IdentVisitor.md) - [&#xeb61; IdentVisitor](crates/src_lang/ast/trait.IdentVisitor.md)
- [ KeywordVisitor](crates/src_lang/ast/trait.KeywordVisitor.md) - [&#xeb61; KeywordVisitor](crates/src_lang/ast/trait.KeywordVisitor.md)
- [ compiler](crates/src_lang/compiler/index.md) - [&#xea8b; compiler](crates/src_lang/compiler/index.md)
- [ errors](crates/src_lang/compiler/errors/index.md) - [&#xea8b; errors](crates/src_lang/compiler/errors/index.md)
- [ Errors](crates/src_lang/compiler/errors/struct.Errors.md) - [&#xea91; Errors](crates/src_lang/compiler/errors/struct.Errors.md)
- [𝑓 add_imports](crates/src_lang/compiler/fn.add_imports.md) - [&#xea8c; add_imports](crates/src_lang/compiler/fn.add_imports.md)
- [𝑓 compile](crates/src_lang/compiler/fn.compile.md) - [&#xea8c; compile](crates/src_lang/compiler/fn.compile.md)
- [𝑓 compile_effect](crates/src_lang/compiler/fn.compile_effect.md) - [&#xea8c; compile_effect](crates/src_lang/compiler/fn.compile_effect.md)
- [ ir](crates/src_lang/compiler/ir/index.md) - [&#xea8b; ir](crates/src_lang/compiler/ir/index.md)
- [ EffectDef](crates/src_lang/compiler/ir/struct.EffectDef.md) - [&#xea91; EffectDef](crates/src_lang/compiler/ir/struct.EffectDef.md)
- [ Function](crates/src_lang/compiler/ir/struct.Function.md) - [&#xea91; Function](crates/src_lang/compiler/ir/struct.Function.md)
- [ Import](crates/src_lang/compiler/ir/struct.Import.md) - [&#xea91; Import](crates/src_lang/compiler/ir/struct.Import.md)
- [ InternedEffect](crates/src_lang/compiler/ir/struct.InternedEffect.md) - [&#xea91; InternedEffect](crates/src_lang/compiler/ir/struct.InternedEffect.md)
- [ Mangled](crates/src_lang/compiler/ir/struct.Mangled.md) - [&#xea91; Mangled](crates/src_lang/compiler/ir/struct.Mangled.md)
- [ Program](crates/src_lang/compiler/ir/struct.Program.md) - [&#xea91; Program](crates/src_lang/compiler/ir/struct.Program.md)
- [ Symbol](crates/src_lang/compiler/ir/struct.Symbol.md) - [&#xea91; Symbol](crates/src_lang/compiler/ir/struct.Symbol.md)
- [ __EffectDefConfig](crates/src_lang/compiler/ir/struct.__EffectDefConfig.md) - [&#xea91; __EffectDefConfig](crates/src_lang/compiler/ir/struct.__EffectDefConfig.md)
- [ __FunctionConfig](crates/src_lang/compiler/ir/struct.__FunctionConfig.md) - [&#xea91; __FunctionConfig](crates/src_lang/compiler/ir/struct.__FunctionConfig.md)
- [ __ImportConfig](crates/src_lang/compiler/ir/struct.__ImportConfig.md) - [&#xea91; __ImportConfig](crates/src_lang/compiler/ir/struct.__ImportConfig.md)
- [ __InternedEffectData](crates/src_lang/compiler/ir/struct.__InternedEffectData.md) - [&#xea91; __InternedEffectData](crates/src_lang/compiler/ir/struct.__InternedEffectData.md)
- [ __MangledData](crates/src_lang/compiler/ir/struct.__MangledData.md) - [&#xea91; __MangledData](crates/src_lang/compiler/ir/struct.__MangledData.md)
- [ __ProgramConfig](crates/src_lang/compiler/ir/struct.__ProgramConfig.md) - [&#xea91; __ProgramConfig](crates/src_lang/compiler/ir/struct.__ProgramConfig.md)
- [ __SymbolData](crates/src_lang/compiler/ir/struct.__SymbolData.md) - [&#xea91; __SymbolData](crates/src_lang/compiler/ir/struct.__SymbolData.md)
- [ add_imports](crates/src_lang/compiler/struct.add_imports.md) - [&#xea91; add_imports](crates/src_lang/compiler/struct.add_imports.md)
- [ compile](crates/src_lang/compiler/struct.compile.md) - [&#xea91; compile](crates/src_lang/compiler/struct.compile.md)
- [ compile_effect](crates/src_lang/compiler/struct.compile_effect.md) - [&#xea91; compile_effect](crates/src_lang/compiler/struct.compile_effect.md)
- [ text](crates/src_lang/compiler/text/index.md) - [&#xea8b; text](crates/src_lang/compiler/text/index.md)
- [𝑓 calculate_line_lengths](crates/src_lang/compiler/text/fn.calculate_line_lengths.md) - [&#xea8c; calculate_line_lengths](crates/src_lang/compiler/text/fn.calculate_line_lengths.md)
- [𝑓 cmp_range](crates/src_lang/compiler/text/fn.cmp_range.md) - [&#xea8c; cmp_range](crates/src_lang/compiler/text/fn.cmp_range.md)
- [𝑓 to_spans](crates/src_lang/compiler/text/fn.to_spans.md) - [&#xea8c; to_spans](crates/src_lang/compiler/text/fn.to_spans.md)
- [ Document](crates/src_lang/compiler/text/struct.Document.md) - [&#xea91; Document](crates/src_lang/compiler/text/struct.Document.md)
- [ Position](crates/src_lang/compiler/text/struct.Position.md) - [&#xea91; Position](crates/src_lang/compiler/text/struct.Position.md)
- [ SourceMap](crates/src_lang/compiler/text/struct.SourceMap.md) - [&#xea91; SourceMap](crates/src_lang/compiler/text/struct.SourceMap.md)
- [ SourceProgram](crates/src_lang/compiler/text/struct.SourceProgram.md) - [&#xea91; SourceProgram](crates/src_lang/compiler/text/struct.SourceProgram.md)
- [ Span](crates/src_lang/compiler/text/struct.Span.md) - [&#xea91; Span](crates/src_lang/compiler/text/struct.Span.md)
- [ SpanOverlap](crates/src_lang/compiler/text/struct.SpanOverlap.md) - [&#xea91; SpanOverlap](crates/src_lang/compiler/text/struct.SpanOverlap.md)
- [ Spanned](crates/src_lang/compiler/text/struct.Spanned.md) - [&#xea91; Spanned](crates/src_lang/compiler/text/struct.Spanned.md)
- [ __PositionData](crates/src_lang/compiler/text/struct.__PositionData.md) - [&#xea91; __PositionData](crates/src_lang/compiler/text/struct.__PositionData.md)
- [ __SourceMapConfig](crates/src_lang/compiler/text/struct.__SourceMapConfig.md) - [&#xea91; __SourceMapConfig](crates/src_lang/compiler/text/struct.__SourceMapConfig.md)
- [ __SpanData](crates/src_lang/compiler/text/struct.__SpanData.md) - [&#xea91; __SpanData](crates/src_lang/compiler/text/struct.__SpanData.md)
- [ __SpannedData](crates/src_lang/compiler/text/struct.__SpannedData.md) - [&#xea91; __SpannedData](crates/src_lang/compiler/text/struct.__SpannedData.md)
- [ calculate_line_lengths](crates/src_lang/compiler/text/struct.calculate_line_lengths.md) - [&#xea91; calculate_line_lengths](crates/src_lang/compiler/text/struct.calculate_line_lengths.md)
- [ to_spans](crates/src_lang/compiler/text/struct.to_spans.md) - [&#xea91; to_spans](crates/src_lang/compiler/text/struct.to_spans.md)
- [ lexer](crates/src_lang/lexer/index.md) - [&#xea8b; lexer](crates/src_lang/lexer/index.md)
- [ LexicalError](crates/src_lang/lexer/enum.LexicalError.md) - [&#xea95; LexicalError](crates/src_lang/lexer/enum.LexicalError.md)
- [ Token](crates/src_lang/lexer/enum.Token.md) - [&#xea95; Token](crates/src_lang/lexer/enum.Token.md)
- [ Variable](crates/src_lang/lexer/enum.Variable.md) - [&#xea95; Variable](crates/src_lang/lexer/enum.Variable.md)
- [ Word](crates/src_lang/lexer/enum.Word.md) - [&#xea95; Word](crates/src_lang/lexer/enum.Word.md)
- [ Lexer](crates/src_lang/lexer/struct.Lexer.md) - [&#xea91; Lexer](crates/src_lang/lexer/struct.Lexer.md)
- [ Location](crates/src_lang/lexer/struct.Location.md) - [&#xea91; Location](crates/src_lang/lexer/struct.Location.md)
- [ Position](crates/src_lang/lexer/struct.Position.md) - [&#xea91; Position](crates/src_lang/lexer/struct.Position.md)
- [ Spanned](crates/src_lang/lexer/struct.Spanned.md) - [&#xea91; Spanned](crates/src_lang/lexer/struct.Spanned.md)
- [ TripleIterator](crates/src_lang/lexer/struct.TripleIterator.md) - [&#xea91; TripleIterator](crates/src_lang/lexer/struct.TripleIterator.md)
- [ span](crates/src_lang/macro.span.md) - [&#xeb66; span](crates/src_lang/macro.span.md)
- [ ops](crates/src_lang/ops/index.md) - [&#xea8b; ops](crates/src_lang/ops/index.md)
- [ traversal](crates/src_lang/ops/traversal/index.md) - [&#xea8b; traversal](crates/src_lang/ops/traversal/index.md)
- [ Control](crates/src_lang/ops/traversal/enum.Control.md) - [&#xea95; Control](crates/src_lang/ops/traversal/enum.Control.md)
- [ parser](crates/src_lang/parser/index.md) - [&#xea8b; parser](crates/src_lang/parser/index.md)
- [ ast](crates/src_lang/parser/ast/index.md) - [&#xea8b; ast](crates/src_lang/parser/ast/index.md)
- [𝑐 ANON_FN_NAME](crates/src_lang/parser/ast/constant.ANON_FN_NAME.md) - [&#xeb5d; ANON_FN_NAME](crates/src_lang/parser/ast/constant.ANON_FN_NAME.md)
- [ FnArg](crates/src_lang/parser/ast/enum.FnArg.md) - [&#xea95; FnArg](crates/src_lang/parser/ast/enum.FnArg.md)
- [ Keyword](crates/src_lang/parser/ast/enum.Keyword.md) - [&#xea95; Keyword](crates/src_lang/parser/ast/enum.Keyword.md)
- [ Literal](crates/src_lang/parser/ast/enum.Literal.md) - [&#xea95; Literal](crates/src_lang/parser/ast/enum.Literal.md)
- [ Node](crates/src_lang/parser/ast/enum.Node.md) - [&#xea95; Node](crates/src_lang/parser/ast/enum.Node.md)
- [ Operator](crates/src_lang/parser/ast/enum.Operator.md) - [&#xea95; Operator](crates/src_lang/parser/ast/enum.Operator.md)
- [ Value](crates/src_lang/parser/ast/enum.Value.md) - [&#xea95; Value](crates/src_lang/parser/ast/enum.Value.md)
- [ Visibility](crates/src_lang/parser/ast/enum.Visibility.md) - [&#xea95; Visibility](crates/src_lang/parser/ast/enum.Visibility.md)
- [ Whitespace](crates/src_lang/parser/ast/enum.Whitespace.md) - [&#xea95; Whitespace](crates/src_lang/parser/ast/enum.Whitespace.md)
- [ Array](crates/src_lang/parser/ast/struct.Array.md) - [&#xea91; Array](crates/src_lang/parser/ast/struct.Array.md)
- [ BinaryOperation](crates/src_lang/parser/ast/struct.BinaryOperation.md) - [&#xea91; BinaryOperation](crates/src_lang/parser/ast/struct.BinaryOperation.md)
- [ Binding](crates/src_lang/parser/ast/struct.Binding.md) - [&#xea91; Binding](crates/src_lang/parser/ast/struct.Binding.md)
- [ Block](crates/src_lang/parser/ast/struct.Block.md) - [&#xea91; Block](crates/src_lang/parser/ast/struct.Block.md)
- [ BranchDef](crates/src_lang/parser/ast/struct.BranchDef.md) - [&#xea91; BranchDef](crates/src_lang/parser/ast/struct.BranchDef.md)
- [ EffectDef](crates/src_lang/parser/ast/struct.EffectDef.md) - [&#xea91; EffectDef](crates/src_lang/parser/ast/struct.EffectDef.md)
- [ FieldAccess](crates/src_lang/parser/ast/struct.FieldAccess.md) - [&#xea91; FieldAccess](crates/src_lang/parser/ast/struct.FieldAccess.md)
- [ FieldDef](crates/src_lang/parser/ast/struct.FieldDef.md) - [&#xea91; FieldDef](crates/src_lang/parser/ast/struct.FieldDef.md)
- [ FnCall](crates/src_lang/parser/ast/struct.FnCall.md) - [&#xea91; FnCall](crates/src_lang/parser/ast/struct.FnCall.md)
- [ FnDef](crates/src_lang/parser/ast/struct.FnDef.md) - [&#xea91; FnDef](crates/src_lang/parser/ast/struct.FnDef.md)
- [ FnIdent](crates/src_lang/parser/ast/struct.FnIdent.md) - [&#xea91; FnIdent](crates/src_lang/parser/ast/struct.FnIdent.md)
- [ Ident](crates/src_lang/parser/ast/struct.Ident.md) - [&#xea91; Ident](crates/src_lang/parser/ast/struct.Ident.md)
- [ ImplDef](crates/src_lang/parser/ast/struct.ImplDef.md) - [&#xea91; ImplDef](crates/src_lang/parser/ast/struct.ImplDef.md)
- [ KeywordAndVisibility](crates/src_lang/parser/ast/struct.KeywordAndVisibility.md) - [&#xea91; KeywordAndVisibility](crates/src_lang/parser/ast/struct.KeywordAndVisibility.md)
- [ Module](crates/src_lang/parser/ast/struct.Module.md) - [&#xea91; Module](crates/src_lang/parser/ast/struct.Module.md)
- [ Prototype](crates/src_lang/parser/ast/struct.Prototype.md) - [&#xea91; Prototype](crates/src_lang/parser/ast/struct.Prototype.md)
- [ StringLit](crates/src_lang/parser/ast/struct.StringLit.md) - [&#xea91; StringLit](crates/src_lang/parser/ast/struct.StringLit.md)
- [ StructDef](crates/src_lang/parser/ast/struct.StructDef.md) - [&#xea91; StructDef](crates/src_lang/parser/ast/struct.StructDef.md)
- [ Tuple](crates/src_lang/parser/ast/struct.Tuple.md) - [&#xea91; Tuple](crates/src_lang/parser/ast/struct.Tuple.md)
- [ UseDef](crates/src_lang/parser/ast/struct.UseDef.md) - [&#xea91; UseDef](crates/src_lang/parser/ast/struct.UseDef.md)
- [ span](crates/src_lang/parser/span/index.md) - [&#xea8b; span](crates/src_lang/parser/span/index.md)
- [ ByteOrLineColOrCoord](crates/src_lang/parser/span/enum.ByteOrLineColOrCoord.md) - [&#xea95; ByteOrLineColOrCoord](crates/src_lang/parser/span/enum.ByteOrLineColOrCoord.md)
- [ ByteOrLineColOrCoordInterned](crates/src_lang/parser/span/struct.ByteOrLineColOrCoordInterned.md) - [&#xea91; ByteOrLineColOrCoordInterned](crates/src_lang/parser/span/struct.ByteOrLineColOrCoordInterned.md)
- [ SourceMap](crates/src_lang/parser/span/struct.SourceMap.md) - [&#xea91; SourceMap](crates/src_lang/parser/span/struct.SourceMap.md)
- [ Spanned](crates/src_lang/parser/span/struct.Spanned.md) - [&#xea91; Spanned](crates/src_lang/parser/span/struct.Spanned.md)
- [ __SourceMapConfig](crates/src_lang/parser/span/struct.__SourceMapConfig.md) - [&#xea91; __SourceMapConfig](crates/src_lang/parser/span/struct.__SourceMapConfig.md)
- [ HasChildSpans](crates/src_lang/parser/span/trait.HasChildSpans.md) - [&#xeb61; HasChildSpans](crates/src_lang/parser/span/trait.HasChildSpans.md)
- [ Spanning](crates/src_lang/parser/span/trait.Spanning.md) - [&#xeb61; Spanning](crates/src_lang/parser/span/trait.Spanning.md)
- [ src](crates/src_lang/parser/src/index.md) - [&#xea8b; src](crates/src_lang/parser/src/index.md)
- [ SourceParser](crates/src_lang/parser/src/struct.SourceParser.md) - [&#xea91; SourceParser](crates/src_lang/parser/src/struct.SourceParser.md)
- [ __ToTriple](crates/src_lang/parser/src/trait.__ToTriple.md) - [&#xeb61; __ToTriple](crates/src_lang/parser/src/trait.__ToTriple.md)
- [ Jar](crates/src_lang/struct.Jar.md) - [&#xea91; Jar](crates/src_lang/struct.Jar.md)
- [ Db](crates/src_lang/trait.Db.md) - [&#xeb61; Db](crates/src_lang/trait.Db.md)

421
ok.css
View file

@ -16,6 +16,7 @@
*/ */
/* cyrillic-ext */ /* cyrillic-ext */
@font-face { @font-face {
font-family: "IBM Plex Mono";
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
@ -26,6 +27,7 @@
} }
/* cyrillic */ /* cyrillic */
@font-face { @font-face {
font-family: "IBM Plex Mono";
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
@ -35,6 +37,7 @@
} }
/* greek */ /* greek */
@font-face { @font-face {
font-family: "IBM Plex Mono";
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
@ -45,6 +48,7 @@
} }
/* latin-ext */ /* latin-ext */
@font-face { @font-face {
font-family: "IBM Plex Mono";
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
@ -55,6 +59,7 @@
} }
/* latin */ /* latin */
@font-face { @font-face {
font-family: "IBM Plex Mono";
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
@ -65,6 +70,18 @@
U+2193, U+2212, U+2215, U+FEFF, U+FFFD; U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
} }
@font-face {
font-family: "codicon";
font-display: inline;
font-size: 5em !important;
color: orange;
src: url("https://microsoft.github.io/vscode-codicons/dist/codicon.ttf?30960ab01c247f8c3a401322f35802e9") format("truetype");
unicode-range: U+EA60-EA7F, U+EA80-EA9F, U+EAA0-EABF, U+EAC0-EADF,
U+EAE0-EAFF, U+EB00-EB1F, U+EB20-EB3F, U+EB40-EB5F,
U+EB60-EB7F, U+EB80-EB9F, U+EBA0-EBBF, U+EBC0-EBDF,
U+EBE0-EBFF, U+EC00-EC1F, U+EC20-EC33, U+F101;
}
*, *,
::after, ::after,
::before { ::before {
@ -94,6 +111,9 @@ section {
} }
body { body {
margin: 0; margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
@ -354,6 +374,7 @@ kbd,
pre, pre,
samp { samp {
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono";
font-family: "IBM Plex Mono";
} }
html { html {
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABFklEQVRYR9WXURLDIAhE6/0PbSdOtUpcd1Gnpv1KGpTHBpCE1/cXq+vrMph7dGvXZTtpfW10DCA5jrH1H0Jhs5E0hnZdCR+vb5S8Nn8mQCeS9BdSalYJqMBjAGzq59xAESN7VFVUgV8AZB/dZBR7QTFDCqGquvUBVVoEtgIwpQRzmANSFHgWQKExHdIrPeuMvQNDarXe6nC/AutgV3JW+6bgqQLeV8FekRtgV+ToDKEKnACYKsfZjjkam7a0ZpYTytwmgainpC3HvwBocgKOxqRjehoR9DFKNFYtOwCGYCszobeCbl26N6yyQ6g8X/Wex/rBPsNEV6qAMaJPMynIHQCoSqS9JSMmwef51LflTgCRszU7DvAGiV6mHWfsaVUAAAAASUVORK5CYII=), cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABFklEQVRYR9WXURLDIAhE6/0PbSdOtUpcd1Gnpv1KGpTHBpCE1/cXq+vrMph7dGvXZTtpfW10DCA5jrH1H0Jhs5E0hnZdCR+vb5S8Nn8mQCeS9BdSalYJqMBjAGzq59xAESN7VFVUgV8AZB/dZBR7QTFDCqGquvUBVVoEtgIwpQRzmANSFHgWQKExHdIrPeuMvQNDarXe6nC/AutgV3JW+6bgqQLeV8FekRtgV+ToDKEKnACYKsfZjjkam7a0ZpYTytwmgainpC3HvwBocgKOxqRjehoR9DFKNFYtOwCGYCszobeCbl26N6yyQ6g8X/Wex/rBPsNEV6qAMaJPMynIHQCoSqS9JSMmwef51LflTgCRszU7DvAGiV6mHWfsaVUAAAAASUVORK5CYII=),
@ -370,6 +391,7 @@ label {
} }
a, a,
button { button {
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC) cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
14 0, 14 0,
pointer; pointer;
@ -411,6 +433,7 @@ input[type="radio"] {
border-width: 4px; border-width: 4px;
} }
.nes-pointer { .nes-pointer {
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC) cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
14 0, 14 0,
pointer; pointer;
@ -466,6 +489,7 @@ input[type="radio"] {
background-color: #212529; background-color: #212529;
left: 0; left: 0;
box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0 0 #212529, -0.5em 0 #212529; box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0 0 #212529, -0.5em 0 #212529;
box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0 0 #212529, -0.5em 0 #212529;
} }
.nes-badge.is-splited span.is-dark:last-child { .nes-badge.is-splited span.is-dark:last-child {
position: absolute; position: absolute;
@ -476,6 +500,7 @@ input[type="radio"] {
background-color: #212529; background-color: #212529;
right: 0; right: 0;
box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0.5em 0 #212529, 0 0 #212529; box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0.5em 0 #212529, 0 0 #212529;
box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0.5em 0 #212529, 0 0 #212529;
} }
.nes-badge.is-icon { .nes-badge.is-icon {
width: 5.25em; width: 5.25em;
@ -503,6 +528,7 @@ input[type="radio"] {
color: #fff; color: #fff;
text-align: center; text-align: center;
background-color: #212529; background-color: #212529;
box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0.5em 0 #212529,
box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0.5em 0 #212529, box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0.5em 0 #212529,
-0.5em 0 #212529; -0.5em 0 #212529;
} }
@ -513,6 +539,7 @@ input[type="radio"] {
color: #fff; color: #fff;
text-align: center; text-align: center;
background-color: #212529; background-color: #212529;
box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0.5em 0 #212529,
box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0.5em 0 #212529, box-shadow: 0 0.5em #212529, 0 -0.5em #212529, 0.5em 0 #212529,
-0.5em 0 #212529; -0.5em 0 #212529;
} }
@ -525,6 +552,7 @@ input[type="radio"] {
background-color: #209cee; background-color: #209cee;
left: 0; left: 0;
box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0 0 #209cee, -0.5em 0 #209cee; box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0 0 #209cee, -0.5em 0 #209cee;
box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0 0 #209cee, -0.5em 0 #209cee;
} }
.nes-badge.is-splited span.is-primary:last-child { .nes-badge.is-splited span.is-primary:last-child {
position: absolute; position: absolute;
@ -535,6 +563,7 @@ input[type="radio"] {
background-color: #209cee; background-color: #209cee;
right: 0; right: 0;
box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee, 0 0 #209cee; box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee, 0 0 #209cee;
box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee, 0 0 #209cee;
} }
.nes-badge.is-icon { .nes-badge.is-icon {
width: 5.25em; width: 5.25em;
@ -562,6 +591,7 @@ input[type="radio"] {
color: #fff; color: #fff;
text-align: center; text-align: center;
background-color: #209cee; background-color: #209cee;
box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee,
box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee, box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee,
-0.5em 0 #209cee; -0.5em 0 #209cee;
} }
@ -572,6 +602,7 @@ input[type="radio"] {
color: #fff; color: #fff;
text-align: center; text-align: center;
background-color: #209cee; background-color: #209cee;
box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee,
box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee, box-shadow: 0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee,
-0.5em 0 #209cee; -0.5em 0 #209cee;
} }
@ -584,6 +615,7 @@ input[type="radio"] {
background-color: #92cc41; background-color: #92cc41;
left: 0; left: 0;
box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0 0 #92cc41, -0.5em 0 #92cc41; box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0 0 #92cc41, -0.5em 0 #92cc41;
box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0 0 #92cc41, -0.5em 0 #92cc41;
} }
.nes-badge.is-splited span.is-success:last-child { .nes-badge.is-splited span.is-success:last-child {
position: absolute; position: absolute;
@ -594,6 +626,7 @@ input[type="radio"] {
background-color: #92cc41; background-color: #92cc41;
right: 0; right: 0;
box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0.5em 0 #92cc41, 0 0 #92cc41; box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0.5em 0 #92cc41, 0 0 #92cc41;
box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0.5em 0 #92cc41, 0 0 #92cc41;
} }
.nes-badge.is-icon { .nes-badge.is-icon {
width: 5.25em; width: 5.25em;
@ -621,6 +654,7 @@ input[type="radio"] {
color: #fff; color: #fff;
text-align: center; text-align: center;
background-color: #92cc41; background-color: #92cc41;
box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0.5em 0 #92cc41,
box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0.5em 0 #92cc41, box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0.5em 0 #92cc41,
-0.5em 0 #92cc41; -0.5em 0 #92cc41;
} }
@ -631,6 +665,7 @@ input[type="radio"] {
color: #fff; color: #fff;
text-align: center; text-align: center;
background-color: #92cc41; background-color: #92cc41;
box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0.5em 0 #92cc41,
box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0.5em 0 #92cc41, box-shadow: 0 0.5em #92cc41, 0 -0.5em #92cc41, 0.5em 0 #92cc41,
-0.5em 0 #92cc41; -0.5em 0 #92cc41;
} }
@ -643,6 +678,7 @@ input[type="radio"] {
background-color: #f7d51d; background-color: #f7d51d;
left: 0; left: 0;
box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0 0 #f7d51d, -0.5em 0 #f7d51d; box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0 0 #f7d51d, -0.5em 0 #f7d51d;
box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0 0 #f7d51d, -0.5em 0 #f7d51d;
} }
.nes-badge.is-splited span.is-warning:last-child { .nes-badge.is-splited span.is-warning:last-child {
position: absolute; position: absolute;
@ -653,6 +689,7 @@ input[type="radio"] {
background-color: #f7d51d; background-color: #f7d51d;
right: 0; right: 0;
box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0.5em 0 #f7d51d, 0 0 #f7d51d; box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0.5em 0 #f7d51d, 0 0 #f7d51d;
box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0.5em 0 #f7d51d, 0 0 #f7d51d;
} }
.nes-badge.is-icon { .nes-badge.is-icon {
width: 5.25em; width: 5.25em;
@ -680,6 +717,7 @@ input[type="radio"] {
color: #212529; color: #212529;
text-align: center; text-align: center;
background-color: #f7d51d; background-color: #f7d51d;
box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0.5em 0 #f7d51d,
box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0.5em 0 #f7d51d, box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0.5em 0 #f7d51d,
-0.5em 0 #f7d51d; -0.5em 0 #f7d51d;
} }
@ -690,6 +728,7 @@ input[type="radio"] {
color: #212529; color: #212529;
text-align: center; text-align: center;
background-color: #f7d51d; background-color: #f7d51d;
box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0.5em 0 #f7d51d,
box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0.5em 0 #f7d51d, box-shadow: 0 0.5em #f7d51d, 0 -0.5em #f7d51d, 0.5em 0 #f7d51d,
-0.5em 0 #f7d51d; -0.5em 0 #f7d51d;
} }
@ -702,6 +741,7 @@ input[type="radio"] {
background-color: #e76e55; background-color: #e76e55;
left: 0; left: 0;
box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0 0 #e76e55, -0.5em 0 #e76e55; box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0 0 #e76e55, -0.5em 0 #e76e55;
box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0 0 #e76e55, -0.5em 0 #e76e55;
} }
.nes-badge.is-splited span.is-error:last-child { .nes-badge.is-splited span.is-error:last-child {
position: absolute; position: absolute;
@ -712,6 +752,7 @@ input[type="radio"] {
background-color: #e76e55; background-color: #e76e55;
right: 0; right: 0;
box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0.5em 0 #e76e55, 0 0 #e76e55; box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0.5em 0 #e76e55, 0 0 #e76e55;
box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0.5em 0 #e76e55, 0 0 #e76e55;
} }
.nes-badge.is-icon { .nes-badge.is-icon {
width: 5.25em; width: 5.25em;
@ -739,6 +780,7 @@ input[type="radio"] {
color: #fff; color: #fff;
text-align: center; text-align: center;
background-color: #e76e55; background-color: #e76e55;
box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0.5em 0 #e76e55,
box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0.5em 0 #e76e55, box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0.5em 0 #e76e55,
-0.5em 0 #e76e55; -0.5em 0 #e76e55;
} }
@ -749,6 +791,7 @@ input[type="radio"] {
color: #fff; color: #fff;
text-align: center; text-align: center;
background-color: #e76e55; background-color: #e76e55;
box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0.5em 0 #e76e55,
box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0.5em 0 #e76e55, box-shadow: 0 0.5em #e76e55, 0 -0.5em #e76e55, 0.5em 0 #e76e55,
-0.5em 0 #e76e55; -0.5em 0 #e76e55;
} }
@ -818,6 +861,7 @@ input[type="radio"] {
box-shadow: -5px 10px 0 6px #212529; box-shadow: -5px 10px 0 6px #212529;
} }
.nes-balloon.is-dark.from-left::after { .nes-balloon.is-dark.from-left::after {
box-shadow: -4px 0, 4px 0, -4px 4px #212529, 0 4px, -8px 4px, -4px 8px,
box-shadow: -4px 0, 4px 0, -4px 4px #212529, 0 4px, -8px 4px, -4px 8px, box-shadow: -4px 0, 4px 0, -4px 4px #212529, 0 4px, -8px 4px, -4px 8px,
-8px 8px; -8px 8px;
} }
@ -826,6 +870,7 @@ input[type="radio"] {
} }
.nes-balloon.is-dark.from-right::after { .nes-balloon.is-dark.from-right::after {
box-shadow: -4px 0, 4px 0, 4px 4px #212529, 0 4px, 8px 4px, 4px 8px, 8px 8px; box-shadow: -4px 0, 4px 0, 4px 4px #212529, 0 4px, 8px 4px, 4px 8px, 8px 8px;
box-shadow: -4px 0, 4px 0, 4px 4px #212529, 0 4px, 8px 4px, 4px 8px, 8px 8px;
} }
.nes-balloon.from-left::after, .nes-balloon.from-left::after,
.nes-balloon.from-left::before { .nes-balloon.from-left::before {
@ -847,6 +892,7 @@ input[type="radio"] {
color: #212529; color: #212529;
background-color: #fff; background-color: #fff;
box-shadow: -4px 0, 4px 0, -4px 4px #fff, 0 4px, -8px 4px, -4px 8px, -8px 8px; box-shadow: -4px 0, 4px 0, -4px 4px #fff, 0 4px, -8px 4px, -4px 8px, -8px 8px;
box-shadow: -4px 0, 4px 0, -4px 4px #fff, 0 4px, -8px 4px, -4px 8px, -8px 8px;
} }
.nes-balloon.from-right::after, .nes-balloon.from-right::after,
.nes-balloon.from-right::before { .nes-balloon.from-right::before {
@ -867,6 +913,7 @@ input[type="radio"] {
margin-left: 8px; margin-left: 8px;
background-color: #fff; background-color: #fff;
box-shadow: -4px 0, 4px 0, 4px 4px #fff, 0 4px, 8px 4px, 4px 8px, 8px 8px; box-shadow: -4px 0, 4px 0, 4px 4px #fff, 0 4px, 8px 4px, 4px 8px, 8px 8px;
box-shadow: -4px 0, 4px 0, 4px 4px #fff, 0 4px, 8px 4px, 4px 8px, 8px 8px;
} }
.nes-btn { .nes-btn {
border-image-slice: 2; border-image-slice: 2;
@ -880,6 +927,7 @@ input[type="radio"] {
margin: 4px; margin: 4px;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC) cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
14 0, 14 0,
pointer; pointer;
@ -1237,6 +1285,10 @@ input[type="radio"] {
6px 6px, 8px 6px, 10px 6px, 12px 6px, 14px 6px, 4px 8px, 6px 8px, 8px 8px, 6px 6px, 8px 6px, 10px 6px, 12px 6px, 14px 6px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 14px 8px, 6px 10px, 8px 10px, 10px 10px, 12px 10px, 10px 8px, 12px 8px, 14px 8px, 6px 10px, 8px 10px, 10px 10px, 12px 10px,
8px 12px, 10px 12px; 8px 12px, 10px 12px;
box-shadow: 8px 2px, 10px 2px, 6px 4px, 8px 4px, 10px 4px, 12px 4px, 4px 6px,
6px 6px, 8px 6px, 10px 6px, 12px 6px, 14px 6px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 14px 8px, 6px 10px, 8px 10px, 10px 10px, 12px 10px,
8px 12px, 10px 12px;
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-list.is-disc li::before { .nes-list.is-disc li::before {
@ -1247,6 +1299,13 @@ input[type="radio"] {
10px 8px 0 0.02em, 12px 8px 0 0.02em, 14px 8px 0 0.02em, 6px 10px 0 0.02em, 10px 8px 0 0.02em, 12px 8px 0 0.02em, 14px 8px 0 0.02em, 6px 10px 0 0.02em,
8px 10px 0 0.02em, 10px 10px 0 0.02em, 12px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em, 12px 10px 0 0.02em,
8px 12px 0 0.02em, 10px 12px 0 0.02em; 8px 12px 0 0.02em, 10px 12px 0 0.02em;
box-shadow: 8px 2px 0 0.02em, 10px 2px 0 0.02em, 6px 4px 0 0.02em,
8px 4px 0 0.02em, 10px 4px 0 0.02em, 12px 4px 0 0.02em, 4px 6px 0 0.02em,
6px 6px 0 0.02em, 8px 6px 0 0.02em, 10px 6px 0 0.02em, 12px 6px 0 0.02em,
14px 6px 0 0.02em, 4px 8px 0 0.02em, 6px 8px 0 0.02em, 8px 8px 0 0.02em,
10px 8px 0 0.02em, 12px 8px 0 0.02em, 14px 8px 0 0.02em, 6px 10px 0 0.02em,
8px 10px 0 0.02em, 10px 10px 0 0.02em, 12px 10px 0 0.02em,
8px 12px 0 0.02em, 10px 12px 0 0.02em;
} }
} }
.nes-list.is-circle li::before { .nes-list.is-circle li::before {
@ -1260,6 +1319,9 @@ input[type="radio"] {
box-shadow: 8px 2px, 10px 2px, 6px 4px, 8px 4px, 10px 4px, 12px 4px, 4px 6px, box-shadow: 8px 2px, 10px 2px, 6px 4px, 8px 4px, 10px 4px, 12px 4px, 4px 6px,
6px 6px, 12px 6px, 14px 6px, 4px 8px, 6px 8px, 12px 8px, 14px 8px, 6px 10px, 6px 6px, 12px 6px, 14px 6px, 4px 8px, 6px 8px, 12px 8px, 14px 8px, 6px 10px,
8px 10px, 10px 10px, 12px 10px, 8px 12px, 10px 12px; 8px 10px, 10px 10px, 12px 10px, 8px 12px, 10px 12px;
box-shadow: 8px 2px, 10px 2px, 6px 4px, 8px 4px, 10px 4px, 12px 4px, 4px 6px,
6px 6px, 12px 6px, 14px 6px, 4px 8px, 6px 8px, 12px 8px, 14px 8px, 6px 10px,
8px 10px, 10px 10px, 12px 10px, 8px 12px, 10px 12px;
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-list.is-circle li::before { .nes-list.is-circle li::before {
@ -1269,6 +1331,12 @@ input[type="radio"] {
6px 8px 0 0.02em, 12px 8px 0 0.02em, 14px 8px 0 0.02em, 6px 10px 0 0.02em, 6px 8px 0 0.02em, 12px 8px 0 0.02em, 14px 8px 0 0.02em, 6px 10px 0 0.02em,
8px 10px 0 0.02em, 10px 10px 0 0.02em, 12px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em, 12px 10px 0 0.02em,
8px 12px 0 0.02em, 10px 12px 0 0.02em; 8px 12px 0 0.02em, 10px 12px 0 0.02em;
box-shadow: 8px 2px 0 0.02em, 10px 2px 0 0.02em, 6px 4px 0 0.02em,
8px 4px 0 0.02em, 10px 4px 0 0.02em, 12px 4px 0 0.02em, 4px 6px 0 0.02em,
6px 6px 0 0.02em, 12px 6px 0 0.02em, 14px 6px 0 0.02em, 4px 8px 0 0.02em,
6px 8px 0 0.02em, 12px 8px 0 0.02em, 14px 8px 0 0.02em, 6px 10px 0 0.02em,
8px 10px 0 0.02em, 10px 10px 0 0.02em, 12px 10px 0 0.02em,
8px 12px 0 0.02em, 10px 12px 0 0.02em;
} }
} }
.nes-progress { .nes-progress {
@ -1397,10 +1465,12 @@ input[type="radio"] {
#fff #fff
); );
background-position: 0 0, 10px 10px; background-position: 0 0, 10px 10px;
background-position: 0 0, 10px 10px;
background-size: 20px 20px; background-size: 20px 20px;
} }
.nes-progress.is-pattern::-moz-progress-bar { .nes-progress.is-pattern::-moz-progress-bar {
background-color: #212529; background-color: #212529;
background-image: -moz-linear-gradient(
background-image: -moz-linear-gradient( background-image: -moz-linear-gradient(
45deg, 45deg,
#fff 25%, #fff 25%,
@ -1412,6 +1482,7 @@ input[type="radio"] {
-moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff
75%, #fff); 75%, #fff);
background-position: 0 0, 10px 10px; background-position: 0 0, 10px 10px;
background-position: 0 0, 10px 10px;
background-size: 20px 20px; background-size: 20px 20px;
} }
.nes-progress.is-pattern::-ms-fill { .nes-progress.is-pattern::-ms-fill {
@ -1433,6 +1504,7 @@ input[type="radio"] {
#fff #fff
); );
background-position: 0 0, 10px 10px; background-position: 0 0, 10px 10px;
background-position: 0 0, 10px 10px;
background-size: 20px 20px; background-size: 20px 20px;
border: none; border: none;
} }
@ -1678,6 +1750,7 @@ input[type="radio"] {
} }
.nes-radio + span { .nes-radio + span {
position: relative; position: relative;
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC) cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
14 0, 14 0,
pointer; pointer;
@ -1694,6 +1767,10 @@ input[type="radio"] {
4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px, 4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px, 10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px,
2px 12px, 4px 12px, 6px 12px, 8px 12px, 2px 14px, 4px 14px; 2px 12px, 4px 12px, 6px 12px, 8px 12px, 2px 14px, 4px 14px;
box-shadow: 2px 2px, 4px 2px, 2px 4px, 4px 4px, 6px 4px, 8px 4px, 2px 6px,
4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px,
2px 12px, 4px 12px, 6px 12px, 8px 12px, 2px 14px, 4px 14px;
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-radio:checked + span::before { .nes-radio:checked + span::before {
@ -1705,6 +1782,14 @@ input[type="radio"] {
6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em, 6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em,
2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em, 2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em,
2px 14px 0 0.02em, 4px 14px 0 0.02em; 2px 14px 0 0.02em, 4px 14px 0 0.02em;
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 2px 4px 0 0.02em,
4px 4px 0 0.02em, 6px 4px 0 0.02em, 8px 4px 0 0.02em, 2px 6px 0 0.02em,
4px 6px 0 0.02em, 6px 6px 0 0.02em, 8px 6px 0 0.02em, 10px 6px 0 0.02em,
2px 8px 0 0.02em, 4px 8px 0 0.02em, 6px 8px 0 0.02em, 8px 8px 0 0.02em,
10px 8px 0 0.02em, 12px 8px 0 0.02em, 2px 10px 0 0.02em, 4px 10px 0 0.02em,
6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em,
2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em,
2px 14px 0 0.02em, 4px 14px 0 0.02em;
} }
} }
.nes-radio:checked:focus + span::before, .nes-radio:checked:focus + span::before,
@ -1719,6 +1804,10 @@ input[type="radio"] {
4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px, 4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px, 10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px,
2px 12px, 4px 12px, 6px 12px, 8px 12px, 2px 14px, 4px 14px; 2px 12px, 4px 12px, 6px 12px, 8px 12px, 2px 14px, 4px 14px;
box-shadow: 2px 2px, 4px 2px, 2px 4px, 4px 4px, 6px 4px, 8px 4px, 2px 6px,
4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px,
2px 12px, 4px 12px, 6px 12px, 8px 12px, 2px 14px, 4px 14px;
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-radio:checked:focus + span::before { .nes-radio:checked:focus + span::before {
@ -1730,6 +1819,14 @@ input[type="radio"] {
6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em, 6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em,
2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em, 2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em,
2px 14px 0 0.02em, 4px 14px 0 0.02em; 2px 14px 0 0.02em, 4px 14px 0 0.02em;
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 2px 4px 0 0.02em,
4px 4px 0 0.02em, 6px 4px 0 0.02em, 8px 4px 0 0.02em, 2px 6px 0 0.02em,
4px 6px 0 0.02em, 6px 6px 0 0.02em, 8px 6px 0 0.02em, 10px 6px 0 0.02em,
2px 8px 0 0.02em, 4px 8px 0 0.02em, 6px 8px 0 0.02em, 8px 8px 0 0.02em,
10px 8px 0 0.02em, 12px 8px 0 0.02em, 2px 10px 0 0.02em, 4px 10px 0 0.02em,
6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em,
2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em,
2px 14px 0 0.02em, 4px 14px 0 0.02em;
} }
} }
.nes-radio.is-dark + span { .nes-radio.is-dark + span {
@ -1742,6 +1839,10 @@ input[type="radio"] {
width: 2px; width: 2px;
height: 2px; height: 2px;
color: #adafbc; color: #adafbc;
box-shadow: 2px 2px, 4px 2px, 2px 4px, 4px 4px, 6px 4px, 8px 4px, 2px 6px,
4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px,
2px 12px, 4px 12px, 6px 12px, 8px 12px, 2px 14px, 4px 14px;
box-shadow: 2px 2px, 4px 2px, 2px 4px, 4px 4px, 6px 4px, 8px 4px, 2px 6px, box-shadow: 2px 2px, 4px 2px, 2px 4px, 4px 4px, 6px 4px, 8px 4px, 2px 6px,
4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px, 4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px, 10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px,
@ -1758,12 +1859,24 @@ input[type="radio"] {
6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em, 6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em,
2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em, 2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em,
2px 14px 0 0.02em, 4px 14px 0 0.02em; 2px 14px 0 0.02em, 4px 14px 0 0.02em;
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 2px 4px 0 0.02em,
4px 4px 0 0.02em, 6px 4px 0 0.02em, 8px 4px 0 0.02em, 2px 6px 0 0.02em,
4px 6px 0 0.02em, 6px 6px 0 0.02em, 8px 6px 0 0.02em, 10px 6px 0 0.02em,
2px 8px 0 0.02em, 4px 8px 0 0.02em, 6px 8px 0 0.02em, 8px 8px 0 0.02em,
10px 8px 0 0.02em, 12px 8px 0 0.02em, 2px 10px 0 0.02em, 4px 10px 0 0.02em,
6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em,
2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em,
2px 14px 0 0.02em, 4px 14px 0 0.02em;
} }
} }
.nes-radio.is-dark:checked:focus + span::before { .nes-radio.is-dark:checked:focus + span::before {
width: 2px; width: 2px;
height: 2px; height: 2px;
color: #adafbc; color: #adafbc;
box-shadow: 2px 2px, 4px 2px, 2px 4px, 4px 4px, 6px 4px, 8px 4px, 2px 6px,
4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px,
2px 12px, 4px 12px, 6px 12px, 8px 12px, 2px 14px, 4px 14px;
box-shadow: 2px 2px, 4px 2px, 2px 4px, 4px 4px, 6px 4px, 8px 4px, 2px 6px, box-shadow: 2px 2px, 4px 2px, 2px 4px, 4px 4px, 6px 4px, 8px 4px, 2px 6px,
4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px, 4px 6px, 6px 6px, 8px 6px, 10px 6px, 2px 8px, 4px 8px, 6px 8px, 8px 8px,
10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px, 10px 8px, 12px 8px, 2px 10px, 4px 10px, 6px 10px, 8px 10px, 10px 10px,
@ -1780,6 +1893,14 @@ input[type="radio"] {
6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em, 6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em,
2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em, 2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em,
2px 14px 0 0.02em, 4px 14px 0 0.02em; 2px 14px 0 0.02em, 4px 14px 0 0.02em;
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 2px 4px 0 0.02em,
4px 4px 0 0.02em, 6px 4px 0 0.02em, 8px 4px 0 0.02em, 2px 6px 0 0.02em,
4px 6px 0 0.02em, 6px 6px 0 0.02em, 8px 6px 0 0.02em, 10px 6px 0 0.02em,
2px 8px 0 0.02em, 4px 8px 0 0.02em, 6px 8px 0 0.02em, 8px 8px 0 0.02em,
10px 8px 0 0.02em, 12px 8px 0 0.02em, 2px 10px 0 0.02em, 4px 10px 0 0.02em,
6px 10px 0 0.02em, 8px 10px 0 0.02em, 10px 10px 0 0.02em,
2px 12px 0 0.02em, 4px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em,
2px 14px 0 0.02em, 4px 14px 0 0.02em;
} }
} }
.nes-checkbox { .nes-checkbox {
@ -1799,6 +1920,7 @@ input[type="radio"] {
} }
.nes-checkbox + span { .nes-checkbox + span {
position: relative; position: relative;
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC) cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
14 0, 14 0,
pointer; pointer;
@ -1818,9 +1940,21 @@ input[type="radio"] {
16px 2px, 2px 4px, 16px 4px, 2px 6px, 16px 6px, 2px 8px, 16px 8px, 2px 10px, 16px 2px, 2px 4px, 16px 4px, 2px 6px, 16px 6px, 2px 8px, 16px 8px, 2px 10px,
16px 10px, 2px 12px, 16px 12px, 2px 14px, 16px 14px, 2px 16px, 4px 16px, 16px 10px, 2px 12px, 16px 12px, 2px 14px, 16px 14px, 2px 16px, 4px 16px,
6px 16px, 8px 16px, 10px 16px, 12px 16px, 14px 16px, 16px 16px; 6px 16px, 8px 16px, 10px 16px, 12px 16px, 14px 16px, 16px 16px;
box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px,
16px 2px, 2px 4px, 16px 4px, 2px 6px, 16px 6px, 2px 8px, 16px 8px, 2px 10px,
16px 10px, 2px 12px, 16px 12px, 2px 14px, 16px 14px, 2px 16px, 4px 16px,
6px 16px, 8px 16px, 10px 16px, 12px 16px, 14px 16px, 16px 16px;
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-checkbox + span::before { .nes-checkbox + span::before {
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
16px 2px 0 0.02em, 2px 4px 0 0.02em, 16px 4px 0 0.02em, 2px 6px 0 0.02em,
16px 6px 0 0.02em, 2px 8px 0 0.02em, 16px 8px 0 0.02em, 2px 10px 0 0.02em,
16px 10px 0 0.02em, 2px 12px 0 0.02em, 16px 12px 0 0.02em,
2px 14px 0 0.02em, 16px 14px 0 0.02em, 2px 16px 0 0.02em,
4px 16px 0 0.02em, 6px 16px 0 0.02em, 8px 16px 0 0.02em,
10px 16px 0 0.02em, 12px 16px 0 0.02em, 14px 16px 0 0.02em,
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em, box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em, 8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
16px 2px 0 0.02em, 2px 4px 0 0.02em, 16px 4px 0 0.02em, 2px 6px 0 0.02em, 16px 2px 0 0.02em, 2px 4px 0 0.02em, 16px 4px 0 0.02em, 2px 6px 0 0.02em,
@ -1840,9 +1974,21 @@ input[type="radio"] {
16px 2px, 2px 4px, 16px 4px, 2px 6px, 16px 6px, 2px 8px, 16px 8px, 2px 10px, 16px 2px, 2px 4px, 16px 4px, 2px 6px, 16px 6px, 2px 8px, 16px 8px, 2px 10px,
16px 10px, 2px 12px, 16px 12px, 2px 14px, 16px 14px, 2px 16px, 4px 16px, 16px 10px, 2px 12px, 16px 12px, 2px 14px, 16px 14px, 2px 16px, 4px 16px,
6px 16px, 8px 16px, 10px 16px, 12px 16px, 14px 16px, 16px 16px; 6px 16px, 8px 16px, 10px 16px, 12px 16px, 14px 16px, 16px 16px;
box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px,
16px 2px, 2px 4px, 16px 4px, 2px 6px, 16px 6px, 2px 8px, 16px 8px, 2px 10px,
16px 10px, 2px 12px, 16px 12px, 2px 14px, 16px 14px, 2px 16px, 4px 16px,
6px 16px, 8px 16px, 10px 16px, 12px 16px, 14px 16px, 16px 16px;
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-checkbox:focus + span::before { .nes-checkbox:focus + span::before {
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
16px 2px 0 0.02em, 2px 4px 0 0.02em, 16px 4px 0 0.02em, 2px 6px 0 0.02em,
16px 6px 0 0.02em, 2px 8px 0 0.02em, 16px 8px 0 0.02em, 2px 10px 0 0.02em,
16px 10px 0 0.02em, 2px 12px 0 0.02em, 16px 12px 0 0.02em,
2px 14px 0 0.02em, 16px 14px 0 0.02em, 2px 16px 0 0.02em,
4px 16px 0 0.02em, 6px 16px 0 0.02em, 8px 16px 0 0.02em,
10px 16px 0 0.02em, 12px 16px 0 0.02em, 14px 16px 0 0.02em,
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em, box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em, 8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
16px 2px 0 0.02em, 2px 4px 0 0.02em, 16px 4px 0 0.02em, 2px 6px 0 0.02em, 16px 2px 0 0.02em, 2px 4px 0 0.02em, 16px 4px 0 0.02em, 2px 6px 0 0.02em,
@ -1864,9 +2010,27 @@ input[type="radio"] {
10px 10px, 12px 10px, 16px 10px, 2px 12px, 6px 12px, 8px 12px, 10px 12px, 10px 10px, 12px 10px, 16px 10px, 2px 12px, 6px 12px, 8px 12px, 10px 12px,
16px 12px, 2px 14px, 8px 14px, 16px 14px, 2px 16px, 4px 16px, 6px 16px, 16px 12px, 2px 14px, 8px 14px, 16px 14px, 2px 16px, 4px 16px, 6px 16px,
8px 16px, 10px 16px, 12px 16px, 14px 16px, 16px 16px; 8px 16px, 10px 16px, 12px 16px, 14px 16px, 16px 16px;
box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px,
18px 2px, 20px 2px, 2px 4px, 16px 4px, 18px 4px, 20px 4px, 2px 6px, 14px 6px,
16px 6px, 2px 8px, 4px 8px, 12px 8px, 14px 8px, 2px 10px, 4px 10px, 6px 10px,
10px 10px, 12px 10px, 16px 10px, 2px 12px, 6px 12px, 8px 12px, 10px 12px,
16px 12px, 2px 14px, 8px 14px, 16px 14px, 2px 16px, 4px 16px, 6px 16px,
8px 16px, 10px 16px, 12px 16px, 14px 16px, 16px 16px;
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-checkbox:checked + span::before { .nes-checkbox:checked + span::before {
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
18px 2px 0 0.02em, 20px 2px 0 0.02em, 2px 4px 0 0.02em, 16px 4px 0 0.02em,
18px 4px 0 0.02em, 20px 4px 0 0.02em, 2px 6px 0 0.02em, 14px 6px 0 0.02em,
16px 6px 0 0.02em, 2px 8px 0 0.02em, 4px 8px 0 0.02em, 12px 8px 0 0.02em,
14px 8px 0 0.02em, 2px 10px 0 0.02em, 4px 10px 0 0.02em, 6px 10px 0 0.02em,
10px 10px 0 0.02em, 12px 10px 0 0.02em, 16px 10px 0 0.02em,
2px 12px 0 0.02em, 6px 12px 0 0.02em, 8px 12px 0 0.02em,
10px 12px 0 0.02em, 16px 12px 0 0.02em, 2px 14px 0 0.02em,
8px 14px 0 0.02em, 16px 14px 0 0.02em, 2px 16px 0 0.02em,
4px 16px 0 0.02em, 6px 16px 0 0.02em, 8px 16px 0 0.02em,
10px 16px 0 0.02em, 12px 16px 0 0.02em, 14px 16px 0 0.02em,
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em, box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em, 8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
18px 2px 0 0.02em, 20px 2px 0 0.02em, 2px 4px 0 0.02em, 16px 4px 0 0.02em, 18px 2px 0 0.02em, 20px 2px 0 0.02em, 2px 4px 0 0.02em, 16px 4px 0 0.02em,
@ -1895,9 +2059,33 @@ input[type="radio"] {
8px 12px #212529, 10px 12px #212529, 16px 12px, 2px 14px, 8px 14px #212529, 8px 12px #212529, 10px 12px #212529, 16px 12px, 2px 14px, 8px 14px #212529,
16px 14px, 2px 16px, 4px 16px, 6px 16px, 8px 16px, 10px 16px, 12px 16px, 16px 14px, 2px 16px, 4px 16px, 6px 16px, 8px 16px, 10px 16px, 12px 16px,
14px 16px, 16px 16px; 14px 16px, 16px 16px;
box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px,
18px 2px #212529, 20px 2px #212529, 2px 4px, 16px 4px #212529,
18px 4px #212529, 20px 4px #212529, 2px 6px #212529, 14px 6px #212529,
16px 6px #212529, 2px 8px #212529, 4px 8px #212529, 12px 8px #212529,
14px 8px #212529, 2px 10px, 4px 10px #212529, 6px 10px #212529,
10px 10px #212529, 12px 10px #212529, 16px 10px, 2px 12px, 6px 12px #212529,
8px 12px #212529, 10px 12px #212529, 16px 12px, 2px 14px, 8px 14px #212529,
16px 14px, 2px 16px, 4px 16px, 6px 16px, 8px 16px, 10px 16px, 12px 16px,
14px 16px, 16px 16px;
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-checkbox:checked:focus + span::before { .nes-checkbox:checked:focus + span::before {
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
18px 2px 0 0.02em #212529, 20px 2px 0 0.02em #212529, 2px 4px 0 0.02em,
16px 4px 0 0.02em #212529, 18px 4px 0 0.02em #212529,
20px 4px 0 0.02em #212529, 2px 6px 0 0.02em #212529,
14px 6px 0 0.02em #212529, 16px 6px 0 0.02em #212529,
2px 8px 0 0.02em #212529, 4px 8px 0 0.02em #212529,
12px 8px 0 0.02em #212529, 14px 8px 0 0.02em #212529, 2px 10px 0 0.02em,
4px 10px 0 0.02em #212529, 6px 10px 0 0.02em #212529,
10px 10px 0 0.02em #212529, 12px 10px 0 0.02em #212529, 16px 10px 0 0.02em,
2px 12px 0 0.02em, 6px 12px 0 0.02em #212529, 8px 12px 0 0.02em #212529,
10px 12px 0 0.02em #212529, 16px 12px 0 0.02em, 2px 14px 0 0.02em,
8px 14px 0 0.02em #212529, 16px 14px 0 0.02em, 2px 16px 0 0.02em,
4px 16px 0 0.02em, 6px 16px 0 0.02em, 8px 16px 0 0.02em,
10px 16px 0 0.02em, 12px 16px 0 0.02em, 14px 16px 0 0.02em,
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em, box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em, 8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
18px 2px 0 0.02em #212529, 20px 2px 0 0.02em #212529, 2px 4px 0 0.02em, 18px 2px 0 0.02em #212529, 20px 2px 0 0.02em #212529, 2px 4px 0 0.02em,
@ -1926,6 +2114,14 @@ input[type="radio"] {
width: 2px; width: 2px;
height: 2px; height: 2px;
color: #adafbc; color: #adafbc;
box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px,
18px 2px #fff, 20px 2px #fff, 2px 4px, 16px 4px #fff, 18px 4px #fff,
20px 4px #fff, 2px 6px #fff, 14px 6px #fff, 16px 6px #fff, 2px 8px #fff,
4px 8px #fff, 12px 8px #fff, 14px 8px #fff, 2px 10px, 4px 10px #fff,
6px 10px #fff, 10px 10px #fff, 12px 10px #fff, 16px 10px, 2px 12px,
6px 12px #fff, 8px 12px #fff, 10px 12px #fff, 16px 12px, 2px 14px,
8px 14px #fff, 16px 14px, 2px 16px, 4px 16px, 6px 16px, 8px 16px, 10px 16px,
12px 16px, 14px 16px, 16px 16px;
box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px, box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px,
18px 2px #fff, 20px 2px #fff, 2px 4px, 16px 4px #fff, 18px 4px #fff, 18px 2px #fff, 20px 2px #fff, 2px 4px, 16px 4px #fff, 18px 4px #fff,
20px 4px #fff, 2px 6px #fff, 14px 6px #fff, 16px 6px #fff, 2px 8px #fff, 20px 4px #fff, 2px 6px #fff, 14px 6px #fff, 16px 6px #fff, 2px 8px #fff,
@ -1938,6 +2134,19 @@ input[type="radio"] {
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-checkbox.is-dark:checked + span::before { .nes-checkbox.is-dark:checked + span::before {
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
18px 2px 0 0.02em #fff, 20px 2px 0 0.02em #fff, 2px 4px 0 0.02em,
16px 4px 0 0.02em #fff, 18px 4px 0 0.02em #fff, 20px 4px 0 0.02em #fff,
2px 6px 0 0.02em #fff, 14px 6px 0 0.02em #fff, 16px 6px 0 0.02em #fff,
2px 8px 0 0.02em #fff, 4px 8px 0 0.02em #fff, 12px 8px 0 0.02em #fff,
14px 8px 0 0.02em #fff, 2px 10px 0 0.02em, 4px 10px 0 0.02em #fff,
6px 10px 0 0.02em #fff, 10px 10px 0 0.02em #fff, 12px 10px 0 0.02em #fff,
16px 10px 0 0.02em, 2px 12px 0 0.02em, 6px 12px 0 0.02em #fff,
8px 12px 0 0.02em #fff, 10px 12px 0 0.02em #fff, 16px 12px 0 0.02em,
2px 14px 0 0.02em, 8px 14px 0 0.02em #fff, 16px 14px 0 0.02em,
2px 16px 0 0.02em, 4px 16px 0 0.02em, 6px 16px 0 0.02em, 8px 16px 0 0.02em,
10px 16px 0 0.02em, 12px 16px 0 0.02em, 14px 16px 0 0.02em,
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em, box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em, 8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
18px 2px 0 0.02em #fff, 20px 2px 0 0.02em #fff, 2px 4px 0 0.02em, 18px 2px 0 0.02em #fff, 20px 2px 0 0.02em #fff, 2px 4px 0 0.02em,
@ -1958,6 +2167,14 @@ input[type="radio"] {
width: 2px; width: 2px;
height: 2px; height: 2px;
color: #adafbc; color: #adafbc;
box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px,
18px 2px #fff, 20px 2px #fff, 2px 4px, 16px 4px #fff, 18px 4px #fff,
20px 4px #fff, 2px 6px #fff, 14px 6px #fff, 16px 6px #fff, 2px 8px #fff,
4px 8px #fff, 12px 8px #fff, 14px 8px #fff, 2px 10px, 4px 10px #fff,
6px 10px #fff, 10px 10px #fff, 12px 10px #fff, 16px 10px, 2px 12px,
6px 12px #fff, 8px 12px #fff, 10px 12px #fff, 16px 12px, 2px 14px,
8px 14px #fff, 16px 14px, 2px 16px, 4px 16px, 6px 16px, 8px 16px, 10px 16px,
12px 16px, 14px 16px, 16px 16px;
box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px, box-shadow: 2px 2px, 4px 2px, 6px 2px, 8px 2px, 10px 2px, 12px 2px, 14px 2px,
18px 2px #fff, 20px 2px #fff, 2px 4px, 16px 4px #fff, 18px 4px #fff, 18px 2px #fff, 20px 2px #fff, 2px 4px, 16px 4px #fff, 18px 4px #fff,
20px 4px #fff, 2px 6px #fff, 14px 6px #fff, 16px 6px #fff, 2px 8px #fff, 20px 4px #fff, 2px 6px #fff, 14px 6px #fff, 16px 6px #fff, 2px 8px #fff,
@ -1970,6 +2187,19 @@ input[type="radio"] {
} }
@supports (-moz-appearance: meterbar) { @supports (-moz-appearance: meterbar) {
.nes-checkbox.is-dark:checked:focus + span::before { .nes-checkbox.is-dark:checked:focus + span::before {
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
18px 2px 0 0.02em #fff, 20px 2px 0 0.02em #fff, 2px 4px 0 0.02em,
16px 4px 0 0.02em #fff, 18px 4px 0 0.02em #fff, 20px 4px 0 0.02em #fff,
2px 6px 0 0.02em #fff, 14px 6px 0 0.02em #fff, 16px 6px 0 0.02em #fff,
2px 8px 0 0.02em #fff, 4px 8px 0 0.02em #fff, 12px 8px 0 0.02em #fff,
14px 8px 0 0.02em #fff, 2px 10px 0 0.02em, 4px 10px 0 0.02em #fff,
6px 10px 0 0.02em #fff, 10px 10px 0 0.02em #fff, 12px 10px 0 0.02em #fff,
16px 10px 0 0.02em, 2px 12px 0 0.02em, 6px 12px 0 0.02em #fff,
8px 12px 0 0.02em #fff, 10px 12px 0 0.02em #fff, 16px 12px 0 0.02em,
2px 14px 0 0.02em, 8px 14px 0 0.02em #fff, 16px 14px 0 0.02em,
2px 16px 0 0.02em, 4px 16px 0 0.02em, 6px 16px 0 0.02em, 8px 16px 0 0.02em,
10px 16px 0 0.02em, 12px 16px 0 0.02em, 14px 16px 0 0.02em,
box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em, box-shadow: 2px 2px 0 0.02em, 4px 2px 0 0.02em, 6px 2px 0 0.02em,
8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em, 8px 2px 0 0.02em, 10px 2px 0 0.02em, 12px 2px 0 0.02em, 14px 2px 0 0.02em,
18px 2px 0 0.02em #fff, 20px 2px 0 0.02em #fff, 2px 4px 0 0.02em, 18px 2px 0 0.02em #fff, 20px 2px 0 0.02em #fff, 2px 4px 0 0.02em,
@ -1999,6 +2229,7 @@ input[type="radio"] {
border-image-outset: 2; border-image-outset: 2;
width: 100%; width: 100%;
padding: 0.5rem 2.5rem 0.5rem 1rem; padding: 0.5rem 2.5rem 0.5rem 1rem;
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC) cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC)
14 0, 14 0,
pointer; pointer;
@ -2029,6 +2260,10 @@ input[type="radio"] {
width: 3px; width: 3px;
height: 3px; height: 3px;
color: #212529; color: #212529;
box-shadow: 3px 3px, 6px 3px, 9px 3px, 12px 3px, 15px 3px, 18px 3px, 21px 3px,
3px 6px, 6px 6px, 9px 6px, 12px 6px, 15px 6px, 18px 6px, 21px 6px, 6px 9px,
9px 9px, 12px 9px, 15px 9px, 18px 9px, 6px 12px, 9px 12px, 12px 12px,
15px 12px, 18px 12px, 9px 15px, 12px 15px, 15px 15px, 12px 18px;
box-shadow: 3px 3px, 6px 3px, 9px 3px, 12px 3px, 15px 3px, 18px 3px, 21px 3px, box-shadow: 3px 3px, 6px 3px, 9px 3px, 12px 3px, 15px 3px, 18px 3px, 21px 3px,
3px 6px, 6px 6px, 9px 6px, 12px 6px, 15px 6px, 18px 6px, 21px 6px, 6px 9px, 3px 6px, 6px 6px, 9px 6px, 12px 6px, 15px 6px, 18px 6px, 21px 6px, 6px 9px,
9px 9px, 12px 9px, 15px 9px, 18px 9px, 6px 12px, 9px 12px, 12px 12px, 9px 9px, 12px 9px, 15px 9px, 18px 9px, 6px 12px, 9px 12px, 12px 12px,
@ -2049,6 +2284,14 @@ input[type="radio"] {
6px 12px 0 0.02em, 9px 12px 0 0.02em, 12px 12px 0 0.02em, 6px 12px 0 0.02em, 9px 12px 0 0.02em, 12px 12px 0 0.02em,
15px 12px 0 0.02em, 18px 12px 0 0.02em, 9px 15px 0 0.02em, 15px 12px 0 0.02em, 18px 12px 0 0.02em, 9px 15px 0 0.02em,
12px 15px 0 0.02em, 15px 15px 0 0.02em, 12px 18px 0 0.02em; 12px 15px 0 0.02em, 15px 15px 0 0.02em, 12px 18px 0 0.02em;
box-shadow: 3px 3px 0 0.02em, 6px 3px 0 0.02em, 9px 3px 0 0.02em,
12px 3px 0 0.02em, 15px 3px 0 0.02em, 18px 3px 0 0.02em, 21px 3px 0 0.02em,
3px 6px 0 0.02em, 6px 6px 0 0.02em, 9px 6px 0 0.02em, 12px 6px 0 0.02em,
15px 6px 0 0.02em, 18px 6px 0 0.02em, 21px 6px 0 0.02em, 6px 9px 0 0.02em,
9px 9px 0 0.02em, 12px 9px 0 0.02em, 15px 9px 0 0.02em, 18px 9px 0 0.02em,
6px 12px 0 0.02em, 9px 12px 0 0.02em, 12px 12px 0 0.02em,
15px 12px 0 0.02em, 18px 12px 0 0.02em, 9px 15px 0 0.02em,
12px 15px 0 0.02em, 15px 15px 0 0.02em, 12px 18px 0 0.02em;
} }
} }
.nes-select.is-success::after { .nes-select.is-success::after {
@ -2159,18 +2402,176 @@ input[type="radio"] {
font-style: italic; font-style: italic;
} }
.ibm-plex-mono-bold-italic {
font-family: "IBM Plex Mono", monospace;
font-weight: 700;
font-style: italic;
}
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
.ibm-plex-mono-thin {
font-family: "IBM Plex Mono", monospace;
font-weight: 100;
font-style: normal;
}
.ibm-plex-mono-extralight {
font-family: "IBM Plex Mono", monospace;
font-weight: 200;
font-style: normal;
}
.ibm-plex-mono-light {
font-family: "IBM Plex Mono", monospace;
font-weight: 300;
font-style: normal;
}
.ibm-plex-mono-regular {
font-family: "IBM Plex Mono", monospace;
font-weight: 400;
font-style: normal;
}
.ibm-plex-mono-medium {
font-family: "IBM Plex Mono", monospace;
font-weight: 500;
font-style: normal;
}
.ibm-plex-mono-semibold {
font-family: "IBM Plex Mono", monospace;
font-weight: 600;
font-style: normal;
}
.ibm-plex-mono-bold {
font-family: "IBM Plex Mono", monospace;
font-weight: 700;
font-style: normal;
}
.ibm-plex-mono-thin-italic {
font-family: "IBM Plex Mono", monospace;
font-weight: 100;
font-style: italic;
}
.ibm-plex-mono-extralight-italic {
font-family: "IBM Plex Mono", monospace;
font-weight: 200;
font-style: italic;
}
.ibm-plex-mono-light-italic {
font-family: "IBM Plex Mono", monospace;
font-weight: 300;
font-style: italic;
}
.ibm-plex-mono-regular-italic {
font-family: "IBM Plex Mono", monospace;
font-weight: 400;
font-style: italic;
}
.ibm-plex-mono-medium-italic {
font-family: "IBM Plex Mono", monospace;
font-weight: 500;
font-style: italic;
}
.ibm-plex-mono-semibold-italic {
font-family: "IBM Plex Mono", monospace;
font-weight: 600;
font-style: italic;
}
.ibm-plex-mono-bold-italic { .ibm-plex-mono-bold-italic {
font-family: "IBM Plex Mono", monospace; font-family: "IBM Plex Mono", monospace;
font-weight: 700; font-weight: 700;
font-style: italic; font-style: italic;
} }
body { body {
font-family: "IBM Plex Mono", cursive;
font-family: "IBM Plex Mono", cursive; font-family: "IBM Plex Mono", cursive;
background-color: rgb(167, 154, 113); background-color: rgb(167, 154, 113);
/* color: rgb(0, 0, 0); */ /* color: rgb(0, 0, 0); */
margin: 1rem; margin: 1rem;
} }
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-Regular-102.eot"); /* IE9 Compat Modes */
src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-Regular-102.eot?#iefix")
format("embedded-opentype"),
/* IE6-IE8 */
url("https://assets.ok.software/atkinson/WOFF2/Atkinson-Hyperlegible-Regular-102a.woff2")
format("woff2"),
/* Super Modern Browsers */
url("https://assets.ok.software/atkinson/WOFF/Atkinson-Hyperlegible-Regular-102.woff")
format("woff"),
/* Pretty Modern Browsers */
url("https://assets.ok.software/atkinson/TTF/Atkinson-Hyperlegible-Regular-102.ttf")
format("truetype"),
/* Safari, Android, iOS */
url("https://assets.ok.software/atkinson/SVG/Atkinson-Hyperlegible-Regular-102.svg#AtkinsonHyperlegible")
format("svg"); /* Legacy iOS */
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-Italic-102.eot");
src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-Italic-102.eot?#iefix")
format("embedded-opentype"),
url("https://assets.ok.software/atkinson/WOFF2/Atkinson-Hyperlegible-Italic-102a.woff2")
format("woff2"),
url("https://assets.ok.software/atkinson/WOFF/Atkinson-Hyperlegible-Italic-102.woff")
format("woff"),
url("https://assets.ok.software/atkinson/TTF/Atkinson-Hyperlegible-Italic-102.ttf")
format("truetype"),
url("https://assets.ok.software/atkinson/SVG/Atkinson-Hyperlegible-Italic-102.svg#AtkinsonHyperlegible")
format("svg");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-Bold-102.eot");
src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-Bold-102.eot?#iefix")
format("embedded-opentype"),
url("https://assets.ok.software/atkinson/WOFF2/Atkinson-Hyperlegible-Bold-102a.woff2")
format("woff2"),
url("https://assets.ok.software/atkinson/WOFF/Atkinson-Hyperlegible-Bold-102.woff")
format("woff"),
url("https://assets.ok.software/atkinson/TTF/Atkinson-Hyperlegible-Bold-102.ttf")
format("truetype"),
url("https://assets.ok.software/atkinson/SVG/Atkinson-Hyperlegible-Bold-102.svg#AtkinsonHyperlegible")
format("svg");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-BoldItalic-102.eot");
src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-BoldItalic-102.eot?#iefix")
format("embedded-opentype"),
url("https://assets.ok.software/atkinson/WOFF2/Atkinson-Hyperlegible-BoldItalic-102a.woff2")
format("woff2"),
url("https://assets.ok.software/atkinson/WOFF/Atkinson-Hyperlegible-BoldItalic-102.woff")
format("woff"),
url("https://assets.ok.software/atkinson/TTF/Atkinson-Hyperlegible-BoldItalic-102.ttf")
format("truetype"),
url("https://assets.ok.software/atkinson/SVG/Atkinson-Hyperlegible-BoldItalic-102.svg#AtkinsonHyperlegible")
format("svg");
font-weight: bold;
font-style: italic;
}
@font-face { @font-face {
font-family: "Atkinson Hyperlegible"; font-family: "Atkinson Hyperlegible";
src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-Regular-102.eot"); /* IE9 Compat Modes */ src: url("https://assets.ok.software/atkinson/EOT/Atkinson-Hyperlegible-Regular-102.eot"); /* IE9 Compat Modes */
@ -2251,8 +2652,11 @@ h5,
h6 { h6 {
font-family: "Atkinson Hyperlegible", sans-serif; font-family: "Atkinson Hyperlegible", sans-serif;
/* color: rgb(0, 0, 0); */ /* color: rgb(0, 0, 0); */
font-family: "Atkinson Hyperlegible", sans-serif;
/* color: rgb(0, 0, 0); */
} }
.btn { .btn {
/* font-family: "IBM Plex Mono", cursive; */
/* font-family: "IBM Plex Mono", cursive; */ /* font-family: "IBM Plex Mono", cursive; */
border: 2px solid rgb(0, 0, 0); border: 2px solid rgb(0, 0, 0);
background-color: rgb(255, 102, 0); background-color: rgb(255, 102, 0);
@ -2323,22 +2727,24 @@ nav ul li {
nav ul li a { nav ul li a {
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
text-decoration: none; text-decoration: none;
font-size: 0.8em !important; /* font-size: 0.8em !important; */
font-family:"codicon", "IBM Plex Mono", cursive !important;
} }
pre { pre {
padding: 16px; padding: 16px;
overflow-x: auto; overflow-x: auto;
} }
label { label {
font-family: "IBM Plex Mono", cursive !important; font-family: "codicon", "IBM Plex Mono", cursive !important;
font-size: x-small !important; /* font-size: x-small !important; */
} }
nav, nav,
pre code { pre code {
font-family: "IBM Plex Mono", cursive !important; font-family:"codicon", "IBM Plex Mono", cursive !important;
font-size: x-small !important; font-size: x-small;
} }
.nes-btn {
.nes-btn { .nes-btn {
/* font-size: 1.1em; */ /* font-size: 1.1em; */
} }
@ -2357,9 +2763,8 @@ pre code {
font-weight: 400; font-weight: 400;
font-style: italic; font-style: italic;
} }
body { body {
font-family: "Inclusive Sans", sans-serif; font-family: "Inclusive Sans", "codicon", sans-serif !important;
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
} }
@ -2385,5 +2790,5 @@ h4 {
} }
li a strong { li a strong {
font-size: xx-small !important; /* font-size: xx-small !important; */
} }

3
packages/app/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
node_modules
assets
dist

View file

@ -1,242 +0,0 @@
/* tslint:disable */
/* eslint-disable */
/**
* @param {TokenType} token_type
* @returns {string}
*/
export function token_type_as_js_string(token_type: TokenType): string;
/**
* @param {string} input
* @returns {(TokenSpan)[]}
*/
export function tokenize(input: string): (TokenSpan)[];
/**
* @param {ServerConfig} config
* @returns {Promise<void>}
*/
export function serve(config: ServerConfig): Promise<void>;
/**
*/
export enum TokenType {
Pipe = 0,
Ampersand = 1,
Semicolon = 2,
Equals = 3,
LessThan = 4,
GreaterThan = 5,
Variable = 6,
Word = 7,
String = 8,
Comment = 9,
Integer = 10,
Float = 11,
Eof = 12,
NewLine = 13,
LeftParen = 14,
RightParen = 15,
LeftBrace = 16,
RightBrace = 17,
LeftBracket = 18,
RightBracket = 19,
Comma = 20,
Dot = 21,
Colon = 22,
Underscore = 23,
Minus = 24,
Plus = 25,
Arrow = 26,
FatArrow = 27,
Divide = 28,
Multiply = 29,
Percent = 30,
Dollar = 31,
Exclamation = 32,
Question = 33,
Tilde = 34,
At = 35,
Caret = 36,
Shebang = 37,
}
/**
*/
export class IntoUnderlyingByteSource {
free(): void;
/**
* @param {any} controller
*/
start(controller: any): void;
/**
* @param {any} controller
* @returns {Promise<any>}
*/
pull(controller: any): Promise<any>;
/**
*/
cancel(): void;
/**
*/
readonly autoAllocateChunkSize: number;
/**
*/
readonly type: any;
}
/**
*/
export class IntoUnderlyingSink {
free(): void;
/**
* @param {any} chunk
* @returns {Promise<any>}
*/
write(chunk: any): Promise<any>;
/**
* @returns {Promise<any>}
*/
close(): Promise<any>;
/**
* @param {any} reason
* @returns {Promise<any>}
*/
abort(reason: any): Promise<any>;
}
/**
*/
export class IntoUnderlyingSource {
free(): void;
/**
* @param {any} controller
* @returns {Promise<any>}
*/
pull(controller: any): Promise<any>;
/**
*/
cancel(): void;
}
/**
* Raw options for [`pipeTo()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo).
*/
export class PipeOptions {
free(): void;
/**
*/
readonly preventAbort: boolean;
/**
*/
readonly preventCancel: boolean;
/**
*/
readonly preventClose: boolean;
/**
*/
readonly signal: AbortSignal | undefined;
}
/**
*/
export class QueuingStrategy {
free(): void;
/**
*/
readonly highWaterMark: number;
}
/**
* Raw options for [`getReader()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/getReader).
*/
export class ReadableStreamGetReaderOptions {
free(): void;
/**
*/
readonly mode: any;
}
/**
*/
export class ServerConfig {
free(): void;
/**
* @param {AsyncIterator<any>} into_server
* @param {WritableStream} from_server
*/
constructor(into_server: AsyncIterator<any>, from_server: WritableStream);
}
/**
*/
export class TokenSpan {
free(): void;
/**
*/
end: number;
/**
*/
scope: TokenType;
/**
*/
start: number;
}
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
export interface InitOutput {
readonly memory: WebAssembly.Memory;
readonly __wbg_tokenspan_free: (a: number) => void;
readonly __wbg_get_tokenspan_start: (a: number) => number;
readonly __wbg_set_tokenspan_start: (a: number, b: number) => void;
readonly __wbg_get_tokenspan_end: (a: number) => number;
readonly __wbg_set_tokenspan_end: (a: number, b: number) => void;
readonly __wbg_get_tokenspan_scope: (a: number) => number;
readonly __wbg_set_tokenspan_scope: (a: number, b: number) => void;
readonly token_type_as_js_string: (a: number) => number;
readonly tokenize: (a: number, b: number, c: number) => void;
readonly __wbg_serverconfig_free: (a: number) => void;
readonly serverconfig_new: (a: number, b: number) => number;
readonly serve: (a: number) => number;
readonly __wbg_intounderlyingbytesource_free: (a: number) => void;
readonly intounderlyingbytesource_type: (a: number) => number;
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
readonly intounderlyingbytesource_start: (a: number, b: number) => void;
readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
readonly intounderlyingbytesource_cancel: (a: number) => void;
readonly __wbg_intounderlyingsource_free: (a: number) => void;
readonly intounderlyingsource_pull: (a: number, b: number) => number;
readonly intounderlyingsource_cancel: (a: number) => void;
readonly __wbg_queuingstrategy_free: (a: number) => void;
readonly queuingstrategy_highWaterMark: (a: number) => number;
readonly __wbg_intounderlyingsink_free: (a: number) => void;
readonly intounderlyingsink_write: (a: number, b: number) => number;
readonly intounderlyingsink_close: (a: number) => number;
readonly intounderlyingsink_abort: (a: number, b: number) => number;
readonly __wbg_readablestreamgetreaderoptions_free: (a: number) => void;
readonly readablestreamgetreaderoptions_mode: (a: number) => number;
readonly __wbg_pipeoptions_free: (a: number) => void;
readonly pipeoptions_preventClose: (a: number) => number;
readonly pipeoptions_preventCancel: (a: number) => number;
readonly pipeoptions_preventAbort: (a: number) => number;
readonly pipeoptions_signal: (a: number) => number;
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h544499b60125df46: (a: number, b: number, c: number) => void;
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly wasm_bindgen__convert__closures__invoke2_mut__h9a3b6e60a7c15fa9: (a: number, b: number, c: number, d: number) => void;
}
export type SyncInitInput = BufferSource | WebAssembly.Module;
/**
* Instantiates the given `module`, which can either be bytes or
* a precompiled `WebAssembly.Module`.
*
* @param {SyncInitInput} module
*
* @returns {InitOutput}
*/
export function initSync(module: SyncInitInput): InitOutput;
/**
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
* for everything else, calls `WebAssembly.instantiate` directly.
*
* @param {InitInput | Promise<InitInput>} module_or_path
*
* @returns {Promise<InitOutput>}
*/
export default function __wbg_init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;

View file

@ -1,984 +0,0 @@
import { bytes_literal } from './snippets/wasm-streams-42e57edbcd526312/inline0.js';
let wasm;
const heap = new Array(128).fill(undefined);
heap.push(undefined, null, true, false);
function getObject(idx) { return heap[idx]; }
let heap_next = heap.length;
function dropObject(idx) {
if (idx < 132) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
let cachedUint8Memory0 = null;
function getUint8Memory0() {
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
}
return cachedUint8Memory0;
}
function getStringFromWasm0(ptr, len) {
ptr = ptr >>> 0;
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}
function addHeapObject(obj) {
if (heap_next === heap.length) heap.push(heap.length + 1);
const idx = heap_next;
heap_next = heap[idx];
heap[idx] = obj;
return idx;
}
let WASM_VECTOR_LEN = 0;
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
? function (arg, view) {
return cachedTextEncoder.encodeInto(arg, view);
}
: function (arg, view) {
const buf = cachedTextEncoder.encode(arg);
view.set(buf);
return {
read: arg.length,
written: buf.length
};
});
function passStringToWasm0(arg, malloc, realloc) {
if (realloc === undefined) {
const buf = cachedTextEncoder.encode(arg);
const ptr = malloc(buf.length, 1) >>> 0;
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
WASM_VECTOR_LEN = buf.length;
return ptr;
}
let len = arg.length;
let ptr = malloc(len, 1) >>> 0;
const mem = getUint8Memory0();
let offset = 0;
for (; offset < len; offset++) {
const code = arg.charCodeAt(offset);
if (code > 0x7F) break;
mem[ptr + offset] = code;
}
if (offset !== len) {
if (offset !== 0) {
arg = arg.slice(offset);
}
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
const ret = encodeString(arg, view);
offset += ret.written;
ptr = realloc(ptr, len, offset, 1) >>> 0;
}
WASM_VECTOR_LEN = offset;
return ptr;
}
function isLikeNone(x) {
return x === undefined || x === null;
}
let cachedInt32Memory0 = null;
function getInt32Memory0() {
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
}
return cachedInt32Memory0;
}
function debugString(val) {
// primitive types
const type = typeof val;
if (type == 'number' || type == 'boolean' || val == null) {
return `${val}`;
}
if (type == 'string') {
return `"${val}"`;
}
if (type == 'symbol') {
const description = val.description;
if (description == null) {
return 'Symbol';
} else {
return `Symbol(${description})`;
}
}
if (type == 'function') {
const name = val.name;
if (typeof name == 'string' && name.length > 0) {
return `Function(${name})`;
} else {
return 'Function';
}
}
// objects
if (Array.isArray(val)) {
const length = val.length;
let debug = '[';
if (length > 0) {
debug += debugString(val[0]);
}
for(let i = 1; i < length; i++) {
debug += ', ' + debugString(val[i]);
}
debug += ']';
return debug;
}
// Test for built-in
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
let className;
if (builtInMatches.length > 1) {
className = builtInMatches[1];
} else {
// Failed to match the standard '[object ClassName]'
return toString.call(val);
}
if (className == 'Object') {
// we're a user defined class or Object
// JSON.stringify avoids problems with cycles, and is generally much
// easier than looping through ownProperties of `val`.
try {
return 'Object(' + JSON.stringify(val) + ')';
} catch (_) {
return 'Object';
}
}
// errors
if (val instanceof Error) {
return `${val.name}: ${val.message}\n${val.stack}`;
}
// TODO we could test for more things here, like `Set`s and `Map`s.
return className;
}
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(state => {
wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b)
});
function makeMutClosure(arg0, arg1, dtor, f) {
const state = { a: arg0, b: arg1, cnt: 1, dtor };
const real = (...args) => {
// First up with a closure we increment the internal reference
// count. This ensures that the Rust closure environment won't
// be deallocated while we're invoking it.
state.cnt++;
const a = state.a;
state.a = 0;
try {
return f(a, state.b, ...args);
} finally {
if (--state.cnt === 0) {
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
CLOSURE_DTORS.unregister(state);
} else {
state.a = a;
}
}
};
real.original = state;
CLOSURE_DTORS.register(real, state, state);
return real;
}
function __wbg_adapter_24(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h544499b60125df46(arg0, arg1, addHeapObject(arg2));
}
/**
* @param {TokenType} token_type
* @returns {string}
*/
export function token_type_as_js_string(token_type) {
const ret = wasm.token_type_as_js_string(token_type);
return takeObject(ret);
}
let cachedUint32Memory0 = null;
function getUint32Memory0() {
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
}
return cachedUint32Memory0;
}
function getArrayJsValueFromWasm0(ptr, len) {
ptr = ptr >>> 0;
const mem = getUint32Memory0();
const slice = mem.subarray(ptr / 4, ptr / 4 + len);
const result = [];
for (let i = 0; i < slice.length; i++) {
result.push(takeObject(slice[i]));
}
return result;
}
/**
* @param {string} input
* @returns {(TokenSpan)[]}
*/
export function tokenize(input) {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
wasm.tokenize(retptr, ptr0, len0);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
var r2 = getInt32Memory0()[retptr / 4 + 2];
var r3 = getInt32Memory0()[retptr / 4 + 3];
if (r3) {
throw takeObject(r2);
}
var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
wasm.__wbindgen_free(r0, r1 * 4, 4);
return v2;
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
}
}
function _assertClass(instance, klass) {
if (!(instance instanceof klass)) {
throw new Error(`expected instance of ${klass.name}`);
}
return instance.ptr;
}
/**
* @param {ServerConfig} config
* @returns {Promise<void>}
*/
export function serve(config) {
_assertClass(config, ServerConfig);
var ptr0 = config.__destroy_into_raw();
const ret = wasm.serve(ptr0);
return takeObject(ret);
}
function handleError(f, args) {
try {
return f.apply(this, args);
} catch (e) {
wasm.__wbindgen_exn_store(addHeapObject(e));
}
}
function __wbg_adapter_111(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h9a3b6e60a7c15fa9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}
/**
*/
export const TokenType = Object.freeze({ Pipe:0,"0":"Pipe",Ampersand:1,"1":"Ampersand",Semicolon:2,"2":"Semicolon",Equals:3,"3":"Equals",LessThan:4,"4":"LessThan",GreaterThan:5,"5":"GreaterThan",Variable:6,"6":"Variable",Word:7,"7":"Word",String:8,"8":"String",Comment:9,"9":"Comment",Integer:10,"10":"Integer",Float:11,"11":"Float",Eof:12,"12":"Eof",NewLine:13,"13":"NewLine",LeftParen:14,"14":"LeftParen",RightParen:15,"15":"RightParen",LeftBrace:16,"16":"LeftBrace",RightBrace:17,"17":"RightBrace",LeftBracket:18,"18":"LeftBracket",RightBracket:19,"19":"RightBracket",Comma:20,"20":"Comma",Dot:21,"21":"Dot",Colon:22,"22":"Colon",Underscore:23,"23":"Underscore",Minus:24,"24":"Minus",Plus:25,"25":"Plus",Arrow:26,"26":"Arrow",FatArrow:27,"27":"FatArrow",Divide:28,"28":"Divide",Multiply:29,"29":"Multiply",Percent:30,"30":"Percent",Dollar:31,"31":"Dollar",Exclamation:32,"32":"Exclamation",Question:33,"33":"Question",Tilde:34,"34":"Tilde",At:35,"35":"At",Caret:36,"36":"Caret",Shebang:37,"37":"Shebang", });
const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0));
/**
*/
export class IntoUnderlyingByteSource {
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
IntoUnderlyingByteSourceFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_intounderlyingbytesource_free(ptr);
}
/**
* @returns {any}
*/
get type() {
const ret = wasm.intounderlyingbytesource_type(this.__wbg_ptr);
return takeObject(ret);
}
/**
* @returns {number}
*/
get autoAllocateChunkSize() {
const ret = wasm.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr);
return ret >>> 0;
}
/**
* @param {any} controller
*/
start(controller) {
wasm.intounderlyingbytesource_start(this.__wbg_ptr, addHeapObject(controller));
}
/**
* @param {any} controller
* @returns {Promise<any>}
*/
pull(controller) {
const ret = wasm.intounderlyingbytesource_pull(this.__wbg_ptr, addHeapObject(controller));
return takeObject(ret);
}
/**
*/
cancel() {
const ptr = this.__destroy_into_raw();
wasm.intounderlyingbytesource_cancel(ptr);
}
}
const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0));
/**
*/
export class IntoUnderlyingSink {
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
IntoUnderlyingSinkFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_intounderlyingsink_free(ptr);
}
/**
* @param {any} chunk
* @returns {Promise<any>}
*/
write(chunk) {
const ret = wasm.intounderlyingsink_write(this.__wbg_ptr, addHeapObject(chunk));
return takeObject(ret);
}
/**
* @returns {Promise<any>}
*/
close() {
const ptr = this.__destroy_into_raw();
const ret = wasm.intounderlyingsink_close(ptr);
return takeObject(ret);
}
/**
* @param {any} reason
* @returns {Promise<any>}
*/
abort(reason) {
const ptr = this.__destroy_into_raw();
const ret = wasm.intounderlyingsink_abort(ptr, addHeapObject(reason));
return takeObject(ret);
}
}
const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0));
/**
*/
export class IntoUnderlyingSource {
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
IntoUnderlyingSourceFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_intounderlyingsource_free(ptr);
}
/**
* @param {any} controller
* @returns {Promise<any>}
*/
pull(controller) {
const ret = wasm.intounderlyingsource_pull(this.__wbg_ptr, addHeapObject(controller));
return takeObject(ret);
}
/**
*/
cancel() {
const ptr = this.__destroy_into_raw();
wasm.intounderlyingsource_cancel(ptr);
}
}
const PipeOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_pipeoptions_free(ptr >>> 0));
/**
* Raw options for [`pipeTo()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo).
*/
export class PipeOptions {
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
PipeOptionsFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_pipeoptions_free(ptr);
}
/**
* @returns {boolean}
*/
get preventClose() {
const ret = wasm.pipeoptions_preventClose(this.__wbg_ptr);
return ret !== 0;
}
/**
* @returns {boolean}
*/
get preventCancel() {
const ret = wasm.pipeoptions_preventCancel(this.__wbg_ptr);
return ret !== 0;
}
/**
* @returns {boolean}
*/
get preventAbort() {
const ret = wasm.pipeoptions_preventAbort(this.__wbg_ptr);
return ret !== 0;
}
/**
* @returns {AbortSignal | undefined}
*/
get signal() {
const ret = wasm.pipeoptions_signal(this.__wbg_ptr);
return takeObject(ret);
}
}
const QueuingStrategyFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_queuingstrategy_free(ptr >>> 0));
/**
*/
export class QueuingStrategy {
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
QueuingStrategyFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_queuingstrategy_free(ptr);
}
/**
* @returns {number}
*/
get highWaterMark() {
const ret = wasm.queuingstrategy_highWaterMark(this.__wbg_ptr);
return ret;
}
}
const ReadableStreamGetReaderOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_readablestreamgetreaderoptions_free(ptr >>> 0));
/**
* Raw options for [`getReader()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/getReader).
*/
export class ReadableStreamGetReaderOptions {
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
ReadableStreamGetReaderOptionsFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_readablestreamgetreaderoptions_free(ptr);
}
/**
* @returns {any}
*/
get mode() {
const ret = wasm.readablestreamgetreaderoptions_mode(this.__wbg_ptr);
return takeObject(ret);
}
}
const ServerConfigFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_serverconfig_free(ptr >>> 0));
/**
*/
export class ServerConfig {
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
ServerConfigFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_serverconfig_free(ptr);
}
/**
* @param {AsyncIterator<any>} into_server
* @param {WritableStream} from_server
*/
constructor(into_server, from_server) {
const ret = wasm.serverconfig_new(addHeapObject(into_server), addHeapObject(from_server));
this.__wbg_ptr = ret >>> 0;
return this;
}
}
const TokenSpanFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_tokenspan_free(ptr >>> 0));
/**
*/
export class TokenSpan {
static __wrap(ptr) {
ptr = ptr >>> 0;
const obj = Object.create(TokenSpan.prototype);
obj.__wbg_ptr = ptr;
TokenSpanFinalization.register(obj, obj.__wbg_ptr, obj);
return obj;
}
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
TokenSpanFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_tokenspan_free(ptr);
}
/**
* @returns {number}
*/
get start() {
const ret = wasm.__wbg_get_tokenspan_start(this.__wbg_ptr);
return ret >>> 0;
}
/**
* @param {number} arg0
*/
set start(arg0) {
wasm.__wbg_set_tokenspan_start(this.__wbg_ptr, arg0);
}
/**
* @returns {number}
*/
get end() {
const ret = wasm.__wbg_get_tokenspan_end(this.__wbg_ptr);
return ret >>> 0;
}
/**
* @param {number} arg0
*/
set end(arg0) {
wasm.__wbg_set_tokenspan_end(this.__wbg_ptr, arg0);
}
/**
* @returns {TokenType}
*/
get scope() {
const ret = wasm.__wbg_get_tokenspan_scope(this.__wbg_ptr);
return ret;
}
/**
* @param {TokenType} arg0
*/
set scope(arg0) {
wasm.__wbg_set_tokenspan_scope(this.__wbg_ptr, arg0);
}
}
async function __wbg_load(module, imports) {
if (typeof Response === 'function' && module instanceof Response) {
if (typeof WebAssembly.instantiateStreaming === 'function') {
try {
return await WebAssembly.instantiateStreaming(module, imports);
} catch (e) {
if (module.headers.get('Content-Type') != 'application/wasm') {
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
} else {
throw e;
}
}
}
const bytes = await module.arrayBuffer();
return await WebAssembly.instantiate(bytes, imports);
} else {
const instance = await WebAssembly.instantiate(module, imports);
if (instance instanceof WebAssembly.Instance) {
return { instance, module };
} else {
return instance;
}
}
}
function __wbg_get_imports() {
const imports = {};
imports.wbg = {};
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
obj.a = 0;
return true;
}
const ret = false;
return ret;
};
imports.wbg.__wbg_tokenspan_new = function(arg0) {
const ret = TokenSpan.__wrap(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbg_respond_f4778bef04e912a6 = function(arg0, arg1) {
getObject(arg0).respond(arg1 >>> 0);
};
imports.wbg.__wbg_byobRequest_a3c74c3694777d1b = function(arg0) {
const ret = getObject(arg0).byobRequest;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_view_d1a31268af734e5d = function(arg0) {
const ret = getObject(arg0).view;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_bytesliteral_efe7d360639bf32b = function() {
const ret = bytes_literal();
return addHeapObject(ret);
};
imports.wbg.__wbg_getWriter_6cdcca9cf3b715dc = function() { return handleError(function (arg0) {
const ret = getObject(arg0).getWriter();
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_ready_8f8565755a0b5d1f = function(arg0) {
const ret = getObject(arg0).ready;
return addHeapObject(ret);
};
imports.wbg.__wbg_close_ae487688d07f03b0 = function(arg0) {
const ret = getObject(arg0).close();
return addHeapObject(ret);
};
imports.wbg.__wbg_write_f6d68f54a7b41f92 = function(arg0, arg1) {
const ret = getObject(arg0).write(takeObject(arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_releaseLock_0d3bce87e07d43f6 = function(arg0) {
getObject(arg0).releaseLock();
};
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
const obj = getObject(arg1);
const ret = typeof(obj) === 'string' ? obj : undefined;
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};
imports.wbg.__wbg_close_a41954830b65c455 = function(arg0) {
getObject(arg0).close();
};
imports.wbg.__wbg_enqueue_3a8a8e67e44d2567 = function(arg0, arg1) {
getObject(arg0).enqueue(getObject(arg1));
};
imports.wbg.__wbg_close_045ed342139beb7d = function(arg0) {
getObject(arg0).close();
};
imports.wbg.__wbg_buffer_610b70c8fd30da2d = function(arg0) {
const ret = getObject(arg0).buffer;
return addHeapObject(ret);
};
imports.wbg.__wbg_byteOffset_ede786cfcf88d3dd = function(arg0) {
const ret = getObject(arg0).byteOffset;
return ret;
};
imports.wbg.__wbg_byteLength_1fef7842ca4200fa = function(arg0) {
const ret = getObject(arg0).byteLength;
return ret;
};
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
const ret = new Error();
return addHeapObject(ret);
};
imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
const ret = getObject(arg1).stack;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};
imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
let deferred0_0;
let deferred0_1;
try {
deferred0_0 = arg0;
deferred0_1 = arg1;
console.error(getStringFromWasm0(arg0, arg1));
} finally {
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
}
};
imports.wbg.__wbg_log_5bb5f88f245d7762 = function(arg0) {
console.log(getObject(arg0));
};
imports.wbg.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
queueMicrotask(getObject(arg0));
};
imports.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
const ret = getObject(arg0).queueMicrotask;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_is_function = function(arg0) {
const ret = typeof(getObject(arg0)) === 'function';
return ret;
};
imports.wbg.__wbg_newnoargs_e258087cd0daa0ea = function(arg0, arg1) {
const ret = new Function(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
imports.wbg.__wbindgen_is_object = function(arg0) {
const val = getObject(arg0);
const ret = typeof(val) === 'object' && val !== null;
return ret;
};
imports.wbg.__wbg_done_298b57d23c0fc80c = function(arg0) {
const ret = getObject(arg0).done;
return ret;
};
imports.wbg.__wbg_value_d93c65011f51a456 = function(arg0) {
const ret = getObject(arg0).value;
return addHeapObject(ret);
};
imports.wbg.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) {
const ret = getObject(arg0).call(getObject(arg1));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_self_ce0dbfc45cf2f5be = function() { return handleError(function () {
const ret = self.self;
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_window_c6fb939a7f436783 = function() { return handleError(function () {
const ret = window.window;
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_globalThis_d1e6af4856ba331b = function() { return handleError(function () {
const ret = globalThis.globalThis;
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_global_207b558942527489 = function() { return handleError(function () {
const ret = global.global;
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
imports.wbg.__wbg_new_28c511d9baebfa89 = function(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_call_b3ca7c6051f9bec1 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_next_a1c35169a4db2ac1 = function() { return handleError(function (arg0) {
const ret = getObject(arg0).next();
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_toString_c816a20ab859d0c1 = function(arg0) {
const ret = getObject(arg0).toString();
return addHeapObject(ret);
};
imports.wbg.__wbg_new_81740750da40724f = function(arg0, arg1) {
try {
var state0 = {a: arg0, b: arg1};
var cb0 = (arg0, arg1) => {
const a = state0.a;
state0.a = 0;
try {
return __wbg_adapter_111(a, state0.b, arg0, arg1);
} finally {
state0.a = a;
}
};
const ret = new Promise(cb0);
return addHeapObject(ret);
} finally {
state0.a = state0.b = 0;
}
};
imports.wbg.__wbg_resolve_b0083a7967828ec8 = function(arg0) {
const ret = Promise.resolve(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_then_0c86a60e8fcfe9f6 = function(arg0, arg1) {
const ret = getObject(arg0).then(getObject(arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_then_a73caa9a87991566 = function(arg0, arg1, arg2) {
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
return addHeapObject(ret);
};
imports.wbg.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
const ret = getObject(arg0).buffer;
return addHeapObject(ret);
};
imports.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb = function(arg0, arg1, arg2) {
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_new_63b92bc8671ed464 = function(arg0) {
const ret = new Uint8Array(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
};
imports.wbg.__wbg_length_c20a40f15020d68a = function(arg0) {
const ret = getObject(arg0).length;
return ret;
};
imports.wbg.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6 = function(arg0) {
let result;
try {
result = getObject(arg0) instanceof Uint8Array;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
const ret = debugString(getObject(arg1));
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
throw new Error(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbindgen_memory = function() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper4454 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1540, __wbg_adapter_24);
return addHeapObject(ret);
};
return imports;
}
function __wbg_init_memory(imports, maybe_memory) {
}
function __wbg_finalize_init(instance, module) {
wasm = instance.exports;
__wbg_init.__wbindgen_wasm_module = module;
cachedInt32Memory0 = null;
cachedUint32Memory0 = null;
cachedUint8Memory0 = null;
return wasm;
}
function initSync(module) {
if (wasm !== undefined) return wasm;
const imports = __wbg_get_imports();
__wbg_init_memory(imports);
if (!(module instanceof WebAssembly.Module)) {
module = new WebAssembly.Module(module);
}
const instance = new WebAssembly.Instance(module, imports);
return __wbg_finalize_init(instance, module);
}
async function __wbg_init(input) {
if (wasm !== undefined) return wasm;
if (typeof input === 'undefined') {
input = new URL('src_lsp_browser_bg.wasm', import.meta.url);
}
const imports = __wbg_get_imports();
if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {
input = fetch(input);
}
__wbg_init_memory(imports);
const { instance, module } = await __wbg_load(await input, imports);
return __wbg_finalize_init(instance, module);
}
export { initSync }
export default __wbg_init;

View file

@ -1,45 +0,0 @@
/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export function __wbg_tokenspan_free(a: number): void;
export function __wbg_get_tokenspan_start(a: number): number;
export function __wbg_set_tokenspan_start(a: number, b: number): void;
export function __wbg_get_tokenspan_end(a: number): number;
export function __wbg_set_tokenspan_end(a: number, b: number): void;
export function __wbg_get_tokenspan_scope(a: number): number;
export function __wbg_set_tokenspan_scope(a: number, b: number): void;
export function token_type_as_js_string(a: number): number;
export function tokenize(a: number, b: number, c: number): void;
export function __wbg_serverconfig_free(a: number): void;
export function serverconfig_new(a: number, b: number): number;
export function serve(a: number): number;
export function __wbg_intounderlyingbytesource_free(a: number): void;
export function intounderlyingbytesource_type(a: number): number;
export function intounderlyingbytesource_autoAllocateChunkSize(a: number): number;
export function intounderlyingbytesource_start(a: number, b: number): void;
export function intounderlyingbytesource_pull(a: number, b: number): number;
export function intounderlyingbytesource_cancel(a: number): void;
export function __wbg_intounderlyingsource_free(a: number): void;
export function intounderlyingsource_pull(a: number, b: number): number;
export function intounderlyingsource_cancel(a: number): void;
export function __wbg_queuingstrategy_free(a: number): void;
export function queuingstrategy_highWaterMark(a: number): number;
export function __wbg_intounderlyingsink_free(a: number): void;
export function intounderlyingsink_write(a: number, b: number): number;
export function intounderlyingsink_close(a: number): number;
export function intounderlyingsink_abort(a: number, b: number): number;
export function __wbg_readablestreamgetreaderoptions_free(a: number): void;
export function readablestreamgetreaderoptions_mode(a: number): number;
export function __wbg_pipeoptions_free(a: number): void;
export function pipeoptions_preventClose(a: number): number;
export function pipeoptions_preventCancel(a: number): number;
export function pipeoptions_preventAbort(a: number): number;
export function pipeoptions_signal(a: number): number;
export function __wbindgen_malloc(a: number, b: number): number;
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h544499b60125df46(a: number, b: number, c: number): void;
export function __wbindgen_add_to_stack_pointer(a: number): number;
export function __wbindgen_free(a: number, b: number, c: number): void;
export function __wbindgen_exn_store(a: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h9a3b6e60a7c15fa9(a: number, b: number, c: number, d: number): void;

View file

@ -1,2 +1,2 @@
commit: c9f68b625741bf0635c4198ab93fa7d250c9e2ae commit: e44388fca2c935661036e5da47c3d02618fd463e
version: c9f68b6 version: e44388f