nuxt-studio 1.6.0 → 1.6.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 (38) hide show
  1. package/dist/app/astro-tokKaKGO.js +1 -0
  2. package/dist/app/bash-B8OHlvmy.js +1 -0
  3. package/dist/app/css-QBe_kwnr.js +1 -0
  4. package/dist/app/html-derivative-Ck1rZmfd.js +1 -0
  5. package/dist/app/index-BV0ZrmBd.js +1 -0
  6. package/dist/app/index-Bjmzf8az.js +1 -0
  7. package/dist/app/index-CFy9R3UL.js +1 -0
  8. package/dist/app/index-CKj9aUoO.js +1 -0
  9. package/dist/app/index-D-PnuAfP.js +1 -0
  10. package/dist/app/index-DEX7zZYk.js +1 -0
  11. package/dist/app/index-DhzUz6fh.js +1 -0
  12. package/dist/app/index-_MutUah2.js +1 -0
  13. package/dist/app/main-BBbq73HJ.js +40 -0
  14. package/dist/app/main-CyaZx035.js +40 -0
  15. package/dist/app/main-D_3RIe4r.js +40 -0
  16. package/dist/app/main-NxXSk2gR.js +40 -0
  17. package/dist/app/main.d.ts +32 -32
  18. package/dist/app/main.js +1 -1
  19. package/dist/app/mdc-B12cGxJ-.js +1 -0
  20. package/dist/app/postcss-CcTaV4LA.js +1 -0
  21. package/dist/app/rehype-CGPlElPT.js +1 -0
  22. package/dist/app/rehype-CUZsejnw.js +1 -0
  23. package/dist/app/rehype-Mf2RpPZy.js +1 -0
  24. package/dist/app/rehype-zuRCd3UQ.js +1 -0
  25. package/dist/app/service-worker.d.ts +32 -32
  26. package/dist/app/service-worker.js +1 -1
  27. package/dist/app/shared.d.ts +32 -32
  28. package/dist/app/shiki-BIS1P-Aj.js +1 -0
  29. package/dist/app/shiki-Ca7ZtZIi.js +1 -0
  30. package/dist/app/shiki-DAKjLYTL.js +1 -0
  31. package/dist/app/shiki-DAbzsawS.js +1 -0
  32. package/dist/app/svelte-BFpD5kc1.js +1 -0
  33. package/dist/app/vue-R0cfDcaC.js +1 -0
  34. package/dist/module/module.json +1 -1
  35. package/dist/module/module.mjs +1 -1
  36. package/dist/module/runtime/host.js +1 -1
  37. package/dist/module/runtime/server/routes/dev/public/[...path].js +6 -2
  38. package/package.json +18 -16
@@ -96,6 +96,15 @@ declare module '@tiptap/core' {
96
96
  }
97
97
 
98
98
 
