vitepress-openapi
Version:
Generate VitePress API Documentation from OpenAPI Specification.
5 lines • 161 kB
JavaScript
"use strict";var xr=Object.defineProperty;var Rr=(e,t,n)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var _=(e,t,n)=>Rr(e,typeof t!="symbol"?t+"":t,n);const k=require("vue");function Te(e){let t,n,r;if(Array.isArray(e)){for(n=Array(t=e.length);t--;)n[t]=(r=e[t])&&typeof r=="object"?Te(r):r;return n}if(Object.prototype.toString.call(e)==="[object Object]"){n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Te(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r=="object"?Te(r):r;return n}return e}const Le=new Map,Br=(e,t)=>{Le.has(e)||Le.set(e,new Map);const n=Le.get(e);if(n.has(t))return n.get(t);const r=t.split("/").slice(1);let s=e;for(const i of r)(!s||typeof s!="object")&&(s=null),s=s[i]??null;return n.set(t,s),s},Ne=new Map,Ar=e=>{if(Ne.has(e))return Ne.get(e);const t=new Set,n=Te(e),r=(i,u)=>{if(typeof i=="object"&&i!==null){if(t.has(i))return i;if(t.add(i),Array.isArray(i))for(let o=0;o<i.length;o++)i[o]=r(i[o]);else{if("$ref"in i&&typeof i.$ref=="string"){let o=i;do o=Br(n,o.$ref);while(o!=null&&o.$ref);return o}for(const o in i)i[o]=r(i[o])}}return i},s=r(n);return Ne.set(e,s),s};function re(e){if(e instanceof Promise)return e.then(Ie).catch(Ue);try{const t=e();return t instanceof Promise?t.then(Ie).catch(Ue):Ie(t)}catch(t){return Ue(t)}}const Ie=e=>[e,null],Ue=e=>[null,new nt(e)];class nt extends Error{constructor(t){super("thrown error",{cause:t}),this.cause=t,Error.captureStackTrace&&Error.captureStackTrace(this,nt)}}/*!
* allof-merge v0.6.6
* Copyright (C) 2012-2024 Damir Yusipov
* Date: Sat, 17 Feb 2024 19:27:36 GMT
*/function fe(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n}function Lr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n}const Nr=(e={},t,n,r)=>{const s=`/${t}`,i=typeof e["/**"]=="function"?e["/**"]({key:t,path:n,value:r}):e["/**"],u=typeof e["/*"]=="function"?e["/*"]({key:t,path:n,value:r}):e["/*"];let o={};if(s in e)o=e[s];else if(!i&&!u)return;return o=typeof o=="function"?o({key:t,path:n,value:r}):o,u&&(o=Object.assign(Object.assign({},u),o)),i?Object.assign(Object.assign({"/**":e["/**"]},i),o):o},gn=e=>{const t={},n=e.reduce((r,s)=>(Object.keys(s).forEach(i=>r.add(i)),r),new Set);for(const r of n.keys()){const s=e.filter(i=>r in i);if(s.length!==1){if(r.charAt(0)!=="/")throw new Error(`Cannot merge rules. Duplicate key: ${r}. Rules should not have same Rule key`);t[r]=(i,u)=>{const o=s.map(a=>typeof a[r]=="function"?a[r](i,u):a[r]);return gn(o)}}else t[r]=s[0][r]}return t},W=e=>typeof e=="object"&&e!==null,He=e=>Array.isArray(e),Ir=(e,t,n={})=>{var r,s;t=He(t)?t:[t];const i=He(n.rules)?gn(n.rules):n.rules,u=[{data:e,state:n.state,path:[],keys:[],keyIndex:-1,rules:i}];for(;u.length>0;){const o=u[u.length-1];if(o.keyIndex>=o.keys.length){for(;!((r=o.hooks)===null||r===void 0)&&r.length;)o.hooks.pop()();u.pop();continue}const a=o.keys[o.keyIndex++],[c,l,h]=u.length>1?[o.data[a],[...o.path,a],Nr(o.rules,a,[...o.path,a],o.data[a])]:[o.data,o.path,i];let p={value:c,path:l,key:a,state:o.state,rules:h};const f=[];for(const g of t){if(!g||typeof g!="function")continue;const y=(s=g(p))!==null&&s!==void 0?s:{},{terminate:b,done:S,exitHook:$}=y,O=Lr(y,["terminate","done","exitHook"]);if(b)return;if($&&f.push($),p=Object.assign(Object.assign({},p),O),S){p=null;break}}if(p&&W(p.value)){const g=He(p.value)?[...p.value.keys()]:Object.keys(p.value);u.push({hooks:f,state:p.state,data:p.value,path:l,keys:g,keyIndex:0,rules:p.rules})}else for(;f.length;)f.pop()()}},Ur=()=>{const e=new WeakMap;let t;return[({value:n})=>{t=n},({value:n,path:r,key:s,state:i})=>{if(s=r.length?s:"#",W(t)&&W(n)){if(e.has(t))return i.node[s]=e.get(t),{done:!0};const u=Array.isArray(n)?[]:{};i.node[s]=u,e.set(t,u)}else i.node[s]=n;return{value:n,state:Object.assign(Object.assign({},i),{node:i.node[s]})}}]};class mn extends Map{add(t,n){const r=this.get(t);return r?r.push(n):this.set(t,[n]),this}}const Hr=(e,t)=>{const n={};for(const r of t)r in e&&(n[r]=e[r],delete e[r]);return n},bn=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return[...e,...t];if(W(e)&&W(t)){const n=Object.assign({},e);for(const r of Object.keys(t))n[r]=bn(n[r],t[r]);return n}return t},We=e=>e&&e.$ref&&typeof e.$ref=="string",Jt=e=>e&&e.anyOf&&Array.isArray(e.anyOf),Gt=e=>e&&e.oneOf&&Array.isArray(e.oneOf),yn=(e,t="")=>{const[n=t,r]=e.split("#"),s=r&&r!=="/"?r:"";return{filePath:n,pointer:s,normalized:_r(n,s),jsonPath:$n(s)}},_r=(e,t)=>e?`${e}${t?"#"+t:""}`:t?`#${t}`:"#",Sn=(e,t,n=[t])=>{if(!W(e))return;let r=e;const s=$n(t);for(const i of s)if(Array.isArray(r)&&r.length>+i)r=r[+i];else if(W(r)&&i in r)r=r[i];else{if(!We(r))return;{const u=yn(r.$ref);r=u.filePath||n.includes(u.pointer)?void 0:Sn(e,u.pointer,[...n,u.pointer])}}return r},we={slash:/\//g,tilde:/~/g,escapedSlash:/~1/g,escapedTilde:/~0/g},$n=e=>e.split("/").map(t=>decodeURIComponent(t.replace(we.escapedSlash,"/").replace(we.escapedTilde,"~"))).slice(1),rt=e=>e.length?"/"+e.map(t=>encodeURIComponent(String(t).replace(we.tilde,"~0").replace(we.slash,"~1"))).join("/"):"",Dr=(e,t)=>JSON.stringify(e)==JSON.stringify(t),qr=e=>{let t=1;for(;e*t%1!=0;)t*=10;return t};function Fr(e){const t=e.reduce((n,r)=>Math.max(n,qr(r)),0);return e.reduce((n,r)=>Math.round(n*t*r*t/kn(n*t,r*t))/t)}function kn(e,t){return t===0?e:kn(t,e%t)}const vn=e=>{if(e.length===0)return[[]];const t=e[0],n=e.slice(1),r=vn(n),s=[];for(const i of t)for(const u of r)s.push([i,...u]);return s},Mr=e=>{const t=[];for(const n of e){if(!("properties"in n))continue;const r=new Set(Object.keys(n.properties)),s=new mn;for(const u of r.values())for(const o of e)if(!(o==n||o.properties&&u in o.properties))if("patternProperties"in o&&o.patternProperties)for(const a of Object.keys(o.patternProperties))new RegExp(a).test(u)||r.delete(u);else"additionalProperties"in o&&(o.additionalProperties===!1?r.delete(u):typeof o.additionalProperties=="object"&&s.add(u,o.additionalProperties));if(!r.size)continue;const i={};for(const u of r.values())s.has(u)?i[u]={allOf:[n.properties[u],...s.get(u)]}:i[u]=n.properties[u];t.push(i)}return t},Vr=e=>{const t=[];for(const n of e){if(!("patternProperties"in n))continue;const r=new Set(Object.keys(n.patternProperties));for(const i of e)if(i!=n&&"additionalProperties"in i&&!i.additionalProperties)for(const u of r.values())i.patternProperties&&u in i.patternProperties||r.delete(u);if(!r.size)continue;const s={};for(const i of r.values())s[i]=n.patternProperties[i];t.push(s)}return t},Wt=e=>{const t={},n=ot(e);for(const[r,s]of Object.entries(n))s.includes(!1)?t[r]=!1:t[r]=s.length>1?{allOf:s}:s[0];return t},Jr=(e,t)=>!!e.reduce((n,r)=>n&&r===!0,!0)||ge(e,t),Gr=()=>"Could not merge values, they are probably incompatible",Wr=e=>`Merge rule not found for key: ${e}`,ot=e=>{const t={};for(const n of e)for(const r of Object.keys(n))Array.isArray(t[r])?t[r].push(n[r]):t[r]=[n[r]];return t},ge=(e,t)=>{if(e.includes(!1))return!1;const n={},r=ot(e);"properties"in r&&(r.properties=Mr(e)),"patternProperties"in r&&(r.patternProperties=Vr(e));for(let[s,i]of Object.entries(r)){if(!i.length)continue;const u=t.mergeRules;let o=`/${s}`in u?u[`/${s}`]:u["/?"];o=o&&!("$"in o)&&"/"in o?o["/"]:o,o=typeof o=="function"?o():o;const a=o&&"$"in o?o.$:void 0;if(!a)throw new Error(Wr(s));const c=i.length>1?a(i,Object.assign(Object.assign({},t),{allOfItems:e})):i[0];c===void 0?t.mergeError(i):n[s]=c}return Object.keys(n).length?n:void 0},F=e=>e[e.length-1],ee=e=>e.reduce((t,n)=>t||n,!1),ie=e=>Math.min(...e),ue=e=>Math.max(...e),zr=e=>e.length>1?e.reduce((t,n)=>`${t}(?=${n})`,""):e[0],Tn=([e,...t])=>t.reduce((n,r)=>n.filter(s=>r.includes(s)),e),Yr=([e,...t])=>t.find(n=>!Dr(n,e))?void 0:e,D=([e,...t])=>t.reduce((n,r)=>bn(n,r),e),de=e=>vn(e).map(t=>({allOf:t})),Kr=e=>({anyOf:e}),Qr=e=>Fr(e),Xr=(e,t)=>{const n=e.map(s=>s.map(i=>JSON.stringify(i))),r=Tn(n).map(s=>JSON.parse(s)).sort();return r.length||t.mergeError(e),r},Zr=(e,t)=>{const n=e.map(s=>Array.isArray(s)?s:[s]),r=Tn(n);return r.length===1?r[0]:r.length?r:void 0},On=e=>{const t=new Set;for(const n of e)for(const r of n)t.add(r);return Array.from(t).sort()},eo=(e,t)=>{const n={},r=ot(e);for(const[s,i]of Object.entries(r))if(i.reduce((u,o)=>u&&Array.isArray(o),!0))n[s]=On(i);else{const u=i.map(o=>Array.isArray(o)?{required:o}:o);n[s]=u.length>1?{allOf:u}:u[0]}return n},En=(e,t)=>{if(!e.reduce((a,c)=>Array.isArray(c)||a,!1))return ge(e,t);const n=[];let r=1/0,s=0;const i=new mn;for(const a of t.allOfItems)"additionalItems"in a&&a.additionalItems&&"items"in a&&Array.isArray(a.items)&&i.add(a.items.length,a.additionalItems),"items"in a&&(n.push(a.items),Array.isArray(a.items)&&(s=Math.max(s,a.items.length),"additionalItems"in a&&a.additionalItems===!1&&(r=Math.min(r,a.items.length))));const u=Math.min(s,r),o=[...Array(u)].map(()=>({allOf:[]}));for(const a of n)if(Array.isArray(a))for(let c=0;c<u;c++){const l=[];for(let h=0;h<=c;h++)i.has(h)&&l.push(...i.get(h));c<a.length?o[c].allOf.push(l.length?Object.assign(Object.assign({},a[c]),{allOf:l}):a[c]):o[c].allOf.push(!l.length||{allOf:l})}else o.forEach(({allOf:c})=>c.push(a));return o},to=(e,t)=>{const n=[],r=[];for(const s of t.allOfItems)"items"in s&&!Array.isArray(s.items)&&r.push(s.items),"additionalItems"in s&&"items"in s&&Array.isArray(s.items)&&n.push(s.additionalItems);return r.length&&n.forEach(s=>s.allOf=r),ge(n,t)},U=(e="draft-06",t={})=>Object.assign(Object.assign(Object.assign(Object.assign({"/maximum":{$:ie},"/exclusiveMaximum":{$:ee},"/minimum":{$:ue},"/exclusiveMinimum":{$:ee},"/maxLength":{$:ie},"/minLength":{$:ue},"/maxItems":{$:ie},"/minItems":{$:ue},"/uniqueItems":{$:ee},"/maxProperties":{$:ie},"/minProperties":{$:ue},"/required":{$:On},"/multipleOf":{$:Qr},"/enum":{$:Xr},"/type":{$:Zr},"/allOf":{"/*":()=>U(e,t),$:de},"/not":{$:Kr},"/oneOf":{"/*":()=>U(e,t),$:de,sibling:["definitions","$defs","$id","$schema"]},"/anyOf":{"/*":()=>U(e,t),$:de,sibling:["definitions","$defs","$id","$schema"]},"/properties":{"/*":()=>U(e,t),$:Wt},"/items":()=>Object.assign(Object.assign({},U(e,t)),{$:En,"/*":({key:n})=>typeof n=="number"?U(e,t):{}}),"/additionalProperties":()=>Object.assign(Object.assign({},U(e,t)),{$:Jr}),"/additionalItems":()=>Object.assign(Object.assign({},U(e,t)),{$:to}),"/patternProperties":{"/*":()=>U(e,t),$:Wt},"/pattern":{$:zr},"/readOnly":{$:ee},"/writeOnly":{$:ee},"/example":{$:D},"/examples":{$:D},"/deprecated":{$:ee}},e!=="draft-04"?{"/propertyNames":()=>U(e,t),"/contains":()=>U(e,t),"/dependencies":{"/*":()=>U(e,t),$:eo},"/const":{$:Yr},"/exclusiveMaximum":{$:ie},"/exclusiveMinimum":{$:ue},"/$defs":{"/*":()=>U(e,t),$:D}}:{}),{"/definitions":{"/*":()=>U(e,t),$:D},"/xml":{$:D},"/externalDocs":{$:F},"/description":{$:F},"/title":{$:F},"/format":{$:F},"/default":{$:F},"/?":{$:F}}),t),{$:ge}),le=e=>U(e,{"/discriminator":{$:D},"/oneOf":{"/*":()=>le(e),$:de,sibling:["discriminator"]},"/anyOf":{"/*":()=>le(e),$:de,sibling:["discriminator"]}}),xe=e=>e==="3.0.x"?Object.assign(Object.assign({},le("draft-04")),{"/items":({key:t})=>Object.assign(Object.assign({},le("draft-04")),{$:En})}):le("draft-06"),ne=e=>({"/*":{"/schema":xe(e)}}),zt=e=>({"/content":{"/*":{"/schema":xe(e),"/encoding":{"/headers":ne(e)}}}}),Yt=e=>({"/*":{"/headers":ne(e),"/content":{"/*":{"/schema":xe(e),"/encoding":{"/headers":ne(e)}}}}}),no=(e="3.0.x")=>({"/paths":{"/*":{"/*":{"/parameters":ne(e),"/requestBody":zt(e),"/responses":Yt(e)},"/parameters":ne(e)}},"/components":{"/schemas":{"/*":xe(e)},"/responses":Yt(e),"/parameters":ne(e),"/requestBodies":{"/*":zt(e)},"/headers":ne(e)}}),te=U("draft-06",{"/args":()=>te,"/nullable":{$:ee},"/specifiedByURL":{$:F},"/values":{$:D,"/*":{$:D,"/description":{$:F},"/deprecated":{$:F,"/reason":{$:F}}}},"/interfaces":{$:D,"/*":{$:D}},"/directives":{$:D,"/*":()=>Object.assign(Object.assign({},te),{"/meta":{$:D}})}}),ro={"/queries":{"/*":()=>te},"/mutations":{"/*":()=>te},"/subscriptions":{"/*":()=>te},"/components":{"/*":{"/*":te},"/directives":{"/*":{"/args":()=>te}}}},Se=(e,t,n)=>{const r=n.sibling||[],s=e,i=t,u=s[i],o=fe(s,[typeof i=="symbol"?i:i+""]),a=Hr(o,r);return Object.keys(o).length?Object.assign({[t]:u.map(c=>({allOf:[o,c]}))},a):e},wn=(e,t,n,r)=>{const s=[],i=rt(t),u=[],o={pointer:i,data:"",refs:[]};for(const c of e)if(We(c)&&!u.includes(c.$ref)){o.data===""&&(o.data=JSON.stringify(e));const{$ref:l}=c,h=fe(c,["$ref"]),{filePath:p,normalized:f,pointer:g}=yn(l),y=r.find(S=>S.refs.includes(c.$ref)&&S.data===o.data&&g!==S.pointer);if(y)return{allOfItems:[{$ref:"#"+y.pointer}],brokenRefs:u};o.refs.push(f);const b=p?void 0:Sn(n,g);b===void 0?(u.push(f),s.push(c)):s.push(b),Object.keys(h).length&&s.push(h)}else s.push(c);o.refs.length&&r.push(o);const a=jn(s);return a.find(c=>We(c)&&!u.includes(c.$ref))?wn(a,t,n,r):{allOfItems:a,brokenRefs:u}},jn=e=>{const t=[];for(const n of e)if(W(n))if(n.allOf&&Array.isArray(n.allOf)){const{allOf:r}=n,s=fe(n,["allOf"]),i=Object.keys(s).length?[...r,s]:r;t.push(...jn(i))}else t.push(n);return t},oo=e=>{if(typeof e!="object"||!e)return U();if("openapi"in e&&typeof e.openapi=="string"&&/3.+/.test(e.openapi)){const t=e.openapi.startsWith("3.1")?"3.1.x":"3.0.x";return no(t)}return"graphapi"in e&&typeof e.graphapi=="string"?ro:U()},so=(e,t)=>{var n;const r=(n=void 0)!==null&&n!==void 0?n:oo(e);return((s,i=[],u={})=>{var o;i=Array.isArray(i)?i:[i];const a={"#":void 0},c=Object.assign({state:Object.assign(Object.assign({},(o=u.state)!==null&&o!==void 0?o:{}),{root:a,node:a})},u.rules?{rules:u.rules}:{}),[l,h]=Ur();return Ir(s,[l,...i,h],c),a["#"]})(e,ao(t),{rules:r})},ao=e=>{const t=new Map;let n=e==null?void 0:e.source;const r=[];return({value:s,key:i,path:u,rules:o,state:a})=>{u.length||e!=null&&e.source||(n=s);const c=S=>{var $;const O=io(u);O?t.set(...O):($=e==null?void 0:e.onMergeError)===null||$===void 0||$.call(e,Gr(),u,S)},l=()=>{const{node:S}=a,$=rt(u);if(t.has($)){const O=t.get($),x=S[i];Array.isArray(x)&&(x.length<2&&c((s==null?void 0:s.allOf)||[]),x.splice(O,1))}};if(!W(s)||Array.isArray(s))return{exitHook:l};if(!(S=>!!S&&S["/allOf"]&&"$"in S["/allOf"])(o))return{exitHook:l};const{allOf:h}=s,p=fe(s,["allOf"]),f=[];if(Array.isArray(h)&&f.push(...h),f.length)Object.keys(p).length&&f.push(p);else{const{$ref:S}=p,$=fe(p,["$ref"]);if(e!=null&&e.mergeRefSibling&&S&&Object.keys($).length>0)f.push({$ref:S},$);else if(e!=null&&e.mergeCombinarySibling){if(Jt(p)&&o["/anyOf"])return{value:Se(p,"anyOf",o["/anyOf"]),exitHook:l};if(Gt(p)&&o["/oneOf"])return{value:Se(p,"oneOf",o["/oneOf"]),exitHook:l}}}if(!f.length)return{value:p,exitHook:l};const{allOfItems:g,brokenRefs:y}=wn(f,u,n,r);if(y.length)return y.forEach(S=>{var $;return($=e==null?void 0:e.onRefResolveError)===null||$===void 0?void 0:$.call(e,"Cannot resolve $ref",u,S)}),{value:{allOf:g},exitHook:l};if(g.length<2)return{value:g.length?g[0]:{},exitHook:l};const b=ge(g,{allOfItems:g,mergeRules:o,mergeError:c});return e!=null&&e.mergeCombinarySibling&&Jt(b)?{value:Se(b,"anyOf",o["/anyOf"]),exitHook:l}:e!=null&&e.mergeCombinarySibling&&Gt(b)?{value:Se(b,"oneOf",o["/oneOf"]),exitHook:l}:{value:b,exitHook:l}}},io=e=>{for(let t=e.length-2;t>=0;t--)if(e[t]==="anyOf"||e[t]==="oneOf"){const n=e.slice(0,t+1);return[rt(n),e[t+1]]}},uo=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212","descriptionForeground":"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#181818","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212","errorForeground":"#cb7676","focusBorder":"#00000000","foreground":"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"Vitesse Dark","name":"vitesse-dark","semanticHighlighting":true,"semanticTokenColors":{"class":"#6872ab","interface":"#5d99a9","namespace":"#db889a","property":"#b8a965","type":"#5d99a9"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#758575dd"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#666666"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#c99076"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#80a665"}},{"scope":"variable.parameter.function","settings":{"foreground":"#dbd7caee"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#4d9375"}},{"scope":"entity.name.function","settings":{"foreground":"#80a665"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#4d9375"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#cb7676"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#dbd7caee"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#c98a7d"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#c98a7d77"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#b8a96577"}},{"scope":"support","settings":{"foreground":"#b8a965"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#b8a965"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#bd976a"}},{"scope":["variable","identifier"],"settings":{"foreground":"#bd976a"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#5DA994"}},{"scope":"namespace","settings":{"foreground":"#db889a"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#cb7676"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#c98a7d"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#c4704f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#c98a7d"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#e6cc77"}},{"scope":["support.constant"],"settings":{"foreground":"#c99076"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#4C9A91"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#cb7676"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#4d9375"}},{"scope":"meta.module-reference","settings":{"foreground":"#4d9375"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#d4976c"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#4d9375"}},{"scope":"markup.quote","settings":{"foreground":"#5d99a9"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#dbd7caee"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#dbd7caee"}},{"scope":"markup.raw","settings":{"foreground":"#4d9375"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#c98a7d"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#dedcd590"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#6872ab"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#80a665"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"dark"}')),co=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#1c6b48","activityBar.background":"#ffffff","activityBar.border":"#f0f0f0","activityBar.foreground":"#393a34","activityBar.inactiveForeground":"#393a3450","activityBarBadge.background":"#4e4f47","activityBarBadge.foreground":"#ffffff","badge.background":"#393a3490","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#22222218","breadcrumb.background":"#f7f7f7","breadcrumb.focusForeground":"#393a34","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#ffffff","button.background":"#1c6b48","button.foreground":"#ffffff","button.hoverBackground":"#1c6b48","checkbox.background":"#f7f7f7","checkbox.border":"#d1d5da","debugToolBar.background":"#ffffff","descriptionForeground":"#393a3490","diffEditor.insertedTextBackground":"#1c6b4830","diffEditor.removedTextBackground":"#ab595940","dropdown.background":"#ffffff","dropdown.border":"#f0f0f0","dropdown.foreground":"#393a34","dropdown.listBackground":"#f7f7f7","editor.background":"#ffffff","editor.findMatchBackground":"#e6cc7744","editor.findMatchHighlightBackground":"#e6cc7766","editor.focusedStackFrameHighlightBackground":"#fff5b1","editor.foldBackground":"#22222210","editor.foreground":"#393a34","editor.inactiveSelectionBackground":"#22222210","editor.lineHighlightBackground":"#f7f7f7","editor.selectionBackground":"#22222218","editor.selectionHighlightBackground":"#22222210","editor.stackFrameHighlightBackground":"#fffbdd","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#2993a3","editorBracketHighlight.foreground2":"#1e754f","editorBracketHighlight.foreground3":"#a65e2b","editorBracketHighlight.foreground4":"#a13865","editorBracketHighlight.foreground5":"#bda437","editorBracketHighlight.foreground6":"#296aa3","editorBracketMatch.background":"#1c6b4820","editorError.foreground":"#ab5959","editorGroup.border":"#f0f0f0","editorGroupHeader.tabsBackground":"#ffffff","editorGroupHeader.tabsBorder":"#f0f0f0","editorGutter.addedBackground":"#1e754f","editorGutter.commentRangeForeground":"#393a3450","editorGutter.deletedBackground":"#ab5959","editorGutter.foldingControlForeground":"#393a3490","editorGutter.modifiedBackground":"#296aa3","editorHint.foreground":"#1e754f","editorIndentGuide.activeBackground":"#00000030","editorIndentGuide.background":"#00000015","editorInfo.foreground":"#296aa3","editorInlayHint.background":"#f7f7f7","editorInlayHint.foreground":"#999999","editorLineNumber.activeForeground":"#4e4f47","editorLineNumber.foreground":"#393a3450","editorOverviewRuler.border":"#fff","editorStickyScroll.background":"#f7f7f7","editorStickyScrollHover.background":"#f7f7f7","editorWarning.foreground":"#a65e2b","editorWhitespace.foreground":"#00000015","editorWidget.background":"#ffffff","errorForeground":"#ab5959","focusBorder":"#00000000","foreground":"#393a34","gitDecoration.addedResourceForeground":"#1e754f","gitDecoration.conflictingResourceForeground":"#a65e2b","gitDecoration.deletedResourceForeground":"#ab5959","gitDecoration.ignoredResourceForeground":"#393a3450","gitDecoration.modifiedResourceForeground":"#296aa3","gitDecoration.submoduleResourceForeground":"#393a3490","gitDecoration.untrackedResourceForeground":"#2993a3","input.background":"#f7f7f7","input.border":"#f0f0f0","input.foreground":"#393a34","input.placeholderForeground":"#393a3490","inputOption.activeBackground":"#393a3450","list.activeSelectionBackground":"#f7f7f7","list.activeSelectionForeground":"#393a34","list.focusBackground":"#f7f7f7","list.highlightForeground":"#1c6b48","list.hoverBackground":"#f7f7f7","list.hoverForeground":"#393a34","list.inactiveFocusBackground":"#ffffff","list.inactiveSelectionBackground":"#f7f7f7","list.inactiveSelectionForeground":"#393a34","menu.separatorBackground":"#f0f0f0","notificationCenterHeader.background":"#ffffff","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#ffffff","notifications.border":"#f0f0f0","notifications.foreground":"#393a34","notificationsErrorIcon.foreground":"#ab5959","notificationsInfoIcon.foreground":"#296aa3","notificationsWarningIcon.foreground":"#a65e2b","panel.background":"#ffffff","panel.border":"#f0f0f0","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#1c6b48","panelTitle.activeForeground":"#393a34","panelTitle.inactiveForeground":"#6a737d","peekViewEditor.background":"#ffffff","peekViewResult.background":"#ffffff","pickerGroup.border":"#f0f0f0","pickerGroup.foreground":"#393a34","problemsErrorIcon.foreground":"#ab5959","problemsInfoIcon.foreground":"#296aa3","problemsWarningIcon.foreground":"#a65e2b","progressBar.background":"#1c6b48","quickInput.background":"#ffffff","quickInput.foreground":"#393a34","quickInputList.focusBackground":"#f7f7f7","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#393a3450","scrollbarSlider.background":"#393a3410","scrollbarSlider.hoverBackground":"#393a3450","settings.headerForeground":"#393a34","settings.modifiedItemIndicator":"#1c6b48","sideBar.background":"#ffffff","sideBar.border":"#f0f0f0","sideBar.foreground":"#4e4f47","sideBarSectionHeader.background":"#ffffff","sideBarSectionHeader.border":"#f0f0f0","sideBarSectionHeader.foreground":"#393a34","sideBarTitle.foreground":"#393a34","statusBar.background":"#ffffff","statusBar.border":"#f0f0f0","statusBar.debuggingBackground":"#f7f7f7","statusBar.debuggingForeground":"#4e4f47","statusBar.foreground":"#4e4f47","statusBar.noFolderBackground":"#ffffff","statusBarItem.prominentBackground":"#f7f7f7","tab.activeBackground":"#ffffff","tab.activeBorder":"#f0f0f0","tab.activeBorderTop":"#393a3490","tab.activeForeground":"#393a34","tab.border":"#f0f0f0","tab.hoverBackground":"#f7f7f7","tab.inactiveBackground":"#ffffff","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#f0f0f0","tab.unfocusedActiveBorderTop":"#f0f0f0","tab.unfocusedHoverBackground":"#ffffff","terminal.ansiBlack":"#121212","terminal.ansiBlue":"#296aa3","terminal.ansiBrightBlack":"#aaaaaa","terminal.ansiBrightBlue":"#296aa3","terminal.ansiBrightCyan":"#2993a3","terminal.ansiBrightGreen":"#1e754f","terminal.ansiBrightMagenta":"#a13865","terminal.ansiBrightRed":"#ab5959","terminal.ansiBrightWhite":"#dddddd","terminal.ansiBrightYellow":"#bda437","terminal.ansiCyan":"#2993a3","terminal.ansiGreen":"#1e754f","terminal.ansiMagenta":"#a13865","terminal.ansiRed":"#ab5959","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#bda437","terminal.foreground":"#393a34","terminal.selectionBackground":"#22222218","textBlockQuote.background":"#ffffff","textBlockQuote.border":"#f0f0f0","textCodeBlock.background":"#ffffff","textLink.activeForeground":"#1c6b48","textLink.foreground":"#1c6b48","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#ffffff","titleBar.activeForeground":"#4e4f47","titleBar.border":"#f7f7f7","titleBar.inactiveBackground":"#ffffff","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"Vitesse Light","name":"vitesse-light","semanticHighlighting":true,"semanticTokenColors":{"class":"#5a6aa6","interface":"#2e808f","namespace":"#b05a78","property":"#998418","type":"#2e808f"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#a0ada0"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#999999"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#a65e2b"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#59873a"}},{"scope":"variable.parameter.function","settings":{"foreground":"#393a34"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#1e754f"}},{"scope":"entity.name.function","settings":{"foreground":"#59873a"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#1e754f"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#ab5959"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#393a34"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#b56959"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#b5695977"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#99841877"}},{"scope":"support","settings":{"foreground":"#998418"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#998418"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#b07d48"}},{"scope":["variable","identifier"],"settings":{"foreground":"#b07d48"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#2e8f82"}},{"scope":"namespace","settings":{"foreground":"#b05a78"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#ab5959"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#b56959"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#ab5e3f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#b56959"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#bda437"}},{"scope":["support.constant"],"settings":{"foreground":"#a65e2b"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#2f798a"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#ab5959"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#1e754f"}},{"scope":"meta.module-reference","settings":{"foreground":"#1c6b48"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#a65e2b"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#1c6b48"}},{"scope":"markup.quote","settings":{"foreground":"#2e808f"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#393a34"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#393a34"}},{"scope":"markup.raw","settings":{"foreground":"#1c6b48"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#b56959"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#393a3490"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#5a6aa6"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#59873a"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"light"}'));function lo(e){return k.getCurrentScope()?(k.onScopeDispose(e),!0):!1}const _e=new WeakMap,fo=(...e)=>{var t;const n=e[0],r=(t=k.getCurrentInstance())==null?void 0:t.proxy;if(r==null&&!k.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&_e.has(r)&&n in _e.get(r)?_e.get(r)[n]:k.inject(...e)},po=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ho=e=>typeof e<"u",go=Object.prototype.toString,mo=e=>go.call(e)==="[object Object]",bo=()=>{};function yo(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const Pn=e=>e();function So(e=Pn,t={}){const{initialState:n="active"}=t,r=Cn(n==="active");function s(){r.value=!1}function i(){r.value=!0}const u=(...o)=>{r.value&&e(...o)};return{isActive:k.readonly(r),pause:s,resume:i,eventFilter:u}}function Kt(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function $o(e){return k.getCurrentInstance()}function De(e){return Array.isArray(e)?e:[e]}function Cn(...e){if(e.length!==1)return k.toRef(...e);const t=e[0];return typeof t=="function"?k.readonly(k.customRef(()=>({get:t,set:bo}))):k.ref(t)}function ko(e,t,n={}){const{eventFilter:r=Pn,...s}=n;return k.watch(e,yo(r,t),s)}function vo(e,t,n={}){const{eventFilter:r,initialState:s="active",...i}=n,{eventFilter:u,pause:o,resume:a,isActive:c}=So(r,{initialState:s});return{stop:ko(e,t,{...i,eventFilter:u}),pause:o,resume:a,isActive:c}}function xn(e,t=!0,n){$o()?k.onMounted(e,n):t?e():k.nextTick(e)}function To(e,t,n){return k.watch(e,t,{...n,immediate:!0})}const pe=po?window:void 0;function Rn(e){var t;const n=k.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ze(...e){const t=[],n=()=>{t.forEach(o=>o()),t.length=0},r=(o,a,c,l)=>(o.addEventListener(a,c,l),()=>o.removeEventListener(a,c,l)),s=k.computed(()=>{const o=De(k.toValue(e[0])).filter(a=>a!=null);return o.every(a=>typeof a!="string")?o:void 0}),i=To(()=>{var o,a;return[(a=(o=s.value)==null?void 0:o.map(c=>Rn(c)))!=null?a:[pe].filter(c=>c!=null),De(k.toValue(s.value?e[1]:e[0])),De(k.unref(s.value?e[2]:e[1])),k.toValue(s.value?e[3]:e[2])]},([o,a,c,l])=>{if(n(),!(o!=null&&o.length)||!(a!=null&&a.length)||!(c!=null&&c.length))return;const h=mo(l)?{...l}:l;t.push(...o.flatMap(p=>a.flatMap(f=>c.map(g=>r(p,f,g,h)))))},{flush:"post"}),u=()=>{i(),n()};return lo(n),u}function Oo(){const e=k.shallowRef(!1),t=k.getCurrentInstance();return t&&k.onMounted(()=>{e.value=!0},t),e}function Eo(e){const t=Oo();return k.computed(()=>(t.value,!!e()))}const wo=Symbol("vueuse-ssr-width");function jo(){const e=k.hasInjectionContext()?fo(wo,null):null;return typeof e=="number"?e:void 0}function Po(e,t={}){const{window:n=pe,ssrWidth:r=jo()}=t,s=Eo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=k.shallowRef(typeof r=="number"),u=k.shallowRef(),o=k.shallowRef(!1),a=c=>{o.value=c.matches};return k.watchEffect(()=>{if(i.value){i.value=!s.value;const c=k.toValue(e).split(",");o.value=c.some(l=>{const h=l.includes("not all"),p=l.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),f=l.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(p||f);return p&&g&&(g=r>=Kt(p[1])),f&&g&&(g=r<=Kt(f[1])),h?!g:g});return}s.value&&(u.value=n.matchMedia(k.toValue(e)),o.value=u.value.matches)}),ze(u,"change",a,{passive:!0}),k.computed(()=>o.value)}function Co(e){return JSON.parse(JSON.stringify(e))}const $e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ke="__vueuse_ssr_handlers__",xo=Ro();function Ro(){return ke in $e||($e[ke]=$e[ke]||{}),$e[ke]}function Bn(e,t){return xo[e]||t}function Bo(e){return Po("(prefers-color-scheme: dark)",e)}function Ao(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Lo={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Qt="vueuse-storage";function An(e,t,n,r={}){var s;const{flush:i="pre",deep:u=!0,listenToStorageChanges:o=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:l,window:h=pe,eventFilter:p,onError:f=C=>{console.error(C)},initOnMounted:g}=r,y=(l?k.shallowRef:k.ref)(typeof t=="function"?t():t),b=k.computed(()=>k.toValue(e));if(!n)try{n=Bn("getDefaultStorage",()=>{var C;return(C=pe)==null?void 0:C.localStorage})()}catch(C){f(C)}if(!n)return y;const S=k.toValue(t),$=Ao(S),O=(s=r.serializer)!=null?s:Lo[$],{pause:x,resume:v}=vo(y,()=>w(y.value),{flush:i,deep:u,eventFilter:p});k.watch(b,()=>j(),{flush:i}),h&&o&&xn(()=>{n instanceof Storage?ze(h,"storage",j,{passive:!0}):ze(h,Qt,R),g&&j()}),g||j();function E(C,B){if(h){const A={key:b.value,oldValue:C,newValue:B,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",A):new CustomEvent(Qt,{detail:A}))}}function w(C){try{const B=n.getItem(b.value);if(C==null)E(B,null),n.removeItem(b.value);else{const A=O.write(C);B!==A&&(n.setItem(b.value,A),E(B,A))}}catch(B){f(B)}}function P(C){const B=C?C.newValue:n.getItem(b.value);if(B==null)return a&&S!=null&&n.setItem(b.value,O.write(S)),S;if(!C&&c){const A=O.read(B);return typeof c=="function"?c(A,S):$==="object"&&!Array.isArray(A)?{...S,...A}:A}else return typeof B!="string"?B:O.read(B)}function j(C){if(!(C&&C.storageArea!==n)){if(C&&C.key==null){y.value=S;return}if(!(C&&C.key!==b.value)){x();try{(C==null?void 0:C.newValue)!==O.write(y.value)&&(y.value=P(C))}catch(B){f(B)}finally{C?k.nextTick(v):v()}}}}function R(C){j(C.detail)}return y}const No="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Io(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=pe,storage:i,storageKey:u="vueuse-color-scheme",listenToStorageChanges:o=!0,storageRef:a,emitAuto:c,disableTransition:l=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},p=Bo({window:s}),f=k.computed(()=>p.value?"dark":"light"),g=a||(u==null?Cn(r):An(u,r,i,{window:s,listenToStorageChanges:o})),y=k.computed(()=>g.value==="auto"?f.value:g.value),b=Bn("updateHTMLAttrs",(x,v,E)=>{const w=typeof x=="string"?s==null?void 0:s.document.querySelector(x):Rn(x);if(!w)return;const P=new Set,j=new Set;let R=null;if(v==="class"){const B=E.split(/\s/g);Object.values(h).flatMap(A=>(A||"").split(/\s/g)).filter(Boolean).forEach(A=>{B.includes(A)?P.add(A):