vite-plugin-vue-devtools 7.1.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/assets/index-CDBAuZCi.js +1104 -0
- package/client/assets/index-Cka_f-Nd.css +1 -0
- package/client/assets/shellscript-BZfs-ost.js +1 -0
- package/client/assets/shellscript-C_gmBC5P-BZfs-ost.js +1 -0
- package/client/assets/unocss-runtime-C2aH1Jer.js +2 -0
- package/client/assets/{vitesse-dark-CQ1WWl9n.js → vitesse-dark-Bxkoe-BC.js} +1 -1
- package/client/assets/{vitesse-dark-DX6gc1PC-CQ1WWl9n.js → vitesse-dark-CkUHDarG-Bxkoe-BC.js} +1 -1
- package/client/assets/{vitesse-light-BQX_J3vG-DaCkt_J7.js → vitesse-light-Br6ll-O0.js} +1 -1
- package/client/assets/{vitesse-light-DaCkt_J7.js → vitesse-light-K81-viQS-Br6ll-O0.js} +1 -1
- package/client/assets/{vue-CP4EDFt0.js → vue-CMvPPucx.js} +11 -11
- package/client/assets/vue-apis-9Qvy4Ky5.js +1 -0
- package/client/assets/{vue-html-9lCBN0KK.js → vue-html-DxgvOoVJ.js} +1 -1
- package/client/assets/{vue-html-D0BKftsE-DYUd3QbO.js → vue-html-PWeNQaIl-ChlIBMe8.js} +1 -1
- package/client/assets/{vue-CSiwUDF5-BenY5O_m.js → vue-yccoFuXf-q8nGVquG.js} +11 -11
- package/client/index.html +2 -2
- package/dist/vite.cjs +12 -11
- package/dist/vite.d.cts +14 -8
- package/dist/vite.d.mts +14 -8
- package/dist/vite.d.ts +14 -8
- package/dist/vite.mjs +12 -11
- package/package.json +6 -6
- package/src/overlay/devtools-overlay.css +1 -1
- package/src/overlay/devtools-overlay.js +4 -4
- package/client/assets/index-BFXmWfZp.css +0 -1
- package/client/assets/index-NGtCHpUr.js +0 -1104
- package/client/assets/shellscript-D4k753MY.js +0 -1
- package/client/assets/shellscript-DQ1J75ow-D4k753MY.js +0 -1
- package/client/assets/unocss-runtime-pCzu9suo.js +0 -2
- package/client/assets/vue-apis-buOuct3A.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze({displayName:"Shell",name:"shellscript",patterns:[{include:"#initial_context"}],repository:{alias_statement:{begin:"(?:(alias)(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*))(?:(?:[ \\t]*+)(?:(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*)))?)(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?))(?:(?:(\\=)|(\\+\\=))|(\\-\\=))))",beginCaptures:{1:{name:"storage.type.alias.shell"},2:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},3:{name:"string.unquoted.argument.shell constant.other.option.shell"},4:{name:"storage.modifier.$4.shell"},5:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},6:{name:"string.unquoted.argument.shell constant.other.option.shell"},7:{name:"variable.other.assignment.shell"},8:{name:"punctuation.definition.array.access.shell"},9:{name:"variable.other.assignment.shell"},10:{name:"constant.numeric.shell constant.numeric.integer.shell"},11:{name:"punctuation.definition.array.access.shell"},12:{name:"keyword.operator.assignment.shell"},13:{name:"keyword.operator.assignment.compound.shell"},14:{name:"keyword.operator.assignment.compound.shell"}},end:"(?:(?= |\\t|$)|(?:(?:(?:(;)|(&&))|(\\|\\|))|(&)))",endCaptures:{1:{name:"punctuation.terminator.statement.semicolon.shell"},2:{name:"punctuation.separator.statement.and.shell"},3:{name:"punctuation.separator.statement.or.shell"},4:{name:"punctuation.separator.statement.background.shell"}},name:"meta.expression.assignment.shell",patterns:[{include:"#normal_statement_context"}]},argument:{begin:"(?:[ \\t]++)(?!(?:&|\\||\\(|\\[|#|\\n|$|;))",beginCaptures:{},end:"(?= |\\t|;|\\||&|$|\\n|\\)|\\`)",endCaptures:{},name:"meta.argument.shell",patterns:[{include:"#argument_context"},{include:"#line_continuation"}]},argument_context:{patterns:[{captures:{1:{name:"string.unquoted.argument.shell",patterns:[{match:"\\*",name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{1:{name:"constant.language.$1.shell"}},match:"(?<!\\w)(\\b(?:true|false)\\b)(?!\\w)"}]}},match:"(?:[ \\t]*+)((?:[^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]+)(?!>))"},{include:"#normal_statement_context"}]},array_value:{begin:"(?:[ \\t]*+)(?:(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*)))?)(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?))(?:(?:(\\=)|(\\+\\=))|(\\-\\=))(?:[ \\t]*+)(\\()",beginCaptures:{1:{name:"storage.modifier.$1.shell"},2:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},3:{name:"string.unquoted.argument.shell constant.other.option.shell"},4:{name:"variable.other.assignment.shell"},5:{name:"punctuation.definition.array.access.shell"},6:{name:"variable.other.assignment.shell"},7:{name:"constant.numeric.shell constant.numeric.integer.shell"},8:{name:"punctuation.definition.array.access.shell"},9:{name:"keyword.operator.assignment.shell"},10:{name:"keyword.operator.assignment.compound.shell"},11:{name:"keyword.operator.assignment.compound.shell"},12:{name:"punctuation.definition.array.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.array.shell"}},patterns:[{include:"#comment"},{captures:{1:{name:"punctuation.definition.bracket.shell"},2:{name:"string.unquoted.shell entity.other.attribute-name.shell"},3:{name:"punctuation.definition.bracket.shell"},4:{name:"punctuation.definition.assignment.shell"}},match:"(?:(\\[)(.+?)(\\])(\\=))"},{include:"#normal_statement_context"},{include:"#simple_unquoted"}]},assignment:{patterns:[{include:"#array_value"},{begin:"(?:[ \\t]*+)(?:(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*)))?)(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?))(?:(?:(\\=)|(\\+\\=))|(\\-\\=))",beginCaptures:{1:{name:"storage.modifier.$1.shell"},2:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},3:{name:"string.unquoted.argument.shell constant.other.option.shell"},4:{name:"variable.other.assignment.shell"},5:{name:"punctuation.definition.array.access.shell"},6:{name:"variable.other.assignment.shell"},7:{name:"constant.numeric.shell constant.numeric.integer.shell"},8:{name:"punctuation.definition.array.access.shell"},9:{name:"keyword.operator.assignment.shell"},10:{name:"keyword.operator.assignment.compound.shell"},11:{name:"keyword.operator.assignment.compound.shell"}},end:"(?:(?= |\\t|$)|(?:(?:(?:(;)|(&&))|(\\|\\|))|(&)))",endCaptures:{1:{name:"punctuation.terminator.statement.semicolon.shell"},2:{name:"punctuation.separator.statement.and.shell"},3:{name:"punctuation.separator.statement.or.shell"},4:{name:"punctuation.separator.statement.background.shell"}},name:"meta.expression.assignment.shell",patterns:[{include:"#comment"},{include:"#argument_context"}]}]},basic_command_name:{captures:{1:{name:"storage.modifier.$1.shell"},2:{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:"(?<!\\w)(?:continue|return|break)(?!\\w)",name:"keyword.control.$0.shell"},{match:"(?<!\\w)(?:(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|:|\\.)(?!\\/))(?!\\w)",name:"support.function.builtin.shell"},{include:"#variable"}]}},match:`(?:(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?!foreach\\b(?!\\/)|select\\b(?!\\/)|repeat\\b(?!\\/)|until\\b(?!\\/)|while\\b(?!\\/)|case\\b(?!\\/)|done\\b(?!\\/)|elif\\b(?!\\/)|else\\b(?!\\/)|esac\\b(?!\\/)|then\\b(?!\\/)|for\\b(?!\\/)|end\\b(?!\\/)|in\\b(?!\\/)|fi\\b(?!\\/)|do\\b(?!\\/)|if\\b(?!\\/)))(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))|((?!"|'|\\\\\\n?$)(?:[^!'" \\t\\n\\r]+?)))(?:(?= |\\t)|(?:(?=;|\\||&|\\n|\\)|\\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\))))`,name:"meta.statement.command.name.basic.shell"},block_comment:{begin:"(?:(?:\\s*+)(\\/\\*))",beginCaptures:{1:{name:"punctuation.definition.comment.begin.shell"}},end:"\\*\\/",endCaptures:{0:{name:"punctuation.definition.comment.end.shell"}},name:"comment.block.shell"},boolean:{match:"\\b(?:true|false)\\b",name:"constant.language.$0.shell"},case_statement:{begin:"(?:(\\bcase\\b)(?:[ \\t]*+)(.+)(?:[ \\t]*+)(\\bin\\b))",beginCaptures:{1:{name:"keyword.control.case.shell"},2:{patterns:[{include:"#initial_context"}]},3:{name:"keyword.control.in.shell"}},end:"\\besac\\b",endCaptures:{0:{name:"keyword.control.esac.shell"}},name:"meta.case.shell",patterns:[{include:"#comment"},{captures:{1:{name:"keyword.operator.pattern.case.default.shell"}},match:"(?:[ \\t]*+)(\\* *\\))"},{begin:"(?<!\\))(?!(?:[ \\t]*+)(?:esac\\b|$))",beginCaptures:{},end:"(?:(?=\\besac\\b)|(\\)))",endCaptures:{1:{name:"keyword.operator.pattern.case.shell"}},name:"meta.case.entry.pattern.shell",patterns:[{include:"#case_statement_context"}]},{begin:"(?<=\\))",beginCaptures:{},end:"(?:(;;)|(?=\\besac\\b))",endCaptures:{1:{name:"punctuation.terminator.statement.case.shell"}},name:"meta.case.entry.body.shell",patterns:[{include:"#normal_statement_inner"},{include:"#initial_context"}]}]},case_statement_context:{patterns:[{match:"\\*",name:"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:"\\+",name:"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:"\\?",name:"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:"@",name:"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{match:"\\|",name:"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},name:"meta.parenthese.shell",patterns:[{include:"#case_statement_context"}]},{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.character-class.shell"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.character-class.shell"}},name:"string.regexp.character-class.shell",patterns:[{match:"\\\\.",name:"constant.character.escape.shell"}]},{include:"#string"},{match:"[^) \\t\\n\\[\\?\\*\\|\\@]",name:"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},comment:{captures:{1:{name:"comment.line.number-sign.shell meta.shebang.shell"},2:{name:"punctuation.definition.comment.shebang.shell"},3:{name:"comment.line.number-sign.shell"},4:{name:"punctuation.definition.comment.shell"}},match:"(?:(?:^|(?:[ \\t]++))(?:((?:(#!)(?:.*)))|((?:(#)(?:.*)))))"},comments:{patterns:[{include:"#block_comment"},{include:"#line_comment"}]},"compound-command":{patterns:[{begin:"\\[{1,2}",beginCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},end:"\\]{1,2}",endCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical-expression"},{include:"#initial_context"}]},{captures:{1:{name:"punctuation.definition.evaluation.arithmetic.begin.shell"},2:{name:"string.other.math.shell",patterns:[{include:"#math"}]},3:{name:"punctuation.definition.evaluation.arithmetic.end.shell"}},match:"(\\$\\({2})(.+)(\\)\\s*\\))"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.subshell.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.subshell.shell"}},name:"meta.scope.subshell.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=\\s|^){(?=\\s|$)",beginCaptures:{0:{name:"punctuation.definition.group.shell"}},end:"(?<=^|;)\\s*(})",endCaptures:{1:{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},continuation_of_double_quoted_command_name:{begin:'(?:\\G(?<="))',beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command",end:'"',endCaptures:{0:{name:"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},patterns:[{match:'\\\\[\\$\\n`"\\\\]',name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},continuation_of_single_quoted_command_name:{begin:"(?:\\G(?<='))",beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command",end:"'",endCaptures:{0:{name:"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},custom_command_names:{patterns:[]},custom_commands:{patterns:[]},double_quote_context:{patterns:[{match:'\\\\[\\$`"\\\\\\n]',name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},double_quote_escape_char:{match:'\\\\[\\$`"\\\\\\n]',name:"constant.character.escape.shell"},function_definition:{applyEndPatternLast:1,begin:`(?:[ \\t]*+)(?:(?:(\\bfunction\\b)(?:[ \\t]*+)([^ \\t\\n\\r\\(\\)="']+)(?:(?:(\\()(?:[ \\t]*+)(\\)))?))|(?:([^ \\t\\n\\r\\(\\)="']+)(?:[ \\t]*+)(\\()(?:[ \\t]*+)(\\))))`,beginCaptures:{1:{name:"storage.type.function.shell"},2:{name:"entity.name.function.shell"},3:{name:"punctuation.definition.arguments.shell"},4:{name:"punctuation.definition.arguments.shell"},5:{name:"entity.name.function.shell"},6:{name:"punctuation.definition.arguments.shell"},7:{name:"punctuation.definition.arguments.shell"}},end:"(?<=\\}|\\))",endCaptures:{},name:"meta.function.shell",patterns:[{match:"(?:\\G(?:\\t| |\\n))"},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{include:"#initial_context"}]},heredoc:{patterns:[{begin:`(?:((?<!<)(?:<<-))(?:[ \\t]*+)("|')(?:[ \\t]*+)([^"']+?)(?=\\s|;|&|<|"|')(?:\\2)(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{},3:{name:"punctuation.definition.string.heredoc.shell"},4:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.quoted.heredoc.indent",end:"(?:(?:^\\t*)(?:\\3)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[]},{begin:`(?:((?<!<)(?:<<)(?!<))(?:[ \\t]*+)("|')(?:[ \\t]*+)([^"']+?)(?=\\s|;|&|<|"|')(?:\\2)(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{},3:{name:"punctuation.definition.string.heredoc.shell"},4:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.quoted.heredoc.no-indent",end:"(?:^(?:\\3)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[]},{begin:`(?:((?<!<)(?:<<-))(?:[ \\t]*+)([^"' \\t]+)(?=\\s|;|&|<|"|')(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{name:"punctuation.definition.string.heredoc.shell"},3:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.unquoted.heredoc.indent",end:"(?:(?:^\\t*)(?:\\2)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]},{begin:`(?:((?<!<)(?:<<)(?!<))(?:[ \\t]*+)([^"' \\t]+)(?=\\s|;|&|<|"|')(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{name:"punctuation.definition.string.heredoc.shell"},3:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.unquoted.heredoc.no-indent",end:"(?:^(?:\\2)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]}]},herestring:{patterns:[{begin:"(<<<)\\s*(('))",beginCaptures:{1:{name:"keyword.operator.herestring.shell"},2:{name:"string.quoted.single.shell"},3:{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.single.shell",end:"(')",endCaptures:{0:{name:"string.quoted.single.shell"},1:{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell"},{begin:'(<<<)\\s*(("))',beginCaptures:{1:{name:"keyword.operator.herestring.shell"},2:{name:"string.quoted.double.shell"},3:{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.double.shell",end:'(")',endCaptures:{0:{name:"string.quoted.double.shell"},1:{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell",patterns:[{include:"#double_quote_context"}]},{captures:{1:{name:"keyword.operator.herestring.shell"},2:{name:"string.unquoted.herestring.shell",patterns:[{include:"#initial_context"}]}},match:"(<<<)\\s*(([^\\s)\\\\]|\\\\.)+)",name:"meta.herestring.shell"}]},initial_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#logical_expression_double"},{include:"#logical_expression_single"},{include:"#keyword_var_statement"},{include:"#case_statement"},{include:"#misc_ranges"},{include:"#loop"},{include:"#function_definition"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#keyword"},{include:"#alias_statement"},{include:"#normal_statement"},{include:"#string"},{include:"#support"}]},inline_comment:{captures:{1:{name:"comment.block.shell punctuation.definition.comment.begin.shell"},2:{name:"comment.block.shell"},3:{patterns:[{match:"\\*\\/",name:"comment.block.shell punctuation.definition.comment.end.shell"},{match:"\\*",name:"comment.block.shell"}]}},match:"(\\/\\*)((?:(?:[^\\*]|(?:(?:\\*++)[^\\/]))*+)((?:(?:\\*++)\\/)))"},interpolation:{patterns:[{captures:{1:{name:"punctuation.definition.evaluation.arithmetic.begin.shell"},2:{name:"string.other.math.shell",patterns:[{include:"#math"}]},3:{name:"punctuation.definition.evaluation.arithmetic.end.shell"}},match:"(\\$\\({2})(.+)(\\)\\s*\\))"},{begin:"`",beginCaptures:{0:{name:"punctuation.definition.evaluation.backticks.shell"}},end:"`",endCaptures:{0:{name:"punctuation.definition.evaluation.backticks.shell"}},name:"string.interpolated.backtick.shell",patterns:[{match:"\\\\[`\\\\$]",name:"constant.character.escape.shell"},{begin:"(?<=\\W)(?=#)(?!#{)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.shell"}},end:"(?!\\G)",patterns:[{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.shell"}},end:"(?=`)",name:"comment.line.number-sign.shell"}]},{include:"#initial_context"}]},{begin:"\\$\\(",beginCaptures:{0:{name:"punctuation.definition.evaluation.parens.begin.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.evaluation.parens.end.shell"}},name:"string.interpolated.dollar.shell",patterns:[{include:"#initial_context"}]}]},keyword:{patterns:[{match:"(?<=^|;|&| |\\t)(?:continue|foreach|return|select|repeat|break|until|while|case|done|elif|else|esac|then|for|end|do|if|fi|in)(?= |\\t|;|&|$)",name:"keyword.control.$0.shell"}]},keyword_var_statement:{begin:"(?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$)",beginCaptures:{0:{name:"storage.modifier.$0.shell"}},end:"\\n",endCaptures:{},name:"meta.statement.shell meta.expression.assignment.shell",patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"},{include:"#array_value"},{captures:{1:{name:"variable.other.assignment.shell"},2:{name:"punctuation.definition.array.access.shell"},3:{name:"variable.other.assignment.shell"},4:{name:"constant.numeric.shell constant.numeric.integer.shell"},5:{name:"punctuation.definition.array.access.shell"},6:{name:"keyword.operator.assignment.shell"},7:{name:"keyword.operator.assignment.compound.shell"},8:{name:"keyword.operator.assignment.compound.shell"},9:{name:"constant.numeric.shell constant.numeric.hex.shell"},10:{name:"constant.numeric.shell constant.numeric.octal.shell"},11:{name:"constant.numeric.shell constant.numeric.other.shell"},12:{name:"constant.numeric.shell constant.numeric.decimal.shell"},13:{name:"constant.numeric.shell constant.numeric.version.shell"},14:{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:"(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?)(?:(?:(?:(\\=)|(\\+\\=))|(\\-\\=))?)(?:(?:(?<==| |\\t|^|\\{|\\(|\\[)(?:(?:(?:(?:(?:(0[xX][0-9A-Fa-f]+)|(0\\d+))|(\\d{1,2}#[0-9a-zA-Z@_]+))|(-?\\d+(?:\\.\\d+)))|(-?\\d+(?:\\.\\d+)+))|(-?\\d+))(?= |\\t|$|\\}|\\)|;))?))"},{include:"#normal_statement_context"}]},line_comment:{begin:"(?:\\s*+)(\\/\\/)",beginCaptures:{1:{name:"punctuation.definition.comment.shell"}},end:"(?<=\\n)(?<!\\\\\\n)",endCaptures:{},name:"comment.line.double-slash.shell",patterns:[{include:"#line_continuation_character"}]},line_continuation:{match:"\\\\(?=\\n)",name:"constant.character.escape.line-continuation.shell"},"logical-expression":{patterns:[{comment:"do we want a special rule for ( expr )?",match:"=[=~]?|!=?|<|>|&&|\\|\\|",name:"keyword.operator.logical.shell"},{match:"(?<!\\S)-(nt|ot|ef|eq|ne|l[te]|g[te]|[a-hknoprstuwxzOGLSN])\\b",name:"keyword.operator.logical.shell"}]},logical_expression_context:{patterns:[{include:"#regex_comparison"},{include:"#logical-expression"},{include:"#logical_expression_single"},{include:"#logical_expression_double"},{include:"#comment"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#pathname"},{include:"#keyword"},{include:"#support"}]},logical_expression_double:{begin:"\\[\\[",beginCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},end:"\\]\\]",endCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},logical_expression_single:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},loop:{patterns:[{begin:"(?<=^|;|&|\\s)(for)\\s+(?=\\({2})",beginCaptures:{1:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)(?:done|(?=\\)))(?=\\s|;|&|$|\\))",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.for-loop.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)(for)\\s+(.+?)\\s+(in)(?=\\s|;|&|$)",beginCaptures:{1:{name:"keyword.control.shell"},2:{name:"variable.other.loop.shell",patterns:[{include:"#string"}]},3:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)done(?=\\s|;|&|$|\\))",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.for-in-loop.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)(while|until)(?=\\s|;|&|$)",beginCaptures:{1:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)done(?=\\s|;|&|$|\\))",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.while-loop.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)(select)\\s+((?:[^\\s\\\\]|\\\\.)+)(?=\\s|;|&|$)",beginCaptures:{1:{name:"keyword.control.shell"},2:{name:"variable.other.loop.shell"}},end:"(?<=^|;|&|\\s)(done)(?=\\s|;|&|$|\\))",endCaptures:{1:{name:"keyword.control.shell"}},name:"meta.scope.select-block.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)if(?=\\s|;|&|$)",beginCaptures:{0:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)fi(?=\\s|;|&|$)",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.if-block.shell",patterns:[{include:"#initial_context"}]}]},math:{patterns:[{include:"#variable"},{match:"\\+{1,2}|-{1,2}|!|~|\\*{1,2}|/|%|<[<=]?|>[>=]?|==|!=|^|\\|{1,2}|&{1,2}|\\?|\\:|,|=|[*/%+\\-&^|]=|<<=|>>=",name:"keyword.operator.arithmetic.shell"},{match:"0[xX][0-9A-Fa-f]+",name:"constant.numeric.hex.shell"},{match:"0\\d+",name:"constant.numeric.octal.shell"},{match:"\\d{1,2}#[0-9a-zA-Z@_]+",name:"constant.numeric.other.shell"},{match:"\\d+",name:"constant.numeric.integer.shell"},{match:"(?<!\\w)(?:[a-zA-Z_0-9]+)(?!\\w)",name:"variable.other.normal.shell"}]},misc_ranges:{patterns:[{include:"#logical_expression_single"},{include:"#logical_expression_double"},{begin:"\\(\\(",beginCaptures:{0:{name:"punctuation.section.arithmetic.shell"}},end:"\\)\\)",endCaptures:{0:{name:"punctuation.section.arithmetic.shell"}},name:"meta.arithmetic.shell",patterns:[{include:"#math"}]},{begin:"(?<!=)\\(",beginCaptures:{0:{name:"punctuation.definition.subshell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.subshell"}},name:"meta.scope.subshell",patterns:[{include:"#initial_context"}]},{begin:"(?<![^ \\t])({)",beginCaptures:{1:{name:"punctuation.definition.group.shell"}},end:"}",endCaptures:{0:{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},modifiers:{match:"(?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$)",name:"storage.modifier.$0.shell"},normal_statement:{begin:"(?:(?!^[ \\t]*+$)(?:(?<=^until | until |\\tuntil |^while | while |\\twhile |^elif | elif |\\telif |^else | else |\\telse |^then | then |\\tthen |^do | do |\\tdo |^if | if |\\tif )|(?<=(?:^|;|\\||&|!|\\(|\\{|\\`)))(?:[ \\t]*+)(?!nocorrect\\W|nocorrect\\$|function\\W|function\\$|foreach\\W|foreach\\$|repeat\\W|repeat\\$|logout\\W|logout\\$|coproc\\W|coproc\\$|select\\W|select\\$|while\\W|while\\$|pushd\\W|pushd\\$|until\\W|until\\$|case\\W|case\\$|done\\W|done\\$|elif\\W|elif\\$|else\\W|else\\$|esac\\W|esac\\$|popd\\W|popd\\$|then\\W|then\\$|time\\W|time\\$|for\\W|for\\$|end\\W|end\\$|fi\\W|fi\\$|do\\W|do\\$|in\\W|in\\$|if\\W|if\\$))",beginCaptures:{},end:"(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\)",endCaptures:{},name:"meta.statement.shell",patterns:[{include:"#normal_statement_inner"}]},normal_statement_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#misc_ranges"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#keyword"},{include:"#support"}]},normal_statement_inner:{patterns:[{include:"#keyword_var_statement"},{include:"#case_statement"},{include:"#function_definition"},{include:"#assignment"},{begin:"(?:(?:[ \\t]*+)(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?!foreach\\b(?!\\/)|select\\b(?!\\/)|repeat\\b(?!\\/)|until\\b(?!\\/)|while\\b(?!\\/)|case\\b(?!\\/)|done\\b(?!\\/)|elif\\b(?!\\/)|else\\b(?!\\/)|esac\\b(?!\\/)|then\\b(?!\\/)|for\\b(?!\\/)|end\\b(?!\\/)|in\\b(?!\\/)|fi\\b(?!\\/)|do\\b(?!\\/)|if\\b(?!\\/))(?!\\\\\\n?$)))",beginCaptures:{},end:"(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\)",endCaptures:{},name:"meta.statement.command.shell",patterns:[{begin:"\\G",beginCaptures:{},end:"(?= |\\t|;|\\||&|$|\\n|\\)|\\`)",endCaptures:{},name:"meta.statement.command.name.shell",patterns:[{include:"#modifiers"},{match:"(?<!\\w)(?:continue|return|break)(?!\\w)",name:"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{match:"(?<!\\w)(?:(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|:|\\.)(?!\\/))(?!\\w)",name:"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{include:"#variable"},{captures:{1:{name:"entity.name.function.call.shell entity.name.command.shell"}},match:`(?:(?<=\\G|'|"|\\}|\\))([^ \\n\\t\\r"'=;&\\|\`\\)\\{]+))`},{begin:`(?:(?:\\G|(?<! |\\t|;|\\||&|\\n|\\{|#))(?:(\\$?)((?:(")|(')))))`,beginCaptures:{1:{name:"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},2:{},3:{name:"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},4:{name:"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},end:"(?<!\\G)(?<=(?:\\2))",endCaptures:{},patterns:[{include:"#continuation_of_single_quoted_command_name"},{include:"#continuation_of_double_quoted_command_name"}]},{include:"#line_continuation"}]},{include:"#line_continuation"},{include:"#option"},{include:"#argument"},{include:"#string"}]},{include:"#line_continuation"},{include:"#normal_statement_context"}]},normal_statement_seperator:{captures:{1:{name:"punctuation.terminator.statement.semicolon.shell"},2:{name:"punctuation.separator.statement.and.shell"},3:{name:"punctuation.separator.statement.or.shell"},4:{name:"punctuation.separator.statement.background.shell"}},match:"(?:(?:(?:(;)|(&&))|(\\|\\|))|(&))"},numeric_literal:{captures:{1:{name:"constant.numeric.shell constant.numeric.hex.shell"},2:{name:"constant.numeric.shell constant.numeric.octal.shell"},3:{name:"constant.numeric.shell constant.numeric.other.shell"},4:{name:"constant.numeric.shell constant.numeric.decimal.shell"},5:{name:"constant.numeric.shell constant.numeric.version.shell"},6:{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:"(?<==| |\\t|^|\\{|\\(|\\[)(?:(?:(?:(?:(?:(0[xX][0-9A-Fa-f]+)|(0\\d+))|(\\d{1,2}#[0-9a-zA-Z@_]+))|(-?\\d+(?:\\.\\d+)))|(-?\\d+(?:\\.\\d+)+))|(-?\\d+))(?= |\\t|$|\\}|\\)|;)"},option:{begin:"(?:(?:[ \\t]++)(-)((?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))))",beginCaptures:{1:{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},2:{name:"string.unquoted.argument.shell constant.other.option.shell"}},contentName:"string.unquoted.argument constant.other.option",end:"(?:(?=[ \\t])|(?:(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\)))",endCaptures:{},patterns:[{include:"#option_context"}]},option_context:{patterns:[{include:"#misc_ranges"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#keyword"},{include:"#support"}]},pathname:{patterns:[{match:"(?<=\\s|:|=|^)~",name:"keyword.operator.tilde.shell"},{match:"\\*|\\?",name:"keyword.operator.glob.shell"},{begin:"([?*+@!])(\\()",beginCaptures:{1:{name:"keyword.operator.extglob.shell"},2:{name:"punctuation.definition.extglob.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.extglob.shell"}},name:"meta.structure.extglob.shell",patterns:[{include:"#initial_context"}]}]},pipeline:{patterns:[{match:"(?<=^|;|&|\\s)(time)(?=\\s|;|&|$)",name:"keyword.other.shell"},{match:"[|!]",name:"keyword.operator.pipe.shell"}]},redirect_fix:{captures:{1:{name:"keyword.operator.redirect.shell"},2:{name:"string.unquoted.argument.shell"}},match:"(?:(>>?)(?:[ \\t]*+)([^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]+))"},redirect_number:{captures:{1:{name:"keyword.operator.redirect.stdout.shell"},2:{name:"keyword.operator.redirect.stderr.shell"},3:{name:"keyword.operator.redirect.$3.shell"}},match:"(?<=[ \\t])(?:(?:(1)|(2)|(\\d+))(?=>))"},redirection:{patterns:[{begin:"[><]\\(",beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.interpolated.process-substitution.shell",patterns:[{include:"#initial_context"}]},{match:"(?<![<>])(&>|\\d*>&\\d*|\\d*(>>|>|<)|\\d*<&|\\d*<>)(?![<>])",name:"keyword.operator.redirect.shell"}]},regex_comparison:{match:"\\=~",name:"keyword.operator.logical.regex.shell"},regexp:{patterns:[{match:"(?:.+)"}]},simple_options:{captures:{0:{patterns:[{captures:{1:{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},2:{name:"string.unquoted.argument.shell constant.other.option.shell"}},match:"(?:[ \\t]++)(\\-)(\\w+)"}]}},match:"(?:(?:[ \\t]++)\\-(?:\\w+))*"},simple_unquoted:{match:"[^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]",name:"string.unquoted.shell"},start_of_command:{match:"(?:(?:[ \\t]*+)(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?!foreach\\b(?!\\/)|select\\b(?!\\/)|repeat\\b(?!\\/)|until\\b(?!\\/)|while\\b(?!\\/)|case\\b(?!\\/)|done\\b(?!\\/)|elif\\b(?!\\/)|else\\b(?!\\/)|esac\\b(?!\\/)|then\\b(?!\\/)|for\\b(?!\\/)|end\\b(?!\\/)|in\\b(?!\\/)|fi\\b(?!\\/)|do\\b(?!\\/)|if\\b(?!\\/))(?!\\\\\\n?$)))"},start_of_double_quoted_command_name:{captures:{1:{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:"\\*",name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{1:{name:"constant.language.$1.shell"}},match:"(?<!\\w)(\\b(?:true|false)\\b)(?!\\w)"}]}},match:'(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?:(?:(?:[ \\t]*+)((?:[^ \\t\\n\'&;<>\\(\\)\\$`\\\\"\\|]+)(?!>)))?)(?:(?:\\$")|"))',name:"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},start_of_single_quoted_command_name:{captures:{1:{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:"\\*",name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{1:{name:"constant.language.$1.shell"}},match:"(?<!\\w)(\\b(?:true|false)\\b)(?!\\w)"}]}},match:"(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?:(?:(?:[ \\t]*+)((?:[^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]+)(?!>)))?)(?:(?:\\$')|'))",name:"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},string:{patterns:[{match:"\\\\.",name:"constant.character.escape.shell"},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.shell"},{begin:'\\$?"',beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.double.shell",patterns:[{match:'\\\\[\\$\\n`"\\\\]',name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},{begin:"\\$'",beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.dollar.shell",patterns:[{match:"\\\\(?:a|b|e|f|n|r|t|v|\\\\|')",name:"constant.character.escape.ansi-c.shell"},{match:'\\\\[0-9]{3}"',name:"constant.character.escape.octal.shell"},{match:'\\\\x[0-9a-fA-F]{2}"',name:"constant.character.escape.hex.shell"},{match:'\\\\c."',name:"constant.character.escape.control-char.shell"}]}]},support:{patterns:[{match:"(?<=^|;|&|\\s)(?::|\\.)(?=\\s|;|&|$)",name:"support.function.builtin.shell"}]},variable:{patterns:[{captures:{1:{name:"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},2:{name:"variable.parameter.positional.all.shell"}},match:"(?:(\\$)(\\@(?!\\w)))"},{captures:{1:{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},2:{name:"variable.parameter.positional.shell"}},match:"(?:(\\$)([0-9](?!\\w)))"},{captures:{1:{name:"punctuation.definition.variable.shell variable.language.special.shell"},2:{name:"variable.language.special.shell"}},match:"(?:(\\$)([-*#?$!0_](?!\\w)))"},{begin:"(?:(\\$)(\\{)(?:[ \\t]*+)(?=\\d))",beginCaptures:{1:{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},2:{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},contentName:"meta.parameter-expansion",end:"\\}",endCaptures:{0:{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},patterns:[{match:"!|:[-=?]?|\\*|@|##|#|%%|%|\\/",name:"keyword.operator.expansion.shell"},{captures:{1:{name:"punctuation.section.array.shell"},2:{name:"punctuation.section.array.shell"}},match:"(?:(\\[)(?:[^\\]]+)(\\]))"},{match:"[0-9]+",name:"variable.parameter.positional.shell"},{match:"(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w)",name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{begin:"(?:(\\$)(\\{))",beginCaptures:{1:{name:"punctuation.definition.variable.shell"},2:{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},contentName:"meta.parameter-expansion",end:"\\}",endCaptures:{0:{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},patterns:[{match:"!|:[-=?]?|\\*|@|##|#|%%|%|\\/",name:"keyword.operator.expansion.shell"},{captures:{1:{name:"punctuation.section.array.shell"},2:{name:"punctuation.section.array.shell"}},match:"(?:(\\[)(?:[^\\]]+)(\\]))"},{match:"(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w)",name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{captures:{1:{name:"punctuation.definition.variable.shell variable.other.normal.shell"},2:{name:"variable.other.normal.shell"}},match:"(?:(\\$)((?:\\w+)(?!\\w)))"}]}},scopeName:"source.shell",aliases:["bash","sh","shell","zsh"]});var n=[e];export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze({displayName:"Shell",name:"shellscript",patterns:[{include:"#initial_context"}],repository:{alias_statement:{begin:"(?:(alias)(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*))(?:(?:[ \\t]*+)(?:(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*)))?)(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?))(?:(?:(\\=)|(\\+\\=))|(\\-\\=))))",beginCaptures:{1:{name:"storage.type.alias.shell"},2:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},3:{name:"string.unquoted.argument.shell constant.other.option.shell"},4:{name:"storage.modifier.$4.shell"},5:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},6:{name:"string.unquoted.argument.shell constant.other.option.shell"},7:{name:"variable.other.assignment.shell"},8:{name:"punctuation.definition.array.access.shell"},9:{name:"variable.other.assignment.shell"},10:{name:"constant.numeric.shell constant.numeric.integer.shell"},11:{name:"punctuation.definition.array.access.shell"},12:{name:"keyword.operator.assignment.shell"},13:{name:"keyword.operator.assignment.compound.shell"},14:{name:"keyword.operator.assignment.compound.shell"}},end:"(?:(?= |\\t|$)|(?:(?:(?:(;)|(&&))|(\\|\\|))|(&)))",endCaptures:{1:{name:"punctuation.terminator.statement.semicolon.shell"},2:{name:"punctuation.separator.statement.and.shell"},3:{name:"punctuation.separator.statement.or.shell"},4:{name:"punctuation.separator.statement.background.shell"}},name:"meta.expression.assignment.shell",patterns:[{include:"#normal_statement_context"}]},argument:{begin:"(?:[ \\t]++)(?!(?:&|\\||\\(|\\[|#|\\n|$|;))",beginCaptures:{},end:"(?= |\\t|;|\\||&|$|\\n|\\)|\\`)",endCaptures:{},name:"meta.argument.shell",patterns:[{include:"#argument_context"},{include:"#line_continuation"}]},argument_context:{patterns:[{captures:{1:{name:"string.unquoted.argument.shell",patterns:[{match:"\\*",name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{1:{name:"constant.language.$1.shell"}},match:"(?<!\\w)(\\b(?:true|false)\\b)(?!\\w)"}]}},match:"(?:[ \\t]*+)((?:[^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]+)(?!>))"},{include:"#normal_statement_context"}]},array_value:{begin:"(?:[ \\t]*+)(?:(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*)))?)(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?))(?:(?:(\\=)|(\\+\\=))|(\\-\\=))(?:[ \\t]*+)(\\()",beginCaptures:{1:{name:"storage.modifier.$1.shell"},2:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},3:{name:"string.unquoted.argument.shell constant.other.option.shell"},4:{name:"variable.other.assignment.shell"},5:{name:"punctuation.definition.array.access.shell"},6:{name:"variable.other.assignment.shell"},7:{name:"constant.numeric.shell constant.numeric.integer.shell"},8:{name:"punctuation.definition.array.access.shell"},9:{name:"keyword.operator.assignment.shell"},10:{name:"keyword.operator.assignment.compound.shell"},11:{name:"keyword.operator.assignment.compound.shell"},12:{name:"punctuation.definition.array.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.array.shell"}},patterns:[{include:"#comment"},{captures:{1:{name:"punctuation.definition.bracket.shell"},2:{name:"string.unquoted.shell entity.other.attribute-name.shell"},3:{name:"punctuation.definition.bracket.shell"},4:{name:"punctuation.definition.assignment.shell"}},match:"(?:(\\[)(.+?)(\\])(\\=))"},{include:"#normal_statement_context"},{include:"#simple_unquoted"}]},assignment:{patterns:[{include:"#array_value"},{begin:"(?:[ \\t]*+)(?:(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*)))?)(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?))(?:(?:(\\=)|(\\+\\=))|(\\-\\=))",beginCaptures:{1:{name:"storage.modifier.$1.shell"},2:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},3:{name:"string.unquoted.argument.shell constant.other.option.shell"},4:{name:"variable.other.assignment.shell"},5:{name:"punctuation.definition.array.access.shell"},6:{name:"variable.other.assignment.shell"},7:{name:"constant.numeric.shell constant.numeric.integer.shell"},8:{name:"punctuation.definition.array.access.shell"},9:{name:"keyword.operator.assignment.shell"},10:{name:"keyword.operator.assignment.compound.shell"},11:{name:"keyword.operator.assignment.compound.shell"}},end:"(?:(?= |\\t|$)|(?:(?:(?:(;)|(&&))|(\\|\\|))|(&)))",endCaptures:{1:{name:"punctuation.terminator.statement.semicolon.shell"},2:{name:"punctuation.separator.statement.and.shell"},3:{name:"punctuation.separator.statement.or.shell"},4:{name:"punctuation.separator.statement.background.shell"}},name:"meta.expression.assignment.shell",patterns:[{include:"#comment"},{include:"#argument_context"}]}]},basic_command_name:{captures:{1:{name:"storage.modifier.$1.shell"},2:{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:"(?<!\\w)(?:continue|return|break)(?!\\w)",name:"keyword.control.$0.shell"},{match:"(?<!\\w)(?:(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|:|\\.)(?!\\/))(?!\\w)",name:"support.function.builtin.shell"},{include:"#variable"}]}},match:`(?:(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?!foreach\\b(?!\\/)|select\\b(?!\\/)|repeat\\b(?!\\/)|until\\b(?!\\/)|while\\b(?!\\/)|case\\b(?!\\/)|done\\b(?!\\/)|elif\\b(?!\\/)|else\\b(?!\\/)|esac\\b(?!\\/)|then\\b(?!\\/)|for\\b(?!\\/)|end\\b(?!\\/)|in\\b(?!\\/)|fi\\b(?!\\/)|do\\b(?!\\/)|if\\b(?!\\/)))(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))|((?!"|'|\\\\\\n?$)(?:[^!'" \\t\\n\\r]+?)))(?:(?= |\\t)|(?:(?=;|\\||&|\\n|\\)|\\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\))))`,name:"meta.statement.command.name.basic.shell"},block_comment:{begin:"(?:(?:\\s*+)(\\/\\*))",beginCaptures:{1:{name:"punctuation.definition.comment.begin.shell"}},end:"\\*\\/",endCaptures:{0:{name:"punctuation.definition.comment.end.shell"}},name:"comment.block.shell"},boolean:{match:"\\b(?:true|false)\\b",name:"constant.language.$0.shell"},case_statement:{begin:"(?:(\\bcase\\b)(?:[ \\t]*+)(.+)(?:[ \\t]*+)(\\bin\\b))",beginCaptures:{1:{name:"keyword.control.case.shell"},2:{patterns:[{include:"#initial_context"}]},3:{name:"keyword.control.in.shell"}},end:"\\besac\\b",endCaptures:{0:{name:"keyword.control.esac.shell"}},name:"meta.case.shell",patterns:[{include:"#comment"},{captures:{1:{name:"keyword.operator.pattern.case.default.shell"}},match:"(?:[ \\t]*+)(\\* *\\))"},{begin:"(?<!\\))(?!(?:[ \\t]*+)(?:esac\\b|$))",beginCaptures:{},end:"(?:(?=\\besac\\b)|(\\)))",endCaptures:{1:{name:"keyword.operator.pattern.case.shell"}},name:"meta.case.entry.pattern.shell",patterns:[{include:"#case_statement_context"}]},{begin:"(?<=\\))",beginCaptures:{},end:"(?:(;;)|(?=\\besac\\b))",endCaptures:{1:{name:"punctuation.terminator.statement.case.shell"}},name:"meta.case.entry.body.shell",patterns:[{include:"#normal_statement_inner"},{include:"#initial_context"}]}]},case_statement_context:{patterns:[{match:"\\*",name:"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:"\\+",name:"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:"\\?",name:"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:"@",name:"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{match:"\\|",name:"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},name:"meta.parenthese.shell",patterns:[{include:"#case_statement_context"}]},{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.character-class.shell"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.character-class.shell"}},name:"string.regexp.character-class.shell",patterns:[{match:"\\\\.",name:"constant.character.escape.shell"}]},{include:"#string"},{match:"[^) \\t\\n\\[\\?\\*\\|\\@]",name:"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},comment:{captures:{1:{name:"comment.line.number-sign.shell meta.shebang.shell"},2:{name:"punctuation.definition.comment.shebang.shell"},3:{name:"comment.line.number-sign.shell"},4:{name:"punctuation.definition.comment.shell"}},match:"(?:(?:^|(?:[ \\t]++))(?:((?:(#!)(?:.*)))|((?:(#)(?:.*)))))"},comments:{patterns:[{include:"#block_comment"},{include:"#line_comment"}]},"compound-command":{patterns:[{begin:"\\[{1,2}",beginCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},end:"\\]{1,2}",endCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical-expression"},{include:"#initial_context"}]},{captures:{1:{name:"punctuation.definition.evaluation.arithmetic.begin.shell"},2:{name:"string.other.math.shell",patterns:[{include:"#math"}]},3:{name:"punctuation.definition.evaluation.arithmetic.end.shell"}},match:"(\\$\\({2})(.+)(\\)\\s*\\))"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.subshell.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.subshell.shell"}},name:"meta.scope.subshell.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=\\s|^){(?=\\s|$)",beginCaptures:{0:{name:"punctuation.definition.group.shell"}},end:"(?<=^|;)\\s*(})",endCaptures:{1:{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},continuation_of_double_quoted_command_name:{begin:'(?:\\G(?<="))',beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command",end:'"',endCaptures:{0:{name:"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},patterns:[{match:'\\\\[\\$\\n`"\\\\]',name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},continuation_of_single_quoted_command_name:{begin:"(?:\\G(?<='))",beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command",end:"'",endCaptures:{0:{name:"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},custom_command_names:{patterns:[]},custom_commands:{patterns:[]},double_quote_context:{patterns:[{match:'\\\\[\\$`"\\\\\\n]',name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},double_quote_escape_char:{match:'\\\\[\\$`"\\\\\\n]',name:"constant.character.escape.shell"},function_definition:{applyEndPatternLast:1,begin:`(?:[ \\t]*+)(?:(?:(\\bfunction\\b)(?:[ \\t]*+)([^ \\t\\n\\r\\(\\)="']+)(?:(?:(\\()(?:[ \\t]*+)(\\)))?))|(?:([^ \\t\\n\\r\\(\\)="']+)(?:[ \\t]*+)(\\()(?:[ \\t]*+)(\\))))`,beginCaptures:{1:{name:"storage.type.function.shell"},2:{name:"entity.name.function.shell"},3:{name:"punctuation.definition.arguments.shell"},4:{name:"punctuation.definition.arguments.shell"},5:{name:"entity.name.function.shell"},6:{name:"punctuation.definition.arguments.shell"},7:{name:"punctuation.definition.arguments.shell"}},end:"(?<=\\}|\\))",endCaptures:{},name:"meta.function.shell",patterns:[{match:"(?:\\G(?:\\t| |\\n))"},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{include:"#initial_context"}]},heredoc:{patterns:[{begin:`(?:((?<!<)(?:<<-))(?:[ \\t]*+)("|')(?:[ \\t]*+)([^"']+?)(?=\\s|;|&|<|"|')(?:\\2)(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{},3:{name:"punctuation.definition.string.heredoc.shell"},4:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.quoted.heredoc.indent",end:"(?:(?:^\\t*)(?:\\3)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[]},{begin:`(?:((?<!<)(?:<<)(?!<))(?:[ \\t]*+)("|')(?:[ \\t]*+)([^"']+?)(?=\\s|;|&|<|"|')(?:\\2)(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{},3:{name:"punctuation.definition.string.heredoc.shell"},4:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.quoted.heredoc.no-indent",end:"(?:^(?:\\3)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[]},{begin:`(?:((?<!<)(?:<<-))(?:[ \\t]*+)([^"' \\t]+)(?=\\s|;|&|<|"|')(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{name:"punctuation.definition.string.heredoc.shell"},3:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.unquoted.heredoc.indent",end:"(?:(?:^\\t*)(?:\\2)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]},{begin:`(?:((?<!<)(?:<<)(?!<))(?:[ \\t]*+)([^"' \\t]+)(?=\\s|;|&|<|"|')(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{name:"punctuation.definition.string.heredoc.shell"},3:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.unquoted.heredoc.no-indent",end:"(?:^(?:\\2)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]}]},herestring:{patterns:[{begin:"(<<<)\\s*(('))",beginCaptures:{1:{name:"keyword.operator.herestring.shell"},2:{name:"string.quoted.single.shell"},3:{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.single.shell",end:"(')",endCaptures:{0:{name:"string.quoted.single.shell"},1:{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell"},{begin:'(<<<)\\s*(("))',beginCaptures:{1:{name:"keyword.operator.herestring.shell"},2:{name:"string.quoted.double.shell"},3:{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.double.shell",end:'(")',endCaptures:{0:{name:"string.quoted.double.shell"},1:{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell",patterns:[{include:"#double_quote_context"}]},{captures:{1:{name:"keyword.operator.herestring.shell"},2:{name:"string.unquoted.herestring.shell",patterns:[{include:"#initial_context"}]}},match:"(<<<)\\s*(([^\\s)\\\\]|\\\\.)+)",name:"meta.herestring.shell"}]},initial_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#logical_expression_double"},{include:"#logical_expression_single"},{include:"#keyword_var_statement"},{include:"#case_statement"},{include:"#misc_ranges"},{include:"#loop"},{include:"#function_definition"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#keyword"},{include:"#alias_statement"},{include:"#normal_statement"},{include:"#string"},{include:"#support"}]},inline_comment:{captures:{1:{name:"comment.block.shell punctuation.definition.comment.begin.shell"},2:{name:"comment.block.shell"},3:{patterns:[{match:"\\*\\/",name:"comment.block.shell punctuation.definition.comment.end.shell"},{match:"\\*",name:"comment.block.shell"}]}},match:"(\\/\\*)((?:(?:[^\\*]|(?:(?:\\*++)[^\\/]))*+)((?:(?:\\*++)\\/)))"},interpolation:{patterns:[{captures:{1:{name:"punctuation.definition.evaluation.arithmetic.begin.shell"},2:{name:"string.other.math.shell",patterns:[{include:"#math"}]},3:{name:"punctuation.definition.evaluation.arithmetic.end.shell"}},match:"(\\$\\({2})(.+)(\\)\\s*\\))"},{begin:"`",beginCaptures:{0:{name:"punctuation.definition.evaluation.backticks.shell"}},end:"`",endCaptures:{0:{name:"punctuation.definition.evaluation.backticks.shell"}},name:"string.interpolated.backtick.shell",patterns:[{match:"\\\\[`\\\\$]",name:"constant.character.escape.shell"},{begin:"(?<=\\W)(?=#)(?!#{)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.shell"}},end:"(?!\\G)",patterns:[{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.shell"}},end:"(?=`)",name:"comment.line.number-sign.shell"}]},{include:"#initial_context"}]},{begin:"\\$\\(",beginCaptures:{0:{name:"punctuation.definition.evaluation.parens.begin.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.evaluation.parens.end.shell"}},name:"string.interpolated.dollar.shell",patterns:[{include:"#initial_context"}]}]},keyword:{patterns:[{match:"(?<=^|;|&| |\\t)(?:continue|foreach|return|select|repeat|break|until|while|case|done|elif|else|esac|then|for|end|do|if|fi|in)(?= |\\t|;|&|$)",name:"keyword.control.$0.shell"}]},keyword_var_statement:{begin:"(?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$)",beginCaptures:{0:{name:"storage.modifier.$0.shell"}},end:"\\n",endCaptures:{},name:"meta.statement.shell meta.expression.assignment.shell",patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"},{include:"#array_value"},{captures:{1:{name:"variable.other.assignment.shell"},2:{name:"punctuation.definition.array.access.shell"},3:{name:"variable.other.assignment.shell"},4:{name:"constant.numeric.shell constant.numeric.integer.shell"},5:{name:"punctuation.definition.array.access.shell"},6:{name:"keyword.operator.assignment.shell"},7:{name:"keyword.operator.assignment.compound.shell"},8:{name:"keyword.operator.assignment.compound.shell"},9:{name:"constant.numeric.shell constant.numeric.hex.shell"},10:{name:"constant.numeric.shell constant.numeric.octal.shell"},11:{name:"constant.numeric.shell constant.numeric.other.shell"},12:{name:"constant.numeric.shell constant.numeric.decimal.shell"},13:{name:"constant.numeric.shell constant.numeric.version.shell"},14:{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:"(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?)(?:(?:(?:(\\=)|(\\+\\=))|(\\-\\=))?)(?:(?:(?<==| |\\t|^|\\{|\\(|\\[)(?:(?:(?:(?:(?:(0[xX][0-9A-Fa-f]+)|(0\\d+))|(\\d{1,2}#[0-9a-zA-Z@_]+))|(-?\\d+(?:\\.\\d+)))|(-?\\d+(?:\\.\\d+)+))|(-?\\d+))(?= |\\t|$|\\}|\\)|;))?))"},{include:"#normal_statement_context"}]},line_comment:{begin:"(?:\\s*+)(\\/\\/)",beginCaptures:{1:{name:"punctuation.definition.comment.shell"}},end:"(?<=\\n)(?<!\\\\\\n)",endCaptures:{},name:"comment.line.double-slash.shell",patterns:[{include:"#line_continuation_character"}]},line_continuation:{match:"\\\\(?=\\n)",name:"constant.character.escape.line-continuation.shell"},"logical-expression":{patterns:[{comment:"do we want a special rule for ( expr )?",match:"=[=~]?|!=?|<|>|&&|\\|\\|",name:"keyword.operator.logical.shell"},{match:"(?<!\\S)-(nt|ot|ef|eq|ne|l[te]|g[te]|[a-hknoprstuwxzOGLSN])\\b",name:"keyword.operator.logical.shell"}]},logical_expression_context:{patterns:[{include:"#regex_comparison"},{include:"#logical-expression"},{include:"#logical_expression_single"},{include:"#logical_expression_double"},{include:"#comment"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#pathname"},{include:"#keyword"},{include:"#support"}]},logical_expression_double:{begin:"\\[\\[",beginCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},end:"\\]\\]",endCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},logical_expression_single:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},loop:{patterns:[{begin:"(?<=^|;|&|\\s)(for)\\s+(?=\\({2})",beginCaptures:{1:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)(?:done|(?=\\)))(?=\\s|;|&|$|\\))",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.for-loop.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)(for)\\s+(.+?)\\s+(in)(?=\\s|;|&|$)",beginCaptures:{1:{name:"keyword.control.shell"},2:{name:"variable.other.loop.shell",patterns:[{include:"#string"}]},3:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)done(?=\\s|;|&|$|\\))",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.for-in-loop.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)(while|until)(?=\\s|;|&|$)",beginCaptures:{1:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)done(?=\\s|;|&|$|\\))",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.while-loop.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)(select)\\s+((?:[^\\s\\\\]|\\\\.)+)(?=\\s|;|&|$)",beginCaptures:{1:{name:"keyword.control.shell"},2:{name:"variable.other.loop.shell"}},end:"(?<=^|;|&|\\s)(done)(?=\\s|;|&|$|\\))",endCaptures:{1:{name:"keyword.control.shell"}},name:"meta.scope.select-block.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)if(?=\\s|;|&|$)",beginCaptures:{0:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)fi(?=\\s|;|&|$)",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.if-block.shell",patterns:[{include:"#initial_context"}]}]},math:{patterns:[{include:"#variable"},{match:"\\+{1,2}|-{1,2}|!|~|\\*{1,2}|/|%|<[<=]?|>[>=]?|==|!=|^|\\|{1,2}|&{1,2}|\\?|\\:|,|=|[*/%+\\-&^|]=|<<=|>>=",name:"keyword.operator.arithmetic.shell"},{match:"0[xX][0-9A-Fa-f]+",name:"constant.numeric.hex.shell"},{match:"0\\d+",name:"constant.numeric.octal.shell"},{match:"\\d{1,2}#[0-9a-zA-Z@_]+",name:"constant.numeric.other.shell"},{match:"\\d+",name:"constant.numeric.integer.shell"},{match:"(?<!\\w)(?:[a-zA-Z_0-9]+)(?!\\w)",name:"variable.other.normal.shell"}]},misc_ranges:{patterns:[{include:"#logical_expression_single"},{include:"#logical_expression_double"},{begin:"\\(\\(",beginCaptures:{0:{name:"punctuation.section.arithmetic.shell"}},end:"\\)\\)",endCaptures:{0:{name:"punctuation.section.arithmetic.shell"}},name:"meta.arithmetic.shell",patterns:[{include:"#math"}]},{begin:"(?<!=)\\(",beginCaptures:{0:{name:"punctuation.definition.subshell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.subshell"}},name:"meta.scope.subshell",patterns:[{include:"#initial_context"}]},{begin:"(?<![^ \\t])({)",beginCaptures:{1:{name:"punctuation.definition.group.shell"}},end:"}",endCaptures:{0:{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},modifiers:{match:"(?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$)",name:"storage.modifier.$0.shell"},normal_statement:{begin:"(?:(?!^[ \\t]*+$)(?:(?<=^until | until |\\tuntil |^while | while |\\twhile |^elif | elif |\\telif |^else | else |\\telse |^then | then |\\tthen |^do | do |\\tdo |^if | if |\\tif )|(?<=(?:^|;|\\||&|!|\\(|\\{|\\`)))(?:[ \\t]*+)(?!nocorrect\\W|nocorrect\\$|function\\W|function\\$|foreach\\W|foreach\\$|repeat\\W|repeat\\$|logout\\W|logout\\$|coproc\\W|coproc\\$|select\\W|select\\$|while\\W|while\\$|pushd\\W|pushd\\$|until\\W|until\\$|case\\W|case\\$|done\\W|done\\$|elif\\W|elif\\$|else\\W|else\\$|esac\\W|esac\\$|popd\\W|popd\\$|then\\W|then\\$|time\\W|time\\$|for\\W|for\\$|end\\W|end\\$|fi\\W|fi\\$|do\\W|do\\$|in\\W|in\\$|if\\W|if\\$))",beginCaptures:{},end:"(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\)",endCaptures:{},name:"meta.statement.shell",patterns:[{include:"#normal_statement_inner"}]},normal_statement_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#misc_ranges"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#keyword"},{include:"#support"}]},normal_statement_inner:{patterns:[{include:"#keyword_var_statement"},{include:"#case_statement"},{include:"#function_definition"},{include:"#assignment"},{begin:"(?:(?:[ \\t]*+)(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?!foreach\\b(?!\\/)|select\\b(?!\\/)|repeat\\b(?!\\/)|until\\b(?!\\/)|while\\b(?!\\/)|case\\b(?!\\/)|done\\b(?!\\/)|elif\\b(?!\\/)|else\\b(?!\\/)|esac\\b(?!\\/)|then\\b(?!\\/)|for\\b(?!\\/)|end\\b(?!\\/)|in\\b(?!\\/)|fi\\b(?!\\/)|do\\b(?!\\/)|if\\b(?!\\/))(?!\\\\\\n?$)))",beginCaptures:{},end:"(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\)",endCaptures:{},name:"meta.statement.command.shell",patterns:[{begin:"\\G",beginCaptures:{},end:"(?= |\\t|;|\\||&|$|\\n|\\)|\\`)",endCaptures:{},name:"meta.statement.command.name.shell",patterns:[{include:"#modifiers"},{match:"(?<!\\w)(?:continue|return|break)(?!\\w)",name:"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{match:"(?<!\\w)(?:(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|:|\\.)(?!\\/))(?!\\w)",name:"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{include:"#variable"},{captures:{1:{name:"entity.name.function.call.shell entity.name.command.shell"}},match:`(?:(?<=\\G|'|"|\\}|\\))([^ \\n\\t\\r"'=;&\\|\`\\)\\{]+))`},{begin:`(?:(?:\\G|(?<! |\\t|;|\\||&|\\n|\\{|#))(?:(\\$?)((?:(")|(')))))`,beginCaptures:{1:{name:"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},2:{},3:{name:"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},4:{name:"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},end:"(?<!\\G)(?<=(?:\\2))",endCaptures:{},patterns:[{include:"#continuation_of_single_quoted_command_name"},{include:"#continuation_of_double_quoted_command_name"}]},{include:"#line_continuation"}]},{include:"#line_continuation"},{include:"#option"},{include:"#argument"},{include:"#string"}]},{include:"#line_continuation"},{include:"#normal_statement_context"}]},normal_statement_seperator:{captures:{1:{name:"punctuation.terminator.statement.semicolon.shell"},2:{name:"punctuation.separator.statement.and.shell"},3:{name:"punctuation.separator.statement.or.shell"},4:{name:"punctuation.separator.statement.background.shell"}},match:"(?:(?:(?:(;)|(&&))|(\\|\\|))|(&))"},numeric_literal:{captures:{1:{name:"constant.numeric.shell constant.numeric.hex.shell"},2:{name:"constant.numeric.shell constant.numeric.octal.shell"},3:{name:"constant.numeric.shell constant.numeric.other.shell"},4:{name:"constant.numeric.shell constant.numeric.decimal.shell"},5:{name:"constant.numeric.shell constant.numeric.version.shell"},6:{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:"(?<==| |\\t|^|\\{|\\(|\\[)(?:(?:(?:(?:(?:(0[xX][0-9A-Fa-f]+)|(0\\d+))|(\\d{1,2}#[0-9a-zA-Z@_]+))|(-?\\d+(?:\\.\\d+)))|(-?\\d+(?:\\.\\d+)+))|(-?\\d+))(?= |\\t|$|\\}|\\)|;)"},option:{begin:"(?:(?:[ \\t]++)(-)((?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))))",beginCaptures:{1:{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},2:{name:"string.unquoted.argument.shell constant.other.option.shell"}},contentName:"string.unquoted.argument constant.other.option",end:"(?:(?=[ \\t])|(?:(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\)))",endCaptures:{},patterns:[{include:"#option_context"}]},option_context:{patterns:[{include:"#misc_ranges"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#keyword"},{include:"#support"}]},pathname:{patterns:[{match:"(?<=\\s|:|=|^)~",name:"keyword.operator.tilde.shell"},{match:"\\*|\\?",name:"keyword.operator.glob.shell"},{begin:"([?*+@!])(\\()",beginCaptures:{1:{name:"keyword.operator.extglob.shell"},2:{name:"punctuation.definition.extglob.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.extglob.shell"}},name:"meta.structure.extglob.shell",patterns:[{include:"#initial_context"}]}]},pipeline:{patterns:[{match:"(?<=^|;|&|\\s)(time)(?=\\s|;|&|$)",name:"keyword.other.shell"},{match:"[|!]",name:"keyword.operator.pipe.shell"}]},redirect_fix:{captures:{1:{name:"keyword.operator.redirect.shell"},2:{name:"string.unquoted.argument.shell"}},match:"(?:(>>?)(?:[ \\t]*+)([^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]+))"},redirect_number:{captures:{1:{name:"keyword.operator.redirect.stdout.shell"},2:{name:"keyword.operator.redirect.stderr.shell"},3:{name:"keyword.operator.redirect.$3.shell"}},match:"(?<=[ \\t])(?:(?:(1)|(2)|(\\d+))(?=>))"},redirection:{patterns:[{begin:"[><]\\(",beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.interpolated.process-substitution.shell",patterns:[{include:"#initial_context"}]},{match:"(?<![<>])(&>|\\d*>&\\d*|\\d*(>>|>|<)|\\d*<&|\\d*<>)(?![<>])",name:"keyword.operator.redirect.shell"}]},regex_comparison:{match:"\\=~",name:"keyword.operator.logical.regex.shell"},regexp:{patterns:[{match:"(?:.+)"}]},simple_options:{captures:{0:{patterns:[{captures:{1:{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},2:{name:"string.unquoted.argument.shell constant.other.option.shell"}},match:"(?:[ \\t]++)(\\-)(\\w+)"}]}},match:"(?:(?:[ \\t]++)\\-(?:\\w+))*"},simple_unquoted:{match:"[^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]",name:"string.unquoted.shell"},start_of_command:{match:"(?:(?:[ \\t]*+)(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?!foreach\\b(?!\\/)|select\\b(?!\\/)|repeat\\b(?!\\/)|until\\b(?!\\/)|while\\b(?!\\/)|case\\b(?!\\/)|done\\b(?!\\/)|elif\\b(?!\\/)|else\\b(?!\\/)|esac\\b(?!\\/)|then\\b(?!\\/)|for\\b(?!\\/)|end\\b(?!\\/)|in\\b(?!\\/)|fi\\b(?!\\/)|do\\b(?!\\/)|if\\b(?!\\/))(?!\\\\\\n?$)))"},start_of_double_quoted_command_name:{captures:{1:{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:"\\*",name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{1:{name:"constant.language.$1.shell"}},match:"(?<!\\w)(\\b(?:true|false)\\b)(?!\\w)"}]}},match:'(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?:(?:(?:[ \\t]*+)((?:[^ \\t\\n\'&;<>\\(\\)\\$`\\\\"\\|]+)(?!>)))?)(?:(?:\\$")|"))',name:"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},start_of_single_quoted_command_name:{captures:{1:{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:"\\*",name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{1:{name:"constant.language.$1.shell"}},match:"(?<!\\w)(\\b(?:true|false)\\b)(?!\\w)"}]}},match:"(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?:(?:(?:[ \\t]*+)((?:[^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]+)(?!>)))?)(?:(?:\\$')|'))",name:"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},string:{patterns:[{match:"\\\\.",name:"constant.character.escape.shell"},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.shell"},{begin:'\\$?"',beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.double.shell",patterns:[{match:'\\\\[\\$\\n`"\\\\]',name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},{begin:"\\$'",beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.dollar.shell",patterns:[{match:"\\\\(?:a|b|e|f|n|r|t|v|\\\\|')",name:"constant.character.escape.ansi-c.shell"},{match:'\\\\[0-9]{3}"',name:"constant.character.escape.octal.shell"},{match:'\\\\x[0-9a-fA-F]{2}"',name:"constant.character.escape.hex.shell"},{match:'\\\\c."',name:"constant.character.escape.control-char.shell"}]}]},support:{patterns:[{match:"(?<=^|;|&|\\s)(?::|\\.)(?=\\s|;|&|$)",name:"support.function.builtin.shell"}]},variable:{patterns:[{captures:{1:{name:"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},2:{name:"variable.parameter.positional.all.shell"}},match:"(?:(\\$)(\\@(?!\\w)))"},{captures:{1:{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},2:{name:"variable.parameter.positional.shell"}},match:"(?:(\\$)([0-9](?!\\w)))"},{captures:{1:{name:"punctuation.definition.variable.shell variable.language.special.shell"},2:{name:"variable.language.special.shell"}},match:"(?:(\\$)([-*#?$!0_](?!\\w)))"},{begin:"(?:(\\$)(\\{)(?:[ \\t]*+)(?=\\d))",beginCaptures:{1:{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},2:{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},contentName:"meta.parameter-expansion",end:"\\}",endCaptures:{0:{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},patterns:[{match:"!|:[-=?]?|\\*|@|##|#|%%|%|\\/",name:"keyword.operator.expansion.shell"},{captures:{1:{name:"punctuation.section.array.shell"},2:{name:"punctuation.section.array.shell"}},match:"(?:(\\[)(?:[^\\]]+)(\\]))"},{match:"[0-9]+",name:"variable.parameter.positional.shell"},{match:"(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w)",name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{begin:"(?:(\\$)(\\{))",beginCaptures:{1:{name:"punctuation.definition.variable.shell"},2:{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},contentName:"meta.parameter-expansion",end:"\\}",endCaptures:{0:{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},patterns:[{match:"!|:[-=?]?|\\*|@|##|#|%%|%|\\/",name:"keyword.operator.expansion.shell"},{captures:{1:{name:"punctuation.section.array.shell"},2:{name:"punctuation.section.array.shell"}},match:"(?:(\\[)(?:[^\\]]+)(\\]))"},{match:"(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w)",name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{captures:{1:{name:"punctuation.definition.variable.shell variable.other.normal.shell"},2:{name:"variable.other.normal.shell"}},match:"(?:(\\$)((?:\\w+)(?!\\w)))"}]}},scopeName:"source.shell",aliases:["bash","sh","shell","zsh"]});var n=[e];export{n as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const Ie=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Fe=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,ze=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function De(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ue(e);return}return t}function Ue(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ve(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const s=r.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY}if(!ze.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ie.test(e)||Fe.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,De)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const Be=/#/g,qe=/&/g,He=/\//g,Ge=/=/g,te=/\+/g,We=/%5e/gi,Je=/%60/gi,Qe=/%7c/gi,Ke=/%20/gi;function Ye(e){return encodeURI(""+e).replace(Qe,"|")}function X(e){return Ye(typeof e=="string"?e:JSON.stringify(e)).replace(te,"%2B").replace(Ke,"+").replace(Be,"%23").replace(qe,"%26").replace(Je,"`").replace(We,"^").replace(He,"%2F")}function W(e){return X(e).replace(Ge,"%3D")}function Se(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xe(e){return Se(e.replace(te," "))}function Ze(e){return Se(e.replace(te," "))}function et(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const s=r.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const n=Xe(s[1]);if(n==="__proto__"||n==="constructor")continue;const i=Ze(s[2]||"");t[n]===void 0?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]}return t}function tt(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${W(e)}=${X(r)}`).join("&"):`${W(e)}=${X(t)}`:W(e)}function rt(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>tt(t,e[t])).filter(Boolean).join("&")}const nt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,st=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ot=/^([/\\]\s*){2,}[^/\\]/,it=/\/$|\/\?|\/#/,at=/^\.?\//;function _e(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?nt.test(e):st.test(e)||(t.acceptRelative?ot.test(e):!1)}function Z(e="",t){return t?it.test(e):e.endsWith("/")}function ct(e="",t){if(!t)return(Z(e)?e.slice(0,-1):e)||"/";if(!Z(e,!0))return e||"/";let r=e,s="";const n=e.indexOf("#");n>=0&&(r=e.slice(0,n),s=e.slice(n));const[i,...c]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(c.length>0?`?${c.join("?")}`:"")+s}function lt(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Z(e,!0))return e||"/";let r=e,s="";const n=e.indexOf("#");if(n>=0&&(r=e.slice(0,n),s=e.slice(n),!r))return s;const[i,...c]=r.split("?");return i+"/"+(c.length>0?`?${c.join("?")}`:"")+s}function ft(e,t){if(ht(t)||_e(e))return e;const r=ct(t);return e.startsWith(r)?e:dt(r,e)}function ut(e,t){const r=$e(e),s={...et(r.search),...t};return r.search=rt(s),mt(r)}function ht(e){return!e||e==="/"}function pt(e){return e&&e!=="/"}function dt(e,...t){let r=e||"";for(const s of t.filter(n=>pt(n)))if(r){const n=s.replace(at,"");r=lt(r)+n}else r=s;return r}const ve=Symbol.for("ufo:protocolRelative");function $e(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,u,m=""]=r;return{protocol:u.toLowerCase(),pathname:m,href:u+m,auth:"",host:"",search:"",hash:""}}if(!_e(e,{acceptRelative:!0}))return t?$e(t+e):se(e);const[,s="",n,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,c="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:f,hash:o}=se(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s.toLowerCase(),auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:c,pathname:l,search:f,hash:o,[ve]:!s}}function se(e=""){const[t="",r="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:s}}function mt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",n=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[ve]?(e.protocol||"")+"//":"")+n+i+t+r+s}class gt extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function yt(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",s=e.request?.url||String(e.request)||"/",n=`[${r}] ${JSON.stringify(s)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",c=`${n}: ${i}${t?` ${t}`:""}`,a=new gt(c,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,f]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[f]}});return a}const wt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function oe(e="GET"){return wt.has(e.toUpperCase())}function bt(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const St=new Set(["image/svg","application/xml","application/xhtml","application/html"]),_t=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function vt(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return _t.test(t)?"json":St.has(t)||t.startsWith("text/")?"text":"blob"}function $t(e,t,r=globalThis.Headers){const s={...t,...e};if(t?.params&&e?.params&&(s.params={...t?.params,...e?.params}),t?.query&&e?.query&&(s.query={...t?.query,...e?.query}),t?.headers&&e?.headers){s.headers=new r(t?.headers||{});for(const[n,i]of new r(e?.headers||{}))s.headers.set(n,i)}return s}const Et=new Set([408,409,425,429,500,502,503,504]),Ct=new Set([101,204,205,304]);function Ee(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function n(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let o;typeof a.options.retry=="number"?o=a.options.retry:o=oe(a.options.method)?0:1;const u=a.response&&a.response.status||500;if(o>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(u):Et.has(u))){const m=a.options.retryDelay||0;return m>0&&await new Promise(d=>setTimeout(d,m)),i(a.request,{...a.options,retry:o-1})}}const f=yt(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,i),f}const i=async function(l,f={}){const o={request:l,options:$t(f,e.defaults,r),response:void 0,error:void 0};o.options.method=o.options.method?.toUpperCase(),o.options.onRequest&&await o.options.onRequest(o),typeof o.request=="string"&&(o.options.baseURL&&(o.request=ft(o.request,o.options.baseURL)),(o.options.query||o.options.params)&&(o.request=ut(o.request,{...o.options.params,...o.options.query}))),o.options.body&&oe(o.options.method)&&(bt(o.options.body)?(o.options.body=typeof o.options.body=="string"?o.options.body:JSON.stringify(o.options.body),o.options.headers=new r(o.options.headers||{}),o.options.headers.has("content-type")||o.options.headers.set("content-type","application/json"),o.options.headers.has("accept")||o.options.headers.set("accept","application/json")):("pipeTo"in o.options.body&&typeof o.options.body.pipeTo=="function"||typeof o.options.body.pipe=="function")&&("duplex"in o.options||(o.options.duplex="half")));let u;if(!o.options.signal&&o.options.timeout){const d=new s;u=setTimeout(()=>d.abort(),o.options.timeout),o.options.signal=d.signal}try{o.response=await t(o.request,o.options)}catch(d){return o.error=d,o.options.onRequestError&&await o.options.onRequestError(o),await n(o)}finally{u&&clearTimeout(u)}if(o.response.body&&!Ct.has(o.response.status)&&o.options.method!=="HEAD"){const d=(o.options.parseResponse?"json":o.options.responseType)||vt(o.response.headers.get("content-type")||"");switch(d){case"json":{const $=await o.response.text(),g=o.options.parseResponse||Ve;o.response._data=g($);break}case"stream":{o.response._data=o.response.body;break}default:o.response._data=await o.response[d]()}}return o.options.onResponse&&await o.options.onResponse(o),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await o.options.onResponseError(o),await n(o)):o.response},c=async function(l,f){return(await i(l,f))._data};return c.raw=i,c.native=(...a)=>t(...a),c.create=(a={})=>Ee({...e,defaults:{...e.defaults,...a}}),c}const re=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),xt=re.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),At=re.Headers,Ot=re.AbortController,Rt=Ee({fetch:xt,Headers:At,AbortController:Ot}),Tt=Rt;function jt(e){const t=e.length;let r=-1,s,n="";const i=e.charCodeAt(0);for(;++r<t;){if(s=e.charCodeAt(r),s===0){n+="�";continue}if(s===37){n+="\\%";continue}if(s===44){n+="\\,";continue}if(s>=1&&s<=31||s===127||r===0&&s>=48&&s<=57||r===1&&s>=48&&s<=57&&i===45){n+=`\\${s.toString(16)} `;continue}if(r===0&&t===1&&s===45){n+=`\\${e.charAt(r)}`;continue}if(s>=128||s===45||s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){n+=e.charAt(r);continue}n+=`\\${e.charAt(r)}`}return n}const J=jt;function M(e=[]){return Array.isArray(e)?e:[e]}function H(e){return Array.from(new Set(e))}function Mt(e,t){return e.reduce((r,s)=>(r.findIndex(i=>t(s,i))===-1&&r.push(s),r),[])}function R(e){return typeof e=="string"}function z(e){return R(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Pt(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>z(t)):[e]:[z(e)]}function Lt(e){return e.filter(([t,r],s)=>{if(t.startsWith("$$"))return!1;for(let n=s-1;n>=0;n--)if(e[n][0]===t&&e[n][1]===r)return!1;return!0})}function Q(e){return e==null?"":Lt(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function U(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Ce(e,t,r=!1){const s=e,n=t;if(Array.isArray(n))return r&&Array.isArray(n)?[...s,...n]:[...n];const i={...s};return U(s)&&U(n)&&Object.keys(n).forEach(c=>{U(s[c])&&U(n[c])||Array.isArray(s[c])&&Array.isArray(n[c])?i[c]=Ce(s[c],n[c],r):Object.assign(i,{[c]:n[c]})}),i}function B(e){let t,r,s;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(s=e[t])&&typeof s=="object"?B(s):s;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:B(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(s=e[t])&&typeof s=="object"?B(s):s;return r}return e}function kt(e){return R(e[0])}function Nt(e){return R(e[0])}const ie="$$shortcut-no-merge";function It(e){return typeof e=="function"?{match:e}:e}function ae(e){return e.length===3}function Ft(e){return e!=null}function zt(){}var Dt=Object.defineProperty,Ut=(e,t,r)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vt=(e,t,r)=>(Ut(e,typeof t!="symbol"?t+"":t,r),r);class Bt{constructor(){Vt(this,"_map",new Map)}get(t,r){const s=this._map.get(t);if(s)return s.get(r)}getFallback(t,r,s){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(r)||n.set(r,s),n.get(r)}set(t,r,s){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(r,s),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,s])=>Array.from(s.entries()).map(([n,i])=>t(i,r,n)))}}class qt extends Map{getFallback(t,r){const s=this.get(t);return s===void 0?(this.set(t,r),r):s}map(t){const r=[];return this.forEach((s,n)=>{r.push(t(s,n))}),r}flatMap(t){const r=[];return this.forEach((s,n)=>{r.push(...t(s,n))}),r}}var Ht=Object.defineProperty,Gt=(e,t,r)=>t in e?Ht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wt=(e,t,r)=>(Gt(e,typeof t!="symbol"?t+"":t,r),r);class xe extends Set{constructor(t){super(t),Wt(this,"_map"),this._map??(this._map=new Map)}add(t){return this._map??(this._map=new Map),this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.delete(t),super.delete(t)}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function K(e){return e instanceof xe}const V={};function Jt(e=["-",":"]){const t=e.join("|");return V[t]||(V[t]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),V[t].lastIndex=0,V[t]}function Qt(e,t=["-",":"],r=5){const s=Jt(t);let n,i=e.toString();const c=new Set,a=new Map;do n=!1,i=i.replace(s,(f,o,u,m,d)=>{if(!t.includes(u))return f;n=!0,c.add(o+u);const $=d+o.length+u.length+1,g={length:f.length,items:[]};a.set(d,g);for(const w of[...m.matchAll(/\S+/g)]){const x=$+w.index;let p=a.get(x)?.items;p?a.delete(x):p=[{offset:x,length:w[0].length,className:w[0]}];for(const S of p)S.className=S.className==="~"?o:S.className.replace(/^(!?)(.*)/,`$1${o}${u}$2`),g.items.push(S)}return"$".repeat(f.length)}),r-=1;while(n&&r);let l;if(typeof e=="string"){l="";let f=0;for(const[o,u]of a)l+=e.slice(f,o),l+=u.items.map(m=>m.className).join(" "),f=o+u.length;l+=e.slice(f)}else{l=e;for(const[f,o]of a)l.overwrite(f,f+o.length,o.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(c),hasChanged:n,groupsByOffset:a,get expanded(){return l.toString()}}}function Kt(e,t=["-",":"],r=5){const s=Qt(e,t,r);return typeof e=="string"?s.expanded:e}const ce=new Set;function Ae(e){ce.has(e)||(console.warn("[unocss]",e),ce.add(e))}const Yt=/[\\:]?[\s'"`;{}]+/g;function Xt(e){return e.split(Yt)}const Zt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Xt(e)}};function er(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}const q="default",ee="preflights",tr="shortcuts",rr="imports",nr={[rr]:-200,[ee]:-100,[tr]:-10,[q]:0};function Oe(e){return M(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const le="_uno_resolved";function sr(e){let t=typeof e=="function"?e():e;if(le in t)return t;t={...t},Object.defineProperty(t,le,{value:!0,enumerable:!1});const r=t.shortcuts?Oe(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const s=n=>{n[2]||(n[2]={});const i=n[2];i.prefix==null&&t.prefix&&(i.prefix=M(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(s),t.rules?.forEach(s)}return t}function Re(e){const t=sr(e);if(!t.presets)return[t];const r=(t.presets||[]).flatMap(M).flatMap(Re);return[t,...r]}function fe(e={},t={}){const r=Object.assign({},t,e),s=Mt((r.presets||[]).flatMap(M).flatMap(Re),(h,y)=>h.name===y.name),n=[...s.filter(h=>h.enforce==="pre"),...s.filter(h=>!h.enforce),...s.filter(h=>h.enforce==="post")],i=[...n,r],c=[...i].reverse(),a=Object.assign({},nr,...i.map(h=>h.layers));function l(h){return H(i.flatMap(y=>M(y[h]||[])))}const f=l("extractors");let o=c.find(h=>h.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Zt),o&&!f.includes(o)&&f.unshift(o),f.sort((h,y)=>(h.order||0)-(y.order||0));const u=l("rules"),m={},d=u.length,$=u.map((h,y)=>{if(kt(h)){M(h[2]?.prefix||"").forEach(C=>{m[C+h[0]]=[y,h[1],h[2],h]});return}return[y,...h]}).filter(Boolean).reverse();let g=or(i.map(h=>h.theme));const w=l("extendTheme");for(const h of w)g=h(g)||g;const x={templates:H(i.flatMap(h=>M(h.autocomplete?.templates))),extractors:i.flatMap(h=>M(h.autocomplete?.extractors)).sort((h,y)=>(h.order||0)-(y.order||0)),shorthands:ir(i.map(h=>h.autocomplete?.shorthands||{}))};let p=l("separators");p.length||(p=[":","-"]);const S={mergeSelectors:!0,warn:!0,sortLayers:h=>h,...r,blocklist:l("blocklist"),presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:g,rulesSize:d,rulesDynamic:$,rulesStaticMap:m,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:x,variants:l("variants").map(It).sort((h,y)=>(h.order||0)-(y.order||0)),shortcuts:Oe(l("shortcuts")).reverse(),extractors:f,safelist:l("safelist"),separators:p,details:r.details??r.envMode==="dev"};for(const h of i)h?.configResolved?.(S);return S}function or(e){return e.map(t=>t?B(t):{}).reduce((t,r)=>Ce(t,r),{})}function ir(e){return e.reduce((t,r)=>{const s={};for(const n in r){const i=r[n];Array.isArray(i)?s[n]=`(${i.join("|")})`:s[n]=i}return{...t,...s}},{})}const ar="0.59.4";var cr=Object.defineProperty,lr=(e,t,r)=>t in e?cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F=(e,t,r)=>(lr(e,typeof t!="symbol"?t+"":t,r),r);class fr{constructor(t={},r={}){this.userConfig=t,this.defaults=r,F(this,"version",ar),F(this,"_cache",new Map),F(this,"config"),F(this,"blocked",new Set),F(this,"parentOrders",new Map),F(this,"events",er()),this.config=fe(t,r),this.events.emit("config",this.config)}setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=fe(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,s=new Set){const n={original:t,code:t,id:r,extracted:s,envMode:this.config.envMode};for(const i of this.config.extractors){const c=await i.extract?.(n);if(c)if(K(c)&&K(s))for(const a of c)s.setCount(a,s.getCount(a)+c.getCount(a));else for(const a of c)s.add(a)}return s}makeContext(t,r){const s={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...n)=>this.constructCustomCSS(s,...n),variantMatch:r};return s}async parseToken(t,r){if(this.blocked.has(t))return;const s=`${t}${r?` ${r}`:""}`;if(this._cache.has(s))return this._cache.get(s);let n=t;for(const f of this.config.preprocess)n=f(t);if(this.isBlocked(n)){this.blocked.add(t),this._cache.set(s,null);return}const i=await this.matchVariants(t,n);if(!i||this.isBlocked(i[1])){this.blocked.add(t),this._cache.set(s,null);return}const c=this.makeContext(t,[r||i[0],i[1],i[2],i[3]]);this.config.details&&(c.variants=[...i[3]]);const a=await this.expandShortcut(c.currentSelector,c),l=a?await this.stringifyShortcuts(c.variantMatch,c,a[0],a[1]):(await this.parseUtil(c.variantMatch,c))?.map(f=>this.stringifyUtil(f,c)).filter(Ft);if(l?.length)return this._cache.set(s,l),l;this._cache.set(s,null)}async generate(t,r={}){const{id:s,scope:n,preflights:i=!0,safelist:c=!0,minify:a=!1,extendedInfo:l=!1}=r,f=this.config.outputToCssLayers,o=R(t)?await this.applyExtractors(t,s,l?new xe:new Set):Array.isArray(t)?new Set(t):t;if(c){const y={generator:this,theme:this.config.theme};this.config.safelist.flatMap(v=>typeof v=="function"?v(y):v).forEach(v=>{o.has(v)||o.add(v)})}const u=a?"":`
|
|
2
|
-
`,m=new Set([q]),d=l?new Map:new Set,$=new Map;let g={};const w=Array.from(o).map(async y=>{if(d.has(y))return;const v=await this.parseToken(y);if(v!=null){d instanceof Map?d.set(y,{data:v,count:K(o)?o.getCount(y):-1}):d.add(y);for(const C of v){const A=C[3]||"",O=C[4]?.layer;$.has(A)||$.set(A,[]),$.get(A).push(C),O&&m.add(O)}}});await Promise.all(w),await(async()=>{if(!i)return;const y={generator:this,theme:this.config.theme},v=new Set([]);this.config.preflights.forEach(({layer:C=ee})=>{m.add(C),v.add(C)}),g=Object.fromEntries(await Promise.all(Array.from(v).map(async C=>{const O=(await Promise.all(this.config.preflights.filter(L=>(L.layer||ee)===C).map(async L=>await L.getCSS(y)))).filter(Boolean).join(u);return[C,O]})))})();const x=this.config.sortLayers(Array.from(m).sort((y,v)=>(this.config.layers[y]??0)-(this.config.layers[v]??0)||y.localeCompare(v))),p={},S=(y=q)=>{if(p[y])return p[y];let v=Array.from($).sort((A,O)=>(this.parentOrders.get(A[0])??0)-(this.parentOrders.get(O[0])??0)||A[0]?.localeCompare(O[0]||"")||0).map(([A,O])=>{const L=O.length,I=O.filter(b=>(b[4]?.layer||q)===y).sort((b,E)=>b[0]-E[0]||(b[4]?.sort||0)-(E[4]?.sort||0)||b[5]?.currentSelector?.localeCompare(E[5]?.currentSelector??"")||b[1]?.localeCompare(E[1]||"")||b[2]?.localeCompare(E[2]||"")||0).map(([,b,E,,T,,j])=>[[[(b&&pr(b,n))??"",T?.sort??0]],E,!!(j??T?.noMerge)]);if(!I.length)return;const D=I.reverse().map(([b,E,T],j)=>{if(!T&&this.config.mergeSelectors)for(let N=j+1;N<L;N++){const P=I[N];if(P&&!P[2]&&(b&&P[0]||b==null&&P[0]==null)&&P[1]===E)return b&&P[0]&&P[0].push(...b),null}const k=b?H(b.sort((N,P)=>N[1]-P[1]||N[0]?.localeCompare(P[0]||"")||0).map(N=>N[0]).filter(Boolean)):[];return k.length?`${k.join(`,${u}`)}{${E}}`:E}).filter(Boolean).reverse().join(u);if(!A)return D;const _=A.split(" $$ ");return`${_.join("{")}{${u}${D}${u}${"}".repeat(_.length)}`}).filter(Boolean).join(u);if(i&&(v=[g[y],v].filter(Boolean).join(u)),f&&v){let A=typeof f=="object"?f.cssLayerName?.(y):void 0;A!==null&&(A||(A=y),v=`@layer ${A}{${u}${v}${u}}`)}const C=a?"":`/* layer: ${y} */${u}`;return p[y]=v?C+v:""},h=(y=x,v)=>y.filter(C=>!v?.includes(C)).map(C=>S(C)||"").filter(Boolean).join(u);return{get css(){return h()},layers:x,matched:d,getLayers:h,getLayer:S}}async matchVariants(t,r){const s=new Set,n=[];let i=r||t,c=!0;const a={rawSelector:t,theme:this.config.theme,generator:this};for(;c;){c=!1;for(const l of this.config.variants){if(!l.multiPass&&s.has(l))continue;let f=await l.match(i,a);if(f){if(R(f)){if(f===i)continue;f={matcher:f}}i=f.matcher,n.unshift(f),s.add(l),c=!0;break}}if(!c)break;if(n.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,n,s]}applyVariants(t,r=t[4],s=t[1]){const i=r.slice().sort((f,o)=>(f.order||0)-(o.order||0)).reduceRight((f,o)=>u=>{const m=o.body?.(u.entries)||u.entries,d=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??mr)({...u,entries:m,selector:o.selector?.(u.selector,m)||u.selector,parent:d[0]||u.parent,parentOrder:d[1]||u.parentOrder,layer:o.layer||u.layer,sort:o.sort||u.sort},f)},f=>f)({prefix:"",selector:dr(s),pseudo:"",entries:t[2]}),{parent:c,parentOrder:a}=i;c!=null&&a!=null&&this.parentOrders.set(c,a);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:c,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const f of this.config.postprocess)f(l);return l}constructCustomCSS(t,r,s){const n=z(r);if(R(n))return n;const{selector:i,entries:c,parent:a}=this.applyVariants([0,s||t.rawSelector,n,void 0,t.variantHandlers]),l=`${i}{${Q(c)}}`;return a?`${a}{${l}}`:l}async parseUtil(t,r,s=!1,n){const[i,c,a]=R(t)?await this.matchVariants(t):t;this.config.details&&(r.rules=r.rules??[]);const l=this.config.rulesStaticMap[c];if(l&&l[1]&&(s||!l[2]?.internal)){this.config.details&&r.rules.push(l[3]);const o=l[0],u=z(l[1]),m=l[2];return R(u)?[[o,u,m]]:[[o,i,u,m,a]]}r.variantHandlers=a;const{rulesDynamic:f}=this.config;for(const[o,u,m,d]of f){if(d?.internal&&!s)continue;let $=c;if(d?.prefix){const p=M(d.prefix);if(n){const S=M(n);if(!p.some(h=>S.includes(h)))continue}else{const S=p.find(h=>c.startsWith(h));if(S==null)continue;$=c.slice(S.length)}}const g=$.match(u);if(!g)continue;const w=await m(g,r);if(!w)continue;this.config.details&&r.rules.push([u,m,d]);const x=Pt(w).filter(p=>p.length);if(x.length)return x.map(p=>R(p)?[o,p,d]:[o,i,p,d,a])}}stringifyUtil(t,r){if(!t)return;if(ae(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:s,entries:n,parent:i,layer:c,sort:a,noMerge:l}=this.applyVariants(t),f=Q(n);if(!f)return;const{layer:o,sort:u,...m}=t[3]??{},d={...m,layer:c??o,sort:a??u};return[t[0],s,f,i,d,this.config.details?r:void 0,l]}async expandShortcut(t,r,s=5){if(s===0)return;const n=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:zt;let i,c;for(const a of this.config.shortcuts){let l=t;if(a[2]?.prefix){const o=M(a[2].prefix).find(u=>t.startsWith(u));if(o==null)continue;l=t.slice(o.length)}if(Nt(a)){if(a[0]===l){i=i||a[2],c=a[1],n(a);break}}else{const f=l.match(a[0]);if(f&&(c=a[1](f,r)),c){i=i||a[2],n(a);break}}}if(R(c)&&(c=Kt(c.trim()).split(/\s+/g)),!c){const[a,l]=R(t)?await this.matchVariants(t):t;if(a!==l){const f=await this.expandShortcut(l,r,s-1);f&&(c=f[0].map(o=>R(o)?a.replace(l,o):o))}}if(c)return[(await Promise.all(c.map(async a=>(R(a)?(await this.expandShortcut(a,r,s-1))?.[0]:void 0)||[a]))).flat(1).filter(Boolean),i]}async stringifyShortcuts(t,r,s,n={layer:this.config.shortcutsLayer}){const i=new qt,c=(await Promise.all(H(s).map(async o=>{const u=R(o)?await this.parseUtil(o,r,!0,n.prefix):[[Number.POSITIVE_INFINITY,"{inline}",z(o),void 0,[]]];return!u&&this.config.warn&&Ae(`unmatched utility "${o}" in shortcut "${t[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((o,u)=>o[0]-u[0]),[a,,l]=t,f=[];for(const o of c){if(ae(o)){f.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const{selector:u,entries:m,parent:d,sort:$,noMerge:g,layer:w}=this.applyVariants(o,[...o[4],...l],a);i.getFallback(w??n.layer,new Bt).getFallback(u,d,[[],o[0]])[0].push([m,!!(g??o[3]?.noMerge),$??0])}return f.concat(i.flatMap((o,u)=>o.map(([m,d],$,g)=>{const w=(p,S,h)=>{const y=Math.max(...h.map(C=>C[1])),v=h.map(C=>C[0]);return(p?[v.flat(1)]:v).map(C=>{const A=Q(C);if(A)return[d,$,A,g,{...n,noMerge:S,sort:y,layer:u},r,void 0]})};return[[m.filter(([,p])=>p).map(([p,,S])=>[p,S]),!0],[m.filter(([,p])=>!p).map(([p,,S])=>[p,S]),!1]].map(([p,S])=>[...w(!1,S,p.filter(([h])=>h.some(y=>y[0]===ie))),...w(!0,S,p.filter(([h])=>h.every(y=>y[0]!==ie)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="function"?r(t):R(r)?r===t:r.test(t))}}function ur(e,t){return new fr(e,t)}const Te=/\s\$\$\s+/g;function hr(e){return Te.test(e)}function pr(e,t){return hr(e)?e.replace(Te,t?` ${t} `:" "):t?`${t} ${e}`:e}const ue=/^\[(.+?)(~?=)"(.*)"\]$/;function dr(e){return ue.test(e)?e.replace(ue,(t,r,s,n)=>`[${J(r)}${s}"${J(n)}"]`):`.${J(e)}`}function mr(e,t){return t(e)}var he={};const gr=Object.freeze({left:0,top:0,width:16,height:16}),G=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),je=Object.freeze({...gr,...G}),yr=Object.freeze({...je,body:"",hidden:!1}),wr=Object.freeze({width:null,height:null}),Me=Object.freeze({...wr,...G});function br(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(r.rotate=s),r}function pe(e,t){const r=br(e,t);for(const s in yr)s in G?s in e&&!(s in r)&&(r[s]=G[s]):s in t?r[s]=t[s]:s in e&&(r[s]=e[s]);return r}function Sr(e,t){const r=e.icons,s=e.aliases||Object.create(null),n=Object.create(null);function i(c){if(r[c])return n[c]=[];if(!(c in n)){n[c]=null;const a=s[c]&&s[c].parent,l=a&&i(a);l&&(n[c]=[a].concat(l))}return n[c]}return(t||Object.keys(r).concat(Object.keys(s))).forEach(i),n}function de(e,t,r){const s=e.icons,n=e.aliases||Object.create(null);let i={};function c(a){i=pe(s[a]||n[a],i)}return c(t),r.forEach(c),pe(e,i)}function _r(e,t){if(e.icons[t])return de(e,t,[]);const r=Sr(e,[t])[t];return r?de(e,t,r):null}const vr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,$r=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function me(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const s=e.split(vr);if(s===null||!s.length)return e;const n=[];let i=s.shift(),c=$r.test(i);for(;;){if(c){const a=parseFloat(i);isNaN(a)?n.push(i):n.push(Math.ceil(a*t*r)/r)}else n.push(i);if(i=s.shift(),i===void 0)return n.join("");c=!c}}function Er(e,t="defs"){let r="";const s=e.indexOf("<"+t);for(;s>=0;){const n=e.indexOf(">",s),i=e.indexOf("</"+t);if(n===-1||i===-1)break;const c=e.indexOf(">",i);if(c===-1)break;r+=e.slice(n+1,i).trim(),e=e.slice(0,s).trim()+e.slice(c+1)}return{defs:r,content:e}}function Cr(e,t){return e?"<defs>"+e+"</defs>"+t:t}function xr(e,t,r){const s=Er(e);return Cr(s.defs,t+s.content+r)}const ne=e=>e==="unset"||e==="undefined"||e==="none";function Ar(e,t){const r={...je,...e},s={...Me,...t},n={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,s].forEach(g=>{const w=[],x=g.hFlip,p=g.vFlip;let S=g.rotate;x?p?S+=2:(w.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),w.push("scale(-1 1)"),n.top=n.left=0):p&&(w.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),w.push("scale(1 -1)"),n.top=n.left=0);let h;switch(S<0&&(S-=Math.floor(S/4)*4),S=S%4,S){case 1:h=n.height/2+n.top,w.unshift("rotate(90 "+h.toString()+" "+h.toString()+")");break;case 2:w.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:h=n.width/2+n.left,w.unshift("rotate(-90 "+h.toString()+" "+h.toString()+")");break}S%2===1&&(n.left!==n.top&&(h=n.left,n.left=n.top,n.top=h),n.width!==n.height&&(h=n.width,n.width=n.height,n.height=h)),w.length&&(i=xr(i,'<g transform="'+w.join(" ")+'">',"</g>"))});const c=s.width,a=s.height,l=n.width,f=n.height;let o,u;c===null?(u=a===null?"1em":a==="auto"?f:a,o=me(u,l/f)):(o=c==="auto"?l:c,u=a===null?me(o,f/l):a==="auto"?f:a);const m={},d=(g,w)=>{ne(w)||(m[g]=w.toString())};d("width",o),d("height",u);const $=[n.left,n.top,l,f];return m.viewBox=$.join(" "),{attributes:m,viewBox:$,body:i}}function Or(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Rr(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),Or(t)}function Tr(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const jr=/\swidth\s*=\s*["']([\w.]+)["']/,Mr=/\sheight\s*=\s*["']([\w.]+)["']/,Y=/<svg\s+/;function Pr(e,t,r){const s=e.slice(0,e.indexOf(">")),n=(i,c)=>{const a=c.exec(s),l=a!=null,f=t[i];return!f&&!ne(f)&&(typeof r=="number"?r>0&&(t[i]=`${r}em`):a&&(t[i]=a[1])),l};return[n("width",jr),n("height",Mr)]}async function Pe(e,t,r,s,n,i){const{scale:c,addXmlNs:a=!1}=s??{},{additionalProps:l={},iconCustomizer:f}=s?.customizations??{},o=await n?.()??{};await f?.(t,r,o),Object.keys(l).forEach(g=>{const w=l[g];w!=null&&(o[g]=w)}),i?.(o);const[u,m]=Pr(e,o,c);a&&(!e.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const d=Object.keys(o).map(g=>g==="width"&&u||g==="height"&&m?null:`${g}="${o[g]}"`).filter(g=>g!=null);if(d.length&&(e=e.replace(Y,`<svg ${d.join(" ")} `)),s){const{defaultStyle:g,defaultClass:w}=s;w&&!e.includes("class=")&&(e=e.replace(Y,`<svg class="${w}" `)),g&&!e.includes("style=")&&(e=e.replace(Y,`<svg style="${g}" `))}const $=s?.usedProps;return $&&(Object.keys(l).forEach(g=>{const w=o[g];w!=null&&($[g]=w)}),typeof o.width<"u"&&o.width!==null&&($.width=o.width),typeof o.height<"u"&&o.height!==null&&($.height=o.height)),e}async function ge(e,t,r,s){let n;try{if(typeof e=="function")n=await e(r);else{const i=e[r];n=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(n){const i=n.indexOf("<svg");i>0&&(n=n.slice(i));const{transform:c}=s?.customizations??{};return n=typeof c=="function"?await c(n,t,r):n,n.startsWith("<svg")?await Pe(s?.customizations?.trimCustomSvg===!0?Tr(n):n,t,r,s,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),n)}}async function Le(e,t,r,s){let n;const{customize:i}=s?.customizations??{};for(const c of r)if(n=_r(e,c),n){let a={...Me};typeof i=="function"&&(a=i(a));const{attributes:{width:l,height:f,...o},body:u}=Ar(n,a),m=s?.scale;return await Pe(`<svg >${u}</svg>`,t,c,s,()=>({...o}),d=>{const $=(g,w)=>{const x=d[g];let p;if(!ne(x)){if(x)return;typeof m=="number"?m&&(p=`${m}em`):p=w}p?d[g]=p:delete d[g]};$("width",l),$("height",f)})}}const ke=async(e,t,r)=>{const s=r?.customCollections?.[e];if(s)if(typeof s=="function"){let n;try{n=await s(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(n){if(typeof n=="string")return await ge(()=>n,e,t,r);if("icons"in n){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Le(n,e,i,r)}}}else return await ge(s,e,t,r)};function Lr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kr=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","dashicons","devicon-line","devicon-original","devicon-plain","devicon","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","jam","la","lets-icons","line-md","logos","ls","lucide","mage","majesticons","maki","map","marketeq","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];const Nr=Lr(kr),Ir=3;function Fr(e){return(t={})=>{const{scale:r=1,mode:s="auto",prefix:n="i-",warn:i=!1,collections:c,extraProperties:a={},customizations:l={},autoInstall:f=!1,collectionsNodeResolvePath:o,layer:u="icons",unit:m}=t,d=zr(),$={addXmlNs:!0,scale:r,customCollections:c,autoInstall:f,cwd:o,warn:void 0,customizations:{...l,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(w,x,p){await l.iconCustomizer?.(w,x,p),m&&(p.width||(p.width=`${r}${m}`),p.height||(p.height=`${r}${m}`))}}};let g;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async([w,x,p=s])=>{let S="",h="",y;g=g||await e(t);const v={};if(x.includes(":"))[S,h]=x.split(":"),y=await g(S,h,{...$,usedProps:v});else{const A=x.split(/-/g);for(let O=Ir;O>=1&&(S=A.slice(0,O).join("-"),h=A.slice(O).join("-"),y=await g(S,h,{...$,usedProps:v}),!y);O--);}if(!y){i&&!d.isESLint&&Ae(`failed to load icon "${w}"`);return}const C=`url("data:image/svg+xml;utf8,${Rr(y)}")`;return p==="auto"&&(p=y.includes("currentColor")?"mask":"bg"),p==="mask"?{"--un-icon":C,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...v}:{background:`${C} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...v}},{layer:u,prefix:n}]]}}}function Ne(e,t){const r=new Map;function s(n){if(Nr.includes(n))return r.has(n)||r.set(n,e(`${t}@iconify-json/${n}/icons.json`)),r.get(n)}return async(n,i,c)=>{let a=await ke(n,i,c);if(a)return a;const l=await s(n);if(l){const f=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Le(l,n,f,c)}return a}}function zr(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!he.VSCODE_CWD,r=e&&!!he.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}function Dr(e){return Ne(Tt,e)}const Ur=Fr(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?Ne(t,r):r?Dr(r):ke});function Vr(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function ye(e){return e.charAt(0).toUpperCase()+e.slice(1)}function we(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var be=["Webkit","Moz","ms"];function Br(e){const t={};function r(s){const n=t[s];if(n)return n;let i=Vr(s);if(i!=="filter"&&i in e)return t[s]=we(i);i=ye(i);for(let c=0;c<be.length;c++){const a=`${be[c]}${i}`;if(a in e)return t[s]=we(ye(a))}return s}return({entries:s})=>s.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function qr(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}function Hr(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,s=()=>r.documentElement,n=t.__unocss||{},i=Object.assign({},e,n.runtime),c=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(c.postprocess=M(c.postprocess)).unshift(Br(r.createElement("div").style)),i.configResolved?.(n,c);const l=ur(n,c),f=_=>i.inject?i.inject(_):s().prepend(_),o=()=>i.rootElement?i.rootElement():r.body,u=new Map;let m=!0,d=new Set,$,g,w=[];const x=()=>new Promise(_=>{w.push(_),g!=null&&clearTimeout(g),g=setTimeout(()=>h().then(()=>{const b=w;w=[],b.forEach(E=>E())}),0)});function p(_){if(_.nodeType!==1)return;const b=_;b.hasAttribute(a)&&b.removeAttribute(a),b.querySelectorAll(`[${a}]`).forEach(E=>{E.removeAttribute(a)})}function S(_,b){let E=u.get(_);if(!E)if(E=r.createElement("style"),E.setAttribute("data-unocss-runtime-layer",_),u.set(_,E),b==null)f(E);else{const T=S(b),j=T.parentNode;j?j.insertBefore(E,T.nextSibling):f(E)}return E}async function h(){const _=await l.generate(d);return _.layers.reduce((b,E)=>(S(E,b).innerHTML=_.getLayer(E)??"",E),void 0),d=_.matched,{..._,getStyleElement:b=>u.get(b),getStyleElements:()=>u}}async function y(_){const b=d.size;await l.applyExtractors(_,void 0,d),b!==d.size&&await x()}async function v(_=o()){const b=_&&_.outerHTML;b&&(await y(`${b} ${qr(b)}`),p(s()),p(_))}const C=new MutationObserver(_=>{m||_.forEach(async b=>{if(b.target.nodeType!==1)return;const E=b.target;for(const T of u)if(E===T[1])return;if(b.type==="childList")b.addedNodes.forEach(async T=>{if(T.nodeType!==1)return;const j=T;$&&!$(j)||(await y(j.outerHTML),p(j))});else{if($&&!$(E))return;if(b.attributeName!==a){const T=Array.from(E.attributes).map(k=>k.value?`${k.name}="${k.value}"`:k.name).join(" "),j=`<${E.tagName.toLowerCase()} ${T}>`;await y(j)}E.hasAttribute(a)&&E.removeAttribute(a)}})});let A=!1;function O(){if(A)return;const _=i.observer?.target?i.observer.target():o();_&&(C.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),A=!0)}function L(){i.bypassDefined&&Gr(l.blocked),v(),O()}function I(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",L):L()}const D=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(_){R(_)||(_.forEach(b=>d.add(b)),_=""),await y(_)},extractAll:v,inspect(_){$=_},toggleObserver(_){_===void 0?m=!m:m=!!_,!A&&!m&&I()},update:h,presets:t.__unocss_runtime?.presets??{}};i.ready?.(D)!==!1&&(m=!1,I())}function Gr(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let s;try{if(s=r.cssRules||r.rules,!s)continue;Array.from(s).flatMap(n=>n.selectorText?.split(/,/g)||[]).forEach(n=>{n&&(n=n.trim(),n.startsWith(".")&&(n=n.slice(1)),e.add(n))})}catch{continue}}return e}Hr({defaults:{presets:[Ur({prefix:["i-",""],collections:{},cdn:"https://esm.sh/",scale:1.2,extraProperties:{display:"inline-block","vertical-align":"middle"}})]},bypassDefined:!0});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const i=[{id:"doc:application:createApp()",title:"createApp()",description:"application",url:"https:/vuejs.org/api/application#createapp"},{id:"doc:application:createSSRApp()",title:"createSSRApp()",description:"application",url:"https:/vuejs.org/api/application#createssrapp"},{id:"doc:application:app.mount()",title:"app.mount()",description:"application",url:"https:/vuejs.org/api/application#app-mount"},{id:"doc:application:app.unmount()",title:"app.unmount()",description:"application",url:"https:/vuejs.org/api/application#app-unmount"},{id:"doc:application:app.component()",title:"app.component()",description:"application",url:"https:/vuejs.org/api/application#app-component"},{id:"doc:application:app.directive()",title:"app.directive()",description:"application",url:"https:/vuejs.org/api/application#app-directive"},{id:"doc:application:app.use()",title:"app.use()",description:"application",url:"https:/vuejs.org/api/application#app-use"},{id:"doc:application:app.mixin()",title:"app.mixin()",description:"application",url:"https:/vuejs.org/api/application#app-mixin"},{id:"doc:application:app.provide()",title:"app.provide()",description:"application",url:"https:/vuejs.org/api/application#app-provide"},{id:"doc:application:app.runWithContext()",title:"app.runWithContext()",description:"application",url:"https:/vuejs.org/api/application#app-runwithcontext"},{id:"doc:application:app.version",title:"app.version",description:"application",url:"https:/vuejs.org/api/application#app-version"},{id:"doc:application:app.config",title:"app.config",description:"application",url:"https:/vuejs.org/api/application#app-config"},{id:"doc:application:app.config.errorHandler",title:"app.config.errorHandler",description:"application",url:"https:/vuejs.org/api/application#app-config-errorhandler"},{id:"doc:application:app.config.warnHandler",title:"app.config.warnHandler",description:"application",url:"https:/vuejs.org/api/application#app-config-warnhandler"},{id:"doc:application:app.config.performance",title:"app.config.performance",description:"application",url:"https:/vuejs.org/api/application#app-config-performance"},{id:"doc:application:app.config.compilerOptions",title:"app.config.compilerOptions",description:"application",url:"https:/vuejs.org/api/application#app-config-compileroptions"},{id:"doc:application:app.config.globalProperties",title:"app.config.globalProperties",description:"application",url:"https:/vuejs.org/api/application#app-config-globalproperties"},{id:"doc:application:app.config.optionMergeStrategies",title:"app.config.optionMergeStrategies",description:"application",url:"https:/vuejs.org/api/application#app-config-optionmergestrategies"},{id:"doc:built-in-components:`<Transition>`",title:"`<Transition>`",description:"built-in-components",url:"https:/vuejs.org/api/built-in-components#transition"},{id:"doc:built-in-components:`<TransitionGroup>`",title:"`<TransitionGroup>`",description:"built-in-components",url:"https:/vuejs.org/api/built-in-components#transitiongroup"},{id:"doc:built-in-components:`<KeepAlive>`",title:"`<KeepAlive>`",description:"built-in-components",url:"https:/vuejs.org/api/built-in-components#keepalive"},{id:"doc:built-in-components:`<Teleport>`",title:"`<Teleport>`",description:"built-in-components",url:"https:/vuejs.org/api/built-in-components#teleport"},{id:"doc:built-in-components:`<Suspense>`",title:"`<Suspense>`",description:"built-in-components",url:"https:/vuejs.org/api/built-in-components#suspense"},{id:"doc:built-in-directives:v-text",title:"v-text",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-text"},{id:"doc:built-in-directives:v-html",title:"v-html",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-html"},{id:"doc:built-in-directives:v-show",title:"v-show",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-show"},{id:"doc:built-in-directives:v-if",title:"v-if",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-if"},{id:"doc:built-in-directives:v-else",title:"v-else",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-else"},{id:"doc:built-in-directives:v-else-if",title:"v-else-if",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-else-if"},{id:"doc:built-in-directives:v-for",title:"v-for",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-for"},{id:"doc:built-in-directives:v-on",title:"v-on",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-on"},{id:"doc:built-in-directives:v-bind",title:"v-bind",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-bind"},{id:"doc:built-in-directives:v-model",title:"v-model",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-model"},{id:"doc:built-in-directives:v-slot",title:"v-slot",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-slot"},{id:"doc:built-in-directives:v-pre",title:"v-pre",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-pre"},{id:"doc:built-in-directives:v-once",title:"v-once",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-once"},{id:"doc:built-in-directives:v-memo",title:"v-memo",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-memo"},{id:"doc:built-in-directives:v-cloak",title:"v-cloak",description:"built-in-directives",url:"https:/vuejs.org/api/built-in-directives#v-cloak"},{id:"doc:built-in-special-attributes:key",title:"key",description:"built-in-special-attributes",url:"https:/vuejs.org/api/built-in-special-attributes#key"},{id:"doc:built-in-special-attributes:ref",title:"ref",description:"built-in-special-attributes",url:"https:/vuejs.org/api/built-in-special-attributes#ref"},{id:"doc:built-in-special-attributes:is",title:"is",description:"built-in-special-attributes",url:"https:/vuejs.org/api/built-in-special-attributes#is"},{id:"doc:built-in-special-elements:`<component>`",title:"`<component>`",description:"built-in-special-elements",url:"https:/vuejs.org/api/built-in-special-elements#component"},{id:"doc:built-in-special-elements:`<slot>`",title:"`<slot>`",description:"built-in-special-elements",url:"https:/vuejs.org/api/built-in-special-elements#slot"},{id:"doc:built-in-special-elements:`<template>`",title:"`<template>`",description:"built-in-special-elements",url:"https:/vuejs.org/api/built-in-special-elements#template"},{id:"doc:component-instance:$data",title:"$data",description:"component-instance",url:"https:/vuejs.org/api/component-instance#data"},{id:"doc:component-instance:$props",title:"$props",description:"component-instance",url:"https:/vuejs.org/api/component-instance#props"},{id:"doc:component-instance:$el",title:"$el",description:"component-instance",url:"https:/vuejs.org/api/component-instance#el"},{id:"doc:component-instance:$options",title:"$options",description:"component-instance",url:"https:/vuejs.org/api/component-instance#options"},{id:"doc:component-instance:$parent",title:"$parent",description:"component-instance",url:"https:/vuejs.org/api/component-instance#parent"},{id:"doc:component-instance:$root",title:"$root",description:"component-instance",url:"https:/vuejs.org/api/component-instance#root"},{id:"doc:component-instance:$slots",title:"$slots",description:"component-instance",url:"https:/vuejs.org/api/component-instance#slots"},{id:"doc:component-instance:$refs",title:"$refs",description:"component-instance",url:"https:/vuejs.org/api/component-instance#refs"},{id:"doc:component-instance:$attrs",title:"$attrs",description:"component-instance",url:"https:/vuejs.org/api/component-instance#attrs"},{id:"doc:component-instance:$watch()",title:"$watch()",description:"component-instance",url:"https:/vuejs.org/api/component-instance#watch"},{id:"doc:component-instance:$emit()",title:"$emit()",description:"component-instance",url:"https:/vuejs.org/api/component-instance#emit"},{id:"doc:component-instance:$forceUpdate()",title:"$forceUpdate()",description:"component-instance",url:"https:/vuejs.org/api/component-instance#forceupdate"},{id:"doc:component-instance:$nextTick()",title:"$nextTick()",description:"component-instance",url:"https:/vuejs.org/api/component-instance#nexttick"},{id:"doc:composition-api-dependency-injection:provide()",title:"provide()",description:"composition-api-dependency-injection",url:"https:/vuejs.org/api/composition-api-dependency-injection#provide"},{id:"doc:composition-api-dependency-injection:inject()",title:"inject()",description:"composition-api-dependency-injection",url:"https:/vuejs.org/api/composition-api-dependency-injection#inject"},{id:"doc:composition-api-dependency-injection:hasInjectionContext()",title:"hasInjectionContext()",description:"composition-api-dependency-injection",url:"https:/vuejs.org/api/composition-api-dependency-injection#has-injection-context"},{id:"doc:composition-api-lifecycle:onMounted()",title:"onMounted()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onmounted"},{id:"doc:composition-api-lifecycle:onUpdated()",title:"onUpdated()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onupdated"},{id:"doc:composition-api-lifecycle:onUnmounted()",title:"onUnmounted()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onunmounted"},{id:"doc:composition-api-lifecycle:onBeforeMount()",title:"onBeforeMount()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onbeforemount"},{id:"doc:composition-api-lifecycle:onBeforeUpdate()",title:"onBeforeUpdate()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onbeforeupdate"},{id:"doc:composition-api-lifecycle:onBeforeUnmount()",title:"onBeforeUnmount()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onbeforeunmount"},{id:"doc:composition-api-lifecycle:onErrorCaptured()",title:"onErrorCaptured()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onerrorcaptured"},{id:"doc:composition-api-lifecycle:onRenderTracked()",title:"onRenderTracked()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onrendertracked"},{id:"doc:composition-api-lifecycle:onRenderTriggered()",title:"onRenderTriggered()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onrendertriggered"},{id:"doc:composition-api-lifecycle:onActivated()",title:"onActivated()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onactivated"},{id:"doc:composition-api-lifecycle:onDeactivated()",title:"onDeactivated()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#ondeactivated"},{id:"doc:composition-api-lifecycle:onServerPrefetch()",title:"onServerPrefetch()",description:"composition-api-lifecycle",url:"https:/vuejs.org/api/composition-api-lifecycle#onserverprefetch"},{id:"doc:composition-api-setup:Basic Usage",title:"Basic Usage",description:"composition-api-setup",url:"https:/vuejs.org/api/composition-api-setup#basic-usage"},{id:"doc:composition-api-setup:Accessing Props",title:"Accessing Props",description:"composition-api-setup",url:"https:/vuejs.org/api/composition-api-setup#accessing-props"},{id:"doc:composition-api-setup:Setup Context",title:"Setup Context",description:"composition-api-setup",url:"https:/vuejs.org/api/composition-api-setup#setup-context"},{id:"doc:composition-api-setup:Usage with Render Functions",title:"Usage with Render Functions",description:"composition-api-setup",url:"https:/vuejs.org/api/composition-api-setup#usage-with-render-functions"},{id:"doc:custom-renderer:createRenderer()",title:"createRenderer()",description:"custom-renderer",url:"https:/vuejs.org/api/custom-renderer#createrenderer"},{id:"doc:general:version",title:"version",description:"general",url:"https:/vuejs.org/api/general#version"},{id:"doc:general:nextTick()",title:"nextTick()",description:"general",url:"https:/vuejs.org/api/general#nexttick"},{id:"doc:general:defineComponent()",title:"defineComponent()",description:"general",url:"https:/vuejs.org/api/general#definecomponent"},{id:"doc:general:defineAsyncComponent()",title:"defineAsyncComponent()",description:"general",url:"https:/vuejs.org/api/general#defineasynccomponent"},{id:"doc:general:defineCustomElement()",title:"defineCustomElement()",description:"general",url:"https:/vuejs.org/api/general#definecustomelement"},{id:"doc:options-composition:provide",title:"provide",description:"options-composition",url:"https:/vuejs.org/api/options-composition#provide"},{id:"doc:options-composition:inject",title:"inject",description:"options-composition",url:"https:/vuejs.org/api/options-composition#inject"},{id:"doc:options-composition:mixins",title:"mixins",description:"options-composition",url:"https:/vuejs.org/api/options-composition#mixins"},{id:"doc:options-composition:extends",title:"extends",description:"options-composition",url:"https:/vuejs.org/api/options-composition#extends"},{id:"doc:options-lifecycle:beforeCreate",title:"beforeCreate",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#beforecreate"},{id:"doc:options-lifecycle:created",title:"created",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#created"},{id:"doc:options-lifecycle:beforeMount",title:"beforeMount",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#beforemount"},{id:"doc:options-lifecycle:mounted",title:"mounted",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#mounted"},{id:"doc:options-lifecycle:beforeUpdate",title:"beforeUpdate",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#beforeupdate"},{id:"doc:options-lifecycle:updated",title:"updated",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#updated"},{id:"doc:options-lifecycle:beforeUnmount",title:"beforeUnmount",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#beforeunmount"},{id:"doc:options-lifecycle:unmounted",title:"unmounted",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#unmounted"},{id:"doc:options-lifecycle:errorCaptured",title:"errorCaptured",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#errorcaptured"},{id:"doc:options-lifecycle:renderTracked",title:"renderTracked",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#rendertracked"},{id:"doc:options-lifecycle:renderTriggered",title:"renderTriggered",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#rendertriggered"},{id:"doc:options-lifecycle:activated",title:"activated",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#activated"},{id:"doc:options-lifecycle:deactivated",title:"deactivated",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#deactivated"},{id:"doc:options-lifecycle:serverPrefetch",title:"serverPrefetch",description:"options-lifecycle",url:"https:/vuejs.org/api/options-lifecycle#serverprefetch"},{id:"doc:options-misc:name",title:"name",description:"options-misc",url:"https:/vuejs.org/api/options-misc#name"},{id:"doc:options-misc:inheritAttrs",title:"inheritAttrs",description:"options-misc",url:"https:/vuejs.org/api/options-misc#inheritattrs"},{id:"doc:options-misc:components",title:"components",description:"options-misc",url:"https:/vuejs.org/api/options-misc#components"},{id:"doc:options-misc:directives",title:"directives",description:"options-misc",url:"https:/vuejs.org/api/options-misc#directives"},{id:"doc:options-rendering:template",title:"template",description:"options-rendering",url:"https:/vuejs.org/api/options-rendering#template"},{id:"doc:options-rendering:render",title:"render",description:"options-rendering",url:"https:/vuejs.org/api/options-rendering#render"},{id:"doc:options-rendering:compilerOptions",title:"compilerOptions",description:"options-rendering",url:"https:/vuejs.org/api/options-rendering#compileroptions"},{id:"doc:options-rendering:slots",title:"slots",description:"options-rendering",url:"https:/vuejs.org/api/options-rendering#slots"},{id:"doc:options-state:data",title:"data",description:"options-state",url:"https:/vuejs.org/api/options-state#data"},{id:"doc:options-state:props",title:"props",description:"options-state",url:"https:/vuejs.org/api/options-state#props"},{id:"doc:options-state:computed",title:"computed",description:"options-state",url:"https:/vuejs.org/api/options-state#computed"},{id:"doc:options-state:methods",title:"methods",description:"options-state",url:"https:/vuejs.org/api/options-state#methods"},{id:"doc:options-state:watch",title:"watch",description:"options-state",url:"https:/vuejs.org/api/options-state#watch"},{id:"doc:options-state:emits",title:"emits",description:"options-state",url:"https:/vuejs.org/api/options-state#emits"},{id:"doc:options-state:expose",title:"expose",description:"options-state",url:"https:/vuejs.org/api/options-state#expose"},{id:"doc:reactivity-advanced:shallowRef()",title:"shallowRef()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#shallowref"},{id:"doc:reactivity-advanced:triggerRef()",title:"triggerRef()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#triggerref"},{id:"doc:reactivity-advanced:customRef()",title:"customRef()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#customref"},{id:"doc:reactivity-advanced:shallowReactive()",title:"shallowReactive()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#shallowreactive"},{id:"doc:reactivity-advanced:shallowReadonly()",title:"shallowReadonly()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#shallowreadonly"},{id:"doc:reactivity-advanced:toRaw()",title:"toRaw()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#toraw"},{id:"doc:reactivity-advanced:markRaw()",title:"markRaw()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#markraw"},{id:"doc:reactivity-advanced:effectScope()",title:"effectScope()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#effectscope"},{id:"doc:reactivity-advanced:getCurrentScope()",title:"getCurrentScope()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#getcurrentscope"},{id:"doc:reactivity-advanced:onScopeDispose()",title:"onScopeDispose()",description:"reactivity-advanced",url:"https:/vuejs.org/api/reactivity-advanced#onscopedispose"},{id:"doc:reactivity-core:ref()",title:"ref()",description:"reactivity-core",url:"https:/vuejs.org/api/reactivity-core#ref"},{id:"doc:reactivity-core:computed()",title:"computed()",description:"reactivity-core",url:"https:/vuejs.org/api/reactivity-core#computed"},{id:"doc:reactivity-core:reactive()",title:"reactive()",description:"reactivity-core",url:"https:/vuejs.org/api/reactivity-core#reactive"},{id:"doc:reactivity-core:readonly()",title:"readonly()",description:"reactivity-core",url:"https:/vuejs.org/api/reactivity-core#readonly"},{id:"doc:reactivity-core:watchEffect()",title:"watchEffect()",description:"reactivity-core",url:"https:/vuejs.org/api/reactivity-core#watcheffect"},{id:"doc:reactivity-core:watchPostEffect()",title:"watchPostEffect()",description:"reactivity-core",url:"https:/vuejs.org/api/reactivity-core#watchposteffect"},{id:"doc:reactivity-core:watchSyncEffect()",title:"watchSyncEffect()",description:"reactivity-core",url:"https:/vuejs.org/api/reactivity-core#watchsynceffect"},{id:"doc:reactivity-core:watch()",title:"watch()",description:"reactivity-core",url:"https:/vuejs.org/api/reactivity-core#watch"},{id:"doc:reactivity-utilities:isRef()",title:"isRef()",description:"reactivity-utilities",url:"https:/vuejs.org/api/reactivity-utilities#isref"},{id:"doc:reactivity-utilities:unref()",title:"unref()",description:"reactivity-utilities",url:"https:/vuejs.org/api/reactivity-utilities#unref"},{id:"doc:reactivity-utilities:toRef()",title:"toRef()",description:"reactivity-utilities",url:"https:/vuejs.org/api/reactivity-utilities#toref"},{id:"doc:reactivity-utilities:toValue()",title:"toValue()",description:"reactivity-utilities",url:"https:/vuejs.org/api/reactivity-utilities#tovalue"},{id:"doc:reactivity-utilities:toRefs()",title:"toRefs()",description:"reactivity-utilities",url:"https:/vuejs.org/api/reactivity-utilities#torefs"},{id:"doc:reactivity-utilities:isProxy()",title:"isProxy()",description:"reactivity-utilities",url:"https:/vuejs.org/api/reactivity-utilities#isproxy"},{id:"doc:reactivity-utilities:isReactive()",title:"isReactive()",description:"reactivity-utilities",url:"https:/vuejs.org/api/reactivity-utilities#isreactive"},{id:"doc:reactivity-utilities:isReadonly()",title:"isReadonly()",description:"reactivity-utilities",url:"https:/vuejs.org/api/reactivity-utilities#isreadonly"},{id:"doc:render-function:h()",title:"h()",description:"render-function",url:"https:/vuejs.org/api/render-function#h"},{id:"doc:render-function:mergeProps()",title:"mergeProps()",description:"render-function",url:"https:/vuejs.org/api/render-function#mergeprops"},{id:"doc:render-function:cloneVNode()",title:"cloneVNode()",description:"render-function",url:"https:/vuejs.org/api/render-function#clonevnode"},{id:"doc:render-function:isVNode()",title:"isVNode()",description:"render-function",url:"https:/vuejs.org/api/render-function#isvnode"},{id:"doc:render-function:resolveComponent()",title:"resolveComponent()",description:"render-function",url:"https:/vuejs.org/api/render-function#resolvecomponent"},{id:"doc:render-function:resolveDirective()",title:"resolveDirective()",description:"render-function",url:"https:/vuejs.org/api/render-function#resolvedirective"},{id:"doc:render-function:withDirectives()",title:"withDirectives()",description:"render-function",url:"https:/vuejs.org/api/render-function#withdirectives"},{id:"doc:render-function:withModifiers()",title:"withModifiers()",description:"render-function",url:"https:/vuejs.org/api/render-function#withmodifiers"},{id:"doc:sfc-css-features:Scoped CSS",title:"Scoped CSS",description:"sfc-css-features",url:"https:/vuejs.org/api/sfc-css-features#scoped-css"},{id:"doc:sfc-css-features:CSS Modules",title:"CSS Modules",description:"sfc-css-features",url:"https:/vuejs.org/api/sfc-css-features#css-modules"},{id:"doc:sfc-css-features:`v-bind()` in CSS",title:"`v-bind()` in CSS",description:"sfc-css-features",url:"https:/vuejs.org/api/sfc-css-features#v-bind-in-css"},{id:"doc:sfc-script-setup:Basic Syntax",title:"Basic Syntax",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#basic-syntax"},{id:"doc:sfc-script-setup:Reactivity",title:"Reactivity",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#reactivity"},{id:"doc:sfc-script-setup:Using Components",title:"Using Components",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#using-components"},{id:"doc:sfc-script-setup:Using Custom Directives",title:"Using Custom Directives",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#using-custom-directives"},{id:"doc:sfc-script-setup:defineProps() & defineEmits()",title:"defineProps() & defineEmits()",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#defineprops-defineemits"},{id:"doc:sfc-script-setup:defineExpose()",title:"defineExpose()",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#defineexpose"},{id:"doc:sfc-script-setup:defineOptions()",title:"defineOptions()",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#defineoptions"},{id:"doc:sfc-script-setup:defineSlots()",title:"defineSlots()",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#defineslots"},{id:"doc:sfc-script-setup:`useSlots()` & `useAttrs()`",title:"`useSlots()` & `useAttrs()`",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#useslots-useattrs"},{id:"doc:sfc-script-setup:Usage alongside normal `<script>`",title:"Usage alongside normal `<script>`",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#usage-alongside-normal-script"},{id:"doc:sfc-script-setup:Top-level `await`",title:"Top-level `await`",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#top-level-await"},{id:"doc:sfc-script-setup:Generics",title:"Generics",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#generics"},{id:"doc:sfc-script-setup:Restrictions",title:"Restrictions",description:"sfc-script-setup",url:"https:/vuejs.org/api/sfc-script-setup#restrictions"},{id:"doc:sfc-spec:Overview",title:"Overview",description:"sfc-spec",url:"https:/vuejs.org/api/sfc-spec#overview"},{id:"doc:sfc-spec:Language Blocks",title:"Language Blocks",description:"sfc-spec",url:"https:/vuejs.org/api/sfc-spec#language-blocks"},{id:"doc:sfc-spec:Automatic Name Inference",title:"Automatic Name Inference",description:"sfc-spec",url:"https:/vuejs.org/api/sfc-spec#automatic-name-inference"},{id:"doc:sfc-spec:Pre-Processors",title:"Pre-Processors",description:"sfc-spec",url:"https:/vuejs.org/api/sfc-spec#pre-processors"},{id:"doc:sfc-spec:`src` Imports",title:"`src` Imports",description:"sfc-spec",url:"https:/vuejs.org/api/sfc-spec#src-imports"},{id:"doc:sfc-spec:Comments",title:"Comments",description:"sfc-spec",url:"https:/vuejs.org/api/sfc-spec#comments"},{id:"doc:ssr:renderToString()",title:"renderToString()",description:"ssr",url:"https:/vuejs.org/api/ssr#rendertostring"},{id:"doc:ssr:renderToNodeStream()",title:"renderToNodeStream()",description:"ssr",url:"https:/vuejs.org/api/ssr#rendertonodestream"},{id:"doc:ssr:pipeToNodeWritable()",title:"pipeToNodeWritable()",description:"ssr",url:"https:/vuejs.org/api/ssr#pipetonodewritable"},{id:"doc:ssr:renderToWebStream()",title:"renderToWebStream()",description:"ssr",url:"https:/vuejs.org/api/ssr#rendertowebstream"},{id:"doc:ssr:pipeToWebWritable()",title:"pipeToWebWritable()",description:"ssr",url:"https:/vuejs.org/api/ssr#pipetowebwritable"},{id:"doc:ssr:renderToSimpleStream()",title:"renderToSimpleStream()",description:"ssr",url:"https:/vuejs.org/api/ssr#rendertosimplestream"},{id:"doc:ssr:useSSRContext()",title:"useSSRContext()",description:"ssr",url:"https:/vuejs.org/api/ssr#usessrcontext"},{id:"doc:utility-types:PropType",title:"PropType",description:"utility-types",url:"https:/vuejs.org/api/utility-types#proptype-t"},{id:"doc:utility-types:MaybeRef",title:"MaybeRef",description:"utility-types",url:"https:/vuejs.org/api/utility-types#mayberef"},{id:"doc:utility-types:MaybeRefOrGetter",title:"MaybeRefOrGetter",description:"utility-types",url:"https:/vuejs.org/api/utility-types#maybereforgetter"},{id:"doc:utility-types:ExtractPropTypes",title:"ExtractPropTypes",description:"utility-types",url:"https:/vuejs.org/api/utility-types#extractproptypes"},{id:"doc:utility-types:ExtractPublicPropTypes",title:"ExtractPublicPropTypes",description:"utility-types",url:"https:/vuejs.org/api/utility-types#extractpublicproptypes"},{id:"doc:utility-types:ComponentCustomProperties",title:"ComponentCustomProperties",description:"utility-types",url:"https:/vuejs.org/api/utility-types#componentcustomproperties"},{id:"doc:utility-types:ComponentCustomOptions",title:"ComponentCustomOptions",description:"utility-types",url:"https:/vuejs.org/api/utility-types#componentcustomoptions"},{id:"doc:utility-types:ComponentCustomProps",title:"ComponentCustomProps",description:"utility-types",url:"https:/vuejs.org/api/utility-types#componentcustomprops"},{id:"doc:utility-types:CSSProperties",title:"CSSProperties",description:"utility-types",url:"https:/vuejs.org/api/utility-types#cssproperties"}];export{i as default};
|