99
+ declare module '@tiptap/vue-3' {
100
+ interface Commands<ReturnType> {
101
+ videoPicker: {
102
+ insertVideoPicker: () => ReturnType;
103
+ };
104
+ }
105
+ }
106
+
107
+
99
108
  declare module '@tiptap/vue-3' {
100
109
  interface Commands<ReturnType> {
101
110
  imagePicker: {
@@ -117,10 +126,21 @@ declare module '@tiptap/core' {
117
126
  }
118
127
 
119
128
 
120
- declare module '@tiptap/vue-3' {
129
+ declare module '@tiptap/core' {
121
130
  interface Commands<ReturnType> {
122
- videoPicker: {
123
- insertVideoPicker: () => ReturnType;
131
+ SpanStyle: {
132
+ /**
133
+ * Wrap selection (or insert empty) with span-style node
134
+ */
135
+ setSpanStyle: (attributes?: SpanStyleAttrs) => ReturnType;
136
+ /**
137
+ * Update attributes on current span-style node
138
+ */
139
+ updateSpanStyle: (attributes?: SpanStyleAttrs) => ReturnType;
140
+ /**
141
+ * Remove the current span-style node (unwrap content)
142
+ */
143
+ unsetSpanStyle: () => ReturnType;
124
144
  };
125
145
  }
126
146
  }
@@ -140,19 +160,8 @@ declare module '@tiptap/core' {
140
160
 
141
161
  declare module '@tiptap/core' {
142
162
  interface Commands<ReturnType> {
143
- Binding: {
144
- /**
145
- * Insert a binding node
146
- */
147
- setBinding: (attrs: BindingAttrs) => ReturnType;
148
- /**
149
- * Update the current binding node attributes
150
- */
151
- updateBinding: (attrs: BindingAttrs) => ReturnType;
152
- /**
153
- * Remove current binding node
154
- */
155
- unsetBinding: () => ReturnType;
163
+ callout: {
164
+ setCallout: (tag: string, slot?: string) => ReturnType;
156
165
  };
157
166
  }
158
167
  }
@@ -160,28 +169,19 @@ declare module '@tiptap/core' {
160
169
 
161
170
  declare module '@tiptap/core' {
162
171
  interface Commands<ReturnType> {
163
- SpanStyle: {
172
+ Binding: {
164
173
  /**
165
- * Wrap selection (or insert empty) with span-style node
174
+ * Insert a binding node
166
175
  */
167
- setSpanStyle: (attributes?: SpanStyleAttrs) => ReturnType;
176
+ setBinding: (attrs: BindingAttrs) => ReturnType;
168
177
  /**
169
- * Update attributes on current span-style node
178
+ * Update the current binding node attributes
170
179
  */
171
- updateSpanStyle: (attributes?: SpanStyleAttrs) => ReturnType;
180
+ updateBinding: (attrs: BindingAttrs) => ReturnType;
172
181
  /**
173
- * Remove the current span-style node (unwrap content)
182
+ * Remove current binding node
174
183
  */
175
- unsetSpanStyle: () => ReturnType;
176
- };
177
- }
178
- }
179
-
180
-
181
- declare module '@tiptap/core' {
182
- interface Commands<ReturnType> {
183
- callout: {
184
- setCallout: (tag: string, slot?: string) => ReturnType;
184
+ unsetBinding: () => ReturnType;
185
185
  };
186
186
  }
187
187
  }
@@ -0,0 +1 @@
1
+ import{c as e}from"./engine-compile-DQh6hkxB.js";function t({langs:t=[],themes:i=[],bundledLangs:n={},bundledThemes:s={},getMdcConfigs:a,options:r,engine:o}={}){let l;async function c(){return l||(l=async function(){const{createHighlighterCore:n,addClassToHast:s,isSpecialLang:a,isSpecialTheme:r}=await import("./index-_MutUah2.js"),{transformerNotationDiff:l,transformerNotationErrorLevel:c,transformerNotationFocus:m,transformerNotationHighlight:p}=await import("./index-DnbSsQeV.js"),g=await n({langs:t,themes:i,engine:o||e()});for await(const e of await d())await(e.shiki?.setup?.(g));return{shiki:g,addClassToHast:s,isSpecialLang:a,isSpecialTheme:r,transformers:[l(),c(),m(),p()]}}()),l}async function d(){return a?.()||[]}return async(e,t,i,a={})=>{const{shiki:o,addClassToHast:l,isSpecialLang:m,isSpecialTheme:p,transformers:g}=await c();let f=t?.toLowerCase();const u={defaultColor:!1,meta:{__raw:a.meta}};"ts-type"===f||"typescript-type"===f?(f="typescript",u.grammarContextCode="let a:"):"vue-html"!==f&&"vue-template"!==f||(f="vue",u.grammarContextCode="<template>");const y={..."string"==typeof i?{default:i}:i||{}},k=o.getLoadedThemes(),w=o.getLoadedLanguages();"string"!=typeof f||w.includes(f)||m(f)||(n[f]?await o.loadLanguage(n[f]):(process.dev&&console.warn(`[@nuxtjs/mdc] Language "${f}" is not loaded to the Shiki highlighter, fallback to plain text. Add the language to "mdc.highlight.langs" to fix this.`),f="text"));for(const[n,r]of Object.entries(y))"string"!=typeof r||k.includes(r)||p(r)||(s[r]?await o.loadTheme(s[r]):(process.dev&&console.warn(`[@nuxtjs/mdc] Theme "${r}" is not loaded to the Shiki highlighter. Add the theme to "mdc.highlight.themes" to fix this.`),y[n]="none"));const v=/* @__PURE__ */new Map;for(const n of g)v.set(n.name||`transformer:${Math.random()}-${n.constructor.name}`,n);for(const n of await d()){const t="function"==typeof n.shiki?.transformers?await(n.shiki?.transformers(e,f,i,a)):n.shiki?.transformers||[];for(const e of t)v.set(e.name||`transformer:${Math.random()}-${e.constructor.name}`,e)}const $=o.codeToHast(e.trimEnd(),{lang:f,...u,themes:y,transformers:[...v.values(),{name:"mdc:highlight",line(e,t){a.highlights?.includes(t)&&l(e,"highlight"),e.properties.line=t}},{name:"mdc:newline",line(t){if(e?.includes("\n")){if(0===t.children.length||1===t.children.length&&"element"===t.children[0].type&&1===t.children[0].children.length&&"text"===t.children[0].children[0].type&&""===t.children[0].children[0].value)return void(t.children=[{type:"element",tagName:"span",properties:{emptyLinePlaceholder:!0},children:[{type:"text",value:"\n"}]}]);const e=t.children.at(-1);if("element"===e?.type&&"span"===e.tagName){const t=e.children.at(-1);"text"===t?.type&&(t.value+="\n")}}}}]}).children[0],x=$.children[0],L=r?.wrapperStyle;$.properties.style=L?"string"==typeof L?L:$.properties.style:"";const C=[];return Object.keys(y).forEach(e=>{const t="default"!==e?`.${e}`:"";C.push(L?`${t} .shiki,`:"",`html .${e} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}"),C.push(`html${t} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}")}),{tree:x.children,className:Array.isArray($.properties.class)?$.properties.class.join(" "):$.properties.class,inlineStyle:$.properties.style,style:C.join("")}}}export{t as createShikiHighlighter};
@@ -0,0 +1 @@
1
+ import{c as e}from"./engine-compile-DQh6hkxB.js";function t({langs:t=[],themes:i=[],bundledLangs:n={},bundledThemes:s={},getMdcConfigs:a,options:r,engine:o}={}){let l;async function c(){return l||(l=async function(){const{createHighlighterCore:n,addClassToHast:s,isSpecialLang:a,isSpecialTheme:r}=await import("./index-DhzUz6fh.js"),{transformerNotationDiff:l,transformerNotationErrorLevel:c,transformerNotationFocus:m,transformerNotationHighlight:p}=await import("./index-DnbSsQeV.js"),g=await n({langs:t,themes:i,engine:o||e()});for await(const e of await d())await(e.shiki?.setup?.(g));return{shiki:g,addClassToHast:s,isSpecialLang:a,isSpecialTheme:r,transformers:[l(),c(),m(),p()]}}()),l}async function d(){return a?.()||[]}return async(e,t,i,a={})=>{const{shiki:o,addClassToHast:l,isSpecialLang:m,isSpecialTheme:p,transformers:g}=await c();let f=t?.toLowerCase();const u={defaultColor:!1,meta:{__raw:a.meta}};"ts-type"===f||"typescript-type"===f?(f="typescript",u.grammarContextCode="let a:"):"vue-html"!==f&&"vue-template"!==f||(f="vue",u.grammarContextCode="<template>");const y={..."string"==typeof i?{default:i}:i||{}},k=o.getLoadedThemes(),w=o.getLoadedLanguages();"string"!=typeof f||w.includes(f)||m(f)||(n[f]?await o.loadLanguage(n[f]):(process.dev&&console.warn(`[@nuxtjs/mdc] Language "${f}" is not loaded to the Shiki highlighter, fallback to plain text. Add the language to "mdc.highlight.langs" to fix this.`),f="text"));for(const[n,r]of Object.entries(y))"string"!=typeof r||k.includes(r)||p(r)||(s[r]?await o.loadTheme(s[r]):(process.dev&&console.warn(`[@nuxtjs/mdc] Theme "${r}" is not loaded to the Shiki highlighter. Add the theme to "mdc.highlight.themes" to fix this.`),y[n]="none"));const v=/* @__PURE__ */new Map;for(const n of g)v.set(n.name||`transformer:${Math.random()}-${n.constructor.name}`,n);for(const n of await d()){const t="function"==typeof n.shiki?.transformers?await(n.shiki?.transformers(e,f,i,a)):n.shiki?.transformers||[];for(const e of t)v.set(e.name||`transformer:${Math.random()}-${e.constructor.name}`,e)}const $=o.codeToHast(e.trimEnd(),{lang:f,...u,themes:y,transformers:[...v.values(),{name:"mdc:highlight",line(e,t){a.highlights?.includes(t)&&l(e,"highlight"),e.properties.line=t}},{name:"mdc:newline",line(t){if(e?.includes("\n")){if(0===t.children.length||1===t.children.length&&"element"===t.children[0].type&&1===t.children[0].children.length&&"text"===t.children[0].children[0].type&&""===t.children[0].children[0].value)return void(t.children=[{type:"element",tagName:"span",properties:{emptyLinePlaceholder:!0},children:[{type:"text",value:"\n"}]}]);const e=t.children.at(-1);if("element"===e?.type&&"span"===e.tagName){const t=e.children.at(-1);"text"===t?.type&&(t.value+="\n")}}}}]}).children[0],x=$.children[0],L=r?.wrapperStyle;$.properties.style=L?"string"==typeof L?L:$.properties.style:"";const C=[];return Object.keys(y).forEach(e=>{const t="default"!==e?`.${e}`:"";C.push(L?`${t} .shiki,`:"",`html .${e} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}"),C.push(`html${t} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}")}),{tree:x.children,className:Array.isArray($.properties.class)?$.properties.class.join(" "):$.properties.class,inlineStyle:$.properties.style,style:C.join("")}}}export{t as createShikiHighlighter};
@@ -0,0 +1 @@
1
+ import{c as e}from"./engine-compile-DQh6hkxB.js";function t({langs:t=[],themes:i=[],bundledLangs:n={},bundledThemes:s={},getMdcConfigs:a,options:r,engine:o}={}){let l;async function c(){return l||(l=async function(){const{createHighlighterCore:n,addClassToHast:s,isSpecialLang:a,isSpecialTheme:r}=await import("./index-DEX7zZYk.js"),{transformerNotationDiff:l,transformerNotationErrorLevel:c,transformerNotationFocus:m,transformerNotationHighlight:p}=await import("./index-DnbSsQeV.js"),g=await n({langs:t,themes:i,engine:o||e()});for await(const e of await d())await(e.shiki?.setup?.(g));return{shiki:g,addClassToHast:s,isSpecialLang:a,isSpecialTheme:r,transformers:[l(),c(),m(),p()]}}()),l}async function d(){return a?.()||[]}return async(e,t,i,a={})=>{const{shiki:o,addClassToHast:l,isSpecialLang:m,isSpecialTheme:p,transformers:g}=await c();let f=t?.toLowerCase();const u={defaultColor:!1,meta:{__raw:a.meta}};"ts-type"===f||"typescript-type"===f?(f="typescript",u.grammarContextCode="let a:"):"vue-html"!==f&&"vue-template"!==f||(f="vue",u.grammarContextCode="<template>");const y={..."string"==typeof i?{default:i}:i||{}},k=o.getLoadedThemes(),w=o.getLoadedLanguages();"string"!=typeof f||w.includes(f)||m(f)||(n[f]?await o.loadLanguage(n[f]):(process.dev&&console.warn(`[@nuxtjs/mdc] Language "${f}" is not loaded to the Shiki highlighter, fallback to plain text. Add the language to "mdc.highlight.langs" to fix this.`),f="text"));for(const[n,r]of Object.entries(y))"string"!=typeof r||k.includes(r)||p(r)||(s[r]?await o.loadTheme(s[r]):(process.dev&&console.warn(`[@nuxtjs/mdc] Theme "${r}" is not loaded to the Shiki highlighter. Add the theme to "mdc.highlight.themes" to fix this.`),y[n]="none"));const v=/* @__PURE__ */new Map;for(const n of g)v.set(n.name||`transformer:${Math.random()}-${n.constructor.name}`,n);for(const n of await d()){const t="function"==typeof n.shiki?.transformers?await(n.shiki?.transformers(e,f,i,a)):n.shiki?.transformers||[];for(const e of t)v.set(e.name||`transformer:${Math.random()}-${e.constructor.name}`,e)}const $=o.codeToHast(e.trimEnd(),{lang:f,...u,themes:y,transformers:[...v.values(),{name:"mdc:highlight",line(e,t){a.highlights?.includes(t)&&l(e,"highlight"),e.properties.line=t}},{name:"mdc:newline",line(t){if(e?.includes("\n")){if(0===t.children.length||1===t.children.length&&"element"===t.children[0].type&&1===t.children[0].children.length&&"text"===t.children[0].children[0].type&&""===t.children[0].children[0].value)return void(t.children=[{type:"element",tagName:"span",properties:{emptyLinePlaceholder:!0},children:[{type:"text",value:"\n"}]}]);const e=t.children.at(-1);if("element"===e?.type&&"span"===e.tagName){const t=e.children.at(-1);"text"===t?.type&&(t.value+="\n")}}}}]}).children[0],x=$.children[0],L=r?.wrapperStyle;$.properties.style=L?"string"==typeof L?L:$.properties.style:"";const C=[];return Object.keys(y).forEach(e=>{const t="default"!==e?`.${e}`:"";C.push(L?`${t} .shiki,`:"",`html .${e} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}"),C.push(`html${t} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}")}),{tree:x.children,className:Array.isArray($.properties.class)?$.properties.class.join(" "):$.properties.class,inlineStyle:$.properties.style,style:C.join("")}}}export{t as createShikiHighlighter};
@@ -0,0 +1 @@
1
+ import{c as e}from"./engine-compile-DQh6hkxB.js";function t({langs:t=[],themes:i=[],bundledLangs:n={},bundledThemes:s={},getMdcConfigs:a,options:r,engine:o}={}){let l;async function c(){return l||(l=async function(){const{createHighlighterCore:n,addClassToHast:s,isSpecialLang:a,isSpecialTheme:r}=await import("./index-Bjmzf8az.js"),{transformerNotationDiff:l,transformerNotationErrorLevel:c,transformerNotationFocus:m,transformerNotationHighlight:p}=await import("./index-DnbSsQeV.js"),g=await n({langs:t,themes:i,engine:o||e()});for await(const e of await d())await(e.shiki?.setup?.(g));return{shiki:g,addClassToHast:s,isSpecialLang:a,isSpecialTheme:r,transformers:[l(),c(),m(),p()]}}()),l}async function d(){return a?.()||[]}return async(e,t,i,a={})=>{const{shiki:o,addClassToHast:l,isSpecialLang:m,isSpecialTheme:p,transformers:g}=await c();let f=t?.toLowerCase();const u={defaultColor:!1,meta:{__raw:a.meta}};"ts-type"===f||"typescript-type"===f?(f="typescript",u.grammarContextCode="let a:"):"vue-html"!==f&&"vue-template"!==f||(f="vue",u.grammarContextCode="<template>");const y={..."string"==typeof i?{default:i}:i||{}},k=o.getLoadedThemes(),w=o.getLoadedLanguages();"string"!=typeof f||w.includes(f)||m(f)||(n[f]?await o.loadLanguage(n[f]):(process.dev&&console.warn(`[@nuxtjs/mdc] Language "${f}" is not loaded to the Shiki highlighter, fallback to plain text. Add the language to "mdc.highlight.langs" to fix this.`),f="text"));for(const[n,r]of Object.entries(y))"string"!=typeof r||k.includes(r)||p(r)||(s[r]?await o.loadTheme(s[r]):(process.dev&&console.warn(`[@nuxtjs/mdc] Theme "${r}" is not loaded to the Shiki highlighter. Add the theme to "mdc.highlight.themes" to fix this.`),y[n]="none"));const v=/* @__PURE__ */new Map;for(const n of g)v.set(n.name||`transformer:${Math.random()}-${n.constructor.name}`,n);for(const n of await d()){const t="function"==typeof n.shiki?.transformers?await(n.shiki?.transformers(e,f,i,a)):n.shiki?.transformers||[];for(const e of t)v.set(e.name||`transformer:${Math.random()}-${e.constructor.name}`,e)}const $=o.codeToHast(e.trimEnd(),{lang:f,...u,themes:y,transformers:[...v.values(),{name:"mdc:highlight",line(e,t){a.highlights?.includes(t)&&l(e,"highlight"),e.properties.line=t}},{name:"mdc:newline",line(t){if(e?.includes("\n")){if(0===t.children.length||1===t.children.length&&"element"===t.children[0].type&&1===t.children[0].children.length&&"text"===t.children[0].children[0].type&&""===t.children[0].children[0].value)return void(t.children=[{type:"element",tagName:"span",properties:{emptyLinePlaceholder:!0},children:[{type:"text",value:"\n"}]}]);const e=t.children.at(-1);if("element"===e?.type&&"span"===e.tagName){const t=e.children.at(-1);"text"===t?.type&&(t.value+="\n")}}}}]}).children[0],x=$.children[0],L=r?.wrapperStyle;$.properties.style=L?"string"==typeof L?L:$.properties.style:"";const C=[];return Object.keys(y).forEach(e=>{const t="default"!==e?`.${e}`:"";C.push(L?`${t} .shiki,`:"",`html .${e} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}"),C.push(`html${t} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}")}),{tree:x.children,className:Array.isArray($.properties.class)?$.properties.class.join(" "):$.properties.class,inlineStyle:$.properties.style,style:C.join("")}}}export{t as createShikiHighlighter};
@@ -0,0 +1 @@
1
+ import e from"./javascript-DFyEbC5y.js";import t from"./typescript-DI7mmMRd.js";import{c as n}from"./css-QBe_kwnr.js";import{p as s}from"./postcss-CcTaV4LA.js";const a=[...e,...t,...n,...s,Object.freeze(JSON.parse('{"displayName":"Svelte","fileTypes":["svelte"],"injections":{"L:(meta.script.svelte | meta.style.svelte) (meta.lang.js | meta.lang.javascript) - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.js","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.js"}]}]},"L:(meta.script.svelte | meta.style.svelte) (meta.lang.ts | meta.lang.typescript) - (meta source)":{"patterns":[{"begin":"(?<=>)(?=[^\\\\n]+</(s(?:cript|tyle))[>\\\\s])","contentName":"source.ts","end":"(?=</(s(?:cript|tyle))[>\\\\s])","name":"meta.embedded.block.svelte","patterns":[{"include":"source.ts"}]},{"begin":"(?<=>)(?!</)","contentName":"source.ts","name":"meta.embedded.block.svelte","patterns":[{"include":"source.ts"}],"while":"^(?!\\\\s*</(s(?:cript|tyle))[>\\\\s])"}]},"L:(meta.script.svelte | meta.style.svelte) meta.lang.coffee - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.coffee","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.coffee"}]}]},"L:(source.ts, source.js, source.coffee)":{"patterns":[{"match":"(?<![\\"$\'./_[:alnum:]])\\\\$(?=[_[:alpha:]][$_[:alnum:]]*)","name":"punctuation.definition.variable.svelte"},{"match":"(?<![\\"$\'./_[:alnum:]])(\\\\$\\\\$)(?=props|restProps|slots)","name":"punctuation.definition.variable.svelte"}]},"L:meta.script.svelte - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.js","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.js"}]}]},"L:meta.style.svelte - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css"}]}]},"L:meta.style.svelte meta.lang.css - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css"}]}]},"L:meta.style.svelte meta.lang.less - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.less","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css.less"}]}]},"L:meta.style.svelte meta.lang.postcss - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.postcss","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css.postcss"}]}]},"L:meta.style.svelte meta.lang.sass - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.sass","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.sass"}]}]},"L:meta.style.svelte meta.lang.scss - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.scss","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.css.scss"}]}]},"L:meta.style.svelte meta.lang.stylus - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.stylus","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"source.stylus"}]}]},"L:meta.template.svelte - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)\\\\s","end":"(?=</template)","patterns":[{"include":"#scope"}]}]},"L:meta.template.svelte meta.lang.pug - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"text.pug","end":"(?=</)","name":"meta.embedded.block.svelte","patterns":[{"include":"text.pug"}]}]}},"name":"svelte","patterns":[{"include":"#scope"}],"repository":{"attributes":{"patterns":[{"include":"#attributes-comments"},{"include":"#attributes-directives"},{"include":"#attributes-keyvalue"},{"include":"#attributes-attach"},{"include":"#attributes-interpolated"}]},"attributes-attach":{"begin":"(?<![:=])\\\\s*(\\\\{@attach\\\\s)","captures":{"1":{"name":"entity.other.attribute-name.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"(})","patterns":[{"include":"source.ts"}]},"attributes-comments":{"patterns":[{"match":"//.*$","name":"comment.line.double-slash.svelte"},{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.svelte"}]},"attributes-directives":{"begin":"(?<!<)(on|use|bind|transition|in|out|animate|let|class|style)(:)(?:((?:--)?[$_[:alpha:]][-$_[:alnum:]]*(?=\\\\s*=))|((?:--)?[$_[:alpha:]][-$_[:alnum:]]*))((\\\\|\\\\w+)*)","beginCaptures":{"1":{"patterns":[{"include":"#attributes-directives-keywords"}]},"2":{"name":"punctuation.definition.keyword.svelte"},"3":{"patterns":[{"include":"#attributes-directives-types-assigned"}]},"4":{"patterns":[{"include":"#attributes-directives-types"}]},"5":{"patterns":[{"match":"\\\\w+","name":"support.function.svelte"},{"match":"\\\\|","name":"punctuation.separator.svelte"}]}},"end":"(?=\\\\s*+[^=\\\\s])","name":"meta.directive.$1.svelte","patterns":[{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.key-value.svelte"}},"end":"(?<=[^=\\\\s])(?!\\\\s*=)|(?=/?>)","patterns":[{"include":"#attributes-value"}]}]},"attributes-directives-keywords":{"patterns":[{"match":"on|use|bind","name":"keyword.control.svelte"},{"match":"transition|in|out|animate","name":"keyword.other.animation.svelte"},{"match":"let","name":"storage.type.svelte"},{"match":"class|style","name":"entity.other.attribute-name.svelte"}]},"attributes-directives-types":{"patterns":[{"match":"(?<=(on):).*$","name":"entity.name.type.svelte"},{"match":"(?<=(bind):).*$","name":"variable.parameter.svelte"},{"match":"(?<=(use|transition|in|out|animate):).*$","name":"variable.function.svelte"},{"match":"(?<=(let|class|style):).*$","name":"variable.parameter.svelte"}]},"attributes-directives-types-assigned":{"patterns":[{"match":"(?<=(bind):)this$","name":"variable.language.svelte"},{"match":"(?<=(bind):).*$","name":"entity.name.type.svelte"},{"match":"(?<=(class):).*$","name":"entity.other.attribute-name.class.svelte"},{"match":"(?<=(style):).*$","name":"support.type.property-name.svelte"},{"include":"#attributes-directives-types"}]},"attributes-generics":{"begin":"(generics)(=)([\\"\'])","beginCaptures":{"1":{"name":"entity.other.attribute-name.svelte"},"2":{"name":"punctuation.separator.key-value.svelte"},"3":{"name":"punctuation.definition.string.begin.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"(\\\\3)","endCaptures":{"1":{"name":"punctuation.definition.string.end.svelte"}},"patterns":[{"include":"#type-parameters"}]},"attributes-interpolated":{"begin":"(?<![:=])\\\\s*(\\\\{)","captures":{"1":{"name":"entity.other.attribute-name.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"(})","patterns":[{"include":"source.ts"}]},"attributes-keyvalue":{"begin":"((?:--)?[$_[:alpha:]][-$_[:alnum:]]*)","beginCaptures":{"0":{"patterns":[{"match":"--.*","name":"support.type.property-name.svelte"},{"match":".*","name":"entity.other.attribute-name.svelte"}]}},"end":"(?=\\\\s*+[^=\\\\s])","name":"meta.attribute.$1.svelte","patterns":[{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.key-value.svelte"}},"end":"(?<=[^=\\\\s])(?!\\\\s*=)|(?=/?>)","patterns":[{"include":"#attributes-value"}]}]},"attributes-value":{"patterns":[{"include":"#interpolation"},{"captures":{"1":{"name":"punctuation.definition.string.begin.svelte"},"2":{"name":"constant.numeric.decimal.svelte"},"3":{"name":"punctuation.definition.string.end.svelte"},"4":{"name":"constant.numeric.decimal.svelte"}},"match":"([\\"\'])([.0-9_]+[%\\\\w]{0,4})(\\\\1)|([.0-9_]+[%\\\\w]{0,4})(?=\\\\s|/?>)"},{"match":"([^\\"\'/<=>`\\\\s]|/(?!>))+","name":"string.unquoted.svelte","patterns":[{"include":"#interpolation"}]},{"begin":"([\\"\'])","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.svelte"}},"end":"\\\\1","endCaptures":{"0":{"name":"punctuation.definition.string.end.svelte"}},"name":"string.quoted.svelte","patterns":[{"include":"#interpolation"}]}]},"comments":{"begin":"\x3c!--","captures":{"0":{"name":"punctuation.definition.comment.svelte"}},"end":"--\x3e","name":"comment.block.svelte","patterns":[{"begin":"(@)(component)","beginCaptures":{"1":{"name":"punctuation.definition.keyword.svelte"},"2":{"name":"storage.type.class.component.svelte keyword.declaration.class.component.svelte"}},"contentName":"comment.block.documentation.svelte","end":"(?=--\x3e)","patterns":[{"captures":{"0":{"patterns":[{"include":"text.html.markdown"}]}},"match":".*?(?=--\x3e)"},{"include":"text.html.markdown"}]},{"match":"\\\\G-?>|\x3c!--(?!>)|<!-(?=--\x3e)|--!>","name":"invalid.illegal.characters-not-allowed-here.svelte"}]},"destructuring":{"patterns":[{"begin":"(?=\\\\{)","end":"(?<=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts#object-binding-pattern"}]},{"begin":"(?=\\\\[)","end":"(?<=])","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts#array-binding-pattern"}]}]},"destructuring-const":{"patterns":[{"begin":"(?=\\\\{)","end":"(?<=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts#object-binding-pattern-const"}]},{"begin":"(?=\\\\[)","end":"(?<=])","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts#array-binding-pattern-const"}]}]},"interpolation":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"}","endCaptures":{"0":{"name":"punctuation.section.embedded.end.svelte"}},"patterns":[{"begin":"\\\\G\\\\s*(?=\\\\{)","end":"(?<=})","patterns":[{"include":"source.ts#object-literal"}]},{"include":"source.ts"}]}]},"scope":{"patterns":[{"include":"#comments"},{"include":"#special-tags"},{"include":"#tags"},{"include":"#interpolation"},{"begin":"(?<=[>}])","end":"(?=[<{])","name":"text.svelte"}]},"special-tags":{"patterns":[{"include":"#special-tags-void"},{"include":"#special-tags-block-begin"},{"include":"#special-tags-block-end"}]},"special-tags-block-begin":{"begin":"(\\\\{)\\\\s*(#([a-z]*))","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.svelte"},"2":{"patterns":[{"include":"#special-tags-keywords"}]}},"end":"(})","endCaptures":{"0":{"name":"punctuation.definition.block.end.svelte"}},"name":"meta.special.$3.svelte meta.special.start.svelte","patterns":[{"include":"#special-tags-modes"}]},"special-tags-block-end":{"begin":"(\\\\{)\\\\s*(/([a-z]*))","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.svelte"},"2":{"patterns":[{"include":"#special-tags-keywords"}]}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.svelte"}},"name":"meta.special.$3.svelte meta.special.end.svelte"},"special-tags-keywords":{"captures":{"1":{"name":"punctuation.definition.keyword.svelte"},"2":{"patterns":[{"match":"if|else\\\\s+if|else","name":"keyword.control.conditional.svelte"},{"match":"each|key","name":"keyword.control.svelte"},{"match":"await|then|catch","name":"keyword.control.flow.svelte"},{"match":"snippet","name":"keyword.control.svelte"},{"match":"html","name":"keyword.other.svelte"},{"match":"render","name":"keyword.other.svelte"},{"match":"debug","name":"keyword.other.debugger.svelte"},{"match":"const","name":"storage.type.svelte"}]}},"match":"([#/:@])(else\\\\s+if|[a-z]*)"},"special-tags-modes":{"patterns":[{"begin":"(?<=(if|key|then|catch|html|render).*?)\\\\G","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]},{"begin":"(?<=snippet.*?)\\\\G","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"captures":{"1":{"name":"entity.name.function.ts"}},"match":"\\\\G\\\\s*([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=<)"},{"begin":"(?<=<)","contentName":"meta.type.parameters.ts","end":"(?=>)","patterns":[{"include":"source.ts"}]},{"begin":"(?<=>\\\\s*\\\\()","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]},{"begin":"\\\\G","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]}]},{"begin":"(?<=const.*?)\\\\G","end":"(?=})","patterns":[{"include":"#destructuring-const"},{"begin":"\\\\G\\\\s*([$_[:alpha:]][$_[:alnum:]]+)\\\\s*","beginCaptures":{"1":{"name":"variable.other.constant.svelte"}},"end":"(?=[:=])"},{"begin":"(?=:)","end":"(?==)","name":"meta.type.annotation.svelte","patterns":[{"include":"source.ts"}]},{"begin":"(?==)","end":"(?=})","name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]}]},{"begin":"(?<=each.*?)\\\\G","end":"(?=})","patterns":[{"begin":"\\\\G\\\\s*?(?=\\\\S)","contentName":"meta.embedded.expression.svelte source.ts","end":"(?=(?:^\\\\s*|\\\\s+)(as)|\\\\s*([,}]))","patterns":[{"include":"source.ts"}]},{"begin":"(as)|(?=[,}])","beginCaptures":{"1":{"name":"keyword.control.as.svelte"}},"end":"(?=})","patterns":[{"include":"#destructuring"},{"begin":"\\\\(","captures":{"0":{"name":"meta.brace.round.svelte"}},"contentName":"meta.embedded.expression.svelte source.ts","end":"\\\\)|(?=})","patterns":[{"include":"source.ts"}]},{"captures":{"1":{"name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]}},"match":"(\\\\s*([$_[:alpha:]][$_[:alnum:]]*)\\\\s*)"},{"match":",","name":"punctuation.separator.svelte"}]}]},{"begin":"(?<=await.*?)\\\\G","end":"(?=})","patterns":[{"begin":"\\\\G\\\\s*?(?=\\\\S)","contentName":"meta.embedded.expression.svelte source.ts","end":"\\\\s+(then)|(?=})","endCaptures":{"1":{"name":"keyword.control.flow.svelte"}},"patterns":[{"include":"source.ts"}]},{"begin":"(?<=then\\\\b)","contentName":"meta.embedded.expression.svelte source.ts","end":"(?=})","patterns":[{"include":"source.ts"}]}]},{"begin":"(?<=debug.*?)\\\\G","end":"(?=})","patterns":[{"captures":{"0":{"name":"meta.embedded.expression.svelte source.ts","patterns":[{"include":"source.ts"}]}},"match":"[$_[:alpha:]][$_[:alnum:]]*"},{"match":",","name":"punctuation.separator.svelte"}]}]},"special-tags-void":{"begin":"(\\\\{)\\\\s*([:@](else\\\\s+if|[a-z]*))","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.svelte"},"2":{"patterns":[{"include":"#special-tags-keywords"}]}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.svelte"}},"name":"meta.special.$3.svelte","patterns":[{"include":"#special-tags-modes"}]},"tags":{"patterns":[{"include":"#tags-lang"},{"include":"#tags-void"},{"include":"#tags-general-end"},{"include":"#tags-general-start"}]},"tags-end-node":{"captures":{"1":{"name":"meta.tag.end.svelte punctuation.definition.tag.begin.svelte"},"2":{"name":"meta.tag.end.svelte","patterns":[{"include":"#tags-name"}]},"3":{"name":"meta.tag.end.svelte punctuation.definition.tag.end.svelte"},"4":{"name":"meta.tag.start.svelte punctuation.definition.tag.end.svelte"}},"match":"(</)(.*?)\\\\s*(>)|(/>)"},"tags-general-end":{"begin":"(</)([^/>\\\\s]*)","beginCaptures":{"1":{"name":"meta.tag.end.svelte punctuation.definition.tag.begin.svelte"},"2":{"name":"meta.tag.end.svelte","patterns":[{"include":"#tags-name"}]}},"end":"(>)","endCaptures":{"1":{"name":"meta.tag.end.svelte punctuation.definition.tag.end.svelte"}},"name":"meta.scope.tag.$2.svelte"},"tags-general-start":{"begin":"(<)([^/>\\\\s]*)","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"end":"(/?>)","endCaptures":{"1":{"name":"meta.tag.start.svelte punctuation.definition.tag.end.svelte"}},"name":"meta.scope.tag.$2.svelte","patterns":[{"include":"#tags-start-attributes"}]},"tags-lang":{"begin":"<(script|style|template)","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"end":"</\\\\1\\\\s*>|/>","endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}},"name":"meta.$1.svelte","patterns":[{"begin":"\\\\G(?=\\\\s*[^>]*?(type|lang)\\\\s*=\\\\s*([\\"\']?)(?:text/)?(\\\\w+)\\\\2)","end":"(?=</|/>)","name":"meta.lang.$3.svelte","patterns":[{"include":"#tags-lang-start-attributes"}]},{"include":"#tags-lang-start-attributes"}]},"tags-lang-start-attributes":{"begin":"\\\\G","end":"(?=/>)|>","endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}},"name":"meta.tag.start.svelte","patterns":[{"include":"#attributes-generics"},{"include":"#attributes"}]},"tags-name":{"patterns":[{"captures":{"1":{"name":"keyword.control.svelte"},"2":{"name":"punctuation.definition.keyword.svelte"},"3":{"name":"entity.name.tag.svelte"}},"match":"(svelte)(:)([a-z][-:\\\\w]*)"},{"match":"slot","name":"keyword.control.svelte"},{"captures":{"1":{"patterns":[{"match":"\\\\w+","name":"support.class.component.svelte"},{"match":"\\\\.","name":"punctuation.definition.keyword.svelte"}]},"2":{"name":"support.class.component.svelte"}},"match":"(\\\\w+(?:\\\\.\\\\w+)+)|([A-Z]\\\\w*)"},{"match":"[a-z][0-:\\\\w]*-[-0-:\\\\w]*","name":"meta.tag.custom.svelte entity.name.tag.svelte"},{"match":"[a-z][-0-:\\\\w]*","name":"entity.name.tag.svelte"}]},"tags-start-attributes":{"begin":"\\\\G","end":"(?=/?>)","name":"meta.tag.start.svelte","patterns":[{"include":"#attributes"}]},"tags-start-node":{"captures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"patterns":[{"include":"#tags-name"}]}},"match":"(<)([^/>\\\\s]*)","name":"meta.tag.start.svelte"},"tags-void":{"begin":"(<)(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"entity.name.tag.svelte"}},"end":"/?>","endCaptures":{"0":{"name":"punctuation.definition.tag.begin.svelte"}},"name":"meta.tag.void.svelte","patterns":[{"include":"#attributes"}]},"type-parameters":{"name":"meta.type.parameters.ts","patterns":[{"include":"source.ts#comment"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends|in|out|const)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"},{"include":"source.ts#type"},{"include":"source.ts#punctuation-comma"},{"match":"(=)(?!>)","name":"keyword.operator.assignment.ts"}]}},"scopeName":"source.svelte","embeddedLangs":["javascript","typescript","css","postcss"],"embeddedLangsLazy":["coffee","stylus","sass","scss","less","pug","markdown"]}'))];export{a as default};
@@ -0,0 +1 @@
1
+ import{c as e}from"./css-QBe_kwnr.js";import t from"./javascript-DFyEbC5y.js";import n from"./typescript-DI7mmMRd.js";import a from"./json-LWN7Ml79.js";import{a as s,h as i}from"./html-derivative-Ck1rZmfd.js";const u=[Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["text.html.markdown"],"injectionSelector":"L:text.html.markdown","name":"markdown-vue","patterns":[{"include":"#vue-code-block"}],"repository":{"vue-code-block":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(vue)((\\\\s+|[,:?{])[^`~]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown","patterns":[]}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"include":"text.html.vue"}]}},"scopeName":"markdown.vue.codeblock"}'))],m=[Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["source.vue","text.html.markdown","text.html.derivative","text.pug"],"injectionSelector":"L:meta.tag -meta.attribute -meta.ng-binding -entity.name.tag.pug -attribute_value -source.tsx -source.js.jsx, L:meta.element -meta.attribute","name":"vue-directives","patterns":[{"include":"text.html.vue#vue-directives"}],"scopeName":"vue.directives"}'))],r=[Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["source.vue","text.html.markdown","text.html.derivative","text.pug"],"injectionSelector":"L:text.pug -comment -string.comment, L:text.html.derivative -comment.block, L:text.html.markdown -comment.block","name":"vue-interpolations","patterns":[{"include":"text.html.vue#vue-interpolations"}],"scopeName":"vue.interpolations"}'))],c=Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["source.vue"],"injectionSelector":"L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment","name":"vue-sfc-style-variable-injection","patterns":[{"include":"#vue-sfc-style-variable-injection"}],"repository":{"vue-sfc-style-variable-injection":{"begin":"\\\\b(v-bind)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function"}},"end":"\\\\)","name":"vue.sfc.style.variable.injection.v-bind","patterns":[{"begin":"([\\"\'])","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"source.ts.embedded.html.vue","patterns":[{"include":"source.js"}]},{"include":"source.js"}]}},"scopeName":"vue.sfc.style.variable.injection","embeddedLangs":["javascript"]}')),l=[...t,c],o=Object.freeze(JSON.parse('{"displayName":"Vue","name":"vue","patterns":[{"include":"#vue-comments"},{"include":"#self-closing-tag"},{"begin":"(<)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"patterns":[{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)md\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text.html.markdown","patterns":[{"include":"text.html.markdown"}]}]},{"begin":"(?!template(?![-0-:A-Za-z]))([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)html\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"contentName":"text.html.derivative","end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"include":"#html-stuff"}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)pug\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text.pug","patterns":[{"include":"text.pug"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)stylus\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.stylus","patterns":[{"include":"source.stylus"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)postcss\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.postcss","patterns":[{"include":"source.postcss"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)sass\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.sass","patterns":[{"include":"source.sass"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)css\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.css","patterns":[{"include":"source.css"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)scss\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.css.scss","patterns":[{"include":"source.css.scss"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)less\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.css.less","patterns":[{"include":"source.css.less"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)js\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.js","patterns":[{"include":"source.js"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)ts\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.ts","patterns":[{"include":"source.ts"}]},{"begin":"(?<=>)","name":"source.ts","patterns":[{"include":"source.ts"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)jsx\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.js.jsx","patterns":[{"include":"source.js.jsx"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)tsx\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.tsx","patterns":[{"include":"source.tsx"}]},{"begin":"(?<=>)","name":"source.tsx","patterns":[{"include":"source.tsx"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)coffee\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.coffee","patterns":[{"include":"source.coffee"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)json\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.json","patterns":[{"include":"source.json"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)jsonc\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.json.comments","patterns":[{"include":"source.json.comments"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)json5\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.json5","patterns":[{"include":"source.json5"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)yaml\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.yaml","patterns":[{"include":"source.yaml"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)toml\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.toml","patterns":[{"include":"source.toml"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)(g(?:ql|raphql))\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.graphql","patterns":[{"include":"source.graphql"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"\']?)vue\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text.html.vue","patterns":[{"include":"text.html.vue"}]}]},{"begin":"(template)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</template[>\\\\s])","name":"text.html.derivative","patterns":[{"include":"#html-stuff"}]}]},{"begin":"(script)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#multi-line-script-tag-stuff"}]},{"begin":"(style)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#multi-line-style-tag-stuff"}]},{"begin":"([-0-:A-Za-z]+)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text"}]}]}],"repository":{"html-stuff":{"patterns":[{"include":"#template-tag"},{"include":"text.html.derivative"},{"include":"text.html.basic"}]},"multi-line-script-tag-stuff":{"begin":"\\\\G","end":"(?=</script[>\\\\s])","patterns":[{"begin":"\\\\G(?!\\\\blang\\\\s*=\\\\s*[\\"\']?(?:tsx??|jsx|coffee)\\\\b)","end":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?(?:tsx??|jsx|coffee)\\\\b)|(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag-stuff","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?ts\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.ts","patterns":[{"include":"source.ts"}]},{"begin":"(?<=>)","name":"source.ts","patterns":[{"include":"source.ts"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?tsx\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.tsx","patterns":[{"include":"source.tsx"}]},{"begin":"(?<=>)","name":"source.tsx","patterns":[{"include":"source.tsx"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?jsx\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</script[>\\\\s])","name":"source.js.jsx","patterns":[{"include":"source.js.jsx"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?coffee\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</script[>\\\\s])","name":"source.coffee","patterns":[{"include":"source.coffee"}]}]},{"begin":"(?<=>)","end":"(?=</script[>\\\\s])","name":"source.js","patterns":[{"include":"source.js"}]}]},"multi-line-style-tag-stuff":{"begin":"\\\\G","end":"(?=</style[>\\\\s])","patterns":[{"begin":"\\\\G(?!\\\\blang\\\\s*=\\\\s*[\\"\']?(?:scss|stylus|less|postcss)\\\\b)","end":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?(?:scss|stylus|less|postcss)\\\\b)|(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag-stuff","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?scss\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.css.scss","patterns":[{"include":"source.css.scss"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?stylus\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.stylus","patterns":[{"include":"source.stylus"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?less\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.css.less","patterns":[{"include":"source.css.less"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"\']?postcss\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.postcss","patterns":[{"include":"source.postcss"}]}]},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.css","patterns":[{"include":"source.css"}]}]},"self-closing-tag":{"begin":"(<)([-0-:A-Za-z]+)(?=([^>]+/>))","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"end":"(/>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"self-closing-tag","patterns":[{"include":"#tag-stuff"}]},"tag-stuff":{"begin":"\\\\G","end":"(?=/>)|(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag-stuff","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]},"template-tag":{"patterns":[{"include":"#template-tag-1"},{"include":"#template-tag-2"}]},"template-tag-1":{"begin":"(<)(template)\\\\b(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"},"3":{"name":"punctuation.definition.tag.end.html.vue"}},"end":"(/?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.template-tag.start","patterns":[{"begin":"\\\\G","end":"(?=/>)|((</)(template)(?=[>\\\\s]))","endCaptures":{"2":{"name":"punctuation.definition.tag.begin.html.vue"},"3":{"name":"entity.name.tag.$3.html.vue"}},"name":"meta.template-tag.end","patterns":[{"include":"#html-stuff"}]}]},"template-tag-2":{"begin":"(<)(template)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"end":"(/?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.template-tag.start","patterns":[{"begin":"\\\\G","end":"(?=/>)|((</)(template)(?=[>\\\\s]))","endCaptures":{"2":{"name":"punctuation.definition.tag.begin.html.vue"},"3":{"name":"entity.name.tag.$3.html.vue"}},"name":"meta.template-tag.end","patterns":[{"include":"#tag-stuff"},{"include":"#html-stuff"}]}]},"vue-comments":{"patterns":[{"include":"#vue-comments-key-value"},{"begin":"\x3c!--","captures":{"0":{"name":"punctuation.definition.comment.vue"}},"end":"--\x3e","name":"comment.block.vue"}]},"vue-comments-key-value":{"begin":"(\x3c!--)\\\\s*(@)([$\\\\w]+)(?=\\\\s)","beginCaptures":{"1":{"name":"punctuation.definition.comment.vue"},"2":{"name":"punctuation.definition.block.tag.comment.vue"},"3":{"name":"storage.type.class.comment.vue"}},"end":"(--\x3e)","endCaptures":{"1":{"name":"punctuation.definition.comment.vue"}},"name":"comment.block.vue","patterns":[{"include":"source.json#value"}]},"vue-directives":{"patterns":[{"include":"#vue-directives-control"},{"include":"#vue-directives-generic-attr"},{"include":"#vue-directives-style-attr"},{"include":"#vue-directives-original"}]},"vue-directives-control":{"begin":"(?:(v-for)|(v-(?:if|else-if|else)))(?=[)/=>\\\\s])","beginCaptures":{"1":{"name":"keyword.control.loop.vue"},"2":{"name":"keyword.control.conditional.vue"}},"end":"(?=\\\\s*[^=\\\\s])","name":"meta.attribute.directive.control.vue","patterns":[{"include":"#vue-directives-expression"}]},"vue-directives-expression":{"patterns":[{"begin":"(=)\\\\s*([\\"\'`])","beginCaptures":{"1":{"name":"punctuation.separator.key-value.html.vue"},"2":{"name":"punctuation.definition.string.begin.html.vue"}},"end":"(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.end.html.vue"}},"patterns":[{"begin":"(?<=([\\"\'`]))","end":"(?=\\\\1)","name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]}]},{"begin":"(=)\\\\s*(?=[^\\"\'`])","beginCaptures":{"1":{"name":"punctuation.separator.key-value.html.vue"}},"end":"(?=([>\\\\s]|/>))","patterns":[{"begin":"(?=[^\\"\'`])","end":"(?=([>\\\\s]|/>))","name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]}]}]},"vue-directives-generic-attr":{"begin":"\\\\b(generic)\\\\s*(=)","beginCaptures":{"1":{"name":"entity.other.attribute-name.html.vue"},"2":{"name":"punctuation.separator.key-value.html.vue"}},"end":"(?<=[\\"\'])","name":"meta.attribute.generic.vue","patterns":[{"begin":"([\\"\'])","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.html.vue"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.string.end.html.vue"}},"name":"meta.type.parameters.vue","patterns":[{"include":"source.ts#comment"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends|in|out)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"},{"include":"source.ts#type"},{"include":"source.ts#punctuation-comma"},{"match":"(=)(?!>)","name":"keyword.operator.assignment.ts"}]}]},"vue-directives-original":{"begin":"(?:(v-[-\\\\w]+)(:)?|([.:])|(@)|(#))(?:(\\\\[)([^]]*)(])|([-\\\\w]+))?","beginCaptures":{"1":{"name":"entity.other.attribute-name.html.vue"},"2":{"name":"punctuation.separator.key-value.html.vue"},"3":{"name":"punctuation.attribute-shorthand.bind.html.vue"},"4":{"name":"punctuation.attribute-shorthand.event.html.vue"},"5":{"name":"punctuation.attribute-shorthand.slot.html.vue"},"6":{"name":"punctuation.separator.key-value.html.vue"},"7":{"name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]},"8":{"name":"punctuation.separator.key-value.html.vue"},"9":{"name":"entity.other.attribute-name.html.vue"}},"end":"(?=\\\\s*[^=\\\\s])","name":"meta.attribute.directive.vue","patterns":[{"1":{"name":"punctuation.separator.key-value.html.vue"},"2":{"name":"entity.other.attribute-name.html.vue"},"match":"(\\\\.)([-\\\\w]*)"},{"include":"#vue-directives-expression"}]},"vue-directives-style-attr":{"begin":"\\\\b(style)\\\\s*(=)","beginCaptures":{"1":{"name":"entity.other.attribute-name.html.vue"},"2":{"name":"punctuation.separator.key-value.html.vue"}},"end":"(?<=[\\"\'])","name":"meta.attribute.style.vue","patterns":[{"begin":"([\\"\'])","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.html.vue"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.string.end.html.vue"}},"name":"source.css.embedded.html.vue","patterns":[{"include":"source.css#comment-block"},{"include":"source.css#escapes"},{"include":"source.css#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":"source.css#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":"source.css#comment-block"},{"include":"source.css#property-values"}]},{"match":";","name":"punctuation.terminator.rule.css"}]}]},"vue-interpolations":{"patterns":[{"begin":"(\\\\{\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.interpolation.begin.html.vue"}},"end":"(}})","endCaptures":{"1":{"name":"punctuation.definition.interpolation.end.html.vue"}},"name":"expression.embedded.vue","patterns":[{"begin":"\\\\G","end":"(?=}})","name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]}]}]}},"scopeName":"text.html.vue","embeddedLangs":["css","javascript","typescript","json","html","html-derivative","markdown-vue","vue-directives","vue-interpolations","vue-sfc-style-variable-injection"],"embeddedLangsLazy":["markdown","pug","stylus","sass","scss","less","jsx","tsx","coffee","jsonc","json5","yaml","toml","graphql"]}')),d=[...e,...t,...n,...a,...s,...i,...u,...m,...r,...l,o];export{d as default};
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-studio",
3
3
  "configKey": "studio",
4
- "version": "1.6.0",
4
+ "version": "1.6.1",
5
5
  "docs": "https://content.nuxt.com/studio",
6
6
  "builder": {
7
7
  "@nuxt/module-builder": "1.0.2",
@@ -8,7 +8,7 @@ import { createStorage } from 'unstorage';
8
8
  import { withLeadingSlash } from 'ufo';
9
9
  import { readFile } from 'node:fs/promises';
10
10
 
11
- const version = "1.6.0";
11
+ const version = "1.6.1";
12
12
 
13
13
  const VIRTUAL_MEDIA_COLLECTION_NAME = "public-assets";
14
14
 
@@ -11,7 +11,7 @@ import { assignComponentsToGroups } from "./utils/componentGroups.js";
11
11
  import { generateIdFromFsPath as generateMediaIdFromFsPath } from "./utils/media.js";
12
12
  import { getCollectionSourceById } from "./utils/source.js";
13
13
  import { kebabCase } from "scule";
14
- const serviceWorkerVersion = "v0.0.3";
14
+ const serviceWorkerVersion = "v0.0.5";
15
15
  function getLocalColorMode() {
16
16
  return document.documentElement.classList.contains("dark") ? "dark" : "light";
17
17
  }
@@ -39,8 +39,12 @@ export default eventHandler(async (event) => {
39
39
  } else {
40
40
  const value = await readRawBody(event, "utf8");
41
41
  const json = JSON.parse(value || "{}");
42
- const data = json.raw.split(";base64,")[1];
43
- await storage.setItemRaw(key, Buffer.from(data, "base64"));
42
+ if (json.raw) {
43
+ const data = json.raw.split(";base64,")[1];
44
+ await storage.setItemRaw(key, Buffer.from(data, "base64"));
45
+ } else {
46
+ await storage.setItemRaw(key, Buffer.alloc(0));
47
+ }
44
48
  }
45
49
  return "OK";
46
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-studio",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Nuxt Studio for Nuxt Content",
5
5
  "private": false,
6
6
  "repository": {
@@ -51,12 +51,12 @@
51
51
  "ipx": "^3.1.1"
52
52
  },
53
53
  "dependencies": {
54
- "@ai-sdk/gateway": "^3.0.91",
55
- "@ai-sdk/vue": "^3.0.149",
56
- "@iconify-json/lucide": "^1.2.101",
54
+ "@ai-sdk/gateway": "^3.0.104",
55
+ "@ai-sdk/vue": "^3.0.168",
56
+ "@iconify-json/lucide": "^1.2.102",
57
57
  "@nuxtjs/mdc": "^0.21.1",
58
58
  "@vueuse/core": "^14.2.1",
59
- "ai": "^6.0.149",
59
+ "ai": "^6.0.168",
60
60
  "defu": "^6.1.7",
61
61
  "destr": "^2.0.5",
62
62
  "js-yaml": "^4.1.1",
@@ -70,8 +70,8 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@gitbeaker/core": "^43.8.0",
73
- "@iconify-json/simple-icons": "^1.2.77",
74
- "@nuxt/content": "^3.12.0",
73
+ "@iconify-json/simple-icons": "^1.2.79",
74
+ "@nuxt/content": "^3.13.0",
75
75
  "@nuxt/eslint-config": "^1.15.2",
76
76
  "@nuxt/kit": "^4.4.2",
77
77
  "@nuxt/module-builder": "^1.0.2",
@@ -79,32 +79,34 @@
79
79
  "@octokit/types": "^16.0.0",
80
80
  "@release-it/conventional-changelog": "^10.0.6",
81
81
  "@tailwindcss/typography": "^0.5.19",
82
- "@tiptap/extension-emoji": "^3.22.2",
82
+ "@tiptap/extension-emoji": "^3.22.4",
83
83
  "@types/js-yaml": "^4.0.9",
84
84
  "@unhead/vue": "^2.1.13",
85
85
  "@unpic/vue": "^1.0.0",
86
- "@vitejs/plugin-vue": "^6.0.5",
87
- "eslint": "^10.2.0",
86
+ "@vitejs/plugin-vue": "^6.0.6",
87
+ "eslint": "^10.2.1",
88
88
  "idb-keyval": "^6.2.2",
89
89
  "minimark": "^0.2.0",
90
90
  "modern-monaco": "^0.4.0",
91
91
  "nuxt-studio": "workspace:*",
92
92
  "ofetch": "^1.5.1",
93
- "release-it": "^19.2.4",
94
- "tailwindcss": "^4.2.2",
93
+ "release-it": "^20.0.0",
94
+ "tailwindcss": "^4.2.3",
95
95
  "vite": "^7.3.1",
96
96
  "vite-plugin-dts": "^4.5.4",
97
97
  "vite-plugin-libcss": "^1.1.2",
98
- "vitest": "^4.1.3",
98
+ "vitest": "^4.1.5",
99
99
  "vue": "^3.5.32",
100
100
  "vue-router": "^5.0.4",
101
- "vue-tsc": "^3.2.6"
101
+ "vue-tsc": "^3.2.7"
102
102
  },
103
103
  "resolutions": {
104
- "@nuxt/content": "^3.12.0",
104
+ "@nuxt/content": "^3.13.0",
105
105
  "@unhead/vue": "2.1.12",
106
106
  "minimark": "^0.2.0",
107
- "unimport": "5.6.0"
107
+ "unimport": "5.6.0",
108
+ "@tiptap/core": "3.22.4",
109
+ "@tiptap/pm": "3.22.4"
108
110
  },
109
111
  "packageManager": "pnpm@10.33.0",
110
112
  "keywords": [