@shikijs/langs-precompiled 3.6.0 → 3.8.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/dist/astro.mjs +3 -1
- package/dist/erlang.mjs +3 -1
- package/dist/gdscript.mjs +1 -1
- package/dist/go.mjs +1 -1
- package/dist/haxe.mjs +1 -1
- package/dist/index.mjs +1 -0
- package/dist/julia.mjs +1 -1
- package/dist/lean.mjs +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/marko.mjs +4 -3
- package/dist/mermaid.mjs +1 -1
- package/dist/r.mjs +1 -1
- package/dist/sql.mjs +1 -1
- package/dist/tex.mjs +1 -1
- package/dist/vue-vine.d.mts +3 -0
- package/dist/vue-vine.mjs +21 -0
- package/dist/vue.mjs +1 -1
- package/dist/zig.mjs +1 -1
- package/package.json +4 -3
package/dist/marko.mjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { EmulatedRegExp } from 'oniguruma-to-es'
|
|
1
2
|
import css from './css.mjs'
|
|
2
3
|
import less from './less.mjs'
|
|
3
4
|
import scss from './scss.mjs'
|
|
4
|
-
import
|
|
5
|
+
import typescript from './typescript.mjs'
|
|
5
6
|
|
|
6
|
-
const lang = Object.freeze({displayName:"Marko",fileTypes:["marko"],name:"marko",patterns:[{begin:/^\p{space}*(style)\p{space}+(\{)/dgv,beginCaptures:{"1":{name:"storage.type.marko.css"},"2":{name:"punctuation.section.scope.begin.marko.css"}},contentName:"source.css",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.css",patterns:[{include:"source.css"}]},{begin:/^\p{space}*(style)\.(less)\p{space}+(\{)/dgv,beginCaptures:{"1":{name:"storage.type.marko.css"},"2":{name:"storage.modifier.marko.css"},"3":{name:"punctuation.section.scope.begin.marko.css"}},contentName:"source.less",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.less",patterns:[{include:"source.css.less"}]},{begin:/^\p{space}*(style)\.(scss)\p{space}+(\{)/dgv,beginCaptures:{"1":{name:"storage.type.marko.css"},"2":{name:"storage.modifier.marko.css"},"3":{name:"punctuation.section.scope.begin.marko.css"}},contentName:"source.scss",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.scss",patterns:[{include:"source.css.scss"}]},{begin:/^\p{space}*(?:(static )|(?=(?:class|import|export) ))/dgv,beginCaptures:{"1":{name:"keyword.control.static.marko"}},contentName:"source.js",end:/(?=\n|(?=\n?$))/dgv,name:"meta.embedded.js",patterns:[{include:"#javascript-statement"}]},{include:"#content-concise-mode"}],repository:{attrs:{patterns:[{applyEndPatternLast:1,begin:/(?:\p{space}+|,)(?:(key|on[\-\$0-9A-Z_a-z]+|[\$0-9A-Z_a-z]+Change|no-update(?:-body)?(?:-if)?)|([\$0-9A-Z_a-z][\-\$0-9A-Z_a-z]*))(:[\$0-9A-Z_a-z][\-\$0-9A-Z_a-z]*)?/dgv,beginCaptures:{"1":{name:"support.type.attribute-name.marko"},"2":{name:"entity.other.attribute-name.marko"},"3":{name:"support.function.attribute-name.marko"}},end:/(?=[^\n]|(?=\n?$))/dgv,name:"meta.marko-attribute",patterns:[{include:"#html-args-or-method"},{applyEndPatternLast:1,begin:/\p{space}*(:?=)\p{space}*/dgv,beginCaptures:{"1":{patterns:[{include:"source.js"}]}},contentName:"source.js",end:/(?=[^\n]|(?=\n?$))/dgv,name:"meta.embedded.js",patterns:[{include:"#javascript-expression"}]}]},{applyEndPatternLast:1,begin:/(?:\p{space}+|,)\.\.\./dgv,beginCaptures:{"1":{name:"keyword.operator.spread.marko"}},contentName:"source.js",end:/(?=[^\n]|(?=\n?$))/dgv,name:"meta.marko-spread-attribute",patterns:[{include:"#javascript-expression"}]},{begin:/\p{space}*(,(?!,))/dgv,captures:{"1":{patterns:[{include:"source.js"}]}},end:/(?!\P{space})/dgv},{include:"#javascript-comment-multiline"},{include:"#invalid"}]},"concise-html-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"2":{name:"punctuation.section.scope.begin.marko"}},end:/\1()/dgv,endCaptures:{"1":{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-html-block",patterns:[{include:"#content-html-mode"}]},"concise-html-line":{captures:{"1":{name:"punctuation.section.scope.begin.marko"},"2":{patterns:[{include:"#html-comments"},{include:"#tag-html"},{match:/\\[^\n]/dgv,name:"string"},{include:"#placeholder"},{match:/[^\n]+?/dgv,name:"string"}]}},match:/\p{space}*(--+)(?=\p{space}+\P{space})([^\n]*)(?=\n?$)/dgv,name:"meta.section.marko-html-line"},"concise-open-tag-content":{patterns:[{include:"#tag-before-attrs"},{begin:/\p{space}*\[/dgv,beginCaptures:{"0":{name:"punctuation.section.scope.begin.marko"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko"}},patterns:[{include:"#attrs"},{include:"#invalid"}]},{begin:/(?!^)(?= )/dgv,end:/(?=--)|(?<!,)(?=\n)/dgv,patterns:[{include:"#attrs"},{include:"#invalid"}]}]},"concise-script-block":{begin:/(\p{space}+)(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"2":{name:"punctuation.section.scope.begin.marko"}},end:/(\2)|(?=^(?!(?!))\p{space}*\P{space})()/dgv,endCaptures:{"1":{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-script-block",patterns:[{include:"#content-embedded-script"}]},"concise-script-line":{applyEndPatternLast:1,begin:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.scope.begin.marko"}},end:/(?=\n?$)/dgv,name:"meta.section.marko-script-line",patterns:[{include:"#content-embedded-script"}]},"concise-style-block":{begin:/(\p{space}+)(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"2":{name:"punctuation.section.scope.begin.marko"}},contentName:"source.css",end:/(\2)|(?=^(?!(?!))\p{space}*\P{space})()/dgv,endCaptures:{"1":{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style"}]},"concise-style-block-less":{begin:/(\p{space}+)(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"2":{name:"punctuation.section.scope.begin.marko"}},contentName:"source.less",end:/(\2)|(?=^(?!(?!))\p{space}*\P{space})()/dgv,endCaptures:{"1":{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style-less"}]},"concise-style-block-scss":{begin:/(\p{space}+)(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"2":{name:"punctuation.section.scope.begin.marko"}},contentName:"source.scss",end:/(\2)|(?=^(?!(?!))\p{space}*\P{space})()/dgv,endCaptures:{"1":{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style-scss"}]},"concise-style-line":{applyEndPatternLast:1,begin:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.scope.begin.marko"}},contentName:"source.css",end:/(?=\n?$)/dgv,name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style"}]},"concise-style-line-less":{applyEndPatternLast:1,begin:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.scope.begin.marko"}},contentName:"source.less",end:/(?=\n?$)/dgv,name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style-less"}]},"concise-style-line-scss":{applyEndPatternLast:1,begin:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.scope.begin.marko"}},contentName:"source.scss",end:/(?=\n?$)/dgv,name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style-scss"}]},"content-concise-mode":{name:"meta.marko-concise-content",patterns:[{include:"#scriptlet"},{include:"#javascript-comments"},{include:"#html-comments"},{include:"#concise-html-block"},{include:"#concise-html-line"},{include:"#tag-html"},{patterns:[{begin:/^(\p{space}*)(?=style\.less\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-less"},{include:"#concise-style-line-less"}],while:/(?=^\1\p{space}+(\P{space}|(?=\n?$)))/dgv},{begin:/^(\p{space}*)(?=style\.scss\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-scss"},{include:"#concise-style-line-scss"}],while:/(?=^\1\p{space}+(\P{space}|(?=\n?$)))/dgv},{begin:/^(\p{space}*)(?=style\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block"},{include:"#concise-style-line"}],while:/(?=^\1\p{space}+(\P{space}|(?=\n?$)))/dgv},{begin:/^(\p{space}*)(?=script\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-script-block"},{include:"#concise-script-line"}],while:/(?=^\1\p{space}+(\P{space}|(?=\n?$)))/dgv},{begin:/^(\p{space}*)(?=[\$0-9\@-Z_a-z])/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#content-concise-mode"}],while:/(?=^\1\p{space}+(\P{space}|(?=\n?$)))/dgv}]},{include:"#invalid"}]},"content-embedded-script":{name:"meta.embedded.js",patterns:[{include:"#placeholder"},{include:"source.js"}]},"content-embedded-style":{name:"meta.embedded.css",patterns:[{include:"#placeholder"},{include:"source.css"}]},"content-embedded-style-less":{name:"meta.embedded.css.less",patterns:[{include:"#placeholder"},{include:"source.css.less"}]},"content-embedded-style-scss":{name:"meta.embedded.css.scss",patterns:[{include:"#placeholder"},{include:"source.css.scss"}]},"content-html-mode":{patterns:[{include:"#scriptlet"},{include:"#html-comments"},{include:"#tag-html"},{match:/\\[^\n]/dgv,name:"string"},{include:"#placeholder"},{match:/[^\n]+?/dgv,name:"string"}]},"html-args-or-method":{patterns:[{include:"#javascript-args"},{begin:/(?<=\))\p{space}*(?=\{)/dgv,contentName:"source.js",end:/(?<=\})/dgv,name:"meta.embedded.js",patterns:[{include:"source.js"}]}]},"html-comments":{patterns:[{begin:/\p{space}*(<!(--)?)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.marko"}},end:/\2>()()/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.marko"}},name:"comment.block.marko"},{begin:/\p{space}*(<html-comment>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.marko"}},end:/<\/html-comment>/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.marko"}},name:"comment.block.marko"}]},invalid:{match:/\P{space}/dgv,name:"invalid.illegal.character-not-allowed-here.marko"},"javascript-args":{begin:/(?=\()/dgv,contentName:"source.js",end:/(?<=\))/dgv,name:"meta.embedded.js",patterns:[{include:"source.js"}]},"javascript-comment-line":{captures:{"0":{patterns:[{include:"source.js"}]}},contentName:"source.js",match:/\p{space}*\/\/[^\n]*(?=\n?$)/dgv},"javascript-comment-multiline":{begin:/\p{space}*(?=\/\*)/dgv,contentName:"source.js",end:/(?<=\*\/)/dgv,patterns:[{include:"source.js"}]},"javascript-comments":{patterns:[{include:"#javascript-comment-multiline"},{include:"#javascript-comment-line"}]},"javascript-enclosed":{patterns:[{include:"#javascript-comments"},{include:"#javascript-args"},{begin:/(?=\{)/dgv,end:/(?<=\})/dgv,patterns:[{include:"source.js"}]},{begin:/(?=\[)/dgv,end:/(?<=\])/dgv,patterns:[{include:"source.js"}]},{begin:/(?=")/dgv,end:/(?<=")/dgv,patterns:[{include:"source.js"}]},{begin:/(?=')/dgv,end:/(?<=')/dgv,patterns:[{include:"source.js"}]},{begin:/(?=`)/dgv,end:/(?<=`)/dgv,patterns:[{include:"source.js"}]},{begin:/\/(?!<[\]\%\)\.0-9\<A-Z\}]\p{space}*\/)(?!\/?>|(?=\n?$))/dgv,captures:{"0":{name:"string.regexp.js"}},contentName:"source.js",end:/\/[gimsuy]*/dgv,patterns:[{include:"source.js#regexp"},{include:"source.js"}]},{begin:/\p{space}*(?:\b(?:new|typeof|instanceof|in)\b|&&|\|\||[\&\^\|]|[\!\=]=|[\!\=]==|<[\<\=]??|=>|[\:\?]|[\-\%\*\+](?!-))/dgv,captures:{"0":{patterns:[{include:"source.js"}]}},end:/(?=\P{space})/dgv}]},"javascript-expression":{patterns:[{include:"#javascript-enclosed"},{captures:{"0":{patterns:[{include:"source.js"}]}},match:/[\$\.0-9A-Z_a-z]+/dgv}]},"javascript-statement":{patterns:[{include:"#javascript-enclosed"},{include:"source.js"}]},"open-tag-content":{patterns:[{include:"#tag-before-attrs"},{begin:/(?= )/dgv,end:/(?=\/?>)/dgv,patterns:[{include:"#attrs"}]}]},placeholder:{begin:/\$!?\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.template-expression.begin.js"}},contentName:"source.js",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.template-expression.end.js"}},patterns:[{include:"source.js"}]},scriptlet:{begin:/^\p{space}*(\$)\p{space}+/dgv,beginCaptures:{"1":{name:"keyword.control.scriptlet.marko"}},contentName:"source.js",end:/(?=\n?$)/dgv,name:"meta.embedded.js",patterns:[{include:"#javascript-statement"}]},"tag-before-attrs":{patterns:[{include:"#tag-name"},{match:/[\#\.][\$0-9A-Z_a-z][\-\$0-9A-Z_a-z]*/dgv,name:"entity.other.attribute-name.marko"},{begin:/\/(?!\/)/dgv,beginCaptures:{"0":{name:"punctuation.separator.key-value.marko"}},contentName:"source.js",end:/(?=:?=|[\>\p{space}]|(?=\n?$)|[\(\/\|])/dgv,name:"meta.embedded.js",patterns:[{match:/[\$A-Z_a-z][\$0-9A-Z_a-z]*/dgv,name:"variable.other.constant.object.js"},{include:"source.js#object-binding-pattern"},{include:"source.js#array-binding-pattern"},{include:"source.js#var-single-variable"},{include:"#javascript-expression"}]},{applyEndPatternLast:1,begin:/\p{space}*(:?=)\p{space}*/dgv,beginCaptures:{"1":{patterns:[{include:"source.js"}]}},contentName:"source.js",end:/(?=[^\n]|(?=\n?$))/dgv,name:"meta.embedded.js",patterns:[{include:"#javascript-expression"}]},{begin:/\|/dgv,beginCaptures:{"0":{name:"punctuation.section.scope.begin.marko"}},end:/\|/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko"}},patterns:[{include:"source.js#function-parameters-body"},{include:"source.js"}]},{include:"#html-args-or-method"}]},"tag-html":{patterns:[{begin:/\p{space}*(<)(?=(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.end.marko"}},end:/\/?>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"}]},{begin:/\p{space}*(<)(?=style\.less\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.less",end:/\p{space}*(<\/)(style)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-style-less"}]}]},{begin:/\p{space}*(<)(?=style\.scss\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.less",end:/\p{space}*(<\/)(style)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-style-scss"}]}]},{begin:/\p{space}*(<)(?=style\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.css",end:/\p{space}*(<\/)(style)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-style"}]}]},{begin:/\p{space}*(<)(?=script\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.js",end:/\p{space}*(<\/)(script)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-script"}]}]},{begin:/\p{space}*(<)(?=[\$0-9\@-Z_a-z])/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},end:/\p{space}*(<\/)([\-\$0-\:\@-Z_a-z]+)?([^\n]*?)(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{patterns:[{include:"#invalid"}]},"4":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-html-mode"}]}]}]},"tag-name":{patterns:[{begin:/\$\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.template-expression.begin.js"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.template-expression.end.js"}},patterns:[{include:"source.js"}]},{captures:{"1":{name:"entity.name.tag.marko"},"2":{name:"storage.type.marko.css"},"3":{patterns:[{match:/(attrs|return|import)(?=\b)/dgv,name:"support.type.builtin.marko"},{match:/(for|if|while|else-if|else|macro|tag|await|let|const|effect|set|get|id|lifecycle)(?=\b)/dgv,name:"support.function.marko"},{match:/@[^\n]+/dgv,name:"entity.other.attribute-name.marko"},{match:/[^\n]+/dgv,name:"entity.name.tag.marko"}]}},match:/(style)\.([\-\$0-9A-Z_a-z]+(?:\.[\-\$0-9A-Z_a-z]+)*)|([\$0-9\@-Z_a-z][\-\$0-\:\@-Z_a-z]*)/dgv}]}},scopeName:"text.marko",embeddedLangs:["css","less","scss","javascript"],aliases:undefined})
|
|
7
|
+
const lang = Object.freeze({displayName:"Marko",fileTypes:["marko"],name:"marko",patterns:[{begin:/^\p{space}*(style)(\b\P{space}*\.css)?\p{space}+(\{)/dgv,beginCaptures:{"1":{name:"support.type.builtin.marko"},"2":{name:"storage.modifier.marko.css"},"3":{name:"punctuation.section.scope.begin.marko.css"}},contentName:"source.css",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.css",patterns:[{include:"source.css"}]},{begin:/^\p{space}*(style)\b(\P{space}*\.less)\p{space}+(\{)/dgv,beginCaptures:{"1":{name:"support.type.builtin.marko"},"2":{name:"storage.modifier.marko.css"},"3":{name:"punctuation.section.scope.begin.marko.css"}},contentName:"source.less",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.less",patterns:[{include:"source.css.less"}]},{begin:/^\p{space}*(style)\b(\P{space}*\.scss)\p{space}+(\{)/dgv,beginCaptures:{"1":{name:"support.type.builtin.marko"},"2":{name:"storage.modifier.marko.css"},"3":{name:"punctuation.section.scope.begin.marko.css"}},contentName:"source.scss",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.scss",patterns:[{include:"source.css.scss"}]},{begin:/^\p{space}*(style)\b(\P{space}*\.[jt]s)\p{space}+(\{)/dgv,beginCaptures:{"1":{name:"support.type.builtin.marko"},"2":{name:"storage.modifier.marko.css"},"3":{name:"punctuation.section.scope.begin.marko.css"}},contentName:"source.ts",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.ts",patterns:[{include:"source.ts"}]},{begin:/^\p{space}*(?:(static|server|client)\b|(?=(?:class|import|export)\b))/dgv,beginCaptures:{"1":{name:"keyword.control.static.marko"}},contentName:"source.ts",end:/(?=\n|(?=\n?$))/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts"}]},{include:"#content-concise-mode"}],repository:{"attr-value":{begin:/\p{space}*(:?=)\p{space}*/dgv,beginCaptures:{"1":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",end:/(?=[\]\,\;]|\/>|(?<=[^\=])>|(?<!(?:^|[\!\%\&\*\:\?\^\|\~]|[\-\!\%\&\*\+\/\<-\?\^\|\~]=|=>|>{2,}|[^\.]\.|[^\-]-|^\p{space}*\+\+|[^\+](?:\+{2})*\+|[\]\%\)\.0-9\<A-Za-z\}]\p{space}*\/|\b(?<!\.\p{space}*)(?:await|async|class|function|keyof|new|typeof|void))\p{space}*)(?:\n|[\t ]+(?![\n\!\%\&\(\*\+\:\?\^\{\|\~]|[\-\/\<\=\>]=|=>|>{2,}|\.[^\.]|-[^\-]|\/[^\>]|(?:in|instanceof|satisfies|as|extends)\p{space}+[^\,\/\:\;\=\>])))/dgv,name:"meta.embedded.ts",patterns:[{include:"#javascript-expression"}]},attrs:{patterns:[{include:"#javascript-comments"},{applyEndPatternLast:1,begin:/(?:(key|on[\-\$0-9A-Z_a-z]+|[\$0-9A-Z_a-z]+Change|no-update(?:-body)?(?:-if)?)|([\$0-9A-Z_a-z][\-\$0-9A-Z_a-z]*)|(#[\$0-9A-Z_a-z][\-\$0-9A-Z_a-z]*))(:[\$0-9A-Z_a-z][\-\$0-9A-Z_a-z]*)?/dgv,beginCaptures:{"1":{name:"support.type.attribute-name.marko"},"2":{name:"entity.other.attribute-name.marko"},"3":{name:"support.function.attribute-name.marko"},"4":{name:"support.function.attribute-name.marko"}},end:/(?=[^\n]|(?=\n?$))/dgv,name:"meta.marko-attribute",patterns:[{include:"#html-args-or-method"},{include:"#attr-value"}]},{begin:/(\.\.\.)/dgv,beginCaptures:{"1":{name:"keyword.operator.spread.marko"}},contentName:"source.ts",end:/(?=[\]\,\;]|\/>|(?<=[^\=])>|(?<!(?:^|[\!\%\&\*\:\?\^\|\~]|[\-\!\%\&\*\+\/\<-\?\^\|\~]=|=>|>{2,}|[^\.]\.|[^\-]-|^\p{space}*\+\+|[^\+](?:\+{2})*\+|[\]\%\)\.0-9\<A-Za-z\}]\p{space}*\/|\b(?<!\.\p{space}*)(?:await|async|class|function|keyof|new|typeof|void))\p{space}*)(?:\n|[\t ]+(?![\n\!\%\&\(\*\+\:\?\^\{\|\~]|[\-\/\<\=\>]=|=>|>{2,}|\.[^\.]|-[^\-]|\/[^\>]|(?:in|instanceof|satisfies|as|extends)\p{space}+[^\,\/\:\;\=\>])))/dgv,name:"meta.marko-spread-attribute",patterns:[{include:"#javascript-expression"}]},{begin:/\p{space}*(,(?!,))/dgv,captures:{"1":{name:"punctuation.separator.comma.marko"}},end:/(?=\P{space})/dgv},{include:"#invalid"}]},cdata:{begin:/\p{space}*<!\[CDATA\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.begin.marko"}},contentName:"string.other.inline-data.marko",end:/\]\]>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},name:"meta.tag.metadata.cdata.marko"},"concise-attr-group":{begin:/\p{space}*(\[)/dgv,beginCaptures:{"1":{name:"punctuation.section.scope.begin.marko"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko"}},patterns:[{include:"#concise-attr-group"},{begin:/\p{space}+/dgv,end:/(?=\P{space})/dgv},{include:"#attrs"},{include:"#invalid"}]},"concise-comment-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-comment-block",patterns:[{include:"#content-embedded-comment"}]},"concise-comment-line":{applyEndPatternLast:1,begin:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-comment-line",patterns:[{include:"#content-embedded-comment"}]},"concise-html-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-html-block",patterns:[{include:"#content-html-mode"}]},"concise-html-line":{captures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"},"2":{patterns:[{include:"#cdata"},{include:"#doctype"},{include:"#declaration"},{include:"#javascript-comments-after-whitespace"},{include:"#html-comment"},{include:"#tag-html"},{match:/\\[^\n]/dgv,name:"text.marko"},{include:"#placeholder"},{match:/[^\n]+?/dgv,name:"text.marko"}]},"3":{name:"punctuation.section.embedded.scope.end.marko"}},match:/\p{space}*(--+)(?=\p{space}+\P{space})([^\n]*)(?=\n?$)()/dgv,name:"meta.section.marko-html-line"},"concise-open-tag-content":{patterns:[{include:"#tag-before-attrs"},{include:"#concise-semi-eol"},{begin:/(?!^)[\t \,]/dgv,end:/(?=--)|(?=\n)/dgv,patterns:[{include:"#concise-semi-eol"},{include:"#concise-attr-group"},{begin:/[\t ]+/dgv,end:/(?=[\n\P{space}])/dgv},{include:"#attrs"},{include:"#invalid"}]}]},"concise-script-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-script-block",patterns:[{include:"#content-embedded-script"}]},"concise-script-line":{applyEndPatternLast:1,begin:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-script-line",patterns:[{include:"#content-embedded-script"}]},"concise-semi-eol":{begin:/\p{space}*(;)/dgv,beginCaptures:{"1":{name:"punctuation.terminator.marko"}},end:/(?=\n?$)/dgv,patterns:[{include:"#javascript-comments"},{include:"#html-comment"},{include:"#invalid"}]},"concise-style-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.css",end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style"}]},"concise-style-block-less":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.less",end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style-less"}]},"concise-style-block-scss":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.scss",end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style-scss"}]},"concise-style-line":{applyEndPatternLast:1,begin:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.css",end:/(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style"}]},"concise-style-line-less":{applyEndPatternLast:1,begin:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.less",end:/(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style-less"}]},"concise-style-line-scss":{applyEndPatternLast:1,begin:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.scss",end:/(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style-scss"}]},"content-concise-mode":{name:"meta.marko-concise-content",patterns:[{include:"#scriptlet"},{include:"#javascript-comments"},{include:"#cdata"},{include:"#doctype"},{include:"#declaration"},{include:"#html-comment"},{include:"#concise-html-block"},{include:"#concise-html-line"},{include:"#invalid-close-tag"},{include:"#tag-html"},{patterns:[{begin:/^(\p{space}*)(?=html-comment\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-comment-block"},{include:"#concise-comment-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b\P{space}*\.less\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-less"},{include:"#concise-style-line-less"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b\P{space}*\.scss\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-scss"},{include:"#concise-style-line-scss"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b\P{space}*\.[jt]s\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-script-block"},{include:"#concise-script-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block"},{include:"#concise-style-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?script\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-script-block"},{include:"#concise-script-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^([\t ]*)(?=[\#\$\.0-9\@-Z_a-z])/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#content-concise-mode"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv}]}]},"content-embedded-comment":{patterns:[{include:"#placeholder"},{match:/[^\n]/dgv,name:"comment.block.marko"}]},"content-embedded-script":{name:"meta.embedded.ts",patterns:[{include:"#placeholder"},{include:"source.ts"}]},"content-embedded-style":{name:"meta.embedded.css",patterns:[{include:"#placeholder"},{include:"source.css"}]},"content-embedded-style-less":{name:"meta.embedded.css.less",patterns:[{include:"#placeholder"},{include:"source.css.less"}]},"content-embedded-style-scss":{name:"meta.embedded.css.scss",patterns:[{include:"#placeholder"},{include:"source.css.scss"}]},"content-html-mode":{patterns:[{include:"#scriptlet"},{include:"#cdata"},{include:"#doctype"},{include:"#declaration"},{include:"#javascript-comments-after-whitespace"},{include:"#html-comment"},{include:"#invalid-close-tag"},{include:"#tag-html"},{match:/\\[^\n]/dgv,name:"text.marko"},{include:"#placeholder"},{match:/[^\n]+?/dgv,name:"text.marko"}]},declaration:{begin:/(<\?)\p{space}*([\-\$0-9A-Z_a-z]*)/dgv,captures:{"1":{name:"punctuation.definition.tag.marko"},"2":{name:"entity.name.tag.marko"}},end:/(\??>)/dgv,name:"meta.tag.metadata.processing.xml.marko",patterns:[{captures:{"1":{name:"entity.other.attribute-name.marko"},"2":{name:"punctuation.separator.key-value.html"},"3":{name:"string.quoted.double.marko"},"4":{name:"string.quoted.single.marko"},"5":{name:"string.unquoted.marko"}},match:/((?:[^\=\>\?\p{space}]|\?(?!>))+)(=)(?:("(?:[^"\\]|\\[^\n])*")|('(?:[^'\\]|\\[^\n])*')|((?:[^\>\?\p{space}]|\?(?!>))+))/dgv}]},doctype:{begin:/\p{space}*<!(?=DOCTYPE\p{space})/dgiv,beginCaptures:{"0":{name:"punctuation.definition.tag.begin.marko"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},name:"meta.tag.metadata.doctype.marko",patterns:[{match:/DOCTYPE/dgivy,name:"entity.name.tag.marko"},{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.marko"},{match:/[^\>\p{space}]+/dgv,name:"entity.other.attribute-name.marko"}]},"html-args-or-method":{patterns:[{include:"#tag-type-params"},{begin:/\p{space}*(?=\()/dgv,contentName:"source.ts",end:/(?<=\))/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts#paren-expression"}]},{begin:/(?<=\))\p{space}*(?=\{)/dgv,contentName:"source.ts",end:/(?<=\})/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts"}]}]},"html-comment":{begin:/\p{space}*(<!(--)?)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.marko"}},end:/\2>()()/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.marko"}},name:"comment.block.marko"},invalid:{match:/\P{space}/dgv,name:"invalid.illegal.character-not-allowed-here.marko"},"invalid-close-tag":{begin:/\p{space}*<\/[^\n]*?/dgv,end:/>/dgv,name:"invalid.illegal.character-not-allowed-here.marko"},"javascript-comments":{patterns:[{begin:/\p{space}*(?=\/\*)/dgv,contentName:"source.ts",end:/(?<=\*\/)/dgv,patterns:[{include:"source.ts"}]},{captures:{"0":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",match:/\p{space}*\/\/[^\n]*(?=\n?$)/dgv}]},"javascript-comments-after-whitespace":{patterns:[{begin:/(?:^|\p{space}+)(?=\/\*)/dgv,contentName:"source.ts",end:/(?<=\*\/)/dgv,patterns:[{include:"source.ts"}]},{captures:{"0":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",match:/(?:^|\p{space}+)\/\/[^\n]*(?=\n?$)/dgv}]},"javascript-expression":{patterns:[{include:"#javascript-comments"},{captures:{"0":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",match:/(?:\p{space}*\b(?:as|await|extends|in|instanceof|satisfies|keyof|new|typeof|void))+\p{space}+(?![\,\/\:\;\=\>])[\#\$0-9\@-Z_a-z]*/dgv},{applyEndPatternLast:1,captures:{"0":{name:"string.regexp.ts",patterns:[{include:"source.ts#regexp"},{include:"source.ts"}]}},contentName:"source.ts",match:/(?<![\]\%\)\.0-9\<A-Za-z\}])\p{space}*\/(?:[^\/\[\\]|\\[^\n]|\[(?:[^\]\\]|\\[^\n])*\])*\/[A-Za-z]*/dgv},{include:"source.ts"}]},"javascript-placeholder":{begin:/\$\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.template-expression.begin.ts"}},contentName:"source.ts",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.template-expression.end.ts"}},patterns:[{include:"source.ts"}]},"open-tag-content":{patterns:[{include:"#tag-before-attrs"},{begin:/(?!\/?>)/dgv,end:/(?=\/?>)/dgv,patterns:[{include:"#attrs"}]}]},placeholder:{begin:/\$!?\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.template-expression.begin.ts"}},contentName:"source.ts",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.template-expression.end.ts"}},patterns:[{include:"source.ts"}]},scriptlet:{begin:/^\p{space}*(\$)\p{space}+/dgv,beginCaptures:{"1":{name:"keyword.control.scriptlet.marko"}},contentName:"source.ts",end:/(?=\n?$)/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts"}]},"tag-before-attrs":{patterns:[{include:"#tag-name"},{include:"#tag-shorthand-class-or-id"},{begin:/\/(?![\*\/])/dgv,beginCaptures:{"0":{name:"punctuation.separator.tag-variable.marko"}},contentName:"source.ts",end:/(?=[\(\,\/\;\<\>\|]|:?=|\p{space}+[^\:]|(?=\n?$))/dgv,name:"meta.embedded.ts",patterns:[{match:/[\$A-Z_a-z][\$0-9A-Z_a-z]*/dgv,name:"variable.other.constant.object.ts"},{begin:/\{/dgv,captures:{"0":{name:"punctuation.definition.binding-pattern.object.ts"}},end:/\}/dgv,patterns:[{include:"source.ts#object-binding-element"},{include:"#javascript-expression"}]},{begin:/\[/dgv,captures:{"0":{name:"punctuation.definition.binding-pattern.array.ts"}},end:/\]/dgv,patterns:[{include:"source.ts#array-binding-element"},{include:"#javascript-expression"}]},{begin:/\p{space}*(:)(?!=)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.annotation.ts"}},end:/(?=[\]\(\,\;]|\/>|(?<=[^\=])>|(?<!(?:^|[\!\%\&\*\:\?\^\|\~]|[\-\!\%\&\*\+\/\<-\?\^\|\~]=|=>|>{2,}|[^\.]\.|[^\-]-|^\p{space}*\+\+|[^\+](?:\+{2})*\+|[\]\%\)\.0-9\<A-Za-z\}]\p{space}*\/|\b(?<!\.\p{space}*)(?:await|async|class|function|keyof|new|typeof|void))\p{space}*)(?:\n|[\t ]+(?![\n\!\%\&\*\+\:\?\^\{\|\~]|[\-\/\<\=\>]=|=>|>{2,}|\.[^\.]|-[^\-]|\/[^\>]|(?:in|instanceof|satisfies|as|extends)\p{space}+[^\,\/\:\;\=\>])))/dgv,patterns:[{include:"source.ts#type"},{include:"#javascript-expression"}]},{include:"#javascript-expression"}]},{begin:/\p{space}*\|/dgv,beginCaptures:{"0":{name:"punctuation.section.scope.begin.marko"}},contentName:"source.ts",end:/\|/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko"}},patterns:[{include:"source.ts#comment"},{include:"source.ts#string"},{include:"source.ts#decorator"},{include:"source.ts#destructuring-parameter"},{include:"source.ts#parameter-name"},{begin:/(:)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.annotation.ts"}},end:/(?=[\,\|])|(?==[^\>])/dgv,name:"meta.type.annotation.ts",patterns:[{include:"source.ts#type"}]},{include:"source.ts#variable-initializer"},{match:/,/dgv,name:"punctuation.separator.parameter.ts"},{include:"source.ts"}]},{include:"#html-args-or-method"},{include:"#attr-value"}]},"tag-html":{patterns:[{begin:/\p{space}*(<)(?=(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr|const|debug|id|let|lifecycle|log|return)\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/?>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"}]},{begin:/\p{space}*(<)(?=html-comment\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/(?:html-comment)?>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},end:/\p{space}*(<\/)(html-comment)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-comment"}]}]},{begin:/\p{space}*(<)(?=(?:html-)?style\b\P{space}*\.less\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/(?:(?:html-)?style)?>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.less",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-style-less"}]}]},{begin:/\p{space}*(<)(?=(?:html-)?style\b\P{space}*\.scss\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/(?:(?:html-)?style)?>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.scss",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-style-scss"}]}]},{begin:/\p{space}*(<)(?=(?:html-)?style\b\P{space}*\.[jt]s\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/(?:(?:html-)?style)?>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.ts",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-script"}]}]},{begin:/\p{space}*(<)(?=(?:html-)?style\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/(?:(?:html-)?style)?>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.css",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-style"}]}]},{begin:/\p{space}*(<)(?=(?:html-)?script\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/(?:(?:html-)?script)?>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.ts",end:/\p{space}*(<\/)((?:html-)?script)?(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"},"2":{patterns:[{include:"#tag-name"}]},"3":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-embedded-script"}]}]},{begin:/\p{space}*(<)(?=[\#\$\.0-9\@-Z_a-z])/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/[\-\#\$\.0-\:\@-Z_a-z]*>)/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},end:/\p{space}*(<\/)([\-\#\$\.0-\:\@-Z_a-z]+)?([^\n]*?)(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"},"2":{patterns:[{include:"#tag-name"},{include:"#tag-shorthand-class-or-id"}]},"3":{patterns:[{include:"#invalid"}]},"4":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#content-html-mode"}]}]}]},"tag-name":{patterns:[{applyEndPatternLast:1,begin:/*@__PURE__*/ new EmulatedRegExp("^(style)\\b(\\.[\\-\\$0-9A-Z_a-z]+(?:\\.[\\-\\$0-9A-Z_a-z]+)*)|([0-9\\@-Z_a-z](?:[\\-0-9\\@-Z_a-z]|:(?!=))*)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"support.type.builtin.marko"},"2":{name:"storage.type.marko.css"},"3":{patterns:[{match:/(script|style|html-script|html-style|html-comment)(?=\b)(?![\-\:\@])/dgv,name:"support.type.builtin.marko"},{match:/(for|if|while|else-if|else|try|await|return)(?=\b)(?![\-\:\@])/dgv,name:"keyword.control.flow.marko"},{match:/(const|context|debug|define|id|let|log|lifecycle)(?=\b)(?![\-\:\@])/dgv,name:"support.function.marko"},{match:/@[^\n]+/dgv,name:"entity.other.attribute-name.marko"},{match:/[^\n]+/dgv,name:"entity.name.tag.marko"}]}},end:/(?=[^\n])/dgv,patterns:[{include:"#tag-type-args"}]},{begin:/(?=[\$0-9A-Z_a-z]|-[^\-])/dgv,end:/(?=[^\-\$0-9A-Z_a-z]|(?=\n?$))/dgv,patterns:[{include:"#javascript-placeholder"},{match:/(?:[\-0-9A-Z_a-z]|\$(?!\{))+/dgv,name:"entity.name.tag.marko"}]}]},"tag-shorthand-class-or-id":{begin:/(?=[\#\.])/dgv,end:/(?=\n?$)|(?=--|[^\-\#\$\.0-9A-Z_a-z])/dgv,patterns:[{include:"#javascript-placeholder"},{match:/(?:[\-\#\.0-9A-Z_a-z]|\$(?!\{))+/dgv,name:"entity.other.attribute-name.marko"}]},"tag-type-args":{applyEndPatternLast:1,begin:/(?=<)/dgv,contentName:"source.ts",end:/(?<=>)/dgv,name:"meta.embedded.ts",patterns:[{applyEndPatternLast:1,begin:/(?<=>)(?=[\t ]*<)/dgv,end:/(?=[^\n])/dgv,patterns:[{include:"#tag-type-params"}]},{include:"source.ts#type-arguments"}]},"tag-type-params":{applyEndPatternLast:1,begin:/(?!^)[\t ]*(?=<)/dgv,contentName:"source.ts",end:/(?<=>)/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts#type-parameters"}]}},scopeName:"text.marko",embeddedLangs:["css","less","scss","typescript"],aliases:undefined})
|
|
7
8
|
|
|
8
9
|
export default [
|
|
9
10
|
...css,
|
|
10
11
|
...less,
|
|
11
12
|
...scss,
|
|
12
|
-
...
|
|
13
|
+
...typescript,
|
|
13
14
|
lang
|
|
14
15
|
]
|
package/dist/mermaid.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmulatedRegExp } from 'oniguruma-to-es'
|
|
2
2
|
|
|
3
|
-
const lang = Object.freeze({displayName:"Mermaid",fileTypes:[],injectionSelector:"L:text.html.markdown",name:"mermaid",patterns:[{include:"#mermaid-code-block"},{include:"#mermaid-code-block-with-attributes"},{include:"#mermaid-ado-code-block"}],repository:{mermaid:{patterns:[{begin:/^\p{space}*(architecture-beta)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"punctuation.definition.typeparameters.begin.mermaid"},"4":{name:"string"},"5":{name:"keyword.control.mermaid"},"6":{name:"string"},"7":{name:"punctuation.definition.typeparameters.end.mermaid"},"8":{name:"punctuation.definition.typeparameters.begin.mermaid"},"9":{name:"string"},"10":{name:"punctuation.definition.typeparameters.end.mermaid"},"11":{name:"keyword.control.mermaid"},"12":{name:"variable"}},match:/\p{space}*(group|service)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\()?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?(:)?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?(\))?\p{space}*(\[)?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?\p{space}*(\])?\p{space}*(in)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgiv},{captures:{"1":{name:"variable"},"2":{name:"punctuation.definition.typeparameters.begin.mermaid"},"3":{name:"variable"},"4":{name:"punctuation.definition.typeparameters.end.mermaid"},"5":{name:"keyword.control.mermaid"},"6":{name:"entity.name.function.mermaid"},"7":{name:"keyword.control.mermaid"},"8":{name:"entity.name.function.mermaid"},"9":{name:"keyword.control.mermaid"},"10":{name:"variable"},"11":{name:"punctuation.definition.typeparameters.begin.mermaid"},"12":{name:"variable"},"13":{name:"punctuation.definition.typeparameters.end.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?\p{space}*(group)?(\})?\p{space}*(:)\p{space}*([BLRT])\p{space}+(<?-->?)\p{space}+([BLRT])\p{space}*(:)\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?\p{space}*(group)?(\})?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"variable"}},match:/\p{space}*(junction)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(in)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgiv}]},{begin:/^\p{space}*(classDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"entity.name.type.class.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"entity.name.type.class.mermaid"},"6":{name:"keyword.control.mermaid"},"7":{name:"string"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}("(?:\p{Nd}+|\*|0[^\n][^\n]\p{Nd}+|1[^\n][^\n]\p{Nd}+|1[^\n][^\n]\*)")?\p{space}?(--o|--\*|<--|-->|<\.\.|\.\.>|<\|\.\.|\.\.\|>|<\|--|--\|>|--\*?|\.\.|\*--|o--)\p{space}("(?:\p{Nd}+|\*|0[^\n][^\n]\p{Nd}+|1[^\n][^\n]\p{Nd}+|1[^\n][^\n]\*)")?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)?\p{space}([^\n]*)(?=\n?$)/dgiv},{captures:{"1":{name:"entity.name.type.class.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"entity.name.function.mermaid"},"5":{name:"punctuation.parenthesis.open.mermaid"},"6":{name:"storage.type.mermaid"},"7":{name:"punctuation.definition.typeparameters.begin.mermaid"},"8":{name:"storage.type.mermaid"},"9":{name:"punctuation.definition.typeparameters.end.mermaid"},"10":{name:"entity.name.variable.parameter.mermaid"},"11":{name:"punctuation.parenthesis.closed.mermaid"},"12":{name:"keyword.control.mermaid"},"13":{name:"storage.type.mermaid"},"14":{name:"punctuation.definition.typeparameters.begin.mermaid"},"15":{name:"storage.type.mermaid"},"16":{name:"punctuation.definition.typeparameters.end.mermaid"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(\()([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(\))([\$\*]{0,2})\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?(?=\n?$)/dgv},{captures:{"1":{name:"entity.name.type.class.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"storage.type.mermaid"},"5":{name:"punctuation.definition.typeparameters.begin.mermaid"},"6":{name:"storage.type.mermaid"},"7":{name:"punctuation.definition.typeparameters.end.mermaid"},"8":{name:"entity.name.variable.field.mermaid"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(?=\n?$)/dgv},{captures:{"1":{name:"punctuation.definition.typeparameters.begin.mermaid"},"2":{name:"storage.type.mermaid"},"3":{name:"punctuation.definition.typeparameters.end.mermaid"},"4":{name:"entity.name.type.class.mermaid"}},match:/(<<)([\-\p{L}\p{M}\p{N}\p{Pc}]+)(>>)\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv},{begin:/(class)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.type.class.mermaid"},"3":{name:"punctuation.definition.typeparameters.begin.mermaid"},"4":{name:"storage.type.mermaid"},"5":{name:"punctuation.definition.typeparameters.end.mermaid"},"6":{name:"keyword.control.mermaid"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(\()/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"punctuation.parenthesis.open.mermaid"}},end:/(\))([\$\*]{0,2})\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.parenthesis.closed.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"storage.type.mermaid"},"4":{name:"punctuation.definition.typeparameters.begin.mermaid"},"5":{name:"storage.type.mermaid"},"6":{name:"punctuation.definition.typeparameters.end.mermaid"}},patterns:[{captures:{"1":{name:"storage.type.mermaid"},"2":{name:"punctuation.definition.typeparameters.begin.mermaid"},"3":{name:"storage.type.mermaid"},"4":{name:"punctuation.definition.typeparameters.end.mermaid"},"5":{name:"entity.name.variable.parameter.mermaid"}},match:/\p{space}*,?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"storage.type.mermaid"},"3":{name:"punctuation.definition.typeparameters.begin.mermaid"},"4":{name:"storage.type.mermaid"},"5":{name:"punctuation.definition.typeparameters.end.mermaid"},"6":{name:"entity.name.variable.field.mermaid"}},match:/\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(?=\n?$)/dgv},{captures:{"1":{name:"punctuation.definition.typeparameters.begin.mermaid"},"2":{name:"storage.type.mermaid"},"3":{name:"punctuation.definition.typeparameters.end.mermaid"},"4":{name:"entity.name.type.class.mermaid"}},match:/(<<)([\-\p{L}\p{M}\p{N}\p{Pc}]+)(>>)\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.type.class.mermaid"},"3":{name:"punctuation.definition.typeparameters.begin.mermaid"},"4":{name:"storage.type.mermaid"},"5":{name:"punctuation.definition.typeparameters.end.mermaid"}},match:/(class)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?/dgiv}]},{begin:/^\p{space}*(erDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"},"4":{name:"keyword.control.mermaid"}},match:/^\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\[)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+|"[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+")?\p{space}*(\])?(?=\n?$)/dgv},{begin:/\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\[)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+|"[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+")?\p{space}*(\])?\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"},"4":{name:"keyword.control.mermaid"},"5":{name:"keyword.control.mermaid"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"storage.type.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([FP]K)?\p{space}*("[\!-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")?\p{space}*/dgiv},{match:/%%[^\n]*/dgv,name:"comment"}]},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*((?:\|o|\|\||\}o|\}\||one or (?:zero|more|many)|zero or (?:one|more|many)|many\([01]\)|only one|0\+|1\+?)(?:[^\n][^\n]|--)(?:o\||\|\||o\{|\|\{|one or (?:zero|more|many)|zero or (?:one|more|many)|many\([01]\)|only one|0\+|1\+?))\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*("[\p{L}\p{M}\p{N}\p{Pc}\p{space}]*"|[\-\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv}]},{begin:/^\p{space}*(gantt)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(dateFormat)\p{space}+([\-\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(axisFormat)\p{space}+([\-\%\.\/\\\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/(tickInterval)\p{space}+(([1-9][0-9]*)(millisecond|second|minute|hour|day|week|month))/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(excludes)\p{space}+((?:[\-\,\p{Nd}\p{space}]|monday|tuesday|wednesday|thursday|friday|saturday|sunday|weekends)+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}+(todayMarker)\p{space}+([^\n]*)(?=\n?$)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(section)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}([^\n]*)(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{match:/(crit|done|active|after)/dgv,name:"entity.name.function.mermaid"},{match:/%%[^\n]*/dgv,name:"comment"}]}]},{begin:/^\p{space}*(gitGraph)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/^\p{space}*(commit)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*(id)(:)\p{space}?("[^\n"]*")/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"entity.name.function.mermaid"}},match:/\p{space}*(type)(:)\p{space}?(NORMAL|REVERSE|HIGHLIGHT)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*(tag)(:)\p{space}?("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgiv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/^\p{space}*(checkout)\p{space}*([^"\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"constant.numeric.decimal.mermaid"}},match:/^\p{space}*(branch)\p{space}*([^"\p{space}]*)\p{space}*(?:(order)(:)\p{space}?(\p{Nd}+))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/^\p{space}*(merge)\p{space}*([^"\p{space}]*)\p{space}*(?:(tag)(:)\p{space}?("[^\n"]*"))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/^\p{space}*(cherry-pick)\p{space}+(id)(:)\p{space}*("[^\n"]*")/dgiv}]},{begin:/^\p{space}*(graph|flowchart)\p{space}+([ 0-9\p{L}]+)?/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"},"5":{name:"keyword.control.mermaid"}},match:/^\p{space}*(subgraph)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)(\[)("?[\!\#-'\*-\/\:\<-\?\\\^\`\p{L}\p{M}\p{N}\p{Pc}\p{space}]*"?)(\])/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(subgraph)\p{space}+([ 0-9\<\>\p{L}]+)/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(direction)\p{space}+(RB|BT|RL|TD|LR)/dgiv},{match:/\b(end)\b/dgv,name:"keyword.control.mermaid"},{begin:/\b((?:(?!--|==)[\-\p{L}\p{M}\p{N}\p{Pc}])+\b\p{space}*)(\(\[|\[\[|\[\(?|\(+|[\>\{]|\(\()/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},end:/(\]\)|\]\]|\)\]|\]|\)+|\}|\)\))/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{begin:/\p{space}*(")/dgv,beginCaptures:{"1":{name:"string"}},end:/(")/dgv,endCaptures:{"1":{name:"string"}},patterns:[{begin:/([^"]*)/dgv,beginCaptures:{"1":{name:"string"}},end:/(?=")/dgv,patterns:[{captures:{"1":{name:"comment"}},match:/([^"]*)/dgv}]}]},{captures:{"1":{name:"string"}},match:/\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv}]},{begin:/\p{space}*((?:-{2,5}|={2,5})[\>ox]?\|)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(\|)/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{begin:/\p{space}*(")/dgv,beginCaptures:{"1":{name:"string"}},end:/(")/dgv,endCaptures:{"1":{name:"string"}},patterns:[{begin:/([^"]*)/dgv,beginCaptures:{"1":{name:"string"}},end:/(?=")/dgv,patterns:[{captures:{"1":{name:"comment"}},match:/([^"]*)/dgv}]}]},{captures:{"1":{name:"string"}},match:/\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*([\<ox]?(?:-{2,5}|={2,5}|-\.{1,3}|-\.))((?:(?!--|==)[\!-'\*-\/\:\<-\?\[-\^\`\p{L}\p{M}\p{N}\p{Pc}\p{space}])*)((?:-{2,5}|={2,5}|\.{1,3}-|\.-)[\>ox]?)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*([\<ox]?(?:-[^\n]{1,3}-|-{1,3}|={1,3})[\>ox]?)/dgiv},{match:/\b((?:(?!--|==)[\-\p{L}\p{M}\p{N}\p{Pc}])+\b\p{space}*)/dgv,name:"variable"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"string"}},match:/\p{space}*(class)\p{space}+\b([\-\,\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"string"}},match:/\p{space}*(classDef)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b\p{space}+\b([\-\#\,\:\;\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"variable"},"4":{name:"string"}},match:/\p{space}*(click)\p{space}+\b([\-\p{L}\p{M}\p{N}\p{Pc}]+\b\p{space}*)(\b[\p{L}\p{M}\p{N}\p{Pc}]+\b)?\p{space}("*[^\n]*")/dgiv},{begin:/\p{space}*(@\{)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*(shape\p{space}*:)([^\,\}]*)(,)?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*(label\p{space}*:)([^\,\}]*)(,)?/dgiv}]}]},{begin:/^\p{space}*(pie)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/\p{space}([^\n]*)(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{match:/%%[^\n]*/dgv,name:"comment"}]}]},{begin:/^\p{space}*(quadrantChart)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}*([xy]-axis)\p{space}+((?:(?!-->)[\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}])*)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(-->)\p{space}*([\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(quadrant-[1-4])\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"constant.numeric.decimal.mermaid"},"5":{name:"keyword.control.mermaid"},"6":{name:"constant.numeric.decimal.mermaid"},"7":{name:"keyword.control.mermaid"}},match:/\p{space}*([\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(:)\p{space}*(\[)\p{space}*(\p{Nd}\.\p{Nd}+)\p{space}*(,)\p{space}*(\p{Nd}\.\p{Nd}+)\p{space}*(\])/dgv}]},{begin:/^\p{space}*(requirementDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/^\p{space}*((?:functional|interface|performance|physical)?requirement|designConstraint)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(id:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(text:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/\p{space}*(risk:)\p{space}*(low|medium|high)\p{space}*(?=\n?$)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/\p{space}*(verifymethod:)\p{space}*(analysis|inspection|test|demonstration)\p{space}*(?=\n?$)/dgiv}]},{begin:/^\p{space}*(element)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(type:)\p{space}*([\!-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(docref:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv}]},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"}},match:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(-)\p{space}*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\p{space}*(->)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\n?$)/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"}},match:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(<-)\p{space}*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\p{space}*(-)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\n?$)/dgiv}]},{begin:/^\p{space}*(sequenceDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/(%%|#)[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/(title)\p{space}*(:)?\p{space}+(\p{space}*[\!-\/\:\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/\p{space}*(participant|actor)\p{space}+((?:(?! as )[\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}])+)\p{space}*(as)?\p{space}([\!-\*\,\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*((?:de)?activate)\p{space}+\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"},"6":{name:"keyword.control.mermaid"},"7":{name:"string"}},match:/\p{space}*(Note)\p{space}+((?:left|right)\p{space}of|over)\p{space}+\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)(,)?(\b[\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)?(:)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(loop)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(end)/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(alt|else|option|par|and|rect|autonumber|critical|opt)(?:\p{space}+([^\#\;]*))?(?=\n?$)/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/\p{space}*\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?)\p{space}*(-?-[\)\>x]>?[\-\+]?)\p{space}*([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?)\p{space}*(:)\p{space}*([^\#\;]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"string"}},match:/\p{space}*(box)\p{space}+(transparent)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(box)(?:\p{space}+([^\#\;]*))?/dgiv}]},{begin:/^\p{space}*(stateDiagram(?:-v2)?)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}+(\})\p{space}+/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}+(--)\p{space}+/dgv},{match:/^\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)(?=\n?$)/dgv,name:"variable"},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(:)\p{space}+(\p{space}*[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)\b/dgv},{begin:/^\p{space}*(state)\p{space}+/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"}},match:/\p{space}*("[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b")\p{space}+(as)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(\{)/dgv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(<<(?:fork|join)>>)/dgiv}]},{begin:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(-->)/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/(\[\*\])\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/(\[\*\])\p{space}+(-->)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/^\p{space}*(note (?:left|right) of)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(:)\p{space}*([^\n\:]+)/dgiv},{begin:/^\p{space}*(note (?:left|right) of)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)([^\n]|\n)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},contentName:"string",end:/(end note)/dgiv,endCaptures:{"1":{name:"keyword.control.mermaid"}}}]},{begin:/^\p{space}*(journey)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title|section)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/\p{space}*([\!"\$-\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(:)\p{space}*(\p{Nd}+)\p{space}*(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"},"4":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"variable"}},match:/\p{space}*,?\p{space}*([^\n\#\,]+)/dgv}]}]},{begin:/^\p{space}*(xychart(?:-beta)?(?:\p{space}+horizontal)?)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}*(x-axis)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)\p{space}*(-->)\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+([\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{begin:/\p{space}*(\[)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/\p{space}*(\])/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}*("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}*([\-\!\#-\(\*\+\.\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(,)/dgv}]}]},{begin:/^\p{space}*(y-axis)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)\p{space}*(-->)\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+([\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}]*)/dgv}]},{begin:/^\p{space}*(line|bar)\p{space}*(\[)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"}},end:/\p{space}*(\])/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(,)/dgv}]}]}]},"mermaid-ado-code-block":{begin:/\p{space}*:::\p{space}*mermaid\p{space}*(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/\p{space}*:::\p{space}*/dgv,patterns:[{include:"#mermaid"}]},"mermaid-code-block":{begin:/(?<=[\`\~])mermaid(\p{space}+[^\`\~]*)?(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{include:"#mermaid"}]},"mermaid-code-block-with-attributes":{begin:/(?<=[\`\~])\{\p{space}*\.?mermaid(\p{space}+[^\`\~]*)?(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{include:"#mermaid"}]}},scopeName:"markdown.mermaid.codeblock",embeddedLangs:undefined,aliases:["mmd"]})
|
|
3
|
+
const lang = Object.freeze({displayName:"Mermaid",fileTypes:[],injectionSelector:"L:text.html.markdown",name:"mermaid",patterns:[{include:"#mermaid-code-block"},{include:"#mermaid-code-block-with-attributes"},{include:"#mermaid-ado-code-block"}],repository:{mermaid:{patterns:[{begin:/^\p{space}*(architecture-beta)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"punctuation.definition.typeparameters.begin.mermaid"},"4":{name:"string"},"5":{name:"keyword.control.mermaid"},"6":{name:"string"},"7":{name:"punctuation.definition.typeparameters.end.mermaid"},"8":{name:"punctuation.definition.typeparameters.begin.mermaid"},"9":{name:"string"},"10":{name:"punctuation.definition.typeparameters.end.mermaid"},"11":{name:"keyword.control.mermaid"},"12":{name:"variable"}},match:/\p{space}*(group|service)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\()?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?(:)?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?(\))?\p{space}*(\[)?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?\p{space}*(\])?\p{space}*(in)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgiv},{captures:{"1":{name:"variable"},"2":{name:"punctuation.definition.typeparameters.begin.mermaid"},"3":{name:"variable"},"4":{name:"punctuation.definition.typeparameters.end.mermaid"},"5":{name:"keyword.control.mermaid"},"6":{name:"entity.name.function.mermaid"},"7":{name:"keyword.control.mermaid"},"8":{name:"entity.name.function.mermaid"},"9":{name:"keyword.control.mermaid"},"10":{name:"variable"},"11":{name:"punctuation.definition.typeparameters.begin.mermaid"},"12":{name:"variable"},"13":{name:"punctuation.definition.typeparameters.end.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?\p{space}*(group)?(\})?\p{space}*(:)\p{space}*([BLRT])\p{space}+(<?-->?)\p{space}+([BLRT])\p{space}*(:)\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?\p{space}*(group)?(\})?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"variable"}},match:/\p{space}*(junction)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(in)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgiv}]},{begin:/^\p{space}*(classDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"entity.name.type.class.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"entity.name.type.class.mermaid"},"6":{name:"keyword.control.mermaid"},"7":{name:"string"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}("(?:\p{Nd}+|\*|0[^\n][^\n]\p{Nd}+|1[^\n][^\n]\p{Nd}+|1[^\n][^\n]\*)")?\p{space}?(--o|--\*|<--|-->|<\.\.|\.\.>|<\|\.\.|\.\.\|>|<\|--|--\|>|--\*?|\.\.|\*--|o--)\p{space}("(?:\p{Nd}+|\*|0[^\n][^\n]\p{Nd}+|1[^\n][^\n]\p{Nd}+|1[^\n][^\n]\*)")?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)?\p{space}([^\n]*)(?=\n?$)/dgiv},{captures:{"1":{name:"entity.name.type.class.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"entity.name.function.mermaid"},"5":{name:"punctuation.parenthesis.open.mermaid"},"6":{name:"storage.type.mermaid"},"7":{name:"punctuation.definition.typeparameters.begin.mermaid"},"8":{name:"storage.type.mermaid"},"9":{name:"punctuation.definition.typeparameters.end.mermaid"},"10":{name:"entity.name.variable.parameter.mermaid"},"11":{name:"punctuation.parenthesis.closed.mermaid"},"12":{name:"keyword.control.mermaid"},"13":{name:"storage.type.mermaid"},"14":{name:"punctuation.definition.typeparameters.begin.mermaid"},"15":{name:"storage.type.mermaid"},"16":{name:"punctuation.definition.typeparameters.end.mermaid"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(\()([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(\))([\$\*]{0,2})\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?(?=\n?$)/dgv},{captures:{"1":{name:"entity.name.type.class.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"storage.type.mermaid"},"5":{name:"punctuation.definition.typeparameters.begin.mermaid"},"6":{name:"storage.type.mermaid"},"7":{name:"punctuation.definition.typeparameters.end.mermaid"},"8":{name:"entity.name.variable.field.mermaid"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(?=\n?$)/dgv},{captures:{"1":{name:"punctuation.definition.typeparameters.begin.mermaid"},"2":{name:"storage.type.mermaid"},"3":{name:"punctuation.definition.typeparameters.end.mermaid"},"4":{name:"entity.name.type.class.mermaid"}},match:/(<<)([\-\p{L}\p{M}\p{N}\p{Pc}]+)(>>)\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv},{begin:/(class)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.type.class.mermaid"},"3":{name:"punctuation.definition.typeparameters.begin.mermaid"},"4":{name:"storage.type.mermaid"},"5":{name:"punctuation.definition.typeparameters.end.mermaid"},"6":{name:"keyword.control.mermaid"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(\()/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"punctuation.parenthesis.open.mermaid"}},end:/(\))([\$\*]{0,2})\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.parenthesis.closed.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"storage.type.mermaid"},"4":{name:"punctuation.definition.typeparameters.begin.mermaid"},"5":{name:"storage.type.mermaid"},"6":{name:"punctuation.definition.typeparameters.end.mermaid"}},patterns:[{captures:{"1":{name:"storage.type.mermaid"},"2":{name:"punctuation.definition.typeparameters.begin.mermaid"},"3":{name:"storage.type.mermaid"},"4":{name:"punctuation.definition.typeparameters.end.mermaid"},"5":{name:"entity.name.variable.parameter.mermaid"}},match:/\p{space}*,?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"storage.type.mermaid"},"3":{name:"punctuation.definition.typeparameters.begin.mermaid"},"4":{name:"storage.type.mermaid"},"5":{name:"punctuation.definition.typeparameters.end.mermaid"},"6":{name:"entity.name.variable.field.mermaid"}},match:/\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(?=\n?$)/dgv},{captures:{"1":{name:"punctuation.definition.typeparameters.begin.mermaid"},"2":{name:"storage.type.mermaid"},"3":{name:"punctuation.definition.typeparameters.end.mermaid"},"4":{name:"entity.name.type.class.mermaid"}},match:/(<<)([\-\p{L}\p{M}\p{N}\p{Pc}]+)(>>)\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.type.class.mermaid"},"3":{name:"punctuation.definition.typeparameters.begin.mermaid"},"4":{name:"storage.type.mermaid"},"5":{name:"punctuation.definition.typeparameters.end.mermaid"}},match:/(class)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?/dgiv}]},{begin:/^\p{space}*(erDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"},"4":{name:"keyword.control.mermaid"}},match:/^\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\[)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+|"[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+")?\p{space}*(\])?(?=\n?$)/dgv},{begin:/\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\[)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+|"[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+")?\p{space}*(\])?\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"},"4":{name:"keyword.control.mermaid"},"5":{name:"keyword.control.mermaid"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"storage.type.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([FPU]K(?:,\p{space}*[FPU]K){0,2})?\p{space}*("[\!-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")?\p{space}*/dgiv},{match:/%%[^\n]*/dgv,name:"comment"}]},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*((?:\|o|\|\||\}o|\}\||one or (?:zero|more|many)|zero or (?:one|more|many)|many\([01]\)|only one|0\+|1\+?)(?:[^\n][^\n]|--)(?:o\||\|\||o\{|\|\{|one or (?:zero|more|many)|zero or (?:one|more|many)|many\([01]\)|only one|0\+|1\+?))\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*("[\p{L}\p{M}\p{N}\p{Pc}\p{space}]*"|[\-\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv}]},{begin:/^\p{space}*(gantt)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(dateFormat)\p{space}+([\-\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(axisFormat)\p{space}+([\-\%\.\/\\\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/(tickInterval)\p{space}+(([1-9][0-9]*)(millisecond|second|minute|hour|day|week|month))/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(excludes)\p{space}+((?:[\-\,\p{Nd}\p{space}]|monday|tuesday|wednesday|thursday|friday|saturday|sunday|weekends)+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}+(todayMarker)\p{space}+([^\n]*)(?=\n?$)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(section)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}([^\n]*)(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{match:/(crit|done|active|after)/dgv,name:"entity.name.function.mermaid"},{match:/%%[^\n]*/dgv,name:"comment"}]}]},{begin:/^\p{space}*(gitGraph)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/^\p{space}*(commit)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*(id)(:)\p{space}?("[^\n"]*")/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"entity.name.function.mermaid"}},match:/\p{space}*(type)(:)\p{space}?(NORMAL|REVERSE|HIGHLIGHT)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*(tag)(:)\p{space}?("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgiv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/^\p{space}*(checkout)\p{space}*([^"\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"constant.numeric.decimal.mermaid"}},match:/^\p{space}*(branch)\p{space}*([^"\p{space}]*)\p{space}*(?:(order)(:)\p{space}?(\p{Nd}+))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/^\p{space}*(merge)\p{space}*([^"\p{space}]*)\p{space}*(?:(tag)(:)\p{space}?("[^\n"]*"))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/^\p{space}*(cherry-pick)\p{space}+(id)(:)\p{space}*("[^\n"]*")/dgiv}]},{begin:/^\p{space}*(graph|flowchart)\p{space}+([ 0-9\p{L}]+)?/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"},"5":{name:"keyword.control.mermaid"}},match:/^\p{space}*(subgraph)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)(\[)("?[\!\#-'\*-\/\:\<-\?\\\^\`\p{L}\p{M}\p{N}\p{Pc}\p{space}]*"?)(\])/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(subgraph)\p{space}+([ 0-9\<\>\p{L}]+)/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(direction)\p{space}+(RB|BT|RL|TD|LR)/dgiv},{match:/\b(end)\b/dgv,name:"keyword.control.mermaid"},{begin:/\b((?:(?!--|==)[\-\p{L}\p{M}\p{N}\p{Pc}])+\b\p{space}*)(\(\[|\[\[|\[\(?|\(+|[\>\{]|\(\()/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},end:/(\]\)|\]\]|\)\]|\]|\)+|\}|\)\))/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{begin:/\p{space}*(")/dgv,beginCaptures:{"1":{name:"string"}},end:/(")/dgv,endCaptures:{"1":{name:"string"}},patterns:[{begin:/([^"]*)/dgv,beginCaptures:{"1":{name:"string"}},end:/(?=")/dgv,patterns:[{captures:{"1":{name:"comment"}},match:/([^"]*)/dgv}]}]},{captures:{"1":{name:"string"}},match:/\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv}]},{begin:/\p{space}*((?:-?\.{1,4}-|-{2,5}|={2,5})[\>ox]?\|)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(\|)/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{begin:/\p{space}*(")/dgv,beginCaptures:{"1":{name:"string"}},end:/(")/dgv,endCaptures:{"1":{name:"string"}},patterns:[{begin:/([^"]*)/dgv,beginCaptures:{"1":{name:"string"}},end:/(?=")/dgv,patterns:[{captures:{"1":{name:"comment"}},match:/([^"]*)/dgv}]}]},{captures:{"1":{name:"string"}},match:/\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*([\<ox]?(?:-{2,5}|={2,5}|-\.{1,3}|-\.))((?:(?!--|==)[\!-'\*-\/\:\<-\?\[-\^\`\p{L}\p{M}\p{N}\p{Pc}\p{space}])*)((?:-{2,5}|={2,5}|\.{1,3}-|\.-)[\>ox]?)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*([\<ox]?(?:-?\.{1,4}-|-{1,4}|={1,4})[\>ox]?)/dgiv},{match:/\b((?:(?!--|==)[\-\p{L}\p{M}\p{N}\p{Pc}])+\b\p{space}*)/dgv,name:"variable"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"string"}},match:/\p{space}*(class)\p{space}+\b([\-\,\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"string"}},match:/\p{space}*(classDef)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b\p{space}+\b([\-\#\,\:\;\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"variable"},"4":{name:"string"}},match:/\p{space}*(click)\p{space}+\b([\-\p{L}\p{M}\p{N}\p{Pc}]+\b\p{space}*)(\b[\p{L}\p{M}\p{N}\p{Pc}]+\b)?\p{space}("*[^\n]*")/dgiv},{begin:/\p{space}*(@\{)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*(shape\p{space}*:)([^\,\}]*)(,)?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*(label\p{space}*:)([^\,\}]*)(,)?/dgiv}]}]},{begin:/^\p{space}*(pie)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/\p{space}([^\n]*)(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{match:/%%[^\n]*/dgv,name:"comment"}]}]},{begin:/^\p{space}*(quadrantChart)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}*([xy]-axis)\p{space}+((?:(?!-->)[\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}])*)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(-->)\p{space}*([\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(quadrant-[1-4])\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"constant.numeric.decimal.mermaid"},"5":{name:"keyword.control.mermaid"},"6":{name:"constant.numeric.decimal.mermaid"},"7":{name:"keyword.control.mermaid"}},match:/\p{space}*([\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(:)\p{space}*(\[)\p{space}*(\p{Nd}\.\p{Nd}+)\p{space}*(,)\p{space}*(\p{Nd}\.\p{Nd}+)\p{space}*(\])/dgv}]},{begin:/^\p{space}*(requirementDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/^\p{space}*((?:functional|interface|performance|physical)?requirement|designConstraint)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(id:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(text:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/\p{space}*(risk:)\p{space}*(low|medium|high)\p{space}*(?=\n?$)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/\p{space}*(verifymethod:)\p{space}*(analysis|inspection|test|demonstration)\p{space}*(?=\n?$)/dgiv}]},{begin:/^\p{space}*(element)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(type:)\p{space}*([\!-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(docref:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv}]},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"}},match:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(-)\p{space}*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\p{space}*(->)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\n?$)/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"}},match:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(<-)\p{space}*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\p{space}*(-)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\n?$)/dgiv}]},{begin:/^\p{space}*(sequenceDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/(%%|#)[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/(title)\p{space}*(:)?\p{space}+(\p{space}*[\!-\/\:\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/\p{space}*(participant|actor)\p{space}+((?:(?! as )[\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}])+)\p{space}*(as)?\p{space}([\!-\*\,\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*((?:de)?activate)\p{space}+\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"},"6":{name:"keyword.control.mermaid"},"7":{name:"string"}},match:/\p{space}*(Note)\p{space}+((?:left|right)\p{space}of|over)\p{space}+\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)(,)?(\b[\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)?(:)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(loop)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(end)/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(alt|else|option|par|and|rect|autonumber|critical|opt)(?:\p{space}+([^\#\;]*))?(?=\n?$)/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/\p{space}*\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?)\p{space}*(-?-[\)\>x]>?[\-\+]?)\p{space}*([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?)\p{space}*(:)\p{space}*([^\#\;]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"string"}},match:/\p{space}*(box)\p{space}+(transparent)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(box)(?:\p{space}+([^\#\;]*))?/dgiv}]},{begin:/^\p{space}*(stateDiagram(?:-v2)?)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(direction)\p{space}+(BT|RL|TB|LR)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}+(\})\p{space}+/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}+(--)\p{space}+/dgv},{match:/^\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)(?=\n?$)/dgv,name:"variable"},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*(\p{space}*[^\:]+)/dgv},{begin:/^\p{space}*(state)\p{space}+/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"}},match:/\p{space}*("[^"]+")\p{space}*(as)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(\{)/dgv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(<<(?:fork|join)>>)/dgiv}]},{begin:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(-->)/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/(\[\*\])\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/(\[\*\])\p{space}*(-->)\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/^\p{space}*(note (?:left|right) of)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*([^\n\:]+)/dgiv},{begin:/^\p{space}*(note (?:left|right) of)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)([^\n]|\n)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},contentName:"string",end:/(end note)/dgiv,endCaptures:{"1":{name:"keyword.control.mermaid"}}}]},{begin:/^\p{space}*(journey)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title|section)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/\p{space}*([\!"\$-\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(:)\p{space}*(\p{Nd}+)\p{space}*(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"},"4":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"variable"}},match:/\p{space}*,?\p{space}*([^\n\#\,]+)/dgv}]}]},{begin:/^\p{space}*(xychart(?:-beta)?(?:\p{space}+horizontal)?)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}*(x-axis)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)\p{space}*(-->)\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+([\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{begin:/\p{space}*(\[)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/\p{space}*(\])/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}*("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}*([\-\!\#-\(\*\+\.\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(,)/dgv}]}]},{begin:/^\p{space}*(y-axis)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)\p{space}*(-->)\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+([\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}]*)/dgv}]},{begin:/^\p{space}*(line|bar)\p{space}*(\[)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"}},end:/\p{space}*(\])/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(,)/dgv}]}]}]},"mermaid-ado-code-block":{begin:/\p{space}*:::\p{space}*mermaid\p{space}*(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/\p{space}*:::\p{space}*/dgv,patterns:[{include:"#mermaid"}]},"mermaid-code-block":{begin:/(?<=[\`\~])mermaid(\p{space}+[^\`\~]*)?(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{include:"#mermaid"}]},"mermaid-code-block-with-attributes":{begin:/(?<=[\`\~])\{\p{space}*\.?mermaid(\p{space}+[^\`\~]*)?(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{include:"#mermaid"}]}},scopeName:"markdown.mermaid.codeblock",embeddedLangs:undefined,aliases:["mmd"]})
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
lang
|