nuxt-studio 1.4.0 → 1.5.1

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.
Files changed (47) hide show
  1. package/README.md +1 -0
  2. package/dist/app/bash-B8OHlvmy.js +1 -0
  3. package/dist/app/css-qVUxccX0.js +1 -0
  4. package/dist/app/en-CZaXIbpT.js +1 -0
  5. package/dist/app/engine-compile-1A_TmkOK.js +47 -0
  6. package/dist/app/fr-TmrooVTw.js +1 -0
  7. package/dist/app/html-derivative-DL2d6cy-.js +1 -0
  8. package/dist/app/hu-d1rgPQJS.js +1 -0
  9. package/dist/app/{index-BzjOWvSV.js → index-BizPcbmC.js} +1 -1
  10. package/dist/app/index-D52QVfmA.js +2 -0
  11. package/dist/app/index-DmPVZd3w.js +1 -0
  12. package/dist/app/{index-DN_Tmc8V.js → index-JQKg5d2g.js} +1 -1
  13. package/dist/app/main-DVjyyjbg.js +42 -0
  14. package/dist/app/main-KMOUKf4W.js +43 -0
  15. package/dist/app/main.d.ts +51 -29
  16. package/dist/app/main.js +1 -1
  17. package/dist/app/mdc-DHVjNz-H.js +1 -0
  18. package/dist/app/{rehype-B0pzK8Ph.js → rehype-BqN365ZH.js} +1 -1
  19. package/dist/app/rehype-CnrSkHB2.js +1 -0
  20. package/dist/app/rst-Fqy0Smiz.js +1 -0
  21. package/dist/app/service-worker.d.ts +37 -28
  22. package/dist/app/service-worker.js +1 -1
  23. package/dist/app/shared.d.ts +37 -28
  24. package/dist/app/{shiki-DIDkQbrM.js → shiki-Boq42Ne5.js} +1 -1
  25. package/dist/app/shiki-CVI8BlHQ.js +1 -0
  26. package/dist/app/sk-BvhYsbV3.js +1 -0
  27. package/dist/app/svelte-CLa4vPyC.js +1 -0
  28. package/dist/app/vue-CitcOps-.js +1 -0
  29. package/dist/module/module.d.mts +37 -0
  30. package/dist/module/module.json +1 -1
  31. package/dist/module/module.mjs +21 -6
  32. package/dist/module/runtime/composables/useMeta.d.ts +11 -1
  33. package/dist/module/runtime/composables/useMeta.js +18 -4
  34. package/dist/module/runtime/host.js +15 -1
  35. package/dist/module/runtime/plugins/studio.client.dev.js +2 -1
  36. package/dist/module/runtime/plugins/studio.client.js +2 -1
  37. package/dist/module/runtime/server/routes/ipx/[...path].d.ts +6 -0
  38. package/dist/module/runtime/server/routes/ipx/[...path].js +40 -0
  39. package/dist/module/runtime/server/routes/meta.d.ts +10 -3
  40. package/dist/module/runtime/server/routes/meta.js +12 -2
  41. package/dist/module/runtime/server/utils/media/ipx.d.ts +14 -0
  42. package/dist/module/runtime/server/utils/media/ipx.js +111 -0
  43. package/dist/module/runtime/utils/componentGroups.d.ts +20 -0
  44. package/dist/module/runtime/utils/componentGroups.js +30 -0
  45. package/dist/module/runtime/utils/document/generate.js +6 -3
  46. package/package.json +2 -1
  47. package/dist/app/main-BaiiAKHN.js +0 -42
package/README.md CHANGED
@@ -16,6 +16,7 @@ https://github.com/user-attachments/assets/39bf4250-e72b-45aa-bf6d-9441a38cb2d5
16
16
  - ✨ **TipTap Visual Editor** - Markdown editor with MDC component support (default mode)
17
17
  - 📝 **Form-based Editor** - Edit YAML/JSON files and frontmatter with auto-generated forms based on collection schemas
18
18
  - 🎨 **Vue Component Props Editor** - Visual interface for editing Vue component props directly in the editor
19
+ - 🧠 **AI-powered content suggestions** - Plug and play DX with the Vercel AI Gateway, let AI help you shape your content.
19
20
  - 🔄 **Real-time Preview** - See your changes instantly on your production website
20
21
  - 🔐 **Multi-provider Authentication** - Secure OAuth-based login with GitHub, GitLab, and Google
21
22
  - 🔑 **Custom Authentication** - Utilities for implementing your own auth flow (password, SSO, LDAP)
