PageSourceSearch

https://www.zym87.com/plugins/PluginCommentWidget/assets/static/5545.fb4d9dc7.js

js zym87.com collected 2026-10-04 01:45:00 UTC 150,154 bytes, 1 lines download raw bytes

1export const __webpack_id__="5545";export const __webpack_ids__=["5545"];export const __webpack_modules__={
1"../comment-widget/dist/bundle-full-OJ0Ij0bd.js":function(e,t,n){let i,r,s,a,o;n.d(t,{b:()=>nx,c:()=>nA,d:()=>ng,f:()=>np});var l,d,c=n("../comment-widget/dist/chunk-DuVAkD1E.js"),u=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function m(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}var h=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,p=class{static hasCaptures(e){return null!==e&&(h.lastIndex=0,h.test(e))}static replaceCaptures(e,t,n){return e.replace(h,(e,i,r,s)=>{let a=n[parseInt(i||r,10)];if(!a)return e;{let e=t.substring(a.start,a.end);for(;"."===e[0];)e=e.substring(1);switch(s){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}})}};function g(e,t){if(null===e&&null===t)return 0;if(!e)return -1;if(!t)return 1;let n=e.length,i=t.length;if(n===i){for(let i=0;i<n;i++){var r,s;let n=(r=e[i],r<(s=t[i])?-1:+(r>s));if(0!==n)return n}return 0}return n-i}function f(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function b(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var y=class{constructor(e){this.cache=new Map,this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},w=class{constructor(e,t,n){this._cachedMatchRoot=new y(e=>this._root.match(e)),this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(function(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],i=0;for(let e=0,r=t.length;e<r;e++){let r,s=t[e];if(!s.settings)continue;if("string"==typeof s.scope){let e=s.scope;r=(e=(e=e.replace(/^[,]+/,"")).replace(/[,]+$/,"")).split(",")}else r=Array.isArray(s.scope)?s.scope:[""];let a=-1;if("string"==typeof s.settings.fontStyle){a=0;let e=s.settings.fontStyle.split(" ");for(let t=0,n=e.length;t<n;t++)switch(e[t]){case"italic":a|=1;break;case"bold":a|=2;break;case"underline":a|=4;break;case"strikethrough":a|=8}}let o=null;"string"==typeof s.settings.foreground&&f(s.settings.foreground)&&(o=s.settings.foreground);let l=null;"string"==typeof s.settings.background&&f(s.settings.background)&&(l=s.settings.background);for(let t=0,s=r.length;t<s;t++){let s=r[t].trim().split(" "),d=s[s.length-1],c=null;s.length>1&&(c=s.slice(0,s.length-1)).reverse(),n[i++]=new S(d,c,e,a,o,l)}}return n}(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort((e,t)=>{var n,i;let r=(n=e.scope,n<(i=t.scope)?-1:+(n>i));return 0!==r||0!==(r=g(e.parentScopes,t.parentScopes))?r:e.index-t.index});let n=0,i="#000000",r="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(i=t.foreground),null!==t.background&&(r=t.background)}let s=new C(t),a=new _(n,s.getId(i),s.getId(r)),o=new N(new P(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];o.insert(0,n.scope,n.parentScopes,n.fontStyle,s.getId(n.foreground),s.getId(n.background))}return new w(s,a,o)}(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(null===e)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>(function(e,t){if(0===t.length)return!0;for(let r=0;r<t.length;r++){var n,i;let s=t[r],a=!1;if(">"===s){if(r===t.length-1)return!1;s=t[++r],a=!0}for(;e&&(n=e.scopeName,!((i=s)===n||n.startsWith(i)&&"."===n[i.length]));){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0})(e.parent,t.parentScopes));return n?new _(n.fontStyle,n.foreground,n.background):null}},k=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let i of n)t=new e(t,i);return t}static from(...t){let n=null;for(let i=0;i<t.length;i++)n=new e(n,t[i]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e||null!==this.parent&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}},_=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}},S=class{constructor(e,t,n,i,r,s){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=i,this.foreground=r,this.background=s}},v=((l=v||{})[l.NotSet=-1]="NotSet",l[l.None=0]="None",l[l.Italic=1]="Italic",l[l.Bold=2]="Bold",l[l.Underline=4]="Underline",l[l.Strikethrough=8]="Strikethrough",l),C=class{constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(null===e)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},j=Object.freeze([]),P=class e{constructor(e,t,n,i,r){this.scopeDepth=e,this.parentScopes=t||j,this.fontStyle=n,this.foreground=i,this.background=r}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,i=e.length;n<i;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,i){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,-1!==t&&(this.fontStyle=t),0!==n&&(this.foreground=n),0!==i&&(this.background=i)}},N=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,i=0;for(;">"===e.parentScopes[n]&&n++,">"===t.parentScopes[i]&&i++,!(n>=e.parentScopes.length)&&!(i>=t.parentScopes.length);){let r=t.parentScopes[i].length-e.parentScopes[n].length;if(0!==r)return r;n++,i++}return t.parentScopes.length-e.parentScopes.length}match(t){if(""!==t){let e,n,i=t.indexOf(".");if(-1===i?(e=t,n=""):(e=t.substring(0,i),n=t.substring(i+1)),this._children.hasOwnProperty(e))return this._children[e].match(n)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,i,r,s,a){let o,l,d;if(""===n)return void this._doInsertHere(t,i,r,s,a);let c=n.indexOf(".");-1===c?(o=n,l=""):(o=n.substring(0,c),l=n.substring(c+1)),this._children.hasOwnProperty(o)?d=this._children[o]:(d=new e(this._mainRule.clone(),P.cloneArr(this._rulesWithParentScopes)),this._children[o]=d),d.insert(t+1,l,i,r,s,a)}_doInsertHere(e,t,n,i,r){if(null===t)return void this._mainRule.acceptOverwrite(e,n,i,r);for(let s=0,a=this._rulesWithParentScopes.length;s<a;s++){let a=this._rulesWithParentScopes[s];if(0===g(a.parentScopes,t))return void a.acceptOverwrite(e,n,i,r)}-1===n&&(n=this._mainRule.fontStyle),0===i&&(i=this._mainRule.foreground),0===r&&(r=this._mainRule.background),this._rulesWithParentScopes.push(new P(e,t,n,i,r))}},A=class e{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}
1static print(t){let n=e.getLanguageId(t),i=e.getTokenType(t),r=e.getFontStyle(t);console.log({languageId:n,tokenType:i,fontStyle:r,foreground:e.getForeground(t),background:e.getBackground(t)})}static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(0xff8000&e)>>>15}static getBackground(e){return(0xff000000&e)>>>24}static set(t,n,i,r,s,a,o){let l=e.getLanguageId(t),d=e.getTokenType(t),c=+!!e.containsBalancedBrackets(t),u=e.getFontStyle(t),m=e.getForeground(t),h=e.getBackground(t);return 0!==n&&(l=n),8!==i&&(d=i),null!==r&&(c=+!!r),-1!==s&&(u=s),0!==a&&(m=a),0!==o&&(h=o),(l|d<<8|c<<10|u<<11|m<<15|h<<24)>>>0}};function x(e,t){var n;let i,r,s=[],a=(n=e,r=(i=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g).exec(n),{next:()=>{if(!r)return null;let e=r[0];return r=i.exec(n),e}}),o=a.next();for(;null!==o;){let e=0;if(2===o.length&&":"===o.charAt(1)){switch(o.charAt(0)){case"R":e=1;break;case"L":e=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=a.next()}let t=d();if(s.push({matcher:t,priority:e}),","!==o)break;o=a.next()}return s;function l(){if("-"===o){o=a.next();let e=l();return t=>!!e&&!e(t)}if("("===o){o=a.next();let e=function(){let e=[],t=d();for(;t&&(e.push(t),"|"===o||","===o);){do o=a.next();while("|"===o||","===o);t=d()}return t=>e.some(e=>e(t))}();return")"===o&&(o=a.next()),e}if(L(o)){let e=[];do e.push(o),o=a.next();while(L(o));return n=>t(e,n)}return null}function d(){let e=[],t=l();for(;t;)e.push(t),t=l();return t=>e.every(e=>e(t))}}function L(e){return!!e&&!!e.match(/[\w\.:]+/)}function T(e){"function"==typeof e.dispose&&e.dispose()}var R=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},B=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},D=class{get references(){return this._references}add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}},E=class{constructor(e,t){this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new R(this.initialScopeName)]}processQueue(){let e=this.Q;this.Q=[];let t=new D;for(let n of e)!function(e,t,n,i){let r=n.lookup(e.scopeName);if(!r){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let s=n.lookup(t);e instanceof R?M({baseGrammar:s,selfGrammar:r},i):O(e.ruleName,{baseGrammar:s,selfGrammar:r,repository:r.repository},i);let a=n.injections(e.scopeName);if(a)for(let e of a)i.add(new R(e))}(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof R){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function O(e,t,n){t.repository&&t.repository[e]&&I([t.repository[e]],t,n)}function M(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&I(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&I(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function I(e,t,n){for(let i of e){if(n.visitedRule.has(i))continue;n.visitedRule.add(i);let e=i.repository?m({},t.repository,i.repository):t.repository;Array.isArray(i.patterns)&&I(i.patterns,{...t,repository:e},n);let r=i.include;if(!r)continue;let s=$(r);switch(s.kind){case 0:M({...t,selfGrammar:t.baseGrammar},n);break;case 1:M(t,n);break;case 2:O(s.ruleName,{...t,repository:e},n);break;case 3:case 4:let a=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){let i={baseGrammar:t.baseGrammar,selfGrammar:a,repository:e};4===s.kind?O(s.ruleName,i,n):M(i,n)}else 4===s.kind?n.add(new B(s.scopeName,s.ruleName)):n.add(new R(s.scopeName))}}}var G=class{constructor(){this.kind=0}},U=class{constructor(){this.kind=1}
1},F=class{constructor(e){this.kind=2,this.ruleName=e}},q=class{constructor(e){this.kind=3,this.scopeName=e}},W=class{constructor(e,t){this.kind=4,this.scopeName=e,this.ruleName=t}};function $(e){if("$base"===e)return new G;if("$self"===e)return new U;let t=e.indexOf("#");return -1===t?new q(e):0===t?new F(e.substring(1)):new W(e.substring(0,t),e.substring(t+1))}var z=/\\(\d+)/,H=/\\(\d+)/g;Symbol("RuleId");var V=class{constructor(e,t,n,i){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=p.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=p.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${function e(t){let n=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===n?t:~n==t.length-1?e(t.substring(0,t.length-1)):t.substr(~n+1)}(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return this._nameIsCapturing&&null!==this._name&&null!==e&&null!==t?p.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?p.replaceCaptures(this._contentName,e,t):this._contentName}},K=class extends V{constructor(e,t,n,i,r){super(e,t,n,i),this.retokenizeCapturedWithRuleId=r}dispose(){}collectPatterns(e,t){throw Error("Not supported!")}compile(e,t){throw Error("Not supported!")}compileAG(e,t,n,i){throw Error("Not supported!")}},Y=class extends V{constructor(e,t,n,i,r){super(e,t,n,null),this._match=new ee(i,this.id),this.captures=r,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new et,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Z=class extends V{constructor(e,t,n,i,r){super(e,t,n,i),this.patterns=r.patterns,this.hasMissingPatterns=r.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new et,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Q=class extends V{constructor(e,t,n,i,r,s,a,o,l,d){super(e,t,n,i),this._begin=new ee(r,this.id),this.beginCaptures=s,this._end=new ee(a||"ï¿¿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!1,this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,i)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){for(let t of(this._cachedCompiledPatterns=new et,this.patterns))e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},X=class extends V{constructor(e,t,n,i,r,s,a,o,l){super(e,t,n,i),this._begin=new ee(r,this.id),this.beginCaptures=s,this.whileCaptures=o,this._while=ne
1w ee(a,-2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns)for(let t of(this._cachedCompiledPatterns=new et,this.patterns))e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,i){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,i)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new et,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"ï¿¿"),this._cachedCompiledWhilePatterns}
1},J=class e{static createCaptureRule(e,t,n,i,r){return e.registerRule(e=>new K(t,e,n,i,r))}static getCompiledRuleId(t,n,i){return t.id||n.registerRule(r=>{if(t.id=r,t.match)return new Y(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,i));if(void 0===t.begin){t.repository&&(i=m({},i,t.repository));let r=t.patterns;return void 0===r&&t.include&&(r=[{include:t.include}]),new Z(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(r,n,i))}return t.while?new X(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,i),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,i),e._compilePatterns(t.patterns,n,i)):new Q(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,i),t.end,e._compileCaptures(t.endCaptures||t.captures,n,i),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,i))}),t.id}static _compileCaptures(t,n,i){let r=[];if(t){let s=0;for(let e in t){if("$vscodeTextmateLocation"===e)continue;let t=parseInt(e,10);t>s&&(s=t)}for(let e=0;e<=s;e++)r[e]=null;for(let s in t){if("$vscodeTextmateLocation"===s)continue;let a=parseInt(s,10),o=0;t[s].patterns&&(o=e.getCompiledRuleId(t[s],n,i)),r[a]=e.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,o)}}return r}static _compilePatterns(t,n,i){let r=[];if(t)for(let s=0,a=t.length;s<a;s++){let a=t[s],o=-1;if(a.include){let t=$(a.include);switch(t.kind){case 0:case 1:o=e.getCompiledRuleId(i[a.include],n,i);break;case 2:let r=i[t.ruleName];r&&(o=e.getCompiledRuleId(r,n,i));break;case 3:case 4:let s=t.scopeName,l=4===t.kind?t.ruleName:null,d=n.getExternalGrammar(s,i);if(d)if(l){let t=d.repository[l];t&&(o=e.getCompiledRuleId(t,n,d.repository))}else o=e.getCompiledRuleId(d.repository.$self,n,d.repository)}}else o=e.getCompiledRuleId(a,n,i);if(-1!==o){let e=n.getRule(o),t=!1;if((e instanceof Z||e instanceof Q||e instanceof X)&&e.hasMissingPatterns&&0===e.patterns.length&&(t=!0),t)continue;r.push(o)}}return{patterns:r,hasMissingPatterns:(t?t.length:0)!==r.length}}},ee=class e{constructor(e,t){if(e&&"string"==typeof e){let t=e.length,n=0,i=[],r=!1;for(let s=0;s<t;s++)if("\\"===e.charAt(s)&&s+1<t){let t=e.charAt(s+1);"z"===t?(i.push(e.substring(n,s)),i.push("$(?!\\n)(?<!\\n)"),n=s+2):("A"===t||"G"===t)&&(r=!0),s++}this.hasAnchor=r,0===n?this.source=e:(i.push(e.substring(n,t)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,"string"==typeof this.source?this.hasBackReferences=z.test(this.source):this.hasBackReferences=!1}clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let n=t.map(t=>e.substring(t.start,t.end));return H.lastIndex=0,this.source.replace(H,(e,t)=>b(n[parseInt(t,10)]||""))}_buildAnchorCache(){let e,t,n,i;if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let r=[],s=[],a=[],o=[];for(e=0,t=this.source.length;e<t;e++)n=this.source.charAt(e),r[e]=n,s[e]=n,a[e]=n,o[e]=n,"\\"===n&&e+1<t&&("A"===(i=this.source.charAt(e+1))?(r[e+1]="ï¿¿",s[e+1]="ï¿¿",a[e+1]="A",o[e+1]="A"):"G"===i?(r[e+1]="ï¿¿",s[e+1]="G",a[e+1]="ï¿¿",o[e+1]="G"):(r[e+1]=i,s[e+1]=i,a[e+1]=i,o[e+1]=i),e++);return{A0_G0:r.join(""),A0_G1:s.join(""),A1_G0:a.join(""),A1_G1:o.join("")}}resolveAnchors(e,t){if(!this.hasAnchor||!this._anchorCache||"string"!=typeof this.source)return this.source;if(e)if(t)return this._anchorCache.A1_G1;else return this._anchorCache.A1_G0;return t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},et=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}
1push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new en(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){if(!this._hasAnchors)return this.compile(e);if(t)if(n)return this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1;else return this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0;return n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0)}_resolveAnchors(e,t,n){return new en(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},en=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push("   - "+this.rules[t]+": "+this.regExps[t]);return e.join("\n")}findNextMatchSync(e,t,n){let i=this.scanner.findNextMatchSync(e,t,n);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},ei=class{constructor(e,t){this.languageId=e,this.tokenType=t}},er=class e{constructor(e,t){this._getBasicScopeAttributes=new y(e=>new ei(this._scopeToLanguage(e),this._toStandardTokenType(e))),this._defaultAttributes=new ei(e,8),this._embeddedLanguagesMatcher=new es(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return null===t?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static{this._NULL_SCOPE_METADATA=new ei(0,0)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw Error("Unexpected match for standard token type!")}static{this.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}},es=class{constructor(e){if(0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>b(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};"undefined"!=typeof process&&process.env.VSCODE_TEXTMATE_DEBUG;var ea=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function eo(e,t,n,i,r,s,a,o){let l=t.content.length,d=!1,c=-1;if(a){let a=function(e,t,n,i,r,s){let a=r.beginRuleCapturedEOL?0:-1,o=[];for(let t=r;t;t=t.pop()){let n=t.getRule(e);n instanceof X&&o.push({rule:n,stack:t})}for(let h=o.pop();h;h=o.pop()){var l,d,c,u,m;let{ruleScanner:o,findOptions:p}=(l=h.rule,d=e,c=h.stack.endRule,u=n,m=i===a,{ruleScanner:l.compileWhileAG(d,c,u,m),findOptions:0}),g=o.findNextMatchSync(t,i,p);if(g){if(-2!==g.ruleId){r=h.stack.pop();break}g.captureIndices&&g.captureIndices.length&&(s.produce(h.stack,g.captureIndices[0].start),ed(e,t,n,h.stack,s,h.rule.whileCaptures,g.captureIndices),s.produce(h.stack,g.captureIndices[0].end),a=g.captureIndices[0].end,g.captureIndices[0].end>i&&(i=g.captureIndices[0].end,n=!1))}else{r=h.stack.pop();break}}return{stack:r,linePos:i,anchorPosition:a,isFirstLine:n}}(e,t,n,i,r,s);r=a.stack,i=a.linePos,n=a.isFirstLine,c=a.anchorPosition}let u=Date.now();for(;!d;){if(0!==o&&Date.now()-u>o)return new ea(r,!0);!function(){let a=function(e,t,n,i,r,s){let a=function(e,t,n,i,r,s){let{ruleScanner:a,findOptions:o}=el(r.getRule(e),e,r.endRule,n,i===s),l=a.findNextMatchSync(t,i,o);return l?{captureIndices:l.captureIndices,matchedRuleId:l.ruleId}:null}(e,t,n,i,r,s),o=e.getInjections();if(0===o.length)return a;let l=function(e,t,n,i,r,s,a){let o,l=Number.MAX_VALUE,d=null,c=0,u=s.contentNameScopesList.getScopeNames();for(let s=0,m=e.length;s<m;s++){let m=e[s];if(!m.matcher(u))continue;let{ruleScanner:h,findOptions:p}=el(t.getRule(m.ruleId),t,null,i,r===a),g=h.findNextMatchSync(n,r,p);if(!g)continue;let f=g.captureIndices[0].start;if(!(f>=l)&&(l=f,d=g.captureIndices,o=g.ruleId,c=m.priority,l===r))break}return d?{priorityMatch:-1===c,captureIndices:d,matchedRuleId:o}:null}(o,e,t,n,i,r,s);if(!l)return a;
1if(!a)return l;let d=a.captureIndices[0].start,c=l.captureIndices[0].start;return c<d||l.priorityMatch&&c===d?l:a}(e,t,n,i,r,c);if(!a){s.produce(r,l),d=!0;return}let o=a.captureIndices,u=a.matchedRuleId,m=!!o&&o.length>0&&o[0].end>i;if(-1===u){let a=r.getRule(e);s.produce(r,o[0].start),r=r.withContentNameScopesList(r.nameScopesList),ed(e,t,n,r,s,a.endCaptures,o),s.produce(r,o[0].end);let u=r;if(r=r.parent,c=u.getAnchorPos(),!m&&u.getEnterPos()===i){r=u,s.produce(r,l),d=!0;return}}else{let a=e.getRule(u);s.produce(r,o[0].start);let h=r,p=a.getName(t.content,o),g=r.contentNameScopesList.pushAttributed(p,e);if(r=r.push(u,i,c,o[0].end===l,null,g,g),a instanceof Q){ed(e,t,n,r,s,a.beginCaptures,o),s.produce(r,o[0].end),c=o[0].end;let i=a.getContentName(t.content,o),u=g.pushAttributed(i,e);if(r=r.withContentNameScopesList(u),a.endHasBackReferences&&(r=r.withEndRule(a.getEndWithResolvedBackReferences(t.content,o))),!m&&h.hasSameRuleAs(r)){r=r.pop(),s.produce(r,l),d=!0;return}}else if(a instanceof X){ed(e,t,n,r,s,a.beginCaptures,o),s.produce(r,o[0].end),c=o[0].end;let i=a.getContentName(t.content,o),u=g.pushAttributed(i,e);if(r=r.withContentNameScopesList(u),a.whileHasBackReferences&&(r=r.withEndRule(a.getWhileWithResolvedBackReferences(t.content,o))),!m&&h.hasSameRuleAs(r)){r=r.pop(),s.produce(r,l),d=!0;return}}else if(ed(e,t,n,r,s,a.captures,o),s.produce(r,o[0].end),r=r.pop(),!m){r=r.safePop(),s.produce(r,l),d=!0;return}}o[0].end>i&&(i=o[0].end,n=!1)}()}return new ea(r,!1)}function el(e,t,n,i,r){return{ruleScanner:e.compileAG(t,n,i,r),findOptions:0}}function ed(e,t,n,i,r,s,a){if(0===s.length)return;let o=t.content,l=Math.min(s.length,a.length),d=[],c=a[0].end;for(let t=0;t<l;t++){let l=s[t];if(null===l)continue;let u=a[t];if(0===u.length)continue;if(u.start>c)break;for(;d.length>0&&d[d.length-1].endPos<=u.start;)r.produceFromScopes(d[d.length-1].scopes,d[d.length-1].endPos),d.pop();if(d.length>0?r.produceFromScopes(d[d.length-1].scopes,u.start):r.produce(i,u.start),l.retokenizeCapturedWithRuleId){let t=l.getName(o,a),s=i.contentNameScopesList.pushAttributed(t,e),d=l.getContentName(o,a),c=s.pushAttributed(d,e),m=i.push(l.retokenizeCapturedWithRuleId,u.start,-1,!1,null,s,c),h=e.createOnigString(o.substring(0,u.end));eo(e,h,n&&0===u.start,u.start,m,r,!1,0),T(h);continue}let m=l.getName(o,a);if(null!==m){let t=(d.length>0?d[d.length-1].scopes:i.contentNameScopesList).pushAttributed(m,e);d.push(new ec(t,u.end))}}for(;d.length>0;)r.produceFromScopes(d[d.length-1].scopes,d[d.length-1].endPos),d.pop()}var ec=class{constructor(e,t){this.scopes=e,this.endPos=t}};function eu(e,t,n,i,r){let s=x(t,em),a=J.getCompiledRuleId(n,i,r.repository);for(let n of s)e.push({debugSelector:t,matcher:n.matcher,ruleId:a,grammar:r,priority:n.priority})}function em(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let i=n;i<t.length;i++)if(function(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&"."===e[n]}(t[i],e))return n=i+1,!0;return!1})}var eh=class{constructor(e,t,n,i,r,s,a,o){if(this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=o,this._basicScopeAttributesProvider=new er(n,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=ep(t,null),this._injections=null,this._tokenTypeMatchers=[],r)for(let e of Object.keys(r))for(let t of x(e,em))this._tokenTypeMatchers.push({matcher:t.matcher,type:r[e]})}get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e=[],t=this._rootScopeName,n=({lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)}).lookup(t);if(n){let i=n.injections;if(i)for(let t in i)eu(e,t,i[t],this,n);let r=this._grammarRepository.injections(t);r&&r.forEach(t=>{let n=this.getExternalGrammar(t);if(n){let t=n.injectionSelector;t&&eu(e,t,n,this,n)}})}return e.sort((e,t)=>
1e.priority-t.priority),e}getInjections(){return null===this._injections&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=ep(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let i=this._tokenize(e,t,!1,n);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(e,t,n=0){let i=this._tokenize(e,t,!0,n);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(e,t,n,i){let r;if(-1===this._rootId&&(this._rootId=J.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),t&&t!==ef.NULL)r=!1,t.reset();else{let e;r=!0;let n=this._basicScopeAttributesProvider.getDefaultAttributes(),i=this.themeProvider.getDefaults(),s=A.set(0,n.languageId,n.tokenType,null,i.fontStyle,i.foregroundId,i.backgroundId),a=this.getRule(this._rootId).getName(null,null);e=a?eg.createRootAndLookUpScopeName(a,s,this):eg.createRoot("unknown",s),t=new ef(null,this._rootId,-1,-1,!1,null,e,e)}e+="\n";let s=this.createOnigString(e),a=s.content.length,o=new ey(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=eo(this,s,r,0,t,o,!0,i);return T(s),{lineLength:a,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function ep(e,t){return(e=function e(t){return Array.isArray(t)?function(t){let n=[];for(let i=0,r=t.length;i<r;i++)n[i]=e(t[i]);return n}(t):t instanceof RegExp?t:"object"==typeof t?function(t){let n={};for(let i in t)n[i]=e(t[i]);return n}(t):t}(e)).repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var eg=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){let i=t,r=t?.scopePath??null;for(let t of n)i=new e(i,r=k.push(r,t.scopeNames),t.encodedTokenAttributes);return i}static createRoot(t,n){return new e(null,new k(null,t),n)}static createRootAndLookUpScopeName(t,n,i){let r=i.getMetadataForScope(t),s=new k(null,t),a=i.themeProvider.themeMatch(s),o=e.mergeAttributes(n,r,a);return new e(null,s,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return e.equals(this,t)}static equals(e,t){for(;;){if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}}static mergeAttributes(e,t,n){let i=-1,r=0,s=0;return null!==n&&(i=n.fontStyle,r=n.foregroundId,s=n.backgroundId),A.set(e,t.languageId,t.tokenType,null,i,r,s)}pushAttributed(t,n){if(null===t)return this;if(-1===t.indexOf(" "))return e._pushAttributed(this,t,n);let i=t.split(/ /g),r=this;for(let t of i)r=e._pushAttributed(r,t,n);return r}static _pushAttributed(t,n,i){let r=i.getMetadataForScope(n),s=t.scopePath.push(n),a=i.themeProvider.themeMatch(s),o=e.mergeAttributes(t.tokenAttributes,r,a);return new e(t,s,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?t.reverse():void 0}},ef=class e{constructor(e,t,n,i,r,s,a,o){this._stackElementBrand=void 0,this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=r,this.endRule=s,this.nameScopesList=a,this.contentNameScopesList=o,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=i}static{this.NULL=new e(null,0,0,0,!1,null,null,null)}equals(t){return null!==t&&e._equals(this,t)}static _equals(e,t){return e===t||!!this._structuralEquals(e,t)&&eg.equals(e.contentNameScopesList,t.contentNameScopesList)}static _structuralEquals(e,t){for(;;){if(e===t||!e&&!t)return!0;
vendor: 7,159 bytes, line 1
1if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,i,r,s,a,o){return new e(this,t,n,i,r,s,a,o)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){let i=eg.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new e(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,i,eg.fromExtension(i,n.contentNameScopesList))}},eb=class{constructor(e,t){this.allowAny=!1,this.balancedBracketScopes=e.flatMap(e=>"*"===e?(this.allowAny=!0,[]):x(e,em).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>x(e,em).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&0===this.unbalancedBracketScopes.length}get matchesNever(){return 0===this.balancedBracketScopes.length&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},ey=class{constructor(e,t,n,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,i=!1;if(this.balancedBracketSelectors?.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=e?.getScopeNames()??[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=A.set(n,0,e.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(t))}if(i&&(n=A.set(n,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),0===this._tokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),0===this._binaryTokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},ew=class{constructor(e,t){this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._onigLib=t,this._theme=e}dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,i,r){if(!this._grammars.has(e)){let s=this._rawGrammars.get(e);if(!s)return null;this._grammars.set(e,new eh(e,s,t,n,i,r,this,this._onigLib))}return this._grammars.get(e)}},ek=class{constructor(e){this._options=e,this._syncRegistry=new ew(w.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(w.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new eb(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,i,r){let s=new E(this._syncRegistry,e);for(;s.Q.length>0;)s.Q.map(e=>this._loadSingleGrammar(e.scopeName)),s.processQueue();return this._grammarForScopeName(e,t,n,i,r)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n="function"==typeof this._options.getInjections?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,i=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,i)}_grammarForScopeName(e,t=0,n=null,i=null,r=null){return this._syncRegistry.grammarForScopeName(e,t,n,i,r)}},e_=ef.NULL;let eS=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var ev=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};function eC(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new ev(n,i,t)}function ej(e){return e.toLowerCase()}ev.prototype.normal={},ev.prototype.property={},ev.prototype.space=void 0;var eP=class{constructor(e,t){this.attribute=t,this.property=e}};eP.prototype.attribute="",eP.prototype.booleanish=!1,eP.prototype.boolean=!1,eP.prototype.commaOrSpaceSeparated=!1,eP.prototype.commaSeparated=!1,eP.prototype.defined=!1,eP.prototype.mustUseProperty=!1,eP.prototype.number=!1,eP.prototype.overloadedBoolean=!1,eP.prototype.property="",eP.prototype.spaceSeparated=!1,eP.prototype.space=void 0;var eN={};(0,c.c)(eN,{boolean:()=>ex,booleanish:()=>
1eL,commaOrSpaceSeparated:()=>eE,commaSeparated:()=>eD,number:()=>eR,overloadedBoolean:()=>eT,spaceSeparated:()=>eB});let eA=0,ex=eO(),eL=eO(),eT=eO(),eR=eO(),eB=eO(),eD=eO(),eE=eO();function eO(){return 2**++eA}let eM=Object.keys(eN);var eI=class extends eP{constructor(e,t,n,i){var r,s,a,o,l;let d=-1;if(super(e,t),r=this,(s=i)&&(r.space=s),"number"==typeof n)for(;++d<eM.length;){let e=eM[d];a=this,o=eM[d],(l=(n&eN[e])===eN[e])&&(a[o]=l)}}};function eG(e){let t={},n={};for(let[i,r]of Object.entries(e.properties)){let s=new eI(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(s.mustUseProperty=!0),t[i]=s,n[ej(i)]=i,n[ej(s.attribute)]=i}return new ev(t,n,e.space)}eI.prototype.defined=!0;let eU=eG({properties:{ariaActiveDescendant:null,ariaAtomic:eL,ariaAutoComplete:null,ariaBusy:eL,ariaChecked:eL,ariaColCount:eR,ariaColIndex:eR,ariaColSpan:eR,ariaControls:eB,ariaCurrent:null,ariaDescribedBy:eB,ariaDetails:null,ariaDisabled:eL,ariaDropEffect:eB,ariaErrorMessage:null,ariaExpanded:eL,ariaFlowTo:eB,ariaGrabbed:eL,ariaHasPopup:null,ariaHidden:eL,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:eB,ariaLevel:eR,ariaLive:null,ariaModal:eL,ariaMultiLine:eL,ariaMultiSelectable:eL,ariaOrientation:null,ariaOwns:eB,ariaPlaceholder:null,ariaPosInSet:eR,ariaPressed:eL,ariaReadOnly:eL,ariaRelevant:null,ariaRequired:eL,ariaRoleDescription:eB,ariaRowCount:eR,ariaRowIndex:eR,ariaRowSpan:eR,ariaSelected:eL,ariaSetSize:eR,ariaSort:null,ariaValueMax:eR,ariaValueMin:eR,ariaValueNow:eR,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function eF(e,t){return t in e?e[t]:t}function eq(e,t){return eF(e,t.toLowerCase())}let eW=eG({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:eD,acceptCharset:eB,accessKey:eB,action:null,allow:null,allowFullScreen:ex,allowPaymentRequest:ex,allowUserMedia:ex,alt:null,as:null,async:ex,autoCapitalize:null,autoComplete:eB,autoFocus:ex,autoPlay:ex,blocking:eB,capture:null,charSet:null,checked:ex,cite:null,className:eB,cols:eR,colSpan:null,content:null,contentEditable:eL,controls:ex,controlsList:eB,coords:eR|eD,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ex,defer:ex,dir:null,dirName:null,disabled:ex,download:eT,draggable:eL,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ex,formTarget:null,headers:eB,height:eR,hidden:eT,high:eR,href:null,hrefLang:null,htmlFor:eB,httpEquiv:eB,id:null,imageSizes:null,imageSrcSet:null,inert:ex,inputMode:null,integrity:null,is:null,isMap:ex,itemId:null,itemProp:eB,itemRef:eB,itemScope:ex,itemType:eB,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ex,low:eR,manifest:null,max:null,maxLength:eR,media:null,method:null,min:null,minLength:eR,multiple:ex,muted:ex,name:null,nonce:null,noModule:ex,noValidate:ex,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ex,optimum:eR,pattern:null,ping:eB,placeholder:null,playsInl
1ine:ex,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ex,referrerPolicy:null,rel:eB,required:ex,reversed:ex,rows:eR,rowSpan:eR,sandbox:eB,scope:null,scoped:ex,seamless:ex,selected:ex,shadowRootClonable:ex,shadowRootDelegatesFocus:ex,shadowRootMode:null,shape:null,size:eR,sizes:null,slot:null,span:eR,spellCheck:eL,src:null,srcDoc:null,srcLang:null,srcSet:null,start:eR,step:null,style:null,tabIndex:eR,target:null,title:null,translate:null,type:null,typeMustMatch:ex,useMap:null,value:eL,width:eR,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:eB,axis:null,background:null,bgColor:null,border:eR,borderColor:null,bottomMargin:eR,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ex,declare:ex,event:null,face:null,frame:null,frameBorder:null,hSpace:eR,leftMargin:eR,link:null,longDesc:null,lowSrc:null,marginHeight:eR,marginWidth:eR,noResize:ex,noHref:ex,noShade:ex,noWrap:ex,object:null,profile:null,prompt:null,rev:null,rightMargin:eR,rules:null,scheme:null,scrolling:eL,standby:null,summary:null,text:null,topMargin:eR,valueType:null,version:null,vAlign:null,vLink:null,vSpace:eR,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ex,disableRemotePlayback:ex,prefix:null,property:null,results:eR,security:null,unselectable:null},space:"html",transform:eq}),e$=eG({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
1-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:eE,accentHeight:eR,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:eR,amplitude:eR,arabicForm:null,ascent:eR,attributeName:null,attributeType:null,azimuth:eR,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:eR,by:null,calcMode:null,capHeight:eR,className:eB,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:eR,diffuseConstant:eR,direction:null,display:null,dur:null,divisor:eR,dominantBaseline:null,download:ex,dx:null,dy:null,edgeMode:null,editable:null,elevation:eR,enableBackground:null,end:null,event:null,exponent:eR,externalResourcesRequired:null,fill:null,fillOpacity:eR,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:eD,g2:eD,glyphName:eD,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:eR,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:eR,horizOriginX:eR,horizOriginY:eR,id:null,ideographic:eR,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:eR,k:eR,k1:eR,k2:eR,k3:eR,k4:eR,kernelMatrix:eE,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:eR,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:eR,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
1Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:eR,overlineThickness:eR,paintOrder:null,panose1:null,path:null,pathLength:eR,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:eB,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:eR,pointsAtY:eR,pointsAtZ:eR,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:eE,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:eE,rev:eE,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:eE,requiredFeatures:eE,requiredFonts:eE,requiredFormats:eE,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:eR,specularExponent:eR,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:eR,strikethroughThickness:eR,string:null,stroke:null,strokeDashArray:eE,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:eR,strokeOpacity:eR,strokeWidth:null,style:null,surfaceScale:eR,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:eE,tabIndex:eR,tableValues:null,target:null,targetX:eR,targetY:eR,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:eE,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:eR,underlineThickness:eR,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:eR,values:null,vAlphabetic:eR,vMathematical:eR,vectorEffect:null,vHanging:eR,vIdeographic:eR,version:null,vertAdvY:eR,vertOriginX:eR,vertOriginY:eR,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:eR,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:eF}),ez=eG({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),eH=eG({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:eq}),eV=eG({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),eK=/[A-Z]/g,eY=/-[a-z]/g,eZ=/^data[-\w.:]+$/i;function eQ(e){return"-"+e.toLowerCase()}function eX(e){return e.charAt(1).toUpperCase()}let eJ=eC([eU,eW,ez,eH,eV],"html"),e1=eC([eU,e$,ez,eH,eV],"svg"),e0={}.hasOwnProperty,e2=/["&'<>`]/g,e5=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,e6=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,e3=/[|\\{}()[\]^$+*?.]/g,e8=new WeakMap,e4=/[\dA-Fa-f]/,e7=/\d/,e9=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
1sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],te={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub
1:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},tt=["cent","copy","divide","gt","lt","not","para","times"],tn={}.hasOwnProperty,ti={};for(i in te)tn.call(te,i)&&(ti[te[i]]=i);let tr=/[^\dA-Za-z]/;function ts(e,t,n){var i,r;let s,a,o=(i=n.omitOptionalSemicolons,s="&#x"+e.toString(16).toUpperCase(),i&&t&&!e4.test(String.fromCharCode(t))?s:s+";");if((n.useNamedReferences||n.useShortestReferences)&&(a=function(e,t,n,i){let r=String.fromCharCode(e);if(tn.call(ti,r)){let e=ti[r],s="&"+e;return n&&e9.includes(e)&&!tt.includes(e)&&(!i||t&&61!==t&&tr.test(String.fromCharCode(t)))?s:s+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){let i,s=(r=n.omitOptionalSemicolons,i="&#"+String(e),r&&t&&!e7.test(String.fromCharCode(t))?i:i+";");s.length<o.length&&(o=s)}return a&&(!n.useShortestReferences||a.length<o.length)?a:o}function ta(e,t){let n;var i,r=e,s=Object.assign({format:ts},t);if(r=r.replace(s.subset?(i=s.subset,(n=e8.get(i))||(n=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(e3,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(i),e8.set(i,n)),n):e2,a),s.subset||s.escapeOnly)return r;return r.replace(e5,function(e,t,n){return s.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),s)}).replace(e6,a);function a(e,t,n){return s.format(e.charCodeAt(0),n.charCodeAt(t+1),s)}}let to=/^>|^->|<!--|-->|--!>|<!-$/g,tl=[">"],td=["<",">"];function tc(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let i=0,r=n.indexOf(t);for(;-1!==r;)i++,r=n.indexOf(t,r+t.length);return i}let tu=/[ \t\n\f\r]/g;function tm(e){return"object"==typeof e?"text"===e.type&&th(e.value):th(e)}function th(e){return""===e.replace(tu,"")}let tp=tb(1),tg=tb(-1),tf=[];function tb(e){return function(t,n,i){let r=t?t.children:tf,s=(n||0)+e,a=r[s];if(!i)for(;a&&tm(a);)s+=e,a=r[s];return a}}let ty={}.hasOwnProperty;function tw(e){return function(t,n,i){return ty.call(e,t.tagName)&&e[t.tagName](t,n,i)}}let tk=tw({body:function(e,t,n){let i=tp(n,t);return!i||"comment"!==i.type},caption:t_,colgroup:t_,dd:function(e,t,n){let i=tp(n,t);return!i||"element"===i.type&&("dt"===i.tagName||"dd"===i.tagName)},dt:function(e,t,n){let i=tp(n,t);return!!(i&&"element"===i.type&&("dt"===i.tagName||"dd"===i.tagName))},head:t_,html:function(e,t,n){let i=tp(n,t);return!i||"comment"!==i.type},li:function(e,t,n){let i=tp(n,t);return!i||"element"===i.type&&"li"===i.tagName},optgroup:function(e,t,n){let i=tp(n,t);return!i||"element"===i.type&&"optgroup"===i.tagName},option:function(e,t,n){let i=tp(n,t);return!i||"element"===i.type&&("option"===i.tagName||"optgroup"===i.tagName)},p:function(e,t,n){let i=tp(n,t);return i?"element"===i.type&&("address"===i.tagName||"article"===i.tagName||"aside"===i.tagName||"blockquote"===i.tagName||"details"===i.tagName||"div"===i.tagName||"dl"===i.tagName||"fieldset"===i.tagName||"figcaption"===i.tagName||"figure"===i.tagName||"footer"===i.tagName||"form"===i.tagName||"h1"===i.tagName||"h2"===i.tagName||"h3"===i.tagName||"h4"===i.tagName||"h5"===i.tagName||"h6"===i.tagName||"header"===i.tagName||"hgroup"===i.tagName||"hr"===i.tagName||"main"===i.tagName||"menu"===i.tagName||"nav"===i.tagName||"ol"===i.tagName||"p"===i.tagName||"pre"===i.tagName||"section"===i.tagName||"table"===i.tagName||"ul"===i.tagName):!n||"element"!==n.type||"a"!==n.tagName&&"audio"!==n.tagName&&"del"!==n.tagName&&"ins"!==n.tagName&&"map"!==n.tagName&&"noscript"!==n.tagName&&"video"!==n.tagName},rp:tS,rt:tS,tbody:function(e,t,n){let i=tp(n,t);return!i||"element"===i.type&&("tbody"===i.tagName||"tfoot"===i.tagName)},td:tv,tfoot:function(e,t,n){return!tp(n,t)},th:tv,thead:function(e,t,n){let i=tp(n,t);return!!(i&&"element"===i.type&&("tbody"===i.tagName||"tfoot"===i.tagName))},tr:function(e,t,n){let i=tp(n,t);return!i||"element"===i.type&&"tr"===i.tagName}});function t_(e,t,n){let i=tp(n,t,!0);return!i||"comment"!==i.type&&!("text"===i.type&&tm(i.value.charAt(0)))}function tS(e,t,n){let i=tp(n,t);return!i||"element"===i.type&&("rp"===i.tagName||"rt"===i.tagName)}function tv(e,t,n){let i=tp(n,t);return!i||"element"===i.type&&("td"===i.tagName||"th"===i.tagName)}let tC=tw({body:function(e){let t=tp(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&tm(t.value.charAt(0)))&&("element"!==t.type||"meta"!==t.tagName&&"link"!==t.tagName&&"script"!==t.tagName&&"style"!==t.tagName&&"template"!==t.tagName)},colgroup:function(e,t,n){let i=tg(n,t),r=tp(e,-1,!0);return!(n&&i&&"element"===i.type&&"colgroup"===i.tagName&&tk(i,n.children.indexOf(i),n))&&!!(r&&"element"===r.type&&"col"===r.tagName)},head:function(e){let t=new Set;for(let n of e.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||"element"===n.type},html:function(e){let t=tp(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let i=tg(n,t),r=tp(e,-1);return!(n&&i&&"element"===i.type&&("thead"===i.tagName||"tbody"===i.tagName)&&tk(i,n.children.indexOf(i),n))&&!!(r&&"element"===r.type&&"tr"===r.tagName)}}),tj={name:[["	\n\f\r &/=>".split(""),"	\n\f\r \"&'/=>
1`".split("")],["\0	\n\f\r \"&'/<=>".split(""),"\0	\n\f\r \"&'/<=>`".split("")]],unquoted:[["	\n\f\r &>".split(""),"\0	\n\f\r \"&'<=>`".split("")],["\0	\n\f\r \"&'<=>`".split(""),"\0	\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},tP=["<","&"];function tN(e,t,n,i){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:ta(e.value,Object.assign({},i.settings.characterReferences,{subset:tP}))}let tA=function(e,t){let n=t||{};function i(t,...n){let r=i.invalid,s=i.handlers;if(t&&e0.call(t,e)){let n=String(t[e]);r=e0.call(s,n)?s[n]:i.unknown}if(r)return r.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,i){return i.settings.bogusComments?"<?"+ta(e.value,Object.assign({},i.settings.characterReferences,{subset:tl}))+">":"\x3c!--"+e.value.replace(to,function(e){return ta(e,Object.assign({},i.settings.characterReferences,{subset:td}))})+"--\x3e"},doctype:function(e,t,n,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,i){let r,s=i.schema,a="svg"!==s.space&&i.settings.omitOptionalTags,o="svg"===s.space?i.settings.closeEmptyElements:i.settings.voids.includes(e.tagName.toLowerCase()),l=[];"html"===s.space&&"svg"===e.tagName&&(i.schema=e1);let d=function(e,t){let n,i=[],r=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let r=function(e,t,n){let i,r=function(e,t){let n=ej(t),i=t,r=eP;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&eZ.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(eY,eX);i="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!eY.test(e)){let n=e.replace(eK,eQ);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}r=eI}return new r(i,t)}(e.schema,t),s=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,a=+!e.settings.allowDangerousCharacters,o=e.quote;if(r.overloadedBoolean&&(n===r.attribute||""===n)?n=!0:(r.boolean||r.overloadedBoolean)&&("string"!=typeof n||n===r.attribute||""===n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let l=ta(r.attribute,Object.assign({},e.settings.characterReferences,{subset:tj.name[s][a]}));return!0===n||(n=Array.isArray(n)?(r.commaSeparated?function(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}:function(e){return e.join(" ").trim()})(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(i=ta(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:tj.unquoted[s][a]}))),i!==n&&(e.settings.quoteSmart&&tc(n,o)>tc(n,e.alternative)&&(o=e.alternative),i=o+ta(n,Object.assign({},e.settings.characterReferences,{subset:("'"===o?tj.single:tj.double)[s][a],attribute:!0}))+o),l+(i?"="+i:i))}(e,n,t[n]);r&&i.push(r)}}for(;++r<i.length;){let t=e.settings.tightAttributes?i[r].charAt(i[r].length-1):void 0;r!==i.length-1&&'"'!==t&&"'"!==t&&(i[r]+=" ")}return i.join("")}(i,e.properties),c=i.all("html"===s.space&&"template"===e.tagName?e.content:e);return i.schema=s,c&&(o=!1),!d&&a&&tC(e,t,n)||(l.push("<",e.tagName,d?" "+d:""),o&&("svg"===s.space||i.settings.closeSelfClosing)&&(r=d.charAt(d.length-1),(!i.settings.tightSelfClosing||"/"===r||r&&'"'!==r&&"'"!==r)&&l.push(" "),l.push("/")),l.push(">")),l.push(c),o||a&&tk(e,t,n)||l.push("</"+e.tagName+">"),l.join("")},raw:function(e,t,n,i){return i.settings.allowDangerousHtml?e.value:tN(e,t,n,i)},root:function(e,t,n,i){return i.all(e)},text:tN}}),tx={},tL={},tT=[];function tR(e,t,n){return tA(e,t,n,this)}function tB(e){let t=[],n=e&&e.children||tT,i=-1;for(;++i<n.length;)t[i]=this.one(n[i],i,e);return t.join("")}function tD(e,t){let n="string"==typeof e?{}:{...e.colorReplacements},i="string"==typeof e?e:e.name;for(let[e,r]of Object.entries(t?.colorReplacements||{}))"string"==typeof r?n[e]=r:e===i&&Object.assign(n,r);return n}function tE(e,t){return e&&t?.[e?.toLowerCase()]||e}async function tO(e){return Promise.resolve("function"==typeof e?e():e).then(e=>e.default||e)}function tM(e){return!e||["plaintext","txt","text","plain"].includes(e)}function tI(e){return"ansi"===e||tM(e)}function tG(e){return"none"===e}function tU(e,t){if(!t)return e;for(let n of(e.properties||={},e.properties.class||=[],"string"==typeof e.properties.class&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]),Array.isArray(t)?t:t.split(/\s+/g)))n&&!e.properties.class.includes(n)&&e.properties.class.push(n);return e}function tF(e,t=!1){let n=e.split(/(\r?\n)/g),i=0,r=[];for(let e=0;e<n.length;e+=2){let s=t?n[e]+(n[e+1]||""):n[e];r.push([s,i]),i+=n[e].length,i+=n[e+1]?.length||0}return r}let tq="light-dark()",tW=["color","background-color"];function t$(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&v.Italic&&(t["font-style"]="italic"),e.fontStyle&v.Bold&&(t["font-weight"]="bold");let n=[];e.fontStyle&v.Underline&&n.push("underline"),e.fontStyle&v.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function tz(e){return"string"==typeof e?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(";")}let tH=new WeakMap;function tV(e,t){tH.set(e,t)}function tK(e){return tH.get(e)}var tY=class e{get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new e(Object.fromEntries((Array.isArray(n)?n:[n]).map(e=>[e,e_])),t)}constructor(...e){if(this._stacks={},2===e.length){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,i]=e;this.lang=n,this._stacks={[i]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){var t;let n,i;return t=this._stacks[e],n=[],i=new Set,!function e(t){if(i.has(t))return;i.add(t);let r=t?.nameScopesList?.scopeName;r&&n.push(r),t.parent&&e(t.parent)}(t),n}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};let tZ=[function(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){var n;let i,r=function(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new u(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...s.indexToPos(e),offset:e}}{let t=s.lines[e.line];if(void 0===t)throw new u(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${s.lines.length}`);let n=e.character;if(n<0&&(n=t.length+n),n<0||n>t.length)throw new u(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:n,offset:s.posToIndex(e.line,n)}}},s={lines:i=tF(n=t.source,!0).map(([e])=>e),indexToPos:function(e){if(e===n.length)return{line:i.length-1,character:i[i.length-1].length};let t=e,r=0;for(let e of i){if(t<e.length)break;t-=e.length,r++}return{line:r,character:t}},posToIndex:function(e,t){let n=0;for(let t=0;t<e;t++)n+=i[t].length;return n+t}},a=(t.options.decorations||[]).map(e=>({...e,start:r(e.start),end:r(e.end)}));(function(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new u(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let i=t+1;i<e.length;i++){let t=e[i],r=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,s=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,a=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,o=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(r||s||a||o){if(r&&s||a&&o||a&&n.start.offset===n.end.offset||s&&t.start.offset===t.end.offset)continue;throw new u(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}})(a),e.set(t.meta,{decorations:a,converter:s,source:t.source})}return e.get(t.meta)}return{name:"shiki:decorations",tokens(e){let n;if(!this.options.decorations?.length)return;let i=t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]);return(n=Array.from(i instanceof Set?i:new Set(i)).sort((e,t)=>
1e-t)).length?e.map(e=>e.flatMap(e=>{let t=n.filter(t=>e.offset<t&&t<e.offset+e.content.length).map(t=>t-e.offset).sort((e,t)=>e-t);if(!t.length)return e;let i=0,r=[];for(let n of t)n>i&&r.push({...e,content:e.content.slice(i,n),offset:e.offset+i}),i=n;return i<e.content.length&&r.push({...e,content:e.content.slice(i),offset:e.offset+i}),r})):e},code(e){if(!this.options.decorations?.length)return;let n=t(this),i=Array.from(e.children).filter(e=>"element"===e.type&&"span"===e.tagName);if(i.length!==n.converter.lines.length)throw new u(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function r(e,t,n,r){let a=i[e],o="",l=-1,d=-1;if(0===t&&(l=0),0===n&&(d=0),n===1/0&&(d=a.children.length),-1===l||-1===d)for(let e=0;e<a.children.length;e++)o+=function e(t){return"text"===t.type?t.value:"element"===t.type?t.children.map(e).join(""):""}(a.children[e]),-1===l&&o.length===t&&(l=e+1),-1===d&&o.length===n&&(d=e+1);if(-1===l)throw new u(`Failed to find start index for decoration ${JSON.stringify(r.start)}`);if(-1===d)throw new u(`Failed to find end index for decoration ${JSON.stringify(r.end)}`);let c=a.children.slice(l,d);if(r.alwaysWrap||c.length!==a.children.length)if(r.alwaysWrap||1!==c.length||"element"!==c[0].type){let e={type:"element",tagName:"span",properties:{},children:c};s(e,r,"wrapper"),a.children.splice(l,c.length,e)}else s(c[0],r,"token");else s(a,r,"line")}function s(e,t,n){let i=t.properties||{},r=t.transform||(e=>e);return e.tagName=t.tagName||"span",e.properties={...e.properties,...i,class:e.properties.class},t.properties?.class&&tU(e,t.properties.class),e=r(e,n)||e}let a=[];for(let e of n.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset)){let{start:t,end:n}=e;if(t.line===n.line)r(t.line,t.character,n.character,e);else if(t.line<n.line){r(t.line,t.character,1/0,e);for(let r=t.line+1;r<n.line;r++)a.unshift(()=>{var t;i[t=r]=s(i[t],e,"line")});r(n.line,0,n.character,e)}}a.forEach(e=>e())}}}()];function tQ(e){let t=function(e){let t=[],n=[],i=[];for(let r of e)switch(r.enforce){case"pre":t.push(r);break;case"post":n.push(r);break;default:i.push(r)}return{pre:t,post:n,normal:i}}(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...tZ]}var tX=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],tJ={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function t1(e){let t=e.shift();if("2"===t){let t=e.splice(0,3).map(e=>Number.parseInt(e));if(3!==t.length||t.some(e=>Number.isNaN(e)))return;return{type:"rgb",rgb:t}}if("5"===t){let t=e.shift();if(t)return{type:"table",index:Number(t)}}}var t0={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};let t2={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function t5(e,t,n={}){var i,r,s,a,o;let l,d,{lang:c="text",theme:m=e.getLoadedThemes()[0]}=n;if(tM(c)||tG(m))return tF(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:h,colorMap:p}=e.setTheme(m);if("ansi"===c){let e,i,r,s,a,o,l;return e=tD(h,n),i=tF(t),r=function(e=t0){let t;function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join("")}`}return{value:function(i){switch(i.type){case"named":return e[i.name];case"rgb":return n(i.rgb);case"table":var r;return r=i.index,function(){if(t)return t;t=[];for(let n=0;n<tX.length;n++)t.push(e[tX[n]]);let i=[0,95,135,175,215,255];for(let e=0;e<6;e++)for(let r=0;r<6;r++)for(let s=0;s<6;s++)t.push(n([i[e],i[r],i[s]]));let r=8;for(let e=0;e<24;e++,r+=10)t.push(n([r,r,r]));return t}()[r]}}}}(Object.fromEntries(tX.map(e=>{let t=`terminal.ansi${e[0].toUpperCase()}${e.substring(1)}`;return[e,h.colors?.[t]||t2[e]]}))),s=null,a=null,o=new Set,l={parse(e){let t=[],n=0;do{let i=function(e,t){let n=e.indexOf("\x1b",t);if(-1!==n&&"["===e[n+1]){let t=e.indexOf("m",n);if(-1!==t)return{sequence:e.substring(n+2,t).split(";"),startPosition:n,position:t+1}}return{position:e.length}}(e,n),r=i.sequence?e.substring(n,i.startPosition):e.substring(n);if(r.length>0&&t.push({value:r,foreground:s,background:a,decorations:new Set(o)}),i.sequence){let e=function(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let i=Number.parseInt(n);if(!Number.isNaN(i))if(0===i)t.push({type:"resetAll"});else if(i<=9)tJ[i]&&t.push({type:"setDecoration",value:tJ[i]});else if(i<=29){let e=tJ[i-20];e&&(t.push({type:"resetDecoration",value:e}),"dim"===e&&t.push({type:"resetDecoration",value:"bold"}))}else if(i<=37)t.push({type:"setForegroundColor",value:{type:"named",name:tX[i-30]}});else if(38===i){let n=t1(e);
1n&&t.push({type:"setForegroundColor",value:n})}else if(39===i)t.push({type:"resetForegroundColor"});else if(i<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:tX[i-40]}});else if(48===i){let n=t1(e);n&&t.push({type:"setBackgroundColor",value:n})}else 49===i?t.push({type:"resetBackgroundColor"}):53===i?t.push({type:"setDecoration",value:"overline"}):55===i?t.push({type:"resetDecoration",value:"overline"}):i>=90&&i<=97?t.push({type:"setForegroundColor",value:{type:"named",name:tX[i-90+8]}}):i>=100&&i<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:tX[i-100+8]}})}return t}(i.sequence);for(let t of e)"resetAll"===t.type?(s=null,a=null,o.clear()):"resetForegroundColor"===t.type?s=null:"resetBackgroundColor"===t.type?a=null:"resetDecoration"===t.type&&o.delete(t.value);for(let t of e)"setForegroundColor"===t.type?s=t.value:"setBackgroundColor"===t.type?a=t.value:"setDecoration"===t.type&&o.add(t.value)}n=i.position}while(n<e.length);return t}},i.map(t=>l.parse(t[0]).map(n=>{let i,s;n.decorations.has("reverse")?(i=n.background?r.value(n.background):h.bg,s=n.foreground?r.value(n.foreground):h.fg):(i=n.foreground?r.value(n.foreground):h.fg,s=n.background?r.value(n.background):void 0),i=tE(i,e),s=tE(s,e),n.decorations.has("dim")&&(i=function(e){let t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/i);if(t)if(t[3]){let e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${e}`}else if(t[2])return`#${t[1]}${t[2]}80`;else return`#${Array.from(t[1]).map(e=>`${e}${e}`).join("")}80`;let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(i));let a=v.None;return n.decorations.has("bold")&&(a|=v.Bold),n.decorations.has("italic")&&(a|=v.Italic),n.decorations.has("underline")&&(a|=v.Underline),n.decorations.has("strikethrough")&&(a|=v.Strikethrough),{content:n.value,offset:t[1],color:i,bgColor:s,fontStyle:a}}))}let g=e.getLanguage(c);if(n.grammarState){if(n.grammarState.lang!==g.name)throw new u(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${g.name}"`);if(!n.grammarState.themes.includes(h.name))throw new u(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${h.name}"`)}return l=t6(i=t,r=g,s=h,a=p,o=n),d=new tY(t6(i,r,s,a,o).stateStack,r.name,s.name),tV(l.tokens,d),l.tokens}function t6(e,t,n,i,r){let s=tD(n,r),{tokenizeMaxLineLength:a=0,tokenizeTimeLimit:o=500}=r,l=tF(e),d=r.grammarState?function(e,t){if(!(e instanceof tY))throw new u("Invalid grammar state");return e.getInternalStack(t)}(r.grammarState,n.name)??e_:null!=r.grammarContextCode?t6(r.grammarContextCode,t,n,i,{...r,grammarState:void 0,grammarContextCode:void 0}).stateStack:e_,c=[],m=[];for(let e=0,u=l.length;e<u;e++){let u,h,[p,g]=l[e];if(""===p){c=[],m.push([]);continue}if(a>0&&p.length>=a){c=[],m.push([{content:p,offset:g,color:"",fontStyle:0}]);continue}r.includeExplanation&&(u=t.tokenizeLine(p,d,o).tokens,h=0);let f=t.tokenizeLine2(p,d,o),b=f.tokens.length/2;for(let e=0;e<b;e++){let t=f.tokens[2*e],a=e+1<b?f.tokens[2*e+2]:p.length;if(t===a)continue;let o=f.tokens[2*e+1],l=tE(i[A.getForeground(o)],s),d=A.getFontStyle(o),m={content:p.substring(t,a),offset:g+t,color:l,fontStyle:d};if(r.includeExplanation){let e=[];
vendor: 2,909 bytes, line 1
1if("scopeName"!==r.includeExplanation)for(let t of n.settings){let n;switch(typeof t.scope){case"string":n=t.scope.split(/,/).map(e=>e.trim());break;case"object":n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}m.explanation=[];let i=0;for(;t+i<a;){let t=u[h],n=p.substring(t.startIndex,t.endIndex);i+=n.length,m.explanation.push({content:n,scopes:"scopeName"===r.includeExplanation?t.scopes.map(e=>({scopeName:e})):function(e,t){let n=[];for(let i=0,r=t.length;i<r;i++){let r=t[i];n[i]={scopeName:r,themeMatches:function(e,t,n){let i=[];for(let{selectors:r,settings:s}of e)for(let e of r)if(function(e,t,n){if(!t3(e[e.length-1],t))return!1;let i=e.length-2,r=n.length-1;for(;i>=0&&r>=0;)t3(e[i],n[r])&&(i-=1),r-=1;return -1===i}(e,t,n)){i.push(s);break}return i}(e,r,t.slice(0,i))}}return n}(e,t.scopes)}),h+=1}}c.push(m)}m.push(c),c=[],d=f.ruleStack}return{tokens:m,stateStack:d}}function t3(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function t8(e,t,n){let i=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),r=i.map(i=>{let r=t5(e,t,{...n,theme:i.theme}),s=tK(r);return{tokens:r,state:s,theme:"string"==typeof i.theme?i.theme:i.theme.name}}),s=function(...e){let t=e.map(()=>[]),n=e.length;for(let i=0;i<e[0].length;i++){let r=e.map(e=>e[i]),s=t.map(()=>[]);t.forEach((e,t)=>e.push(s[t]));let a=r.map(()=>0),o=r.map(e=>e[0]);for(;o.every(e=>e);){let e=Math.min(...o.map(e=>e.content.length));for(let t=0;t<n;t++){let n=o[t];n.content.length===e?(s[t].push(n),a[t]+=1,o[t]=r[t][a[t]]):(s[t].push({...n,content:n.content.slice(0,e)}),o[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}(...r.map(e=>e.tokens)),a=s[0].map((e,t)=>e.map((e,r)=>{let a={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in n&&n.includeExplanation&&(a.explanation=e.explanation),s.forEach((e,n)=>{let{content:s,explanation:o,offset:l,...d}=e[t][r];a.variants[i[n].color]=d}),a})),o=r[0].state?new tY(Object.fromEntries(r.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),r[0].state.lang):void 0;return o&&tV(a,o),a}function t4(e,t,n){let i,r,s,a,o,l;if("themes"in n){let{defaultColor:d="light",cssVariablePrefix:c="--shiki-",colorsRendering:m="css-vars"}=n,h=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===d?-1:+(t.color===d));if(0===h.length)throw new u("`themes` option must not be empty");let p=t8(e,t,n);if(l=tK(p),d&&tq!==d&&!h.find(e=>e.color===d))throw new u(`\`themes\` option must contain the defaultColor key \`${d}\``);let g=h.map(t=>e.getTheme(t.theme)),f=h.map(e=>e.color);s=p.map(e=>e.map(e=>(function(e,t,n,i,r="css-vars"){let s={content:e.content,explanation:e.explanation,offset:e.offset},a=t.map(t=>t$(e.variants[t])),o=new Set(a.flatMap(e=>Object.keys(e))),l={},d=(e,i)=>{let r="color"===i?"":"background-color"===i?"-bg":`-${i}`;
1return n+t[e]+("color"===i?"":r)};return a.forEach((e,n)=>{for(let s of o){let o=e[s]||"inherit";if(0===n&&i&&tW.includes(s))if(i===tq&&a.length>1){let e=t.findIndex(e=>"light"===e),i=t.findIndex(e=>"dark"===e);if(-1===e||-1===i)throw new u('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let c=a[e][s]||"inherit",m=a[i][s]||"inherit";l[s]=`light-dark(${c}, ${m})`,"css-vars"===r&&(l[d(n,s)]=o)}else l[s]=o;else"css-vars"===r&&(l[d(n,s)]=o)}}),s.htmlStyle=l,s})(e,f,c,d,m))),l&&tV(s,l);let b=h.map(e=>tD(e.theme,n));r=t7(h,g,b,c,d,"fg",m),i=t7(h,g,b,c,d,"bg",m),a=`shiki-themes ${g.map(e=>e.name).join(" ")}`,o=d?void 0:[r,i].join(";")}else if("theme"in n){let o=tD(n.theme,n);s=t5(e,t,n);let d=e.getTheme(n.theme);i=tE(d.bg,o),r=tE(d.fg,o),a=d.name,l=tK(s)}else throw new u("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:r,bg:i,themeName:a,rootStyle:o,grammarState:l}}function t7(e,t,n,i,r,s,a){return e.map((o,l)=>{let d=tE(t[l][s],n[l])||"inherit",c=`${i+o.color}${"bg"===s?"-bg":""}:${d}`;if(0===l&&r){if(r===tq&&e.length>1){let i=e.findIndex(e=>"light"===e.color),r=e.findIndex(e=>"dark"===e.color);if(-1===i||-1===r)throw new u('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let a=tE(t[i][s],n[i])||"inherit",o=tE(t[r][s],n[r])||"inherit";return`light-dark(${a}, ${o});${c}`}return d}return"css-vars"===a?c:null}).filter(e=>!!e).join(";")}function t9(e,t,n,i={meta:{},options:n,codeToHast:(t,n)=>t9(e,t,n),codeToTokens:(t,n)=>t4(e,t,n)}){let r=t;for(let e of tQ(n))r=e.preprocess?.call(i,r,n)||r;let{tokens:s,fg:a,bg:o,themeName:l,rootStyle:d,grammarState:c}=t4(e,r,n),{mergeWhitespaces:u=!0,mergeSameStyleTokens:m=!1}=n;!0===u?s=s.map(e=>{let t=[],n="",i=0;return e.forEach((r,s)=>{let a=!(r.fontStyle&&(r.fontStyle&v.Underline||r.fontStyle&v.Strikethrough));a&&r.content.match(/^\s+$/)&&e[s+1]?(i||(i=r.offset),n+=r.content):n?(a?t.push({...r,offset:i,content:n+r.content}):t.push({content:n,offset:i},r),i=0,n=""):t.push(r)}),t}):"never"===u&&(s=s.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,i,r]=t;if(!n&&!r)return e;let s=[{...e,offset:e.offset+n.length,content:i}];return n&&s.unshift({content:n,offset:e.offset}),r&&s.push({content:r,offset:e.offset+n.length+i.length}),s}))),m&&(s=s.map(e=>{let t=[];for(let n of e){if(0===t.length){t.push({...n});continue}let e=t[t.length-1],i=tz(e.htmlStyle||t$(e)),r=tz(n.htmlStyle||t$(n)),s=e.fontStyle&&(e.fontStyle&v.Underline||e.fontStyle&v.Strikethrough),a=n.fontStyle&&(n.fontStyle&v.Underline||n.fontStyle&v.Strikethrough);s||a||i!==r?t.push({...n}):e.content+=n.content}return t}));let h={...i,get source(){return r}};for(let e of tQ(n))s=e.tokens?.call(h,s)||s;return function(e,t,n,i=tK(e)){let r=tQ(t),s=[],a={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=t,d={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...!1!==l&&null!=l?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([e])=>!e.startsWith("_")))},children:[]},c={type:"element",tagName:"code",properties:{},children:s},u=[],m={...n,structure:o,addClassToHast:tU,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return a},get pre(){return d},get code(){return c},get lines(){return u}};if(e.forEach((e,t)=>{t&&("inline"===o?a.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===o&&s.push({type:"text",value:"\n"}));let n={type:"element",tagName:"span",properties:{class:"line"},children:[]},i=0;for(let s of e){let e={type:"element",tagName:"span",properties:{...s.htmlAttrs},children:[{type:"text",value:s.content}]},l=tz(s.htmlStyle||t$(s));for(let a of(l&&(e.properties.style=l),r))e=a?.span?.call(m,e,t+1,i,n,s)||e;"inline"===o?a.children.push(e):"classic"===o&&n.children.push(e),i+=s.content.length}if("classic"===o){for(let e of r)n=e?.line?.call(m,n,t+1)||n;u.push(n),s.push(n)}}),"classic"===o){for(let e of r)c=e?.code?.call(m,c)||c;for(let e of(d.children.push(c),r))d=e?.pre?.call(m,d)||d;a.children.push(d)}let h=a;for(let e of r)h=e?.root?.call(m,h)||h;return i&&tV(h,i),h}(s,{...n,fg:a,bg:o,themeName:l,rootStyle:d},h,c)}let ne=function(e,t){let n=t||tx,i=n.quote||'"';if('"'!==i&&"'"!==i)throw Error("Invalid quote `"+i+"`, expected `'` or `\"`");return({one:tR,all:tB,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||eS,characterReferences:n.characterReferences||tL,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?e1:eJ,quote:i,alternative:'"'===i?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)},nt="__shiki_resolved";function nn(e){if(e?.[nt])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:i}=t;if(!n||!i){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(i=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!i&&t?.colors?.["editor.foreground"]&&(i=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),i||(i="light"===t.type?"#333333":"#bbbbbb"),n||(n="light"===t.type?"#fffffe":"#1e1e1e"),t.fg=i,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let r=0,s=new Map;function a(e){if(s.has(e))return s.get(e);r+=1;let n=`#${r.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?a(e):(s.set(e,n),n)}for(let e of(t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith("#"),i=e.settings?.background&&!e.settings.background.startsWith("#");if(!n&&!i)return e;let r={...e,settings:{...e.settings}};if(n){let n=a(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,r.settings.foreground=n}if(i){let n=a(e.settings.background);t.colorReplacements[n]=e.settings.background,r.settings.background=n}return r}),Object.keys(t.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!t.colors[e]?.startsWith("#")){let n=a(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,nt,{enumerable:!1,writable:!1,value:!0}),t}async function ni(e){return Array.from(new Set((await Promise.all(e.filter(e=>!tI(e)).map(async e=>await tO(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function nr(e){return(await Promise.all(e.map(async e=>tG(e)?null:nn(await tO(e))))).filter(e=>!!e)}
vendor: 4,234 bytes, line 1
1var ns=class extends Error{constructor(e){super(e),this.name="ShikiError"}},na=class extends ek{constructor(e,t,n,i={}){super(e),this._resolvedThemes=new Map,this._resolvedGrammars=new Map,this._langMap=new Map,this._langGraph=new Map,this._textmateThemeCache=new WeakMap,this._loadedThemesCache=null,this._loadedLanguagesCache=null,this._resolver=e,this._themes=t,this._langs=n,this._alias=i,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=nn(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=w.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){if(this._alias[e]){let t=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],t.has(e))throw new ns(`Circular alias \`${Array.from(t).join(" -> ")} -> ${e}\``);t.add(e)}}return this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let i=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(i.name=e.name,this._resolvedGrammars.set(e.name,i),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t&&t.embeddedLangs?.some(e=>n.map(([e])=>e).includes(e))).filter(e=>!n.includes(e));throw new ns(`Missing languages ${n.map(([e])=>`\`${e}\``).join(", ")}, required by ${e.map(([e])=>`\`${e}\``).join(", ")}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){if(this._langMap.set(e.name,e),this._langGraph.set(e.name,e),e.embeddedLangs)for(let t of e.embeddedLangs)this._langGraph.set(t,this._langMap.get(t))}},no=class{constructor(e,t){this._langs=new Map,this._scopeToLang=new Map,this._injections=new Map,this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split("."),n=[];for(let e=1;e<=t.length;e++){let i=t.slice(0,e).join(".");n=[...n,...this._injections.get(i)||[]]}return n}};let nl=0;async function nd(e){e.engine||function(e,t=3){if(!(t>3))if(1)console.trace(`[SHIKI DEPRECATE]: ${e}`);else throw Error(`[SHIKI DEPRECATE]: ${e}`)}("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,i]=await Promise.all([nr(e.themes||[]),ni(e.langs||[]),e.engine]);return function(e){let t;nl+=1,!1!==e.warnings&&nl>=10&&nl%10==0&&console.warn(`[Shiki] ${nl} instances have been created. Shiki is supposed to be used as a singleton, c
1onsider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let n=!1;if(!e.engine)throw new ns("`engine` option is required for synchronous mode");let i=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(nn),s=new na(new no(e.engine,i),r,i,e.langAlias);function a(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};d();let t=s.getTheme(e);if(!t)throw new ns(`Theme \`${e}\` not found, you may need to load it first`);return t}function o(...e){d(),s.loadLanguages(e.flat(1))}function l(...e){for(let t of(d(),e.flat(1)))s.loadTheme(t)}function d(){if(n)throw new ns("Shiki instance has been disposed")}function c(){n||(n=!0,s.dispose(),nl-=1)}return{setTheme:function(e){d();let n=a(e);return t!==e&&(s.setTheme(n),t=e),{theme:n,colorMap:s.getColorMap()}},getTheme:a,getLanguage:function(e){d();let t=s.getGrammar("string"==typeof e?e:e.name);if(!t)throw new ns(`Language \`${e}\` not found, you may need to load it first`);return t},getLoadedThemes:function(){return d(),s.getLoadedThemes()},getLoadedLanguages:function(){return d(),s.getLoadedLanguages()},loadLanguage:async function(...e){return o(await ni(e))},loadLanguageSync:o,loadTheme:async function(...e){return d(),l(await nr(e))},loadThemeSync:l,dispose:c,[Symbol.dispose]:c}}({...e,themes:t,langs:n,engine:i})}async function nc(e){let t=await nd(e);return{getLastGrammarState:(...e)=>(function(...e){if(2===e.length)return tK(e[1]);let[t,n,i={}]=e,{lang:r="text",theme:s=t.getLoadedThemes()[0]}=i;if(tM(r)||tG(s))throw new u("Plain language does not have grammar state");if("ansi"===r)throw new u("ANSI language does not have grammar state");let{theme:a,colorMap:o}=t.setTheme(s),l=t.getLanguage(r);return new tY(t6(n,l,a,o,i).stateStack,l.name,a.name)})(t,...e),codeToTokensBase:(e,n)=>t5(t,e,n),codeToTokensWithThemes:(e,n)=>t8(t,e,n),codeToTokens:(e,n)=>t4(t,e,n),codeToHast:(e,n)=>t9(t,e,n),codeToHtml:(e,n)=>(function(e,t,n){let i={meta:{},options:n,codeToHast:(t,n)=>t9(e,t,n),codeToTokens:(t,n)=>t4(e,t,n)},r=ne(t9(e,t,n,i));for(let e of tQ(n))r=e.postprocess?.call(i,r,n)||r;return r})(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}let nu=[{id:"abap",name:"ABAP",import:()=>n.e("8534").then(n.bind(n,"../comment-widget/dist/abap-Dv3PqOIM.js"))},{id:"actionscript-3",name:"ActionScript",import:()=>n.e("9782").then(n.bind(n,"../comment-widget/dist/actionscript-3-_ZoEAdK3.js"))},{id:"ada",name:"Ada",import:()=>n.e("9347").then(n.bind(n,"../comment-widget/dist/ada-BMvW4zwO.js"))},{id:"angular-html",name:"Angular HTML",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("7393"),n.e("2414")]).then(n.bind(n,"../comment-widget/dist/angular-html-BLAos7Pg.js"))},{id:"angular-ts",name:"Angular TypeScript",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("9949"),n.e("7393"),n.e("868")]).then(n.bind(n,"../comment-widget/dist/angular-ts-Dh2YnBo7.js"))},{id:"apache",name:"Apache Conf",import:()=>n.e("8880").then(n.bind(n,"../comment-widget/dist/apache-KS_55s9b.js"))},{id:"apex",name:"Apex",import:()=>n.e("8194").then(n.bind(n,"../comment-widget/dist/apex-v7z8WaN6.js"))},{id:"apl",name:"APL",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("533"),n.e("609")]).then(n.bind(n,"../comment-widget/dist/apl-Byrkrxl7.js"))},{id:"applescript",name:"AppleScript",import:()=>n.e("61").then(n.bind(n,"../comment-widget/dist/applescript-DF4vd-z0.js"))},{id:"ara",name:"Ara",import:()=>n.e("7485").then(n.bind(n,"../comment-widget/dist/ara-BvQkRW0O.js"))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>n.e("1013").then(n.bind(n,"../comment-widget/dist/asciidoc-B8Q_Q7PQ.js"))},{id:"asm",name:"Assembly",import:()=>n.e("1489").then(n.bind(n,"../comment-widget/dist/asm-BEZ_2GuO.js"))},{id:"astro",name:"Astro",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("4267"),n.e("4025"),n.e("7780")]).then(n.bind(n,"../comment-widget/dist/astro-gBQytG9_.js"))},{id:"awk",name:"AWK",import:()=>n.e("433").then(n.bind(n,"../comment-widget/dist/awk-BBoE-LIU.js"))},{id:"ballerina",name:"Ballerina",import:()=>n.e("1774").then(n.bind(n,"../comment-widget/dist/ballerina-BLlktzxt.js"))},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>n.e("1445").then(n.bind(n,"../comment-widget/dist/bat-jZtAAZt_.js"))},{id:"beancount",name:"Beancount",import:()=>n.e("9618").then(n.bind(n,"../comment-widget/dist/beancount-N2JK1A5Z.js"))},{id:"berry",name:"Berry",aliases:["be"],import:()=>n.e("2938").then(n.bind(n,"../comment-widget/dist/berry-8yhh3rOd.js"))},{id:"bibtex",name:"BibTeX",import:()=>n.e("9162").then(n.bind(n,"../comment-widget/dist/bibtex-D_3spYTe.js"))},{id:"bicep",name:"Bicep",import:()=>n.e("2019").then(n.bind(n,"../comment-widget/dist/bicep-BpSVgjzY.js"))},{id:"blade",name:"Blade",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("533"),n.e("4612"),n.e("9242")]).then(n.bind(n,"../comment-widget/dist/blade-BQS9eZ3j.js"))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>n.e("8497").then(n.bind(n,"../comment-widget/dist/bsl-CR3QDNqo.js"))},{id:"c",name:"C",import:()=>Promise.all([n.e("4429"),n.e("5994")]).then(n.bind(n,"../comment-widget/dist/c-DebDw6oC.js"))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>n.e("9529").then(n.bind(n,"../comment-widget/dist/cadence-OVobdmui.js"))},{id:"cairo",name:"Cairo",import:()=>Promise.all([n.e("6061"),n.e("6723")]).then(n.bind(n,"../comment-widget/dist/cairo-ynhQeGXR.js"))},{id:"clarity",name:"Clarity",import:()=>n.e("8244").then(n.bind(n,"../comment-widget/dist/clarity-ByPhc9cC.js"))},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>n.e("2528").then(n.bind(n,"../comment-widget/dist/clojure-_kx8T_75.js"))},{id:"cmake",name:"CMake",import:()=>n.e("1191").then(n.bind(n,"../comment-widget/dist/cmake-CJ0JmzLy.js"))},{id:"cobol",name:"COBOL",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("533"),n.e("6110")]).then(n.bind(n,"../comment-widget/dist/cobol-TXAxwld6.js"))},{id:"codeowners",name:"CODEOWNERS",import:()=>n.e("314").then(n.bind(n,"../comment-widget/dist/codeowners-74qDRfk5.js"))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>n.e("8776").then(n.bind(n,"../comment-widget/dist/codeql-CXDBfyli.js"))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>Promise.all([n.e("3981"),n.e("4703")]).then(n.bind(n,"../comment-widget/dist/coffee-BAfhP9nT.js"))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>n.e("4838").then(n.bind(n,"../comment-widget/dist/common-lisp-BV4KiVKT.js"))},{id:"coq",name:"Coq",import:()=>n.e("1255").then(n.bind(n,"../comment-widget/dist/coq-BN0UjYLu.js"))},{id:"cpp",name:"C++",aliases:["c++"],import:()=>Promise.all([n.e("4612"),n.e("4429"),n.e("17"),n.e("8666")]).then(n.bind(n,"../comment-widget/dist/cpp-COaqYRwr.js"))},{id:"crystal",name:"Crystal",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4612"),n.e("4429"),n.e("8912"),n.e("2725")]).then(n.bind(n,"../comment-widget/dist/crystal-BMBYIjbe.js"))}
1,{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>Promise.all([n.e("5241"),n.e("6767")]).then(n.bind(n,"../comment-widget/dist/csharp-D0kgpSRZ.js"))},{id:"css",name:"CSS",import:()=>Promise.all([n.e("7265"),n.e("3942")]).then(n.bind(n,"../comment-widget/dist/css-DaTPINSM.js"))},{id:"csv",name:"CSV",import:()=>n.e("2241").then(n.bind(n,"../comment-widget/dist/csv-CpZEGVPy.js"))},{id:"cue",name:"CUE",import:()=>n.e("5626").then(n.bind(n,"../comment-widget/dist/cue-Da2tf67j.js"))},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>n.e("4087").then(n.bind(n,"../comment-widget/dist/cypher-Bn7vIVne.js"))},{id:"d",name:"D",import:()=>n.e("4525").then(n.bind(n,"../comment-widget/dist/d-B39ApPb1.js"))},{id:"dart",name:"Dart",import:()=>n.e("9855").then(n.bind(n,"../comment-widget/dist/dart-DBbDzTzw.js"))},{id:"dax",name:"DAX",import:()=>n.e("325").then(n.bind(n,"../comment-widget/dist/dax-DHYdmzj-.js"))},{id:"desktop",name:"Desktop",import:()=>n.e("1301").then(n.bind(n,"../comment-widget/dist/desktop-CA7Stsot.js"))},{id:"diff",name:"Diff",import:()=>n.e("2807").then(n.bind(n,"../comment-widget/dist/diff-DIOyXtpp.js"))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>n.e("1811").then(n.bind(n,"../comment-widget/dist/docker-MDr9AtJS.js"))},{id:"dotenv",name:"dotEnv",import:()=>n.e("2469").then(n.bind(n,"../comment-widget/dist/dotenv-BWY9q29_.js"))},{id:"dream-maker",name:"Dream Maker",import:()=>n.e("8655").then(n.bind(n,"../comment-widget/dist/dream-maker-DNusSnxm.js"))},{id:"edge",name:"Edge",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("5751")]).then(n.bind(n,"../comment-widget/dist/edge-BR9_r8ZK.js"))},{id:"elixir",name:"Elixir",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("1866")]).then(n.bind(n,"../comment-widget/dist/elixir-BV386AF4.js"))},{id:"elm",name:"Elm",import:()=>Promise.all([n.e("4429"),n.e("2588")]).then(n.bind(n,"../comment-widget/dist/elm-C85rSHbb.js"))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>n.e("7422").then(n.bind(n,"../comment-widget/dist/emacs-lisp-D-KxZBDy.js"))},{id:"erb",name:"ERB",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("533"),n.e("4612"),n.e("4429"),n.e("4025"),n.e("8912"),n.e("5743"),n.e("2861"),n.e("17"),n.e("9285"),n.e("821")]).then(n.bind(n,"../comment-widget/dist/erb-BNbTwLYc.js"))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>Promise.all([n.e("6576"),n.e("827")]).then(n.bind(n,"../comment-widget/dist/erlang-DatGQbMy.js"))},{id:"fennel",name:"Fennel",import:()=>n.e("9081").then(n.bind(n,"../comment-widget/dist/fennel-CMgo2Jlb.js"))},{id:"fish",name:"Fish",import:()=>n.e("4465").then(n.bind(n,"../comment-widget/dist/fish-CoyzgtDD.js"))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>n.e("7065").then(n.bind(n,"../comment-widget/dist/fluent-CsV3gB7k.js"))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>Promise.all([n.e("9109"),n.e("7715")]).then(n.bind(n,"../comment-widget/dist/fortran-fixed-form-CnoZlbmQ.js"))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>Promise.all([n.e("9109"),n.e("7443")]).then(n.bind(n,"../comment-widget/dist/fortran-free-form-Dhmm4Wyl.js"))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>Promise.all([n.e("6576"),n.e("4058")]).then(n.bind(n,"../comment-widget/dist/fsharp-C11CzxDo.js"))},{id:"gdresource",name:"GDResource",import:()=>Promise.all([n.e("29"),n.e("9434")]).then(n.bind(n,"../comment-widget/dist/gdresource-Cc6C_Xa9.js"))},{id:"gdscript",name:"GDScript",import:()=>Promise.all([n.e("29"),n.e("1834")]).then(n.bind(n,"../comment-widget/dist/gdscript-DaXCfB3d.js"))},{id:"gdshader",name:"GDShader",import:()=>n.e("9744").then(n.bind(n,"../comment-widget/dist/gdshader-CaPixiVu.js"))},{id:"genie",name:"Genie",import:()=>n.e("4617").then(n.bind(n,"../comment-widget/dist/genie-BQ7M20Kp.js"))},{id:"gherkin",name:"Gherkin",import:()=>n.e("7").then(n.bind(n,"../comment-widget/dist/gherkin-Dtsf3FKq.js"))},{id:"git-commit",name:"Git Commit Message",import:()=>n.e("4367").then(n.bind(n,"../comment-widget/dist/git-commit-BY77xVwz.js"))}
1,{id:"git-rebase",name:"Git Rebase Message",import:()=>Promise.all([n.e("8912"),n.e("1240")]).then(n.bind(n,"../comment-widget/dist/git-rebase-BUYKZBpU.js"))},{id:"gleam",name:"Gleam",import:()=>n.e("1447").then(n.bind(n,"../comment-widget/dist/gleam-wB1OXn83.js"))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("9721")]).then(n.bind(n,"../comment-widget/dist/glimmer-js-CtcfMK6u.js"))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("9363")]).then(n.bind(n,"../comment-widget/dist/glimmer-ts-B1YDR_RV.js"))},{id:"glsl",name:"GLSL",import:()=>Promise.all([n.e("4429"),n.e("4964")]).then(n.bind(n,"../comment-widget/dist/glsl-DNK1z225.js"))},{id:"gnuplot",name:"Gnuplot",import:()=>n.e("9487").then(n.bind(n,"../comment-widget/dist/gnuplot-BgAjW_kJ.js"))},{id:"go",name:"Go",import:()=>Promise.all([n.e("4402"),n.e("6885")]).then(n.bind(n,"../comment-widget/dist/go-7OBPlofK.js"))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>Promise.all([n.e("3981"),n.e("4267"),n.e("4025"),n.e("5743"),n.e("2861"),n.e("9732")]).then(n.bind(n,"../comment-widget/dist/graphql-Bed7_ZXS.js"))},{id:"groovy",name:"Groovy",import:()=>n.e("6451").then(n.bind(n,"../comment-widget/dist/groovy-DHf5YsuP.js"))},{id:"hack",name:"Hack",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4612"),n.e("3292")]).then(n.bind(n,"../comment-widget/dist/hack-bGOJ5JKn.js"))},{id:"haml",name:"Ruby Haml",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("9405")]).then(n.bind(n,"../comment-widget/dist/haml-BfaSC8jE.js"))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("5495")]).then(n.bind(n,"../comment-widget/dist/handlebars-DJ0X37DR.js"))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>n.e("6577").then(n.bind(n,"../comment-widget/dist/haskell-zaS4_gRV.js"))},{id:"haxe",name:"Haxe",import:()=>Promise.all([n.e("5002"),n.e("8058")]).then(n.bind(n,"../comment-widget/dist/haxe-BjL2lboN.js"))},{id:"hcl",name:"HashiCorp HCL",import:()=>n.e("9240").then(n.bind(n,"../comment-widget/dist/hcl-CnUWFFT5.js"))},{id:"hjson",name:"Hjson",import:()=>n.e("8201").then(n.bind(n,"../comment-widget/dist/hjson-BF05v4h9.js"))},{id:"hlsl",name:"HLSL",import:()=>n.e("4655").then(n.bind(n,"../comment-widget/dist/hlsl-D7qBnU9W.js"))},{id:"html",name:"HTML",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("9585")]).then(n.bind(n,"../comment-widget/dist/html-Bu-63sbs.js"))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("6936")]).then(n.bind(n,"../comment-widget/dist/html-derivative-DVzpm7ZR.js"))},{id:"http",name:"HTTP",import:()=>Promise.all([n.e("3981"),n.e("4267"),n.e("533"),n.e("4025"),n.e("8912"),n.e("5743"),n.e("2861"),n.e("6418")]).then(n.bind(n,"../comment-widget/dist/http-B4mZa4QX.js"))},{id:"hurl",name:"Hurl",import:()=>Promise.all([n.e("3981"),n.e("4267"),n.e("533"),n.e("4025"),n.e("5743"),n.e("2861"),n.e("9617")]).then(n.bind(n,"../comment-widget/dist/hurl-C3gBP8Lx.js"))},{id:"hxml",name:"HXML",import:()=>Promise.all([n.e("5002"),n.e("9076")]).then(n.bind(n,"../comment-widget/dist/hxml-i5WaI2vI.js"))},{id:"hy",name:"Hy",import:()=>n.e("2514").then(n.bind(n,"../comment-widget/dist/hy--nNVGf3o.js"))},{id:"imba",name:"Imba",import:()=>n.e("4433").then(n.bind(n,"../comment-widget/dist/imba-BiAYn-SL.js"))},{id:"ini",name:"INI",aliases:["properties"],import:()=>n.e("6849").then(n.bind(n,"../comment-widget/dist/ini-D011Yln1.js"))},{id:"java",name:"Java",import:()=>Promise.all([n.e("533"),n.e("8323")]).then(n.bind(n,"../comment-widget/dist/java-DT8j1pBM.js"))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:()=>Promise.all([n.e("3981"),n.e("3263")]).then(n.bind(n,"../comment-widget/dist/javascript-C2fhgoMY.js"))},{id:"jinja",name:"Jinja",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("8261")]).then(n.bind(n,"../comment-widget/dist/jinja-BbpziAO5.js"))},{id:"jison",name:"Jison",import:()=>Promise.all([n.e("3981"),n.e("7046")]).then(n.bind(n,"../comment-widget/dist/jison-DilISOl6.js"))},{id:"json",name:"JSON",import:()=>n.e("4904").then(n.bind(n,"../comment-widget/dist/json-Cs6abkID.js"))},{id:"json5",name:"JSON5",import:()=>n.e("1787").then(n.bind(n,"../comment-widget/dist/json5-CRM7Ch7H.js"))},{id:"jsonc",name:"JSON with Comments",import:()=>n.e("704").then(n.bind(n,"../comment-widget/dist/jsonc-lqUrnJo8.js"))},{id:"jsonl",name:"JSON Lines",import:()=>n.e("5341").then(n.bind(n,"../comment-widget/dist/jsonl-LBShImt7.js"))},{id:"jsonnet",name:"Jsonnet",import:()=>n.e("8558").then(n.bind(n,"../comment-widget/dist/jsonnet-DbC2N-40.js"))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>n.e("4326").then(n.bind(n,"../comment-widget/dist/jssm-BPFPm58R.js"))},{id:"jsx",name:"JSX",import:()=>Promise.all([n.e("5743"),n.e("2737")]).then(n.bind(n,"../comment-widget/dist/jsx-D6aNkRwx.js"))},{id:"julia",name:"Julia",aliases:["jl"],import:()=>Promise.all([n.e("3981"),n.e("4612"),n.e("4429"),n.e("17"),n.e("6061"),n.e("7271"),n.e("8676")]).then(n.bind(n,"../comment-widget/dist/julia-C5jYjsYI.js"))},{id:"kdl",name:"KDL",import:()=>n.e("2178").then(n.bind(n,"../comment-widget/dist/kdl-CrBlbkaa.js"))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>n.e("1230").then(n.bind(n,"../comment-widget/dist/kotlin-C1HW5BB2.js"))},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>n.e("2728").then(n.bind(n,"../comment-widget/dist/kusto-ByxIpkrR.js"))},{id:"latex",name:"LaTeX",import:()=>Promise.all([n.e("7271"),n.e("9630")]).then(n.bind(n,"../comment-widget/dist/latex-BjQFFP1S.js"))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>n.e("7149").then(n.bind(n,"../comment-widget/dist/lean-Ku9dAPq_.js"))},{id:"less",name:"Less",import:()=>Promise.all([n.e("2566"),n.e("7714")]).then(n.bind(n,"../comment-widget/dist/less-DknaWAyi.js"))},{id:"liquid",name:"Liquid",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4608")]).then(n.bind(n,"../comment-widget/dist/liquid-BueXBwTD.js"))},{id:"llvm",name:"LLVM IR",import:()=>n.e("2358").then(n.bind(n,"../comment-widget/dist/llvm-Bq-e8xZ1.js"))},{id:"log",name:"Log file",import:()=>n.e("7962").then(n.bind(n,"../comment-widget/dist/log-DIu-p8DR.js"))},{id:"logo",name:"Logo",import:()=>n.e("4059").then(n.bind(n,"../comment-widget/dist/logo-6HQlMK6B.js"))},{id:"lua",name:"Lua",import:()=>Promise.all([n.e("4429"),n.e("1887")]).then(n.bind(n,"../comment-widget/dist/lua-BMFpf36R.js"))}
1,{id:"luau",name:"Luau",import:()=>n.e("2952").then(n.bind(n,"../comment-widget/dist/luau-DLPIIY2m.js"))},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>n.e("7820").then(n.bind(n,"../comment-widget/dist/make-BszcNJ3b.js"))},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>Promise.all([n.e("6576"),n.e("8378")]).then(n.bind(n,"../comment-widget/dist/markdown-ClxWK0kt.js"))},{id:"marko",name:"Marko",import:()=>Promise.all([n.e("7265"),n.e("4267"),n.e("9949"),n.e("2566"),n.e("5787")]).then(n.bind(n,"../comment-widget/dist/marko-CzVMHqqn.js"))},{id:"matlab",name:"MATLAB",import:()=>n.e("7168").then(n.bind(n,"../comment-widget/dist/matlab-zOMDn4mW.js"))},{id:"mdc",name:"MDC",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("6576"),n.e("1639")]).then(n.bind(n,"../comment-widget/dist/mdc-DKJ1q_5s.js"))},{id:"mdx",name:"MDX",import:()=>n.e("9746").then(n.bind(n,"../comment-widget/dist/mdx-Ce75hlSa.js"))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>n.e("374").then(n.bind(n,"../comment-widget/dist/mermaid-zNazdKDN.js"))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>n.e("4805").then(n.bind(n,"../comment-widget/dist/mipsasm-BhBjunRS.js"))},{id:"mojo",name:"Mojo",import:()=>n.e("4460").then(n.bind(n,"../comment-widget/dist/mojo-C9hwjoCi.js"))},{id:"move",name:"Move",import:()=>n.e("3307").then(n.bind(n,"../comment-widget/dist/move-CT3jhKMq.js"))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>n.e("2352").then(n.bind(n,"../comment-widget/dist/narrat-_Y-a3BNV.js"))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>n.e("8135").then(n.bind(n,"../comment-widget/dist/nextflow-Btwqqum0.js"))},{id:"nginx",name:"Nginx",import:()=>Promise.all([n.e("4429"),n.e("7853")]).then(n.bind(n,"../comment-widget/dist/nginx-B_xQMHNQ.js"))},{id:"nim",name:"Nim",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("533"),n.e("4429"),n.e("6576"),n.e("9439")]).then(n.bind(n,"../comment-widget/dist/nim-B03LGpas.js"))},{id:"nix",name:"Nix",import:()=>n.e("9776").then(n.bind(n,"../comment-widget/dist/nix-BuOiRVEj.js"))},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>n.e("5306").then(n.bind(n,"../comment-widget/dist/nushell--PzvnMBx.js"))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>n.e("4733").then(n.bind(n,"../comment-widget/dist/objective-c-DcwJ81DV.js"))},{id:"objective-cpp",name:"Objective-C++",import:()=>n.e("4387").then(n.bind(n,"../comment-widget/dist/objective-cpp-DuWw-AAO.js"))},{id:"ocaml",name:"OCaml",import:()=>n.e("5036").then(n.bind(n,"../comment-widget/dist/ocaml-CE4lF6-b.js"))},{id:"pascal",name:"Pascal",import:()=>n.e("7047").then(n.bind(n,"../comment-widget/dist/pascal-CyZnrPgU.js"))},{id:"perl",name:"Perl",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("533"),n.e("4612"),n.e("4906")]).then(n.bind(n,"../comment-widget/dist/perl-XeOCPyY3.js"))},{id:"php",name:"PHP",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("533"),n.e("4612"),n.e("483"),n.e("4170")]).then(n.bind(n,"../comment-widget/dist/php-TGq4EoNM.js"))},{id:"pkl",name:"Pkl",import:()=>n.e("3591").then(n.bind(n,"../comment-widget/dist/pkl-CIFcu5ZD.js"))},{id:"plsql",name:"PL/SQL",import:()=>n.e("5300").then(n.bind(n,"../comment-widget/dist/plsql-BVmDGowU.js"))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>n.e("4079").then(n.bind(n,"../comment-widget/dist/po-B8skEHio.js"))},{id:"polar",name:"Polar",import:()=>n.e("8061").then(n.bind(n,"../comment-widget/dist/polar-DCNGFCyL.js"))},{id:"postcss",name:"PostCSS",import:()=>n.e("9655").then(n.bind(n,"../comment-widget/dist/postcss-DyTSfdwF.js"))},{id:"powerquery",name:"PowerQuery",import:()=>n.e("7082").then(n.bind(n,"../comment-widget/dist/powerquery-lCc7SeOx.js"))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>n.e("1928").then(n.bind(n,"../comment-widget/dist/powershell-CuEo960E.js"))},{id:"prisma",name:"Prisma",import:()=>n.e("9661").then(n.bind(n,"../comment-widget/dist/prisma-BOi7B1zP.js"))},{id:"prolog",name:"Prolog",import:()=>n.e("2309").then(n.bind(n,"../comment-widget/dist/prolog-ufNRBtoA.js"))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>n.e("3091").then(n.bind(n,"../comment-widget/dist/proto-BqdpQBN4.js"))},{id:"pug",name:"Pug",aliases:["jade"],import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("2835")]).then(n.bind(n,"../comment-widget/dist/pug-Dx3-BWgR.js"))},{id:"puppet",name:"Puppet",import:()=>n.e("1710").then(n.bind(n,"../comment-widget/dist/puppet-3WqpqKXL.js"))},{id:"purescript",name:"PureScript",import:()=>n.e("7430").then(n.bind(n,"../comment-widget/dist/purescript-DAuZj9Pu.js"))},{id:"python",name:"Python",aliases:["py"],import:()=>Promise.all([n.e("6061"),n.e("3455")]).then(n.bind(n,"../comment-widget/dist/python-dEH4i_
1St.js"))},{id:"qml",name:"QML",import:()=>Promise.all([n.e("3981"),n.e("2683")]).then(n.bind(n,"../comment-widget/dist/qml-B5RAqK-G.js"))},{id:"qmldir",name:"QML Directory",import:()=>n.e("3691").then(n.bind(n,"../comment-widget/dist/qmldir-BHGe_kvI.js"))},{id:"qss",name:"Qt Style Sheets",import:()=>n.e("1059").then(n.bind(n,"../comment-widget/dist/qss-CC5cp5Rv.js"))},{id:"r",name:"R",import:()=>Promise.all([n.e("7271"),n.e("2702")]).then(n.bind(n,"../comment-widget/dist/r-CU04I666.js"))},{id:"racket",name:"Racket",import:()=>n.e("9267").then(n.bind(n,"../comment-widget/dist/racket-DRc5EjSZ.js"))},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>n.e("9581").then(n.bind(n,"../comment-widget/dist/raku-DM-1DkWL.js"))},{id:"razor",name:"ASP.NET Razor",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("5241"),n.e("2416")]).then(n.bind(n,"../comment-widget/dist/razor-Dfw0393O.js"))},{id:"reg",name:"Windows Registry Script",import:()=>n.e("3274").then(n.bind(n,"../comment-widget/dist/reg-DHWoefYY.js"))},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>n.e("3304").then(n.bind(n,"../comment-widget/dist/regexp-BkJgJOTy.js"))},{id:"rel",name:"Rel",import:()=>n.e("8214").then(n.bind(n,"../comment-widget/dist/rel-CDkMB8ni.js"))},{id:"riscv",name:"RISC-V",import:()=>n.e("4857").then(n.bind(n,"../comment-widget/dist/riscv-BGzS2G1a.js"))},{id:"rosmsg",name:"ROS Interface",import:()=>n.e("7202").then(n.bind(n,"../comment-widget/dist/rosmsg-BJ_ZXyxt.js"))},{id:"rst",name:"reStructuredText",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("533"),n.e("4612"),n.e("4429"),n.e("4025"),n.e("8912"),n.e("5743"),n.e("2861"),n.e("17"),n.e("6061"),n.e("9285"),n.e("6003")]).then(n.bind(n,"../comment-widget/dist/rst-KtX0PsxU.js"))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("533"),n.e("4612"),n.e("4429"),n.e("4025"),n.e("8912"),n.e("5743"),n.e("2861"),n.e("17"),n.e("9285"),n.e("3069")]).then(n.bind(n,"../comment-widget/dist/ruby-Zzqz0ZjA.js"))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>n.e("1243").then(n.bind(n,"../comment-widget/dist/rust-DVf1jzjS.js"))},{id:"sas",name:"SAS",import:()=>Promise.all([n.e("4612"),n.e("6454")]).then(n.bind(n,"../comment-widget/dist/sas-DPO40hDS.js"))},{id:"sass",name:"Sass",import:()=>n.e("4718").then(n.bind(n,"../comment-widget/dist/sass-D05P-vCn.js"))},{id:"scala",name:"Scala",import:()=>n.e("689").then(n.bind(n,"../comment-widget/dist/scala-oYQUxK6-.js"))},{id:"scheme",name:"Scheme",import:()=>n.e("5905").then(n.bind(n,"../comment-widget/dist/scheme-XHPyaa_U.js"))},{id:"scss",name:"SCSS",import:()=>Promise.all([n.e("7265"),n.e("9949"),n.e("1677")]).then(n.bind(n,"../comment-widget/dist/scss-kYxMdJGq.js"))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>n.e("7095").then(n.bind(n,"../comment-widget/dist/sdbl-DPWxC0f5.js"))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>n.e("2204").then(n.bind(n,"../comment-widget/dist/shaderlab-eJM8Y2Kg.js"))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>Promise.all([n.e("8912"),n.e("4821")]).then(n.bind(n,"../comment-widget/dist/shellscript-B_JRk2W5.js"))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>Promise.all([n.e("8912"),n.e("6102")]).then(n.bind(n,"../comment-widget/dist/shellsession-CFp2HU3D.js"))},{id:"smalltalk",name:"Smalltalk",import:()=>n.e("5605").then(n.bind(n,"../comment-widget/dist/smalltalk-DQ0CtCNj.js"))},{id:"solidity",name:"Solidity",import:()=>n.e("3702").then(n.bind(n,"../comment-widget/dist/solidity-Cuc2I6kE.js"))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("6421")]).then(n.bind(n,"../comment-widget/dist/soy-C36nQrFT.js"))},{id:"sparql",name:"SPARQL",import:()=>n.e("7861").then(n.bind(n,"../comment-widget/dist/sparql-BylM5nR0.js"))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>n.e("9561").then(n.bind(n,"../comment-widget/dist/splunk-C_YlVgG2.js"))},{id:"sql",name:"SQL",import:()=>Promise.all([n.e("4612"),n.e("9805")]).then(n.bind(n,"../comment-widget/dist/sql-rcUW7Uvo.js"))},{id:"ssh-config",name:"SSH Config",import:()=>n.e("8602").then(n.bind(n,"../comment-widget/dist/ssh-config-BPt83XIl.js"))},{id:"stata",name:"Stata",import:()=>Promise.all([n.e("4612"),n.e("2873")]).then(n.bind(n,"../comment-widget/dist/stata-2dW91u4I.js"))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>Promise.all([n.e("8072"),n.e("2978")]).then(n.bind(n,"../comment-widget/dist/stylus-DgbJtPwS.js"))},{id:"svelte",name:"Svelte",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("4267"),n.e("2")]).then(n.bind(n,"../comment-widget/dist/svelte-BWwns4eP.js"))},{id:"swift",name:"Swift",import:()=>n.e("8879").then(n.bind(n,"../comment-widget/dist/swift-DQIoSAoQ.js"))},{id:"system-verilog",name:"SystemVerilog",import:()=>n.e("3642").then(n.bind(n,"../comment-widget/dist/system-verilog-YaITZA0C.js"))},{id:"systemd",name:"Systemd Units",import:()=>n.e("1290").then(n.bind(n,"../comment-widget/dist/systemd-amh84O_P.js"))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>n.e("8107").then(n.bind(n,"../comment-widget/dist/talonscript-BW-b4SUu.js"))},{id:"tasl",name:"Tasl",import:()=>n.e("7401").then(n.bind(n,"../comment-widget/dist/tasl-BbHC2HCw.js"))},{id:"tcl",name:"Tcl",import:()=>n.e("4096").then(n.bind(n,"../comment-widget/dist/tcl-QSZTXTwe.js"))}
1,{id:"templ",name:"Templ",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("4402"),n.e("3572")]).then(n.bind(n,"../comment-widget/dist/templ-Bes0-x6D.js"))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>n.e("1215").then(n.bind(n,"../comment-widget/dist/terraform-CjZKtm0A.js"))},{id:"tex",name:"TeX",import:()=>Promise.all([n.e("7271"),n.e("1075")]).then(n.bind(n,"../comment-widget/dist/tex-CvXnFP-s.js"))},{id:"toml",name:"TOML",import:()=>n.e("6064").then(n.bind(n,"../comment-widget/dist/toml-Dfvhys0a.js"))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("533"),n.e("4612"),n.e("4429"),n.e("7600")]).then(n.bind(n,"../comment-widget/dist/ts-tags-DDS_jNZh.js"))},{id:"tsv",name:"TSV",import:()=>n.e("5417").then(n.bind(n,"../comment-widget/dist/tsv-BVknJNuy.js"))},{id:"tsx",name:"TSX",import:()=>Promise.all([n.e("4025"),n.e("1968")]).then(n.bind(n,"../comment-widget/dist/tsx-COL1a5TG.js"))},{id:"turtle",name:"Turtle",import:()=>n.e("5727").then(n.bind(n,"../comment-widget/dist/turtle-LNq9hsvI.js"))},{id:"twig",name:"Twig",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("533"),n.e("4612"),n.e("4429"),n.e("4025"),n.e("8912"),n.e("5743"),n.e("2861"),n.e("17"),n.e("6061"),n.e("9949"),n.e("9285"),n.e("483"),n.e("2360")]).then(n.bind(n,"../comment-widget/dist/twig-C4-30ayk.js"))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:()=>Promise.all([n.e("4267"),n.e("4234")]).then(n.bind(n,"../comment-widget/dist/typescript-cDyfu8I4.js"))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>n.e("8764").then(n.bind(n,"../comment-widget/dist/typespec-CpsCdObx.js"))},{id:"typst",name:"Typst",aliases:["typ"],import:()=>n.e("3617").then(n.bind(n,"../comment-widget/dist/typst-DCbypcyf.js"))}
1,{id:"v",name:"V",import:()=>n.e("6970").then(n.bind(n,"../comment-widget/dist/v-CO7dkT_N.js"))},{id:"vala",name:"Vala",import:()=>n.e("9427").then(n.bind(n,"../comment-widget/dist/vala-q88jwgU0.js"))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>n.e("1819").then(n.bind(n,"../comment-widget/dist/vb-DOg3ZvEl.js"))},{id:"verilog",name:"Verilog",import:()=>n.e("2266").then(n.bind(n,"../comment-widget/dist/verilog-DWHn2QN5.js"))},{id:"vhdl",name:"VHDL",import:()=>n.e("3720").then(n.bind(n,"../comment-widget/dist/vhdl-B2nvAWWb.js"))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>n.e("9759").then(n.bind(n,"../comment-widget/dist/viml-CvGwBPNk.js"))},{id:"vue",name:"Vue",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("1090"),n.e("5209")]).then(n.bind(n,"../comment-widget/dist/vue-Iq8MdWNZ.js"))},{id:"vue-html",name:"Vue HTML",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("1090"),n.e("9238")]).then(n.bind(n,"../comment-widget/dist/vue-html-CtoDBLSr.js"))},{id:"vue-vine",name:"Vue Vine",import:()=>Promise.all([n.e("3981"),n.e("7265"),n.e("6531"),n.e("4267"),n.e("9949"),n.e("2566"),n.e("1090"),n.e("8072"),n.e("8309")]).then(n.bind(n,"../comment-widget/dist/vue-vine-DTkj71aK.js"))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>n.e("7827").then(n.bind(n,"../comment-widget/dist/vyper-BLl4P0ec.js"))},{id:"wasm",name:"WebAssembly",import:()=>n.e("2901").then(n.bind(n,"../comment-widget/dist/wasm-C0DDA_0e.js"))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>n.e("7108").then(n.bind(n,"../comment-widget/dist/wenyan-CX9F7kMz.js"))},{id:"wgsl",name:"WGSL",import:()=>n.e("1444").then(n.bind(n,"../comment-widget/dist/wgsl--kKwAlyZ.js"))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>n.e("7957").then(n.bind(n,"../comment-widget/dist/wikitext-Bkg-Plss.js"))},{id:"wit",name:"WebAssembly Interface Types",import:()=>n.e("9159").then(n.bind(n,"../comment-widget/dist/wit-N1OPqpn9.js"))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>n.e("8203").then(n.bind(n,"../comment-widget/dist/wolfram-AEY9Ijc6.js"))},{id:"xml",name:"XML",import:()=>Promise.all([n.e("533"),n.e("5392")]).then(n.bind(n,"../comment-widget/dist/xml-CdknZnHB.js"))},{id:"xsl",name:"XSL",import:()=>Promise.all([n.e("533"),n.e("5314")]).then(n.bind(n,"../comment-widget/dist/xsl-BbHVSCX8.js"))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>n.e("4080").then(n.bind(n,"../comment-widget/dist/yaml-18RtzZPG.js"))},{id:"zenscript",name:"ZenScript",import:()=>n.e("1623").then(n.bind(n,"../comment-widget/dist/zenscript-DVlDJrIA.js"))},{id:"zig",name:"Zig",import:()=>n.e("6151").then(n.bind(n,"../comment-widget/dist/zig-BvrfZw30.js"))}],nm=Object.fromEntries(nu.map(e=>[e.id,e.import])),nh=Object.fromEntries(nu.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),np={...nm,...nh},ng=Object.fromEntries([{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>n.e("4350").then(n.bind(n,"../comment-widget/dist/andromeeda-BtxnC11d.js"))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>n.e("3062").then(n.bind(n,"../comment-widget/dist/aurora-x-BwOOM1I8.js"))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>n.e("8612").then(n.bind(n,"../comment-widget/dist/ayu-dark-nONsFrCx.js"))},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xe9",type:"dark",import:()=>n.e("6925").then(n.bind(n,"../comment-widget/dist/catppuccin-frappe-gtop6Bd_.js"))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>n.e("4570").then(n.bind(n,"../comment-widget/dist/catppuccin-latte-DboNXoFR.js"))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>n.e("9452").then(n.bind(n,"../comment-widget/dist/catppuccin-macchiato-Mi7fsalH.js"))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>n.e("1278").then(n.bind(n,"../comment-widget/dist/catppuccin-mocha-D6MEZZ3o.js"))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>n.e("4677").then(n.bind(n,"../comment-widget/dist/dark-plus-DHV7WAtZ.js"))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>n.e("2142").then(n.bind(n,"../comment-widget/dist/dracula-B_atcHpv.js"))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>n.e("1034").then(n.bind(n,"../comment-widget/dist/dracula-soft-B9hRPjeB.js"))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>n.e("1107").then(n.bind(n,"../comment-widget/dist/everforest-dark-B88CPM_K.js"))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>n.e("5246").then(n.bind(n,"../comment-widget/dist/everforest-light-sLPv7P8Y.js"))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>n.e("8905").then(n.bind(n,"../comment-widget/dist/github-dark-BNNIpZOF.js"))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>n.e("3920").then(n.bind(n,"../comment-widget/dist/github-dark-default-CQ8eJrH2.js"))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>n.e("5700").then(n.bind(n,"../comment-widget/dist/github-dark-dimmed-04LRM_Ue.js"))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>n.e("3976").then(n.bind(n,"../comment-widget/dist/github-dark-high-contrast-DQMWnKZi.js"))},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>n.e("3713").then(n.bind(n,"../comment-widget/dist/github-light-DvsrqgLK.js"))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>n.e("6318").then(n.bind(n,"../comment-widget/dist/github-light-default-Chz-17nU.js"))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>n.e("8809").then(n.bind(n,"../comment-widget/dist/github-light-high-contrast-CbyjScGs.js"))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:()=>n.e("1184").then(n.bind(n,"../comment-widget/dist/gruvbox-dark-hard-CqLHPMKE.js"))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:()=>n.e("7160").then(n.bind(n,"../comment-widget/dist/gruvbox-dark-medium-
1B6btz-Hj.js"))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:()=>n.e("2647").then(n.bind(n,"../comment-widget/dist/gruvbox-dark-soft-Bk6_wIlG.js"))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:()=>n.e("6857").then(n.bind(n,"../comment-widget/dist/gruvbox-light-hard-Az0Slr8p.js"))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:()=>n.e("5933").then(n.bind(n,"../comment-widget/dist/gruvbox-light-medium-Dz3C93Bx.js"))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:()=>n.e("261").then(n.bind(n,"../comment-widget/dist/gruvbox-light-soft-DO0iPlVa.js"))},{id:"houston",displayName:"Houston",type:"dark",import:()=>n.e("4225").then(n.bind(n,"../comment-widget/dist/houston-DfjX0fYo.js"))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>n.e("2988").then(n.bind(n,"../comment-widget/dist/kanagawa-dragon-_SSe1VGt.js"))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>n.e("5101").then(n.bind(n,"../comment-widget/dist/kanagawa-lotus-fLgPAp7n.js"))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>n.e("2758").then(n.bind(n,"../comment-widget/dist/kanagawa-wave-BcFM9dcz.js"))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>n.e("7373").then(n.bind(n,"../comment-widget/dist/laserwave-DCGPvTmM.js"))},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>n.e("5970").then(n.bind(n,"../comment-widget/dist/light-plus-_Gx5uz1A.js"))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>n.e("2081").then(n.bind(n,"../comment-widget/dist/material-theme-Cg1vyBdg.js"))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>n.e("5130").then(n.bind(n,"../comment-widget/dist/material-theme-darker-DIkrrxKi.js"))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>n.e("5652").then(n.bind(n,"../comment-widget/dist/material-theme-lighter-C2aCBaZt.js"))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>n.e("7802").then(n.bind(n,"../comment-widget/dist/material-theme-ocean-C6y7YURR.js"))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>n.e("7795").then(n.bind(n,"../comment-widget/dist/material-theme-palenight-w0zZ6Q4Z.js"))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>n.e("1174").then(n.bind(n,"../comment-widget/dist/min-dark-WP15BKjX.js"))},{id:"min-light",displayName:"Min Light",type:"light",import:()=>n.e("8005").then(n.bind(n,"../comment-widget/dist/min-light-C3yKNQ0X.js"))},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>n.e("3959").then(n.bind(n,"../comment-widget/dist/monokai-DaOzLFtd.js"))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>n.e("523").then(n.bind(n,"../comment-widget/dist/night-owl-BGzSWmkz.js"))},{id:"nord",displayName:"Nord",type:"dark",import:()=>n.e("2851").then(n.bind(n,"../comment-widget/dist/nord-D14QvaLD.js"))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>n.e("8594").then(n.bind(n,"../comment-widget/dist/one-dark-pro-BL4Ea0Gk.js"))},{id:"one-light",displayName:"One Light",type:"light",import:()=>n.e("9411").then(n.bind(n,"../comment-widget/dist/one-light-7aOOPFHG.js"))},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>n.e("7634").then(n.bind(n,"../comment-widget/dist/plastic-CsJ8RbwR.js"))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>n.e("6696").then(n.bind(n,"../comment-widget/dist/poimandres-34axO7il.js"))},{id:"red",displayName:"Red",type:"dark",import:()=>n.e("4953").then(n.bind(n,"../comment-widget/dist/red-PZcfaLGL.js"))},{id:"rose-pine",displayName:"Ros\xe9 Pine",type:"dark",import:()=>n.e("7038").then(n.bind(n,"../comment-widget/dist/rose-pine-qz_Sxlhl.js"))},{id:"rose-pine-dawn",displayName:"Ros\xe9 Pine Dawn",type:"light",import:()=>n.e("4554").then(n.bind(n,"../comment-widget/dist/rose-pine-dawn-CQvtXfVt.js"))},{id:"rose-pine-moon",displayName:"Ros\xe9 Pine Moon",type:"dark",import:()=>n.e("8286").then(n.bind(n,"../comment-widget/dist/rose-pine-moon-CmQKxrWB.js"))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>n.e("7924").then(n.bind(n,"../comment-widget/dist/slack-dark-BNn5Z9iY.js"))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>n.e("858").then(n.bind(n,"../comment-widget/dist/slack-ochin-BKbNaYIs.js"))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>n.e("4757").then(n.bind(n,"../comment-widget/dist/snazzy-light-4osydfGv.js"))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>n.e("778").then(n.bind(n,"../comment-widget/dist/solarized-dark-BkZ0Ud_p.js"))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>n.e("3625").then(n.bind(n,"../comment-widget/dist/solarized-light-BZbK09Fx.js"))}
1,{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>n.e("8888").then(n.bind(n,"../comment-widget/dist/synthwave-84-B_tqBSlv.js"))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>n.e("9541").then(n.bind(n,"../comment-widget/dist/tokyo-night-CHnxtiSB.js"))},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>n.e("7510").then(n.bind(n,"../comment-widget/dist/vesper-Cpwc0WoG.js"))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>n.e("310").then(n.bind(n,"../comment-widget/dist/vitesse-black-B7bxMkhA.js"))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>n.e("9330").then(n.bind(n,"../comment-widget/dist/vitesse-dark-BGsFLE-Y.js"))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>n.e("8487").then(n.bind(n,"../comment-widget/dist/vitesse-light-17MeK3DK.js"))}].map(e=>[e.id,e.import]));var nf=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function nb(){return"undefined"!=typeof performance?performance.now():Date.now()}let ny=(e,t)=>e+(t-e%t)%t;async function nw(e){let t,n,i={};function r(e){n=e,i.HEAPU8=new Uint8Array(e),i.HEAPU32=new Uint32Array(e)}let s="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function a(e,t){return e?function(e,t,n=1024){let i=t+n,r=t;for(;e[r]&&!(r>=i);)++r;if(r-t>16&&e.buffer&&s)return s.decode(e.subarray(t,r));let a="";for(;t<r;){let n=e[t++];if(!(128&n)){a+=String.fromCharCode(n);continue}let i=63&e[t++];if((224&n)==192){a+=String.fromCharCode((31&n)<<6|i);continue}let r=63&e[t++];if((n=(240&n)==224?(15&n)<<12|i<<6|r:(7&n)<<18|i<<12|r<<6|63&e[t++])<65536)a+=String.fromCharCode(n);else{let e=n-65536;a+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return a}(i.HEAPU8,e,t):""}let o={emscripten_get_now:nb,emscripten_memcpy_big:function(e,t,n){i.HEAPU8.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){let s=i.HEAPU8.length;if((e>>>=0)>0x80000000)return!1;for(let i=1;i<=4;i*=2){let a=s*(1+.2/i);if(a=Math.min(a,e+0x6000000),function(e){try{return t.grow(e-n.byteLength+65535>>>16),r(t.buffer),1}catch{}}(Math.min(0x80000000,ny(Math.max(e,a),65536))))return!0}return!1},fd_write:()=>0};async function l(){let n=await e({env:o,wasi_snapshot_preview1:o});r((t=n.memory).buffer),Object.assign(i,n),i.UTF8ToString=a}return await l(),i}var nk=Object.defineProperty,n_=(e,t,n)=>{let i;return(i="symbol"!=typeof t?t+"":t)in e?nk(e,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[i]=n};let nS=null;var nv=class e{constructor(t){n_(this,"utf16Length"),n_(this,"utf8Length"),n_(this,"utf16Value"),n_(this,"utf8Value"),n_(this,"utf16OffsetToUtf8"),n_(this,"utf8OffsetToUtf16");let n=t.length,i=e._utf8ByteLength(t),r=i!==n,s=r?new Uint32Array(n+1):null;r&&(s[n]=i);let a=r?new Uint32Array(i+1):null;r&&(a[i]=n);let o=new Uint8Array(i),l=0;for(let e=0;e<n;e++){let i=t.charCodeAt(e),d=i,c=!1;if(i>=55296&&i<=56319&&e+1<n){let n=t.charCodeAt(e+1);n>=56320&&n<=57343&&(d=(i-55296<<10)+65536|n-56320,c=!0)}r&&(s[e]=l,c&&(s[e+1]=l),d<=127?a[l+0]=e:d<=2047?(a[l+0]=e,a[l+1]=e):d<=65535?(a[l+0]=e,a[l+1]=e,a[l+2]=e):(a[l+0]=e,a[l+1]=e,a[l+2]=e,a[l+3]=e)),d<=127?o[l++]=d:(d<=2047?o[l++]=192|(1984&d)>>>6:(d<=65535?o[l++]=224|(61440&d)>>>12:(o[l++]=240|(1835008&d)>>>18,o[l++]=128|(258048&d)>>>12),o[l++]=128|(4032&d)>>>6),o[l++]=128|(63&d)>>>0),c&&e++}this.utf16Length=n,this.utf8Length=i,this.utf16Value=t,this.utf8Value=o,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let t=0;for(let n=0,i=e.length;n<i;n++){let r=e.charCodeAt(n),s=r,a=!1;if(r>=55296&&r<=56319&&n+1<i){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(s=(r-55296<<10)+65536|t-56320,a=!0)}s<=127?t+=1:s<=2047?t+=2:s<=65535?t+=3:t+=4,a&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}};let nC=class e{constructor(t){if(n_(this,"id",++e.LAST_ID),n_(this,"_onigBinding"),n_(this,"content"),n_(this,"utf16Length"),n_(this,"utf8Length"),n_(this,"utf16OffsetToUtf8"),n_(this,"utf8OffsetToUtf16"),n_(this,"ptr"),!nS)throw new nf("Must invoke loadWasm first.");this._onigBinding=nS,this.content=t;let n=new nv(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||(e._sharedPtr=nS.omalloc(1e4)),e._sharedPtrInUse=!0,nS.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(nS)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};n_(nC,"LAST_ID",0),n_(nC,"_sharedPtr",0),n_(nC,"_sharedPtrInUse",!1);var nj=class{constructor(e){if(n_(this,"_onigBinding"),n_(this,"_ptr"),!nS)throw new nf("Mu
1st invoke loadWasm first.");let t=[],n=[];for(let i=0,r=e.length;i<r;i++){let r=new nv(e[i]);t[i]=r.createString(nS),n[i]=r.utf8Length}let i=nS.omalloc(4*e.length);nS.HEAPU32.set(t,i/4);let r=nS.omalloc(4*e.length);nS.HEAPU32.set(n,r/4);let s=nS.createOnigScanner(i,r,e.length);for(let n=0,i=e.length;n<i;n++)nS.ofree(t[n]);nS.ofree(r),nS.ofree(i),0===s&&function(e){throw new nf(e.UTF8ToString(e.getLastOnigError()))}(nS),this._onigBinding=nS,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let i=0;if("number"==typeof n&&(i=n),"string"==typeof e){e=new nC(e);let n=this._findNextMatchSync(e,t,!1,i);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,i)}_findNextMatchSync(e,t,n,i){let r=this._onigBinding,s=r.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),i);if(0===s)return null;let a=r.HEAPU32,o=s/4,l=a[o++],d=a[o++],c=[];for(let t=0;t<d;t++){let n=e.convertUtf8OffsetToUtf16(a[o++]),i=e.convertUtf8OffsetToUtf16(a[o++]);c[t]={start:n,end:i,length:i-n}}return{index:l,captureIndices:c}}};function nP(e){return t=>WebAssembly.instantiate(e,t)}async function nN(e){return e&&await (r||(r=async function(){nS=await nw(async t=>{let n=e;if("function"==typeof(n=await n)&&(n=await n(t)),"function"==typeof n&&(n=await n(t)),"function"==typeof n.instantiator)n=await n.instantiator(t);else if("function"==typeof n.default)n=await n.default(t);else{var i,r,s,a;if(void 0!==n.data&&(n=n.data),i=n,"undefined"!=typeof Response&&i instanceof Response){n="function"==typeof WebAssembly.instantiateStreaming?await (s=n,e=>WebAssembly.instantiateStreaming(s,e))(t):await (a=n,async e=>{let t=await a.arrayBuffer();return WebAssembly.instantiate(t,e)})(t)}else(r=n,"undefined"!=typeof ArrayBuffer&&(r instanceof ArrayBuffer||ArrayBuffer.isView(r))||"undefined"!=typeof Buffer&&Buffer.isBuffer?.(r)||"undefined"!=typeof SharedArrayBuffer&&r instanceof SharedArrayBuffer||"undefined"!=typeof Uint32Array&&r instanceof Uint32Array||n instanceof WebAssembly.Module)?n=await nP(n)(t):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await nP(n.default)(t))}return"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}())),{createScanner:e=>new nj(e.map(e=>"string"==typeof e?e:e.source)),createString:e=>new nC(e)}}let nA=(s=(d={langs:np,themes:ng,engine:()=>nN(n.e("4172").then(n.bind(n,"../comment-widget/dist/wasm-D88l3r9A.js")))}).langs,a=d.themes,o=d.engine,async function(e){function t(t){if("string"==typeof t){if(tI(t))return[];let n=s[t=e.langAlias?.[t]||t];if(!n)throw new u(`Language \`${t}\` is not included in this bundle. You may want to load it from external source.`);return n}return t}function n(e){if(tG(e))return"none";if("string"==typeof e){let t=a[e];if(!t)throw new u(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let i=(e.themes??[]).map(e=>n(e)),r=(e.langs??[]).map(e=>t(e)),l=await nc({engine:e.engine??o(),...e,themes:i,langs:r});return{...l,loadLanguage:(...e)=>l.loadLanguage(...e.map(t)),loadTheme:(...e)=>l.loadTheme(...e.map(n)),getBundledLanguages:()=>s,getBundledThemes:()=>a}}),{codeToHtml:nx}=function(e,t){let n,i=async function(t={}){if(n){let e=await n;return await Promise.all([e.loadTheme(...t.themes||[]),e.loadLanguage(...t.langs||[])]),e}{n=e({...t,themes:[],langs:[]});let i=await n;return await Promise.all([i.loadTheme(...t.themes||[]),i.loadLanguage(...t.langs||[])]),i}};async function r(e,n){let r=await i({langs:[n.lang],themes:"theme"in n?[n.theme]:Object.values(n.themes)}),s=await t?.guessEmbeddedLanguages?.(e,n.lang,r);return s&&await r.loadLanguage(...s),r}return{getSingletonHighlighter:e=>i(e),codeToHtml:async(e,t)=>(await r(e,t)).codeToHtml(e,t),codeToHast:async(e,t)=>(await r(e,t)).codeToHast(e,t),codeToTokens:async(e,t)=>(await r(e,t)).codeToTokens(e,t),codeToTokensBase:async(e,t)=>(await r(e,t)).codeToTokensBase(e,t),codeToTokensWithThemes:async(e,t)=>(await r(e,t)).codeToTokensWithThemes(e,t),getLastGrammarState:async(e,t)=>(await i({langs:[t.lang],themes:[t.theme]})).getLastGrammarState(e,t)}}(nA,{guessEmbeddedLanguages:function(e,t,n){let i=new Set;for(let t of e.matchAll(/lang=["']([\w-]+)["']/g))i.add(t[1]);for(let t of e.matchAll(/(?:```|~~~)([\w-]+)/g))i.add(t[1]);for(let t of e.matchAll(/\\begin\{([\w-]+)\}/g))i.add(t[1]);if(!n)return Array.from(i);let r=n.getBundledLanguages();return Array.from(i).filter(e=>e&&r[e])}})}
1};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.