@@ -0,0 +1 @@
1
+ const e=[Object.freeze(JSON.parse('{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[\\\\t ]*+(alias)[\\\\t ]*+((?:((?<!\\\\w)-\\\\w+)\\\\b[\\\\t ]*+)*)[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\t ]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[\\\\t ]++(?![\\\\n#\\\\&(\\\\[|]|$|;)","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)\\\\b(true|false)\\\\b(?!\\\\w)"}]}},"match":"[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\`|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^]\\\\[]+)(])"},"array_value":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))[\\\\t ]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$))|((?![\\"\']|\\\\\\\\\\\\n?$)[^\\\\t\\\\n\\\\r !\\"\'<>]+?))(?:(?=[\\\\t ])|(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"\\\\b(case)\\\\b[\\\\t ]*+(.+?)[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[\\\\t ]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![\\\\t ]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?=\\\\besac\\\\b)|(\\\\))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(;;)|(?=\\\\besac\\\\b)","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[\\\\t ]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^\\\\t\\\\n )*?@\\\\[|]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)`])|(?=<)","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|[\\"\')}])([^\\\\t\\\\n\\\\r \\"\\\\&\');->`{|]+)"},{"begin":"(?:\\\\G|(?<![\\\\t\\\\n #\\\\&;{|]))(\\\\$?)((\\")|(\'))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=\\\\2)","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[\\\\t ]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=\')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"\'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\`]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[\\\\t \\\\&;])(?:then|elif|else|done|end|do|if|fi)(?=[\\\\t \\\\&;]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"\\\\b(for)\\\\b[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[\\\\t ]*+(?:\\\\b(function)\\\\b[\\\\t ]*+([^\\\\t\\\\n\\\\r \\"\'()=]+)(?:(\\\\()[\\\\t ]*+(\\\\)))?|([^\\\\t\\\\n\\\\r \\"\'()=]+)[\\\\t ]*+(\\\\()[\\\\t ]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[)}])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t\\\\n ]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[\\\\t ]*+([\\"\'])[\\\\t ]*+([^\\"\']+?)(?=[\\"\\\\&\';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"^\\\\t*\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([\\"\'])[\\\\t ]*+([^\\"\']+?)(?=[\\"\\\\&\';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"^\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[\\\\t ]*+([^\\\\t \\"\']+)(?=[\\"\\\\&\';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"^\\\\t*\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([^\\\\t \\"\']+)(?=[\\"\\\\&\';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"^\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*((\'))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(\')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^)\\\\\\\\\\\\s]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[$\\\\\\\\`]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\&;\\\\s]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[\\\\&;\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\&;\\\\s]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[\\\\&;\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(while|until)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(select)\\\\s+((?:[^\\\\\\\\\\\\s]|\\\\\\\\.)+)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[\\\\&;\\\\s])(done)(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])if(?=[\\\\&;\\\\s]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[\\\\&;\\\\s])fi(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^\\\\t ])(\\\\{)(?![$\\\\w])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[\\\\t ])(?![\\\\t ]|\\\\w+=)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[\\\\t ]*+$)(?:(?<=(?:^until| until|\\\\tuntil|^while| while|\\\\twhile|^elif| elif|\\\\telif|^else| else|\\\\telse|^then| then|\\\\tthen|^do| do|\\\\tdo|^if| if|\\\\tif) )|(?<=^|[!\\\\&(;`{|]))[\\\\t ]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}])"},"option":{"begin":"[\\\\t ]++(-)((?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;]))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?=[\\\\t ])|(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[:=\\\\s]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([!*+?@])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(time)(?=[\\\\&;\\\\s]|$)","name":"keyword.other.shell"},{"match":"[!|]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\`|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[\\\\t ])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[<>]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[<>])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[\\\\t ]++(-)(\\\\w+)"}]}},"match":"(?:[\\\\t ]++-\\\\w+)*"},"simple_unquoted":{"match":"[^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\`|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[-=?]?|[*@]|##?|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\[\'\\\\\\\\abefnrtv]","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])[.:](?=[\\\\&;\\\\s]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([-!#$*0?_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[\\\\t ]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"\\\\b(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}'))];export{e as default};
@@ -0,0 +1 @@
1
+ const e=[Object.freeze(JSON.parse('{"displayName":"CSS","name":"css","patterns":[{"include":"#comment-block"},{"include":"#escapes"},{"include":"#combinators"},{"include":"#selector"},{"include":"#at-rules"},{"include":"#rule-list"}],"repository":{"at-rules":{"patterns":[{"begin":"\\\\A\\\\uFEFF?(?i:(?=\\\\s*@charset\\\\b))","end":";|(?=$)","endCaptures":{"0":{"name":"punctuation.terminator.rule.css"}},"name":"meta.at-rule.charset.css","patterns":[{"captures":{"1":{"name":"invalid.illegal.not-lowercase.charset.css"},"2":{"name":"invalid.illegal.leading-whitespace.charset.css"},"3":{"name":"invalid.illegal.no-whitespace.charset.css"},"4":{"name":"invalid.illegal.whitespace.charset.css"},"5":{"name":"invalid.illegal.not-double-quoted.charset.css"},"6":{"name":"invalid.illegal.unclosed-string.charset.css"},"7":{"name":"invalid.illegal.unexpected-characters.charset.css"}},"match":"\\\\G((?!@charset)@\\\\w+)|\\\\G(\\\\s+)|(@charset\\\\S[^;]*)|(?<=@charset)( {2,}|\\\\t+)|(?<=@charset )([^\\";]+)|(\\"[^\\"]+)$|(?<=\\")([^;]+)"},{"captures":{"1":{"name":"keyword.control.at-rule.charset.css"},"2":{"name":"punctuation.definition.keyword.css"}},"match":"((@)charset)(?=\\\\s)"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.css"}},"end":"\\"|$","endCaptures":{"0":{"name":"punctuation.definition.string.end.css"}},"name":"string.quoted.double.css","patterns":[{"begin":"(?:\\\\G|^)(?=[^\\"]+$)","end":"$","name":"invalid.illegal.unclosed.string.css"}]}]},{"begin":"(?i)((@)import)(?:\\\\s+|$|(?=[\\"\']|/\\\\*))","beginCaptures":{"1":{"name":"keyword.control.at-rule.import.css"},"2":{"name":"punctuation.definition.keyword.css"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.rule.css"}},"name":"meta.at-rule.import.css","patterns":[{"begin":"\\\\G\\\\s*(?=/\\\\*)","end":"(?<=\\\\*/)\\\\s*","patterns":[{"include":"#comment-block"}]},{"include":"#string"},{"include":"#url"},{"include":"#media-query-list"}]},{"begin":"(?i)((@)font-face)(?=\\\\s*|\\\\{|/\\\\*|$)","beginCaptures":{"1":{"name":"keyword.control.at-rule.font-face.css"},"2":{"name":"punctuation.definition.keyword.css"}},"end":"(?!\\\\G)","name":"meta.at-rule.font-face.css","patterns":[{"include":"#comment-block"},{"include":"#escapes"},{"include":"#rule-list"}]},{"begin":"(?i)(@)page(?=[:{\\\\s]|/\\\\*|$)","captures":{"0":{"name":"keyword.control.at-rule.page.css"},"1":{"name":"punctuation.definition.keyword.css"}},"end":"(?=\\\\s*($|[:;{]))","name":"meta.at-rule.page.css","patterns":[{"include":"#rule-list"}]},{"begin":"(?i)(?=@media([(\\\\s]|/\\\\*|$))","end":"(?<=})(?!\\\\G)","patterns":[{"begin":"(?i)\\\\G(@)media","beginCaptures":{"0":{"name":"keyword.control.at-rule.media.css"},"1":{"name":"punctuation.definition.keyword.css"}},"end":"(?=\\\\s*[;{])","name":"meta.at-rule.media.header.css","patterns":[{"include":"#media-query-list"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.media.begin.bracket.curly.css"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.media.end.bracket.curly.css"}},"name":"meta.at-rule.media.body.css","patterns":[{"include":"$self"}]}]},{"begin":"(?i)(?=@counter-style([\\"\';{\\\\s]|/\\\\*|$))","end":"(?<=})(?!\\\\G)","patterns":[{"begin":"(?i)\\\\G(@)counter-style","beginCaptures":{"0":{"name":"keyword.control.at-rule.counter-style.css"},"1":{"name":"punctuation.definition.keyword.css"}},"end":"(?=\\\\s*\\\\{)","name":"meta.at-rule.counter-style.header.css","patterns":[{"include":"#comment-block"},{"include":"#escapes"},{"captures":{"0":{"patterns":[{"include":"#escapes"}]}},"match":"[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*","name":"variable.parameter.style-name.css"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.property-list.begin.bracket.curly.css"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.property-list.end.bracket.curly.css"}},"name":"meta.at-rule.counter-style.body.css","patterns":[{"include":"#comment-block"},{"include":"#escapes"},{"include":"#rule-list-innards"}]}]},{"begin":"(?i)(?=@document([\\"\';{\\\\s]|/\\\\*|$))","end":"(?<=})(?!\\\\G)","patterns":[{"begin":"(?i)\\\\G(@)document","beginCaptures":{"0":{"name":"keyword.control.at-rule.document.css"},"1":{"name":"punctuation.definition.keyword.css"}},"end":"(?=\\\\s*[;{])","name":"meta.at-rule.document.header.css","patterns":[{"begin":"(?i)(?<![-\\\\w])(url-prefix|domain|regexp)(\\\\()","beginCaptures":{"1":{"name":"support.function.document-rule.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.document-rule.css","patterns":[{"include":"#string"},{"include":"#comment-block"},{"include":"#escapes"},{"match":"[^\\"\')\\\\s]+","name":"variable.parameter.document-rule.css"}]},{"include":"#url"},{"include":"#commas"},{"include":"#comment-block"},{"include":"#escapes"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.document.begin.bracket.curly.css"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.document.end.bracket.curly.css"}},"name":"meta.at-rule.document.body.css","patterns":[{"include":"$self"}]}]},{"begin":"(?i)(?=@(?:-(?:webkit|moz|o|ms)-)?keyframes([\\"\';{\\\\s]|/\\\\*|$))","end":"(?<=})(?!\\\\G)","patterns":[{"begin":"(?i)\\\\G(@)(?:-(?:webkit|moz|o|ms)-)?keyframes","beginCaptures":{"0":{"name":"keyword.control.at-rule.keyframes.css"},"1":{"name":"punctuation.definition.keyword.css"}},"end":"(?=\\\\s*\\\\{)","name":"meta.at-rule.keyframes.header.css","patterns":[{"include":"#comment-block"},{"include":"#escapes"},{"captures":{"0":{"patterns":[{"include":"#escapes"}]}},"match":"[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*","name":"variable.parameter.keyframe-list.css"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.keyframes.begin.bracket.curly.css"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.keyframes.end.bracket.curly.css"}},"name":"meta.at-rule.keyframes.body.css","patterns":[{"include":"#comment-block"},{"include":"#escapes"},{"captures":{"1":{"name":"entity.other.keyframe-offset.css"},"2":{"name":"entity.other.keyframe-offset.percentage.css"}},"match":"(?i)(?<![-\\\\w])(from|to)(?![-\\\\w])|([-+]?(?:\\\\d+(?:\\\\.\\\\d+)?|\\\\.\\\\d+)%)"},{"include":"#rule-list"}]}]},{"begin":"(?i)(?=@supports([(\\\\s]|/\\\\*|$))","end":"(?<=})(?!\\\\G)|(?=;)","patterns":[{"begin":"(?i)\\\\G(@)supports","beginCaptures":{"0":{"name":"keyword.control.at-rule.supports.css"},"1":{"name":"punctuation.definition.keyword.css"}},"end":"(?=\\\\s*[;{])","name":"meta.at-rule.supports.header.css","patterns":[{"include":"#feature-query-operators"},{"include":"#feature-query"},{"include":"#comment-block"},{"include":"#escapes"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.supports.begin.bracket.curly.css"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.supports.end.bracket.curly.css"}},"name":"meta.at-rule.supports.body.css","patterns":[{"include":"$self"}]}]},{"begin":"(?i)((@)(-(ms|o)-)?viewport)(?=[\\"\';{\\\\s]|/\\\\*|$)","beginCaptures":{"1":{"name":"keyword.control.at-rule.viewport.css"},"2":{"name":"punctuation.definition.keyword.css"}},"end":"(?=\\\\s*[;@{])","name":"meta.at-rule.viewport.css","patterns":[{"include":"#comment-block"},{"include":"#escapes"}]},{"begin":"(?i)((@)font-feature-values)(?=[\\"\';{\\\\s]|/\\\\*|$)\\\\s*","beginCaptures":{"1":{"name":"keyword.control.at-rule.font-feature-values.css"},"2":{"name":"punctuation.definition.keyword.css"}},"contentName":"variable.parameter.font-name.css","end":"(?=\\\\s*[;@{])","name":"meta.at-rule.font-features.css","patterns":[{"include":"#comment-block"},{"include":"#escapes"}]},{"include":"#font-features"},{"begin":"(?i)((@)namespace)(?=[\\"\';\\\\s]|/\\\\*|$)","beginCaptures":{"1":{"name":"keyword.control.at-rule.namespace.css"},"2":{"name":"punctuation.definition.keyword.css"}},"end":";|(?=[@{])","endCaptures":{"0":{"name":"punctuation.terminator.rule.css"}},"name":"meta.at-rule.namespace.css","patterns":[{"include":"#url"},{"captures":{"1":{"patterns":[{"include":"#comment-block"}]},"2":{"name":"entity.name.function.namespace-prefix.css","patterns":[{"include":"#escapes"}]}},"match":"(?i)(?:\\\\G|^|(?<=\\\\s))(?=(?<=\\\\s|^)[-A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\s*/\\\\*(?:[^*]|\\\\*[^/])*\\\\*/)(.*?)([-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*)"},{"include":"#comment-block"},{"include":"#escapes"},{"include":"#string"}]},{"begin":"(?i)(?=@[-\\\\w]+[^;]+;s*$)","end":"(?<=;)(?!\\\\G)","patterns":[{"begin":"(?i)\\\\G(@)[-\\\\w]+","beginCaptures":{"0":{"name":"keyword.control.at-rule.css"},"1":{"name":"punctuation.definition.keyword.css"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.rule.css"}},"name":"meta.at-rule.header.css"}]},{"begin":"(?i)(?=@[-\\\\w]+([({\\\\s]|/\\\\*|$))","end":"(?<=})(?!\\\\G)","patterns":[{"begin":"(?i)\\\\G(@)[-\\\\w]+","beginCaptures":{"0":{"name":"keyword.control.at-rule.css"},"1":{"name":"punctuation.definition.keyword.css"}},"end":"(?=\\\\s*[;{])","name":"meta.at-rule.header.css"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.begin.bracket.curly.css"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.end.bracket.curly.css"}},"name":"meta.at-rule.body.css","patterns":[{"include":"$self"}]}]}]},"color-keywords":{"patterns":[{"match":"(?i)(?<![-\\\\w])(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)(?![-\\\\w])","name":"support.constant.color.w3c-standard-color-name.css"},{"match":"(?i)(?<![-\\\\w])(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rebeccapurple|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|transparent|turquoise|violet|wheat|whitesmoke|yellowgreen)(?![-\\\\w])","name":"support.constant.color.w3c-extended-color-name.css"},{"match":"(?i)(?<![-\\\\w])currentColor(?![-\\\\w])","name":"support.constant.color.current.css"},{"match":"(?i)(?<![-\\\\w])(ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText)(?![-\\\\w])","name":"invalid.deprecated.color.system.css"}]},"combinators":{"patterns":[{"match":"/deep/|>>>","name":"invalid.deprecated.combinator.css"},{"match":">>|[+>~]","name":"keyword.operator.combinator.css"}]},"commas":{"match":",","name":"punctuation.separator.list.comma.css"},"comment-block":{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.css"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.css"}},"name":"comment.block.css"},"escapes":{"patterns":[{"match":"\\\\\\\\\\\\h{1,6}","name":"constant.character.escape.codepoint.css"},{"begin":"\\\\\\\\$\\\\s*","end":"^(?<!\\\\G)","name":"constant.character.escape.newline.css"},{"match":"\\\\\\\\.","name":"constant.character.escape.css"}]},"feature-query":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.condition.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.condition.end.bracket.round.css"}},"name":"meta.feature-query.css","patterns":[{"include":"#feature-query-operators"},{"include":"#feature-query"}]},"feature-query-operators":{"patterns":[{"match":"(?i)(?<=[()\\\\s]|^|\\\\*/)(and|not|or)(?=[()\\\\s]|/\\\\*|$)","name":"keyword.operator.logical.feature.$1.css"},{"include":"#rule-list-innards"}]},"font-features":{"begin":"(?i)((@)(annotation|character-variant|ornaments|styleset|stylistic|swash))(?=[\\"\';@{\\\\s]|/\\\\*|$)","beginCaptures":{"1":{"name":"keyword.control.at-rule.${3:/downcase}.css"},"2":{"name":"punctuation.definition.keyword.css"}},"end":"(?<=})","name":"meta.at-rule.${3:/downcase}.css","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.property-list.begin.bracket.curly.css"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.property-list.end.bracket.curly.css"}},"name":"meta.property-list.font-feature.css","patterns":[{"captures":{"0":{"patterns":[{"include":"#escapes"}]}},"match":"[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*","name":"variable.font-feature.css"},{"include":"#rule-list-innards"}]}]},"functional-pseudo-classes":{"patterns":[{"begin":"(?i)((:)dir)(\\\\()","beginCaptures":{"1":{"name":"entity.other.attribute-name.pseudo-class.css"},"2":{"name":"punctuation.definition.entity.css"},"3":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"patterns":[{"include":"#comment-block"},{"include":"#escapes"},{"match":"(?i)(?<![-\\\\w])(ltr|rtl)(?![-\\\\w])","name":"support.constant.text-direction.css"},{"include":"#property-values"}]},{"begin":"(?i)((:)lang)(\\\\()","beginCaptures":{"1":{"name":"entity.other.attribute-name.pseudo-class.css"},"2":{"name":"punctuation.definition.entity.css"},"3":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"patterns":[{"match":"(?<=[(,\\\\s])[A-Za-z]+(-[0-9A-Za-z]*|\\\\\\\\(?:\\\\h{1,6}|.))*(?=[),\\\\s])","name":"support.constant.language-range.css"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.css"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.css"}},"name":"string.quoted.double.css","patterns":[{"include":"#escapes"},{"match":"(?<=[\\"\\\\s])[*A-Za-z]+(-[*0-9A-Za-z]*)*(?=[\\"\\\\s])","name":"support.constant.language-range.css"}]},{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.css"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.css"}},"name":"string.quoted.single.css","patterns":[{"include":"#escapes"},{"match":"(?<=[\'\\\\s])[*A-Za-z]+(-[*0-9A-Za-z]*)*(?=[\'\\\\s])","name":"support.constant.language-range.css"}]},{"include":"#commas"}]},{"begin":"(?i)((:)(?:not|has|matches|where|is))(\\\\()","beginCaptures":{"1":{"name":"entity.other.attribute-name.pseudo-class.css"},"2":{"name":"punctuation.definition.entity.css"},"3":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"patterns":[{"include":"#selector-innards"}]},{"begin":"(?i)((:)nth-(?:last-)?(?:child|of-type))(\\\\()","beginCaptures":{"1":{"name":"entity.other.attribute-name.pseudo-class.css"},"2":{"name":"punctuation.definition.entity.css"},"3":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"patterns":[{"match":"(?i)[-+]?(\\\\d+n?|n)(\\\\s*[-+]\\\\s*\\\\d+)?","name":"constant.numeric.css"},{"match":"(?i)even|odd","name":"support.constant.parity.css"}]}]},"functions":{"patterns":[{"begin":"(?i)(?<![-\\\\w])(calc)(\\\\()","beginCaptures":{"1":{"name":"support.function.calc.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.calc.css","patterns":[{"match":"[*/]|(?<=\\\\s|^)[-+](?=\\\\s|$)","name":"keyword.operator.arithmetic.css"},{"include":"#property-values"}]},{"begin":"(?i)(?<![-\\\\w])(rgba?|hsla?|hwb|lab|oklab|lch|oklch|color)(\\\\()","beginCaptures":{"1":{"name":"support.function.misc.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.color.css","patterns":[{"include":"#property-values"}]},{"begin":"(?i)(?<![-\\\\w])((?:-(?:webkit-|moz-|o-))?(?:repeating-)?(?:linear|radial|conic)-gradient)(\\\\()","beginCaptures":{"1":{"name":"support.function.gradient.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.gradient.css","patterns":[{"match":"(?i)(?<![-\\\\w])(from|to|at|in|hue)(?![-\\\\w])","name":"keyword.operator.gradient.css"},{"include":"#property-values"}]},{"begin":"(?i)(?<![-\\\\w])(-webkit-gradient)(\\\\()","beginCaptures":{"1":{"name":"invalid.deprecated.gradient.function.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.gradient.invalid.deprecated.gradient.css","patterns":[{"begin":"(?i)(?<![-\\\\w])(from|to|color-stop)(\\\\()","beginCaptures":{"1":{"name":"invalid.deprecated.function.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"patterns":[{"include":"#property-values"}]},{"include":"#property-values"}]},{"begin":"(?i)(?<![-\\\\w])(annotation|attr|blur|brightness|character-variant|clamp|contrast|counters?|cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate|color-mix|image-set|invert|local|max|min|minmax|opacity|ornaments|repeat|saturate|sepia|styleset|stylistic|swash|symbols|cos|sin|tan|acos|asin|atan2??|hypot|sqrt|pow|log|exp|abs|sign)(\\\\()","beginCaptures":{"1":{"name":"support.function.misc.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.misc.css","patterns":[{"match":"(?i)(?<=[\\",\\\\s]|\\\\*/|^)\\\\d+x(?=[\\"\'),\\\\s]|/\\\\*|$)","name":"constant.numeric.other.density.css"},{"include":"#property-values"},{"match":"[^\\"\'),\\\\s]+","name":"variable.parameter.misc.css"}]},{"begin":"(?i)(?<![-\\\\w])(circle|ellipse|inset|polygon|rect)(\\\\()","beginCaptures":{"1":{"name":"support.function.shape.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.shape.css","patterns":[{"match":"(?i)(?<=\\\\s|^|\\\\*/)(at|round)(?=\\\\s|/\\\\*|$)","name":"keyword.operator.shape.css"},{"include":"#property-values"}]},{"begin":"(?i)(?<![-\\\\w])(cubic-bezier|steps)(\\\\()","beginCaptures":{"1":{"name":"support.function.timing-function.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.timing-function.css","patterns":[{"match":"(?i)(?<![-\\\\w])(start|end)(?=\\\\s*\\\\)|$)","name":"support.constant.step-direction.css"},{"include":"#property-values"}]},{"begin":"(?i)(?<![-\\\\w])((?:translate|scale|rotate)(?:[XYZ]|3D)?|matrix(?:3D)?|skew[XY]?|perspective)(\\\\()","beginCaptures":{"1":{"name":"support.function.transform.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"patterns":[{"include":"#property-values"}]},{"include":"#url"},{"begin":"(?i)(?<![-\\\\w])(var)(\\\\()","beginCaptures":{"1":{"name":"support.function.misc.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.variable.css","patterns":[{"match":"--[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*","name":"variable.argument.css"},{"include":"#property-values"}]}]},"media-feature-keywords":{"match":"(?i)(?<=^|[:\\\\s]|\\\\*/)(?:portrait|landscape|progressive|interlace|fullscreen|standalone|minimal-ui|browser|hover)(?=[)\\\\s]|$)","name":"support.constant.property-value.css"},"media-features":{"captures":{"1":{"name":"support.type.property-name.media.css"},"2":{"name":"support.type.property-name.media.css"},"3":{"name":"support.type.vendored.property-name.media.css"}},"match":"(?i)(?<=^|[(\\\\s]|\\\\*/)(?:((?:m(?:in-|ax-))?(?:height|width|aspect-ratio|color|color-index|monochrome|resolution)|grid|scan|orientation|display-mode|hover)|((?:m(?:in-|ax-))?device-(?:height|width|aspect-ratio))|((?:[-_](?:webkit|apple|khtml|epub|moz|ms|o|xv|ah|rim|atsc|hp|tc|wap|ro)|(?:mso|prince))-[-\\\\w]+(?=\\\\s*(?:/\\\\*(?:[^*]|\\\\*[^/])*\\\\*/)?\\\\s*[):])))(?=\\\\s|$|[):<=>]|/\\\\*)"},"media-query":{"begin":"\\\\G","end":"(?=\\\\s*[;{])","patterns":[{"include":"#comment-block"},{"include":"#escapes"},{"include":"#media-types"},{"match":"(?i)(?<=\\\\s|^|,|\\\\*/)(only|not)(?=[{\\\\s]|/\\\\*|$)","name":"keyword.operator.logical.$1.media.css"},{"match":"(?i)(?<=\\\\s|^|\\\\*/|\\\\))and(?=\\\\s|/\\\\*|$)","name":"keyword.operator.logical.and.media.css"},{"match":",(?:(?:\\\\s*,)+|(?=\\\\s*[);{]))","name":"invalid.illegal.comma.css"},{"include":"#commas"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.css"}},"patterns":[{"include":"#media-features"},{"include":"#media-feature-keywords"},{"match":":","name":"punctuation.separator.key-value.css"},{"match":">=|<=|[<=>]","name":"keyword.operator.comparison.css"},{"captures":{"1":{"name":"constant.numeric.css"},"2":{"name":"keyword.operator.arithmetic.css"},"3":{"name":"constant.numeric.css"}},"match":"(\\\\d+)\\\\s*(/)\\\\s*(\\\\d+)","name":"meta.ratio.css"},{"include":"#numeric-values"},{"include":"#comment-block"}]}]},"media-query-list":{"begin":"(?=\\\\s*[^;{])","end":"(?=\\\\s*[;{])","patterns":[{"include":"#media-query"}]},"media-types":{"captures":{"1":{"name":"support.constant.media.css"},"2":{"name":"invalid.deprecated.constant.media.css"}},"match":"(?i)(?<=^|[,\\\\s]|\\\\*/)(?:(all|print|screen|speech)|(aural|braille|embossed|handheld|projection|tty|tv))(?=$|[,;{\\\\s]|/\\\\*)"},"numeric-values":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.constant.css"}},"match":"(#)(?:\\\\h{3,4}|\\\\h{6}|\\\\h{8})\\\\b","name":"constant.other.color.rgb-value.hex.css"},{"captures":{"1":{"name":"keyword.other.unit.percentage.css"},"2":{"name":"keyword.other.unit.${2:/downcase}.css"}},"match":"(?i)(?<![-\\\\w])[-+]?(?:[0-9]+(?:\\\\.[0-9]+)?|\\\\.[0-9]+)(?:(?<=[0-9])E[-+]?[0-9]+)?(?:(%)|(deg|grad|rad|turn|Hz|kHz|ch|cm|em|ex|fr|in|mm|mozmm|pc|pt|px|q|rem|rch|rex|rlh|ic|ric|rcap|vh|vw|vb|vi|svh|svw|svb|svi|dvh|dvw|dvb|dvi|lvh|lvw|lvb|lvi|vmax|vmin|cqw|cqi|cqh|cqb|cqmin|cqmax|dpi|dpcm|dppx|s|ms)\\\\b)?","name":"constant.numeric.css"}]},"property-keywords":{"patterns":[{"match":"(?i)(?<![-\\\\w])(above|absolute|active|add|additive|after-edge|alias|all|all-petite-caps|all-scroll|all-small-caps|alpha|alphabetic|alternate|alternate-reverse|always|antialiased|auto|auto-fill|auto-fit|auto-pos|available|avoid|avoid-column|avoid-page|avoid-region|backwards|balance|baseline|before-edge|below|bevel|bidi-override|blink|block|block-axis|block-start|block-end|bold|bolder|border|border-box|both|bottom|bottom-outside|break-all|break-word|bullets|butt|capitalize|caption|cell|center|central|char|circle|clip|clone|close-quote|closest-corner|closest-side|col-resize|collapse|color|color-burn|color-dodge|column|column-reverse|common-ligatures|compact|condensed|contain|content|content-box|contents|context-menu|contextual|copy|cover|crisp-edges|crispEdges|crosshair|cyclic|dark|darken|dashed|decimal|default|dense|diagonal-fractions|difference|digits|disabled|disc|discretionary-ligatures|distribute|distribute-all-lines|distribute-letter|distribute-space|dot|dotted|double|double-circle|downleft|downright|e-resize|each-line|ease|ease-in|ease-in-out|ease-out|economy|ellipse|ellipsis|embed|end|evenodd|ew-resize|exact|exclude|exclusion|expanded|extends|extra-condensed|extra-expanded|fallback|farthest-corner|farthest-side|fill|fill-available|fill-box|filled|fit-content|fixed|flat|flex|flex-end|flex-start|flip|flow-root|forwards|freeze|from-image|full-width|geometricPrecision|georgian|grab|grabbing|grayscale|grid|groove|hand|hanging|hard-light|help|hidden|hide|historical-forms|historical-ligatures|horizontal|horizontal-tb|hue|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|infinite|inherit|initial|inline|inline-axis|inline-block|inline-end|inline-flex|inline-grid|inline-list-item|inline-start|inline-table|inset|inside|inter-character|inter-ideograph|inter-word|intersect|invert|isolate|isolate-override|italic|jis04|jis78|jis83|jis90|justify|justify-all|kannada|keep-all|landscape|larger??|left|light|lighten|lighter|line|line-edge|line-through|linear|linearRGB|lining-nums|list-item|local|loose|lowercase|lr|lr-tb|ltr|luminance|luminosity|main-size|mandatory|manipulation|manual|margin-box|match-parent|match-source|mathematical|max-content|medium|menu|message-box|middle|min-content|miter|mixed|move|multiply|n-resize|narrower|ne-resize|nearest-neighbor|nesw-resize|newspaper|no-change|no-clip|no-close-quote|no-common-ligatures|no-contextual|no-discretionary-ligatures|no-drop|no-historical-ligatures|no-open-quote|no-repeat|none|nonzero|normal|not-allowed|nowrap|ns-resize|numbers|numeric|nw-resize|nwse-resize|oblique|oldstyle-nums|open|open-quote|optimizeLegibility|optimizeQuality|optimizeSpeed|optional|ordinal|outset|outside|over|overlay|overline|padding|padding-box|page|painted|pan-down|pan-left|pan-right|pan-up|pan-x|pan-y|paused|petite-caps|pixelated|plaintext|pointer|portrait|pre|pre-line|pre-wrap|preserve-3d|progress|progressive|proportional-nums|proportional-width|proximity|radial|recto|region|relative|remove|repeat|repeat-[xy]|reset-size|reverse|revert|ridge|right|rl|rl-tb|round|row|row-resize|row-reverse|row-severse|rtl|ruby|ruby-base|ruby-base-container|ruby-text|ruby-text-container|run-in|running|s-resize|saturation|scale-down|screen|scroll|scroll-position|se-resize|semi-condensed|semi-expanded|separate|sesame|show|sideways|sideways-left|sideways-lr|sideways-right|sideways-rl|simplified|slashed-zero|slice|small|small-caps|small-caption|smaller|smooth|soft-light|solid|space|space-around|space-between|space-evenly|spell-out|square|sRGB|stacked-fractions|start|static|status-bar|swap|step-end|step-start|sticky|stretch|strict|stroke|stroke-box|style|sub|subgrid|subpixel-antialiased|subtract|super|sw-resize|symbolic|table|table-caption|table-cell|table-column|table-column-group|table-footer-group|table-header-group|table-row|table-row-group|tabular-nums|tb|tb-rl|text|text-after-edge|text-before-edge|text-bottom|text-top|thick|thin|titling-caps|top|top-outside|touch|traditional|transparent|triangle|ultra-condensed|ultra-expanded|under|underline|unicase|unset|upleft|uppercase|upright|use-glyph-orientation|use-script|verso|vertical|vertical-ideographic|vertical-lr|vertical-rl|vertical-text|view-box|visible|visibleFill|visiblePainted|visibleStroke|w-resize|wait|wavy|weight|whitespace|wider|words|wrap|wrap-reverse|x|x-large|x-small|xx-large|xx-small|y|zero|zoom-in|zoom-out)(?![-\\\\w])","name":"support.constant.property-value.css"},{"match":"(?i)(?<![-\\\\w])(arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|cjk-ideographic|decimal|decimal-leading-zero|devanagari|disc|disclosure-closed|disclosure-open|ethiopic-halehame-am|ethiopic-halehame-ti-e[rt]|ethiopic-numeric|georgian|gujarati|gurmukhi|hangul|hangul-consonant|hebrew|hiragana|hiragana-iroha|japanese-formal|japanese-informal|kannada|katakana|katakana-iroha|khmer|korean-hangul-formal|korean-hanja-formal|korean-hanja-informal|lao|lower-alpha|lower-armenian|lower-greek|lower-latin|lower-roman|malayalam|mongolian|myanmar|oriya|persian|simp-chinese-formal|simp-chinese-informal|square|tamil|telugu|thai|tibetan|trad-chinese-formal|trad-chinese-informal|upper-alpha|upper-armenian|upper-latin|upper-roman|urdu)(?![-\\\\w])","name":"support.constant.property-value.list-style-type.css"},{"match":"(?<![-\\\\w])(?i:-(?:ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)|(?:mso|prince))-[-A-Za-z]+","name":"support.constant.vendored.property-value.css"},{"match":"(?<![-\\\\w])(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system-ui|system|tahoma|times|trebuchet|ui-monospace|ui-rounded|ui-sans-serif|ui-serif|utopia|verdana|webdings|sans-serif|serif|monospace)(?![-\\\\w])","name":"support.constant.font-name.css"}]},"property-names":{"patterns":[{"match":"(?i)(?<![-\\\\w])(?:accent-color|additive-symbols|align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|aspect-ratio|backdrop-filter|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-position-[xy]|background-repeat|background-size|bleed|block-size|border|border-block-end|border-block-end-color|border-block-end-style|border-block-end-width|border-block-start|border-block-start-color|border-block-start-style|border-block-start-width|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-end-end-radius|border-end-start-radius|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-inline-end|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-start|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-start-end-radius|border-start-start-radius|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-decoration-break|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side|caret-color|clear|clip|clip-path|clip-rule|color|color-adjust|color-interpolation-filters|color-scheme|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|contain|container|container-name|container-type|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|enable-background|fallback|fill|fill-opacity|fill-rule|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|flood-color|flood-opacity|font|font-display|font-family|font-feature-settings|font-kerning|font-language-override|font-optical-sizing|font-size|font-size-adjust|font-stretch|font-style|font-synthesis|font-variant|font-variant-alternates|font-variant-caps|font-variant-east-asian|font-variant-ligatures|font-variant-numeric|font-variant-position|font-variation-settings|font-weight|gap|glyph-orientation-horizontal|glyph-orientation-vertical|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-gap|grid-column-start|grid-gap|grid-row|grid-row-end|grid-row-gap|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|hanging-punctuation|height|hyphens|image-orientation|image-rendering|image-resolution|ime-mode|initial-letter|initial-letter-align|inline-size|inset|inset-block|inset-block-end|inset-block-start|inset-inline|inset-inline-end|inset-inline-start|isolation|justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-break|line-clamp|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-block|margin-block-end|margin-block-start|margin-bottom|margin-inline|margin-inline-end|margin-inline-start|margin-left|margin-right|margin-top|marker-end|marker-mid|marker-start|marks|mask|mask-border|mask-border-mode|mask-border-outset|mask-border-repeat|mask-border-slice|mask-border-source|mask-border-width|mask-clip|mask-composite|mask-image|mask-mode|mask-origin|mask-position|mask-repeat|mask-size|mask-type|max-block-size|max-height|max-inline-size|max-lines|max-width|max-zoom|min-block-size|min-height|min-inline-size|min-width|min-zoom|mix-blend-mode|negative|object-fit|object-position|offset|offset-anchor|offset-distance|offset-path|offset-position|offset-rotation|opacity|order|orientation|orphans|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-anchor|overflow-block|overflow-inline|overflow-wrap|overflow-[xy]|overscroll-behavior|overscroll-behavior-block|overscroll-behavior-inline|overscroll-behavior-[xy]|pad|padding|padding-block|padding-block-end|padding-block-start|padding-bottom|padding-inline|padding-inline-end|padding-inline-start|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|paint-order|perspective|perspective-origin|place-content|place-items|place-self|pointer-events|position|prefix|quotes|range|resize|right|rotate|row-gap|ruby-align|ruby-merge|ruby-position|scale|scroll-behavior|scroll-margin|scroll-margin-block|scroll-margin-block-end|scroll-margin-block-start|scroll-margin-bottom|scroll-margin-inline|scroll-margin-inline-end|scroll-margin-inline-start|scroll-margin-left|scroll-margin-right|scroll-margin-top|scroll-padding|scroll-padding-block|scroll-padding-block-end|scroll-padding-block-start|scroll-padding-bottom|scroll-padding-inline|scroll-padding-inline-end|scroll-padding-inline-start|scroll-padding-left|scroll-padding-right|scroll-padding-top|scroll-snap-align|scroll-snap-coordinate|scroll-snap-destination|scroll-snap-stop|scroll-snap-type|scrollbar-color|scrollbar-gutter|scrollbar-width|shape-image-threshold|shape-margin|shape-outside|shape-rendering|size|speak-as|src|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|suffix|symbols|system|tab-size|table-layout|text-align|text-align-last|text-anchor|text-combine-upright|text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style|text-decoration-thickness|text-emphasis|text-emphasis-color|text-emphasis-position|text-emphasis-style|text-indent|text-justify|text-orientation|text-overflow|text-rendering|text-shadow|text-size-adjust|text-transform|text-underline-offset|text-underline-position|top|touch-action|transform|transform-box|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|translate|unicode-bidi|unicode-range|user-select|user-zoom|vertical-align|visibility|white-space|widows|width|will-change|word-break|word-spacing|word-wrap|writing-mode|z-index|zoom|alignment-baseline|baseline-shift|clip-rule|color-interpolation|color-interpolation-filters|color-profile|color-rendering|cx|cy|dominant-baseline|enable-background|fill|fill-opacity|fill-rule|flood-color|flood-opacity|glyph-orientation-horizontal|glyph-orientation-vertical|height|kerning|lighting-color|marker-end|marker-mid|marker-start|rx??|ry|shape-rendering|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|text-anchor|width|[xy]|adjust|after|align|align-last|alignment|alignment-adjust|appearance|attachment|azimuth|background-break|balance|baseline|before|bidi|binding|bookmark|bookmark-label|bookmark-level|bookmark-target|border-length|bottom-color|bottom-left-radius|bottom-right-radius|bottom-style|bottom-width|box|box-align|box-direction|box-flex|box-flex-group|box-lines|box-ordinal-group|box-orient|box-pack|break|character|collapse|column|column-break-after|column-break-before|count|counter|crop|cue|cue-after|cue-before|decoration|decoration-break|delay|display-model|display-role|down|drop|drop-initial-after-adjust|drop-initial-after-align|drop-initial-before-adjust|drop-initial-before-align|drop-initial-size|drop-initial-value|duration|elevation|emphasis|family|fit|fit-position|flex-group|float-offset|gap|grid-columns|grid-rows|hanging-punctuation|header|hyphenate|hyphenate-after|hyphenate-before|hyphenate-character|hyphenate-lines|hyphenate-resource|icon|image|increment|indent|index|initial-after-adjust|initial-after-align|initial-before-adjust|initial-before-align|initial-size|initial-value|inline-box-align|iteration-count|justify|label|left-color|left-style|left-width|length|level|line|line-stacking|line-stacking-ruby|line-stacking-shift|line-stacking-strategy|lines|list|mark|mark-after|mark-before|marks|marquee|marquee-direction|marquee-play-count|marquee-speed|marquee-style|max|min|model|move-to|name|nav|nav-down|nav-index|nav-left|nav-right|nav-up|new|numeral|offset|ordinal-group|orient|origin|overflow-style|overhang|pack|page|page-policy|pause|pause-after|pause-before|phonemes|pitch|pitch-range|play-count|play-during|play-state|point|presentation|presentation-level|profile|property|punctuation|punctuation-trim|radius|rate|rendering-intent|repeat|replace|reset|resolution|resource|respond-to|rest|rest-after|rest-before|richness|right-color|right-style|right-width|role|rotation|rotation-point|rows|ruby|ruby-overhang|ruby-span|rule|rule-color|rule-style|rule-width|shadow|size|size-adjust|sizing|space|space-collapse|spacing|span|speak|speak-header|speak-numeral|speak-punctuation|speech|speech-rate|speed|stacking|stacking-ruby|stacking-shift|stacking-strategy|stress|stretch|string-set|style|style-image|style-position|style-type|target|target-name|target-new|target-position|text|text-height|text-justify|text-outline|text-replace|text-wrap|timing-function|top-color|top-left-radius|top-right-radius|top-style|top-width|trim|unicode|up|user-select|variant|voice|voice-balance|voice-duration|voice-family|voice-pitch|voice-pitch-range|voice-rate|voice-stress|voice-volume|volume|weight|white|white-space-collapse|word|wrap)(?![-\\\\w])","name":"support.type.property-name.css"},{"match":"(?<![-\\\\w])(?i:-(?:ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)|(?:mso|prince))-[-A-Za-z]+","name":"support.type.vendored.property-name.css"}]},"property-values":{"patterns":[{"include":"#commas"},{"include":"#comment-block"},{"include":"#escapes"},{"include":"#functions"},{"include":"#property-keywords"},{"include":"#unicode-range"},{"include":"#numeric-values"},{"include":"#color-keywords"},{"include":"#string"},{"match":"!\\\\s*important(?![-\\\\w])","name":"keyword.other.important.css"}]},"pseudo-classes":{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"name":"invalid.illegal.colon.css"}},"match":"(?i)(:)(:*)(?:active|any-link|checked|default|disabled|empty|enabled|first|(?:first|last|only)-(?:child|of-type)|focus|focus-visible|focus-within|fullscreen|host|hover|in-range|indeterminate|invalid|left|link|optional|out-of-range|read-only|read-write|required|right|root|scope|target|unresolved|valid|visited)(?![-\\\\w]|\\\\s*[;}])","name":"entity.other.attribute-name.pseudo-class.css"},"pseudo-elements":{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"name":"punctuation.definition.entity.css"}},"match":"(?i)(?:(::?)(?:after|before|first-letter|first-line|(?:-(?:ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)|(?:mso|prince))-[-a-z]+)|(::)(?:backdrop|content|grammar-error|marker|placeholder|selection|shadow|spelling-error))(?![-\\\\w]|\\\\s*[;}])","name":"entity.other.attribute-name.pseudo-element.css"},"rule-list":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.property-list.begin.bracket.curly.css"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.property-list.end.bracket.curly.css"}},"name":"meta.property-list.css","patterns":[{"include":"#rule-list-innards"}]},"rule-list-innards":{"patterns":[{"include":"#comment-block"},{"include":"#escapes"},{"include":"#font-features"},{"match":"(?<![-\\\\w])--[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*","name":"variable.css"},{"begin":"(?<![-A-Za-z])(?=[-A-Za-z])","end":"$|(?![-A-Za-z])","name":"meta.property-name.css","patterns":[{"include":"#property-names"}]},{"begin":"(:)\\\\s*","beginCaptures":{"1":{"name":"punctuation.separator.key-value.css"}},"contentName":"meta.property-value.css","end":"\\\\s*(;)|\\\\s*(?=[)}])","endCaptures":{"1":{"name":"punctuation.terminator.rule.css"}},"patterns":[{"include":"#comment-block"},{"include":"#property-values"}]},{"match":";","name":"punctuation.terminator.rule.css"}]},"selector":{"begin":"(?=\\\\|?(?:[-#*.:A-\\\\[_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.)))","end":"(?=\\\\s*[)/@{])","name":"meta.selector.css","patterns":[{"include":"#selector-innards"}]},"selector-innards":{"patterns":[{"include":"#comment-block"},{"include":"#commas"},{"include":"#escapes"},{"include":"#combinators"},{"captures":{"1":{"name":"entity.other.namespace-prefix.css"},"2":{"name":"punctuation.separator.css"}},"match":"(?:^|(?<=[(,;}\\\\s]))(?![-*\\\\w]+\\\\|(?![-#*.:A-\\\\[_a-z[^\\\\x00-\\\\x7F]]))([-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*|\\\\*)?(\\\\|)"},{"include":"#tag-names"},{"match":"\\\\*","name":"entity.name.tag.wildcard.css"},{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"patterns":[{"include":"#escapes"}]}},"match":"(?<![-@\\\\w])([#.])((?:-?[0-9]|-(?=$|[#)+,.:>\\\\[{|~\\\\s]|/\\\\*)|(?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*(?:[]!\\"%-(*;<?@^`|}]|/(?!\\\\*))+)(?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*)","name":"invalid.illegal.bad-identifier.css"},{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"patterns":[{"include":"#escapes"}]}},"match":"(\\\\.)((?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))+)(?=$|[#)+,.:>\\\\[{|~\\\\s]|/\\\\*)","name":"entity.other.attribute-name.class.css"},{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"patterns":[{"include":"#escapes"}]}},"match":"(#)(-?(?![0-9])(?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))+)(?=$|[#)+,.:>\\\\[{|~\\\\s]|/\\\\*)","name":"entity.other.attribute-name.id.css"},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.entity.begin.bracket.square.css"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.entity.end.bracket.square.css"}},"name":"meta.attribute-selector.css","patterns":[{"include":"#comment-block"},{"include":"#string"},{"captures":{"1":{"name":"storage.modifier.ignore-case.css"}},"match":"(?<=[\\"\'\\\\s]|^|\\\\*/)\\\\s*([Ii])\\\\s*(?=[]\\\\s]|/\\\\*|$)"},{"captures":{"1":{"name":"string.unquoted.attribute-value.css","patterns":[{"include":"#escapes"}]}},"match":"(?<==)\\\\s*((?!/\\\\*)(?:[^]\\"\'\\\\\\\\\\\\s]|\\\\\\\\.)+)"},{"include":"#escapes"},{"match":"[$*^|~]?=","name":"keyword.operator.pattern.css"},{"match":"\\\\|","name":"punctuation.separator.css"},{"captures":{"1":{"name":"entity.other.namespace-prefix.css","patterns":[{"include":"#escapes"}]}},"match":"(-?(?!\\\\d)(?:[-\\\\w[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))+|\\\\*)(?=\\\\|(?![=\\\\s]|$|])(?:-?(?!\\\\d)|[-\\\\\\\\\\\\w[^\\\\x00-\\\\x7F]]))"},{"captures":{"1":{"name":"entity.other.attribute-name.css","patterns":[{"include":"#escapes"}]}},"match":"(-?(?!\\\\d)(?>[-\\\\w[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))+)\\\\s*(?=[]$*=^|~]|/\\\\*)"}]},{"include":"#pseudo-classes"},{"include":"#pseudo-elements"},{"include":"#functional-pseudo-classes"},{"match":"(?<![-@\\\\w])(?=[a-z]\\\\w*-)(?:(?![A-Z])[-\\\\w])+(?![-(\\\\w])","name":"entity.name.tag.custom.css"}]},"string":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.css"}},"end":"\\"|(?<!\\\\\\\\)(?=$|\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.css"}},"name":"string.quoted.double.css","patterns":[{"begin":"(?:\\\\G|^)(?=(?:[^\\"\\\\\\\\]|\\\\\\\\.)+$)","end":"$","name":"invalid.illegal.unclosed.string.css","patterns":[{"include":"#escapes"}]},{"include":"#escapes"}]},{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.css"}},"end":"\'|(?<!\\\\\\\\)(?=$|\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.css"}},"name":"string.quoted.single.css","patterns":[{"begin":"(?:\\\\G|^)(?=(?:[^\'\\\\\\\\]|\\\\\\\\.)+$)","end":"$","name":"invalid.illegal.unclosed.string.css","patterns":[{"include":"#escapes"}]},{"include":"#escapes"}]}]},"tag-names":{"match":"(?i)(?<![-:\\\\w])(?:a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdi|bdo|bgsound|big|blink|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|command|content|data|datalist|dd|del|details|dfn|dialog|dir|div|dl|dt|element|em|embed|fieldset|figcaption|figure|font|footer|form|frame|frameset|h[1-6]|head|header|hgroup|hr|html|i|iframe|image|img|input|ins|isindex|kbd|keygen|label|legend|li|link|listing|main|map|mark|marquee|math|menu|menuitem|meta|meter|multicol|nav|nextid|nobr|noembed|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|plaintext|pre|progress|q|rb|rp|rtc??|ruby|s|samp|script|section|select|shadow|slot|small|source|spacer|span|strike|strong|style|sub|summary|sup|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr|track|tt|ul??|var|video|wbr|xmp|altGlyph|altGlyphDef|altGlyphItem|animate|animateColor|animateMotion|animateTransform|circle|clipPath|color-profile|cursor|defs|desc|discard|ellipse|feBlend|feColorMatrix|feComponentTransfer|feComposite|feConvolveMatrix|feDiffuseLighting|feDisplacementMap|feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur|feImage|feMerge|feMergeNode|feMorphology|feOffset|fePointLight|feSpecularLighting|feSpotLight|feTile|feTurbulence|filter|font-face|font-face-format|font-face-name|font-face-src|font-face-uri|foreignObject|g|glyph|glyphRef|hatch|hatchpath|hkern|line|linearGradient|marker|mask|mesh|meshgradient|meshpatch|meshrow|metadata|missing-glyph|mpath|path|pattern|polygon|polyline|radialGradient|rect|set|solidcolor|stop|svg|switch|symbol|text|textPath|tref|tspan|use|view|vkern|annotation|annotation-xml|maction|maligngroup|malignmark|math|menclose|merror|mfenced|mfrac|mglyph|mi|mlabeledtr|mlongdiv|mmultiscripts|mn|mo|mover|mpadded|mphantom|mroot|mrow|ms|mscarries|mscarry|msgroup|msline|mspace|msqrt|msrow|mstack|mstyle|msub|msubsup|msup|mtable|mtd|mtext|mtr|munder|munderover|semantics)(?=[#)+,.:>\\\\[{|~\\\\s]|/\\\\*|$)","name":"entity.name.tag.css"},"unicode-range":{"captures":{"0":{"name":"constant.other.unicode-range.css"},"1":{"name":"punctuation.separator.dash.unicode-range.css"}},"match":"(?<![-\\\\w])[Uu]\\\\+[?\\\\h]{1,6}(?:(-)\\\\h{1,6})?(?![-\\\\w])"},"url":{"begin":"(?i)(?<![-@\\\\w])(url)(\\\\()","beginCaptures":{"1":{"name":"support.function.url.css"},"2":{"name":"punctuation.section.function.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.end.bracket.round.css"}},"name":"meta.function.url.css","patterns":[{"match":"[^\\"\')\\\\s]+","name":"variable.parameter.url.css"},{"include":"#string"},{"include":"#comment-block"},{"include":"#escapes"}]}},"scopeName":"source.css"}'))];export{e as c};
@@ -0,0 +1 @@
1
+ const e=/* @__PURE__ */JSON.parse('{"buttons":{"edit":"Edit this page","retryPublish":"Retry Publish","reloadApp":"Reload application","reload":"Reload","signOut":"Sign out","review":"Review","publish":"Publish","back":"Back","backToEdition":"Back to edition","seeChanges":"See what\'s changed"},"headings":{"directories":"Directories","files":"Files","media":"Media","pageSettings":"Page Settings"},"tooltips":{"toggleStudio":"Toggle Studio","unlinkEditor":"Unlink editor and preview","linkEditor":"Link editor and preview","copiedToClipboard":"Copied to clipboard","copyToClipboard":"Copy to clipboard","publishChanges":"Publish changes","backToContent":"Back to content","disableAICompletion":"Disable AI completion","enableAICompletion":"Enable AI completion","regenerateAIContext":"Regenerate AI context"},"notifications":{"error":{"dismiss":"Dismiss","title":"An error occurred","unknown":"An unknown error occurred"}},"publish":{"failedTitle":"Publish Failed","summary":"on {branch} of {repo} repository","errorTitle":"Error during {providerName} publish","failedGeneric":"Failed to publish changes"},"review":{"title":"Review changes","created":"Created","updated":"Updated","renamed":"Renamed","deleted":"Deleted"},"publishSuccess":{"title":"Changes Published","summary":"{count} change published on {branch} of {repo} repository | {count} changes published on {branch} of {repo} repository","alertTitleWaiting":"Waiting for deployment...","alertTitleComplete":"Deployment complete","alertDescWaiting":"The website needs to be deployed for changes to be visible in Studio.","alertDescComplete":"A new version of your website has been deployed. Please refresh your app to see changes in Studio."},"newVersionBanner":{"title":"New website version detected","description":"A new version of your website has been deployed. Reload the app to see the latest changes.","reloadButton":"Reload"},"footer":{"developer_view":"Developer view","localFilesystem":"Using local filesystem","debugMode":"Debug Mode"},"alert":{"mdcFormatting":"Formatting applied to align with MDC syntax standard."},"conflict":{"title":"Conflict Detected","repository":"Repository","branch":"Branch","file":"File","description":"The content on {providerName} differs from your website version. Ensure your latest changes are deployed and refresh the page.","websiteVersion":"Website"},"nav":{"content":"Content","media":"Media","ai":"AI"},"placeholders":{"commitMessage":"Commit message","commitMessageWithPrefix":"Describe your changes","order":"N°","fileName":"File name"},"validation":{"commitRequired":"Commit message is required","nameEmpty":"Name cannot be empty","nameEndsWithDot":"Name cannot end with \'.\'","nameStartsWithSlash":"Name cannot start with \'/\'","nameExists":"Name already exists","prefixDigitsOnly":"Prefix must be a string containing only digits","prefixNonNegativeInteger":"Prefix must be a non-negative integer"},"media":{"altFilePreview":"File preview","altImagePreview":"Image preview","playAudio":"Play Audio","audioTagNotSupported":"Your browser does not support the audio tag.","playVideo":"Play Video","videoTagNotSupported":"Your browser does not support the video tag.","metaWidth":"Width","metaHeight":"Height","metaType":"Type","metaDuration":"Duration","metaSize":"Size","fileName":"File name","publicPath":"Public path","providerPath":"{providerName} path","markdown":"Markdown"},"aria":{"openActions":"Open actions","cancel":"Cancel","submit":"Submit"},"actions":{"confirmAction":"Click again to {action}","verbs":{"create":"create","delete":"delete","rename":"rename","upload":"upload","duplicate":"duplicate"},"labels":{"createDocument":"New file","createDocumentFolder":"New folder","createMediaFolder":"New media folder","renameItem":"Rename","deleteItem":"Delete","uploadMedia":"Upload media","duplicateItem":"Duplicate","revertItem":"Revert changes","publishBranch":"Publish branch","openGitProvider":"Open on {providerName}","switchToTipTap":"Use visual editor","switchToCode":"Use code editor"},"tooltips":{"createDocument":"Create a new file","createDocumentFolder":"Create a new folder","createMediaFolder":"Create a new folder","renameItem":"Rename file","deleteItem":"Delete file","uploadMedia":"Upload media","duplicateItem":"Duplicate file","revertItem":"Revert changes","publishBranch":"Publish branch"}},"items":{"itemCount":"1 item | {count} items"},"monaco":{"headings":{"h1":"Heading 1","h2":"Heading 2","h3":"Heading 3"},"styles":{"bold":"Bold","italic":"Italic"},"lists":{"bulleted":"Bulleted List","numbered":"Numbered List"},"other":{"emojis":"Emojis","blockquote":"Blockquote","code":"Code","inlineCode":"Inline Code","link":"Link","image":"Image"},"writeSomething":"Write Something","snippets":{"title":"title","item1":"Item 1","item2":"Item 2","language":"language","code":"code","link":"link","alt":"alt","src":"src","value":"value"},"docs":{"path":"Path in project:","props":"Props","slots":"Slots","type":"type","required":"required","default":"default"}},"tiptap":{"editor":{"placeholder":"Write, type \'/\' for commands...","components":"Components"},"toolbar":{"h1":"Heading 1","h2":"Heading 2","h3":"Heading 3","h4":"Heading 4","bulletList":"Bullet List","orderedList":"Ordered List","blockquote":"Blockquote","codeBlock":"Code Block","bold":"Bold","italic":"Italic","strike":"Strike","code":"Code","headings":"Headings"},"suggestion":{"style":"Style","paragraph":"Paragraph","insert":"Insert","image":"Image","video":"Video","horizontalRule":"Horizontal Rule"},"drag":{"turnInto":"Turn into","resetFormatting":"Reset formatting","duplicate":"Duplicate","copyToClipboard":"Copy to clipboard","moveUp":"Move up","moveDown":"Move down","insertBefore":"Insert before","insertAfter":"Insert after","delete":"Delete"},"ai":{"fix":"Fix Grammar & Spelling","improve":"Improve writing and clarity","simplify":"Minimize and simplify text","translate":"Translate","translateTo":"Translate to","targetLanguage":"Target Language","targetLanguageDescription":"Enter the language you want to translate to (e.g., Spanish, French, German)","targetLanguagePlaceholder":"e.g., Spanish","selectionTooLarge":"Selection too large (max {max} characters)","cancel":"Cancel"},"element":{"addSlot":"Add slot","editProps":"Edit props","delete":"Delete","prop":"prop","props":{"label":"props","itemsCount":"{count} item | {count} items","fieldsCount":"{count} field | {count} fields","edit":"Edit {type}"}},"slot":{"searchPlaceholder":"Search or create a slot...","deleteSlot":"Delete slot","noSlotsAvailable":"No predefined slots available"},"inlineElement":{"editContent":"Edit content","editProps":"Edit props","delete":"Delete","editContentLabel":"Edit {name} content","enterContentPlaceholder":"Enter content...","apply":"Apply"},"codeBlock":{"filenamePlaceholder":"filename.js"},"link":{"pasteLinkPlaceholder":"Paste a link...","applyLink":"Apply link","openInNewWindow":"Open in new window","removeLink":"Remove link"},"spanStyle":{"label":"Span style","stylePlaceholder":"Styles: e.g. color: tomato; font-weight: 600;","classPlaceholder":"Classes: space separated","apply":"Apply","remove":"Remove"},"binding":{"variablePlaceholder":"Variable name","defaultValuePlaceholder":"Default value"},"image":{"source":"Image source URL","altText":"Alternative text","title":"Image title","width":"Width","height":"Height","noSource":"No image source","edit":"Edit image","delete":"Delete image"},"video":{"source":"Video source URL","poster":"Poster image URL","width":"Width","height":"Height","controls":"Show controls","autoplay":"Autoplay","loop":"Loop","muted":"Muted","noSource":"No video source","edit":"Edit video","delete":"Delete video"}},"mediaPicker":{"image":{"title":"Select Image","description":"Choose an image from your media library","selectionTitle":"Image details","selectionDescription":"Review and confirm your selection","notAvailable":"No images available in your media library","upload":"Upload","useExternal":"Use external source"},"video":{"title":"Select Video","description":"Choose a video from your media library","selectionTitle":"Video details","selectionDescription":"Review and confirm your selection","notAvailable":"No videos available in your media library","upload":"Upload","useExternal":"Use external source"},"name":"Name","path":"File path","publicPath":"Public path","extension":"Extension","fileSize":"File size","resolution":"Resolution","searchPlaceholder":"Search by full path","confirm":"Confirm","cancelSelection":"Cancel"},"form":{"array":{"addItem":"Add {label}","deleteItem":"Delete item","editItem":"Edit item","unsupportedType":"Array type {type} not supported"},"object":{"noProperties":"No properties defined","enterPlaceholder":"Enter {field}..."},"section":{"propertyCount":"1 property | {count} properties"},"media":{"placeholder":"Enter relative path or Public URL...","searchPlaceholder":"Search images...","noImagesFound":"No images found","noImagesAvailable":"No images available","imageCount":"{count} of {total} image | {count} of {total} images"},"icon":{"placeholder":"i-lucide-icon","searchPlaceholder":"Search icons...","noIconsFound":"No icons found","searchHint":"Type at least 2 characters to search","libraries":"Libraries:","allLibraries":"All"},"text":{"placeholder":"Enter text...","selectPlaceholder":"Select an option..."},"date":{"selectDate":"Select a date"},"number":{"placeholder":"0"}},"ai":{"analyzingCollection":"Analyzing collection and generating AI guidelines...","collectionGuide":"{collectionName} collection guide","writingStyleGuide":"AI writing style guide","characterCount":"{count} characters","noStyleGuide":"No style guide","noStyleGuideDescription":"Generate a comprehensive AI writing guide by analyzing the content in the {collectionName} collection.","analyzing":"Analyzing...","analyzeCollection":"Analyze Collection","experimentalAlert":"Context files are currently experimental and only available for generation in development mode.","learnMore":"Learn more","collectionContextFiles":"Collection Context Files","collectionContextDescription":"Manage AI writing style guides for each collection. Each collection can have its own context file to help the AI provide better completions, formatting, and improvements to your content.","noCollectionsFound":"No collections found","generated":"Generated","notGenerated":"Not generated"},"badges":{"experimental":"Experimental"},"content":{"initialMarkdownContent":"# {title} file"}}'),t={studio:e};export{t as default,e as studio};
@@ -0,0 +1,47 @@
1
+ function e(e){if(1!==[...e].length)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}const n=/* @__PURE__ */new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),t=String.raw;function r(e,n){if(null==e)throw new Error(n??"Value expected");return e}const o=t`\[\^?`,a=`c.? | C(?:-.?)?|${t`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${t`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${t`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${t`o\{[^\}]*\}?`}|${t`\d{1,3}`}`,s=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,i=new RegExp(t`
2
+ \\ (?:
3
+ ${a}
4
+ | [gk]<[^>]*>?
5
+ | [gk]'[^']*'?
6
+ | .
7
+ )
8
+ | \( (?:
9
+ \? (?:
10
+ [:=!>({]
11
+ | <[=!]
12
+ | <[^>]*>
13
+ | '[^']*'
14
+ | ~\|?
15
+ | #(?:[^)\\]|\\.?)*
16
+ | [^:)]*[:)]
17
+ )?
18
+ | \*[^\)]*\)?
19
+ )?
20
+ | (?:${s.source})+
21
+ | ${o}
22
+ | .
23
+ `.replace(/\s+/g,""),"gsu"),u=new RegExp(t`
24
+ \\ (?:
25
+ ${a}
26
+ | .
27
+ )
28
+ | \[:(?:\^?\p{Alpha}+|\^):\]
29
+ | ${o}
30
+ | &&
31
+ | .
32
+ `.replace(/\s+/g,""),"gsu");function c(n,r={}){const o={flags:"",...r,rules:{captureGroup:!1,singleline:!1,...r.rules}};if("string"!=typeof n)throw new Error("String expected as pattern");const a=function(e){const n={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let t=0;t<e.length;t++){const r=e[t];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if("y"!==r)n[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0;else{if(!/^y{[gw]}/.test(e.slice(t)))throw new Error('Invalid or unspecified flag "y" mode');n.textSegmentMode="g"===e[t+2]?"grapheme":"word",t+=3}}return n}(o.flags),s=[a.extended],u={captureGroup:o.rules.captureGroup,getCurrentModX:()=>s.at(-1),numOpenGroups:0,popModX(){s.pop()},pushModX(e){s.push(e)},replaceCurrentModX(e){s[s.length-1]=e},singleline:o.rules.singleline};let c,p=[];for(i.lastIndex=0;c=i.exec(n);){const e=l(u,n,c[0],i.lastIndex);e.tokens?p.push(...e.tokens):e.token&&p.push(e.token),void 0!==e.lastIndex&&(i.lastIndex=e.lastIndex)}const d=[];let f=0;p.filter(e=>"GroupOpen"===e.type).forEach(e=>{"capturing"===e.kind?e.number=++f:"("===e.raw&&d.push(e)}),f||d.forEach((e,n)=>{e.kind="capturing",e.number=n+1});const g=f||d.length;return{tokens:p.map(n=>"EscapedNumber"===n.type?function(n,r){const{raw:o,inCharClass:a}=n,s=o.slice(1);if(!a&&("0"!==s&&1===s.length||"0"!==s[0]&&+s<=r))return[y(o)];const i=[],u=s.match(/^[0-7]+|\d/g);for(let c=0;c<u.length;c++){const n=u[c];let r;if(0===c&&"8"!==n&&"9"!==n){if(r=parseInt(n,8),r>127)throw new Error(t`Octal encoded byte above 177 unsupported "${o}"`)}else r=e(n);i.push(w(r,(0===c?"\\":"")+n))}return i}(n,g):n).flat(),flags:a}}function l(n,r,o,a){const[i,c]=o;if("["===o||"[^"===o){const e=function(e,n,t){const r=[b("^"===n[1],n)];let o,a=1;for(u.lastIndex=t;o=u.exec(e);){const e=o[0];if("["===e[0]&&":"!==e[1])a++,r.push(b("^"===e[1],e));else if("]"===e){if("CharacterClassOpen"===r.at(-1).type)r.push(w(93,e));else if(a--,r.push(m(e)),!a)break}else{const n=p(e);Array.isArray(n)?r.push(...n):r.push(n)}}return{tokens:r,lastIndex:u.lastIndex||e.length}}(r,o,a);return{tokens:e.tokens,lastIndex:e.lastIndex}}if("\\"===i){if("AbBGyYzZ".includes(c))return{token:g(o,o)};if(/^\\g[<']/.test(o)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(o))throw new Error(`Invalid group name "${o}"`);return{token:$(o)}}if(/^\\k[<']/.test(o)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(o))throw new Error(`Invalid group name "${o}"`);return{token:y(o)}}if("K"===c)return{token:x("keep",o)};if("N"===c||"R"===c)return{token:C("newline",o,{negate:"N"===c})};if("O"===c)return{token:C("any",o)};if("X"===c)return{token:C("text_segment",o)};const e=d(o,{inCharClass:!1});return Array.isArray(e)?{tokens:e}:{token:e}}if("("===i){if("*"===c)return{token:S(o)};if("(?{"===o)throw new Error(`Unsupported callout "${o}"`);if(o.startsWith("(?#")){if(")"!==r[a])throw new Error('Unclosed comment group "(?#"');return{lastIndex:a+1}}if(/^\(\?[-imx]+[:)]$/.test(o))return{token:v(o,n)};if(n.pushModX(n.getCurrentModX()),n.numOpenGroups++,"("===o&&!n.captureGroup||"(?:"===o)return{token:E("group",o)};if("(?>"===o)return{token:E("atomic",o)};if("(?="===o||"(?!"===o||"(?<="===o||"(?<!"===o)return{token:E("<"===o[2]?"lookbehind":"lookahead",o,{negate:o.endsWith("!")})};if("("===o&&n.captureGroup||o.startsWith("(?<")&&o.endsWith(">")||o.startsWith("(?'")&&o.endsWith("'"))return{token:E("capturing",o,{..."("!==o&&{name:o.slice(3,-1)}})};if(o.startsWith("(?~")){if("(?~|"===o)throw new Error(`Unsupported absence function kind "${o}"`);return{token:E("absence_repeater",o)}}throw"(?("===o?new Error(`Unsupported conditional "${o}"`):new Error(`Invalid or unsupported group option "${o}"`)}if(")"===o){if(n.popModX(),n.numOpenGroups--,n.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:k(o)}}if(n.getCurrentModX()){if("#"===o){const e=r.indexOf("\n",a);return{lastIndex:-1===e?r.length:e}}if(/^\s$/.test(o)){const e=/\s+/y;return e.lastIndex=a,{lastIndex:e.exec(r)?e.lastIndex:a}}}if("."===o)return{token:C("dot",o)};if("^"===o||"$"===o){return{token:g(n.singleline?{"^":t`\A`,$:t`\Z`}[o]:o,o)}}return"|"===o?{token:f(o)}:s.test(o)?{tokens:N(o)}:{token:w(e(o),o)}}function p(t){if("\\"===t[0])return d(t,{inCharClass:!0});if("["===t[0]){const e=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(t);if(!e||!n.has(e.groups.name))throw new Error(`Invalid POSIX class "${t}"`);return C("posix",t,{value:e.groups.name,negate:!!e.groups.negate})}return"-"===t?function(e){return{type:"CharacterClassHyphen",raw:e}}(t):"&&"===t?function(e){return{type:"CharacterClassIntersector",raw:e}}(t):w(e(t),t)}function d(n,{inCharClass:r}){const o=n[1];if("c"===o||"C"===o)return function(n){const t="c"===n[1]?n[2]:n[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${n}"`);return w(e(t.toUpperCase())-64,n)}(n);if("dDhHsSwW".includes(o))return function(e){const n=e[1].toLowerCase();return C({d:"digit",h:"hex",s:"space",w:"word"}[n],e,{negate:e[1]!==n})}(n);if(n.startsWith(t`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${n}"`);if(/^\\[pP]\{/.test(n)){if(3===n.length)throw new Error(`Incomplete or invalid Unicode property "${n}"`);return function(e){const{p:n,neg:t,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return C("property",e,{value:r,negate:"P"===n&&!t||"p"===n&&!!t})}(n)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(n))try{const t=n.split(/\\x/).slice(1).map(e=>parseInt(e,16)),r=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(t)),o=new TextEncoder;return[...r].map(n=>{const t=[...o.encode(n)].map(e=>`\\x${e.toString(16)}`).join("");return w(e(n),t)})}catch{throw new Error(`Multibyte code "${n}" incomplete or invalid in Oniguruma`)}if("u"===o||"x"===o)return w(function(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const n="{"===e[2]?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(n,16)}(n),n);if(I.has(o))return w(I.get(o),n);if(/\d/.test(o))return function(e,n){return{type:"EscapedNumber",inCharClass:e,raw:n}}(r,n);if("\\"===n)throw new Error(t`Incomplete escape "\"`);if("M"===o)throw new Error(`Unsupported meta "${n}"`);if(2===[...n].length)return w(n.codePointAt(1),n);throw new Error(`Unexpected escape "${n}"`)}function f(e){return{type:"Alternator",raw:e}}function g(e,n){return{type:"Assertion",kind:e,raw:n}}function y(e){return{type:"Backreference",raw:e}}function w(e,n){return{type:"Character",value:e,raw:n}}function m(e){return{type:"CharacterClassClose",raw:e}}function b(e,n){return{type:"CharacterClassOpen",negate:e,raw:n}}function C(e,n,t={}){return{type:"CharacterSet",kind:e,...t,raw:n}}function x(e,n,t={}){return"keep"===e?{type:"Directive",kind:e,raw:n}:{type:"Directive",kind:e,flags:r(t.flags),raw:n}}function k(e){return{type:"GroupClose",raw:e}}function E(e,n,t={}){return{type:"GroupOpen",kind:e,...t,raw:n}}function $(e){return{type:"Subroutine",raw:e}}const A=/* @__PURE__ */new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),I=/* @__PURE__ */new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function v(e,n){let{on:t,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??="";const o=(n.getCurrentModX()||t.includes("x"))&&!r.includes("x"),a=M(t),s=M(r),i={};if(a&&(i.enable=a),s&&(i.disable=s),e.endsWith(")"))return n.replaceCurrentModX(o),x("flags",e,{flags:i});if(e.endsWith(":"))return n.pushModX(o),n.numOpenGroups++,E("group",e,{...(a||s)&&{flags:i}});throw new Error(`Unexpected flag modifier "${e}"`)}function S(e){const n=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!n)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:t,tag:r,args:o}=n.groups;if(!t)throw new Error(`Invalid named callout "${e}"`);if(""===r)throw new Error(`Named callout tag with empty value not allowed "${e}"`);const a=o?o.split(",").filter(e=>""!==e).map(e=>/^[+-]?\d+$/.test(e)?+e:e):[],[s,i,u]=a,c=A.has(t)?t.toLowerCase():"custom";switch(c){case"fail":case"mismatch":case"skip":if(a.length>0)throw new Error(`Named callout arguments not allowed "${a}"`);break;case"error":if(a.length>1)throw new Error(`Named callout allows only one argument "${a}"`);if("string"==typeof s)throw new Error(`Named callout argument must be a number "${s}"`);break;case"max":if(!a.length||a.length>2)throw new Error(`Named callout must have one or two arguments "${a}"`);if("string"==typeof s&&!/^[A-Za-z_]\w*$/.test(s))throw new Error(`Named callout argument one must be a tag or number "${s}"`);if(2===a.length&&("number"==typeof i||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${i}"`);break;case"count":case"total_count":if(a.length>1)throw new Error(`Named callout allows only one argument "${a}"`);if(1===a.length&&("number"==typeof s||!/^[<>X]$/.test(s)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${s}"`);break;case"cmp":if(3!==a.length)throw new Error(`Named callout must have three arguments "${a}"`);if("string"==typeof s&&!/^[A-Za-z_]\w*$/.test(s))throw new Error(`Named callout argument one must be a tag or number "${s}"`);if("number"==typeof i||!/^(?:[<>!=]=|[<>])$/.test(i))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${i}"`);if("string"==typeof u&&!/^[A-Za-z_]\w*$/.test(u))throw new Error(`Named callout argument three must be a tag or number "${u}"`);break;case"custom":throw new Error(`Undefined callout name "${t}"`);default:throw new Error(`Unexpected named callout kind "${c}"`)}return function(e,n,t,r){return{type:"NamedCallout",kind:e,tag:n,arguments:t,raw:r}}(c,r??null,o?.split(",")??null,e)}function _(e){let n,t,r=null;if("{"===e[0]){const{minStr:o,maxStr:a}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,s=1e5;if(+o>s||a&&+a>s)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+o,t=void 0===a?+o:""===a?1/0:+a,n>t&&(r="possessive",[n,t]=[t,n]),e.endsWith("?")){if("possessive"===r)throw new Error('Unsupported possessive interval quantifier chain with "?"');r="lazy"}else r||(r="greedy")}else n="+"===e[0]?1:0,t="?"===e[0]?1:1/0,r="+"===e[1]?"possessive":"?"===e[1]?"lazy":"greedy";return function(e,n,t,r){return{type:"Quantifier",kind:e,min:n,max:t,raw:r}}(r,n,t,e)}function M(e){const n={};return e.includes("i")&&(n.ignoreCase=!0),e.includes("m")&&(n.dotAll=!0),e.includes("x")&&(n.extended=!0),Object.keys(n).length?n:null}function N(e){const n=[],t=new RegExp(s,"gy");let r;for(;r=t.exec(e);){const e=r[0];if("{"===e[0]){const r=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(e);if(r){const{min:o,max:a}=r.groups;if(+o>+a&&e.endsWith("?")){t.lastIndex--,n.push(_(e.slice(0,-1)));continue}}}n.push(_(e))}return n}function L(e,n){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(1!==e.body.length)return!1;const t=e.body[0];return!n||Object.keys(n).every(e=>n[e]===t[e])}const F=/* @__PURE__ */new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function P(o,a={}){const s={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...a,rules:{captureGroup:!1,singleline:!1,...a.rules}},i=c(o,{flags:s.flags,rules:{captureGroup:s.rules.captureGroup,singleline:s.rules.singleline}}),u=(o,a)=>{const s=i.tokens[l.nextIndex];switch(l.parent=o,l.nextIndex++,s.type){case"Alternator":return R();case"Assertion":return function({kind:e}){return U(r({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===t`\B`||e===t`\Y`})}(s);case"Backreference":return function({raw:e},n){const t=/^\\k[<']/.test(e),r=t?e.slice(3,-1):e.slice(1),o=(t,r=!1)=>{const o=n.capturingGroups.length;let a=!1;if(t>o){if(!n.skipBackrefValidation)throw new Error(`Not enough capturing groups defined to the left "${e}"`);a=!0}return n.hasNumberedRef=!0,B(r?o+1-t:t,{orphan:a})};if(t){const t=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(t)return o(+t.groups.num,!!t.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!n.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return B(r)}return o(+r)}(s,l);case"Character":return D(s.value,{useLastValid:!!a.isCheckingRangeEnd});case"CharacterClassHyphen":return function(n,t,r){const{tokens:o,walk:a}=t,s=t.parent,i=s.body.at(-1),u=o[t.nextIndex];if(!r.isCheckingRangeEnd&&i&&"CharacterClass"!==i.type&&"CharacterClassRange"!==i.type&&u&&"CharacterClassOpen"!==u.type&&"CharacterClassClose"!==u.type&&"CharacterClassIntersector"!==u.type){const e=a(s,{...r,isCheckingRangeEnd:!0});if("Character"===i.type&&"Character"===e.type)return s.body.pop(),function(e,n){if(n.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:n}}(i,e);throw new Error("Invalid character class range")}return D(e("-"))}(0,l,a);case"CharacterClassOpen":return function({negate:e},n,t){const{tokens:r,walk:o}=n,a=r[n.nextIndex],s=[O()];let i=K(a);for(;"CharacterClassClose"!==i.type;){if("CharacterClassIntersector"===i.type)s.push(O()),n.nextIndex++;else{const e=s.at(-1);e.body.push(o(e,t))}i=K(r[n.nextIndex],a)}const u=O({negate:e});return 1===s.length?u.body=s[0].body:(u.kind="intersection",u.body=s.map(e=>1===e.body.length?e.body[0]:e)),n.nextIndex++,u}(s,l,a);case"CharacterSet":return function({kind:e,negate:t,value:r},o){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:i}=o;if("property"===e){const o=Q(r);if(!n.has(o)||i?.has(o))return H(r,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:i});e="posix",r=o}return"posix"===e?function(e,t){const r=!!t?.negate;if(!n.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:r}}(r,{negate:t}):T(e,{negate:t})}(s,l);case"Directive":return function(e,n={}){if("keep"===e)return{type:"Directive",kind:e};if("flags"===e)return{type:"Directive",kind:e,flags:r(n.flags)};throw new Error(`Unexpected directive kind "${e}"`)}(s.kind,{flags:s.flags});case"GroupOpen":return function(e,n,t){const{tokens:r,capturingGroups:o,namedGroupsByName:a,skipLookbehindValidation:s,walk:i}=n,u=function({flags:e,kind:n,name:t,negate:r,number:o}){switch(n){case"absence_repeater":return function(e,n){return{type:"AbsenceFunction",kind:e,body:h(n?.body)}}("repeater");case"atomic":return W({atomic:!0});case"capturing":return G(o,{name:t});case"group":return W({flags:e});case"lookahead":case"lookbehind":return z({behind:"lookbehind"===n,negate:r});default:throw new Error(`Unexpected group kind "${n}"`)}}(e),c="AbsenceFunction"===u.type,l=q(u),p=l&&u.negate;if("CapturingGroup"===u.type&&(o.push(u),u.name&&function(e,n,t){return e.has(n)||e.set(n,t),e.get(n)}(a,u.name,[]).push(u)),c&&t.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let d=Y(r[n.nextIndex]);for(;"GroupClose"!==d.type;){if("Alternator"===d.type)u.body.push(R()),n.nextIndex++;else{const e=u.body.at(-1),n=i(e,{...t,isInAbsenceFunction:t.isInAbsenceFunction||c,isInLookbehind:t.isInLookbehind||l,isInNegLookbehind:t.isInNegLookbehind||p});if(e.body.push(n),(l||t.isInLookbehind)&&!s){const e="Lookbehind includes a pattern not allowed by Oniguruma";if(p||t.isInNegLookbehind){if(Z(n)||"CapturingGroup"===n.type)throw new Error(e)}else if(Z(n)||q(n)&&n.negate)throw new Error(e)}}d=Y(r[n.nextIndex])}return n.nextIndex++,u}(s,l,a);case"NamedCallout":return function(e,n,t){return{type:"NamedCallout",kind:e,tag:n,arguments:t}}(s.kind,s.tag,s.arguments);case"Quantifier":return function({kind:e,min:n,max:t},r){const o=r.parent,a=o.body.at(-1);if(!a||!function(e){return F.has(e.type)}(a))throw new Error("Quantifier requires a repeatable token");const s=V(e,n,t,a);return o.body.pop(),s}(s,l);case"Subroutine":return function({raw:e},n){const{capturingGroups:t,subroutines:r}=n;let o=e.slice(3,-1);const a=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(o);if(a){const e=+a.groups.num,r=t.length;if(n.hasNumberedRef=!0,o={"":e,"+":r+e,"-":r+1-e}[a.groups.sign],o<1)throw new Error("Invalid subroutine number")}else"0"===o&&(o=0);const s=j(o);return r.push(s),s}(s,l);default:throw new Error(`Unexpected token type "${s.type}"`)}},l={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:/* @__PURE__ */new Map,nextIndex:0,normalizeUnknownPropertyNames:s.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:s.skipBackrefValidation,skipLookbehindValidation:s.skipLookbehindValidation,skipPropertyNameValidation:s.skipPropertyNameValidation,subroutines:[],tokens:i.tokens,unicodePropertyMap:s.unicodePropertyMap,walk:u},p=function(e,n){return{type:"Regex",body:h(n?.body),flags:e}}(function(e){return{type:"Flags",...e}}(i.flags));let d=p.body[0];for(;l.nextIndex<i.tokens.length;){const e=u(d,{});"Alternative"===e.type?(p.body.push(e),d=e):d.body.push(e)}const{capturingGroups:f,hasNumberedRef:g,namedGroupsByName:y,subroutines:w}=l;if(g&&y.size&&!s.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:e}of w)if("number"==typeof e){if(e>f.length)throw new Error("Subroutine uses a group number that's not defined");e&&(f[e-1].isSubroutined=!0)}else{if(!y.has(e))throw new Error(t`Subroutine uses a group name that's not defined "\g<${e}>"`);if(y.get(e).length>1)throw new Error(t`Subroutine uses a duplicate group name "\g<${e}>"`);y.get(e)[0].isSubroutined=!0}return p}function R(e){return{type:"Alternative",body:X(e?.body)}}function U(e,n){const t={type:"Assertion",kind:e};return("word_boundary"===e||"text_segment_boundary"===e)&&(t.negate=!!n?.negate),t}function B(e,n){const t=!!n?.orphan;return{type:"Backreference",ref:e,...t&&{orphan:t}}}function G(e,n){const t={name:void 0,isSubroutined:!1,...n};if(void 0!==t.name&&!function(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}(t.name))throw new Error(`Group name "${t.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...t.name&&{name:t.name},...t.isSubroutined&&{isSubroutined:t.isSubroutined},body:h(n?.body)}}function D(e,n){const t={useLastValid:!1,...n};if(e>1114111){const n=e.toString(16);if(!t.useLastValid)throw e>1310719?new Error(`Invalid code point out of range "\\x{${n}}"`):new Error(`Invalid code point out of range in JS "\\x{${n}}"`);e=1114111}return{type:"Character",value:e}}function O(e){const n={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:n.kind,negate:n.negate,body:X(e?.body)}}function T(e,n){const t=!!n?.negate,r={type:"CharacterSet",kind:e};return("digit"===e||"hex"===e||"newline"===e||"space"===e||"word"===e)&&(r.negate=t),("text_segment"===e||"newline"===e&&!t)&&(r.variableLength=!0),r}function W(e){const n=e?.atomic,t=e?.flags;if(n&&t)throw new Error("Atomic group cannot have flags");return{type:"Group",...n&&{atomic:n},...t&&{flags:t},body:h(e?.body)}}function z(e){const n={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:n.behind?"lookbehind":"lookahead",negate:n.negate,body:h(e?.body)}}function V(e,n,t,r){if(n>t)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:n,max:t,body:r}}function j(e){return{type:"Subroutine",ref:e}}function H(e,n){const r={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...n};let o=r.unicodePropertyMap?.get(Q(e));if(!o)if(r.normalizeUnknownPropertyNames)o=function(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,e=>e[0].toUpperCase()+e.slice(1).toLowerCase())}(e);else if(r.unicodePropertyMap&&!r.skipPropertyNameValidation)throw new Error(t`Invalid Unicode property "\p{${e}}"`);return{type:"CharacterSet",kind:"property",value:o??e,negate:r.negate}}function h(e){if(void 0===e)e=[R()];else if(!Array.isArray(e)||!e.length||!e.every(e=>"Alternative"===e.type))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function X(e){if(void 0===e)e=[];else if(!Array.isArray(e)||!e.every(e=>!!e.type))throw new Error("Invalid body; expected array of nodes");return e}function Z(e){return"LookaroundAssertion"===e.type&&"lookahead"===e.kind}function q(e){return"LookaroundAssertion"===e.type&&"lookbehind"===e.kind}function Q(e){return e.replace(/[- _]+/g,"").toLowerCase()}function K(e,n){return r(e,("Character"===n?.type&&93===n.value?"Empty":"Unclosed")+" character class")}function Y(e){return r(e,"Unclosed group")}function J(e,n,t=null){function o(e,n){for(let t=0;t<e.length;t++){const r=a(e[t],n,t,e);t=Math.max(-1,t+r)}}function a(s,i=null,u=null,c=null){let l=0,p=!1;const d={node:s,parent:i,key:u,container:c,root:e,remove(){ee(c).splice(Math.max(0,ne(u)+l),1),l--,p=!0},removeAllNextSiblings:()=>ee(c).splice(ne(u)+1),removeAllPrevSiblings(){const e=ne(u)+l;return l-=e,ee(c).splice(0,Math.max(0,e))},replaceWith(e,n={}){const t=!!n.traverse;c?c[Math.max(0,ne(u)+l)]=e:r(i,"Can't replace root node")[u]=e,t&&a(e,i,u,c),p=!0},replaceWithMultiple(e,n={}){const t=!!n.traverse;if(ee(c).splice(Math.max(0,ne(u)+l),1,...e),l+=e.length-1,t){let n=0;for(let t=0;t<e.length;t++)n+=a(e[t],i,ne(u)+t+n,c)}p=!0},skip(){p=!0}},{type:f}=s,g=n["*"],y=n[f],w="function"==typeof g?g:g?.enter,m="function"==typeof y?y:y?.enter;if(w?.(d,t),m?.(d,t),!p)switch(f){case"AbsenceFunction":case"CapturingGroup":case"Group":case"Alternative":case"CharacterClass":case"LookaroundAssertion":o(s.body,s);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":a(s.min,s,"min"),a(s.max,s,"max");break;case"Quantifier":a(s.body,s,"body");break;case"Regex":o(s.body,s),a(s.flags,s,"flags");break;default:throw new Error(`Unexpected node type "${f}"`)}return y?.exit?.(d,t),g?.exit?.(d,t),l}return a(e),e}function ee(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function ne(e){if("number"!=typeof e)throw new Error("Numeric key expected");return e}const te=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function re(e,n){for(let t=0;t<e.length;t++)e[t]>=n&&e[t]++}function oe(e,n,t,r){return e.slice(0,n)+r+e.slice(n+t.length)}const ae=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function se(e,n,t,r){const o=new RegExp(String.raw`${n}|(?<$skip>\[\^?|\\?.)`,"gsu"),a=[!1];let s=0,i="";for(const u of e.matchAll(o)){const{0:e,groups:{$skip:n}}=u;n||r&&r===ae.DEFAULT!=!s?("["===e[0]?(s++,a.push("^"===e[1])):"]"===e&&s&&(s--,a.pop()),i+=e):i+=t instanceof Function?t(u,{context:s?ae.CHAR_CLASS:ae.DEFAULT,negated:a[a.length-1]}):t}return i}function ie(e,n,t,r){se(e,n,t,r)}function ue(e,n,t){return!!function(e,n,t=0,r){if(!new RegExp(n,"su").test(e))return null;const o=new RegExp(`${n}|(?<$skip>\\\\?.)`,"gsu");o.lastIndex=t;let a,s=0;for(;a=o.exec(e);){const{0:e,groups:{$skip:n}}=a;if(!(n||r&&r===ae.DEFAULT!=!s))return a;"["===e?s++:"]"===e&&s&&s--,o.lastIndex==a.index&&o.lastIndex++}return null}(e,n,0,t)}function ce(e,n){const t=/\\?./gsu;t.lastIndex=n;let r,o=e.length,a=0,s=1;for(;r=t.exec(e);){const[e]=r;if("["===e)a++;else if(a)"]"===e&&a--;else if("("===e)s++;else if(")"===e&&(s--,!s)){o=r.index;break}}return e.slice(n,o)}const le=new RegExp(String.raw`(?<noncapturingStart>${te})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");const pe=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,de=new RegExp(String.raw`
33
+ \\(?: \d+
34
+ | c[A-Za-z]
35
+ | [gk]<[^>]+>
36
+ | [pPu]\{[^\}]+\}
37
+ | u[A-Fa-f\d]{4}
38
+ | x[A-Fa-f\d]{2}
39
+ )
40
+ | \((?: \? (?: [:=!>]
41
+ | <(?:[=!]|[^>]+>)
42
+ | [A-Za-z\-]+:
43
+ | \(DEFINE\)
44
+ ))?
45
+ | (?<qBase>${pe})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
46
+ | \\?.
47
+ `.replace(/\s+/g,""),"gsu");const fe=String.raw,ge=fe`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,he=fe`\(\?R=(?<rDepth>[^\)]+)\)|${ge}`,ye=fe`\(\?<(?![=!])(?<captureName>[^>]+)>`,we=fe`${ye}|(?<unnamed>\()(?!\?)`,me=new RegExp(fe`${ye}|${he}|\(\?|\\?.`,"gsu"),be="Cannot use multiple overlapping recursions";function Ce(e){const n=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(n);if((e=+e)<2||e>100)throw new Error(n)}function xe(e,n,t,r,o,a,s){const i=/* @__PURE__ */new Set;r&&ie(e+n,ye,({groups:{captureName:e}})=>{i.add(e)},ae.DEFAULT);const u=[t,r?i:null,o,a,s];return`${e}${ke(`(?:${e}`,"forward",...u)}(?:)${ke(`${n})`,"backward",...u)}${n}`}function ke(e,n,t,r,o,a,s){const i=e=>"forward"===n?e+2:t-e+2-1;let u="";for(let c=0;c<t;c++){const n=i(c);u+=se(e,fe`${we}|\\k<(?<backref>[^>]+)>`,({0:e,groups:{captureName:t,unnamed:i,backref:u}})=>{if(u&&r&&!r.has(u))return e;const c=`_$${n}`;if(i||t){const n=s+a.length+1;return a.push(n),Ee(o,n),i?e:`(?<${t}${c}>`}return fe`\k<${u}${c}>`},ae.DEFAULT)}return u}function Ee(e,n){for(let t=0;t<e.length;t++)e[t]>=n&&e[t]++}function $e(e,n,t,r,o,a){if(e.size&&r){let s=0;ie(n,we,()=>s++,ae.DEFAULT);const i=a-s+o,u=/* @__PURE__ */new Map;return e.forEach((e,n)=>{const o=(r-s*t)/t,a=s*t,c=n>i+s?n+r:n,l=[];for(const u of e)if(u<=i)l.push(u);else if(u>i+s+o)l.push(u+r);else if(u<=i+s)for(let e=0;e<=t;e++)l.push(u+s*e);else for(let e=0;e<=t;e++)l.push(u+a+o*e);u.set(c,l)}),u}return e}var Ae=String.fromCodePoint,Ie=String.raw,ve={},Se=globalThis.RegExp;function _e(e,{enable:n,disable:t}){return{dotAll:!(t?.dotAll||!n?.dotAll&&!e.dotAll),ignoreCase:!(t?.ignoreCase||!n?.ignoreCase&&!e.ignoreCase)}}function Me(e,n,t){return e.has(n)||e.set(n,t),e.get(n)}function Ne(e,n){return Le[e]>=Le[n]}ve.flagGroups=(()=>{try{new Se("(?i:)")}catch{return!1}return!0})(),ve.unicodeSets=(()=>{try{new Se("[[]]","v")}catch{return!1}return!0})(),ve.bugFlagVLiteralHyphenIsRange=!!ve.unicodeSets&&(()=>{try{new Se(Ie`[\d\-a]`,"v")}catch{return!0}return!1})(),ve.bugNestedClassIgnoresNegation=ve.unicodeSets&&new Se("[[^a]]","v").test("a");var Le={ES2025:2025,ES2024:2024,ES2018:2018},Fe={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function Pe(e={}){if("[object Object]"!=={}.toString.call(e))throw new Error("Unexpected options");if(void 0!==e.target&&!Fe[e.target])throw new Error(`Unexpected target "${e.target}"`);const n={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return"auto"===n.target&&(n.target=ve.flagGroups?"ES2025":ve.unicodeSets?"ES2024":"ES2018"),n}var Re=/* @__PURE__ */new Set([Ae(304),Ae(305)]),Ue=Ie`[\p{L}\p{M}\p{N}\p{Pc}]`;function Be(e){if(Re.has(e))return[e];const n=/* @__PURE__ */new Set,t=e.toLowerCase(),r=t.toUpperCase(),o=Te.get(t),a=De.get(t),s=Oe.get(t);return 1===[...r].length&&n.add(r),s&&n.add(s),o&&n.add(o),n.add(t),a&&n.add(a),[...n]}var Ge=/* @__PURE__ */new Map("C Other\nCc Control cntrl\nCf Format\nCn Unassigned\nCo Private_Use\nCs Surrogate\nL Letter\nLC Cased_Letter\nLl Lowercase_Letter\nLm Modifier_Letter\nLo Other_Letter\nLt Titlecase_Letter\nLu Uppercase_Letter\nM Mark Combining_Mark\nMc Spacing_Mark\nMe Enclosing_Mark\nMn Nonspacing_Mark\nN Number\nNd Decimal_Number digit\nNl Letter_Number\nNo Other_Number\nP Punctuation punct\nPc Connector_Punctuation\nPd Dash_Punctuation\nPe Close_Punctuation\nPf Final_Punctuation\nPi Initial_Punctuation\nPo Other_Punctuation\nPs Open_Punctuation\nS Symbol\nSc Currency_Symbol\nSk Modifier_Symbol\nSm Math_Symbol\nSo Other_Symbol\nZ Separator\nZl Line_Separator\nZp Paragraph_Separator\nZs Space_Separator\nASCII\nASCII_Hex_Digit AHex\nAlphabetic Alpha\nAny\nAssigned\nBidi_Control Bidi_C\nBidi_Mirrored Bidi_M\nCase_Ignorable CI\nCased\nChanges_When_Casefolded CWCF\nChanges_When_Casemapped CWCM\nChanges_When_Lowercased CWL\nChanges_When_NFKC_Casefolded CWKCF\nChanges_When_Titlecased CWT\nChanges_When_Uppercased CWU\nDash\nDefault_Ignorable_Code_Point DI\nDeprecated Dep\nDiacritic Dia\nEmoji\nEmoji_Component EComp\nEmoji_Modifier EMod\nEmoji_Modifier_Base EBase\nEmoji_Presentation EPres\nExtended_Pictographic ExtPict\nExtender Ext\nGrapheme_Base Gr_Base\nGrapheme_Extend Gr_Ext\nHex_Digit Hex\nIDS_Binary_Operator IDSB\nIDS_Trinary_Operator IDST\nID_Continue IDC\nID_Start IDS\nIdeographic Ideo\nJoin_Control Join_C\nLogical_Order_Exception LOE\nLowercase Lower\nMath\nNoncharacter_Code_Point NChar\nPattern_Syntax Pat_Syn\nPattern_White_Space Pat_WS\nQuotation_Mark QMark\nRadical\nRegional_Indicator RI\nSentence_Terminal STerm\nSoft_Dotted SD\nTerminal_Punctuation Term\nUnified_Ideograph UIdeo\nUppercase Upper\nVariation_Selector VS\nWhite_Space space\nXID_Continue XIDC\nXID_Start XIDS".split(/\s/).map(e=>[Q(e),e])),De=/* @__PURE__ */new Map([["s",Ae(383)],[Ae(383),"s"]]),Oe=/* @__PURE__ */new Map([[Ae(223),Ae(7838)],[Ae(107),Ae(8490)],[Ae(229),Ae(8491)],[Ae(969),Ae(8486)]]),Te=new Map([ze(453),ze(456),ze(459),ze(498),...Ve(8072,8079),...Ve(8088,8095),...Ve(8104,8111),ze(8124),ze(8140),ze(8188)]),We=/* @__PURE__ */new Map([["alnum",Ie`[\p{Alpha}\p{Nd}]`],["alpha",Ie`\p{Alpha}`],["ascii",Ie`\p{ASCII}`],["blank",Ie`[\p{Zs}\t]`],["cntrl",Ie`\p{Cc}`],["digit",Ie`\p{Nd}`],["graph",Ie`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",Ie`\p{Lower}`],["print",Ie`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",Ie`[\p{P}\p{S}]`],["space",Ie`\p{space}`],["upper",Ie`\p{Upper}`],["word",Ie`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",Ie`\p{AHex}`]]);function ze(e){const n=Ae(e);return[n.toLowerCase(),n]}function Ve(e,n){return function(e,n){const t=[];for(let r=e;r<=n;r++)t.push(r);return t}(e,n).map(e=>ze(e))}var je=/* @__PURE__ */new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);var He={AbsenceFunction({node:e,parent:n,replaceWith:t}){const{body:r,kind:o}=e;if("repeater"!==o)throw new Error('Unsupported absence function "(?~|"');{const e=W();e.body[0].body.push(z({negate:!0,body:r}),H("Any"));const o=W();o.body[0].body.push(V("greedy",0,1/0,e)),t(cn(o,n),{traverse:!0})}},Alternative:{enter({node:e,parent:n,key:t},{flagDirectivesByAlt:r}){const o=e.body.filter(e=>"flags"===e.kind);for(let a=t+1;a<n.body.length;a++){Me(r,n.body[a],[]).push(...o)}},exit({node:e},{flagDirectivesByAlt:n}){if(n.get(e)?.length){const t=Je(n.get(e));if(t){const n=W({flags:t});n.body[0].body=e.body,e.body=[cn(n,e)]}}}},Assertion({node:e,parent:n,key:t,container:r,root:o,remove:a,replaceWith:s},i){const{kind:u,negate:c}=e,{asciiWordBoundaries:l,avoidSubclass:p,supportedGNodes:d,wordIsAscii:f}=i;if("text_segment_boundary"===u)throw new Error(`Unsupported text segment boundary "\\${c?"Y":"y"}"`);if("line_end"===u)s(cn(z({body:[R({body:[U("string_end")]}),R({body:[D(10)]})]}),n));else if("line_start"===u)s(cn(an(Ie`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),n));else if("search_start"===u)if(d.has(e))o.flags.sticky=!0,a();else{const e=r[t-1];if(e&&function(e){const n=["Character","CharacterClass","CharacterSet"];return n.includes(e.type)||"Quantifier"===e.type&&e.min&&n.includes(e.body.type)}(e))s(cn(z({negate:!0}),n));else{if(p)throw new Error(Ie`Uses "\G" in a way that requires a subclass`);s(un(U("string_start"),n)),i.strategy="clip_search"}}else if("string_end"===u||"string_start"===u);else if("string_end_newline"===u)s(cn(an(Ie`(?=\n?\z)`),n));else{if("word_boundary"!==u)throw new Error(`Unexpected assertion kind "${u}"`);if(!f&&!l){s(cn(an(c?`(?:(?<=${Ue})(?=${Ue})|(?<!${Ue})(?!${Ue}))`:`(?:(?<=${Ue})(?!${Ue})|(?<!${Ue})(?=${Ue}))`),n))}}},Backreference({node:e},{jsGroupNameMap:n}){let{ref:t}=e;"string"!=typeof t||on(t)||(t=Ye(t,n),e.ref=t)},CapturingGroup({node:e},{jsGroupNameMap:n,subroutineRefMap:t}){let{name:r}=e;r&&!on(r)&&(r=Ye(r,n),e.name=r),t.set(e.number,e),r&&t.set(r,e)},CharacterClassRange({node:e,parent:n,replaceWith:t}){if("intersection"===n.kind){t(cn(O({body:[e]}),n),{traverse:!0})}},CharacterSet({node:e,parent:n,replaceWith:t},{accuracy:r,minTargetEs2024:o,digitIsAscii:a,spaceIsAscii:s,wordIsAscii:i}){const{kind:u,negate:c,value:l}=e;if(!a||"digit"!==u&&"digit"!==l)if(!s||"space"!==u&&"space"!==l)if(!i||"word"!==u&&"word"!==l)if("any"===u)t(un(H("Any"),n));else if("digit"===u)t(un(H("Nd",{negate:c}),n));else if("dot"===u);else if("text_segment"===u){if("strict"===r)throw new Error(Ie`Use of "\X" requires non-strict accuracy`);const e="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",a=Ie`\p{RI}{2}|${e}(?:\u200D${e})*`;t(cn(an(Ie`(?>\r\n|${o?Ie`\p{RGI_Emoji}`:a}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),n))}else if("hex"===u)t(un(H("AHex",{negate:c}),n));else if("newline"===u)t(cn(an(c?"[^\n]":"(?>\r\n?|[\n\v\f…\u2028\u2029])"),n));else if("posix"===u)if(o||"graph"!==l&&"print"!==l)t(cn(sn(an(We.get(l)),c),n));else{if("strict"===r)throw new Error(`POSIX class "${l}" requires min target ES2024 or non-strict accuracy`);let e={graph:"!-~",print:" -~"}[l];c&&(e=`\0-${Ae(e.codePointAt(0)-1)}${Ae(e.codePointAt(2)+1)}-􏿿`),t(cn(an(`[${e}]`),n))}else if("property"===u)Ge.has(Q(l))||(e.key="sc");else if("space"===u)t(un(H("space",{negate:c}),n));else{if("word"!==u)throw new Error(`Unexpected character set kind "${u}"`);t(cn(sn(an(Ue),c),n))}else t(un(T("word",{negate:c}),n));else t(cn(sn(an("[\t-\r ]"),c),n));else t(un(T("digit",{negate:c}),n))},Directive({node:e,parent:n,root:t,remove:r,replaceWith:o,removeAllPrevSiblings:a,removeAllNextSiblings:s}){const{kind:i,flags:u}=e;if("flags"===i)if(u.enable||u.disable){const e=W({flags:u});e.body[0].body=s(),o(cn(e,n),{traverse:!0})}else r();else{if("keep"!==i)throw new Error(`Unexpected directive kind "${i}"`);{const e=t.body[0],r=1===t.body.length&&L(e,{type:"Group"})&&1===e.body[0].body.length?e.body[0]:t;if(n.parent!==r||r.body.length>1)throw new Error(Ie`Uses "\K" in a way that's unsupported`);const s=z({behind:!0});s.body[0].body=a(),o(cn(s,n))}}},Flags({node:e,parent:n}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if("word"===e.textSegmentMode)throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),n.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:n,disable:t}=e.flags;n?.extended&&delete n.extended,t?.extended&&delete t.extended,n?.dotAll&&t?.dotAll&&delete n.dotAll,n?.ignoreCase&&t?.ignoreCase&&delete n.ignoreCase,n&&!Object.keys(n).length&&delete e.flags.enable,t&&!Object.keys(t).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},n){const{kind:t}=e;"lookbehind"===t&&(n.passedLookbehind=!0)},NamedCallout({node:e,parent:n,replaceWith:t}){const{kind:r}=e;if("fail"!==r)throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`);t(cn(z({negate:!0}),n))},Quantifier({node:e}){if("Quantifier"===e.body.type){const n=W();n.body[0].body.push(e.body),e.body=cn(n,e)}},Regex:{enter({node:e},{supportedGNodes:n}){const t=[];let r=!1,o=!1;for(const a of e.body)if(1===a.body.length&&"search_start"===a.body[0].kind)a.body.pop();else{const e=tn(a.body);e?(r=!0,Array.isArray(e)?t.push(...e):t.push(e)):o=!0}r&&!o&&t.forEach(e=>n.add(e))},exit(e,{accuracy:n,passedLookbehind:t,strategy:r}){if("strict"===n&&t&&r)throw new Error(Ie`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:n}){let{ref:t}=e;"string"!=typeof t||on(t)||(t=Ye(t,n),e.ref=t)}},Xe={Backreference({node:e},{multiplexCapturesToLeftByRef:n,reffedNodesByReferencer:t}){const{orphan:r,ref:o}=e;r||t.set(e,[...n.get(o).map(({node:e})=>e)])},CapturingGroup:{enter({node:e,parent:n,replaceWith:t,skip:r},{groupOriginByCopy:o,groupsByName:a,multiplexCapturesToLeftByRef:s,openRefs:i,reffedNodesByReferencer:u}){const c=o.get(e);if(c&&i.has(e.number)){const r=un(Ke(e.number),n);return u.set(r,i.get(e.number)),void t(r)}i.set(e.number,e),s.set(e.number,[]),e.name&&Me(s,e.name,[]);const l=s.get(e.name??e.number);for(let p=0;p<l.length;p++){const n=l[p];if(c===n.node||c&&c===n.origin||e===n.origin){l.splice(p,1);break}}if(s.get(e.number).push({node:e,origin:c}),e.name&&s.get(e.name).push({node:e,origin:c}),e.name){const n=Me(a,e.name,/* @__PURE__ */new Map);let t=!1;if(c)t=!0;else for(const e of n.values())if(!e.hasDuplicateNameToRemove){t=!0;break}a.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:t})}},exit({node:e},{openRefs:n}){n.delete(e.number)}},Group:{enter({node:e},n){n.prevFlags=n.currentFlags,e.flags&&(n.currentFlags=_e(n.currentFlags,e.flags))},exit(e,n){n.currentFlags=n.prevFlags}},Subroutine({node:e,parent:n,replaceWith:t},r){const{isRecursive:o,ref:a}=e;if(o){let t=n;for(;(t=t.parent)&&("CapturingGroup"!==t.type||t.name!==a&&t.number!==a););return void r.reffedNodesByReferencer.set(e,t)}const s=r.subroutineRefMap.get(a),i=0===a,u=i?Ke(0):Qe(s,r.groupOriginByCopy,null);let c=u;if(!i){const e=Je(function(e,n){const t=[];for(;e=e.parent;)n&&!n(e)||t.push(e);return t}(s,e=>"Group"===e.type&&!!e.flags)),n=e?_e(r.globalFlags,e):r.globalFlags;l=n,p=r.currentFlags,(l.dotAll!==p.dotAll||l.ignoreCase!==p.ignoreCase)&&(c=W({flags:en(n)}),c.body[0].body.push(u))}var l,p;t(cn(c,n),{traverse:!i})}},Ze={Backreference({node:e,parent:n,replaceWith:t},r){if(e.orphan)return void(r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref));const o=r.reffedNodesByReferencer.get(e).filter(n=>function(e,n){let t=n;do{if("Regex"===t.type)return!1;if("Alternative"===t.type)continue;if(t===e)return!1;const n=nn(t.parent);for(const r of n){if(r===t)break;if(r===e||rn(r,e))return!0}}while(t=t.parent);throw new Error("Unexpected path")}(n,e));if(o.length)if(o.length>1){t(cn(W({atomic:!0,body:o.reverse().map(e=>R({body:[B(e.number)]}))}),n))}else e.ref=o[0].number;else t(cn(z({negate:!0}),n))},CapturingGroup({node:e},n){e.number=++n.numCapturesToLeft,e.name&&n.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},n){const t=Math.max(n.highestOrphanBackref-n.numCapturesToLeft,0);for(let r=0;r<t;r++){const n=G();e.body.at(-1).body.push(n)}}},Subroutine({node:e},n){e.isRecursive&&0!==e.ref&&(e.ref=n.reffedNodesByReferencer.get(e).number)}};function qe(e){J(e,{"*"({node:e,parent:n}){e.parent=n}})}function Qe(e,n,t,r){const o=Array.isArray(e)?[]:{};for(const[a,s]of Object.entries(e))"parent"===a?o.parent=Array.isArray(t)?r:t:s&&"object"==typeof s?o[a]=Qe(s,n,o,t):("type"===a&&"CapturingGroup"===s&&n.set(o,n.get(e)??e),o[a]=s);return o}function Ke(e){const n=j(e);return n.isRecursive=!0,n}function Ye(e,n){if(n.has(e))return n.get(e);const t=`$${n.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/gu,"_")}`;return n.set(e,t),t}function Je(e){const n=["dotAll","ignoreCase"],t={enable:{},disable:{}};return e.forEach(({flags:e})=>{n.forEach(n=>{e.enable?.[n]&&(delete t.disable[n],t.enable[n]=!0),e.disable?.[n]&&(t.disable[n]=!0)})}),Object.keys(t.enable).length||delete t.enable,Object.keys(t.disable).length||delete t.disable,t.enable||t.disable?t:null}function en({dotAll:e,ignoreCase:n}){const t={};return(e||n)&&(t.enable={},e&&(t.enable.dotAll=!0),n&&(t.enable.ignoreCase=!0)),e&&n||(t.disable={},!e&&(t.disable.dotAll=!0),!n&&(t.disable.ignoreCase=!0)),t}function nn(e){if(!e)throw new Error("Node expected");const{body:n}=e;return Array.isArray(n)?n:n?[n]:null}function tn(e){const n=e.find(e=>"search_start"===e.kind||function(e,n){const t={negate:null,...n};return"LookaroundAssertion"===e.type&&(null===t.negate||e.negate===t.negate)&&1===e.body.length&&L(e.body[0],{type:"Assertion",kind:"search_start"})}(e,{negate:!1})||!function({type:e}){return"Assertion"===e||"Directive"===e||"LookaroundAssertion"===e}(e));if(!n)return null;if("search_start"===n.kind)return n;if("LookaroundAssertion"===n.type)return n.body[0].body[0];if("CapturingGroup"===n.type||"Group"===n.type){const e=[];for(const t of n.body){const n=tn(t.body);if(!n)return null;Array.isArray(n)?e.push(...n):e.push(n)}return e}return null}function rn(e,n){const t=nn(e)??[];for(const r of t)if(r===n||rn(r,n))return!0;return!1}function on(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function an(e,n){const t=P(e,{...n,unicodePropertyMap:Ge}).body;return t.length>1||t[0].body.length>1?W({body:t}):t[0].body[0]}function sn(e,n){return e.negate=n,e}function un(e,n){return e.parent=n,e}function cn(e,n){return qe(e),e.parent=n,e}function ln(e,n){const t=Pe(n),r=Ne(t.target,"ES2024"),o=Ne(t.target,"ES2025"),a=t.rules.recursionLimit;if(!Number.isInteger(a)||a<2||a>20)throw new Error("Invalid recursionLimit; use 2-20");let s=null,i=null;if(!o){const n=[e.flags.ignoreCase];J(e,pn,{getCurrentModI:()=>n.at(-1),popModI(){n.pop()},pushModI(e){n.push(e)},setHasCasedChar(){n.at(-1)?s=!0:i=!0}})}const u={dotAll:e.flags.dotAll,ignoreCase:!(!e.flags.ignoreCase&&!s||i)};let c=e;const l={accuracy:t.accuracy,appliedGlobalFlags:u,captureMap:/* @__PURE__ */new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:e._originMap,recursionLimit:a,useAppliedIgnoreCase:!(o||!s||!i),useFlagMods:o,useFlagV:r,verbose:t.verbose};function p(e){l.lastNode=c,c=e;return function(e,n){if(null==e)throw new Error(n??"Value expected");return e}(dn[e.type],`Unexpected node type "${e.type}"`)(e,l,p)}const d={pattern:e.body.map(p).join("|"),flags:p(e.flags),options:{...e.options}};return r||(delete d.options.force.v,d.options.disable.v=!0,d.options.unicodeSetsPlugin=null),d._captureTransfers=/* @__PURE__ */new Map,d._hiddenCaptures=[],l.captureMap.forEach((e,n)=>{e.hidden&&d._hiddenCaptures.push(n),e.transferTo&&Me(d._captureTransfers,e.transferTo,[]).push(n)}),d}var pn={"*":{enter({node:e},n){if(xn(e)){const t=n.getCurrentModI();n.pushModI(e.flags?_e({ignoreCase:t},e.flags).ignoreCase:t)}},exit({node:e},n){xn(e)&&n.popModI()}},Backreference(e,n){n.setHasCasedChar()},Character({node:e},n){mn(Ae(e.value))&&n.setHasCasedChar()},CharacterClassRange({node:e,skip:n},t){n(),bn(e,{firstOnly:!0}).length&&t.setHasCasedChar()},CharacterSet({node:e},n){"property"===e.kind&&je.has(e.value)&&n.setHasCasedChar()}},dn={Alternative:({body:e},n,t)=>e.map(t).join(""),Assertion({kind:e,negate:n}){if("string_end"===e)return"$";if("string_start"===e)return"^";if("word_boundary"===e)return n?Ie`\B`:Ie`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},n){if("number"!=typeof e)throw new Error("Unexpected named backref in transformed AST");if(!n.useFlagMods&&"strict"===n.accuracy&&n.currentFlags.ignoreCase&&!n.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,n,t){const{body:r,name:o,number:a}=e,s={ignoreCase:n.currentFlags.ignoreCase},i=n.originMap.get(e);return i&&(s.hidden=!0,a>i.number&&(s.transferTo=i.number)),n.captureMap.set(a,s),`(${o?`?<${o}>`:""}${r.map(t).join("|")})`},Character({value:e},n){const t=Ae(e),r=Cn(e,{escDigit:"Backreference"===n.lastNode.type,inCharClass:n.inCharClass,useFlagV:n.useFlagV});if(r!==t)return r;if(n.useAppliedIgnoreCase&&n.currentFlags.ignoreCase&&mn(t)){const e=Be(t);return n.inCharClass?e.join(""):e.length>1?`[${e.join("")}]`:e[0]}return t},CharacterClass(e,n,t){const{kind:r,negate:o,parent:a}=e;let{body:s}=e;if("intersection"===r&&!n.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");ve.bugFlagVLiteralHyphenIsRange&&n.useFlagV&&s.some(kn)&&(s=[D(45),...s.filter(e=>!kn(e))]);const i=()=>`[${o?"^":""}${s.map(t).join("intersection"===r?"&&":"")}]`;if(!n.inCharClass){if((!n.useFlagV||ve.bugNestedClassIgnoresNegation)&&!o){const n=s.filter(e=>"CharacterClass"===e.type&&"union"===e.kind&&e.negate);if(n.length){const r=W(),o=r.body[0];return r.parent=a,o.parent=r,s=s.filter(e=>!n.includes(e)),e.body=s,s.length?(e.parent=o,o.body.push(e)):r.body.pop(),n.forEach(e=>{const n=R({body:[e]});e.parent=n,n.parent=r,r.body.push(n)}),t(r)}}n.inCharClass=!0;const r=i();return n.inCharClass=!1,r}const u=s[0];if("union"===r&&!o&&u&&((!n.useFlagV||!n.verbose)&&"union"===a.kind&&(!ve.bugFlagVLiteralHyphenIsRange||!n.useFlagV)||!n.verbose&&"intersection"===a.kind&&1===s.length&&"CharacterClassRange"!==u.type))return s.map(t).join("");if(!n.useFlagV&&"CharacterClass"===a.type)throw new Error("Uses nested character class in a way that requires min target ES2024");return i()},CharacterClassRange(e,n){const t=e.min.value,r=e.max.value,o={escDigit:!1,inCharClass:!0,useFlagV:n.useFlagV},a=Cn(t,o),s=Cn(r,o),i=/* @__PURE__ */new Set;if(n.useAppliedIgnoreCase&&n.currentFlags.ignoreCase){(function(e){const n=e.map(e=>e.codePointAt(0)).sort((e,n)=>e-n),t=[];let r=null;for(let o=0;o<n.length;o++)n[o+1]===n[o]+1?r??=n[o]:null===r?t.push(n[o]):(t.push([r,n[o]]),r=null);return t})(bn(e)).forEach(e=>{i.add(Array.isArray(e)?`${Cn(e[0],o)}-${Cn(e[1],o)}`:Cn(e,o))})}return`${a}-${s}${[...i].join("")}`},CharacterSet({kind:e,negate:n,value:t,key:r},o){if("dot"===e)return o.currentFlags.dotAll?o.appliedGlobalFlags.dotAll||o.useFlagMods?".":"[^]":Ie`[^\n]`;if("digit"===e)return n?Ie`\D`:Ie`\d`;if("property"===e){if(o.useAppliedIgnoreCase&&o.currentFlags.ignoreCase&&je.has(t))throw new Error(`Unicode property "${t}" can't be case-insensitive when other chars have specific case`);return`${n?Ie`\P`:Ie`\p`}{${r?`${r}=`:""}${t}}`}if("word"===e)return n?Ie`\W`:Ie`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags:(e,n)=>(n.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":""),Group({atomic:e,body:n,flags:t,parent:r},o,a){const s=o.currentFlags;t&&(o.currentFlags=_e(s,t));const i=n.map(a).join("|"),u=o.verbose||1!==n.length||"Quantifier"===r.type||e||o.useFlagMods&&t?`(?${function(e,n,t){if(e)return">";let r="";if(n&&t){const{enable:e,disable:t}=n;r=(e?.ignoreCase?"i":"")+(e?.dotAll?"s":"")+(t?"-":"")+(t?.ignoreCase?"i":"")+(t?.dotAll?"s":"")}return`${r}:`}(e,t,o.useFlagMods)}${i})`:i;return o.currentFlags=s,u},LookaroundAssertion:({body:e,kind:n,negate:t},r,o)=>`(?${`${"lookahead"===n?"":"<"}${t?"!":"="}`}${e.map(o).join("|")})`,Quantifier:(e,n,t)=>t(e.body)+function({kind:e,max:n,min:t}){let r;r=t||1!==n?t||n!==1/0?1===t&&n===1/0?"+":t===n?`{${t}}`:`{${t},${n===1/0?"":n}}`:"*":"?";return r+{greedy:"",lazy:"?",possessive:"+"}[e]}(e),Subroutine({isRecursive:e,ref:n},t){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=t.recursionLimit;return 0===n?`(?R=${r})`:Ie`\g<${n}&R=${r}>`}},fn=/* @__PURE__ */new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),gn=/* @__PURE__ */new Set(["-","\\","]","^","["]),hn=/* @__PURE__ */new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),yn=/* @__PURE__ */new Map([[9,Ie`\t`],[10,Ie`\n`],[11,Ie`\v`],[12,Ie`\f`],[13,Ie`\r`],[8232,Ie`\u2028`],[8233,Ie`\u2029`],[65279,Ie`\uFEFF`]]),wn=new RegExp("^\\p{Cased}$","u");function mn(e){return wn.test(e)}function bn(e,n){const t=!!n?.firstOnly,r=e.min.value,o=e.max.value,a=[];if(r<65&&(65535===o||o>=131071)||65536===r&&o>=131071)return a;for(let s=r;s<=o;s++){const e=Ae(s);if(!mn(e))continue;const n=Be(e).filter(e=>{const n=e.codePointAt(0);return n<r||n>o});if(n.length&&(a.push(...n),t))break}return a}function Cn(e,{escDigit:n,inCharClass:t,useFlagV:r}){if(yn.has(e))return yn.get(e);if(e<32||e>126&&e<160||e>262143||n&&((o=e)>47&&o<58))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;var o;const a=t?r?hn:gn:fn,s=Ae(e);return(a.has(s)?"\\":"")+s}function xn({type:e}){return"CapturingGroup"===e||"Group"===e||"LookaroundAssertion"===e}function kn({type:e,value:n}){return"Character"===e&&45===n}var En=class e extends RegExp{#e=/* @__PURE__ */new Map;#n=null;#t;#r=null;#o=null;rawOptions={};get source(){return this.#t||"(?:)"}constructor(n,t,r){const o=!!r?.lazyCompile;if(n instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const o=n;super(o,t),this.#t=o.source,o instanceof e&&(this.#e=o.#e,this.#r=o.#r,this.#o=o.#o,this.rawOptions=o.rawOptions)}else{const e={hiddenCaptures:[],strategy:null,transfers:[],...r};super(o?"":n,t),this.#t=n,this.#e=function(e,n){const t=/* @__PURE__ */new Map;for(const r of e)t.set(r,{hidden:!0});for(const[r,o]of n)for(const e of o)Me(t,e,{}).transferTo=r;return t}(e.hiddenCaptures,e.transfers),this.#o=e.strategy,this.rawOptions=r??{}}o||(this.#n=this)}exec(n){if(!this.#n){const{lazyCompile:n,...t}=this.rawOptions;this.#n=new e(this.#t,this.flags,t)}const t=this.global||this.sticky,r=this.lastIndex;if("clip_search"===this.#o&&t&&r){this.lastIndex=0;const e=this.#a(n.slice(r));return e&&(!function(e,n,t,r){if(e.index+=n,e.input=t,r){const t=e.indices;for(let e=0;e<t.length;e++){const r=t[e];r&&(t[e]=[r[0]+n,r[1]+n])}const r=t.groups;r&&Object.keys(r).forEach(e=>{const t=r[e];t&&(r[e]=[t[0]+n,t[1]+n])})}}(e,r,n,this.hasIndices),this.lastIndex+=r),e}return this.#a(n)}#a(e){this.#n.lastIndex=this.lastIndex;const n=super.exec.call(this.#n,e);if(this.lastIndex=this.#n.lastIndex,!n||!this.#e.size)return n;const t=[...n];let r;n.length=1,this.hasIndices&&(r=[...n.indices],n.indices.length=1);const o=[0];for(let a=1;a<t.length;a++){const{hidden:e,transferTo:s}=this.#e.get(a)??{};if(e?o.push(null):(o.push(n.length),n.push(t[a]),this.hasIndices&&n.indices.push(r[a])),s&&void 0!==t[a]){const e=o[s];if(!e)throw new Error(`Invalid capture transfer to "${e}"`);if(n[e]=t[a],this.hasIndices&&(n.indices[e]=r[a]),n.groups){this.#r||(this.#r=$n(this.source));const e=this.#r.get(s);e&&(n.groups[e]=t[a],this.hasIndices&&(n.indices.groups[e]=r[a]))}}}return n}};function $n(e){const n=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,t=/* @__PURE__ */new Map;let r,o=0,a=0;for(;r=n.exec(e);){const{0:e,groups:{capture:n,name:s}}=r;"["===e?o++:o?"]"===e&&o--:n&&(a++,s&&t.set(a,s))}return t}function An(e,n){const t=function(e,n){const t=Pe(n),r=P(e,{flags:t.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:t.rules.captureGroup,singleline:t.rules.singleline},skipBackrefValidation:t.rules.allowOrphanBackrefs,unicodePropertyMap:Ge}),o=function(e,n){const t={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...n};qe(e);const r={accuracy:t.accuracy,asciiWordBoundaries:t.asciiWordBoundaries,avoidSubclass:t.avoidSubclass,flagDirectivesByAlt:/* @__PURE__ */new Map,jsGroupNameMap:/* @__PURE__ */new Map,minTargetEs2024:Ne(t.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:/* @__PURE__ */new Map,supportedGNodes:/* @__PURE__ */new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};J(e,He,r);const o={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},a={currentFlags:o,prevFlags:null,globalFlags:o,groupOriginByCopy:/* @__PURE__ */new Map,groupsByName:/* @__PURE__ */new Map,multiplexCapturesToLeftByRef:/* @__PURE__ */new Map,openRefs:/* @__PURE__ */new Map,reffedNodesByReferencer:/* @__PURE__ */new Map,subroutineRefMap:r.subroutineRefMap};return J(e,Xe,a),J(e,Ze,{groupsByName:a.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:a.reffedNodesByReferencer}),e._originMap=a.groupOriginByCopy,e._strategy=r.strategy,e}(r,{accuracy:t.accuracy,asciiWordBoundaries:t.rules.asciiWordBoundaries,avoidSubclass:t.avoidSubclass,bestEffortTarget:t.target}),a=ln(o,t),s=function(e,n){const{hiddenCaptures:t,mode:r}={hiddenCaptures:[],mode:"plugin",...n};let o=n?.captureTransfers??/* @__PURE__ */new Map;if(!new RegExp(he,"su").test(e))return{pattern:e,captureTransfers:o,hiddenCaptures:t};if("plugin"===r&&ue(e,fe`\(\?\(DEFINE\)`,ae.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const a=[],s=ue(e,fe`\\[1-9]`,ae.DEFAULT),i=/* @__PURE__ */new Map,u=[];let c,l=!1,p=0,d=0;for(me.lastIndex=0;c=me.exec(e);){const{0:n,groups:{captureName:f,rDepth:g,gRNameOrNum:y,gRDepth:w}}=c;if("["===n)p++;else if(p)"]"===n&&p--;else{if(g){if(Ce(g),l)throw new Error(be);if(s)throw new Error(("external"===r?"Backrefs":"Numbered backrefs")+" cannot be used with global recursion");const n=e.slice(0,c.index),i=e.slice(me.lastIndex);if(ue(i,he,ae.DEFAULT))throw new Error(be);const u=+g-1;e=xe(n,i,u,!1,t,a,d),o=$e(o,n,u,a.length,0,d);break}if(y){Ce(w);let p=!1;for(const e of u)if(e.name===y||e.num===+y){if(p=!0,e.hasRecursedWithin)throw new Error(be);break}if(!p)throw new Error(fe`Recursive \g cannot be used outside the referenced group "${"external"===r?y:fe`\g<${y}&R=${w}>`}"`);const f=i.get(y),g=ce(e,f);if(s&&ue(g,fe`${ye}|\((?!\?)`,ae.DEFAULT))throw new Error(("external"===r?"Backrefs":"Numbered backrefs")+" cannot be used with recursion of capturing groups");const m=e.slice(f,c.index),b=g.slice(m.length+n.length),C=a.length,x=+w-1,k=xe(m,b,x,!0,t,a,d);o=$e(o,m,x,a.length-C,C,d);const E=e.slice(0,f),$=e.slice(f+g.length);e=`${E}${k}${$}`,me.lastIndex+=k.length-n.length-m.length-b.length,u.forEach(e=>e.hasRecursedWithin=!0),l=!0}else if(f)d++,i.set(String(d),me.lastIndex),i.set(f,me.lastIndex),u.push({num:d,name:f});else if("("===n[0]){const e="("===n;e&&(d++,i.set(String(d),me.lastIndex)),u.push(e?{num:d}:{})}else")"===n&&u.pop()}}return t.push(...a),{pattern:e,captureTransfers:o,hiddenCaptures:t}}(a.pattern,{captureTransfers:a._captureTransfers,hiddenCaptures:a._hiddenCaptures,mode:"external"}),i=function(e,n){const t=n?.hiddenCaptures??[];let r=n?.captureTransfers??/* @__PURE__ */new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:t};const o="(?:(?=(",a=[0],s=[];let i,u=0,c=0,l=NaN;do{i=!1;let n,p=0,d=0,f=!1;for(le.lastIndex=Number.isNaN(l)?0:l+7;n=le.exec(e);){const{0:g,index:y,groups:{capturingStart:w,noncapturingStart:m}}=n;if("["===g)p++;else if(p)"]"===g&&p--;else if("(?>"!==g||f){if(f&&m)d++;else if(w)f?d++:(u++,a.push(u+c));else if(")"===g&&f){if(!d){c++;const n=u+c;if(e=`${e.slice(0,l)}${o}${e.slice(l+3,y)}))<$$${n}>)${e.slice(y+1)}`,i=!0,s.push(n),re(t,n),r.size){const e=/* @__PURE__ */new Map;r.forEach((t,r)=>{e.set(r>=n?r+1:r,t.map(e=>e>=n?e+1:e))}),r=e}break}d--}}else l=y,f=!0}}while(i);return t.push(...s),{pattern:e=se(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:e,groups:{backrefNum:n,wrappedBackrefNum:t}})=>{if(n){const t=+n;if(t>a.length-1)throw new Error(`Backref "${e}" greater than number of captures`);return`\\${a[t]}`}return`\\${t}`},ae.DEFAULT),captureTransfers:r,hiddenCaptures:t}}(function(e){if(!new RegExp(`${pe}\\+`).test(e))return{pattern:e};const n=[];let t,r=null,o=null,a="",s=0;for(de.lastIndex=0;t=de.exec(e);){const{0:i,index:u,groups:{qBase:c,qMod:l,invalidQ:p}}=t;if("["===i)s||(o=u),s++;else if("]"===i)s?s--:o=null;else if(!s)if("+"===l&&a&&!a.startsWith("(")){if(p)throw new Error(`Invalid quantifier "${i}"`);let n=-1;if(/^\{\d+\}$/.test(c))e=oe(e,u+c.length,l,"");else{if(")"===a||"]"===a){const n=")"===a?r:o;if(null===n)throw new Error(`Invalid unmatched "${a}"`);e=`${e.slice(0,n)}(?>${e.slice(n,u)}${c})${e.slice(u+i.length)}`}else e=`${e.slice(0,u-a.length)}(?>${a}${c})${e.slice(u+i.length)}`;n+=4}de.lastIndex+=n}else"("===i[0]?n.push(u):")"===i&&(r=n.length?n.pop():null);a=i}return{pattern:e}}(s.pattern).pattern,{captureTransfers:s.captureTransfers,hiddenCaptures:s.hiddenCaptures}),u={pattern:i.pattern,flags:`${t.hasIndices?"d":""}${t.global?"g":""}${a.flags}${a.options.disable.v?"u":"v"}`};if(t.avoidSubclass){if(t.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const e=i.hiddenCaptures.sort((e,n)=>e-n),n=Array.from(i.captureTransfers),r=o._strategy,a=u.pattern.length>=t.lazyCompileLength;(e.length||n.length||r||a)&&(u.options={...e.length&&{hiddenCaptures:e},...n.length&&{transfers:n},...r&&{strategy:r},...a&&{lazyCompile:a}})}return u}(e,n);return t.options?new En(t.pattern,t.flags,t.options):new RegExp(t.pattern,t.flags)}const In=4294967295;class vn{constructor(e,n={}){this.patterns=e,this.options=n;const{forgiving:t=!1,cache:r,regexConstructor:o}=n;if(!o)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(e=>{if("string"!=typeof e)return e;const n=r?.get(e);if(n){if(n instanceof RegExp)return n;if(t)return null;throw n}try{const n=o(e);return r?.set(e,n),n}catch(a){if(r?.set(e,a),t)return null;throw a}})}regexps;findNextMatchSync(e,n,t){const r="string"==typeof e?e:e.content,o=[];function a(e,n,t=0){return{index:e,captureIndices:n.indices.map(e=>null==e?{start:In,end:In,length:0}:{start:e[0]+t,end:e[1]+t,length:e[1]-e[0]})}}for(let i=0;i<this.regexps.length;i++){const e=this.regexps[i];if(e)try{e.lastIndex=n;const t=e.exec(r);if(!t)continue;if(t.index===n)return a(i,t,0);o.push([i,t,0])}catch(s){if(this.options.forgiving)continue;throw s}}if(o.length){const e=Math.min(...o.map(e=>e[1].index));for(const[n,t,r]of o)if(t.index===e)return a(n,t,r)}return null}}function Sn(e,n){return An(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...n})}function _n(e={}){const n=Object.assign({target:"auto",cache:/* @__PURE__ */new Map},e);return n.regexConstructor||=e=>Sn(e,{target:n.target}),{createScanner:e=>new vn(e,n),createString:e=>({content:e})}}export{_n as c,Sn as d};
@@ -0,0 +1 @@
1
+ const e={buttons:{edit:"Editer la page",retryPublish:"Réessayer la publication",reloadApp:"Recharger l'application",reload:"Recharger",signOut:"Se déconnecter",review:"Valider",publish:"Publier",back:"Retour",backToEdition:"Retour à l'édition",seeChanges:"Voir les changements"},headings:{directories:"Dossiers",files:"Fichiers",media:"Médias",pageSettings:"Paramètres de la page"},tooltips:{toggleStudio:"Afficher/Masquer le Studio",unlinkEditor:"Délier l'éditeur et l'aperçu",linkEditor:"Lier l'éditeur et l'aperçu",copiedToClipboard:"Copié dans le presse-papiers",copyToClipboard:"Copier dans le presse-papiers",publishChanges:"Publier les changements",backToContent:"Retour au contenu"},notifications:{error:{unknown:"Une erreur inconnue est survenue"}},publish:{failedTitle:"Échec de la publication",summary:"sur la branche {branch} du dépôt {repo}",errorTitle:"Erreur lors de la publication sur {providerName}",failedGeneric:"Échec de la publication des changements"},review:{title:"Changements à valider",created:"Créé",updated:"Modifié",deleted:"Supprimé",renamed:"Renommé"},publishSuccess:{title:"Changements publiés",summary:"{count} changement publié sur la branche {branch} du dépôt {repo} | {count} changements publiés sur la branche {branch} du dépôt {repo}",alertTitleWaiting:"En attente de déploiement...",alertTitleComplete:"Déploiement terminé",alertDescWaiting:"Le site web doit être déployé pour que les changements soient visibles dans le Studio.",alertDescComplete:"Une nouvelle version de votre site a été déployée. Veuillez rafraîchir l'application pour voir les changements dans le Studio."},newVersionBanner:{title:"Nouvelle version du site détectée",description:"Une nouvelle version de votre site a été déployée. Rechargez l'application pour voir les derniers changements.",reloadButton:"Recharger"},footer:{developer_view:"Vue développeur",localFilesystem:"Utilisation des fichiers locaux",debugMode:"Mode debug"},alert:{mdcFormatting:"Formatage appliqué pour s'aligner sur le standard de syntaxe MDC."},conflict:{title:"Conflit détecté",repository:"Dépôt",branch:"Branche",file:"Fichier",description:"Le contenu sur {providerName} diffère de la version de votre site web. Assurez-vous que vos dernières modifications sont déployées et actualisez la page.",websiteVersion:"Site Web"},nav:{content:"Contenu",media:"Média"},placeholders:{commitMessageWithPrefix:"Décrivez vos modifications",commitMessage:"Message de commit",order:"N°",fileName:"Nom du fichier"},validation:{commitRequired:"Message de commit requis",nameEmpty:"Le nom ne peut pas être vide",nameEndsWithDot:"Le nom ne peut pas se terminer par '.'",nameStartsWithSlash:"Le nom ne peut pas commencer par '/'",nameExists:"Ce nom existe déjà",prefixDigitsOnly:"Le préfixe doit être doit contenir uniquement des chiffres",prefixNonNegativeInteger:"Le préfixe doit être un chiffre non négatif"},media:{altFilePreview:"Aperçu du fichier",altImagePreview:"Aperçu de l'image",playAudio:"Lire l'audio",audioTagNotSupported:"Votre navigateur ne supporte pas la balise audio.",playVideo:"Lire la vidéo",videoTagNotSupported:"Votre navigateur ne supporte pas la balise vidéo.",metaWidth:"Largeur",metaHeight:"Hauteur",metaType:"Type",metaDuration:"Durée",metaSize:"Taille",fileName:"Nom du fichier",publicPath:"Chemin public",providerPath:"Chemin {providerName}",markdown:"Markdown"},aria:{openActions:"Ouvrir les actions",cancel:"Annuler",submit:"Valider"},actions:{confirmAction:"Cliquez à nouveau pour {action}",verbs:{create:"créer",delete:"supprimer",rename:"renommer",upload:"téléverser",duplicate:"dupliquer"},labels:{createDocument:"Nouveau fichier",createDocumentFolder:"Nouveau dossier",createMediaFolder:"Nouveau dossier média",renameItem:"Renommer",deleteItem:"Supprimer",uploadMedia:"Téléverser un média",duplicateItem:"Dupliquer",revertItem:"Annuler les changements",publishBranch:"Publier la branche",openGitProvider:"Ouvrir sur {providerName}",switchToTipTap:"Utiliser l'éditeur visuel",switchToCode:"Utiliser l'éditeur de code"},tooltips:{createDocument:"Créer un nouveau fichier",createDocumentFolder:"Créer un nouveau dossier",createMediaFolder:"Créer un nouveau dossier média",renameItem:"Renommer le fichier",deleteItem:"Supprimer le fichier",uploadMedia:"Téléverser un média",duplicateItem:"Dupliquer le fichier",revertItem:"Annuler les modifications",publishBranch:"Publier la branche"}},items:{itemCount:"1 élément | {count} éléments"},monaco:{headings:{h1:"Titre 1",h2:"Titre 2",h3:"Titre 3"},styles:{bold:"Gras",italic:"Italique"},lists:{bulleted:"Liste à puces",numbered:"Liste numérotée"},other:{emojis:"Émojis",blockquote:"Citation",code:"Bloc de code",inlineCode:"Code (en ligne)",link:"Lien",image:"Image"},writeSomething:"Écrivez quelque chose",snippets:{title:"titre",item1:"Élément 1",item2:"Élément 2",language:"langage",code:"code",link:"lien",alt:"alt",src:"src",value:"valeur"},docs:{path:"Chemin dans le projet :",props:"Props",slots:"Slots",type:"type",required:"requis",default:"défaut"}},tiptap:{editor:{placeholder:"Tapez '/' pour les commandes...",components:"Composants"},toolbar:{h1:"Titre 1",h2:"Titre 2",h3:"Titre 3",h4:"Titre 4",bulletList:"Liste à puces",orderedList:"Liste numérotée",blockquote:"Citation",codeBlock:"Bloc de code",bold:"Gras",italic:"Italique",strike:"Barré",code:"Code",headings:"Titres"},suggestion:{style:"Style",paragraph:"Paragraphe",insert:"Insérer",image:"Image",video:"Vidéo",horizontalRule:"Ligne horizontale"},drag:{turnInto:"Transformer en",resetFormatting:"Réinitialiser le formatage",duplicate:"Dupliquer",copyToClipboard:"Copier dans le presse-papiers",moveUp:"Monter",moveDown:"Descendre",insertBefore:"Insérer avant",insertAfter:"Insérer après",delete:"Supprimer"},element:{addSlot:"Ajouter un slot",editProps:"Modifier les propriétés",delete:"Supprimer",prop:"propriété",props:{label:"propriétés",itemsCount:"{count} élément | {count} éléments",fieldsCount:"{count} champ | {count} champs",edit:"Modifier {type}"}},slot:{searchPlaceholder:"Rechercher ou créer un slot...",deleteSlot:"Supprimer le slot",noSlotsAvailable:"Aucun slot prédéfini disponible"},inlineElement:{editContent:"Modifier le contenu",editProps:"Modifier les propriétés",delete:"Supprimer",editContentLabel:"Modifier le contenu de {name}",enterContentPlaceholder:"Saisir le contenu...",apply:"Appliquer"},codeBlock:{filenamePlaceholder:"nomfichier.js"},link:{pasteLinkPlaceholder:"Coller un lien...",applyLink:"Appliquer le lien",openInNewWindow:"Ouvrir dans une nouvelle fenêtre",removeLink:"Supprimer le lien"},spanStyle:{label:"Style de span",stylePlaceholder:"Styles : ex. color: tomato; font-weight: 600;",classPlaceholder:"Classes : séparées par des espaces",apply:"Appliquer",remove:"Supprimer"},binding:{variablePlaceholder:"Nom de la variable",defaultValuePlaceholder:"Valeur par défaut"},image:{source:"URL de la source de l'image",altText:"Texte alternatif",title:"Titre de l'image",width:"Largeur",height:"Hauteur",noSource:"Aucune source d'image",edit:"Modifier l'image",delete:"Supprimer l'image"},video:{source:"Video source URL",poster:"Poster image URL",width:"Width",height:"Height",controls:"Show controls",autoplay:"Autoplay",loop:"Loop",muted:"Muted",noSource:"No video source",edit:"Edit video",delete:"Delete video"}},mediaPicker:{image:{title:"Sélectionner une image",description:"Choisissez une image depuis votre bibliothèque de médias",selectionTitle:"Détails de l'image",selectionDescription:"Vérifiez et confirmez votre sélection",notAvailable:"Aucune image disponible dans votre bibliothèque de médias",upload:"Importer",useExternal:"Utiliser une source externe"},video:{title:"Sélectionner une vidéo",description:"Choisissez une vidéo depuis votre bibliothèque de médias",selectionTitle:"Détails de la vidéo",selectionDescription:"Vérifiez et confirmez votre sélection",notAvailable:"Aucune vidéo disponible dans votre bibliothèque de médias",upload:"Importer",useExternal:"Utiliser une source externe"},name:"Nom",path:"Chemin du fichier",publicPath:"Chemin public",extension:"Extension",fileSize:"Taille du fichier",resolution:"Résolution",confirm:"Confirmer",searchPlaceholder:"Rechercher par chemin complet",cancelSelection:"Annuler"},form:{array:{addItem:"Ajouter {label}",deleteItem:"Supprimer l'élément",editItem:"Modifier l'élément",unsupportedType:"Type de tableau {type} non supporté"},object:{noProperties:"Aucune propriété définie",enterPlaceholder:"Saisir {field}..."},section:{propertyCount:"1 propriété | {count} propriétés"},media:{placeholder:"Chemin relatif ou URL publique...",searchPlaceholder:"Rechercher des images...",noImagesFound:"Aucune image trouvée",noImagesAvailable:"Aucune image disponible",imageCount:"{count} sur {total} image | {count} sur {total} images"},icon:{placeholder:"i-lucide-icon",searchPlaceholder:"Rechercher des icônes...",noIconsFound:"Aucune icône trouvée",searchHint:"Tapez au moins 2 caractères pour rechercher",libraries:"Bibliothèques :",allLibraries:"Toutes"},text:{placeholder:"Saisir du texte...",selectPlaceholder:"Sélectionner une option..."},date:{selectDate:"Sélectionner une date"},number:{placeholder:"0"}}},i={studio:e};export{i as default,e as studio};