markdown-design-doc-viewer 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +18 -5
- package/README.md +18 -5
- package/ThirdPartyNotices.txt +2654 -0
- package/dist/cli.js +72 -59
- package/dist/export.css +1 -1
- package/dist/export.js +1 -1
- package/dist/webview.css +1 -1
- package/dist/webview.js +443 -442
- package/l10n/bundle.l10n.ja.json +123 -1
- package/package.json +21 -2
package/dist/cli.js
CHANGED
|
@@ -1,71 +1,76 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var Cs=Object.create;var zt=Object.defineProperty;var Ns=Object.getOwnPropertyDescriptor;var Ts=Object.getOwnPropertyNames;var Ss=Object.getPrototypeOf,Ds=Object.prototype.hasOwnProperty;var P=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}},Nn=(e,t)=>{for(var n in t)zt(e,n,{get:t[n],enumerable:!0})},Ms=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ts(t))!Ds.call(e,i)&&i!==n&&zt(e,i,{get:()=>t[i],enumerable:!(r=Ns(t,i))||r.enumerable});return e};var Tn=(e,t,n)=>(n=e!=null?Cs(Ss(e)):{},Ms(t||!e||!e.__esModule?zt(n,"default",{value:e,enumerable:!0}):n,e));var rr=P((Rf,nr)=>{function Gn(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&Gn(n)}),e}var ut=class{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function Kn(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Ee(e,...t){let n=Object.create(null);for(let r in e)n[r]=e[r];return t.forEach(function(r){for(let i in r)n[i]=r[i]}),n}var ea="</span>",Pn=e=>!!e.scope,ta=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){let n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`},Zt=class{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=Kn(t)}openNode(t){if(!Pn(t))return;let n=ta(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){Pn(t)&&(this.buffer+=ea)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}},Un=(e={})=>{let t={children:[]};return Object.assign(t,e),t},Jt=class e{constructor(){this.rootNode=Un(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){let n=Un({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{e._collapse(n)}))}},Yt=class extends Jt{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,n){let r=t.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new Zt(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function He(e){return e?typeof e=="string"?e:e.source:null}function Wn(e){return Ae("(?=",e,")")}function na(e){return Ae("(?:",e,")*")}function ra(e){return Ae("(?:",e,")?")}function Ae(...e){return e.map(n=>He(n)).join("")}function ia(e){let t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function ft(...e){return"("+(ia(e).capture?"":"?:")+e.map(r=>He(r)).join("|")+")"}function Zn(e){return new RegExp(e.toString()+"|").exec("").length-1}function oa(e,t){let n=e&&e.exec(t);return n&&n.index===0}var sa=new RegExp(ft(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function jt(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;let i=n,o=He(r),a="";for(;o.length>0;){let s=sa.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],(s[0]==="("||/^\(\?[<']/.test(s[0]))&&n++)}return a}).map(r=>`(${r})`).join(t)}var aa=/\b\B/,Jn="[a-zA-Z]\\w*",Vt="[a-zA-Z_]\\w*",Yn="\\b\\d+(\\.\\d+)?",Xn="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",jn="\\b(0b[01]+)",ca="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",la=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=Ae(t,/.*\b/,e.binary,/\b.*/)),Ee({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Ge={begin:"\\\\[\\s\\S]",relevance:0},ua={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ge]},da={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ge]},fa={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},gt=function(e,t,n={}){let r=Ee({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=ft("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Ae(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},ga=gt("//","$"),pa=gt("/\\*","\\*/"),ha=gt("#","$"),ma={scope:"number",begin:Yn,relevance:0},ba={scope:"number",begin:Xn,relevance:0},_a={scope:"number",begin:jn,relevance:0},Ea={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ge,{begin:/\[/,end:/\]/,relevance:0,contains:[Ge]}]},ka={scope:"title",begin:Jn,relevance:0},xa={scope:"title",begin:Vt,relevance:0},wa={begin:"\\.\\s*"+Vt,relevance:0},va=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})},lt=Object.freeze({__proto__:null,APOS_STRING_MODE:ua,BACKSLASH_ESCAPE:Ge,BINARY_NUMBER_MODE:_a,BINARY_NUMBER_RE:jn,COMMENT:gt,C_BLOCK_COMMENT_MODE:pa,C_LINE_COMMENT_MODE:ga,C_NUMBER_MODE:ba,C_NUMBER_RE:Xn,END_SAME_AS_BEGIN:va,HASH_COMMENT_MODE:ha,IDENT_RE:Jn,MATCH_NOTHING_RE:aa,METHOD_GUARD:wa,NUMBER_MODE:ma,NUMBER_RE:Yn,PHRASAL_WORDS_MODE:fa,QUOTE_STRING_MODE:da,REGEXP_MODE:Ea,RE_STARTERS_RE:ca,SHEBANG:la,TITLE_MODE:ka,UNDERSCORE_IDENT_RE:Vt,UNDERSCORE_TITLE_MODE:xa});function Ra(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function ya(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Aa(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Ra,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Ca(e,t){Array.isArray(e.illegal)&&(e.illegal=ft(...e.illegal))}function Na(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Ta(e,t){e.relevance===void 0&&(e.relevance=1)}var Sa=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");let n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=Ae(n.beforeMatch,Wn(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},Da=["of","and","for","in","not","or","if","then","parent","list","value"],Ma="keyword";function Vn(e,t,n=Ma){let r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(o){Object.assign(r,Vn(e[o],t,o))}),r;function i(o,a){t&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){let c=s.split("|");r[c[0]]=[o,Oa(c[0],c[1])]})}}function Oa(e,t){return t?Number(t):Ia(e)?0:1}function Ia(e){return Da.includes(e.toLowerCase())}var $n={},ye=e=>{console.error(e)},zn=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Oe=(e,t)=>{$n[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),$n[`${e}/${t}`]=!0)},dt=new Error;function Qn(e,t,{key:n}){let r=0,i=e[n],o={},a={};for(let s=1;s<=t.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=Zn(t[s-1]);e[n]=a,e[n]._emit=o,e[n]._multi=!0}function La(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw ye("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),dt;if(typeof e.beginScope!="object"||e.beginScope===null)throw ye("beginScope must be object"),dt;Qn(e,e.begin,{key:"beginScope"}),e.begin=jt(e.begin,{joinWith:""})}}function Fa(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw ye("skip, excludeEnd, returnEnd not compatible with endScope: {}"),dt;if(typeof e.endScope!="object"||e.endScope===null)throw ye("endScope must be object"),dt;Qn(e,e.end,{key:"endScope"}),e.end=jt(e.end,{joinWith:""})}}function Ba(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Pa(e){Ba(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),La(e),Fa(e)}function Ua(e){function t(a,s){return new RegExp(He(a),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,s]),this.matchAt+=Zn(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let s=this.regexes.map(c=>c[1]);this.matcherRe=t(jt(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;let c=this.matcherRe.exec(s);if(!c)return null;let l=c.findIndex((f,p)=>p>0&&f!==void 0),u=this.matchIndexes[l];return c.splice(0,l),Object.assign(c,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];let c=new n;return this.rules.slice(s).forEach(([l,u])=>c.addRule(l,u)),c.compile(),this.multiRegexes[s]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,c){this.rules.push([s,c]),c.type==="begin"&&this.count++}exec(s){let c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let l=c.exec(s);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){let u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,l=u.exec(s)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function i(a){let s=new r;return a.contains.forEach(c=>s.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){let c=a;if(a.isCompiled)return c;[ya,Na,Pa,Sa].forEach(u=>u(a,s)),e.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[Aa,Ca,Ta].forEach(u=>u(a,s)),a.isCompiled=!0;let l=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),l=a.keywords.$pattern,delete a.keywords.$pattern),l=l||/\w+/,a.keywords&&(a.keywords=Vn(a.keywords,e.case_insensitive)),c.keywordPatternRe=t(l,!0),s&&(a.begin||(a.begin=/\B|\b/),c.beginRe=t(c.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=t(c.end)),c.terminatorEnd=He(c.end)||"",a.endsWithParent&&s.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(c.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return $a(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,c)}),a.starts&&o(a.starts,s),c.matcher=i(c),c}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Ee(e.classNameAliases||{}),o(e)}function er(e){return e?e.endsWithParent||er(e.starts):!1}function $a(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Ee(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:er(e)?Ee(e,{starts:e.starts?Ee(e.starts):null}):Object.isFrozen(e)?Ee(e):e}var za="11.12.0",Xt=class extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}},Wt=Kn,qn=Ee,Hn=Symbol("nomatch"),qa=7,tr=function(e){let t=Object.create(null),n=Object.create(null),r=[],i=!0,o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]},s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Yt};function c(w){return s.noHighlightRe.test(w)}function l(w){let N=w.className+" ";N+=w.parentNode?w.parentNode.className:"";let T=s.languageDetectRe.exec(N);if(T){let L=A(T[1]);return L||(zn(o.replace("{}",T[1])),zn("Falling back to no-highlight mode for this block.",w)),L?T[1]:"no-highlight"}return N.split(/\s+/).find(L=>c(L)||A(L))}function u(w,N,T){let L="",q="";typeof N=="object"?(L=w,T=N.ignoreIllegals,q=N.language):(Oe("10.7.0","highlight(lang, code, ...args) has been deprecated."),Oe("10.7.0",`Please use highlight(code, options) instead.
|
|
3
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),
|
|
4
|
-
`),1;if(Ut>1e5&&Ut>D.index*3)throw new Error("potential infinite loop, way more iterations than matches");return J+=B,B.length}let ue=A(w);if(!ue)throw ye(o.replace("{}",w)),new Error('Unknown language: "'+w+'"');let G=Ua(ue),_e="",M=L||G,st={},te=new s.__emitter(s);Pt();let J="",at=0,ve=0,Ut=0,$t=!1;try{if(ue.__emitTokens)ue.__emitTokens(N,te);else{for(M.matcher.considerAll();;){Ut++,$t?$t=!1:M.matcher.considerAll(),M.matcher.lastIndex=ve;let y=M.matcher.exec(N);if(!y)break;let D=N.substring(ve,y.index),B=ot(D,y);ve=y.index+B}ot(N.substring(ve))}return te.finalize(),_e=te.toHTML(),{language:w,value:_e,relevance:at,illegal:!1,_emitter:te,_top:M}}catch(y){if(y.message&&y.message.includes("Illegal"))return{language:w,value:Wt(N),illegal:!0,relevance:0,_illegalBy:{message:y.message,index:ve,context:N.slice(ve-100,ve+100),mode:y.mode,resultSoFar:_e},_emitter:te};if(i)return{language:w,value:Wt(N),illegal:!1,relevance:0,errorRaised:y,_emitter:te,_top:M};throw y}}function p(w){let N={value:Wt(w),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return N._emitter.addText(w),N}function g(w,N){N=N||s.languages||Object.keys(t);let T=p(w),L=N.filter(A).filter(O).map(ae=>f(ae,w,!1));L.unshift(T);let q=L.sort((ae,ce)=>{if(ae.relevance!==ce.relevance)return ce.relevance-ae.relevance;if(ae.language&&ce.language){if(A(ae.language).supersetOf===ce.language)return 1;if(A(ce.language).supersetOf===ae.language)return-1}return 0}),[Z,V]=q,le=Z;return le.secondBest=V,le}function d(w,N,T){let L=N&&n[N]||T;w.classList.add("hljs"),w.classList.add(`language-${L}`)}function h(w){let N=null,T=l(w);if(c(T))return;if(z("before:highlightElement",{el:w,language:T}),w.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",w);return}if(w.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(w)),s.throwUnescapedHTML))throw new Xt("One of your code blocks includes unescaped HTML.",w.innerHTML);N=w;let L=N.textContent,q=T?u(L,{language:T,ignoreIllegals:!0}):g(L);w.innerHTML=q.value,w.dataset.highlighted="yes",d(w,T,q.language),w.result={language:q.language,re:q.relevance,relevance:q.relevance},q.secondBest&&(w.secondBest={language:q.secondBest.language,relevance:q.secondBest.relevance}),z("after:highlightElement",{el:w,result:q,text:L})}function m(w){s=qn(s,w)}let _=()=>{b(),Oe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function x(){b(),Oe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let k=!1;function b(){function w(){b()}if(document.readyState==="loading"){k||window.addEventListener("DOMContentLoaded",w,!1),k=!0;return}document.querySelectorAll(s.cssSelector).forEach(h)}function E(w,N){let T=null;try{T=N(e)}catch(L){if(ye("Language definition for '{}' could not be registered.".replace("{}",w)),i)ye(L);else throw L;T=a}T.name||(T.name=w),t[w]=T,T.rawDefinition=N.bind(null,e),T.aliases&&C(T.aliases,{languageName:w})}function v(w){delete t[w];for(let N of Object.keys(n))n[N]===w&&delete n[N]}function R(){return Object.keys(t)}function A(w){return w=(w||"").toLowerCase(),t[w]||t[n[w]]}function C(w,{languageName:N}){typeof w=="string"&&(w=[w]),w.forEach(T=>{n[T.toLowerCase()]=N})}function O(w){let N=A(w);return N&&!N.disableAutodetect}function I(w){w["before:highlightBlock"]&&!w["before:highlightElement"]&&(w["before:highlightElement"]=N=>{w["before:highlightBlock"](Object.assign({block:N.el},N))}),w["after:highlightBlock"]&&!w["after:highlightElement"]&&(w["after:highlightElement"]=N=>{w["after:highlightBlock"](Object.assign({block:N.el},N))})}function U(w){I(w),r.push(w)}function X(w){let N=r.indexOf(w);N!==-1&&r.splice(N,1)}function z(w,N){let T=w;r.forEach(function(L){L[T]&&L[T](N)})}function $(w){return Oe("10.7.0","highlightBlock will be removed entirely in v12.0"),Oe("10.7.0","Please use highlightElement now."),h(w)}Object.assign(e,{highlight:u,highlightAuto:g,highlightAll:b,highlightElement:h,highlightBlock:$,configure:m,initHighlighting:_,initHighlightingOnLoad:x,registerLanguage:E,unregisterLanguage:v,listLanguages:R,getLanguage:A,registerAliases:C,autoDetection:O,inherit:qn,addPlugin:U,removePlugin:X}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=za,e.regex={concat:Ae,lookahead:Wn,either:ft,optional:ra,anyNumberOfTimes:na};for(let w in lt)typeof lt[w]=="object"&&Gn(lt[w]);return Object.assign(e,lt),e},Ie=tr({});Ie.newInstance=()=>tr({});nr.exports=Ie;Ie.HighlightJS=Ie;Ie.default=Ie});var or=P((yf,ir)=>{function Ha(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(o,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,c,s,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,a,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:"javascript"}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}ir.exports=Ha});var ar=P((Af,sr)=>{function Ga(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});let i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:"string",begin:/'/,end:/'/},u={match:/\\'/},f={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},p=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],g=e.SHEBANG({binary:`(${p.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},h=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],m=["true","false"],_={match:/(\/[a-z._-]+)+/},x=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],k=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],b=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],E=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:h,literal:m,built_in:[...x,...k,"set","shopt",...b,...E]},contains:[g,e.SHEBANG(),d,f,o,a,_,s,c,l,u,n]}}sr.exports=Ga});var lr=P((Cf,cr)=>{function Ka(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",s=t.concat(/\batomic_/,t.either("bool","char","schar","uchar","short","ushort","int","uint","long","ulong","llong","ullong","char16_t","char32_t","wchar_t","int_least8_t","uint_least8_t","int_least16_t","uint_least16_t","int_least32_t","uint_least32_t","int_least64_t","uint_least64_t","int_fast8_t","uint_fast8_t","int_fast16_t","uint_fast16_t","int_fast32_t","uint_fast32_t","int_fast64_t","uint_fast64_t","intptr_t","uintptr_t","size_t","ptrdiff_t","intmax_t","uintmax_t"),/\b/),c={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:s}]},u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},f={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},p={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},u,{scope:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),n,e.C_BLOCK_COMMENT_MODE]},d=[p,g],h={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},m=t.optional(i)+e.IDENT_RE+"\\s*\\(",_=12,b={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},E=[...d,c,n,e.C_BLOCK_COMMENT_MODE,f,u],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:b,contains:E.concat([{begin:/\(/,end:/\)/,keywords:b,contains:E.concat(["self"]),relevance:0}]),relevance:0},R={begin:"("+a+"[\\*&\\s]+){1,"+_+"}"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:b,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:b,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(h,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,u,f,c,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,u,f,c]}]},c,n,e.C_BLOCK_COMMENT_MODE,...d]};return{name:"C",aliases:["h"],keywords:b,disableAutodetect:!0,illegal:"</",contains:[].concat(v,R,E,[...d,{begin:e.IDENT_RE+"::",keywords:b},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:g,strings:u,keywords:b}}}cr.exports=Ka});var dr=P((Nf,ur)=>{function Wa(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},u={className:"number",variants:[{begin:"[+-]?(?:(?:\\b[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|\\b[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|\\b0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},f={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},l,{scope:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),n,e.C_BLOCK_COMMENT_MODE]},g=[f,p],d={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},h=t.optional(i)+e.IDENT_RE+"\\s*\\(",m=12,_=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],x=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],k=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],R={type:x,keyword:_,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:k},A={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:t.concat(/\b/,`(?!${_.join("|")})`,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},C=[A,...g,s,n,e.C_BLOCK_COMMENT_MODE,u,l],O={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:C.concat([{begin:/\(/,end:/\)/,keywords:R,contains:C.concat(["self"]),relevance:0}]),relevance:0},I={className:"function",begin:"("+a+"[\\*&\\s]+){1,"+m+"}"+h,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:R,relevance:0},{begin:h,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,u,s,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,u,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,...g]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:R,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(O,I,A,C,[...g,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:R,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}ur.exports=Wa});var gr=P((Tf,fr)=>{function Za(e){let t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:i.concat(o),built_in:t,literal:r},s=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c="\\d(_*\\d)*",l="([uU][lL]?|[lL][uU]?)?",f={className:"number",variants:[{begin:"\\b0[bB]_*[01](_*[01])*"+l},{begin:"(-?)\\b0[xX]_*[a-fA-F0-9](_*[a-fA-F0-9])*"+l},{begin:"(-?)(\\b"+c+"(\\.("+c+")?)?|\\."+c+")([eE][-+]?"+c+")?"+"([fFdDmM]|[uU][lL]?|[lL][uU]?)?"}],relevance:0},p={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},g={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(g,{illegal:/\n/}),h={className:"subst",begin:/\{/,end:/\}/,keywords:a},m=e.inherit(h,{illegal:/\n/}),_={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,m]},x={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]},k=e.inherit(x,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]});h.contains=[x,_,g,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.C_BLOCK_COMMENT_MODE],m.contains=[k,_,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let b={variants:[p,x,_,g,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},E={begin:"<",end:">",contains:[{beginKeywords:"in out"},s]},v=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",R={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},b,f,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},s,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+v+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,E],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[b,f,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},R]}}fr.exports=Za});var hr=P((Sf,pr)=>{var Ja=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Ya=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Xa=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],ja=[...Ya,...Xa],Va=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Qa=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),ec=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),tc=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function nc(e){let t=e.regex,n=Ja(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",o=/@-?\w[\w]*(-\w+)*/,a="[a-zA-Z-][a-zA-Z0-9_-]*",s=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+a,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Qa.join("|")+")"},{begin:":(:)?("+ec.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+tc.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,n.UNICODE_RANGE,...s,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:o},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Va.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+ja.join("|")+")\\b"}]}}pr.exports=nc});var br=P((Df,mr)=>{function rc(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={match:/^ {0,3}([-*_])[ \t]*(?:\1[ \t]*){2,}$/},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},o={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,s,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},l={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(l,{contains:[]}),p=e.inherit(u,{contains:[]});l.contains.push(p),u.contains.push(f);let g=[n,c];return[l,u,f,p].forEach(_=>{_.contains=_.contains.concat(g)}),g=g.concat(l,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:g},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:g}]}]},n,o,r,l,u,{className:"quote",begin:"^>\\s+",contains:g,end:"$"},i,c,a,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}mr.exports=rc});var Er=P((Mf,_r)=>{function ic(e){let t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+,\d+ +\+\d+ +@@/,/^@@ +-\d+ +\+\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}_r.exports=ic});var xr=P((Of,kr)=>{function oc(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},p="[1-9](_?[0-9])*|0",g="[0-9](_?[0-9])*",d={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${g}))?([eE][+-]?(${g})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},h={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},v=[f,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{begin:"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:n}],relevance:0},d,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,l),relevance:0}].concat(c,l);u.contains=v,h.contains=v;let O=[{begin:/^\s*=>/,starts:{end:"$",contains:v}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:a,contains:v}}];return l.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(O).concat(l).concat(v)}}kr.exports=oc});var vr=P((If,wr)=>{function sc(e){let o={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:o,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\b0[bB](_?[01])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,illegal:/["']/}]}]}}wr.exports=sc});var yr=P((Lf,Rr)=>{function ac(e){let t=e.regex,n=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(n,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}Rr.exports=ac});var Cr=P((Ff,Ar)=>{function cc(e){let t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,o,i,a,n,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,l=/"(\\"|[^"])*"/,u=/'[^']*'/,f=t.either(c,l,u),p=t.concat(f,"(\\s*\\.\\s*",f,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:p,className:"attr",starts:{end:/$/,contains:[r,s,o,i,a,n]}}]}}Ar.exports=cc});var Dr=P((Bf,Sr)=>{var Le="[0-9](_*[0-9])*",pt=`\\.(${Le})`,ht="[0-9a-fA-F](_*[0-9a-fA-F])*",Nr={className:"number",variants:[{begin:`(\\b(${Le})((${pt})|\\.)?|(${pt}))[eE][+-]?(${Le})[fFdD]?\\b`},{begin:`\\b(${Le})((${pt})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${pt})[fFdD]?\\b`},{begin:`\\b(${Le})[fFdD]\\b`},{begin:`\\b0[xX]((${ht})\\.?|(${ht})?\\.(${ht}))[pP][+-]?(${Le})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${ht})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Tr(e,t,n){return n===-1?"":e.replace(t,r=>Tr(e,t,n-1))}function lc(e){let t=e.regex,n="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",r="(?:(?:\\s*\\[\\s*])+)?",i=n+"<@@@>"+r,a="(?:"+("\\?(?:\\s+(?:extends|super)\\s+"+i+")?")+"|"+i+")",s=Tr("(?:\\s*<\\s*"+a+"(?:\\s*,\\s*"+a+")*\\s*>)?",/<@@@>/g,2),p={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},g={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},d={className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:p,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{beginKeywords:"new throw return else yield assert",relevance:0},{begin:[n,t.concat(s,r,/\s+/),n,r,/\s*/,/=(?!=)/],className:{1:"type",3:"variable",6:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{begin:[n,t.concat(s,r,/\s+/),n,/\s*(?=\()/],className:{1:"type",3:"title.function"},keywords:p,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[g,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,Nr,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Nr,g]}}Sr.exports=lc});var Br=P((Pf,Fr)=>{var Mr="[A-Za-z$_][0-9A-Za-z$_]*",uc=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],dc=["true","false","null","undefined","NaN","Infinity"],Or=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ir=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Lr=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],fc=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],gc=[].concat(Lr,Or,Ir);function pc(e){let t=e.regex,n=(T,{after:L})=>{let q="</"+T[0].slice(1);return T.input.indexOf(q,L)!==-1},r=Mr,i={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(T,L)=>{let q=T[0].length+T.index,Z=T.input[q];if(Z==="<"||Z===","){L.ignoreMatch();return}Z===">"&&(n(T,{after:q})||L.ignoreMatch());let V,le=T.input.substring(q);if(V=le.match(/^\s*=/)){L.ignoreMatch();return}if((V=le.match(/^\s+extends\s+/))&&V.index===0){L.ignoreMatch();return}}},s={$pattern:Mr,keyword:uc,literal:dc,built_in:gc,"variable.language":fc},c="[0-9](_?[0-9])*",l=`\\.(${c})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},g={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},h={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},x={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},k=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,h,m,{match:/\$\d+/},f];p.contains=k.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(k)});let b=[].concat(x,p.contains),E=b.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(b)}]),v={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E},R={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},A={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Or,...Ir]}},C={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},O={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},I={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function U(T){return t.concat("(?!",T.join("|"),")")}let X={match:t.concat(/\b/,U([...Lr,"super","import","await"].map(T=>`${T}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},z={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},$={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},w="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",N={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(w)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:A},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,h,m,x,{match:/\$\d+/},f,A,{scope:"attr",match:r+t.lookahead(":"),relevance:0},N,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[x,e.REGEXP_MODE,{className:"function",begin:w,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},z,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},X,I,R,$,{match:/\$[(.]/}]}}Fr.exports=pc});var Ur=P((Uf,Pr)=>{var hc="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",mc={scope:"number",match:hc,relevance:0};function bc(e){let t={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],i={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:r},contains:[t,n,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,mc,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}Pr.exports=bc});var zr=P(($f,$r)=>{var Fe="[0-9](_*[0-9])*",mt=`\\.(${Fe})`,bt="[0-9a-fA-F](_*[0-9a-fA-F])*",_c={className:"number",variants:[{begin:`(\\b(${Fe})((${mt})|\\.)?|(${mt}))[eE][+-]?(${Fe})[fFdD]?\\b`},{begin:`\\b(${Fe})((${mt})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${mt})[fFdD]?\\b`},{begin:`\\b(${Fe})[fFdD]\\b`},{begin:`\\b0[xX]((${bt})\\.?|(${bt})?\\.(${bt}))[pP][+-]?(${Fe})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${bt})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Ec(e){let t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,i]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,i]}]};i.contains.push(a);let s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},c={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(a,{className:"string"}),"self"]}]},l=_c,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),f={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},p=f;return p.variants[1].contains=[f],f.variants[1].contains=[p],{name:"Kotlin",aliases:["kt","kts","ktm","ktx"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,c,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[f,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,c,a,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,c]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
5
|
-
`},l]}}$r.exports=Ec});var Kr=P((zf,Gr)=>{var kc=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),xc=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],wc=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],vc=[...xc,...wc],Rc=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),qr=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Hr=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),yc=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),Ac=qr.concat(Hr).sort().reverse();function Cc(e){let t=kc(e),n=Ac,r="and or not only",i="[\\w-]+",o="("+i+"|@\\{"+i+"\\})",a=[],s=[],c=function(k){return{className:"string",begin:"~?"+k+".*?"+k}},l=function(k,b,E){return{className:k,begin:b,relevance:E}},u={$pattern:/[a-z-]+/,keyword:r,attribute:Rc.join(" ")},f={begin:"\\(",end:"\\)",contains:s,keywords:u,relevance:0};s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c("'"),c('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.UNICODE_RANGE,t.HEXCOLOR,f,l("variable","@@?"+i,10),l("variable","@\\{"+i+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);let p=s.concat({begin:/\{/,end:/\}/,contains:a}),g={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},d={begin:o+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+yc.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},h={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:s,relevance:0}},m={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:p}},_={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:o,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,l("keyword","all\\b"),l("variable","@\\{"+i+"\\}"),{begin:"\\b("+vc.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",o,0),l("selector-id","#"+o),l("selector-class","\\."+o,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+qr.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Hr.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:p},{begin:"!important"},t.FUNCTION_DISPATCH]},x={begin:i+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[_]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,m,x,d,_,g,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}Gr.exports=Cc});var Zr=P((qf,Wr)=>{function Nc(e){let t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local global not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}Wr.exports=Nc});var Yr=P((Hf,Jr)=>{function Tc(e){let t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},i={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},o={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,i,o,a]}}Jr.exports=Tc});var jr=P((Gf,Xr)=>{function Sc(e){let t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},a={begin:/->\{/,end:/\}/},s={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},l={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,o,c],f=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],p=(h,m,_="\\1")=>{let x=_==="\\1"?_:t.concat(_,m);return t.concat(t.concat("(?:",h,")"),m,/(?:\\.|[^\\\/])*?/,x,/(?:\\.|[^\\\/])*?/,_,r)},g=(h,m,_)=>t.concat(t.concat("(?:",h,")"),m,/(?:\\.|[^\\\/])*?/,_,r),d=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},l,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:p("s|tr|y",t.either(...f,{capture:!0}))},{begin:p("s|tr|y","\\(","\\)")},{begin:p("s|tr|y","\\[","\\]")},{begin:p("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:g("(?:m|qr)?",/\//,/\//)},{begin:g("m|qr",t.either(...f,{capture:!0}),/\1/)},{begin:g("m|qr",/\(/,/\)/)},{begin:g("m|qr",/\[/,/\]/)},{begin:g("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=d,a.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:d}}Xr.exports=Sc});var Qr=P((Kf,Vr)=>{function Dc(e){let t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,s={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:s,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}Vr.exports=Dc});var ti=P((Wf,ei)=>{function Mc(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),o=t.concat(/[A-Z]+/,n),a={scope:"variable",match:"\\$+"+r},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),f={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(z,$)=>{$.data._beginMatch=z[1]||z[2]},"on:end":(z,$)=>{$.data._beginMatch!==z[1]&&$.ignoreMatch()}},p=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[
|
|
6
|
-
]`,d={scope:"string",variants:[u,l,f,p]},h={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},m=["false","null","true"],_=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],x=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],b={keyword:_,literal:(z=>{let $=[];return z.forEach(w=>{$.push(w),w.toLowerCase()===w?$.push(w.toUpperCase()):$.push(w.toLowerCase())}),$})(m),built_in:x},E=z=>z.map($=>$.replace(/\|\d+$/,"")),v={variants:[{match:[/new/,t.concat(g,"+"),t.concat("(?!",E(x).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},R=t.concat(r,"\\b(?!\\()"),A={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),R],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),R],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},C={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},O={relevance:0,begin:/\(/,end:/\)/,keywords:b,contains:[C,a,A,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,h,v]},I={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",E(_).join("\\b|"),"|",E(x).join("\\b|"),"\\b)"),r,t.concat(g,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(I);let U=[C,A,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,h,v],X={begin:t.concat(/#\[\s*\\?/,t.either(i,o)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:m,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:m,keyword:["new","array"]},contains:["self",...U]},...U,{scope:"meta",variants:[{match:i},{match:o}]}]};return{case_insensitive:!1,keywords:b,contains:[X,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},a,I,A,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},v,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:b,contains:["self",X,a,A,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,h]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},d,h]}}ei.exports=Mc});var ri=P((Zf,ni)=>{function Oc(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}ni.exports=Oc});var oi=P((Jf,ii)=>{function Ic(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}ii.exports=Ic});var ai=P((Yf,si)=>{function Lc(e){let t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","lazy","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","aiter","all","anext","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozendict","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","sentinel","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},u={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,u,l]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,u,l]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,u,l]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,u,l]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",g=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,d=`\\b|${r.join("|")}`,h={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${g}))[eE][+-]?(${p})[jJ]?(?=${d})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${p})[jJ](?=${d})`}]},m={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:s,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},_={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",c,h,f,e.HASH_COMMENT_MODE]}]};return l.contains=[f,h,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:s,illegal:/(<\/|\?)|=>/,contains:[c,h,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},f,m,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[_]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[h,_,f]}]}}si.exports=Lc});var li=P((Xf,ci)=>{function Fc(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}ci.exports=Fc});var di=P((jf,ui)=>{function Bc(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[o,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}ui.exports=Bc});var gi=P((Vf,fi)=>{function Pc(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),o={scope:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!(?:let|for|while|if|else|match)\b)/,i,t.lookahead(/\s*\(/))},a="([ui](8|16|32|64|128|size)|f(16|32|64|128))?",s=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","raw","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],c=["true","false","Some","None","Ok","Err"],l=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],u=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f16","f32","f64","f128","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:u,keyword:s,literal:c,built_in:l},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{scope:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|"|\\|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{scope:"number",variants:[{begin:"\\b0b([01_]+)"+a},{begin:"\\b0o([0-7_]+)"+a},{begin:"\\b0x([A-Fa-f0-9_]+)"+a},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+a}],relevance:0},{begin:[/\bsafe/,/\s+/,/extern/],scope:{1:"keyword",3:"keyword"}},{begin:[/fn/,/\s+/,r],scope:{1:"keyword",3:"title.function"}},{scope:"meta",begin:"#!?\\[",end:"\\]",contains:[{scope:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],scope:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],scope:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],scope:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],scope:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:l,type:u}},{scope:"punctuation",begin:"->"},o]}}fi.exports=Pc});var hi=P((Qf,pi)=>{var Uc=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),$c=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],zc=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],qc=[...$c,...zc],Hc=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Gc=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Kc=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Wc=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Zc(e){let t=Uc(e),n=Kc,r=Gc,i="@[a-z-]+",o="and or not only",s={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+qc.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Wc.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,s,t.HEXCOLOR,t.CSS_NUMBER_MODE,t.UNICODE_RANGE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:Hc.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}pi.exports=Zc});var bi=P((eg,mi)=>{function Jc(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[./~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}mi.exports=Jc});var Ei=P((tg,_i)=>{function Yc(e){let t=e.regex,n=e.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},o=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],f=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],p=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],g=u,d=[...l,...c].filter(E=>!u.includes(E)),h={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},m={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:t.concat(/\b/,t.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function x(E){return t.concat(/\b/,t.either(...E.map(v=>v.replace(/\s+/,"\\s+"))),/\b/)}let k={scope:"keyword",match:x(p),relevance:0};function b(E,{exceptions:v,when:R}={}){let A=R;return v=v||[],E.map(C=>C.match(/\|\d+$/)||v.includes(C)?C:A(C)?`${C}|0`:C)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(d,{when:E=>E.length<3}),literal:o,type:s,built_in:f},contains:[{scope:"type",match:x(a)},k,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,m]}}_i.exports=Yc});var Ni=P((ng,Ci)=>{function vi(e){return e?typeof e=="string"?e:e.source:null}function Ke(e){return K("(?=",e,")")}function K(...e){return e.map(n=>vi(n)).join("")}function Xc(e){let t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function se(...e){return"("+(Xc(e).capture?"":"?:")+e.map(r=>vi(r)).join("|")+")"}new RegExp(se(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));var tn=e=>K(/\b/,e,/\w$/.test(e)?/\b/:/\B/),jc=["Protocol","Type"].map(tn),ki=["init","self"].map(tn),Vc=["Any","Self"],Qt=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],xi=["false","nil","true"],Qc=["assignment","associativity","higherThan","left","lowerThan","none","right"],el=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],wi=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Ri=se(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),yi=se(Ri,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),en=K(Ri,yi,"*"),Ai=se(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Et=se(Ai,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),ge=K(Ai,Et,"*"),_t=K(/[A-Z]/,Et,"*"),tl=["attached","autoclosure",K(/convention\(/,se("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",K(/objc\(/,ge,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],nl=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function rl(e){let t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,se(...jc,...ki)],className:{2:"keyword"}},o={match:K(/\./,se(...Qt)),relevance:0},a=Qt.filter(G=>typeof G=="string").concat(["_|0"]),s=Qt.filter(G=>typeof G!="string").concat(Vc).map(tn),c={variants:[{className:"keyword",match:se(...s,...ki)}]},l={$pattern:se(/\b\w+/,/#\w+/),keyword:a.concat(el),literal:xi},u=[i,o,c],f={match:K(/\./,se(...wi)),relevance:0},p={className:"built_in",match:K(/\b/,se(...wi),/(?=\()/)},g=[f,p],d={match:/->/,relevance:0},h={className:"operator",relevance:0,variants:[{match:en},{match:`\\.(\\.|${yi})+`}]},m=[d,h],_="([0-9]_*)+",x="([0-9a-fA-F]_*)+",k={className:"number",relevance:0,variants:[{match:`\\b(${_})(\\.(${_}))?([eE][+-]?(${_}))?\\b`},{match:`\\b0x(${x})(\\.(${x}))?([pP][+-]?(${_}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},b=(G="")=>({className:"subst",variants:[{match:K(/\\/,G,/[0\\tnr"']/)},{match:K(/\\/,G,/u\{[0-9a-fA-F]{1,8}\}/)}]}),E=(G="")=>({className:"subst",match:K(/\\/,G,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(G="")=>({className:"subst",label:"interpol",begin:K(/\\/,G,/\(/),end:/\)/}),R=(G="")=>({begin:K(G,/"""/),end:K(/"""/,G),contains:[b(G),E(G),v(G)]}),A=(G="")=>({begin:K(G,/"/),end:K(/"/,G),contains:[b(G),v(G)]}),C={className:"string",variants:[R(),R("#"),R("##"),R("###"),A(),A("#"),A("##"),A("###")]},O=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],I={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:O},U=G=>{let _e=K(G,/\//),M=K(/\//,G);return{begin:_e,end:M,contains:[...O,{scope:"comment",begin:`#(?!.*${M})`,end:/$/}]}},X={scope:"regexp",variants:[U("###"),U("##"),U("#"),I]},z={match:K(/`/,ge,/`/)},$={className:"variable",match:/\$\d+/},w={className:"variable",match:`\\$${Et}+`},N=[z,$,w],T={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:nl,contains:[...m,k,C]}]}},L={scope:"keyword",match:K(/@/,se(...tl),Ke(se(/\(/,/\s+/)))},q={scope:"meta",match:K(/@/,ge)},Z=[T,L,q],V={match:Ke(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:K(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Et,"+")},{className:"type",match:_t,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:K(/\s+&\s+/,Ke(_t)),relevance:0}]},le={begin:/</,end:/>/,keywords:l,contains:[...r,...u,...Z,d,V]};V.contains.push(le);let ae={match:K(ge,/\s*:/),keywords:"_|0",relevance:0},ce={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",ae,...r,X,...u,...g,...m,k,C,...N,...Z,V]},De={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,V]},it={begin:se(Ke(K(ge,/\s*:/)),Ke(K(ge,/\s+/,ge,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:ge}]},$e={begin:/\(/,end:/\)/,keywords:l,contains:[it,...r,...u,...m,k,C,...Z,V,ce],endsParent:!0,illegal:/["']/},Lt={match:[/(func|macro)/,/\s+/,se(z.match,ge,en)],className:{1:"keyword",3:"title.function"},contains:[De,$e,t],illegal:[/\[/,/%/]},Ft={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[De,$e,t],illegal:/\[|%/},Bt={match:[/operator/,/\s+/,en],className:{1:"keyword",3:"title"}},Pt={begin:[/precedencegroup/,/\s+/,_t],className:{1:"keyword",3:"title"},contains:[V],keywords:[...Qc,...xi],end:/}/},Me={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},ot={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},ue={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,ge,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[De,...u,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:_t},...u],relevance:0}]};for(let G of C.variants){let _e=G.contains.find(st=>st.label==="interpol");_e.keywords=l;let M=[...u,...g,...m,k,C,...N];_e.contains=[...M,{begin:/\(/,end:/\)/,contains:["self",...M]}]}return{name:"Swift",keywords:l,contains:[...r,Lt,Ft,Me,ot,ue,Bt,Pt,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},X,...u,...g,...m,k,C,...N,...Z,V,ce]}}Ci.exports=rl});var Si=P((rg,Ti)=>{function il(e){let t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},a={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(a,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),p={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},d={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},h={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},m=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},p,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},d,h,o,a],_=[...m];return _.pop(),_.push(s),g.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:m}}Ti.exports=il});var Ui=P((ig,Pi)=>{var kt="[A-Za-z$_][0-9A-Za-z$_]*",Di=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Mi=["true","false","null","undefined","NaN","Infinity"],Oi=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ii=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Li=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Fi=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],Bi=[].concat(Li,Oi,Ii);function ol(e){let t=e.regex,n=(T,{after:L})=>{let q="</"+T[0].slice(1);return T.input.indexOf(q,L)!==-1},r=kt,i={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(T,L)=>{let q=T[0].length+T.index,Z=T.input[q];if(Z==="<"||Z===","){L.ignoreMatch();return}Z===">"&&(n(T,{after:q})||L.ignoreMatch());let V,le=T.input.substring(q);if(V=le.match(/^\s*=/)){L.ignoreMatch();return}if((V=le.match(/^\s+extends\s+/))&&V.index===0){L.ignoreMatch();return}}},s={$pattern:kt,keyword:Di,literal:Mi,built_in:Bi,"variable.language":Fi},c="[0-9](_?[0-9])*",l=`\\.(${c})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},g={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},h={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},x={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},k=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,h,m,{match:/\$\d+/},f];p.contains=k.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(k)});let b=[].concat(x,p.contains),E=b.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(b)}]),v={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E},R={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},A={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Oi,...Ii]}},C={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},O={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},I={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function U(T){return t.concat("(?!",T.join("|"),")")}let X={match:t.concat(/\b/,U([...Li,"super","import","await"].map(T=>`${T}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},z={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},$={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},w="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",N={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(w)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:A},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,h,m,x,{match:/\$\d+/},f,A,{scope:"attr",match:r+t.lookahead(":"),relevance:0},N,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[x,e.REGEXP_MODE,{className:"function",begin:w,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},z,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},X,I,R,$,{match:/\$[(.]/}]}}function sl(e){let t=e.regex,n=ol(e),r=kt,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},c=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],l={$pattern:kt,keyword:Di.concat(c),literal:Mi,built_in:Bi.concat(i),"variable.language":Fi},u={className:"meta",begin:"@"+r},f=(h,m,_)=>{let x=h.contains.findIndex(k=>k.label===m);if(x===-1)throw new Error("can not find mode to replace");h.contains.splice(x,1,_)};Object.assign(n.keywords,l),n.exports.PARAMS_CONTAINS.push(u);let p=n.contains.find(h=>h.scope==="attr"),g=Object.assign({},p,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,p,g]),n.contains=n.contains.concat([u,o,a,g]),f(n,"shebang",e.SHEBANG()),f(n,"use_strict",s);let d=n.contains.find(h=>h.label==="func.def");return d.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}Pi.exports=sl});var zi=P((og,$i)=>{function al(e){let t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:t.concat(/# */,t.either(o,i),/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,t.either(o,i),/ +/,t.either(a,s),/ *#/)}]},l={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,r,c,l,u,f,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}$i.exports=al});var Hi=P((sg,qi)=>{function cl(e){e.regex;let t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");let n=e.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},s={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},l={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,a,i,e.QUOTE_STRING_MODE,c,l,s]}}qi.exports=cl});var Ki=P((ag,Gi)=>{var F=rr();F.registerLanguage("xml",or());F.registerLanguage("bash",ar());F.registerLanguage("c",lr());F.registerLanguage("cpp",dr());F.registerLanguage("csharp",gr());F.registerLanguage("css",hr());F.registerLanguage("markdown",br());F.registerLanguage("diff",Er());F.registerLanguage("ruby",xr());F.registerLanguage("go",vr());F.registerLanguage("graphql",yr());F.registerLanguage("ini",Cr());F.registerLanguage("java",Dr());F.registerLanguage("javascript",Br());F.registerLanguage("json",Ur());F.registerLanguage("kotlin",zr());F.registerLanguage("less",Kr());F.registerLanguage("lua",Zr());F.registerLanguage("makefile",Yr());F.registerLanguage("perl",jr());F.registerLanguage("objectivec",Qr());F.registerLanguage("php",ti());F.registerLanguage("php-template",ri());F.registerLanguage("plaintext",oi());F.registerLanguage("python",ai());F.registerLanguage("python-repl",li());F.registerLanguage("r",di());F.registerLanguage("rust",gi());F.registerLanguage("scss",hi());F.registerLanguage("shell",bi());F.registerLanguage("sql",Ei());F.registerLanguage("swift",Ni());F.registerLanguage("yaml",Si());F.registerLanguage("typescript",Ui());F.registerLanguage("vbnet",zi());F.registerLanguage("wasm",Hi());F.HighlightJS=F;F.default=F;Gi.exports=F});var yo=P(($g,Ro)=>{"use strict";var Wl=/^xn--/,Zl=/[^\0-\x7F]/,Jl=/[\x2E\u3002\uFF0E\uFF61]/g,Yl={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pn=35,pe=Math.floor,hn=String.fromCharCode;function xe(e){throw new RangeError(Yl[e])}function Xl(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function Eo(e,t){let n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Jl,".");let i=e.split("."),o=Xl(i,t).join(".");return r+o}function ko(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let o=e.charCodeAt(n++);(o&64512)==56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var jl=e=>String.fromCodePoint(...e),Vl=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},_o=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},xo=function(e,t,n){let r=0;for(e=n?pe(e/700):e>>1,e+=pe(e/t);e>pn*26>>1;r+=36)e=pe(e/pn);return pe(r+(pn+1)*e/(e+38))},wo=function(e){let t=[],n=e.length,r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&xe("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<n;){let c=r;for(let u=1,f=36;;f+=36){s>=n&&xe("invalid-input");let p=Vl(e.charCodeAt(s++));p>=36&&xe("invalid-input"),p>pe((2147483647-r)/u)&&xe("overflow"),r+=p*u;let g=f<=o?1:f>=o+26?26:f-o;if(p<g)break;let d=36-g;u>pe(2147483647/d)&&xe("overflow"),u*=d}let l=t.length+1;o=xo(r-c,l,c==0),pe(r/l)>2147483647-i&&xe("overflow"),i+=pe(r/l),r%=l,t.splice(r++,0,i)}return String.fromCodePoint(...t)},vo=function(e){let t=[];e=ko(e);let n=e.length,r=128,i=0,o=72;for(let c of e)c<128&&t.push(hn(c));let a=t.length,s=a;for(a&&t.push("-");s<n;){let c=2147483647;for(let u of e)u>=r&&u<c&&(c=u);let l=s+1;c-r>pe((2147483647-i)/l)&&xe("overflow"),i+=(c-r)*l,r=c;for(let u of e)if(u<r&&++i>2147483647&&xe("overflow"),u===r){let f=i;for(let p=36;;p+=36){let g=p<=o?1:p>=o+26?26:p-o;if(f<g)break;let d=f-g,h=36-g;t.push(hn(_o(g+d%h,0))),f=pe(d/h)}t.push(hn(_o(f,0))),o=xo(i,l,s===a),i=0,++s}++i,++r}return t.join("")},Ql=function(e){return Eo(e,function(t){return Wl.test(t)?wo(t.slice(4).toLowerCase()):t})},eu=function(e){return Eo(e,function(t){return Zl.test(t)?"xn--"+vo(t):t})},tu={version:"2.3.1",ucs2:{decode:ko,encode:jl},decode:wo,encode:vo,toASCII:eu,toUnicode:Ql};Ro.exports=tu});var ie=require("node:fs"),W=require("node:path"),vs=require("node:url");var Te=require("node:fs"),j=require("node:path"),ds=require("node:util");var de=(e,...t)=>e.replace(/\{(\d+)\}/g,(n,r)=>Number(r)<t.length?String(t[Number(r)]):n);var Os=["<<-->>","<<->>","-->>","->>","-->","->","--x","-x","--)","-)","--|\\","--|/","--\\\\","--//","/|--","\\|--","//--","\\\\--","-|\\","-|/","-\\\\","-//","/|-","\\|-","//-","\\\\-"],Is=e=>e.replace(/[.*+?^${}()|[\]\\/]/g,"\\$&"),Ls=new RegExp("^\\s*([^:]+?)\\s*(?:\\(\\))?("+Os.map(Is).join("|")+")(?:\\(\\))?\\s*[+-]?\\s*([^:]+?)\\s*:(.*)$"),qt=/^\s*%%\s*@ref\s+(.+?)\s*$/,Ht=/^\s*%%\s*@link-headings\s*$/,Gt=/^\s*%%\s*@seq-notes\s*$/,Sn="(\\d+(?:\\.\\d{1,2})?|\\.\\d{1,2})",Fs=new RegExp(`^\\s*autonumber(?:\\s+(off)|\\s+${Sn}(?:\\s+${Sn})?)?\\s*(?:(?:%%|#).*)?$`,"i"),Bs=/^\s*(note|participant|actor|create|destroy|alt|else|opt|loop|par|and|critical|option|break|rect|box|end|activate|deactivate|autonumber|link|links|properties|details|title|accTitle|accDescr)(?=\s|$)/i;function ze(e){let t=e.findIndex(r=>r.trim()!=="");if(t<0||e[t].trim()!=="---")return 0;let n=e.findIndex((r,i)=>i>t&&r.trim()==="---");return n<0?e.length:n+1}function Dn(e){let t=e.split(/\r?\n/);for(let n of t.slice(ze(t))){let r=n.trim();if(!(r===""||r.startsWith("%%")))return/^sequenceDiagram\b/.test(r)}return!1}function Mn(e,t){let n=[],r,i,o,a=1,s=1,c=!1,l=e.split(/\r?\n/),u=ze(l);return l.forEach((f,p)=>{if(p<u)return;if(Ht.test(f)){r??=t+p;return}if(Gt.test(f)){i??=t+p;return}let g=qt.exec(f);if(g){o={text:g[1],line:t+p};return}let d=Fs.exec(f);if(d){a=Number(d[2]??0)||a,s=Number(d[3]??0)||s,c=d[1]===void 0;return}if(f.trim().startsWith("%%")||Bs.test(f))return;let h=Ls.exec(f);if(!h)return;let m={index:n.length,line:t+p,text:h[4].trim()};c&&(m.number=a),a=Math.round((a+s)*100)/100,o&&(m.ref=o.text,m.refLine=o.line,o=void 0),n.push(m)}),{messages:n,markerLine:r,legacyMarkerLine:i}}function Re(e){return e.replace(/<br\s*\/?>/gi," ").replace(/#(\d+);/g,(t,n)=>String.fromCharCode(Number(n))).replace(/\s+/g," ").trim()}var Ps=[/^(\d+(?:\.\d+)*)[.).)](?!\d)\s*(.+)$/,/^(\d+(?:\.\d+)+)\s+(.+)$/,/^[((](\d+)[))]\s*(.+)$/];function On(e){let t=e.trim(),n=t.replace(/[0-9]/g,i=>String.fromCharCode(i.charCodeAt(0)-65248));for(let i of Ps){let o=i.exec(n);if(o)return{text:t.slice(n.length-o[2].length),value:o[1]}}let r=/^([\u2460-\u2473])\s*(.+)$/.exec(t);if(r)return{text:r[2],value:String(r[1].charCodeAt(0)-9312+1)}}var Us=/^\s*(?:flowchart-elk|graph|flowchart)\b(?:\s*(TB|TD|BT|RL|LR)\b|\s*([<>^]|v\b))?\s*;?/,$s=/^\s*(style|linkStyle|classDef|class|click|subgraph|end|direction|accTitle|accDescr)(?=[\s:{]|$)/,zs=/^\s*subgraph\s+([^\s[]+)/,qs=/^(?:[^\s[\](){}<>|&;:"@,~=-]|-(?![->.]))+/u,Hs=[["(((",[")))"]],["((",["))"]],["([",["])"]],["[[",["]]"]],["[(",[")]"]],["{{",["}}"]],["[/",["/]","\\]"]],["[\\",["\\]","/]"]],["(-",["-)"]],["[",["]"]],["(",[")"]],["{",["}"]],[">",["]"]]],Gs=/^\s*(?:[^\s"]+@)?(?:[xo<]?--+[-xo>]|[xo<]?==+[=xo>]|[xo<]?-?\.+-[xo>]?|~~~+)\s*(?:\|(?:"[^"]*"|[^|"])*\|\s*)?/,Ks=[/^\s*[xo<]?--(?![-xo>])(.*?)--+[-xo>]\s*/,/^\s*[xo<]?==(?![=xo>])(.*?)==+[=xo>]\s*/,/^\s*[xo<]?-\.(.*?)\.+-[xo>]?\s*/],Ws=/\blabel\s*:\s*(?:"([^"]*)"|'([^']*)'|([^,}\n]*))/;function In(e){let t=e.trim();return t.length>=2&&t.startsWith('"')&&t.endsWith('"')&&(t=t.slice(1,-1)),t.length>=2&&t.startsWith("`")&&t.endsWith("`")&&(t=t.slice(1,-1).replace(/(\*\*|__)(.+?)\1/g,"$2").replace(/(\*|_)(.+?)\1/g,"$2")),t.trim()}function Zs(e){let t=qs.exec(e);if(!t)return;let n=t[0].length,r;if(e.startsWith("@{",n)){let o=e.indexOf("}",n);if(o<0)return;let a=Ws.exec(e.slice(n+2,o));a&&(r=In(a[1]??a[2]??a[3]??"")),n=o+1}else{let o=Hs.find(([a])=>e.startsWith(a,n));if(o){let[a,s]=o,c=n+a.length,l=/^\s*"/.exec(e.slice(c));if(l){let p=e.indexOf('"',c+l[0].length);if(p<0)return;c=p+1}let u=s.map(p=>e.indexOf(p,c)).filter(p=>p>=0);if(u.length===0)return;let f=Math.min(...u);r=In(e.slice(n+a.length,f)),n=f+s.find(p=>e.startsWith(p,f)).length}}let i=/^:::[^\s&;]+/.exec(e.slice(n));return i&&(n+=i[0].length),{node:{id:t[0],label:r},length:n}}function Js(e){let t=Gs.exec(e);if(t)return t[0].length;for(let n of Ks){let r=n.exec(e);if(r)return r[0].length}}function Ys(e){let t=[],n=e,r=!0;for(;n=n.replace(/^\s+/,""),n!=="";){if(n.startsWith(";")){n=n.slice(1),r=!0;continue}if(r){let i=Zs(n);if(!i)break;t.push(i.node),n=n.slice(i.length);let o=/^\s*&/.exec(n);o?n=n.slice(o[0].length):r=!1}else{let i=Js(n);if(i===void 0)break;n=n.slice(i),r=!0}}return t}function Ln(e,t){for(let n=t;n<e.length;n++){let r=e[n].trim();if(r===""||r.startsWith("%%"))continue;let i=Us.exec(e[n]);return i?{index:n,match:i}:void 0}}function Fn(e){let t=e.split(/\r?\n/);return Ln(t,ze(t))!==void 0}function Bn(e,t){let n=e.split(/\r?\n/),r=ze(n),i=Ln(n,r),o=i?.match[1]??i?.match[2],a=o==="LR"||o==="RL"||o==="<"||o===">",s=new Map,c=new Set,l,u,f,p=!1,g=new Map;return n.forEach((h,m)=>{if(m<r)return;if(p){p=!h.includes("}");return}if(Ht.test(h)){l??=t+m;return}if(Gt.test(h)){u??=t+m;return}let _=qt.exec(h);if(_){f={text:_[1],line:t+m};return}if(h.trim().startsWith("%%"))return;let x=zs.exec(h);if(x&&c.add(x[1]),/^\s*accDescr\s*\{/.test(h)&&!h.includes("}")){p=!0;return}if($s.test(h))return;let k=m===i?.index?h.slice(i.match[0].length):h,b=t+m,E=Ys(k),v=[];for(let{id:A,label:C}of E){let O=s.get(A);O||(O={index:s.size,line:b,text:A,nodeId:A,labeled:!1,refable:!1},s.set(A,O),v.push(A)),C!==void 0&&(O.text=C,O.labeled=!0,O.line=b)}if(E.length===0)return;let R=s.get(E.find(A=>A.label!==void 0)?.id??v[0]??E[0].id);g.set(b,R.nodeId),f&&(R.ref=f.text,R.refLine=f.line,f=void 0)}),{nodes:[...s.values()].filter(h=>!c.has(h.nodeId)).map((h,m)=>({...h,index:m,refable:g.get(h.line)===h.nodeId})),markerLine:l,legacyMarkerLine:u,horizontal:a}}var Xs=/^\s*<!--\s*link-headings:end\s*-->\s*$/,js=/^\s*<!--\s*seq-notes:end\s*-->\s*$/;function Kt(e){return e.type==="fence"&&e.info.trim().split(/\s+/)[0]==="mermaid"}function Vs(e){if(Kt(e))return Dn(e.content)?"sequence":Fn(e.content)?"flowchart":void 0}function qe(e){return e?e.children?e.children.map(t=>{switch(t.type){case"text":case"code_inline":return t.content;case"softbreak":case"hardbreak":return" ";default:return""}}).join(""):e.content:""}function Qs(e){let t=new Map;for(let r of e)t.set(r,(t.get(r)??0)+1);let n;for(let[r,i]of t){let o=n===void 0?0:t.get(n);(i>o||i===o&&r<n)&&(n=r)}return n}function ct(e,t=de){let n=[],r=e.map((o,a)=>({token:o,index:a,kind:Vs(o)})).filter(o=>o.kind!==void 0).map(({token:o,index:a,kind:s},c)=>{let l=(o.map?.[0]??0)+1,u=s==="flowchart"?Bn(o.content,l):void 0,{messages:f,markerLine:p,legacyMarkerLine:g}=u?{messages:u.nodes,markerLine:u.markerLine,legacyMarkerLine:u.legacyMarkerLine}:Mn(o.content,l);if(g!==void 0&&n.push({line:g,message:t('"%% @seq-notes" is no longer supported. Write "%% @link-headings" instead.')}),p===void 0)for(let _ of f.filter(x=>x.ref!==void 0))n.push({line:_.refLine??_.line,message:t(u?'@ref is ignored because the flowchart has no "%% @link-headings" marker.':'@ref is ignored because the sequence diagram has no "%% @link-headings" marker.')});else o.level!==0&&n.push({line:p,message:t(u?"@link-headings is ignored for a flowchart inside a list or blockquote.":"@link-headings is ignored for a sequence diagram inside a list or blockquote.")});let d=p!==void 0&&o.level===0,h=u?.horizontal??!1;return{id:c,kind:s,fenceIndex:a,rangeEnd:a+1,messages:f,unlinkedHeadings:[],headings:[],paired:d,stacked:h}}),i=new Set(r.filter(o=>o.paired).map(o=>o.fenceIndex));for(let o of e)o.level===0&&o.type==="html_block"&&js.test(o.content)&&n.push({line:o.map?.[0]??0,message:t('"<!-- seq-notes:end -->" is no longer supported. Write "<!-- link-headings:end -->" instead.')});for(let o of r.filter(a=>a.paired)){let a=o.fenceIndex,s=a+1;for(;s<e.length;){let d=e[s];if(i.has(s)||d.level===0&&d.type==="html_block"&&Xs.test(d.content)||d.type==="footnote_block_open")break;s++}o.rangeEnd=s;let c=new Map,l=new Map,u=new Map,f=o.headings;for(let d=a+1;d<s;d++){let h=e[d],m=h.type==="heading_open"?h.attrGet("id"):null;if(m){let _=Re(qe(e[d+1]));h.level===0&&f.push({index:d,id:String(m),level:Number(h.tag.slice(1)),line:h.map?.[0]??0,text:_,refTarget:!c.has(_)}),c.has(_)||c.set(_,String(m));let x=On(_);x&&(u.set(String(m),x),l.set(x.text,[...l.get(x.text)??[],String(m)]))}}for(let d of o.messages){let h=Re(d.ref??d.text),m=d.number,_=l.get(h)??[],x=c.get(h)??_.find(k=>Number(u.get(k).value)===m)??_[0];if(x){d.target=x;let k=u.get(x);k&&m!==void 0&&(d.numberInHeading=Number(k.value)===m)}else d.ref!==void 0&&n.push({line:d.refLine??d.line,message:o.kind==="flowchart"?t('@ref target heading "{0}" was not found after the flowchart.',d.ref):t('@ref target heading "{0}" was not found after the sequence diagram.',d.ref)})}let p=new Set(o.messages.map(d=>d.target).filter(d=>d!==void 0));if(p.size===0)continue;for(let d of o.messages.filter(h=>!h.target&&h.labeled!==!1))d.unlinked=!0;let g=Qs(f.filter(d=>p.has(d.id)).map(d=>d.level));o.stepLevel=g,o.unlinkedHeadings=f.filter(d=>d.level===g&&!p.has(d.id)).map(d=>d.index)}return n.sort((o,a)=>o.line-a.line),{diagrams:r,warnings:n}}var Wi=Tn(Ki(),1);var nn=Wi.default;function ll(e,t){if(!t||!nn.getLanguage(t))return"";try{return nn.highlight(e,{language:t,ignoreIllegals:!0}).value}catch{return""}}var Ji=/^(?:"[^"]*"|'[^']*'|[^\s#:"'-][^:]*?)\s*:(?:\s|$)/,xt=e=>/^(["']).*\1$/.test(e)?e.slice(1,-1):e;function Zi(e){let t=/^(["'])(?:(?!\1).)*\1/.exec(e);if(t)return/^\s*(?:#.*)?$/.test(e.slice(t[0].length))?t[0]:e;let n=/(?:^|\s)#/.exec(e);return n?e.slice(0,n.index).trimEnd():e}function rn(e){let t=[];for(let n of e.split(/\r?\n/)){let r=/^\S/.test(n)?Ji.exec(n):null;r?t.push({key:xt(r[0].replace(/\s*:\s*$/,"")),rest:Zi(n.slice(r[0].length).trim()),lines:[]}):t.length>0&&!/^#/.test(n)&&t[t.length-1].lines.push(n)}return t.map(({key:n,rest:r,lines:i})=>{for(;i.length>0&&i[i.length-1].trim()==="";)i.pop();let o=Math.min(...i.filter(c=>c.trim()!=="").map(c=>/^\s*/.exec(c)[0].length)),a=i.map(c=>c.slice(o)),s;return/^[|>][+-]?\d*$/.test(r)?s=a.join(r.startsWith(">")?" ":`
|
|
7
|
-
`):r===""&&a.length>0&&a.every(c=>/^-(\s|$)/.test(c))?s=a.map(c=>xt(Zi(c.slice(1).trim()))).join(", "):a.length===0&&/^\[.*\]$/.test(r)?s=r.slice(1,-1).split(",").map(c=>xt(c.trim())).filter(c=>c!=="").join(", "):s=[xt(r),...a].filter((c,l)=>l>0||c!=="").join(`
|
|
8
|
-
`
|
|
9
|
-
<
|
|
10
|
-
`+_.map(({key:k,value:b})=>`<tr><th>${s(k)}</th><td>${s(b)}</td></tr>
|
|
11
|
-
`).join("")+`</tbody>
|
|
12
|
-
</table>
|
|
13
|
-
`;if(a.find(_=>_.key==="type")?.value.trim()!==ul)return a.length===0?"":l(a,o.renderAttrs(c));let u=i?.t??de,f=_=>Ze(a,_),p=f("title"),g=We.flatMap(({key:_,label:x})=>{let k=f(_);return k===void 0?[]:[`<div class="seqnotes-doc-${_}"><dt>${s(u(x))}</dt><dd>${s(k)}</dd></div>
|
|
14
|
-
`]}),d=a.filter(({key:_})=>_!=="type"&&_!=="title"&&!We.some(x=>x.key===_)),h=p===void 0&&g.length===0?"":`<div class="seqnotes-doc-headline">
|
|
15
|
-
`+(p===void 0?"":`<div class="seqnotes-doc-title">${s(p)}</div>
|
|
16
|
-
`)+(g.length===0?"":`<dl class="seqnotes-doc-meta">
|
|
17
|
-
${g.join("")}</dl>
|
|
18
|
-
`)+`</div>
|
|
19
|
-
`;if(h===""&&d.length===0)return"";c.attrJoin("class","seqnotes-doc-header");let m=d.length===0?"":`<details class="seqnotes-doc-more">
|
|
20
|
-
<summary>${s(u("Other metadata ({0})",d.length))}</summary>
|
|
21
|
-
${l(d)}</details>
|
|
22
|
-
`;return`<div${o.renderAttrs(c)}>
|
|
23
|
-
${h}${m}</div>
|
|
24
|
-
`}}var fl=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\][ \t]*(?:\n|$)/i,gl={note:["info","M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"],tip:["light-bulb","M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"],important:["report","M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"],warning:["alert","M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"],caution:["stop","M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"]};function pl(e){let[t,n]=gl[e];return`<svg class="octicon octicon-${t}" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="${n}"></path></svg>`}function hl(e){e.core.ruler.after("block","seqnotes_alerts",t=>{let n=t.tokens;for(let r=0;r<n.length;r++){let i=n[r],o=n[r+2];if(i.type!=="blockquote_open"||i.level!==0||n[r+1]?.type!=="paragraph_open"||o?.type!=="inline")continue;let a=fl.exec(o.content);if(!a)continue;let s=a[1].toLowerCase(),c=r+1;for(;n[c].type!=="blockquote_close"||n[c].level!==i.level;)c++;if(a[0].length===o.content.length&&c===r+4)continue;i.tag="div",i.attrJoin("class",`markdown-alert markdown-alert-${s}`),n[c].tag="div",o.content=o.content.slice(a[0].length);let l=n[r+1];l.map&&o.content!==""&&(l.map=[l.map[0]+1,l.map[1]]);let u=[new t.Token("paragraph_open","p",1),new t.Token("inline","",0),new t.Token("paragraph_close","p",-1)];u[0].attrSet("class","markdown-alert-title"),u[0].map=i.map,u[1].content=s[0].toUpperCase()+s.slice(1);let f=new t.Token("html_inline","",0);f.content=pl(s),u[1].children=[f],u.forEach((p,g)=>p.level=i.level+(g===1?2:1)),u[0].block=u[2].block=!0,n.splice(r+1,o.content===""?3:0,...u)}})}var ml=/^\[([ xX])\](?=\s|$)\s*/;function bl(e){e.core.ruler.after("inline","seqnotes_task_lists",t=>{let n=t.tokens;for(let r=0;r<n.length;r++){let i=n[r+2],o=i?.children?.[0];if(n[r].type!=="list_item_open"||n[r+1].type!=="paragraph_open"||i.type!=="inline"||o?.type!=="text")continue;let a=ml.exec(o.content);if(!a)continue;o.content=o.content.slice(a[0].length);let s=new t.Token("html_inline","",0);s.content=`<input class="task-list-item-checkbox" type="checkbox" disabled${a[1]===" "?"":" checked"}> `,i.children.unshift(s),n[r].attrJoin("class","task-list-item")}})}function Yi(e){e.set({highlight:ll}),e.use(dl).use(hl).use(bl)}var on={};Nn(on,{decode:()=>Je,encode:()=>ke,format:()=>Be,parse:()=>Ye});var Xi={};function _l(e){let t=Xi[e];if(t)return t;t=Xi[e]=[];for(let n=0;n<128;n++){let r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function wt(e,t){typeof t!="string"&&(t=wt.defaultChars);let n=_l(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let i="";for(let o=0,a=r.length;o<a;o+=3){let s=parseInt(r.slice(o+1,o+3),16);if(s<128){i+=n[s];continue}if((s&224)===192&&o+3<a){let c=parseInt(r.slice(o+4,o+6),16);if((c&192)===128){let l=s<<6&1984|c&63;l<128?i+="\uFFFD\uFFFD":i+=String.fromCharCode(l),o+=3;continue}}if((s&240)===224&&o+6<a){let c=parseInt(r.slice(o+4,o+6),16),l=parseInt(r.slice(o+7,o+9),16);if((c&192)===128&&(l&192)===128){let u=s<<12&61440|c<<6&4032|l&63;u<2048||u>=55296&&u<=57343?i+="\uFFFD\uFFFD\uFFFD":i+=String.fromCharCode(u),o+=6;continue}}if((s&248)===240&&o+9<a){let c=parseInt(r.slice(o+4,o+6),16),l=parseInt(r.slice(o+7,o+9),16),u=parseInt(r.slice(o+10,o+12),16);if((c&192)===128&&(l&192)===128&&(u&192)===128){let f=s<<18&1835008|c<<12&258048|l<<6&4032|u&63;f<65536||f>1114111?i+="\uFFFD\uFFFD\uFFFD\uFFFD":(f-=65536,i+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),o+=9;continue}}i+="\uFFFD"}return i})}wt.defaultChars=";/?:@&=+$,#";wt.componentChars="";var Je=wt;var ji={};function El(e){let t=ji[e];if(t)return t;t=ji[e]=[];for(let n=0;n<128;n++){let r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function vt(e,t,n){typeof t!="string"&&(n=t,t=vt.defaultChars),typeof n>"u"&&(n=!0);let r=El(t),i="";for(let o=0,a=e.length;o<a;o++){let s=e.charCodeAt(o);if(n&&s===37&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){i+=e.slice(o,o+3),o+=2;continue}if(s<128){i+=r[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a){let c=e.charCodeAt(o+1);if(c>=56320&&c<=57343){i+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[o])}return i}vt.defaultChars=";/?:@&=+$,-_.!~*'()#";vt.componentChars="-_.!~*'()";var ke=vt;function Be(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Rt(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var kl=/^([a-z0-9.+-]+:)/i,xl=/:[0-9]*$/,wl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,vl=["<",">",'"',"`"," ","\r",`
|
|
25
|
-
`," "],Rl=["{","}","|","\\","^","`"].concat(vl),yl=["'"].concat(Rl),Vi=["%","/","?",";","#"].concat(yl),Qi=["/","?","#"],Al=255,eo=/^[+a-z0-9A-Z_-]{0,63}$/,Cl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,to={javascript:!0,"javascript:":!0},no={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Nl(e,t){if(e&&e instanceof Rt)return e;let n=new Rt;return n.parse(e,t),n}Rt.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){let l=wl.exec(o);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let a=kl.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&to[a])&&(o=o.substr(2),this.slashes=!0)),!to[a]&&(i||a&&!no[a])){let l=-1;for(let d=0;d<Qi.length;d++)r=o.indexOf(Qi[d]),r!==-1&&(l===-1||r<l)&&(l=r);let u,f;l===-1?f=o.lastIndexOf("@"):f=o.lastIndexOf("@",l),f!==-1&&(u=o.slice(0,f),o=o.slice(f+1),this.auth=u),l=-1;for(let d=0;d<Vi.length;d++)r=o.indexOf(Vi[d]),r!==-1&&(l===-1||r<l)&&(l=r);l===-1&&(l=o.length),o[l-1]===":"&&l--;let p=o.slice(0,l);o=o.slice(l),this.parseHost(p),this.hostname=this.hostname||"";let g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){let d=this.hostname.split(/\./);for(let h=0,m=d.length;h<m;h++){let _=d[h];if(_&&!_.match(eo)){let x="";for(let k=0,b=_.length;k<b;k++)_.charCodeAt(k)>127?x+="x":x+=_[k];if(!x.match(eo)){let k=d.slice(0,h),b=d.slice(h+1),E=_.match(Cl);E&&(k.push(E[1]),b.unshift(E[2])),b.length&&(o=b.join(".")+o),this.hostname=k.join(".");break}}}}this.hostname.length>Al&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=o.indexOf("#");s!==-1&&(this.hash=o.substr(s),o=o.slice(0,s));let c=o.indexOf("?");return c!==-1&&(this.search=o.substr(c),o=o.slice(0,c)),o&&(this.pathname=o),no[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Rt.prototype.parseHost=function(e){let t=xl.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Ye=Nl;var un={};Nn(un,{Any:()=>sn,Cc:()=>an,Cf:()=>Tl,P:()=>Xe,S:()=>cn,Z:()=>ln});var sn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,an=/[\0-\x1F\x7F-\x9F]/,Tl=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Xe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA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\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uF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-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,ln=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var Sl=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function Dl(e){return e===0||e>=55296&&e<=57343||e>1114111}function ro(e){return Dl(e)?65533:e>=128&&e<=159&&Sl[e-128]||e}function io(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(ro(e))}var fe=(()=>{let e=new Uint8Array(127),t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function oo(e,t,n,r,i,o){let s=e.length,c=o*90,l=0,u=()=>{let C=fe[e.charCodeAt(l++)];return C<o?C:C*91-c+fe[e.charCodeAt(l++)]},f=n-r,p=n+i,g=new Int32Array(p);g.fill(-1,r,o),g.fill(-1,o+f,p);let d=new Int32Array(p),h=new Int32Array(p);function m(C,O){let I=0,U=O,X=O+C;for(;U<X;){let z=fe[e.charCodeAt(l++)];if(z<89)I+=z,g[U++]=I;else if(z===89){let $=fe[e.charCodeAt(l++)]+2;for(;$--;)g[U++]=++I}else{let $=fe[e.charCodeAt(l++)];I+=89+($<90?$*91+fe[e.charCodeAt(l++)]:fe[e.charCodeAt(l++)]*8281+fe[e.charCodeAt(l++)]*91+fe[e.charCodeAt(l++)]),g[U++]=I}}}m(r,0),m(f,o);let _=new Int32Array(i*2),x=0,k=0;function b(C,O){for(let I=0;I<C;I++){let U=O+I,X=u(),z=u();_[k*2]=X,_[k*2+1]=z,k+=1,d[U]=x;let $=(g[X]<0?h[X]:1)+(g[z]<0?h[z]:1);h[U]=$,x+=$}}b(i-o+r,o+f),b(o-r,r);let E=new Uint16Array(x),v=0;for(let C=0;C<k;C++)for(let O=0;O<2;O++){let I=_[C*2+O],U=g[I];if(U<0){let X=d[I],z=X+h[I];for(;X<z;)E[v++]=E[X++]}else E[v++]=U}let R=new Uint16Array(t),A=0;for(;l<s;){let C=fe[e.charCodeAt(l++)];C>=o&&(C=C*91-c+fe[e.charCodeAt(l++)]);let O=g[C];if(O<0){let I=d[C],U=I+h[C];for(;I<U;)R[A++]=E[I++]}else R[A++]=O}return R}var so=oo("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},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hYq3!(?C2F|J:2<BaY?C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61);var Q;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.FLAG13=8192]="FLAG13",e[e.BRANCH_LENGTH=8064]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE",e[e.VALUE_MASK=8191]="VALUE_MASK"})(Q||(Q={}));var ne;(function(e){e[e.AMP=38]="AMP",e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_X=120]="LOWER_X"})(ne||(ne={}));var yt=32,lo=21,Ml=2097151,dn=2047,uo=0;function Ol(e){let t=e>>>lo;return t===dn?uo:t}function fo(e){return e-ne.ZERO>>>0<=9}function Il(e){return(e|yt)-ne.LOWER_A>>>0<=5}function go(e){return(e|yt)-ne.LOWER_A>>>0<=25}function Ll(e){return e===ne.EQUALS||go(e)||fo(e)}var ao;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ao||(ao={}));var fn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(fn||(fn={}));function Fl(e,t,n,r){let i=(t&Q.BRANCH_LENGTH)>>7,o=t&Q.JUMP_TABLE;if(o){if(i===0)return r===o?n:-1;let c=r-o;if(c>>>0>=i)return-1;let l=e[n+c];return l===0?-1:n+i+l-1&65535}if(i===0)return-1;let a=i+1>>1,s=n+a+i;for(let c=0;c<i;c++){let u=e[n+(c>>1)]>>((c&1)<<3)&255;if(u===r){let f=n+a+c;return s+e[f]&65535}if(u>r)return-1}return-1}function co(e,t,n){return n===1?String.fromCharCode(e[t]&Q.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function Bl(e,t,n){let r=t+1,i=0,o=r;if(r<n&&(e.charCodeAt(r)|yt)===ne.LOWER_X)for(r+=1,o=r;r<n;){let s=e.charCodeAt(r);if(fo(s))i=i*16+(s-ne.ZERO);else if(Il(s))i=i*16+((s|yt)-ne.LOWER_A+10);else break;r+=1}else for(;r<n;){let s=e.charCodeAt(r)-ne.ZERO;if(s>>>0>9)break;i=i*10+s,r+=1}if(r===o)return 0;r<n&&e.charCodeAt(r)===ne.SEMI&&(r+=1),i>1114111&&(i=1114112);let a=r-t;return a>=dn&&(uo=a,a=dn),a<<lo|i}function Pl(e,t,n){let r=so,i=e.indexOf("&");if(i<0)return e;let o=e.length,a=0,s="",c=r[0],l=c&Q.JUMP_TABLE,u=(c&Q.BRANCH_LENGTH)>>7;do{let f=i+1,p=e.charCodeAt(f),g,d;if(p===ne.NUM){let h=Bl(e,f,o);g=Ol(h),t&&g>0&&e.charCodeAt(f+g-1)!==ne.SEMI&&(g=0),d=g===0?"":io(h&Ml)}else if(go(p)){g=0,d="";let h=p-l,m;if(h>>>0<u){let E=r[1+h];m=E===0?-1:u+E&65535}else m=-1;let _=0,x=0,k=m<0?0:r[m],b=f+1;e:for(;b<o;){for(;(k&(Q.VALUE_LENGTH|Q.FLAG13))===0&&(k&Q.JUMP_TABLE)!==0;){let A=k&Q.JUMP_TABLE,C=(k&Q.BRANCH_LENGTH)>>7;if(C===0){if(e.charCodeAt(b)!==A)break e;m+=1}else{let O=e.charCodeAt(b)-A;if(O>>>0>=C)break e;let I=r[m+1+O];if(I===0)break e;m=m+C+I&65535}if(k=r[m],b+=1,b>=o)break e}if((k&(Q.VALUE_LENGTH|Q.FLAG13))===Q.FLAG13){let A=(k&Q.BRANCH_LENGTH)>>7;if(e.charCodeAt(b)!==(k&Q.JUMP_TABLE))break;b+=1;let C=A-1,O=m+1,I=0;for(;I+1<C;I+=2){let U=r[O];if(e.charCodeAt(b)!==(U&255)||(b+=1,e.charCodeAt(b)!==(U>>8&255)))break e;b+=1,O+=1}if(I<C){if(e.charCodeAt(b)!==(r[O]&255))break;b+=1}m+=1+(A>>1),k=r[m];continue}let E=k>>>14,v=e.charCodeAt(b);if(E!==0){if(v===ne.SEMI){g=b-f+1,d=E===1?String.fromCharCode(k&Q.VALUE_MASK):co(r,m,E);break}if(!t&&(k&Q.FLAG13)===0&&(g=b-f,_=m,x=E),E===1)break}let R=Fl(r,k,m+(E||1),v);if(R<0)break;m=R,k=r[m],b+=1}if(d===""){let E=k>>>14;E!==0&&!t&&(k&Q.FLAG13)===0&&(g=b-f,_=m,x=E),g>0&&(d=co(r,_,x))}}else g=0,d="";g===0||n&&p!==ne.NUM&&e.charCodeAt(f+g-1)!==ne.SEMI&&f+g<o&&Ll(e.charCodeAt(f+g))?i=f:(a<i&&(s+=e.slice(a,i)),s+=d,i=a=f+g),e.charCodeAt(i)!==ne.AMP&&(i=e.indexOf("&",i))}while(i>=0);return s+e.slice(a)}function At(e){return Pl(e,!0,!1)}var po;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(po||(po={}));var ho;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(ho||(ho={}));var $l=class{src_Any=sn.source;src_Cc=an.source;src_Z=ln.source;src_P=Xe.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join("|");src_ZCc=[this.src_Z,this.src_Cc].join("|");cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}nestedPairRE(e,t,n=4){let r=this.escapeRE(e),i=this.escapeRE(t),o=`(?:(?!${this.src_ZCc}|${r}|${i}).)`,a=`${r}${o}{0,1000}${i}`;for(let s=2;s<=n;s++)a=`${r}(?:${o}|${a}){0,1000}${i}`;return a}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=new RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=new RegExp("(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])")}get_ipv6_addr(){let e="[0-9A-Fa-f]{1,4}",t=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=new RegExp(`(?:(?:${e}:){6}${t}|::(?:${e}:){5}${t}|(?:${e})?::(?:${e}:){4}${t}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${t}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${t}|(?:(?:${e}:){0,3}${e})?::${e}:${t}|(?:(?:${e}:){0,4}${e})?::${t}|(?:(?:${e}:){0,5}${e})?::${e}|(?:(?:${e}:){0,6}${e})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=new RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=new RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=new RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=new RegExp("(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?")}get_host_terminator(){return this.cache.src_host_terminator??=new RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=new RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=new RegExp(`(?:[/?#](?:${this.nestedPairRE("[","]")}|${this.nestedPairRE("(",")")}|${this.nestedPairRE("{","}")}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts["---"]?"\\-(?!--(?:[^-]|$))(?:-{0,19})|":"\\-{1,20}|")+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=new RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=new RegExp("xn--[a-z0-9\\-]{1,59}")}get_tld(){if(this.cache.tld)return this.cache.tld;let e=[...new Set(this.opts.tlds||[])].sort().reverse().join("|");return this.cache.tld=new RegExp(`${e||"$#none#$"}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=new RegExp("(?:"+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=new RegExp("(?:"+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=new RegExp("(?:"+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=new RegExp("(?:"+(this.opts.fuzzyIP?this.get_ipv4_addr().source+"|":"")+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=new RegExp("")}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=new RegExp(`@${this.get_fuzzy_mail_host().source}`,"ig")}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=new RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uFF5C]|${this.src_ZPCc}))(?:(?![$+<=>^\`|\uFF5C])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,"ig")}get_http_validator(){return this.cache.http_validator??=new RegExp("\\/\\/"+(this.opts.urlAuth?this.get_auth().source:"")+this.get_url_host_port().source+this.get_path().source,"iy")}get_relative_proto_validator(){return this.cache.relative_proto_validator??=new RegExp((this.opts.urlAuth?this.get_auth().source:"")+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,"iy")}get_mail_name_validator(){return this.cache.mail_name_validator??=new RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=new RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,"iy")}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map(e=>this.escapeRE(e)).join("|"))}get_schema_search(){return this.cache.schema_search??=new RegExp(`(^|(?!_)(?:[><\uFF5C]|${this.src_ZPCc}))(${this.get_schema_names().source})`,"ig")}get_schema_at_start(){return this.cache.schema_at_start??=new RegExp(`^${this.get_schema_search().source}`,"i")}},gn={validate:(e,t,n)=>{let r=n.re.get_http_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)},zl={"http:":gn,"https:":gn,"ftp:":gn,"//":{validate:function(e,t,n){let r=n.re.get_relative_proto_validator();r.lastIndex=t;let i=r.exec(e);return i?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:i[0].length:0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,n){let r=n.re.get_mailto_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)}},ql="a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw",Hl="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444";function Gl(){let e=Hl.split("|");return ql.split("|").forEach(t=>{let n=t.indexOf(":"),r=t.slice(0,n);for(let i of t.slice(n+1))e.push(r+i)}),e}var Kl={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:Gl(),urlAuth:!1,maxLength:1e4},mo=class{schema;index;lastIndex;raw;text;url;constructor(e,t,n,r){let i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}},bo=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:t,...n}=e;this.__opts__={...Kl,...n},this.__schemas__={...zl},this.re=t||new $l,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(!t)delete this.__schemas__[e];else{let n={normalize:(r,i)=>i.normalize(r),...t};this.__schemas__[e]=n}return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,n;for(n=this.re.get_schema_search(),n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(n=this.re.get_fuzzy_link_search(),n.lastIndex=0,n.exec(e)!==null))return!0;if(this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&e.indexOf("@")>=0){let r=this.re.get_fuzzy_mail_host_search(),i=this.re.get_mail_name_validator();for(r.lastIndex=0;(t=r.exec(e))!==null;){let o=e.slice(Math.max(0,t.index-65),t.index);if(i.test(o))return!0}}return!1}testSchemaAt(e,t,n){return this.__schemas__[t.toLowerCase()]?this.__schemas__[t.toLowerCase()].validate(e.slice(0,n+this.__opts__.maxLength),n,this):0}match(e){let t=[],n=this.re.get_schema_search(),r,i,o,a,s,c,l=!1,u=!1,f=!1,p=0;if(!e.length)return null;for(n.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(r=this.re.get_fuzzy_link_search(),r.lastIndex=0),this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&(i=this.re.get_fuzzy_mail_host_search(),i.lastIndex=0,o=this.re.get_mail_name_validator());;){let g=Math.max(p-1,0);if(i&&o&&!f&&(!s||s.index<p))for(i.lastIndex<g&&(i.lastIndex=g);;){let x=i.exec(e);if(!x){f=!0,s=void 0;break}let k=o.exec(e.slice(Math.max(0,x.index-65),x.index));if(k){if(s={schema:"mailto:",index:x.index-k[1].length,lastIndex:x.index+x[0].length},s.index>=p)break;i.lastIndex<g&&(i.lastIndex=g)}}if(r&&!u&&(!a||a.index<p))for(r.lastIndex<g&&(r.lastIndex=g);;){let x=r.exec(e);if(!x){u=!0,a=void 0;break}if(a={schema:"",index:x.index+x[1].length,lastIndex:x.index+x[0].length},a.index>=p)break;r.lastIndex<g&&(r.lastIndex=g)}let d=s;(!d||a&&(a.index<d.index||a.index===d.index&&a.lastIndex>d.lastIndex))&&(d=a);let h;if(!l)for(;;){if(!c){n.lastIndex<g&&(n.lastIndex=g);let b=n.exec(e);if(!b){l=!0;break}c={schema:b[2],index:b.index+b[1].length,lastIndex:b.index+b[0].length}}if(c.index<p){c=void 0;continue}if(d&&c.index>d.index)break;let x=c;c=void 0;let k=this.testSchemaAt(e,x.schema,x.lastIndex);if(k){h={schema:x.schema,index:x.index,lastIndex:x.lastIndex+k};break}}let m=h;if((!m||s&&(s.index<m.index||s.index===m.index&&s.lastIndex>m.lastIndex))&&(m=s),(!m||a&&(a.index<m.index||a.index===m.index&&a.lastIndex>m.lastIndex))&&(m=a),!m)break;m===s?s=void 0:m===a&&(a=void 0);let _=new mo(e,m.schema,m.index,m.lastIndex);_.schema?this.__schemas__[_.schema].normalize(_,this):this.normalize(_),t.push(_),p=m.lastIndex}return t.length?t:null}matchAtStart(e){if(!e.length)return null;let t=this.re.get_schema_at_start().exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let r=new mo(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__schemas__[r.schema].normalize(r,this),r}tlds(e,t=!1){return e=Array.isArray(e)?e:[e],t?this.__opts__.tlds=this.__opts__.tlds.concat(e):this.__opts__.tlds=e,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){e.schema||(e.url=`http://${e.url}`),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)}};var kn=Tn(yo(),1);var Ao=Object.defineProperty,Po=(e,t)=>{let n={};for(var r in e)Ao(n,r,{get:e[r],enumerable:!0});return t||Ao(n,Symbol.toStringTag,{value:"Module"}),n},nu=Po({arrayReplaceAt:()=>ru,asciiTrim:()=>St,callable:()=>Uo,escapeHtml:()=>we,escapeRE:()=>gu,fromCodePoint:()=>je,isMdAsciiPunct:()=>et,isPunctChar:()=>zo,isPunctCharCode:()=>Qe,isSpace:()=>Y,isValidEntityCode:()=>xn,isWhiteSpace:()=>Ve,lib:()=>pu,normalizeReference:()=>Tt,unescapeAll:()=>Pe,unescapeMd:()=>au});function Uo(e){let t=function(...n){return Reflect.construct(e,n,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function ru(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function xn(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function je(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var $o=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,iu=new RegExp(`${$o.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),ou=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function su(e,t){if(t.charCodeAt(0)===35&&ou.test(t)){let r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return xn(r)?je(r):e}let n=At(e);return n!==e?n:e}function au(e){return e.indexOf("\\")<0?e:e.replace($o,"$1")}function Pe(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(iu,function(t,n,r){return n||su(t,r)})}var cu=/[&<>"]/,lu=/[&<>"]/g,uu={"&":"&","<":"<",">":">",'"':"""};function du(e){return uu[e]}function we(e){return cu.test(e)?e.replace(lu,du):e}var fu=/[.?*+^$[\]\\(){}|-]/g;function gu(e){return e.replace(fu,"\\$&")}function Y(e){switch(e){case 9:case 32:return!0}return!1}function Ve(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function zo(e){return Xe.test(e)||cn.test(e)}function Qe(e){return zo(je(e))}function et(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Tt(e){return e=e.trim().replace(/\s+/g," "),e.toLowerCase().toUpperCase()}function Co(e){return e===32||e===9||e===10||e===13}function St(e){let t=0;for(;t<e.length&&Co(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&Co(e.charCodeAt(n));n--);return e.slice(t,n+1)}var pu={mdurl:on,ucmicro:un};function hu(e,t,n){let r,i,o,a,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),o===93&&(r--,r===0)){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),o===91){if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function mu(e,t,n){let r,i=t,o={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return o;if(r===62)return o.pos=i+1,o.str=Pe(e.slice(t+1,i)),o.ok=!0,o;if(r===92&&i+1<n){i+=2;continue}i++}return o}let a=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32){i++;continue}i+=2;continue}if(r===40&&(a++,a>32))return o;if(r===41){if(a===0)break;a--}i++}return t===i||a!==0||(o.str=Pe(e.slice(t,i)),o.pos=i,o.ok=!0),o}function bu(e,t,n,r){let i,o=t,a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let s=e.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;t++,o++,s===40&&(s=41),a.marker=s}for(;o<n;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=Pe(e.slice(t,o)),a.ok=!0,a;if(i===40&&a.marker===41)return a;i===92&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=Pe(e.slice(t,o)),a}var _u=Po({parseLinkDestination:()=>mu,parseLinkLabel:()=>hu,parseLinkTitle:()=>bu});function tt(e){"@babel/helpers - typeof";return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(e)}function Eu(e,t){if(tt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(tt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ku(e){var t=Eu(e,"string");return tt(t)=="symbol"?t:t+""}function S(e,t,n){return(t=ku(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ne=class{constructor(e,t,n){S(this,"map",null),S(this,"level",0),S(this,"children",null),S(this,"content",""),S(this,"markup",""),S(this,"info",""),S(this,"block",!1),S(this,"hidden",!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=n,this.meta=null}attrIndex(e){if(!this.attrs)return-1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},nt=class{constructor(){S(this,"__rules__",[]),S(this,"__cache__",null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){let e=new Set;this.__rules__.forEach(t=>{t.enabled&&t.alt.forEach(n=>{n&&e.add(n)})}),this.__cache__=Object.create(null),this.__cache__[""]=[],this.__rules__.forEach(t=>{t.enabled&&this.__cache__[""].push(t.fn)}),e.forEach(t=>{this.__cache__[t]=[],this.__rules__.forEach(n=>{n.enabled&&n.alt.indexOf(t)>=0&&this.__cache__[t].push(n.fn)})})}at(e,t,n={}){let r=this.__find__(e);if(r===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null}before(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}after(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}push(e,t,n={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null}enable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(r=>{let i=this.__find__(r);if(i<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!0,n.push(r)}),this.__cache__=null,n}enableOnly(e,t=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach(n=>{n.enabled=!1}),this.enable(e,t)}disable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(r=>{let i=this.__find__(r);if(i<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!1,n.push(r)}),this.__cache__=null,n}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},he={};he.code_inline=function(e,t,n,r,i){let o=e[t];return`<code${i.renderAttrs(o)}>${we(o.content)}</code>`};he.code_block=function(e,t,n,r,i){let o=e[t];return`<pre${i.renderAttrs(o)}><code>${we(e[t].content)}</code></pre>
|
|
26
|
-
`};he.fence=function(e,t,n,r,i){let o=e[t],a=o.info?Pe(o.info).trim():"",s="",c="";if(a){let u=a.split(/(\s+)/g);s=u[0],c=u.slice(2).join("")}let l;if(n.highlight?l=n.highlight(o.content,s,c)||we(o.content):l=we(o.content),l.indexOf("<pre")===0)return l+`
|
|
27
|
-
`;if(a){let u=o.attrIndex("class"),f=o.attrs?o.attrs.slice():[];u<0?f.push(["class",`${n.langPrefix}${s}`]):(f[u]=[f[u][0],f[u][1]],f[u][1]+=` ${n.langPrefix}${s}`);let p={attrs:f};return`<pre><code${i.renderAttrs(p)}>${l}</code></pre>
|
|
2
|
+
"use strict";var la=Object.create;var Xt=Object.defineProperty;var ua=Object.getOwnPropertyDescriptor;var da=Object.getOwnPropertyNames;var fa=Object.getPrototypeOf,pa=Object.prototype.hasOwnProperty;var q=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}},Hn=(e,t)=>{for(var n in t)Xt(e,n,{get:t[n],enumerable:!0})},ga=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of da(t))!pa.call(e,i)&&i!==n&&Xt(e,i,{get:()=>t[i],enumerable:!(r=ua(t,i))||r.enumerable});return e};var jt=(e,t,n)=>(n=e!=null?la(fa(e)):{},ga(t||!e||!e.__esModule?Xt(n,"default",{value:e,enumerable:!0}):n,e));var Er=q((tg,_r)=>{"use strict";var Ha=/^xn--/,Ga=/[^\0-\x7F]/,Wa=/[\x2E\u3002\uFF0E\uFF61]/g,Ka={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ln=35,pe=Math.floor,un=String.fromCharCode;function we(e){throw new RangeError(Ka[e])}function Za(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function pr(e,t){let n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Wa,".");let i=e.split("."),o=Za(i,t).join(".");return r+o}function gr(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let o=e.charCodeAt(n++);(o&64512)==56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var Ja=e=>String.fromCodePoint(...e),Ya=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},fr=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},hr=function(e,t,n){let r=0;for(e=n?pe(e/700):e>>1,e+=pe(e/t);e>ln*26>>1;r+=36)e=pe(e/ln);return pe(r+(ln+1)*e/(e+38))},mr=function(e){let t=[],n=e.length,r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&we("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<n;){let c=r;for(let u=1,f=36;;f+=36){s>=n&&we("invalid-input");let g=Ya(e.charCodeAt(s++));g>=36&&we("invalid-input"),g>pe((2147483647-r)/u)&&we("overflow"),r+=g*u;let p=f<=o?1:f>=o+26?26:f-o;if(g<p)break;let d=36-p;u>pe(2147483647/d)&&we("overflow"),u*=d}let l=t.length+1;o=hr(r-c,l,c==0),pe(r/l)>2147483647-i&&we("overflow"),i+=pe(r/l),r%=l,t.splice(r++,0,i)}return String.fromCodePoint(...t)},br=function(e){let t=[];e=gr(e);let n=e.length,r=128,i=0,o=72;for(let c of e)c<128&&t.push(un(c));let a=t.length,s=a;for(a&&t.push("-");s<n;){let c=2147483647;for(let u of e)u>=r&&u<c&&(c=u);let l=s+1;c-r>pe((2147483647-i)/l)&&we("overflow"),i+=(c-r)*l,r=c;for(let u of e)if(u<r&&++i>2147483647&&we("overflow"),u===r){let f=i;for(let g=36;;g+=36){let p=g<=o?1:g>=o+26?26:g-o;if(f<p)break;let d=f-p,m=36-p;t.push(un(fr(p+d%m,0))),f=pe(d/m)}t.push(un(fr(f,0))),o=hr(i,l,s===a),i=0,++s}++i,++r}return t.join("")},Xa=function(e){return pr(e,function(t){return Ha.test(t)?mr(t.slice(4).toLowerCase()):t})},ja=function(e){return pr(e,function(t){return Ga.test(t)?"xn--"+br(t):t})},Va={version:"2.3.1",ucs2:{decode:gr,encode:Ja},decode:mr,encode:br,toASCII:ja,toUnicode:Xa};_r.exports=Va});var xi=q((yg,wi)=>{function li(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&li(n)}),e}var yt=class{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function ui(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function ve(e,...t){let n=Object.create(null);for(let r in e)n[r]=e[r];return t.forEach(function(r){for(let i in r)n[i]=r[i]}),n}var cu="</span>",ri=e=>!!e.scope,lu=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){let n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`},yn=class{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=ui(t)}openNode(t){if(!ri(t))return;let n=lu(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){ri(t)&&(this.buffer+=cu)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}},ii=(e={})=>{let t={children:[]};return Object.assign(t,e),t},Rn=class e{constructor(){this.rootNode=ii(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){let n=ii({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{e._collapse(n)}))}},An=class extends Rn{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,n){let r=t.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new yn(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function nt(e){return e?typeof e=="string"?e:e.source:null}function di(e){return De("(?=",e,")")}function uu(e){return De("(?:",e,")*")}function du(e){return De("(?:",e,")?")}function De(...e){return e.map(n=>nt(n)).join("")}function fu(e){let t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function At(...e){return"("+(fu(e).capture?"":"?:")+e.map(r=>nt(r)).join("|")+")"}function fi(e){return new RegExp(e.toString()+"|").exec("").length-1}function pu(e,t){let n=e&&e.exec(t);return n&&n.index===0}var gu=new RegExp(At(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function Nn(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;let i=n,o=nt(r),a="";for(;o.length>0;){let s=gu.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],(s[0]==="("||/^\(\?[<']/.test(s[0]))&&n++)}return a}).map(r=>`(${r})`).join(t)}var hu=/\b\B/,pi="[a-zA-Z]\\w*",Tn="[a-zA-Z_]\\w*",gi="\\b\\d+(\\.\\d+)?",hi="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",mi="\\b(0b[01]+)",mu="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",bu=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=De(t,/.*\b/,e.binary,/\b.*/)),ve({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},rt={begin:"\\\\[\\s\\S]",relevance:0},_u={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[rt]},Eu={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[rt]},ku={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ct=function(e,t,n={}){let r=ve({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=At("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:De(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},wu=Ct("//","$"),xu=Ct("/\\*","\\*/"),vu=Ct("#","$"),yu={scope:"number",begin:gi,relevance:0},Ru={scope:"number",begin:hi,relevance:0},Au={scope:"number",begin:mi,relevance:0},Cu={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[rt,{begin:/\[/,end:/\]/,relevance:0,contains:[rt]}]},Nu={scope:"title",begin:pi,relevance:0},Tu={scope:"title",begin:Tn,relevance:0},Du={begin:"\\.\\s*"+Tn,relevance:0},Su=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})},vt=Object.freeze({__proto__:null,APOS_STRING_MODE:_u,BACKSLASH_ESCAPE:rt,BINARY_NUMBER_MODE:Au,BINARY_NUMBER_RE:mi,COMMENT:Ct,C_BLOCK_COMMENT_MODE:xu,C_LINE_COMMENT_MODE:wu,C_NUMBER_MODE:Ru,C_NUMBER_RE:hi,END_SAME_AS_BEGIN:Su,HASH_COMMENT_MODE:vu,IDENT_RE:pi,MATCH_NOTHING_RE:hu,METHOD_GUARD:Du,NUMBER_MODE:yu,NUMBER_RE:gi,PHRASAL_WORDS_MODE:ku,QUOTE_STRING_MODE:Eu,REGEXP_MODE:Cu,RE_STARTERS_RE:mu,SHEBANG:bu,TITLE_MODE:Nu,UNDERSCORE_IDENT_RE:Tn,UNDERSCORE_TITLE_MODE:Tu});function Mu(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Ou(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Iu(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Mu,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Lu(e,t){Array.isArray(e.illegal)&&(e.illegal=At(...e.illegal))}function Fu(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Bu(e,t){e.relevance===void 0&&(e.relevance=1)}var Pu=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");let n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=De(n.beforeMatch,di(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},Uu=["of","and","for","in","not","or","if","then","parent","list","value"],$u="keyword";function bi(e,t,n=$u){let r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(o){Object.assign(r,bi(e[o],t,o))}),r;function i(o,a){t&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){let c=s.split("|");r[c[0]]=[o,zu(c[0],c[1])]})}}function zu(e,t){return t?Number(t):qu(e)?0:1}function qu(e){return Uu.includes(e.toLowerCase())}var oi={},Te=e=>{console.error(e)},si=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Be=(e,t)=>{oi[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),oi[`${e}/${t}`]=!0)},Rt=new Error;function _i(e,t,{key:n}){let r=0,i=e[n],o={},a={};for(let s=1;s<=t.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=fi(t[s-1]);e[n]=a,e[n]._emit=o,e[n]._multi=!0}function Hu(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Te("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Rt;if(typeof e.beginScope!="object"||e.beginScope===null)throw Te("beginScope must be object"),Rt;_i(e,e.begin,{key:"beginScope"}),e.begin=Nn(e.begin,{joinWith:""})}}function Gu(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Te("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Rt;if(typeof e.endScope!="object"||e.endScope===null)throw Te("endScope must be object"),Rt;_i(e,e.end,{key:"endScope"}),e.end=Nn(e.end,{joinWith:""})}}function Wu(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Ku(e){Wu(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Hu(e),Gu(e)}function Zu(e){function t(a,s){return new RegExp(nt(a),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,s]),this.matchAt+=fi(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let s=this.regexes.map(c=>c[1]);this.matcherRe=t(Nn(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;let c=this.matcherRe.exec(s);if(!c)return null;let l=c.findIndex((f,g)=>g>0&&f!==void 0),u=this.matchIndexes[l];return c.splice(0,l),Object.assign(c,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];let c=new n;return this.rules.slice(s).forEach(([l,u])=>c.addRule(l,u)),c.compile(),this.multiRegexes[s]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,c){this.rules.push([s,c]),c.type==="begin"&&this.count++}exec(s){let c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let l=c.exec(s);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){let u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,l=u.exec(s)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function i(a){let s=new r;return a.contains.forEach(c=>s.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){let c=a;if(a.isCompiled)return c;[Ou,Fu,Ku,Pu].forEach(u=>u(a,s)),e.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[Iu,Lu,Bu].forEach(u=>u(a,s)),a.isCompiled=!0;let l=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),l=a.keywords.$pattern,delete a.keywords.$pattern),l=l||/\w+/,a.keywords&&(a.keywords=bi(a.keywords,e.case_insensitive)),c.keywordPatternRe=t(l,!0),s&&(a.begin||(a.begin=/\B|\b/),c.beginRe=t(c.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=t(c.end)),c.terminatorEnd=nt(c.end)||"",a.endsWithParent&&s.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(c.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return Ju(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,c)}),a.starts&&o(a.starts,s),c.matcher=i(c),c}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=ve(e.classNameAliases||{}),o(e)}function Ei(e){return e?e.endsWithParent||Ei(e.starts):!1}function Ju(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return ve(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Ei(e)?ve(e,{starts:e.starts?ve(e.starts):null}):Object.isFrozen(e)?ve(e):e}var Yu="11.12.0",Cn=class extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}},vn=ui,ai=ve,ci=Symbol("nomatch"),Xu=7,ki=function(e){let t=Object.create(null),n=Object.create(null),r=[],i=!0,o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]},s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:An};function c(v){return s.noHighlightRe.test(v)}function l(v){let D=v.className+" ";D+=v.parentNode?v.parentNode.className:"";let S=s.languageDetectRe.exec(D);if(S){let P=y(S[1]);return P||(si(o.replace("{}",S[1])),si("Falling back to no-highlight mode for this block.",v)),P?S[1]:"no-highlight"}return D.split(/\s+/).find(P=>c(P)||y(P))}function u(v,D,S){let P="",H="";typeof D=="object"?(P=v,S=D.ignoreIllegals,H=D.language):(Be("10.7.0","highlight(lang, code, ...args) has been deprecated."),Be("10.7.0",`Please use highlight(code, options) instead.
|
|
3
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),H=v,P=D),S===void 0&&(S=!0);let J={code:P,language:H};N("before:highlight",J);let Q=J.result?J.result:f(J.language,J.code,S);return Q.code=J.code,N("after:highlight",Q),Q}function f(v,D,S,P){let H=Object.create(null);function J(T,L){return T.keywords[L]}function Q(){if(!U.keywords){ne.addText(Y);return}let T=0;U.keywordPatternRe.lastIndex=0;let L=U.keywordPatternRe.exec(Y),z="";for(;L;){z+=Y.substring(T,L.index);let W=de.case_insensitive?L[0].toLowerCase():L[0],oe=J(U,W);if(oe){let[be,aa]=oe;if(ne.addText(z),z="",H[W]=(H[W]||0)+1,H[W]<=Xu&&(dt+=aa),be.startsWith("_"))z+=L[0];else{let ca=de.classNameAliases[be]||be;le(L[0],ca)}}else z+=L[0];T=U.keywordPatternRe.lastIndex,L=U.keywordPatternRe.exec(Y)}z+=Y.substring(T),ne.addText(z)}function ue(){if(Y==="")return;let T=null;if(typeof U.subLanguage=="string"){if(!t[U.subLanguage]){ne.addText(Y);return}T=f(U.subLanguage,Y,!0,ut[U.subLanguage]),ut[U.subLanguage]=T._top}else T=p(Y,U.subLanguage.length?U.subLanguage:null);U.relevance>0&&(dt+=T.relevance),ne.__addSublanguage(T._emitter,T.language)}function ae(){U.subLanguage!=null?ue():Q(),Y=""}function le(T,L){T!==""&&(ne.startScope(L),ne.addText(T),ne.endScope())}function Me(T,L){let z=1,W=L.length-1;for(;z<=W;){if(!T._emit[z]){z++;continue}let oe=de.classNameAliases[T[z]]||T[z],be=L[z];oe?le(be,oe):(Y=be,Q(),Y=""),z++}}function ct(T,L){return T.scope&&typeof T.scope=="string"&&ne.openNode(de.classNameAliases[T.scope]||T.scope),T.beginScope&&(T.beginScope._wrap?(le(Y,de.classNameAliases[T.beginScope._wrap]||T.beginScope._wrap),Y=""):T.beginScope._multi&&(Me(T.beginScope,L),Y="")),U=Object.create(T,{parent:{value:U}}),U}function qe(T,L,z){let W=pu(T.endRe,z);if(W){if(T["on:end"]){let oe=new yt(T);T["on:end"](L,oe),oe.isMatchIgnored&&(W=!1)}if(W){for(;T.endsParent&&T.parent;)T=T.parent;return T}}if(T.endsWithParent)return qe(T.parent,L,z)}function Gt(T){return U.matcher.regexIndex===0?(Y+=T[0],1):(Yt=!0,0)}function Wt(T){let L=T[0],z=T.rule,W=new yt(z),oe=[z.__beforeBegin,z["on:begin"]];for(let be of oe)if(be&&(be(T,W),W.isMatchIgnored))return Gt(L);return z.skip?Y+=L:(z.excludeBegin&&(Y+=L),ae(),!z.returnBegin&&!z.excludeBegin&&(Y=L)),ct(z,T),z.returnBegin?0:L.length}function Kt(T){let L=T[0],z=D.substring(T.index),W=qe(U,T,z);if(!W)return ci;let oe=U;U.endScope&&U.endScope._wrap?(ae(),le(L,U.endScope._wrap)):U.endScope&&U.endScope._multi?(ae(),Me(U.endScope,T)):oe.skip?Y+=L:(oe.returnEnd||oe.excludeEnd||(Y+=L),ae(),oe.excludeEnd&&(Y=L));do U.scope&&ne.closeNode(),!U.skip&&!U.subLanguage&&(dt+=U.relevance),U=U.parent;while(U!==W.parent);return W.starts&&ct(W.starts,T),oe.returnEnd?0:L.length}function Zt(){let T=[];for(let L=U;L!==de;L=L.parent)L.scope&&T.unshift(L.scope);T.forEach(L=>ne.openNode(L))}let Oe={};function lt(T,L){let z=L&&L[0];if(Y+=T,z==null)return ae(),0;if(Oe.type==="begin"&&L.type==="end"&&Oe.index===L.index&&z===""){if(Y+=D.slice(L.index,L.index+1),!i){let W=new Error(`0 width match regex (${v})`);throw W.languageName=v,W.badRule=Oe.rule,W}return 1}if(Oe=L,L.type==="begin")return Wt(L);if(L.type==="illegal"&&!S){let W=new Error('Illegal lexeme "'+z+'" for mode "'+(U.scope||"<unnamed>")+'"');throw W.mode=U,W}else if(L.type==="end"){let W=Kt(L);if(W!==ci)return W}if(L.type==="illegal"&&z==="")return L.index===D.length||(Y+=`
|
|
4
|
+
`),1;if(Jt>1e5&&Jt>L.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=z,z.length}let de=y(v);if(!de)throw Te(o.replace("{}",v)),new Error('Unknown language: "'+v+'"');let K=Zu(de),Ee="",U=P||K,ut={},ne=new s.__emitter(s);Zt();let Y="",dt=0,Re=0,Jt=0,Yt=!1;try{if(de.__emitTokens)de.__emitTokens(D,ne);else{for(U.matcher.considerAll();;){Jt++,Yt?Yt=!1:U.matcher.considerAll(),U.matcher.lastIndex=Re;let T=U.matcher.exec(D);if(!T)break;let L=D.substring(Re,T.index),z=lt(L,T);Re=T.index+z}lt(D.substring(Re))}return ne.finalize(),Ee=ne.toHTML(),{language:v,value:Ee,relevance:dt,illegal:!1,_emitter:ne,_top:U}}catch(T){if(T.message&&T.message.includes("Illegal"))return{language:v,value:vn(D),illegal:!0,relevance:0,_illegalBy:{message:T.message,index:Re,context:D.slice(Re-100,Re+100),mode:T.mode,resultSoFar:Ee},_emitter:ne};if(i)return{language:v,value:vn(D),illegal:!1,relevance:0,errorRaised:T,_emitter:ne,_top:U};throw T}}function g(v){let D={value:vn(v),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return D._emitter.addText(v),D}function p(v,D){D=D||s.languages||Object.keys(t);let S=g(v),P=D.filter(y).filter(M).map(ae=>f(ae,v,!1));P.unshift(S);let H=P.sort((ae,le)=>{if(ae.relevance!==le.relevance)return le.relevance-ae.relevance;if(ae.language&&le.language){if(y(ae.language).supersetOf===le.language)return 1;if(y(le.language).supersetOf===ae.language)return-1}return 0}),[J,Q]=H,ue=J;return ue.secondBest=Q,ue}function d(v,D,S){let P=D&&n[D]||S;v.classList.add("hljs"),v.classList.add(`language-${P}`)}function m(v){let D=null,S=l(v);if(c(S))return;if(N("before:highlightElement",{el:v,language:S}),v.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",v);return}if(v.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(v)),s.throwUnescapedHTML))throw new Cn("One of your code blocks includes unescaped HTML.",v.innerHTML);D=v;let P=D.textContent,H=S?u(P,{language:S,ignoreIllegals:!0}):p(P);v.innerHTML=H.value,v.dataset.highlighted="yes",d(v,S,H.language),v.result={language:H.language,re:H.relevance,relevance:H.relevance},H.secondBest&&(v.secondBest={language:H.secondBest.language,relevance:H.secondBest.relevance}),N("after:highlightElement",{el:v,result:H,text:P})}function h(v){s=ai(s,v)}let b=()=>{_(),Be("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function E(){_(),Be("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let k=!1;function _(){function v(){_()}if(document.readyState==="loading"){k||window.addEventListener("DOMContentLoaded",v,!1),k=!0;return}document.querySelectorAll(s.cssSelector).forEach(m)}function x(v,D){let S=null;try{S=D(e)}catch(P){if(Te("Language definition for '{}' could not be registered.".replace("{}",v)),i)Te(P);else throw P;S=a}S.name||(S.name=v),t[v]=S,S.rawDefinition=D.bind(null,e),S.aliases&&C(S.aliases,{languageName:v})}function w(v){delete t[v];for(let D of Object.keys(n))n[D]===v&&delete n[D]}function A(){return Object.keys(t)}function y(v){return v=(v||"").toLowerCase(),t[v]||t[n[v]]}function C(v,{languageName:D}){typeof v=="string"&&(v=[v]),v.forEach(S=>{n[S.toLowerCase()]=D})}function M(v){let D=y(v);return D&&!D.disableAutodetect}function F(v){v["before:highlightBlock"]&&!v["before:highlightElement"]&&(v["before:highlightElement"]=D=>{v["before:highlightBlock"](Object.assign({block:D.el},D))}),v["after:highlightBlock"]&&!v["after:highlightElement"]&&(v["after:highlightElement"]=D=>{v["after:highlightBlock"](Object.assign({block:D.el},D))})}function O(v){F(v),r.push(v)}function R(v){let D=r.indexOf(v);D!==-1&&r.splice(D,1)}function N(v,D){let S=v;r.forEach(function(P){P[S]&&P[S](D)})}function B(v){return Be("10.7.0","highlightBlock will be removed entirely in v12.0"),Be("10.7.0","Please use highlightElement now."),m(v)}Object.assign(e,{highlight:u,highlightAuto:p,highlightAll:_,highlightElement:m,highlightBlock:B,configure:h,initHighlighting:b,initHighlightingOnLoad:E,registerLanguage:x,unregisterLanguage:w,listLanguages:A,getLanguage:y,registerAliases:C,autoDetection:M,inherit:ai,addPlugin:O,removePlugin:R}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=Yu,e.regex={concat:De,lookahead:di,either:At,optional:du,anyNumberOfTimes:uu};for(let v in vt)typeof vt[v]=="object"&&li(vt[v]);return Object.assign(e,vt),e},Pe=ki({});Pe.newInstance=()=>ki({});wi.exports=Pe;Pe.HighlightJS=Pe;Pe.default=Pe});var yi=q((Rg,vi)=>{function ju(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(o,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,c,s,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,a,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:"javascript"}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}vi.exports=ju});var Ai=q((Ag,Ri)=>{function Vu(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});let i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:"string",begin:/'/,end:/'/},u={match:/\\'/},f={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},g=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${g.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],h=["true","false"],b={match:/(\/[a-z._-]+)+/},E=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],k=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],_=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],x=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[...E,...k,"set","shopt",..._,...x]},contains:[p,e.SHEBANG(),d,f,o,a,b,s,c,l,u,n]}}Ri.exports=Vu});var Ni=q((Cg,Ci)=>{function Qu(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",s=t.concat(/\batomic_/,t.either("bool","char","schar","uchar","short","ushort","int","uint","long","ulong","llong","ullong","char16_t","char32_t","wchar_t","int_least8_t","uint_least8_t","int_least16_t","uint_least16_t","int_least32_t","uint_least32_t","int_least64_t","uint_least64_t","int_fast8_t","uint_fast8_t","int_fast16_t","uint_fast16_t","int_fast32_t","uint_fast32_t","int_fast64_t","uint_fast64_t","intptr_t","uintptr_t","size_t","ptrdiff_t","intmax_t","uintmax_t"),/\b/),c={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:s}]},u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},f={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},g={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},u,{scope:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),n,e.C_BLOCK_COMMENT_MODE]},d=[g,p],m={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},h=t.optional(i)+e.IDENT_RE+"\\s*\\(",b=12,_={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},x=[...d,c,n,e.C_BLOCK_COMMENT_MODE,f,u],w={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:x.concat([{begin:/\(/,end:/\)/,keywords:_,contains:x.concat(["self"]),relevance:0}]),relevance:0},A={begin:"("+a+"[\\*&\\s]+){1,"+b+"}"+h,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:_,relevance:0},{begin:h,returnBegin:!0,contains:[e.inherit(m,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,u,f,c,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,u,f,c]}]},c,n,e.C_BLOCK_COMMENT_MODE,...d]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"</",contains:[].concat(w,A,x,[...d,{begin:e.IDENT_RE+"::",keywords:_},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:p,strings:u,keywords:_}}}Ci.exports=Qu});var Di=q((Ng,Ti)=>{function ed(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},u={className:"number",variants:[{begin:"[+-]?(?:(?:\\b[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|\\b[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|\\b0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},f={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},l,{scope:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),n,e.C_BLOCK_COMMENT_MODE]},p=[f,g],d={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},m=t.optional(i)+e.IDENT_RE+"\\s*\\(",h=12,b=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],E=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],k=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],_=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],A={type:E,keyword:b,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:k},y={className:"function.dispatch",relevance:0,keywords:{_hint:_},begin:t.concat(/\b/,`(?!${b.join("|")})`,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},C=[y,...p,s,n,e.C_BLOCK_COMMENT_MODE,u,l],M={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:A,contains:C.concat([{begin:/\(/,end:/\)/,keywords:A,contains:C.concat(["self"]),relevance:0}]),relevance:0},F={className:"function",begin:"("+a+"[\\*&\\s]+){1,"+h+"}"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:A,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:A,relevance:0},{begin:m,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,u,s,{begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,u,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,...p]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:A,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(M,F,y,C,[...p,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:A,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:A},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}Ti.exports=ed});var Mi=q((Tg,Si)=>{function td(e){let t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:i.concat(o),built_in:t,literal:r},s=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c="\\d(_*\\d)*",l="([uU][lL]?|[lL][uU]?)?",f={className:"number",variants:[{begin:"\\b0[bB]_*[01](_*[01])*"+l},{begin:"(-?)\\b0[xX]_*[a-fA-F0-9](_*[a-fA-F0-9])*"+l},{begin:"(-?)(\\b"+c+"(\\.("+c+")?)?|\\."+c+")([eE][-+]?"+c+")?"+"([fFdDmM]|[uU][lL]?|[lL][uU]?)?"}],relevance:0},g={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},p={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(p,{illegal:/\n/}),m={className:"subst",begin:/\{/,end:/\}/,keywords:a},h=e.inherit(m,{illegal:/\n/}),b={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,h]},E={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]},k=e.inherit(E,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]});m.contains=[E,b,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.C_BLOCK_COMMENT_MODE],h.contains=[k,b,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let _={variants:[g,E,b,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},x={begin:"<",end:">",contains:[{beginKeywords:"in out"},s]},w=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",A={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},_,f,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},s,x,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,x,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+w+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,x],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[_,f,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},A]}}Si.exports=td});var Ii=q((Dg,Oi)=>{var nd=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),rd=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],id=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...rd,...id],sd=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ad=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),cd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),ld=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function ud(e){let t=e.regex,n=nd(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",o=/@-?\w[\w]*(-\w+)*/,a="[a-zA-Z-][a-zA-Z0-9_-]*",s=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+a,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+ad.join("|")+")"},{begin:":(:)?("+cd.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ld.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,n.UNICODE_RANGE,...s,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:o},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:sd.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+od.join("|")+")\\b"}]}}Oi.exports=ud});var Fi=q((Sg,Li)=>{function dd(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={match:/^ {0,3}([-*_])[ \t]*(?:\1[ \t]*){2,}$/},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},o={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,s,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},l={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(l,{contains:[]}),g=e.inherit(u,{contains:[]});l.contains.push(g),u.contains.push(f);let p=[n,c];return[l,u,f,g].forEach(b=>{b.contains=b.contains.concat(p)}),p=p.concat(l,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},n,o,r,l,u,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},i,c,a,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}Li.exports=dd});var Pi=q((Mg,Bi)=>{function fd(e){let t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+,\d+ +\+\d+ +@@/,/^@@ +-\d+ +\+\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}Bi.exports=fd});var $i=q((Og,Ui)=>{function pd(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},g="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",d={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},w=[f,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:n}],relevance:0},d,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,l),relevance:0}].concat(c,l);u.contains=w,m.contains=w;let M=[{begin:/^\s*=>/,starts:{end:"$",contains:w}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:a,contains:w}}];return l.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(M).concat(l).concat(w)}}Ui.exports=pd});var qi=q((Ig,zi)=>{function gd(e){let o={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:o,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\b0[bB](_?[01])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,illegal:/["']/}]}]}}zi.exports=gd});var Gi=q((Lg,Hi)=>{function hd(e){let t=e.regex,n=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(n,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}Hi.exports=hd});var Ki=q((Fg,Wi)=>{function md(e){let t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,o,i,a,n,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,l=/"(\\"|[^"])*"/,u=/'[^']*'/,f=t.either(c,l,u),g=t.concat(f,"(\\s*\\.\\s*",f,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:g,className:"attr",starts:{end:/$/,contains:[r,s,o,i,a,n]}}]}}Wi.exports=md});var Xi=q((Bg,Yi)=>{var Ue="[0-9](_*[0-9])*",Nt=`\\.(${Ue})`,Tt="[0-9a-fA-F](_*[0-9a-fA-F])*",Zi={className:"number",variants:[{begin:`(\\b(${Ue})((${Nt})|\\.)?|(${Nt}))[eE][+-]?(${Ue})[fFdD]?\\b`},{begin:`\\b(${Ue})((${Nt})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Nt})[fFdD]?\\b`},{begin:`\\b(${Ue})[fFdD]\\b`},{begin:`\\b0[xX]((${Tt})\\.?|(${Tt})?\\.(${Tt}))[pP][+-]?(${Ue})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Tt})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Ji(e,t,n){return n===-1?"":e.replace(t,r=>Ji(e,t,n-1))}function bd(e){let t=e.regex,n="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",r="(?:(?:\\s*\\[\\s*])+)?",i=n+"<@@@>"+r,a="(?:"+("\\?(?:\\s+(?:extends|super)\\s+"+i+")?")+"|"+i+")",s=Ji("(?:\\s*<\\s*"+a+"(?:\\s*,\\s*"+a+")*\\s*>)?",/<@@@>/g,2),g={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},p={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},d={className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:g,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{beginKeywords:"new throw return else yield assert",relevance:0},{begin:[n,t.concat(s,r,/\s+/),n,r,/\s*/,/=(?!=)/],className:{1:"type",3:"variable",6:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{begin:[n,t.concat(s,r,/\s+/),n,/\s*(?=\()/],className:{1:"type",3:"title.function"},keywords:g,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,Zi,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Zi,p]}}Yi.exports=bd});var no=q((Pg,to)=>{var ji="[A-Za-z$_][0-9A-Za-z$_]*",_d=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Ed=["true","false","null","undefined","NaN","Infinity"],Vi=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Qi=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],eo=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],kd=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],wd=[].concat(eo,Vi,Qi);function xd(e){let t=e.regex,n=(S,{after:P})=>{let H="</"+S[0].slice(1);return S.input.indexOf(H,P)!==-1},r=ji,i={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(S,P)=>{let H=S[0].length+S.index,J=S.input[H];if(J==="<"||J===","){P.ignoreMatch();return}J===">"&&(n(S,{after:H})||P.ignoreMatch());let Q,ue=S.input.substring(H);if(Q=ue.match(/^\s*=/)){P.ignoreMatch();return}if((Q=ue.match(/^\s+extends\s+/))&&Q.index===0){P.ignoreMatch();return}}},s={$pattern:ji,keyword:_d,literal:Ed,built_in:wd,"variable.language":kd},c="[0-9](_?[0-9])*",l=`\\.(${c})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},g={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"css"}},m={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,g]},E={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},k=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,d,m,h,{match:/\$\d+/},f];g.contains=k.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(k)});let _=[].concat(E,g.contains),x=_.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(_)}]),w={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:x},A={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},y={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Vi,...Qi]}},C={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[w],illegal:/%/},F={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function O(S){return t.concat("(?!",S.join("|"),")")}let R={match:t.concat(/\b/,O([...eo,"super","import","await"].map(S=>`${S}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},N={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},B={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},w]},v="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",D={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(v)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[w]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:x,CLASS_REFERENCE:y},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,d,m,h,E,{match:/\$\d+/},f,y,{scope:"attr",match:r+t.lookahead(":"),relevance:0},D,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:v,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:x}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[w,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},N,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[w]},R,F,A,B,{match:/\$[(.]/}]}}to.exports=xd});var io=q((Ug,ro)=>{var vd="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",yd={scope:"number",match:vd,relevance:0};function Rd(e){let t={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],i={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:r},contains:[t,n,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,yd,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}ro.exports=Rd});var so=q(($g,oo)=>{var $e="[0-9](_*[0-9])*",Dt=`\\.(${$e})`,St="[0-9a-fA-F](_*[0-9a-fA-F])*",Ad={className:"number",variants:[{begin:`(\\b(${$e})((${Dt})|\\.)?|(${Dt}))[eE][+-]?(${$e})[fFdD]?\\b`},{begin:`\\b(${$e})((${Dt})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Dt})[fFdD]?\\b`},{begin:`\\b(${$e})[fFdD]\\b`},{begin:`\\b0[xX]((${St})\\.?|(${St})?\\.(${St}))[pP][+-]?(${$e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${St})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Cd(e){let t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,i]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,i]}]};i.contains.push(a);let s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},c={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(a,{className:"string"}),"self"]}]},l=Ad,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),f={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},g=f;return g.variants[1].contains=[f],f.variants[1].contains=[g],{name:"Kotlin",aliases:["kt","kts","ktm","ktx"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,c,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[f,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,c,a,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,c]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
5
|
+
`},l]}}oo.exports=Cd});var uo=q((zg,lo)=>{var Nd=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Td=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Dd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Sd=[...Td,...Dd],Md=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ao=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),co=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Od=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),Id=ao.concat(co).sort().reverse();function Ld(e){let t=Nd(e),n=Id,r="and or not only",i="[\\w-]+",o="("+i+"|@\\{"+i+"\\})",a=[],s=[],c=function(k){return{className:"string",begin:"~?"+k+".*?"+k}},l=function(k,_,x){return{className:k,begin:_,relevance:x}},u={$pattern:/[a-z-]+/,keyword:r,attribute:Md.join(" ")},f={begin:"\\(",end:"\\)",contains:s,keywords:u,relevance:0};s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c("'"),c('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.UNICODE_RANGE,t.HEXCOLOR,f,l("variable","@@?"+i,10),l("variable","@\\{"+i+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);let g=s.concat({begin:/\{/,end:/\}/,contains:a}),p={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},d={begin:o+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Od.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},m={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:s,relevance:0}},h={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:g}},b={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:o,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,l("keyword","all\\b"),l("variable","@\\{"+i+"\\}"),{begin:"\\b("+Sd.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",o,0),l("selector-id","#"+o),l("selector-class","\\."+o,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+ao.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+co.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:g},{begin:"!important"},t.FUNCTION_DISPATCH]},E={begin:i+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[b]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,h,E,d,b,p,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}lo.exports=Ld});var po=q((qg,fo)=>{function Fd(e){let t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local global not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}fo.exports=Fd});var ho=q((Hg,go)=>{function Bd(e){let t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},i={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},o={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,i,o,a]}}go.exports=Bd});var bo=q((Gg,mo)=>{function Pd(e){let t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},a={begin:/->\{/,end:/\}/},s={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},l={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,o,c],f=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],g=(m,h,b="\\1")=>{let E=b==="\\1"?b:t.concat(b,h);return t.concat(t.concat("(?:",m,")"),h,/(?:\\.|[^\\\/])*?/,E,/(?:\\.|[^\\\/])*?/,b,r)},p=(m,h,b)=>t.concat(t.concat("(?:",m,")"),h,/(?:\\.|[^\\\/])*?/,b,r),d=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},l,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:g("s|tr|y",t.either(...f,{capture:!0}))},{begin:g("s|tr|y","\\(","\\)")},{begin:g("s|tr|y","\\[","\\]")},{begin:g("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",t.either(...f,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=d,a.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:d}}mo.exports=Pd});var Eo=q((Wg,_o)=>{function Ud(e){let t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,s={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:s,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}_o.exports=Ud});var wo=q((Kg,ko)=>{function $d(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),o=t.concat(/[A-Z]+/,n),a={scope:"variable",match:"\\$+"+r},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),f={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(N,B)=>{B.data._beginMatch=N[1]||N[2]},"on:end":(N,B)=>{B.data._beginMatch!==N[1]&&B.ignoreMatch()}},g=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
|
|
6
|
+
]`,d={scope:"string",variants:[u,l,f,g]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},h=["false","null","true"],b=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],E=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],_={keyword:b,literal:(N=>{let B=[];return N.forEach(v=>{B.push(v),v.toLowerCase()===v?B.push(v.toUpperCase()):B.push(v.toLowerCase())}),B})(h),built_in:E},x=N=>N.map(B=>B.replace(/\|\d+$/,"")),w={variants:[{match:[/new/,t.concat(p,"+"),t.concat("(?!",x(E).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},A=t.concat(r,"\\b(?!\\()"),y={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),A],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),A],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},C={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:_,contains:[C,a,y,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,m,w]},F={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",x(b).join("\\b|"),"|",x(E).join("\\b|"),"\\b)"),r,t.concat(p,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(F);let O=[C,y,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,m,w],R={begin:t.concat(/#\[\s*\\?/,t.either(i,o)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:h,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:h,keyword:["new","array"]},contains:["self",...O]},...O,{scope:"meta",variants:[{match:i},{match:o}]}]};return{case_insensitive:!1,keywords:_,contains:[R,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},a,F,y,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},w,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:_,contains:["self",R,a,y,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},d,m]}}ko.exports=$d});var vo=q((Zg,xo)=>{function zd(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}xo.exports=zd});var Ro=q((Jg,yo)=>{function qd(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}yo.exports=qd});var Co=q((Yg,Ao)=>{function Hd(e){let t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","lazy","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","aiter","all","anext","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozendict","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","sentinel","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},u={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,u,l]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,u,l]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,u,l]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,u,l]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",p=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,d=`\\b|${r.join("|")}`,m={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${p}))[eE][+-]?(${g})[jJ]?(?=${d})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${g})[jJ](?=${d})`}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:s,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",c,m,f,e.HASH_COMMENT_MODE]}]};return l.contains=[f,m,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:s,illegal:/(<\/|\?)|=>/,contains:[c,m,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},f,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[b]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[m,b,f]}]}}Ao.exports=Hd});var To=q((Xg,No)=>{function Gd(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}No.exports=Gd});var So=q((jg,Do)=>{function Wd(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[o,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}Do.exports=Wd});var Oo=q((Vg,Mo)=>{function Kd(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),o={scope:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!(?:let|for|while|if|else|match)\b)/,i,t.lookahead(/\s*\(/))},a="([ui](8|16|32|64|128|size)|f(16|32|64|128))?",s=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","raw","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],c=["true","false","Some","None","Ok","Err"],l=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],u=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f16","f32","f64","f128","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:u,keyword:s,literal:c,built_in:l},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{scope:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|"|\\|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{scope:"number",variants:[{begin:"\\b0b([01_]+)"+a},{begin:"\\b0o([0-7_]+)"+a},{begin:"\\b0x([A-Fa-f0-9_]+)"+a},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+a}],relevance:0},{begin:[/\bsafe/,/\s+/,/extern/],scope:{1:"keyword",3:"keyword"}},{begin:[/fn/,/\s+/,r],scope:{1:"keyword",3:"title.function"}},{scope:"meta",begin:"#!?\\[",end:"\\]",contains:[{scope:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],scope:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],scope:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],scope:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],scope:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:l,type:u}},{scope:"punctuation",begin:"->"},o]}}Mo.exports=Kd});var Lo=q((Qg,Io)=>{var Zd=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Jd=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Yd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Xd=[...Jd,...Yd],jd=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Vd=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Qd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),ef=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function tf(e){let t=Zd(e),n=Qd,r=Vd,i="@[a-z-]+",o="and or not only",s={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Xd.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ef.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,s,t.HEXCOLOR,t.CSS_NUMBER_MODE,t.UNICODE_RANGE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:jd.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}Io.exports=tf});var Bo=q((eh,Fo)=>{function nf(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[./~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}Fo.exports=nf});var Uo=q((th,Po)=>{function rf(e){let t=e.regex,n=e.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},o=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],f=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],g=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=u,d=[...l,...c].filter(x=>!u.includes(x)),m={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},h={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function E(x){return t.concat(/\b/,t.either(...x.map(w=>w.replace(/\s+/,"\\s+"))),/\b/)}let k={scope:"keyword",match:E(g),relevance:0};function _(x,{exceptions:w,when:A}={}){let y=A;return w=w||[],x.map(C=>C.match(/\|\d+$/)||w.includes(C)?C:y(C)?`${C}|0`:C)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:_(d,{when:x=>x.length<3}),literal:o,type:s,built_in:f},contains:[{scope:"type",match:E(a)},k,b,m,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,h]}}Po.exports=rf});var Jo=q((nh,Zo)=>{function Ho(e){return e?typeof e=="string"?e:e.source:null}function it(e){return Z("(?=",e,")")}function Z(...e){return e.map(n=>Ho(n)).join("")}function of(e){let t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function se(...e){return"("+(of(e).capture?"":"?:")+e.map(r=>Ho(r)).join("|")+")"}new RegExp(se(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));var Mn=e=>Z(/\b/,e,/\w$/.test(e)?/\b/:/\B/),sf=["Protocol","Type"].map(Mn),$o=["init","self"].map(Mn),af=["Any","Self"],Dn=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],zo=["false","nil","true"],cf=["assignment","associativity","higherThan","left","lowerThan","none","right"],lf=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],qo=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Go=se(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Wo=se(Go,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Sn=Z(Go,Wo,"*"),Ko=se(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Ot=se(Ko,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),me=Z(Ko,Ot,"*"),Mt=Z(/[A-Z]/,Ot,"*"),uf=["attached","autoclosure",Z(/convention\(/,se("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Z(/objc\(/,me,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],df=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function ff(e){let t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,se(...sf,...$o)],className:{2:"keyword"}},o={match:Z(/\./,se(...Dn)),relevance:0},a=Dn.filter(K=>typeof K=="string").concat(["_|0"]),s=Dn.filter(K=>typeof K!="string").concat(af).map(Mn),c={variants:[{className:"keyword",match:se(...s,...$o)}]},l={$pattern:se(/\b\w+/,/#\w+/),keyword:a.concat(lf),literal:zo},u=[i,o,c],f={match:Z(/\./,se(...qo)),relevance:0},g={className:"built_in",match:Z(/\b/,se(...qo),/(?=\()/)},p=[f,g],d={match:/->/,relevance:0},m={className:"operator",relevance:0,variants:[{match:Sn},{match:`\\.(\\.|${Wo})+`}]},h=[d,m],b="([0-9]_*)+",E="([0-9a-fA-F]_*)+",k={className:"number",relevance:0,variants:[{match:`\\b(${b})(\\.(${b}))?([eE][+-]?(${b}))?\\b`},{match:`\\b0x(${E})(\\.(${E}))?([pP][+-]?(${b}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},_=(K="")=>({className:"subst",variants:[{match:Z(/\\/,K,/[0\\tnr"']/)},{match:Z(/\\/,K,/u\{[0-9a-fA-F]{1,8}\}/)}]}),x=(K="")=>({className:"subst",match:Z(/\\/,K,/[\t ]*(?:[\r\n]|\r\n)/)}),w=(K="")=>({className:"subst",label:"interpol",begin:Z(/\\/,K,/\(/),end:/\)/}),A=(K="")=>({begin:Z(K,/"""/),end:Z(/"""/,K),contains:[_(K),x(K),w(K)]}),y=(K="")=>({begin:Z(K,/"/),end:Z(/"/,K),contains:[_(K),w(K)]}),C={className:"string",variants:[A(),A("#"),A("##"),A("###"),y(),y("#"),y("##"),y("###")]},M=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],F={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:M},O=K=>{let Ee=Z(K,/\//),U=Z(/\//,K);return{begin:Ee,end:U,contains:[...M,{scope:"comment",begin:`#(?!.*${U})`,end:/$/}]}},R={scope:"regexp",variants:[O("###"),O("##"),O("#"),F]},N={match:Z(/`/,me,/`/)},B={className:"variable",match:/\$\d+/},v={className:"variable",match:`\\$${Ot}+`},D=[N,B,v],S={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:df,contains:[...h,k,C]}]}},P={scope:"keyword",match:Z(/@/,se(...uf),it(se(/\(/,/\s+/)))},H={scope:"meta",match:Z(/@/,me)},J=[S,P,H],Q={match:it(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:Z(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Ot,"+")},{className:"type",match:Mt,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:Z(/\s+&\s+/,it(Mt)),relevance:0}]},ue={begin:/</,end:/>/,keywords:l,contains:[...r,...u,...J,d,Q]};Q.contains.push(ue);let ae={match:Z(me,/\s*:/),keywords:"_|0",relevance:0},le={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",ae,...r,R,...u,...p,...h,k,C,...D,...J,Q]},Me={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,Q]},ct={begin:se(it(Z(me,/\s*:/)),it(Z(me,/\s+/,me,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:me}]},qe={begin:/\(/,end:/\)/,keywords:l,contains:[ct,...r,...u,...h,k,C,...J,Q,le],endsParent:!0,illegal:/["']/},Gt={match:[/(func|macro)/,/\s+/,se(N.match,me,Sn)],className:{1:"keyword",3:"title.function"},contains:[Me,qe,t],illegal:[/\[/,/%/]},Wt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Me,qe,t],illegal:/\[|%/},Kt={match:[/operator/,/\s+/,Sn],className:{1:"keyword",3:"title"}},Zt={begin:[/precedencegroup/,/\s+/,Mt],className:{1:"keyword",3:"title"},contains:[Q],keywords:[...cf,...zo],end:/}/},Oe={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},lt={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},de={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,me,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[Me,...u,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:Mt},...u],relevance:0}]};for(let K of C.variants){let Ee=K.contains.find(ut=>ut.label==="interpol");Ee.keywords=l;let U=[...u,...p,...h,k,C,...D];Ee.contains=[...U,{begin:/\(/,end:/\)/,contains:["self",...U]}]}return{name:"Swift",keywords:l,contains:[...r,Gt,Wt,Oe,lt,de,Kt,Zt,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},R,...u,...p,...h,k,C,...D,...J,Q,le]}}Zo.exports=ff});var Xo=q((rh,Yo)=>{function pf(e){let t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},a={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(a,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),g={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},d={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},h=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},g,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},d,m,o,a],b=[...h];return b.pop(),b.push(s),p.contains=b,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:h}}Yo.exports=pf});var os=q((ih,is)=>{var It="[A-Za-z$_][0-9A-Za-z$_]*",jo=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Vo=["true","false","null","undefined","NaN","Infinity"],Qo=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],es=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ts=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ns=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],rs=[].concat(ts,Qo,es);function gf(e){let t=e.regex,n=(S,{after:P})=>{let H="</"+S[0].slice(1);return S.input.indexOf(H,P)!==-1},r=It,i={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(S,P)=>{let H=S[0].length+S.index,J=S.input[H];if(J==="<"||J===","){P.ignoreMatch();return}J===">"&&(n(S,{after:H})||P.ignoreMatch());let Q,ue=S.input.substring(H);if(Q=ue.match(/^\s*=/)){P.ignoreMatch();return}if((Q=ue.match(/^\s+extends\s+/))&&Q.index===0){P.ignoreMatch();return}}},s={$pattern:It,keyword:jo,literal:Vo,built_in:rs,"variable.language":ns},c="[0-9](_?[0-9])*",l=`\\.(${c})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},g={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"css"}},m={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,g]},E={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},k=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,d,m,h,{match:/\$\d+/},f];g.contains=k.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(k)});let _=[].concat(E,g.contains),x=_.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(_)}]),w={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:x},A={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},y={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Qo,...es]}},C={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[w],illegal:/%/},F={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function O(S){return t.concat("(?!",S.join("|"),")")}let R={match:t.concat(/\b/,O([...ts,"super","import","await"].map(S=>`${S}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},N={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},B={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},w]},v="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",D={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(v)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[w]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:x,CLASS_REFERENCE:y},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,d,m,h,E,{match:/\$\d+/},f,y,{scope:"attr",match:r+t.lookahead(":"),relevance:0},D,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:v,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:x}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[w,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},N,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[w]},R,F,A,B,{match:/\$[(.]/}]}}function hf(e){let t=e.regex,n=gf(e),r=It,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},c=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],l={$pattern:It,keyword:jo.concat(c),literal:Vo,built_in:rs.concat(i),"variable.language":ns},u={className:"meta",begin:"@"+r},f=(m,h,b)=>{let E=m.contains.findIndex(k=>k.label===h);if(E===-1)throw new Error("can not find mode to replace");m.contains.splice(E,1,b)};Object.assign(n.keywords,l),n.exports.PARAMS_CONTAINS.push(u);let g=n.contains.find(m=>m.scope==="attr"),p=Object.assign({},g,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,g,p]),n.contains=n.contains.concat([u,o,a,p]),f(n,"shebang",e.SHEBANG()),f(n,"use_strict",s);let d=n.contains.find(m=>m.label==="func.def");return d.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}is.exports=hf});var as=q((oh,ss)=>{function mf(e){let t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:t.concat(/# */,t.either(o,i),/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,t.either(o,i),/ +/,t.either(a,s),/ *#/)}]},l={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,r,c,l,u,f,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}ss.exports=mf});var ls=q((sh,cs)=>{function bf(e){e.regex;let t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");let n=e.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},s={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},l={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,a,i,e.QUOTE_STRING_MODE,c,l,s]}}cs.exports=bf});var ds=q((ah,us)=>{var $=xi();$.registerLanguage("xml",yi());$.registerLanguage("bash",Ai());$.registerLanguage("c",Ni());$.registerLanguage("cpp",Di());$.registerLanguage("csharp",Mi());$.registerLanguage("css",Ii());$.registerLanguage("markdown",Fi());$.registerLanguage("diff",Pi());$.registerLanguage("ruby",$i());$.registerLanguage("go",qi());$.registerLanguage("graphql",Gi());$.registerLanguage("ini",Ki());$.registerLanguage("java",Xi());$.registerLanguage("javascript",no());$.registerLanguage("json",io());$.registerLanguage("kotlin",so());$.registerLanguage("less",uo());$.registerLanguage("lua",po());$.registerLanguage("makefile",ho());$.registerLanguage("perl",bo());$.registerLanguage("objectivec",Eo());$.registerLanguage("php",wo());$.registerLanguage("php-template",vo());$.registerLanguage("plaintext",Ro());$.registerLanguage("python",Co());$.registerLanguage("python-repl",To());$.registerLanguage("r",So());$.registerLanguage("rust",Oo());$.registerLanguage("scss",Lo());$.registerLanguage("shell",Bo());$.registerLanguage("sql",Uo());$.registerLanguage("swift",Jo());$.registerLanguage("yaml",Xo());$.registerLanguage("typescript",os());$.registerLanguage("vbnet",as());$.registerLanguage("wasm",ls());$.HighlightJS=$;$.default=$;us.exports=$});var ie=require("node:fs"),G=require("node:path"),oa=require("node:url");var Se=require("node:fs"),V=require("node:path"),Bs=require("node:util");var He=class{diff(t,n,r={}){let i;typeof r=="function"?(i=r,r={}):"callback"in r&&(i=r.callback);let o=this.castInput(t,r),a=this.castInput(n,r),s=this.removeEmpty(this.tokenize(o,r)),c=this.removeEmpty(this.tokenize(a,r));return this.diffWithOptionsObj(s,c,r,i)}diffWithOptionsObj(t,n,r,i){var o;let a=E=>{if(E=this.postProcess(E,r),i){setTimeout(function(){i(E)},0);return}else return E},s=n.length,c=t.length,l=1,u=s+c;r.maxEditLength!=null&&(u=Math.min(u,r.maxEditLength));let f=(o=r.timeout)!==null&&o!==void 0?o:1/0,g=Date.now()+f,p=[{oldPos:-1,lastComponent:void 0}],d=this.extractCommon(p[0],n,t,0,r);if(p[0].oldPos+1>=c&&d+1>=s)return a(this.buildValues(p[0].lastComponent,n,t));let m=-1/0,h=1/0,b=()=>{for(let E=Math.max(m,-l);E<=Math.min(h,l);E+=2){let k,_=p[E-1],x=p[E+1];_&&(p[E-1]=void 0);let w=!1;if(x){let y=x.oldPos-E;w=x&&0<=y&&y<s}let A=_&&_.oldPos+1<c;if(!w&&!A){p[E]=void 0;continue}if(!A||w&&_.oldPos<x.oldPos?k=this.addToPath(x,!0,!1,0,r):k=this.addToPath(_,!1,!0,1,r),d=this.extractCommon(k,n,t,E,r),k.oldPos+1>=c&&d+1>=s)return a(this.buildValues(k.lastComponent,n,t))||!0;p[E]=k,k.oldPos+1>=c&&(h=Math.min(h,E-1)),d+1>=s&&(m=Math.max(m,E+1))}l++};if(i)(function E(){setTimeout(function(){if(l>u||Date.now()>g)return i(void 0);b()||E()},0)})();else for(;l<=u&&Date.now()<=g;){let E=b();if(E)return E}}addToPath(t,n,r,i,o){let a=t.lastComponent;return a&&!o.oneChangePerToken&&a.added===n&&a.removed===r?{oldPos:t.oldPos+i,lastComponent:{count:a.count+1,added:n,removed:r,previousComponent:a.previousComponent}}:{oldPos:t.oldPos+i,lastComponent:{count:1,added:n,removed:r,previousComponent:a}}}extractCommon(t,n,r,i,o){let a=n.length,s=r.length,c=t.oldPos,l=c-i,u=0;for(;l+1<a&&c+1<s&&this.equals(r[c+1],n[l+1],o);)l++,c++,u++,o.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return u&&!o.oneChangePerToken&&(t.lastComponent={count:u,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=c,l}equals(t,n,r){return r.comparator?r.comparator(t,n):t===n||!!r.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){let n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,r){let i=[],o;for(;t;)i.push(t),o=t.previousComponent,delete t.previousComponent,t=o;i.reverse();let a=i.length,s=0,c=0,l=0;for(;s<a;s++){let u=i[s];if(u.removed)u.value=this.join(r.slice(l,l+u.count)),l+=u.count;else{if(!u.added&&this.useLongestToken){let f=n.slice(c,c+u.count);f=f.map(function(g,p){let d=r[l+p];return d.length>g.length?d:g}),u.value=this.join(f)}else u.value=this.join(n.slice(c,c+u.count));c+=u.count,u.added||(l+=u.count)}}return i}};var Vt=class extends He{tokenize(t){return t.slice()}join(t){return t}removeEmpty(t){return t}},Gn=new Vt;function Ge(e,t,n){return Gn.diff(e,t,n)}var Qt={};Hn(Qt,{decode:()=>We,encode:()=>ke,format:()=>Ie,parse:()=>Ke});var Wn={};function ha(e){let t=Wn[e];if(t)return t;t=Wn[e]=[];for(let n=0;n<128;n++){let r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function ft(e,t){typeof t!="string"&&(t=ft.defaultChars);let n=ha(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let i="";for(let o=0,a=r.length;o<a;o+=3){let s=parseInt(r.slice(o+1,o+3),16);if(s<128){i+=n[s];continue}if((s&224)===192&&o+3<a){let c=parseInt(r.slice(o+4,o+6),16);if((c&192)===128){let l=s<<6&1984|c&63;l<128?i+="\uFFFD\uFFFD":i+=String.fromCharCode(l),o+=3;continue}}if((s&240)===224&&o+6<a){let c=parseInt(r.slice(o+4,o+6),16),l=parseInt(r.slice(o+7,o+9),16);if((c&192)===128&&(l&192)===128){let u=s<<12&61440|c<<6&4032|l&63;u<2048||u>=55296&&u<=57343?i+="\uFFFD\uFFFD\uFFFD":i+=String.fromCharCode(u),o+=6;continue}}if((s&248)===240&&o+9<a){let c=parseInt(r.slice(o+4,o+6),16),l=parseInt(r.slice(o+7,o+9),16),u=parseInt(r.slice(o+10,o+12),16);if((c&192)===128&&(l&192)===128&&(u&192)===128){let f=s<<18&1835008|c<<12&258048|l<<6&4032|u&63;f<65536||f>1114111?i+="\uFFFD\uFFFD\uFFFD\uFFFD":(f-=65536,i+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),o+=9;continue}}i+="\uFFFD"}return i})}ft.defaultChars=";/?:@&=+$,#";ft.componentChars="";var We=ft;var Kn={};function ma(e){let t=Kn[e];if(t)return t;t=Kn[e]=[];for(let n=0;n<128;n++){let r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function pt(e,t,n){typeof t!="string"&&(n=t,t=pt.defaultChars),typeof n>"u"&&(n=!0);let r=ma(t),i="";for(let o=0,a=e.length;o<a;o++){let s=e.charCodeAt(o);if(n&&s===37&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){i+=e.slice(o,o+3),o+=2;continue}if(s<128){i+=r[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a){let c=e.charCodeAt(o+1);if(c>=56320&&c<=57343){i+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[o])}return i}pt.defaultChars=";/?:@&=+$,-_.!~*'()#";pt.componentChars="-_.!~*'()";var ke=pt;function Ie(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function gt(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var ba=/^([a-z0-9.+-]+:)/i,_a=/:[0-9]*$/,Ea=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ka=["<",">",'"',"`"," ","\r",`
|
|
7
|
+
`," "],wa=["{","}","|","\\","^","`"].concat(ka),xa=["'"].concat(wa),Zn=["%","/","?",";","#"].concat(xa),Jn=["/","?","#"],va=255,Yn=/^[+a-z0-9A-Z_-]{0,63}$/,ya=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Xn={javascript:!0,"javascript:":!0},jn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ra(e,t){if(e&&e instanceof gt)return e;let n=new gt;return n.parse(e,t),n}gt.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){let l=Ea.exec(o);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let a=ba.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&Xn[a])&&(o=o.substr(2),this.slashes=!0)),!Xn[a]&&(i||a&&!jn[a])){let l=-1;for(let d=0;d<Jn.length;d++)r=o.indexOf(Jn[d]),r!==-1&&(l===-1||r<l)&&(l=r);let u,f;l===-1?f=o.lastIndexOf("@"):f=o.lastIndexOf("@",l),f!==-1&&(u=o.slice(0,f),o=o.slice(f+1),this.auth=u),l=-1;for(let d=0;d<Zn.length;d++)r=o.indexOf(Zn[d]),r!==-1&&(l===-1||r<l)&&(l=r);l===-1&&(l=o.length),o[l-1]===":"&&l--;let g=o.slice(0,l);o=o.slice(l),this.parseHost(g),this.hostname=this.hostname||"";let p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){let d=this.hostname.split(/\./);for(let m=0,h=d.length;m<h;m++){let b=d[m];if(b&&!b.match(Yn)){let E="";for(let k=0,_=b.length;k<_;k++)b.charCodeAt(k)>127?E+="x":E+=b[k];if(!E.match(Yn)){let k=d.slice(0,m),_=d.slice(m+1),x=b.match(ya);x&&(k.push(x[1]),_.unshift(x[2])),_.length&&(o=_.join(".")+o),this.hostname=k.join(".");break}}}}this.hostname.length>va&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=o.indexOf("#");s!==-1&&(this.hash=o.substr(s),o=o.slice(0,s));let c=o.indexOf("?");return c!==-1&&(this.search=o.substr(c),o=o.slice(0,c)),o&&(this.pathname=o),jn[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};gt.prototype.parseHost=function(e){let t=_a.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Ke=Ra;var on={};Hn(on,{Any:()=>en,Cc:()=>tn,Cf:()=>Aa,P:()=>Ze,S:()=>nn,Z:()=>rn});var en=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tn=/[\0-\x1F\x7F-\x9F]/,Aa=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Ze=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,nn=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,rn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var Ca=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function Na(e){return e===0||e>=55296&&e<=57343||e>1114111}function Vn(e){return Na(e)?65533:e>=128&&e<=159&&Ca[e-128]||e}function Qn(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(Vn(e))}var fe=(()=>{let e=new Uint8Array(127),t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function er(e,t,n,r,i,o){let s=e.length,c=o*90,l=0,u=()=>{let C=fe[e.charCodeAt(l++)];return C<o?C:C*91-c+fe[e.charCodeAt(l++)]},f=n-r,g=n+i,p=new Int32Array(g);p.fill(-1,r,o),p.fill(-1,o+f,g);let d=new Int32Array(g),m=new Int32Array(g);function h(C,M){let F=0,O=M,R=M+C;for(;O<R;){let N=fe[e.charCodeAt(l++)];if(N<89)F+=N,p[O++]=F;else if(N===89){let B=fe[e.charCodeAt(l++)]+2;for(;B--;)p[O++]=++F}else{let B=fe[e.charCodeAt(l++)];F+=89+(B<90?B*91+fe[e.charCodeAt(l++)]:fe[e.charCodeAt(l++)]*8281+fe[e.charCodeAt(l++)]*91+fe[e.charCodeAt(l++)]),p[O++]=F}}}h(r,0),h(f,o);let b=new Int32Array(i*2),E=0,k=0;function _(C,M){for(let F=0;F<C;F++){let O=M+F,R=u(),N=u();b[k*2]=R,b[k*2+1]=N,k+=1,d[O]=E;let B=(p[R]<0?m[R]:1)+(p[N]<0?m[N]:1);m[O]=B,E+=B}}_(i-o+r,o+f),_(o-r,r);let x=new Uint16Array(E),w=0;for(let C=0;C<k;C++)for(let M=0;M<2;M++){let F=b[C*2+M],O=p[F];if(O<0){let R=d[F],N=R+m[F];for(;R<N;)x[w++]=x[R++]}else x[w++]=O}let A=new Uint16Array(t),y=0;for(;l<s;){let C=fe[e.charCodeAt(l++)];C>=o&&(C=C*91-c+fe[e.charCodeAt(l++)]);let M=p[C];if(M<0){let F=d[C],O=F+m[C];for(;F<O;)A[y++]=x[F++]}else A[y++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2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61);var ee;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.FLAG13=8192]="FLAG13",e[e.BRANCH_LENGTH=8064]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE",e[e.VALUE_MASK=8191]="VALUE_MASK"})(ee||(ee={}));var re;(function(e){e[e.AMP=38]="AMP",e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_X=120]="LOWER_X"})(re||(re={}));var ht=32,ir=21,Ta=2097151,sn=2047,or=0;function Da(e){let t=e>>>ir;return t===sn?or:t}function sr(e){return e-re.ZERO>>>0<=9}function Sa(e){return(e|ht)-re.LOWER_A>>>0<=5}function ar(e){return(e|ht)-re.LOWER_A>>>0<=25}function Ma(e){return e===re.EQUALS||ar(e)||sr(e)}var nr;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(nr||(nr={}));var an;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(an||(an={}));function Oa(e,t,n,r){let i=(t&ee.BRANCH_LENGTH)>>7,o=t&ee.JUMP_TABLE;if(o){if(i===0)return r===o?n:-1;let c=r-o;if(c>>>0>=i)return-1;let l=e[n+c];return l===0?-1:n+i+l-1&65535}if(i===0)return-1;let a=i+1>>1,s=n+a+i;for(let c=0;c<i;c++){let u=e[n+(c>>1)]>>((c&1)<<3)&255;if(u===r){let f=n+a+c;return s+e[f]&65535}if(u>r)return-1}return-1}function rr(e,t,n){return n===1?String.fromCharCode(e[t]&ee.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function Ia(e,t,n){let r=t+1,i=0,o=r;if(r<n&&(e.charCodeAt(r)|ht)===re.LOWER_X)for(r+=1,o=r;r<n;){let s=e.charCodeAt(r);if(sr(s))i=i*16+(s-re.ZERO);else if(Sa(s))i=i*16+((s|ht)-re.LOWER_A+10);else break;r+=1}else for(;r<n;){let s=e.charCodeAt(r)-re.ZERO;if(s>>>0>9)break;i=i*10+s,r+=1}if(r===o)return 0;r<n&&e.charCodeAt(r)===re.SEMI&&(r+=1),i>1114111&&(i=1114112);let a=r-t;return a>=sn&&(or=a,a=sn),a<<ir|i}function La(e,t,n){let r=tr,i=e.indexOf("&");if(i<0)return e;let o=e.length,a=0,s="",c=r[0],l=c&ee.JUMP_TABLE,u=(c&ee.BRANCH_LENGTH)>>7;do{let f=i+1,g=e.charCodeAt(f),p,d;if(g===re.NUM){let m=Ia(e,f,o);p=Da(m),t&&p>0&&e.charCodeAt(f+p-1)!==re.SEMI&&(p=0),d=p===0?"":Qn(m&Ta)}else if(ar(g)){p=0,d="";let m=g-l,h;if(m>>>0<u){let x=r[1+m];h=x===0?-1:u+x&65535}else h=-1;let b=0,E=0,k=h<0?0:r[h],_=f+1;e:for(;_<o;){for(;(k&(ee.VALUE_LENGTH|ee.FLAG13))===0&&(k&ee.JUMP_TABLE)!==0;){let y=k&ee.JUMP_TABLE,C=(k&ee.BRANCH_LENGTH)>>7;if(C===0){if(e.charCodeAt(_)!==y)break e;h+=1}else{let M=e.charCodeAt(_)-y;if(M>>>0>=C)break e;let F=r[h+1+M];if(F===0)break e;h=h+C+F&65535}if(k=r[h],_+=1,_>=o)break e}if((k&(ee.VALUE_LENGTH|ee.FLAG13))===ee.FLAG13){let y=(k&ee.BRANCH_LENGTH)>>7;if(e.charCodeAt(_)!==(k&ee.JUMP_TABLE))break;_+=1;let C=y-1,M=h+1,F=0;for(;F+1<C;F+=2){let O=r[M];if(e.charCodeAt(_)!==(O&255)||(_+=1,e.charCodeAt(_)!==(O>>8&255)))break e;_+=1,M+=1}if(F<C){if(e.charCodeAt(_)!==(r[M]&255))break;_+=1}h+=1+(y>>1),k=r[h];continue}let x=k>>>14,w=e.charCodeAt(_);if(x!==0){if(w===re.SEMI){p=_-f+1,d=x===1?String.fromCharCode(k&ee.VALUE_MASK):rr(r,h,x);break}if(!t&&(k&ee.FLAG13)===0&&(p=_-f,b=h,E=x),x===1)break}let A=Oa(r,k,h+(x||1),w);if(A<0)break;h=A,k=r[h],_+=1}if(d===""){let x=k>>>14;x!==0&&!t&&(k&ee.FLAG13)===0&&(p=_-f,b=h,E=x),p>0&&(d=rr(r,b,E))}}else p=0,d="";p===0||n&&g!==re.NUM&&e.charCodeAt(f+p-1)!==re.SEMI&&f+p<o&&Ma(e.charCodeAt(f+p))?i=f:(a<i&&(s+=e.slice(a,i)),s+=d,i=a=f+p),e.charCodeAt(i)!==re.AMP&&(i=e.indexOf("&",i))}while(i>=0);return s+e.slice(a)}function mt(e){return La(e,!0,!1)}var cr;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(cr||(cr={}));var lr;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(lr||(lr={}));var Ba=class{src_Any=en.source;src_Cc=tn.source;src_Z=rn.source;src_P=Ze.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join("|");src_ZCc=[this.src_Z,this.src_Cc].join("|");cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}nestedPairRE(e,t,n=4){let r=this.escapeRE(e),i=this.escapeRE(t),o=`(?:(?!${this.src_ZCc}|${r}|${i}).)`,a=`${r}${o}{0,1000}${i}`;for(let s=2;s<=n;s++)a=`${r}(?:${o}|${a}){0,1000}${i}`;return a}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=new RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=new RegExp("(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])")}get_ipv6_addr(){let e="[0-9A-Fa-f]{1,4}",t=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=new RegExp(`(?:(?:${e}:){6}${t}|::(?:${e}:){5}${t}|(?:${e})?::(?:${e}:){4}${t}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${t}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${t}|(?:(?:${e}:){0,3}${e})?::${e}:${t}|(?:(?:${e}:){0,4}${e})?::${t}|(?:(?:${e}:){0,5}${e})?::${e}|(?:(?:${e}:){0,6}${e})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=new RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=new RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=new RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=new RegExp("(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?")}get_host_terminator(){return this.cache.src_host_terminator??=new RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=new RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=new RegExp(`(?:[/?#](?:${this.nestedPairRE("[","]")}|${this.nestedPairRE("(",")")}|${this.nestedPairRE("{","}")}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts["---"]?"\\-(?!--(?:[^-]|$))(?:-{0,19})|":"\\-{1,20}|")+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=new RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=new RegExp("xn--[a-z0-9\\-]{1,59}")}get_tld(){if(this.cache.tld)return this.cache.tld;let e=[...new Set(this.opts.tlds||[])].sort().reverse().join("|");return this.cache.tld=new RegExp(`${e||"$#none#$"}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=new RegExp("(?:"+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=new RegExp("(?:"+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=new RegExp("(?:"+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=new RegExp("(?:"+(this.opts.fuzzyIP?this.get_ipv4_addr().source+"|":"")+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=new RegExp("")}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=new RegExp(`@${this.get_fuzzy_mail_host().source}`,"ig")}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=new RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uFF5C]|${this.src_ZPCc}))(?:(?![$+<=>^\`|\uFF5C])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,"ig")}get_http_validator(){return this.cache.http_validator??=new RegExp("\\/\\/"+(this.opts.urlAuth?this.get_auth().source:"")+this.get_url_host_port().source+this.get_path().source,"iy")}get_relative_proto_validator(){return this.cache.relative_proto_validator??=new RegExp((this.opts.urlAuth?this.get_auth().source:"")+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,"iy")}get_mail_name_validator(){return this.cache.mail_name_validator??=new RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=new RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,"iy")}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map(e=>this.escapeRE(e)).join("|"))}get_schema_search(){return this.cache.schema_search??=new RegExp(`(^|(?!_)(?:[><\uFF5C]|${this.src_ZPCc}))(${this.get_schema_names().source})`,"ig")}get_schema_at_start(){return this.cache.schema_at_start??=new RegExp(`^${this.get_schema_search().source}`,"i")}},cn={validate:(e,t,n)=>{let r=n.re.get_http_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)},Pa={"http:":cn,"https:":cn,"ftp:":cn,"//":{validate:function(e,t,n){let r=n.re.get_relative_proto_validator();r.lastIndex=t;let i=r.exec(e);return i?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:i[0].length:0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,n){let r=n.re.get_mailto_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)}},Ua="a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw",$a="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444";function za(){let e=$a.split("|");return Ua.split("|").forEach(t=>{let n=t.indexOf(":"),r=t.slice(0,n);for(let i of t.slice(n+1))e.push(r+i)}),e}var qa={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:za(),urlAuth:!1,maxLength:1e4},ur=class{schema;index;lastIndex;raw;text;url;constructor(e,t,n,r){let i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}},dr=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:t,...n}=e;this.__opts__={...qa,...n},this.__schemas__={...Pa},this.re=t||new Ba,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(!t)delete this.__schemas__[e];else{let n={normalize:(r,i)=>i.normalize(r),...t};this.__schemas__[e]=n}return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,n;for(n=this.re.get_schema_search(),n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(n=this.re.get_fuzzy_link_search(),n.lastIndex=0,n.exec(e)!==null))return!0;if(this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&e.indexOf("@")>=0){let r=this.re.get_fuzzy_mail_host_search(),i=this.re.get_mail_name_validator();for(r.lastIndex=0;(t=r.exec(e))!==null;){let o=e.slice(Math.max(0,t.index-65),t.index);if(i.test(o))return!0}}return!1}testSchemaAt(e,t,n){return this.__schemas__[t.toLowerCase()]?this.__schemas__[t.toLowerCase()].validate(e.slice(0,n+this.__opts__.maxLength),n,this):0}match(e){let t=[],n=this.re.get_schema_search(),r,i,o,a,s,c,l=!1,u=!1,f=!1,g=0;if(!e.length)return null;for(n.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(r=this.re.get_fuzzy_link_search(),r.lastIndex=0),this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&(i=this.re.get_fuzzy_mail_host_search(),i.lastIndex=0,o=this.re.get_mail_name_validator());;){let p=Math.max(g-1,0);if(i&&o&&!f&&(!s||s.index<g))for(i.lastIndex<p&&(i.lastIndex=p);;){let E=i.exec(e);if(!E){f=!0,s=void 0;break}let k=o.exec(e.slice(Math.max(0,E.index-65),E.index));if(k){if(s={schema:"mailto:",index:E.index-k[1].length,lastIndex:E.index+E[0].length},s.index>=g)break;i.lastIndex<p&&(i.lastIndex=p)}}if(r&&!u&&(!a||a.index<g))for(r.lastIndex<p&&(r.lastIndex=p);;){let E=r.exec(e);if(!E){u=!0,a=void 0;break}if(a={schema:"",index:E.index+E[1].length,lastIndex:E.index+E[0].length},a.index>=g)break;r.lastIndex<p&&(r.lastIndex=p)}let d=s;(!d||a&&(a.index<d.index||a.index===d.index&&a.lastIndex>d.lastIndex))&&(d=a);let m;if(!l)for(;;){if(!c){n.lastIndex<p&&(n.lastIndex=p);let _=n.exec(e);if(!_){l=!0;break}c={schema:_[2],index:_.index+_[1].length,lastIndex:_.index+_[0].length}}if(c.index<g){c=void 0;continue}if(d&&c.index>d.index)break;let E=c;c=void 0;let k=this.testSchemaAt(e,E.schema,E.lastIndex);if(k){m={schema:E.schema,index:E.index,lastIndex:E.lastIndex+k};break}}let h=m;if((!h||s&&(s.index<h.index||s.index===h.index&&s.lastIndex>h.lastIndex))&&(h=s),(!h||a&&(a.index<h.index||a.index===h.index&&a.lastIndex>h.lastIndex))&&(h=a),!h)break;h===s?s=void 0:h===a&&(a=void 0);let b=new ur(e,h.schema,h.index,h.lastIndex);b.schema?this.__schemas__[b.schema].normalize(b,this):this.normalize(b),t.push(b),g=h.lastIndex}return t.length?t:null}matchAtStart(e){if(!e.length)return null;let t=this.re.get_schema_at_start().exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let r=new ur(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__schemas__[r.schema].normalize(r,this),r}tlds(e,t=!1){return e=Array.isArray(e)?e:[e],t?this.__opts__.tlds=this.__opts__.tlds.concat(e):this.__opts__.tlds=e,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){e.schema||(e.url=`http://${e.url}`),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)}};var hn=jt(Er(),1);var kr=Object.defineProperty,Mr=(e,t)=>{let n={};for(var r in e)kr(n,r,{get:e[r],enumerable:!0});return t||kr(n,Symbol.toStringTag,{value:"Module"}),n},Qa=Mr({arrayReplaceAt:()=>ec,asciiTrim:()=>kt,callable:()=>Or,escapeHtml:()=>xe,escapeRE:()=>uc,fromCodePoint:()=>Je,isMdAsciiPunct:()=>je,isPunctChar:()=>Lr,isPunctCharCode:()=>Xe,isSpace:()=>X,isValidEntityCode:()=>mn,isWhiteSpace:()=>Ye,lib:()=>dc,normalizeReference:()=>Et,unescapeAll:()=>Le,unescapeMd:()=>ic});function Or(e){let t=function(...n){return Reflect.construct(e,n,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function ec(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function mn(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Je(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var Ir=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,tc=new RegExp(`${Ir.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),nc=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function rc(e,t){if(t.charCodeAt(0)===35&&nc.test(t)){let r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return mn(r)?Je(r):e}let n=mt(e);return n!==e?n:e}function ic(e){return e.indexOf("\\")<0?e:e.replace(Ir,"$1")}function Le(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(tc,function(t,n,r){return n||rc(t,r)})}var oc=/[&<>"]/,sc=/[&<>"]/g,ac={"&":"&","<":"<",">":">",'"':"""};function cc(e){return ac[e]}function xe(e){return oc.test(e)?e.replace(sc,cc):e}var lc=/[.?*+^$[\]\\(){}|-]/g;function uc(e){return e.replace(lc,"\\$&")}function X(e){switch(e){case 9:case 32:return!0}return!1}function Ye(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Lr(e){return Ze.test(e)||nn.test(e)}function Xe(e){return Lr(Je(e))}function je(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Et(e){return e=e.trim().replace(/\s+/g," "),e.toLowerCase().toUpperCase()}function wr(e){return e===32||e===9||e===10||e===13}function kt(e){let t=0;for(;t<e.length&&wr(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&wr(e.charCodeAt(n));n--);return e.slice(t,n+1)}var dc={mdurl:Qt,ucmicro:on};function fc(e,t,n){let r,i,o,a,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),o===93&&(r--,r===0)){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),o===91){if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function pc(e,t,n){let r,i=t,o={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return o;if(r===62)return o.pos=i+1,o.str=Le(e.slice(t+1,i)),o.ok=!0,o;if(r===92&&i+1<n){i+=2;continue}i++}return o}let a=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32){i++;continue}i+=2;continue}if(r===40&&(a++,a>32))return o;if(r===41){if(a===0)break;a--}i++}return t===i||a!==0||(o.str=Le(e.slice(t,i)),o.pos=i,o.ok=!0),o}function gc(e,t,n,r){let i,o=t,a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let s=e.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;t++,o++,s===40&&(s=41),a.marker=s}for(;o<n;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=Le(e.slice(t,o)),a.ok=!0,a;if(i===40&&a.marker===41)return a;i===92&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=Le(e.slice(t,o)),a}var hc=Mr({parseLinkDestination:()=>pc,parseLinkLabel:()=>fc,parseLinkTitle:()=>gc});function Ve(e){"@babel/helpers - typeof";return Ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ve(e)}function mc(e,t){if(Ve(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ve(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bc(e){var t=mc(e,"string");return Ve(t)=="symbol"?t:t+""}function I(e,t,n){return(t=bc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=class{constructor(e,t,n){I(this,"map",null),I(this,"level",0),I(this,"children",null),I(this,"content",""),I(this,"markup",""),I(this,"info",""),I(this,"block",!1),I(this,"hidden",!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=n,this.meta=null}attrIndex(e){if(!this.attrs)return-1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},Qe=class{constructor(){I(this,"__rules__",[]),I(this,"__cache__",null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){let e=new Set;this.__rules__.forEach(t=>{t.enabled&&t.alt.forEach(n=>{n&&e.add(n)})}),this.__cache__=Object.create(null),this.__cache__[""]=[],this.__rules__.forEach(t=>{t.enabled&&this.__cache__[""].push(t.fn)}),e.forEach(t=>{this.__cache__[t]=[],this.__rules__.forEach(n=>{n.enabled&&n.alt.indexOf(t)>=0&&this.__cache__[t].push(n.fn)})})}at(e,t,n={}){let r=this.__find__(e);if(r===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null}before(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}after(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}push(e,t,n={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null}enable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(r=>{let i=this.__find__(r);if(i<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!0,n.push(r)}),this.__cache__=null,n}enableOnly(e,t=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach(n=>{n.enabled=!1}),this.enable(e,t)}disable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(r=>{let i=this.__find__(r);if(i<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!1,n.push(r)}),this.__cache__=null,n}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},ge={};ge.code_inline=function(e,t,n,r,i){let o=e[t];return`<code${i.renderAttrs(o)}>${xe(o.content)}</code>`};ge.code_block=function(e,t,n,r,i){let o=e[t];return`<pre${i.renderAttrs(o)}><code>${xe(e[t].content)}</code></pre>
|
|
8
|
+
`};ge.fence=function(e,t,n,r,i){let o=e[t],a=o.info?Le(o.info).trim():"",s="",c="";if(a){let u=a.split(/(\s+)/g);s=u[0],c=u.slice(2).join("")}let l;if(n.highlight?l=n.highlight(o.content,s,c)||xe(o.content):l=xe(o.content),l.indexOf("<pre")===0)return l+`
|
|
9
|
+
`;if(a){let u=o.attrIndex("class"),f=o.attrs?o.attrs.slice():[];u<0?f.push(["class",`${n.langPrefix}${s}`]):(f[u]=[f[u][0],f[u][1]],f[u][1]+=` ${n.langPrefix}${s}`);let g={attrs:f};return`<pre><code${i.renderAttrs(g)}>${l}</code></pre>
|
|
28
10
|
`}return`<pre><code${i.renderAttrs(o)}>${l}</code></pre>
|
|
29
|
-
`};
|
|
11
|
+
`};ge.image=function(e,t,n,r,i){let o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)};ge.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
|
30
12
|
`:`<br>
|
|
31
|
-
`};
|
|
13
|
+
`};ge.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
|
32
14
|
`:`<br>
|
|
33
15
|
`:`
|
|
34
|
-
`};
|
|
16
|
+
`};ge.text=function(e,t){return xe(e[t].content)};ge.html_block=function(e,t){return e[t].content};ge.html_inline=function(e,t){return e[t].content};var Fr=class{constructor(){I(this,"rules",Object.assign({},ge))}renderAttrs(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=` ${xe(e.attrs[t][0])}="${xe(String(e.attrs[t][1]))}"`;return r}renderToken(e,t,n){let r=e[t],i="";if(r.hidden)return"";let o=t-1;for(;o>=0&&e[o].hidden&&e[o].nesting===0;)o--;r.block&&r.nesting!==-1&&o>=0&&e[o].hidden&&e[o].nesting===-1&&(i+=`
|
|
35
17
|
`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=" /");let a=!1;if(r.block&&(a=!0,r.nesting===1)){let s=t+1;for(;s<e.length&&e[s].hidden&&e[s].nesting===0;)s++;if(s<e.length){let c=e[s];(c.type==="inline"||c.hidden||c.nesting===-1&&c.tag===r.tag)&&(a=!1)}}return i+=a?`>
|
|
36
18
|
`:">",i}renderInline(e,t,n){let r="",i=this.rules;for(let o=0,a=e.length;o<a;o++){let s=e[o].type;typeof i[s]<"u"?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r}renderInlineAsText(e,t,n){let r="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"code_inline":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"html_inline":case"html_block":r+=e[i].content;break;case"softbreak":case"hardbreak":r+=`
|
|
37
|
-
`}return r}render(e,t,n){let r="",i=this.rules;for(let o=0,a=e.length;o<a;o++){let s=e[o].type;s==="inline"?r+=this.renderInline(e[o].children,t,n):typeof i[s]<"u"?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r}},
|
|
38
|
-
`),t=t.replace(wu,"\uFFFD"),e.src=t}function Ru(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function yu(e){let t=e.tokens,n=0;for(let r=0;r<t.length;r++)t[r].type!=="reference_definition"&&(r!==n&&(t[n]=t[r]),n++);t.length!==n&&(t.length=n)}function Au(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let i=t[n];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}function Cu(e){return/^<a[>\s]/i.test(e)}function Nu(e){return/^<\/a\s*>/i.test(e)}function Tu(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.test(t[n].content))continue;let i=t[n].children,o=[],a=0;for(let s=i.length-1;s>=0;s--){let c=i[s];if(c.type==="link_close"){for(s--;i[s].level!==c.level&&i[s].type!=="link_open";)s--;continue}if(c.type==="html_inline"&&(Cu(c.content)&&a>0&&a--,Nu(c.content)&&a++),!(a>0)&&c.type==="text"&&e.md.linkify.test(c.content)){let l=c.content,u=e.md.linkify.match(l),f=[],p=c.level,g=0;u.length>0&&u[0].index===0&&s>0&&i[s-1].type==="text_special"&&(u=u.slice(1));for(let d=0;d<u.length;d++){let h=u[d].url,m=e.md.normalizeLink(h);if(!e.md.validateLink(m))continue;let _=u[d].text;u[d].schema?u[d].schema==="mailto:"&&!/^mailto:/i.test(_)?_=e.md.normalizeLinkText(`mailto:${_}`).replace(/^mailto:/,""):_=e.md.normalizeLinkText(_):_=e.md.normalizeLinkText(`http://${_}`).replace(/^http:\/\//,"");let x=u[d].index;if(x>g){let v=new e.Token("text","",0);v.content=l.slice(g,x),v.level=p,f.push(v)}let k=new e.Token("link_open","a",1);k.attrs=[["href",m]],k.level=p++,k.markup="linkify",k.info="auto",f.push(k);let b=new e.Token("text","",0);b.content=_,b.level=p,f.push(b);let E=new e.Token("link_close","a",-1);E.level=--p,E.markup="linkify",E.info="auto",f.push(E),g=u[d].lastIndex}if(g<l.length){let d=new e.Token("text","",0);d.content=l.slice(g),d.level=p,f.push(d)}o.push({index:s,nodes:f})}}if(o.length>0){let s=i.length;for(let f of o)s+=f.nodes.length-1;let c=new Array(s),l=0,u=0;o.reverse();for(let f=0;f<i.length;f++){let p=o[l];if(p?.index===f){for(let g of p.nodes)c[u++]=g;l++}else c[u++]=i[f]}t[n].children=c}}}var Go=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Su=/\((c|tm|r)\)/i,Du=/\((c|tm|r)\)/gi,Mu={c:"\xA9",r:"\xAE",tm:"\u2122"};function Ou(e,t){return Mu[t.toLowerCase()]}function Iu(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(Du,Ou)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Lu(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type==="text"&&!t&&Go.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Fu(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Su.test(e.tokens[t].content)&&Iu(e.tokens[t].children),Go.test(e.tokens[t].content)&&Lu(e.tokens[t].children))}var Bu=/['"]/,No=/['"]/g,To="\u2019",Pu=1e3;function So(e,t,n){for(;e.length>n;){let r=e.pop();r.isSingleQuote?t.single=r.prevSameQuoteIdx:t.double=r.prevSameQuoteIdx}}function Ct(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function Uu(e,t){let n="",r=0;t.sort((i,o)=>i.pos-o.pos);for(let i=0;i<t.length;i++){let o=t[i];n+=e.slice(r,o.pos)+o.ch,r=o.pos+1}return n+e.slice(r)}function $u(e,t){let n,r=[],i={single:-1,double:-1},o={};for(let a=0;a<e.length;a++){let s=e[a],c=e[a].level;for(n=r.length-1;n>=0&&!(r[n].level<=c);n--);if(So(r,i,n+1),s.type!=="text")continue;let l=s.content,u=0,f=l.length;e:for(;u<f;){No.lastIndex=u;let p=No.exec(l);if(!p)break;let g=!0,d=!0;u=p.index+1;let h=p[0]==="'",m=32;if(p.index-1>=0)m=l.charCodeAt(p.index-1);else for(n=a-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let _=32;if(u<f)_=l.charCodeAt(u);else for(n=a+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){_=e[n].content.charCodeAt(0);break}let x=et(m)||Qe(m),k=et(_)||Qe(_),b=Ve(m),E=Ve(_);if(E?g=!1:k&&(b||x||(g=!1)),b?d=!1:x&&(E||k||(d=!1)),_===34&&p[0]==='"'&&m>=48&&m<=57&&(d=g=!1),g&&d&&(g=x,d=k),!g&&!d){h&&Ct(o,a,p.index,To);continue}if(d&&(n=h?i.single:i.double,n>=0&&r[n].level===c)){let v=r[n],R,A;h?(R=t.md.options.quotes[2],A=t.md.options.quotes[3]):(R=t.md.options.quotes[0],A=t.md.options.quotes[1]),Ct(o,a,p.index,A),Ct(o,v.tokenIdx,v.contentPos,R),So(r,i,n);continue e}if(g){if(r.length>=Pu)return;r.push({tokenIdx:a,contentPos:p.index,isSingleQuote:h,level:c,prevSameQuoteIdx:h?i.single:i.double}),h?i.single=r.length-1:i.double=r.length-1}else d&&h&&Ct(o,a,p.index,To)}}Object.keys(o).forEach(function(a){let s=Number(a);e[s].content=Uu(e[s].content,o[a])})}function zu(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Bu.test(e.tokens[t].content)||$u(e.tokens[t].children,e)}function qu(e){let t,n,r=e.length;for(t=0;t<r;t++)e[t].type==="text_special"&&(e[t].type="text");for(t=n=0;t<r;t++)e[t].type==="text"&&t+1<r&&e[t+1].type==="text"?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}function Hu(e){let t,n,r=e.tokens,i=r.length;for(let o=0;o<i;o++){if(r[o].type!=="inline")continue;let a=r[o].children,s=a.length;for(t=0;t<s;t++)a[t].type==="text_special"&&(a[t].type="text"),a[t].children&&qu(a[t].children);for(t=n=0;t<s;t++)a[t].type==="text"&&t+1<s&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}}var mn=[["normalize",vu],["block",Ru],["strip_references",yu],["inline",Au],["linkify",Tu],["replacements",Fu],["smartquotes",zu],["text_join",Hu]],Ko=class{constructor(){S(this,"ruler",new nt),S(this,"State",Ho);for(let e=0;e<mn.length;e++)this.ruler.push(mn[e][0],mn[e][1])}process(e){let t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)}},Wo=class{constructor(e,t,n,r){S(this,"bMarks",[]),S(this,"eMarks",[]),S(this,"tShift",[]),S(this,"sCount",[]),S(this,"bsCount",[]),S(this,"blkIndent",0),S(this,"line",0),S(this,"lineMax",0),S(this,"tight",!1),S(this,"listIndent",-1),S(this,"parentType","root"),S(this,"level",0),S(this,"Token",Ne),this.src=e,this.md=t,this.env=n,this.tokens=r;let i=this.src;for(let o=0,a=0,s=0,c=0,l=i.length,u=!1;a<l;a++){let f=i.charCodeAt(a);if(!u)if(Y(f)){s++,f===9?c+=4-c%4:c++;continue}else u=!0;(f===10||a===l-1)&&(f!==10&&a++,this.bMarks.push(o),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(c),this.bsCount.push(0),u=!1,s=0,c=0,o=a+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){let r=new Ne(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&Y(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!Y(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return"";let i=new Array(t-e);for(let o=0,a=e;a<t;a++,o++){let s=0,c=this.bMarks[a],l=c,u;for(a+1<t||r?u=this.eMarks[a]+1:u=this.eMarks[a];l<u&&s<n;){let f=this.src.charCodeAt(l);if(Y(f))f===9?s+=4-(s+this.bsCount[a])%4:s++;else if(l-c<this.tShift[a])s++;else break;l++}s>n?i[o]=new Array(s-n+1).join(" ")+this.src.slice(l,u):i[o]=this.src.slice(l,u)}return i.join("")}},Gu=65536;function bn(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Do(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;r<n;)i===124&&(o?(s+=e.substring(a,r-1),a=r):(t.push(s+e.substring(a,r)),s="",a=r+1)),o=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(a)),t}function Ku(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;let a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[i])return!1;let s=e.src.charCodeAt(o++);if(s!==124&&s!==45&&s!==58&&!Y(s)||a===45&&Y(s))return!1;for(;o<e.eMarks[i];){let b=e.src.charCodeAt(o);if(b!==124&&b!==45&&b!==58&&!Y(b))return!1;o++}let c=bn(e,t+1),l=c.split("|"),u=[];for(let b=0;b<l.length;b++){let E=l[b].trim();if(!E){if(b===0||b===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(E))return!1;E.charCodeAt(E.length-1)===58?u.push(E.charCodeAt(0)===58?"center":"right"):E.charCodeAt(0)===58?u.push("left"):u.push("")}if(c=bn(e,t).trim(),c.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=Do(c),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();let f=l.length;if(f===0||f!==u.length)return!1;if(r)return!0;let p=e.parentType;e.parentType="table";let g=e.md.block.ruler.getRules("blockquote"),d=e.push("table_open","table",1),h=[t,0];d.map=h;let m=e.push("thead_open","thead",1);m.map=[t,t+1];let _=e.push("tr_open","tr",1);_.map=[t,t+1];for(let b=0;b<l.length;b++){let E=e.push("th_open","th",1);u[b]&&(E.attrs=[["style",`text-align:${u[b]}`]]);let v=e.push("inline","",0);v.content=l[b].trim(),v.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let x,k=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let b=!1;for(let v=0,R=g.length;v<R;v++)if(g[v](e,i,n,!0)){b=!0;break}if(b||(c=bn(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=Do(c),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),k+=f-l.length,k>Gu))break;if(i===t+2){let v=e.push("tbody_open","tbody",1);v.map=x=[t+2,0]}let E=e.push("tr_open","tr",1);E.map=[i,i+1];for(let v=0;v<f;v++){let R=e.push("td_open","td",1);u[v]&&(R.attrs=[["style",`text-align:${u[v]}`]]);let A=e.push("inline","",0);A.content=l[v]?l[v].trim():"",A.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return x&&(e.push("tbody_close","tbody",-1),x[1]=i),e.push("table_close","table",-1),h[1]=i,e.parentType=p,e.line=i,!0}function Wu(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;let o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+`
|
|
39
|
-
`,o.map=[t,e.line],!0}function Zu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;let a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let s=i;i=e.skipChars(i,a);let c=i-s;if(c<3)return!1;let l=e.src.slice(s,i),u=e.src.slice(i,o);if(a===96&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let f=t,p=!1;for(;f++,!(f>=n||(i=s=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],i<o&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(i)===a&&!(e.sCount[f]-e.blkIndent>=4)&&(i=e.skipChars(i,a),!(i-s<c)&&(i=e.skipSpaces(i),!(i<o)))){p=!0;break}c=e.sCount[t],e.line=f+(p?1:0);let g=e.push("fence","code",0);return g.info=u,g.content=e.getLines(t+1,f,c,!0),g.markup=l,g.map=[t,e.line],!0}function Ju(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;let s=[],c=[],l=[],u=[],f=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let g=!1,d;for(d=t;d<n;d++){let k=e.sCount[d]<e.blkIndent;if(i=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i>=o)break;if(e.src.charCodeAt(i++)===62&&!k){let E=e.sCount[d]+1,v,R;e.src.charCodeAt(i)===32?(i++,E++,R=!1,v=!0):e.src.charCodeAt(i)===9?(v=!0,(e.bsCount[d]+E)%4===3?(i++,E++,R=!1):R=!0):v=!1;let A=E;for(s.push(e.bMarks[d]),e.bMarks[d]=i;i<o;){let C=e.src.charCodeAt(i);if(Y(C))C===9?A+=4-(A+e.bsCount[d]+(R?1:0))%4:A++;else break;i++}g=i>=o,c.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(v?1:0),l.push(e.sCount[d]),e.sCount[d]=A-E,u.push(e.tShift[d]),e.tShift[d]=i-e.bMarks[d];continue}if(g)break;let b=!1;for(let E=0,v=f.length;E<v;E++)if(f[E](e,d,n,!0)){b=!0;break}if(b){e.lineMax=d,e.blkIndent!==0&&(s.push(e.bMarks[d]),c.push(e.bsCount[d]),u.push(e.tShift[d]),l.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}s.push(e.bMarks[d]),c.push(e.bsCount[d]),u.push(e.tShift[d]),l.push(e.sCount[d]),e.sCount[d]=-1}let h=e.blkIndent;e.blkIndent=0;let m=e.push("blockquote_open","blockquote",1);m.markup=">";let _=[t,0];m.map=_,e.md.block.tokenize(e,t,d);let x=e.push("blockquote_close","blockquote",-1);x.markup=">",e.lineMax=a,e.parentType=p,_[1]=e.line;for(let k=0;k<u.length;k++)e.bMarks[k+t]=s[k],e.tShift[k+t]=u[k],e.sCount[k+t]=l[k],e.bsCount[k+t]=c[k];return e.blkIndent=h,!0}function Yu(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t],a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;o<i;){let l=e.src.charCodeAt(o++);if(l!==a&&!Y(l))return!1;l===a&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let c=e.push("hr","hr",0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(a)),!0}function Mo(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!Y(e.src.charCodeAt(r))?-1:r}function Oo(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i<r&&(o=e.src.charCodeAt(i),!Y(o))?-1:i}function Xu(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function ju(e,t,n,r){let i,o,a,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let u=!1;r&&e.parentType==="paragraph"&&e.sCount[c]>=e.blkIndent&&(u=!0);let f,p,g;if((g=Oo(e,c))>=0){if(f=!0,a=e.bMarks[c]+e.tShift[c],p=Number(e.src.slice(a,g-1)),u&&p!==1)return!1}else if((g=Mo(e,c))>=0)f=!1;else return!1;if(u&&e.skipSpaces(g)>=e.eMarks[c])return!1;if(r)return!0;let d=e.src.charCodeAt(g-1),h=e.tokens.length;f?(s=e.push("ordered_list_open","ol",1),p!==1&&(s.attrs=[["start",p]])):s=e.push("bullet_list_open","ul",1);let m=[c,0];s.map=m,s.markup=String.fromCharCode(d);let _=!1,x=e.md.block.ruler.getRules("list"),k=e.parentType;for(e.parentType="list";c<n;){o=g,i=e.eMarks[c];let b=e.sCount[c]+g-(e.bMarks[c]+e.tShift[c]),E=b;for(;o<i;){let $=e.src.charCodeAt(o);if($===9)E+=4-(E+e.bsCount[c])%4;else if($===32)E++;else break;o++}let v=o,R;v>=i?R=1:R=E-b,R>4&&(R=1);let A=b+R;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(d);let C=[c,0];s.map=C,f&&(s.info=e.src.slice(a,g-1));let O=e.tight,I=e.tShift[c],U=e.sCount[c],X=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=A,e.tight=!0,e.tShift[c]=v-e.bMarks[c],e.sCount[c]=E,v>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n),(!e.tight||_)&&(l=!1),_=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=X,e.tShift[c]=I,e.sCount[c]=U,e.tight=O,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(d),c=e.line,C[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let z=!1;for(let $=0,w=x.length;$<w;$++)if(x[$](e,c,n,!0)){z=!0;break}if(z)break;if(f){if(g=Oo(e,c),g<0)break;a=e.bMarks[c]+e.tShift[c]}else if(g=Mo(e,c),g<0)break;if(d!==e.src.charCodeAt(g-1))break}return f?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(d),m[1]=c,e.line=c,e.parentType=k,l&&Xu(e,h),!0}function Vu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(b){let E=e.lineMax;if(b>=E||e.isEmpty(b))return null;let v=!1;if(e.sCount[b]-e.blkIndent>3&&(v=!0),e.sCount[b]<0&&(v=!0),!v){let C=e.md.block.ruler.getRules("reference"),O=e.parentType;e.parentType="reference";let I=!1;for(let U=0,X=C.length;U<X;U++)if(C[U](e,b,E,!0)){I=!0;break}if(e.parentType=O,I)return null}let R=e.bMarks[b]+e.tShift[b],A=e.eMarks[b];return e.src.slice(R,A+1)}let c=e.src.slice(i,o+1);o=c.length;let l=-1;for(i=1;i<o;i++){let b=c.charCodeAt(i);if(b===91)return!1;if(b===93){l=i;break}else if(b===10){let E=s(a);E!==null&&(c+=E,o=c.length,a++)}else if(b===92&&(i++,i<o&&c.charCodeAt(i)===10)){let E=s(a);E!==null&&(c+=E,o=c.length,a++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<o;i++){let b=c.charCodeAt(i);if(b===10){let E=s(a);E!==null&&(c+=E,o=c.length,a++)}else if(!Y(b))break}let u=e.md.helpers.parseLinkDestination(c,i,o);if(!u.ok)return!1;let f=e.md.normalizeLink(u.str);if(!e.md.validateLink(f))return!1;i=u.pos;let p=i,g=a,d=i;for(;i<o;i++){let b=c.charCodeAt(i);if(b===10){let E=s(a);E!==null&&(c+=E,o=c.length,a++)}else if(!Y(b))break}let h=e.md.helpers.parseLinkTitle(c,i,o);for(;h.can_continue;){let b=s(a);if(b===null)break;c+=b,i=o,o=c.length,a++,h=e.md.helpers.parseLinkTitle(c,i,o,h)}let m;for(i<o&&d!==i&&h.ok?(m=h.str,i=h.pos):(m="",i=p,a=g);i<o&&Y(c.charCodeAt(i));)i++;if(i<o&&c.charCodeAt(i)!==10&&m)for(m="",i=p,a=g;i<o&&Y(c.charCodeAt(i));)i++;if(i<o&&c.charCodeAt(i)!==10)return!1;let _=Tt(c.slice(1,l));if(!_)return!1;if(r)return!0;typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[_]>"u"&&(e.env.references[_]={title:m,href:f});let x=e.push("reference_definition","",0);x.map=[t,a],x.hidden=!0;let k=Object.create(null);return k.label=_,x.meta=k,e.line=a,!0}var Qu=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Zo=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,Jo="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ed=new RegExp(`^(?:${Zo}|${Jo}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),td=new RegExp(`^(?:${Zo}|${Jo})`),Ce=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${Qu.join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${td.source}\\s*$`),/^$/,!1]];function nd(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,o),s=0;for(;s<Ce.length&&!Ce[s][0].test(a);s++);if(s===Ce.length)return!1;if(r)return Ce[s][2];let c=t+1,l=Ce[s][1].test("");if(!Ce[s][1].test(a)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(l||!e.isEmpty(c)));c++)if(i=e.bMarks[c]+e.tShift[c],o=e.eMarks[c],a=e.src.slice(i,o),Ce[s][1].test(a)){a.length!==0&&c++;break}}e.line=c;let u=e.push("html_block","",0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function rd(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);a===35&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!Y(a))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);let c=e.skipCharsBack(o,35,i);c>i&&Y(e.src.charCodeAt(c-1))&&(o=c),e.line=t+1;let l=e.push("heading_open",`h${s}`,1);l.markup="########".slice(0,s),l.map=[t,e.line];let u=e.push("inline","",0);u.content=St(e.src.slice(i,o)),u.map=[t,e.line],u.children=[];let f=e.push("heading_close",`h${s}`,-1);return f.markup="########".slice(0,s),!0}function id(e,t,n){let r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType="paragraph";let o=0,a,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let g=e.bMarks[s]+e.tShift[s],d=e.eMarks[s];if(g<d&&(a=e.src.charCodeAt(g),(a===45||a===61)&&(g=e.skipChars(g,a),g=e.skipSpaces(g),g>=d))){o=a===61?1:2;break}}if(e.sCount[s]<0)continue;let p=!1;for(let g=0,d=r.length;g<d;g++)if(r[g](e,s,n,!0)){p=!0;break}if(p)break}if(!o)return e.parentType=i,!1;let c=St(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let l=e.push("heading_open",`h${o}`,1);l.markup=String.fromCharCode(a),l.map=[t,e.line];let u=e.push("inline","",0);u.content=c,u.map=[t,e.line-1],u.children=[];let f=e.push("heading_close",`h${o}`,-1);return f.markup=String.fromCharCode(a),e.parentType=i,!0}function od(e,t,n){let r=e.md.block.ruler.getRules("paragraph"),i=e.parentType,o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let l=!1;for(let u=0,f=r.length;u<f;u++)if(r[u](e,o,n,!0)){l=!0;break}if(l)break}let a=St(e.getLines(t,o,e.blkIndent,!1));e.line=o;let s=e.push("paragraph_open","p",1);s.map=[t,e.line];let c=e.push("inline","",0);return c.content=a,c.map=[t,e.line],c.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}var Nt=[["table",Ku,["paragraph","reference"]],["code",Wu],["fence",Zu,["paragraph","reference","blockquote","list"]],["blockquote",Ju,["paragraph","reference","blockquote","list"]],["hr",Yu,["paragraph","reference","blockquote","list"]],["list",ju,["paragraph","reference","blockquote"]],["reference",Vu],["html_block",nd,["paragraph","reference","blockquote"]],["heading",rd,["paragraph","reference","blockquote"]],["lheading",id],["paragraph",od]],Yo=class{constructor(){S(this,"ruler",new nt),S(this,"State",Wo);for(let e=0;e<Nt.length;e++)this.ruler.push(Nt[e][0],Nt[e][1],{alt:(Nt[e][2]||[]).slice()})}tokenize(e,t,n){let r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting,a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n||e.sCount[a]<e.blkIndent));){if(e.level>=o){e.line=n;break}let c=e.line,l=!1;for(let u=0;u<i;u++)if(l=r[u](e,a,n,!1),l){if(c>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}}parse(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)}},Xo=class{constructor(e,t,n,r){S(this,"pos",0),S(this,"level",0),S(this,"pending",""),S(this,"pendingLevel",0),S(this,"cache",{}),S(this,"backticks",{}),S(this,"backticksScanned",!1),S(this,"linkLevel",0),S(this,"delimiters",[]),S(this,"_prev_delimiters",[]),S(this,"Token",Ne),this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){let e=new Ne("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e}push(e,t,n){this.pending&&this.pushPending();let r=new Ne(e,t,n),i;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r}scanDelims(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)===55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)===56320){let d=this.src.charCodeAt(e-2);i=(d&64512)===55296?65536+(d-55296<<10)+(i-56320):65533}else(i&64512)===55296&&(i=65533);let o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;let a=o-e,s=o<n?this.src.charCodeAt(o):32;if((s&64512)===55296){let d=this.src.charCodeAt(o+1);s=(d&64512)===56320?65536+(s-55296<<10)+(d-56320):65533}else(s&64512)===56320&&(s=65533);let c=et(i)||Qe(i),l=et(s)||Qe(s),u=Ve(i),f=Ve(s),p=!f&&(!l||u||c),g=!u&&(!c||f||l);return{can_open:p&&(t||!g||c),can_close:g&&(t||!p||l),length:a}}};function sd(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function ad(e,t){let n=e.pos;for(;n<e.posMax&&!sd(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function cd(e){return e>=65&&e<=90||e>=97&&e<=122}function ld(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function ud(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let i=n-Math.min(10,e.pending.length,n),o=n;for(;o>i&&ld(e.src.charCodeAt(o-1));)o--;if(o===n||!cd(e.src.charCodeAt(o)))return!1;let a=n-o,s=e.md.linkify.matchAtStart(e.src.slice(o));if(!s)return!1;let c=s.url;if(c.length<=a)return!1;let l=c.length;for(;l>0&&c.charCodeAt(l-1)===42;)l--;l!==c.length&&(c=c.slice(0,l));let u=e.md.normalizeLink(c);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-a);let f=e.push("link_open","a",1);f.attrs=[["href",u]],f.markup="linkify",f.info="auto";let p=e.push("text","",0);p.content=e.md.normalizeLinkText(c);let g=e.push("link_close","a",-1);g.markup="linkify",g.info="auto"}return e.pos+=c.length-a,!0}function dd(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&Y(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var wn=[];for(let e=0;e<256;e++)wn.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){wn[e.charCodeAt(0)]=1});function fd(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),!!Y(i));)n++;return e.pos=n,!0}if(i===32){if(!t){let s=e.push("text_special","",0);s.content="\\",s.markup="\\",s.info="escape"}return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let s=e.src.charCodeAt(n+1);s>=56320&&s<=57343&&(o+=e.src[n+1],n++)}let a="\\"+o;if(!t){let s=e.push("text_special","",0);i<256&&wn[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return e.pos=n+1,!0}function gd(e){let t={},n=0;for(;(n=e.indexOf("`",n))!==-1;){let r=n;for(;e.charCodeAt(++n)===96;);t[n-r]=r}return t}function pd(e,t){var n;let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;let i=e.posMax,o=r+1;for(;o<i&&e.src.charCodeAt(o)===96;)o++;let a=e.src.slice(r,o),s=a.length;if(e.backticksScanned||(e.backticks=gd(e.src),e.backticksScanned=!0),((n=e.backticks[s])!==null&&n!==void 0?n:-1)>=o){let c=o,l;for(;(l=e.src.indexOf("`",c))!==-1&&l<i;){for(c=l+1;e.src.charCodeAt(c)===96;)c++;if(c>i)break;if(c-l===s){if(!t){let u=e.push("code_inline","code",0);u.markup=a;let f=e.src.slice(o,l).replace(/\n/g," ");f.startsWith(" ")&&f.endsWith(" ")&&/[^ ]/.test(f)&&(f=f.slice(1,-1)),u.content=f}return e.pos=c,!0}}}return t||(e.pending+=a),e.pos=o,!0}function hd(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;let i=e.scanDelims(e.pos,!0),o=i.length,a=String.fromCharCode(r);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let c=0;c<o;c+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Io(e,t){let n,r=[],i=t.length;for(let o=0;o<i;o++){let a=t[o];if(a.marker!==126||a.end===-1)continue;let s=t[a.end];n=e.tokens[a.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&r.push(s.token-1)}for(;r.length;){let o=r.pop(),a=o+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,o!==a&&(n=e.tokens[a],e.tokens[a]=e.tokens[o],e.tokens[o]=n)}}function md(e){let t=e.tokens_meta,n=e.tokens_meta.length;Io(e,e.delimiters);for(let i=0;i<n;i++){var r;let o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Io(e,o)}}var jo={tokenize:hd,postProcess:md};function bd(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;let i=e.scanDelims(e.pos,r===42);for(let o=0;o<i.length;o++){let a=e.push("text","",0);a.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Lo(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;let o=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===o.token+1,s=String.fromCharCode(i.marker),c=e.tokens[i.token];c.type=a?"strong_open":"em_open",c.tag=a?"strong":"em",c.nesting=1,c.markup=a?s+s:s,c.content="";let l=e.tokens[o.token];l.type=a?"strong_close":"em_close",l.tag=a?"strong":"em",l.nesting=-1,l.markup=a?s+s:s,l.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function _d(e){let t=e.tokens_meta,n=e.tokens_meta.length;Lo(e,e.delimiters);for(let i=0;i<n;i++){var r;let o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Lo(e,o)}}var Vo={tokenize:bd,postProcess:_d};function Ed(e,t){let n,r,i,o,a="",s="",c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let u=e.pos,f=e.posMax,p=e.pos+1,g=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(g<0)return!1;let d=g+1;if(d<f&&e.src.charCodeAt(d)===40){for(l=!1,d++;d<f&&(n=e.src.charCodeAt(d),!(!Y(n)&&n!==10));d++);if(d>=f)return!1;if(c=d,i=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?d=i.pos:a="",c=d;d<f&&(n=e.src.charCodeAt(d),!(!Y(n)&&n!==10));d++);if(i=e.md.helpers.parseLinkTitle(e.src,d,e.posMax),d<f&&c!==d&&i.ok)for(s=i.str,d=i.pos;d<f&&(n=e.src.charCodeAt(d),!(!Y(n)&&n!==10));d++);}(d>=f||e.src.charCodeAt(d)!==41)&&(l=!0),d++}if(l){if(typeof e.env.references>"u")return!1;if(d<f&&e.src.charCodeAt(d)===91?(c=d+1,d=e.md.helpers.parseLinkLabel(e,d),d>=0?r=e.src.slice(c,d++):d=g+1):d=g+1,r||(r=e.src.slice(p,g)),r=Tt(r),o=e.env.references[r],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=p,e.posMax=g;let h=e.push("link_open","a",1),m=[["href",a]];if(h.attrs=m,s&&m.push(["title",s]),r){let _=Object.create(null);_.label=r,h.meta=_}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=f,!0}function kd(e,t){let n,r,i,o,a,s,c,l,u="",f=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let g=e.pos+2,d=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(d<0)return!1;if(o=d+1,o<p&&e.src.charCodeAt(o)===40){for(o++;o<p&&(n=e.src.charCodeAt(o),!(!Y(n)&&n!==10));o++);if(o>=p)return!1;for(l=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),l=o;o<p&&(n=e.src.charCodeAt(o),!(!Y(n)&&n!==10));o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<p&&l!==o&&s.ok)for(c=s.str,o=s.pos;o<p&&(n=e.src.charCodeAt(o),!(!Y(n)&&n!==10));o++);else c="";if(o>=p||e.src.charCodeAt(o)!==41)return e.pos=f,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<p&&e.src.charCodeAt(o)===91?(l=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(l,o++):o=d+1):o=d+1,i||(i=e.src.slice(g,d)),i=Tt(i),a=e.env.references[i],!a)return e.pos=f,!1;u=a.href,c=a.title}if(!t){r=e.src.slice(g,d);let h=[];e.md.inline.parse(r,e.md,e.env,h);let m=e.push("image","img",0),_=[["src",u],["alt",""]];if(m.attrs=_,m.children=h,m.content=r,c&&_.push(["title",c]),i){let x=Object.create(null);x.label=i,m.meta=x}}return e.pos=o,e.posMax=p,!0}var xd=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,wd=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function vd(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}let o=e.src.slice(r+1,n);if(wd.test(o)){let a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){let s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";let c=e.push("text","",0);c.content=e.md.normalizeLinkText(o);let l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=o.length+2,!0}if(xd.test(o)){let a=e.md.normalizeLink(`mailto:${o}`);if(!e.md.validateLink(a))return!1;if(!t){let s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";let c=e.push("text","",0);c.content=e.md.normalizeLinkText(o);let l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=o.length+2,!0}return!1}function Rd(e){return/^<a[>\s]/i.test(e)}function yd(e){return/^<\/a\s*>/i.test(e)}function Ad(e){let t=e|32;return t>=97&&t<=122}function Cd(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!Ad(i))return!1;let o=e.src.slice(r).match(ed);if(!o)return!1;if(!t){let a=e.push("html_inline","",0);a.content=o[0],Rd(a.content)&&e.linkLevel++,yd(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}var Nd=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Td=/^&([a-z][a-z0-9]{1,31});/i;function Sd(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){let i=e.src.slice(n).match(Nd);if(i){if(!t){let o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=xn(o)?je(o):je(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{let i=e.src.slice(n).match(Td);if(i){let o=At(i[0]);if(o!==i[0]){if(!t){let a=e.push("text_special","",0);a.content=o,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Fo(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,o=[];for(let a=0;a<n;a++){let s=e[a];if(o.push(0),(e[r].marker!==s.marker||i!==s.token-1)&&(r=a),i=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);let c=t[s.marker][(s.open?3:0)+s.length%3],l=r-o[r]-1,u=l;for(;l>c;l-=o[l]+1){let f=e[l];if(f.marker===s.marker&&f.open&&f.end<0){let p=!1;if((f.close||s.open)&&(f.length+s.length)%3===0&&(f.length%3!==0||s.length%3!==0)&&(p=!0),!p){let g=l>0&&!e[l-1].open?o[l-1]+1:0;o[a]=a-l+g,o[l]=g,s.open=!1,f.end=a,f.close=!1,u=-1,i=-2;break}}}u!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=u)}}function Dd(e){let t=e.tokens_meta,n=e.tokens_meta.length;Fo(e.delimiters);for(let i=0;i<n;i++){var r;let o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Fo(o)}}function Md(e){let t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type==="text"&&t+1<o&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}var _n=[["text",ad],["linkify",ud],["newline",dd],["escape",fd],["backticks",pd],["strikethrough",jo.tokenize],["emphasis",Vo.tokenize],["link",Ed],["image",kd],["autolink",vd],["html_inline",Cd],["entity",Sd]],En=[["balance_pairs",Dd],["strikethrough",jo.postProcess],["emphasis",Vo.postProcess],["fragments_join",Md]],Qo=class{constructor(){S(this,"ruler",new nt),S(this,"ruler2",new nt),S(this,"State",Xo);for(let e=0;e<_n.length;e++)this.ruler.push(_n[e][0],_n[e][1]);for(let e=0;e<En.length;e++)this.ruler2.push(En[e][0],En[e][1])}skipToken(e){let t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u"){e.pos=o[t];return}let a=!1;if(e.level<i){for(let s=0;s<r;s++)if(e.level++,a=n[s](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos}tokenize(e){let t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let o=e.pos,a=!1;if(e.level<i){for(let s=0;s<n;s++)if(a=t[s](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let o=this.ruler2.getRules(""),a=o.length;for(let s=0;s<a;s++)o[s](i)}},Od={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Id=/^(vbscript|javascript|file|data):/,Ld=/^data:image\/(gif|png|jpeg|webp);/,Bo=["http:","https:","mailto:"],me=class{validateLink(e){let t=e.trim().toLowerCase();return Id.test(t)?Ld.test(t):!0}normalizeLink(e){let t=Ye(e,!0);if(t.hostname&&(!t.protocol||Bo.indexOf(t.protocol)>=0))try{t.hostname=kn.default.toASCII(t.hostname)}catch{}return t.auth&&(t.auth=ke(t.auth)),t.hostname&&(t.hostname=ke(t.hostname)),t.pathname&&(t.pathname=ke(t.pathname)),t.search&&(t.search=ke(t.search)),t.hash&&(t.hash=ke(t.hash)),Be(t)}normalizeLinkText(e){let t=Ye(e,!0);if(t.hostname&&(!t.protocol||Bo.indexOf(t.protocol)>=0))try{t.hostname=kn.default.toUnicode(t.hostname)}catch{}return Je(Be(t),Je.defaultChars+"%")}constructor(...e){S(this,"inline",new Qo),S(this,"block",new Yo),S(this,"core",new Ko),S(this,"renderer",new qo),S(this,"linkify",new bo),S(this,"utils",nu),S(this,"helpers",Object.assign({},_u));let[t,n]=e;typeof t=="string"?(this.configure(t),n&&this.set(n)):(this.configure("default"),this.set(t||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let t;if(typeof e=="string"){let i=e;if(t=Od[i],!t)throw new Error(`Wrong 'markdown-it' preset "${i}", check name`)}else t=e;if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");t.options&&(this.options={...t.options});let n=t.components;if(n){var r;["core","block","inline"].forEach(o=>{var a;let s=(a=n[o])===null||a===void 0?void 0:a.rules;s&&this[o].ruler.enableOnly(s)});let i=(r=n.inline)===null||r===void 0?void 0:r.rules2;i&&this.inline.ruler2.enableOnly(i)}return this}enable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{n=n.concat(this[i].ruler.enable(e,!0))}),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(i=>n.indexOf(i)<0);if(r.length&&!t)throw new Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);return this}disable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{n=n.concat(this[i].ruler.disable(e,!0))}),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(i=>n.indexOf(i)<0);if(r.length&&!t)throw new Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if(typeof e!="string")throw new Error("Input data should be a String");let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}};S(me,"Token",Ne);S(me,"Ruler",nt);S(me,"Renderer",qo);S(me,"ParserCore",Ko);S(me,"StateCore",Ho);S(me,"ParserBlock",Yo);S(me,"StateBlock",Wo);S(me,"ParserInline",Qo);S(me,"StateInline",Xo);var es=Uo(me);function Fd(e,t,n,r){let i=Number(e[t].meta.id+1).toString(),o="";return typeof r.docId=="string"&&(o=`-${r.docId}-`),o+i}function Bd(e,t){let n=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(n+=`:${e[t].meta.subId}`),`[${n}]`}function Pd(e,t,n,r,i){let o=i.rules.footnote_anchor_name(e,t,n,r,i),a=i.rules.footnote_caption(e,t,n,r,i),s=o;return e[t].meta.subId>0&&(s+=`:${e[t].meta.subId}`),`<sup class="footnote-ref"><a href="#fn${o}" id="fnref${s}">${a}</a></sup>`}function Ud(e,t,n){return(n.xhtmlOut?`<hr class="footnotes-sep" />
|
|
19
|
+
`}return r}render(e,t,n){let r="",i=this.rules;for(let o=0,a=e.length;o<a;o++){let s=e[o].type;s==="inline"?r+=this.renderInline(e[o].children,t,n):typeof i[s]<"u"?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r}},Br=class{constructor(e,t,n){I(this,"tokens",[]),I(this,"inlineMode",!1),I(this,"Token",Ce),this.src=e,this.env=n,this.md=t}},_c=/\r\n?/g,Ec=/\0/g;function kc(e){let t;t=e.src.replace(_c,`
|
|
20
|
+
`),t=t.replace(Ec,"\uFFFD"),e.src=t}function wc(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function xc(e){let t=e.tokens,n=0;for(let r=0;r<t.length;r++)t[r].type!=="reference_definition"&&(r!==n&&(t[n]=t[r]),n++);t.length!==n&&(t.length=n)}function vc(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let i=t[n];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}function yc(e){return/^<a[>\s]/i.test(e)}function Rc(e){return/^<\/a\s*>/i.test(e)}function Ac(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.test(t[n].content))continue;let i=t[n].children,o=[],a=0;for(let s=i.length-1;s>=0;s--){let c=i[s];if(c.type==="link_close"){for(s--;i[s].level!==c.level&&i[s].type!=="link_open";)s--;continue}if(c.type==="html_inline"&&(yc(c.content)&&a>0&&a--,Rc(c.content)&&a++),!(a>0)&&c.type==="text"&&e.md.linkify.test(c.content)){let l=c.content,u=e.md.linkify.match(l),f=[],g=c.level,p=0;u.length>0&&u[0].index===0&&s>0&&i[s-1].type==="text_special"&&(u=u.slice(1));for(let d=0;d<u.length;d++){let m=u[d].url,h=e.md.normalizeLink(m);if(!e.md.validateLink(h))continue;let b=u[d].text;u[d].schema?u[d].schema==="mailto:"&&!/^mailto:/i.test(b)?b=e.md.normalizeLinkText(`mailto:${b}`).replace(/^mailto:/,""):b=e.md.normalizeLinkText(b):b=e.md.normalizeLinkText(`http://${b}`).replace(/^http:\/\//,"");let E=u[d].index;if(E>p){let w=new e.Token("text","",0);w.content=l.slice(p,E),w.level=g,f.push(w)}let k=new e.Token("link_open","a",1);k.attrs=[["href",h]],k.level=g++,k.markup="linkify",k.info="auto",f.push(k);let _=new e.Token("text","",0);_.content=b,_.level=g,f.push(_);let x=new e.Token("link_close","a",-1);x.level=--g,x.markup="linkify",x.info="auto",f.push(x),p=u[d].lastIndex}if(p<l.length){let d=new e.Token("text","",0);d.content=l.slice(p),d.level=g,f.push(d)}o.push({index:s,nodes:f})}}if(o.length>0){let s=i.length;for(let f of o)s+=f.nodes.length-1;let c=new Array(s),l=0,u=0;o.reverse();for(let f=0;f<i.length;f++){let g=o[l];if(g?.index===f){for(let p of g.nodes)c[u++]=p;l++}else c[u++]=i[f]}t[n].children=c}}}var Pr=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Cc=/\((c|tm|r)\)/i,Nc=/\((c|tm|r)\)/gi,Tc={c:"\xA9",r:"\xAE",tm:"\u2122"};function Dc(e,t){return Tc[t.toLowerCase()]}function Sc(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(Nc,Dc)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Mc(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type==="text"&&!t&&Pr.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Oc(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Cc.test(e.tokens[t].content)&&Sc(e.tokens[t].children),Pr.test(e.tokens[t].content)&&Mc(e.tokens[t].children))}var Ic=/['"]/,xr=/['"]/g,vr="\u2019",Lc=1e3;function yr(e,t,n){for(;e.length>n;){let r=e.pop();r.isSingleQuote?t.single=r.prevSameQuoteIdx:t.double=r.prevSameQuoteIdx}}function bt(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function Fc(e,t){let n="",r=0;t.sort((i,o)=>i.pos-o.pos);for(let i=0;i<t.length;i++){let o=t[i];n+=e.slice(r,o.pos)+o.ch,r=o.pos+1}return n+e.slice(r)}function Bc(e,t){let n,r=[],i={single:-1,double:-1},o={};for(let a=0;a<e.length;a++){let s=e[a],c=e[a].level;for(n=r.length-1;n>=0&&!(r[n].level<=c);n--);if(yr(r,i,n+1),s.type!=="text")continue;let l=s.content,u=0,f=l.length;e:for(;u<f;){xr.lastIndex=u;let g=xr.exec(l);if(!g)break;let p=!0,d=!0;u=g.index+1;let m=g[0]==="'",h=32;if(g.index-1>=0)h=l.charCodeAt(g.index-1);else for(n=a-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){h=e[n].content.charCodeAt(e[n].content.length-1);break}let b=32;if(u<f)b=l.charCodeAt(u);else for(n=a+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){b=e[n].content.charCodeAt(0);break}let E=je(h)||Xe(h),k=je(b)||Xe(b),_=Ye(h),x=Ye(b);if(x?p=!1:k&&(_||E||(p=!1)),_?d=!1:E&&(x||k||(d=!1)),b===34&&g[0]==='"'&&h>=48&&h<=57&&(d=p=!1),p&&d&&(p=E,d=k),!p&&!d){m&&bt(o,a,g.index,vr);continue}if(d&&(n=m?i.single:i.double,n>=0&&r[n].level===c)){let w=r[n],A,y;m?(A=t.md.options.quotes[2],y=t.md.options.quotes[3]):(A=t.md.options.quotes[0],y=t.md.options.quotes[1]),bt(o,a,g.index,y),bt(o,w.tokenIdx,w.contentPos,A),yr(r,i,n);continue e}if(p){if(r.length>=Lc)return;r.push({tokenIdx:a,contentPos:g.index,isSingleQuote:m,level:c,prevSameQuoteIdx:m?i.single:i.double}),m?i.single=r.length-1:i.double=r.length-1}else d&&m&&bt(o,a,g.index,vr)}}Object.keys(o).forEach(function(a){let s=Number(a);e[s].content=Fc(e[s].content,o[a])})}function Pc(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Ic.test(e.tokens[t].content)||Bc(e.tokens[t].children,e)}function Uc(e){let t,n,r=e.length;for(t=0;t<r;t++)e[t].type==="text_special"&&(e[t].type="text");for(t=n=0;t<r;t++)e[t].type==="text"&&t+1<r&&e[t+1].type==="text"?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}function $c(e){let t,n,r=e.tokens,i=r.length;for(let o=0;o<i;o++){if(r[o].type!=="inline")continue;let a=r[o].children,s=a.length;for(t=0;t<s;t++)a[t].type==="text_special"&&(a[t].type="text"),a[t].children&&Uc(a[t].children);for(t=n=0;t<s;t++)a[t].type==="text"&&t+1<s&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}}var dn=[["normalize",kc],["block",wc],["strip_references",xc],["inline",vc],["linkify",Ac],["replacements",Oc],["smartquotes",Pc],["text_join",$c]],Ur=class{constructor(){I(this,"ruler",new Qe),I(this,"State",Br);for(let e=0;e<dn.length;e++)this.ruler.push(dn[e][0],dn[e][1])}process(e){let t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)}},$r=class{constructor(e,t,n,r){I(this,"bMarks",[]),I(this,"eMarks",[]),I(this,"tShift",[]),I(this,"sCount",[]),I(this,"bsCount",[]),I(this,"blkIndent",0),I(this,"line",0),I(this,"lineMax",0),I(this,"tight",!1),I(this,"listIndent",-1),I(this,"parentType","root"),I(this,"level",0),I(this,"Token",Ce),this.src=e,this.md=t,this.env=n,this.tokens=r;let i=this.src;for(let o=0,a=0,s=0,c=0,l=i.length,u=!1;a<l;a++){let f=i.charCodeAt(a);if(!u)if(X(f)){s++,f===9?c+=4-c%4:c++;continue}else u=!0;(f===10||a===l-1)&&(f!==10&&a++,this.bMarks.push(o),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(c),this.bsCount.push(0),u=!1,s=0,c=0,o=a+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){let r=new Ce(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&X(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!X(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return"";let i=new Array(t-e);for(let o=0,a=e;a<t;a++,o++){let s=0,c=this.bMarks[a],l=c,u;for(a+1<t||r?u=this.eMarks[a]+1:u=this.eMarks[a];l<u&&s<n;){let f=this.src.charCodeAt(l);if(X(f))f===9?s+=4-(s+this.bsCount[a])%4:s++;else if(l-c<this.tShift[a])s++;else break;l++}s>n?i[o]=new Array(s-n+1).join(" ")+this.src.slice(l,u):i[o]=this.src.slice(l,u)}return i.join("")}},zc=65536;function fn(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Rr(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;r<n;)i===124&&(o?(s+=e.substring(a,r-1),a=r):(t.push(s+e.substring(a,r)),s="",a=r+1)),o=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(a)),t}function qc(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;let a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[i])return!1;let s=e.src.charCodeAt(o++);if(s!==124&&s!==45&&s!==58&&!X(s)||a===45&&X(s))return!1;for(;o<e.eMarks[i];){let _=e.src.charCodeAt(o);if(_!==124&&_!==45&&_!==58&&!X(_))return!1;o++}let c=fn(e,t+1),l=c.split("|"),u=[];for(let _=0;_<l.length;_++){let x=l[_].trim();if(!x){if(_===0||_===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(x))return!1;x.charCodeAt(x.length-1)===58?u.push(x.charCodeAt(0)===58?"center":"right"):x.charCodeAt(0)===58?u.push("left"):u.push("")}if(c=fn(e,t).trim(),c.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=Rr(c),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();let f=l.length;if(f===0||f!==u.length)return!1;if(r)return!0;let g=e.parentType;e.parentType="table";let p=e.md.block.ruler.getRules("blockquote"),d=e.push("table_open","table",1),m=[t,0];d.map=m;let h=e.push("thead_open","thead",1);h.map=[t,t+1];let b=e.push("tr_open","tr",1);b.map=[t,t+1];for(let _=0;_<l.length;_++){let x=e.push("th_open","th",1);u[_]&&(x.attrs=[["style",`text-align:${u[_]}`]]);let w=e.push("inline","",0);w.content=l[_].trim(),w.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let E,k=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let _=!1;for(let w=0,A=p.length;w<A;w++)if(p[w](e,i,n,!0)){_=!0;break}if(_||(c=fn(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=Rr(c),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),k+=f-l.length,k>zc))break;if(i===t+2){let w=e.push("tbody_open","tbody",1);w.map=E=[t+2,0]}let x=e.push("tr_open","tr",1);x.map=[i,i+1];for(let w=0;w<f;w++){let A=e.push("td_open","td",1);u[w]&&(A.attrs=[["style",`text-align:${u[w]}`]]);let y=e.push("inline","",0);y.content=l[w]?l[w].trim():"",y.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return E&&(e.push("tbody_close","tbody",-1),E[1]=i),e.push("table_close","table",-1),m[1]=i,e.parentType=g,e.line=i,!0}function Hc(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;let o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+`
|
|
21
|
+
`,o.map=[t,e.line],!0}function Gc(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;let a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let s=i;i=e.skipChars(i,a);let c=i-s;if(c<3)return!1;let l=e.src.slice(s,i),u=e.src.slice(i,o);if(a===96&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let f=t,g=!1;for(;f++,!(f>=n||(i=s=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],i<o&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(i)===a&&!(e.sCount[f]-e.blkIndent>=4)&&(i=e.skipChars(i,a),!(i-s<c)&&(i=e.skipSpaces(i),!(i<o)))){g=!0;break}c=e.sCount[t],e.line=f+(g?1:0);let p=e.push("fence","code",0);return p.info=u,p.content=e.getLines(t+1,f,c,!0),p.markup=l,p.map=[t,e.line],!0}function Wc(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;let s=[],c=[],l=[],u=[],f=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let p=!1,d;for(d=t;d<n;d++){let k=e.sCount[d]<e.blkIndent;if(i=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i>=o)break;if(e.src.charCodeAt(i++)===62&&!k){let x=e.sCount[d]+1,w,A;e.src.charCodeAt(i)===32?(i++,x++,A=!1,w=!0):e.src.charCodeAt(i)===9?(w=!0,(e.bsCount[d]+x)%4===3?(i++,x++,A=!1):A=!0):w=!1;let y=x;for(s.push(e.bMarks[d]),e.bMarks[d]=i;i<o;){let C=e.src.charCodeAt(i);if(X(C))C===9?y+=4-(y+e.bsCount[d]+(A?1:0))%4:y++;else break;i++}p=i>=o,c.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(w?1:0),l.push(e.sCount[d]),e.sCount[d]=y-x,u.push(e.tShift[d]),e.tShift[d]=i-e.bMarks[d];continue}if(p)break;let _=!1;for(let x=0,w=f.length;x<w;x++)if(f[x](e,d,n,!0)){_=!0;break}if(_){e.lineMax=d,e.blkIndent!==0&&(s.push(e.bMarks[d]),c.push(e.bsCount[d]),u.push(e.tShift[d]),l.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}s.push(e.bMarks[d]),c.push(e.bsCount[d]),u.push(e.tShift[d]),l.push(e.sCount[d]),e.sCount[d]=-1}let m=e.blkIndent;e.blkIndent=0;let h=e.push("blockquote_open","blockquote",1);h.markup=">";let b=[t,0];h.map=b,e.md.block.tokenize(e,t,d);let E=e.push("blockquote_close","blockquote",-1);E.markup=">",e.lineMax=a,e.parentType=g,b[1]=e.line;for(let k=0;k<u.length;k++)e.bMarks[k+t]=s[k],e.tShift[k+t]=u[k],e.sCount[k+t]=l[k],e.bsCount[k+t]=c[k];return e.blkIndent=m,!0}function Kc(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t],a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;o<i;){let l=e.src.charCodeAt(o++);if(l!==a&&!X(l))return!1;l===a&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let c=e.push("hr","hr",0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(a)),!0}function Ar(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!X(e.src.charCodeAt(r))?-1:r}function Cr(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i<r&&(o=e.src.charCodeAt(i),!X(o))?-1:i}function Zc(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function Jc(e,t,n,r){let i,o,a,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let u=!1;r&&e.parentType==="paragraph"&&e.sCount[c]>=e.blkIndent&&(u=!0);let f,g,p;if((p=Cr(e,c))>=0){if(f=!0,a=e.bMarks[c]+e.tShift[c],g=Number(e.src.slice(a,p-1)),u&&g!==1)return!1}else if((p=Ar(e,c))>=0)f=!1;else return!1;if(u&&e.skipSpaces(p)>=e.eMarks[c])return!1;if(r)return!0;let d=e.src.charCodeAt(p-1),m=e.tokens.length;f?(s=e.push("ordered_list_open","ol",1),g!==1&&(s.attrs=[["start",g]])):s=e.push("bullet_list_open","ul",1);let h=[c,0];s.map=h,s.markup=String.fromCharCode(d);let b=!1,E=e.md.block.ruler.getRules("list"),k=e.parentType;for(e.parentType="list";c<n;){o=p,i=e.eMarks[c];let _=e.sCount[c]+p-(e.bMarks[c]+e.tShift[c]),x=_;for(;o<i;){let B=e.src.charCodeAt(o);if(B===9)x+=4-(x+e.bsCount[c])%4;else if(B===32)x++;else break;o++}let w=o,A;w>=i?A=1:A=x-_,A>4&&(A=1);let y=_+A;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(d);let C=[c,0];s.map=C,f&&(s.info=e.src.slice(a,p-1));let M=e.tight,F=e.tShift[c],O=e.sCount[c],R=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=y,e.tight=!0,e.tShift[c]=w-e.bMarks[c],e.sCount[c]=x,w>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n),(!e.tight||b)&&(l=!1),b=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[c]=F,e.sCount[c]=O,e.tight=M,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(d),c=e.line,C[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let N=!1;for(let B=0,v=E.length;B<v;B++)if(E[B](e,c,n,!0)){N=!0;break}if(N)break;if(f){if(p=Cr(e,c),p<0)break;a=e.bMarks[c]+e.tShift[c]}else if(p=Ar(e,c),p<0)break;if(d!==e.src.charCodeAt(p-1))break}return f?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(d),h[1]=c,e.line=c,e.parentType=k,l&&Zc(e,m),!0}function Yc(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(_){let x=e.lineMax;if(_>=x||e.isEmpty(_))return null;let w=!1;if(e.sCount[_]-e.blkIndent>3&&(w=!0),e.sCount[_]<0&&(w=!0),!w){let C=e.md.block.ruler.getRules("reference"),M=e.parentType;e.parentType="reference";let F=!1;for(let O=0,R=C.length;O<R;O++)if(C[O](e,_,x,!0)){F=!0;break}if(e.parentType=M,F)return null}let A=e.bMarks[_]+e.tShift[_],y=e.eMarks[_];return e.src.slice(A,y+1)}let c=e.src.slice(i,o+1);o=c.length;let l=-1;for(i=1;i<o;i++){let _=c.charCodeAt(i);if(_===91)return!1;if(_===93){l=i;break}else if(_===10){let x=s(a);x!==null&&(c+=x,o=c.length,a++)}else if(_===92&&(i++,i<o&&c.charCodeAt(i)===10)){let x=s(a);x!==null&&(c+=x,o=c.length,a++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<o;i++){let _=c.charCodeAt(i);if(_===10){let x=s(a);x!==null&&(c+=x,o=c.length,a++)}else if(!X(_))break}let u=e.md.helpers.parseLinkDestination(c,i,o);if(!u.ok)return!1;let f=e.md.normalizeLink(u.str);if(!e.md.validateLink(f))return!1;i=u.pos;let g=i,p=a,d=i;for(;i<o;i++){let _=c.charCodeAt(i);if(_===10){let x=s(a);x!==null&&(c+=x,o=c.length,a++)}else if(!X(_))break}let m=e.md.helpers.parseLinkTitle(c,i,o);for(;m.can_continue;){let _=s(a);if(_===null)break;c+=_,i=o,o=c.length,a++,m=e.md.helpers.parseLinkTitle(c,i,o,m)}let h;for(i<o&&d!==i&&m.ok?(h=m.str,i=m.pos):(h="",i=g,a=p);i<o&&X(c.charCodeAt(i));)i++;if(i<o&&c.charCodeAt(i)!==10&&h)for(h="",i=g,a=p;i<o&&X(c.charCodeAt(i));)i++;if(i<o&&c.charCodeAt(i)!==10)return!1;let b=Et(c.slice(1,l));if(!b)return!1;if(r)return!0;typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[b]>"u"&&(e.env.references[b]={title:h,href:f});let E=e.push("reference_definition","",0);E.map=[t,a],E.hidden=!0;let k=Object.create(null);return k.label=b,E.meta=k,e.line=a,!0}var Xc=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],zr=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,qr="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",jc=new RegExp(`^(?:${zr}|${qr}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),Vc=new RegExp(`^(?:${zr}|${qr})`),Ae=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${Xc.join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${Vc.source}\\s*$`),/^$/,!1]];function Qc(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,o),s=0;for(;s<Ae.length&&!Ae[s][0].test(a);s++);if(s===Ae.length)return!1;if(r)return Ae[s][2];let c=t+1,l=Ae[s][1].test("");if(!Ae[s][1].test(a)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(l||!e.isEmpty(c)));c++)if(i=e.bMarks[c]+e.tShift[c],o=e.eMarks[c],a=e.src.slice(i,o),Ae[s][1].test(a)){a.length!==0&&c++;break}}e.line=c;let u=e.push("html_block","",0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function el(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);a===35&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!X(a))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);let c=e.skipCharsBack(o,35,i);c>i&&X(e.src.charCodeAt(c-1))&&(o=c),e.line=t+1;let l=e.push("heading_open",`h${s}`,1);l.markup="########".slice(0,s),l.map=[t,e.line];let u=e.push("inline","",0);u.content=kt(e.src.slice(i,o)),u.map=[t,e.line],u.children=[];let f=e.push("heading_close",`h${s}`,-1);return f.markup="########".slice(0,s),!0}function tl(e,t,n){let r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType="paragraph";let o=0,a,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let p=e.bMarks[s]+e.tShift[s],d=e.eMarks[s];if(p<d&&(a=e.src.charCodeAt(p),(a===45||a===61)&&(p=e.skipChars(p,a),p=e.skipSpaces(p),p>=d))){o=a===61?1:2;break}}if(e.sCount[s]<0)continue;let g=!1;for(let p=0,d=r.length;p<d;p++)if(r[p](e,s,n,!0)){g=!0;break}if(g)break}if(!o)return e.parentType=i,!1;let c=kt(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let l=e.push("heading_open",`h${o}`,1);l.markup=String.fromCharCode(a),l.map=[t,e.line];let u=e.push("inline","",0);u.content=c,u.map=[t,e.line-1],u.children=[];let f=e.push("heading_close",`h${o}`,-1);return f.markup=String.fromCharCode(a),e.parentType=i,!0}function nl(e,t,n){let r=e.md.block.ruler.getRules("paragraph"),i=e.parentType,o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let l=!1;for(let u=0,f=r.length;u<f;u++)if(r[u](e,o,n,!0)){l=!0;break}if(l)break}let a=kt(e.getLines(t,o,e.blkIndent,!1));e.line=o;let s=e.push("paragraph_open","p",1);s.map=[t,e.line];let c=e.push("inline","",0);return c.content=a,c.map=[t,e.line],c.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}var _t=[["table",qc,["paragraph","reference"]],["code",Hc],["fence",Gc,["paragraph","reference","blockquote","list"]],["blockquote",Wc,["paragraph","reference","blockquote","list"]],["hr",Kc,["paragraph","reference","blockquote","list"]],["list",Jc,["paragraph","reference","blockquote"]],["reference",Yc],["html_block",Qc,["paragraph","reference","blockquote"]],["heading",el,["paragraph","reference","blockquote"]],["lheading",tl],["paragraph",nl]],Hr=class{constructor(){I(this,"ruler",new Qe),I(this,"State",$r);for(let e=0;e<_t.length;e++)this.ruler.push(_t[e][0],_t[e][1],{alt:(_t[e][2]||[]).slice()})}tokenize(e,t,n){let r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting,a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n||e.sCount[a]<e.blkIndent));){if(e.level>=o){e.line=n;break}let c=e.line,l=!1;for(let u=0;u<i;u++)if(l=r[u](e,a,n,!1),l){if(c>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}}parse(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)}},Gr=class{constructor(e,t,n,r){I(this,"pos",0),I(this,"level",0),I(this,"pending",""),I(this,"pendingLevel",0),I(this,"cache",{}),I(this,"backticks",{}),I(this,"backticksScanned",!1),I(this,"linkLevel",0),I(this,"delimiters",[]),I(this,"_prev_delimiters",[]),I(this,"Token",Ce),this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){let e=new Ce("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e}push(e,t,n){this.pending&&this.pushPending();let r=new Ce(e,t,n),i;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r}scanDelims(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)===55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)===56320){let d=this.src.charCodeAt(e-2);i=(d&64512)===55296?65536+(d-55296<<10)+(i-56320):65533}else(i&64512)===55296&&(i=65533);let o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;let a=o-e,s=o<n?this.src.charCodeAt(o):32;if((s&64512)===55296){let d=this.src.charCodeAt(o+1);s=(d&64512)===56320?65536+(s-55296<<10)+(d-56320):65533}else(s&64512)===56320&&(s=65533);let c=je(i)||Xe(i),l=je(s)||Xe(s),u=Ye(i),f=Ye(s),g=!f&&(!l||u||c),p=!u&&(!c||f||l);return{can_open:g&&(t||!p||c),can_close:p&&(t||!g||l),length:a}}};function rl(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function il(e,t){let n=e.pos;for(;n<e.posMax&&!rl(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function ol(e){return e>=65&&e<=90||e>=97&&e<=122}function sl(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function al(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let i=n-Math.min(10,e.pending.length,n),o=n;for(;o>i&&sl(e.src.charCodeAt(o-1));)o--;if(o===n||!ol(e.src.charCodeAt(o)))return!1;let a=n-o,s=e.md.linkify.matchAtStart(e.src.slice(o));if(!s)return!1;let c=s.url;if(c.length<=a)return!1;let l=c.length;for(;l>0&&c.charCodeAt(l-1)===42;)l--;l!==c.length&&(c=c.slice(0,l));let u=e.md.normalizeLink(c);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-a);let f=e.push("link_open","a",1);f.attrs=[["href",u]],f.markup="linkify",f.info="auto";let g=e.push("text","",0);g.content=e.md.normalizeLinkText(c);let p=e.push("link_close","a",-1);p.markup="linkify",p.info="auto"}return e.pos+=c.length-a,!0}function cl(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&X(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var bn=[];for(let e=0;e<256;e++)bn.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){bn[e.charCodeAt(0)]=1});function ll(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),!!X(i));)n++;return e.pos=n,!0}if(i===32){if(!t){let s=e.push("text_special","",0);s.content="\\",s.markup="\\",s.info="escape"}return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let s=e.src.charCodeAt(n+1);s>=56320&&s<=57343&&(o+=e.src[n+1],n++)}let a="\\"+o;if(!t){let s=e.push("text_special","",0);i<256&&bn[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return e.pos=n+1,!0}function ul(e){let t={},n=0;for(;(n=e.indexOf("`",n))!==-1;){let r=n;for(;e.charCodeAt(++n)===96;);t[n-r]=r}return t}function dl(e,t){var n;let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;let i=e.posMax,o=r+1;for(;o<i&&e.src.charCodeAt(o)===96;)o++;let a=e.src.slice(r,o),s=a.length;if(e.backticksScanned||(e.backticks=ul(e.src),e.backticksScanned=!0),((n=e.backticks[s])!==null&&n!==void 0?n:-1)>=o){let c=o,l;for(;(l=e.src.indexOf("`",c))!==-1&&l<i;){for(c=l+1;e.src.charCodeAt(c)===96;)c++;if(c>i)break;if(c-l===s){if(!t){let u=e.push("code_inline","code",0);u.markup=a;let f=e.src.slice(o,l).replace(/\n/g," ");f.startsWith(" ")&&f.endsWith(" ")&&/[^ ]/.test(f)&&(f=f.slice(1,-1)),u.content=f}return e.pos=c,!0}}}return t||(e.pending+=a),e.pos=o,!0}function fl(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;let i=e.scanDelims(e.pos,!0),o=i.length,a=String.fromCharCode(r);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let c=0;c<o;c+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Nr(e,t){let n,r=[],i=t.length;for(let o=0;o<i;o++){let a=t[o];if(a.marker!==126||a.end===-1)continue;let s=t[a.end];n=e.tokens[a.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&r.push(s.token-1)}for(;r.length;){let o=r.pop(),a=o+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,o!==a&&(n=e.tokens[a],e.tokens[a]=e.tokens[o],e.tokens[o]=n)}}function pl(e){let t=e.tokens_meta,n=e.tokens_meta.length;Nr(e,e.delimiters);for(let i=0;i<n;i++){var r;let o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Nr(e,o)}}var Wr={tokenize:fl,postProcess:pl};function gl(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;let i=e.scanDelims(e.pos,r===42);for(let o=0;o<i.length;o++){let a=e.push("text","",0);a.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Tr(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;let o=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===o.token+1,s=String.fromCharCode(i.marker),c=e.tokens[i.token];c.type=a?"strong_open":"em_open",c.tag=a?"strong":"em",c.nesting=1,c.markup=a?s+s:s,c.content="";let l=e.tokens[o.token];l.type=a?"strong_close":"em_close",l.tag=a?"strong":"em",l.nesting=-1,l.markup=a?s+s:s,l.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function hl(e){let t=e.tokens_meta,n=e.tokens_meta.length;Tr(e,e.delimiters);for(let i=0;i<n;i++){var r;let o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Tr(e,o)}}var Kr={tokenize:gl,postProcess:hl};function ml(e,t){let n,r,i,o,a="",s="",c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let u=e.pos,f=e.posMax,g=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let d=p+1;if(d<f&&e.src.charCodeAt(d)===40){for(l=!1,d++;d<f&&(n=e.src.charCodeAt(d),!(!X(n)&&n!==10));d++);if(d>=f)return!1;if(c=d,i=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?d=i.pos:a="",c=d;d<f&&(n=e.src.charCodeAt(d),!(!X(n)&&n!==10));d++);if(i=e.md.helpers.parseLinkTitle(e.src,d,e.posMax),d<f&&c!==d&&i.ok)for(s=i.str,d=i.pos;d<f&&(n=e.src.charCodeAt(d),!(!X(n)&&n!==10));d++);}(d>=f||e.src.charCodeAt(d)!==41)&&(l=!0),d++}if(l){if(typeof e.env.references>"u")return!1;if(d<f&&e.src.charCodeAt(d)===91?(c=d+1,d=e.md.helpers.parseLinkLabel(e,d),d>=0?r=e.src.slice(c,d++):d=p+1):d=p+1,r||(r=e.src.slice(g,p)),r=Et(r),o=e.env.references[r],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=g,e.posMax=p;let m=e.push("link_open","a",1),h=[["href",a]];if(m.attrs=h,s&&h.push(["title",s]),r){let b=Object.create(null);b.label=r,m.meta=b}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=f,!0}function bl(e,t){let n,r,i,o,a,s,c,l,u="",f=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let p=e.pos+2,d=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(d<0)return!1;if(o=d+1,o<g&&e.src.charCodeAt(o)===40){for(o++;o<g&&(n=e.src.charCodeAt(o),!(!X(n)&&n!==10));o++);if(o>=g)return!1;for(l=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),l=o;o<g&&(n=e.src.charCodeAt(o),!(!X(n)&&n!==10));o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<g&&l!==o&&s.ok)for(c=s.str,o=s.pos;o<g&&(n=e.src.charCodeAt(o),!(!X(n)&&n!==10));o++);else c="";if(o>=g||e.src.charCodeAt(o)!==41)return e.pos=f,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<g&&e.src.charCodeAt(o)===91?(l=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(l,o++):o=d+1):o=d+1,i||(i=e.src.slice(p,d)),i=Et(i),a=e.env.references[i],!a)return e.pos=f,!1;u=a.href,c=a.title}if(!t){r=e.src.slice(p,d);let m=[];e.md.inline.parse(r,e.md,e.env,m);let h=e.push("image","img",0),b=[["src",u],["alt",""]];if(h.attrs=b,h.children=m,h.content=r,c&&b.push(["title",c]),i){let E=Object.create(null);E.label=i,h.meta=E}}return e.pos=o,e.posMax=g,!0}var _l=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,El=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function kl(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}let o=e.src.slice(r+1,n);if(El.test(o)){let a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){let s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";let c=e.push("text","",0);c.content=e.md.normalizeLinkText(o);let l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=o.length+2,!0}if(_l.test(o)){let a=e.md.normalizeLink(`mailto:${o}`);if(!e.md.validateLink(a))return!1;if(!t){let s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";let c=e.push("text","",0);c.content=e.md.normalizeLinkText(o);let l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=o.length+2,!0}return!1}function wl(e){return/^<a[>\s]/i.test(e)}function xl(e){return/^<\/a\s*>/i.test(e)}function vl(e){let t=e|32;return t>=97&&t<=122}function yl(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!vl(i))return!1;let o=e.src.slice(r).match(jc);if(!o)return!1;if(!t){let a=e.push("html_inline","",0);a.content=o[0],wl(a.content)&&e.linkLevel++,xl(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}var Rl=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Al=/^&([a-z][a-z0-9]{1,31});/i;function Cl(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){let i=e.src.slice(n).match(Rl);if(i){if(!t){let o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=mn(o)?Je(o):Je(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{let i=e.src.slice(n).match(Al);if(i){let o=mt(i[0]);if(o!==i[0]){if(!t){let a=e.push("text_special","",0);a.content=o,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Dr(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,o=[];for(let a=0;a<n;a++){let s=e[a];if(o.push(0),(e[r].marker!==s.marker||i!==s.token-1)&&(r=a),i=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);let c=t[s.marker][(s.open?3:0)+s.length%3],l=r-o[r]-1,u=l;for(;l>c;l-=o[l]+1){let f=e[l];if(f.marker===s.marker&&f.open&&f.end<0){let g=!1;if((f.close||s.open)&&(f.length+s.length)%3===0&&(f.length%3!==0||s.length%3!==0)&&(g=!0),!g){let p=l>0&&!e[l-1].open?o[l-1]+1:0;o[a]=a-l+p,o[l]=p,s.open=!1,f.end=a,f.close=!1,u=-1,i=-2;break}}}u!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=u)}}function Nl(e){let t=e.tokens_meta,n=e.tokens_meta.length;Dr(e.delimiters);for(let i=0;i<n;i++){var r;let o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Dr(o)}}function Tl(e){let t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type==="text"&&t+1<o&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}var pn=[["text",il],["linkify",al],["newline",cl],["escape",ll],["backticks",dl],["strikethrough",Wr.tokenize],["emphasis",Kr.tokenize],["link",ml],["image",bl],["autolink",kl],["html_inline",yl],["entity",Cl]],gn=[["balance_pairs",Nl],["strikethrough",Wr.postProcess],["emphasis",Kr.postProcess],["fragments_join",Tl]],Zr=class{constructor(){I(this,"ruler",new Qe),I(this,"ruler2",new Qe),I(this,"State",Gr);for(let e=0;e<pn.length;e++)this.ruler.push(pn[e][0],pn[e][1]);for(let e=0;e<gn.length;e++)this.ruler2.push(gn[e][0],gn[e][1])}skipToken(e){let t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u"){e.pos=o[t];return}let a=!1;if(e.level<i){for(let s=0;s<r;s++)if(e.level++,a=n[s](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos}tokenize(e){let t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let o=e.pos,a=!1;if(e.level<i){for(let s=0;s<n;s++)if(a=t[s](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let o=this.ruler2.getRules(""),a=o.length;for(let s=0;s<a;s++)o[s](i)}},Dl={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Sl=/^(vbscript|javascript|file|data):/,Ml=/^data:image\/(gif|png|jpeg|webp);/,Sr=["http:","https:","mailto:"],he=class{validateLink(e){let t=e.trim().toLowerCase();return Sl.test(t)?Ml.test(t):!0}normalizeLink(e){let t=Ke(e,!0);if(t.hostname&&(!t.protocol||Sr.indexOf(t.protocol)>=0))try{t.hostname=hn.default.toASCII(t.hostname)}catch{}return t.auth&&(t.auth=ke(t.auth)),t.hostname&&(t.hostname=ke(t.hostname)),t.pathname&&(t.pathname=ke(t.pathname)),t.search&&(t.search=ke(t.search)),t.hash&&(t.hash=ke(t.hash)),Ie(t)}normalizeLinkText(e){let t=Ke(e,!0);if(t.hostname&&(!t.protocol||Sr.indexOf(t.protocol)>=0))try{t.hostname=hn.default.toUnicode(t.hostname)}catch{}return We(Ie(t),We.defaultChars+"%")}constructor(...e){I(this,"inline",new Zr),I(this,"block",new Hr),I(this,"core",new Ur),I(this,"renderer",new Fr),I(this,"linkify",new dr),I(this,"utils",Qa),I(this,"helpers",Object.assign({},hc));let[t,n]=e;typeof t=="string"?(this.configure(t),n&&this.set(n)):(this.configure("default"),this.set(t||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let t;if(typeof e=="string"){let i=e;if(t=Dl[i],!t)throw new Error(`Wrong 'markdown-it' preset "${i}", check name`)}else t=e;if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");t.options&&(this.options={...t.options});let n=t.components;if(n){var r;["core","block","inline"].forEach(o=>{var a;let s=(a=n[o])===null||a===void 0?void 0:a.rules;s&&this[o].ruler.enableOnly(s)});let i=(r=n.inline)===null||r===void 0?void 0:r.rules2;i&&this.inline.ruler2.enableOnly(i)}return this}enable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{n=n.concat(this[i].ruler.enable(e,!0))}),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(i=>n.indexOf(i)<0);if(r.length&&!t)throw new Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);return this}disable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{n=n.concat(this[i].ruler.disable(e,!0))}),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(i=>n.indexOf(i)<0);if(r.length&&!t)throw new Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if(typeof e!="string")throw new Error("Input data should be a String");let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}};I(he,"Token",Ce);I(he,"Ruler",Qe);I(he,"Renderer",Fr);I(he,"ParserCore",Ur);I(he,"StateCore",Br);I(he,"ParserBlock",Hr);I(he,"StateBlock",$r);I(he,"ParserInline",Zr);I(he,"StateInline",Gr);var wt=Or(he);var ce=(e,...t)=>e.replace(/\{(\d+)\}/g,(n,r)=>Number(r)<t.length?String(t[Number(r)]):n);function Jr(e){return(t,...n)=>ce(e[t]??t,...n)}var Ol=["<<-->>","<<->>","-->>","->>","-->","->","--x","-x","--)","-)","--|\\","--|/","--\\\\","--//","/|--","\\|--","//--","\\\\--","-|\\","-|/","-\\\\","-//","/|-","\\|-","//-","\\\\-"],Il=e=>e.replace(/[.*+?^${}()|[\]\\/]/g,"\\$&"),Ll=new RegExp("^\\s*([^:]+?)\\s*(?:\\(\\))?("+Ol.map(Il).join("|")+")(?:\\(\\))?\\s*[+-]?\\s*([^:]+?)\\s*:(.*)$"),_n=/^\s*%%\s*@ref\s+(.+?)\s*$/,En=/^\s*%%\s*@link-headings\s*$/,kn=/^\s*%%\s*@seq-notes\s*$/,Yr="(\\d+(?:\\.\\d{1,2})?|\\.\\d{1,2})",Fl=new RegExp(`^\\s*autonumber(?:\\s+(off)|\\s+${Yr}(?:\\s+${Yr})?)?\\s*(?:(?:%%|#).*)?$`,"i"),Bl=/^\s*(note|participant|actor|create|destroy|alt|else|opt|loop|par|and|critical|option|break|rect|box|end|activate|deactivate|autonumber|link|links|properties|details|title|accTitle|accDescr)(?=\s|$)/i;function et(e){let t=e.findIndex(r=>r.trim()!=="");if(t<0||e[t].trim()!=="---")return 0;let n=e.findIndex((r,i)=>i>t&&r.trim()==="---");return n<0?e.length:n+1}function Xr(e){let t=e.split(/\r?\n/);for(let n of t.slice(et(t))){let r=n.trim();if(!(r===""||r.startsWith("%%")))return/^sequenceDiagram\b/.test(r)}return!1}function jr(e,t){let n=[],r,i,o,a=1,s=1,c=!1,l=e.split(/\r?\n/),u=et(l);return l.forEach((f,g)=>{if(g<u)return;if(En.test(f)){r??=t+g;return}if(kn.test(f)){i??=t+g;return}let p=_n.exec(f);if(p){o={text:p[1],line:t+g};return}let d=Fl.exec(f);if(d){a=Number(d[2]??0)||a,s=Number(d[3]??0)||s,c=d[1]===void 0;return}if(f.trim().startsWith("%%")||Bl.test(f))return;let m=Ll.exec(f);if(!m)return;let h={index:n.length,line:t+g,text:m[4].trim()};c&&(h.number=a),a=Math.round((a+s)*100)/100,o&&(h.ref=o.text,h.refLine=o.line,o=void 0),n.push(h)}),{messages:n,markerLine:r,legacyMarkerLine:i}}function Ne(e){return e.replace(/<br\s*\/?>/gi," ").replace(/#(\d+);/g,(t,n)=>String.fromCharCode(Number(n))).replace(/\s+/g," ").trim()}var Pl=[/^(\d+(?:\.\d+)*)[.).)](?!\d)\s*(.+)$/,/^(\d+(?:\.\d+)+)\s+(.+)$/,/^[((](\d+)[))]\s*(.+)$/],wn=e=>e.replace(/[0-9]/g,t=>String.fromCharCode(t.charCodeAt(0)-65248));function Vr(e){let t=e.trim(),n=wn(t);for(let i of Pl){let o=i.exec(n);if(o)return{text:t.slice(n.length-o[2].length),value:o[1]}}let r=/^([\u2460-\u2473])\s*(.+)$/.exec(t);if(r)return{text:r[2],value:String(r[1].charCodeAt(0)-9312+1)}}var Ul=/^\s*(?:flowchart-elk|graph|flowchart)\b(?:\s*(TB|TD|BT|RL|LR)\b|\s*([<>^]|v\b))?\s*;?/,$l=/^\s*(style|linkStyle|classDef|class|click|subgraph|end|direction|accTitle|accDescr)(?=[\s:{]|$)/,zl=/^\s*subgraph\s+([^\s[]+)/,ql=/^(?:[^\s[\](){}<>|&;:"@,~=-]|-(?![->.]))+/u,Hl=[["(((",[")))"]],["((",["))"]],["([",["])"]],["[[",["]]"]],["[(",[")]"]],["{{",["}}"]],["[/",["/]","\\]"]],["[\\",["\\]","/]"]],["(-",["-)"]],["[",["]"]],["(",[")"]],["{",["}"]],[">",["]"]]],Gl=/^\s*(?:[^\s"]+@)?(?:[xo<]?--+[-xo>]|[xo<]?==+[=xo>]|[xo<]?-?\.+-[xo>]?|~~~+)\s*(?:\|(?:"[^"]*"|[^|"])*\|\s*)?/,Wl=[/^\s*[xo<]?--(?![-xo>])(.*?)--+[-xo>]\s*/,/^\s*[xo<]?==(?![=xo>])(.*?)==+[=xo>]\s*/,/^\s*[xo<]?-\.(.*?)\.+-[xo>]?\s*/],Kl=/\blabel\s*:\s*(?:"([^"]*)"|'([^']*)'|([^,}\n]*))/;function Qr(e){let t=e.trim();return t.length>=2&&t.startsWith('"')&&t.endsWith('"')&&(t=t.slice(1,-1)),t.length>=2&&t.startsWith("`")&&t.endsWith("`")&&(t=t.slice(1,-1).replace(/(\*\*|__)(.+?)\1/g,"$2").replace(/(\*|_)(.+?)\1/g,"$2")),t.trim()}function Zl(e){let t=ql.exec(e);if(!t)return;let n=t[0].length,r;if(e.startsWith("@{",n)){let o=e.indexOf("}",n);if(o<0)return;let a=Kl.exec(e.slice(n+2,o));a&&(r=Qr(a[1]??a[2]??a[3]??"")),n=o+1}else{let o=Hl.find(([a])=>e.startsWith(a,n));if(o){let[a,s]=o,c=n+a.length,l=/^\s*"/.exec(e.slice(c));if(l){let g=e.indexOf('"',c+l[0].length);if(g<0)return;c=g+1}let u=s.map(g=>e.indexOf(g,c)).filter(g=>g>=0);if(u.length===0)return;let f=Math.min(...u);r=Qr(e.slice(n+a.length,f)),n=f+s.find(g=>e.startsWith(g,f)).length}}let i=/^:::[^\s&;]+/.exec(e.slice(n));return i&&(n+=i[0].length),{node:{id:t[0],label:r},length:n}}function Jl(e){let t=Gl.exec(e);if(t)return t[0].length;for(let n of Wl){let r=n.exec(e);if(r)return r[0].length}}function Yl(e){let t=[],n=e,r=!0;for(;n=n.replace(/^\s+/,""),n!=="";){if(n.startsWith(";")){n=n.slice(1),r=!0;continue}if(r){let i=Zl(n);if(!i)break;t.push(i.node),n=n.slice(i.length);let o=/^\s*&/.exec(n);o?n=n.slice(o[0].length):r=!1}else{let i=Jl(n);if(i===void 0)break;n=n.slice(i),r=!0}}return t}function ei(e,t){for(let n=t;n<e.length;n++){let r=e[n].trim();if(r===""||r.startsWith("%%"))continue;let i=Ul.exec(e[n]);return i?{index:n,match:i}:void 0}}function ti(e){let t=e.split(/\r?\n/);return ei(t,et(t))!==void 0}function ni(e,t){let n=e.split(/\r?\n/),r=et(n),i=ei(n,r),o=i?.match[1]??i?.match[2],a=o==="LR"||o==="RL"||o==="<"||o===">",s=new Map,c=new Set,l,u,f,g=!1,p=new Map;return n.forEach((m,h)=>{if(h<r)return;if(g){g=!m.includes("}");return}if(En.test(m)){l??=t+h;return}if(kn.test(m)){u??=t+h;return}let b=_n.exec(m);if(b){f={text:b[1],line:t+h};return}if(m.trim().startsWith("%%"))return;let E=zl.exec(m);if(E&&c.add(E[1]),/^\s*accDescr\s*\{/.test(m)&&!m.includes("}")){g=!0;return}if($l.test(m))return;let k=h===i?.index?m.slice(i.match[0].length):m,_=t+h,x=Yl(k),w=[];for(let{id:y,label:C}of x){let M=s.get(y);M||(M={index:s.size,line:_,text:y,nodeId:y,labeled:!1,refable:!1},s.set(y,M),w.push(y)),C!==void 0&&(M.text=C,M.labeled=!0,M.line=_)}if(x.length===0)return;let A=s.get(x.find(y=>y.label!==void 0)?.id??w[0]??x[0].id);p.set(_,A.nodeId),f&&(A.ref=f.text,A.refLine=f.line,f=void 0)}),{nodes:[...s.values()].filter(m=>!c.has(m.nodeId)).map((m,h)=>({...m,index:h,refable:p.get(m.line)===m.nodeId})),markerLine:l,legacyMarkerLine:u,horizontal:a}}var Xl=/^\s*<!--\s*link-headings:end\s*-->\s*$/,jl=/^\s*<!--\s*seq-notes:end\s*-->\s*$/;function Fe(e){return e.type==="fence"&&e.info.trim().split(/\s+/)[0]==="mermaid"}function Vl(e){if(Fe(e))return Xr(e.content)?"sequence":ti(e.content)?"flowchart":void 0}function tt(e){return e?e.children?e.children.map(t=>{switch(t.type){case"text":case"code_inline":return t.content;case"softbreak":case"hardbreak":return" ";default:return""}}).join(""):e.content:""}function Ql(e){let t=new Map;for(let r of e)t.set(r,(t.get(r)??0)+1);let n;for(let[r,i]of t){let o=n===void 0?0:t.get(n);(i>o||i===o&&r<n)&&(n=r)}return n}function xt(e,t=ce){let n=[],r=e.map((o,a)=>({token:o,index:a,kind:Vl(o)})).filter(o=>o.kind!==void 0).map(({token:o,index:a,kind:s},c)=>{let l=(o.map?.[0]??0)+1,u=s==="flowchart"?ni(o.content,l):void 0,{messages:f,markerLine:g,legacyMarkerLine:p}=u?{messages:u.nodes,markerLine:u.markerLine,legacyMarkerLine:u.legacyMarkerLine}:jr(o.content,l);if(p!==void 0&&n.push({line:p,message:t('"%% @seq-notes" is no longer supported. Write "%% @link-headings" instead.')}),g===void 0)for(let b of f.filter(E=>E.ref!==void 0))n.push({line:b.refLine??b.line,message:t(u?'@ref is ignored because the flowchart has no "%% @link-headings" marker.':'@ref is ignored because the sequence diagram has no "%% @link-headings" marker.')});else o.level!==0&&n.push({line:g,message:t(u?"@link-headings is ignored for a flowchart inside a list or blockquote.":"@link-headings is ignored for a sequence diagram inside a list or blockquote.")});let d=g!==void 0&&o.level===0,m=u?.horizontal??!1;return{id:c,kind:s,fenceIndex:a,rangeEnd:a+1,messages:f,unlinkedHeadings:[],headings:[],paired:d,stacked:m}}),i=new Set(r.filter(o=>o.paired).map(o=>o.fenceIndex));for(let o of e)o.level===0&&o.type==="html_block"&&jl.test(o.content)&&n.push({line:o.map?.[0]??0,message:t('"<!-- seq-notes:end -->" is no longer supported. Write "<!-- link-headings:end -->" instead.')});for(let o of r.filter(a=>a.paired)){let a=o.fenceIndex,s=a+1;for(;s<e.length;){let d=e[s];if(i.has(s)||d.level===0&&d.type==="html_block"&&Xl.test(d.content)||d.type==="footnote_block_open")break;s++}o.rangeEnd=s;let c=new Map,l=new Map,u=new Map,f=o.headings;for(let d=a+1;d<s;d++){let m=e[d],h=m.type==="heading_open"?m.attrGet("id"):null;if(h){let b=Ne(tt(e[d+1]));m.level===0&&f.push({index:d,id:String(h),level:Number(m.tag.slice(1)),line:m.map?.[0]??0,text:b,refTarget:!c.has(b)}),c.has(b)||c.set(b,String(h));let E=Vr(b);E&&(u.set(String(h),E),l.set(E.text,[...l.get(E.text)??[],String(h)]))}}for(let d of o.messages){let m=Ne(d.ref??d.text),h=d.number,b=l.get(m)??[],E=c.get(m)??b.find(k=>Number(u.get(k).value)===h)??b[0];if(E){d.target=E;let k=u.get(E);k&&h!==void 0&&(d.numberInHeading=Number(k.value)===h)}else d.ref!==void 0&&n.push({line:d.refLine??d.line,message:o.kind==="flowchart"?t('@ref target heading "{0}" was not found after the flowchart.',d.ref):t('@ref target heading "{0}" was not found after the sequence diagram.',d.ref)})}let g=new Set(o.messages.map(d=>d.target).filter(d=>d!==void 0));if(g.size===0)continue;for(let d of o.messages.filter(m=>!m.target&&m.labeled!==!1))d.unlinked=!0;let p=Ql(f.filter(d=>g.has(d.id)).map(d=>d.level));o.stepLevel=p,o.unlinkedHeadings=f.filter(d=>d.level===p&&!g.has(d.id)).map(d=>d.index)}return n.sort((o,a)=>o.line-a.line),{diagrams:r,warnings:n}}function eu(e,t,n,r){let i=Number(e[t].meta.id+1).toString(),o="";return typeof r.docId=="string"&&(o=`-${r.docId}-`),o+i}function tu(e,t){let n=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(n+=`:${e[t].meta.subId}`),`[${n}]`}function nu(e,t,n,r,i){let o=i.rules.footnote_anchor_name(e,t,n,r,i),a=i.rules.footnote_caption(e,t,n,r,i),s=o;return e[t].meta.subId>0&&(s+=`:${e[t].meta.subId}`),`<sup class="footnote-ref"><a href="#fn${o}" id="fnref${s}">${a}</a></sup>`}function ru(e,t,n){return(n.xhtmlOut?`<hr class="footnotes-sep" />
|
|
40
22
|
`:`<hr class="footnotes-sep">
|
|
41
23
|
`)+`<section class="footnotes">
|
|
42
24
|
<ol class="footnotes-list">
|
|
43
|
-
`}function
|
|
25
|
+
`}function iu(){return`</ol>
|
|
44
26
|
</section>
|
|
45
|
-
`}function
|
|
46
|
-
`}function
|
|
47
|
-
`
|
|
48
|
-
`);
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
27
|
+
`}function ou(e,t,n,r,i){let o=i.rules.footnote_anchor_name(e,t,n,r,i);return e[t].meta.subId>0&&(o+=`:${e[t].meta.subId}`),`<li id="fn${o}" class="footnote-item">`}function su(){return`</li>
|
|
28
|
+
`}function au(e,t,n,r,i){let o=i.rules.footnote_anchor_name(e,t,n,r,i);return e[t].meta.subId>0&&(o+=`:${e[t].meta.subId}`),` <a href="#fnref${o}" class="footnote-backref">\u21A9\uFE0E</a>`}function xn(e){let t=e.helpers.parseLinkLabel,n=e.utils.isSpace;e.renderer.rules.footnote_ref=nu,e.renderer.rules.footnote_block_open=ru,e.renderer.rules.footnote_block_close=iu,e.renderer.rules.footnote_open=ou,e.renderer.rules.footnote_close=su,e.renderer.rules.footnote_anchor=au,e.renderer.rules.footnote_caption=tu,e.renderer.rules.footnote_anchor_name=eu;function r(s,c,l,u){let f=s.bMarks[c]+s.tShift[c],g=s.eMarks[c];if(f+4>g||s.src.charCodeAt(f)!==91||s.src.charCodeAt(f+1)!==94)return!1;let p;for(p=f+2;p<g;p++){if(s.src.charCodeAt(p)===32)return!1;if(s.src.charCodeAt(p)===93)break}if(p===f+2||p+1>=g||s.src.charCodeAt(++p)!==58)return!1;if(u)return!0;p++,s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.refs||(s.env.footnotes.refs={});let d=s.src.slice(f+2,p-2);s.env.footnotes.refs[`:${d}`]=-1;let m=new s.Token("footnote_reference_open","",1);m.meta={label:d},m.level=s.level++,s.tokens.push(m);let h=s.bMarks[c],b=s.tShift[c],E=s.sCount[c],k=s.parentType,_=p,x=s.sCount[c]+p-(s.bMarks[c]+s.tShift[c]),w=x;for(;p<g;){let y=s.src.charCodeAt(p);if(n(y))y===9?w+=4-w%4:w++;else break;p++}s.tShift[c]=p-_,s.sCount[c]=w-x,s.bMarks[c]=_,s.blkIndent+=4,s.parentType="footnote",s.sCount[c]<s.blkIndent&&(s.sCount[c]+=s.blkIndent),s.md.block.tokenize(s,c,l,!0),s.parentType=k,s.blkIndent-=4,s.tShift[c]=b,s.sCount[c]=E,s.bMarks[c]=h;let A=new s.Token("footnote_reference_close","",-1);return A.level=--s.level,s.tokens.push(A),!0}function i(s,c){let l=s.posMax,u=s.pos;if(u+2>=l||s.src.charCodeAt(u)!==94||s.src.charCodeAt(u+1)!==91)return!1;let f=u+2,g=t(s,u+1);if(g<0)return!1;if(!c){s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.list||(s.env.footnotes.list=[]);let p=s.env.footnotes.list.length,d=[];s.md.inline.parse(s.src.slice(f,g),s.md,s.env,d);let m=s.push("footnote_ref","",0);m.meta={id:p},s.env.footnotes.list[p]={content:s.src.slice(f,g),tokens:d}}return s.pos=g+1,s.posMax=l,!0}function o(s,c){let l=s.posMax,u=s.pos;if(u+3>l||!s.env.footnotes||!s.env.footnotes.refs||s.src.charCodeAt(u)!==91||s.src.charCodeAt(u+1)!==94)return!1;let f;for(f=u+2;f<l;f++){if(s.src.charCodeAt(f)===32||s.src.charCodeAt(f)===10)return!1;if(s.src.charCodeAt(f)===93)break}if(f===u+2||f>=l)return!1;f++;let g=s.src.slice(u+2,f-1);if(typeof s.env.footnotes.refs[`:${g}`]>"u")return!1;if(!c){s.env.footnotes.list||(s.env.footnotes.list=[]);let p;s.env.footnotes.refs[`:${g}`]<0?(p=s.env.footnotes.list.length,s.env.footnotes.list[p]={label:g,count:0},s.env.footnotes.refs[`:${g}`]=p):p=s.env.footnotes.refs[`:${g}`];let d=s.env.footnotes.list[p].count;s.env.footnotes.list[p].count++;let m=s.push("footnote_ref","",0);m.meta={id:p,subId:d,label:g}}return s.pos=f,s.posMax=l,!0}function a(s){let c,l,u,f=!1,g={};if(!s.env.footnotes||(s.tokens=s.tokens.filter(function(d){return d.type==="footnote_reference_open"?(f=!0,l=[],u=d.meta.label,!1):d.type==="footnote_reference_close"?(f=!1,g[":"+u]=l,!1):(f&&l.push(d),!f)}),!s.env.footnotes.list))return;let p=s.env.footnotes.list;s.tokens.push(new s.Token("footnote_block_open","",1));for(let d=0,m=p.length;d<m;d++){let h=new s.Token("footnote_open","",1);if(h.meta={id:d,label:p[d].label},s.tokens.push(h),p[d].tokens){c=[];let k=new s.Token("paragraph_open","p",1);k.block=!0,c.push(k);let _=new s.Token("inline","",0);_.children=p[d].tokens,_.content=p[d].content,c.push(_);let x=new s.Token("paragraph_close","p",-1);x.block=!0,c.push(x)}else p[d].label&&(c=g[`:${p[d].label}`]);c&&(s.tokens=s.tokens.concat(c));let b;s.tokens[s.tokens.length-1].type==="paragraph_close"?b=s.tokens.pop():b=null;let E=p[d].count>0?p[d].count:1;for(let k=0;k<E;k++){let _=new s.Token("footnote_anchor","",0);_.meta={id:d,subId:k,label:p[d].label},s.tokens.push(_)}b&&s.tokens.push(b),s.tokens.push(new s.Token("footnote_close","",-1))}s.tokens.push(new s.Token("footnote_block_close","",-1))}e.block.ruler.before("reference","footnote_def",r,{alt:["paragraph","reference"]}),e.inline.ruler.after("image","footnote_inline",i),e.inline.ruler.after("footnote_inline","footnote_ref",o),e.core.ruler.after("inline","footnote_tail",a)}var fs=jt(ds(),1);var On=fs.default;function _f(e,t){if(!t||!On.getLanguage(t))return"";try{return On.highlight(e,{language:t,ignoreIllegals:!0}).value}catch{return""}}var gs=/^(?:"[^"]*"|'[^']*'|[^\s#:"'-][^:]*?)\s*:(?:\s|$)/,Lt=e=>/^(["']).*\1$/.test(e)?e.slice(1,-1):e;function ps(e){let t=/^(["'])(?:(?!\1).)*\1/.exec(e);if(t)return/^\s*(?:#.*)?$/.test(e.slice(t[0].length))?t[0]:e;let n=/(?:^|\s)#/.exec(e);return n?e.slice(0,n.index).trimEnd():e}function In(e){let t=[];for(let n of e.split(/\r?\n/)){let r=/^\S/.test(n)?gs.exec(n):null;r?t.push({key:Lt(r[0].replace(/\s*:\s*$/,"")),rest:ps(n.slice(r[0].length).trim()),lines:[]}):t.length>0&&!/^#/.test(n)&&t[t.length-1].lines.push(n)}return t.map(({key:n,rest:r,lines:i})=>{for(;i.length>0&&i[i.length-1].trim()==="";)i.pop();let o=Math.min(...i.filter(c=>c.trim()!=="").map(c=>/^\s*/.exec(c)[0].length)),a=i.map(c=>c.slice(o)),s;return/^[|>][+-]?\d*$/.test(r)?s=a.join(r.startsWith(">")?" ":`
|
|
29
|
+
`):r===""&&a.length>0&&a.every(c=>/^-(\s|$)/.test(c))?s=a.map(c=>Lt(ps(c.slice(1).trim()))).join(", "):a.length===0&&/^\[.*\]$/.test(r)?s=r.slice(1,-1).split(",").map(c=>Lt(c.trim())).filter(c=>c!=="").join(", "):s=[Lt(r),...a].filter((c,l)=>l>0||c!=="").join(`
|
|
30
|
+
`),{key:n,value:s}})}function st(e,t){let n=e.find(r=>r.key===t)?.value;return n?.trim()?n:void 0}var Ef="design_doc";function Ln(e){return e.find(t=>t.key==="type")?.value.trim()===Ef}var ot=[{key:"version",label:"Version"},{key:"product",label:"Product"},{key:"status",label:"Status"},{key:"updated",label:"Updated"}];function kf(e){e.block.ruler.before("table","seqnotes_front_matter",(t,n,r,i)=>{let o=a=>t.src.slice(t.bMarks[a],t.eMarks[a]).trimEnd();if(n!==0||t.parentType!=="root"||o(0)!=="---"||r<2||!gs.test(o(1)))return!1;for(let a=1;a<r;a++)if(o(a)==="---"||o(a)==="..."){if(!i){let s=t.push("front_matter","",0);s.block=!0,s.map=[0,a+1],s.content=a>1?t.src.slice(t.bMarks[1],t.eMarks[a-1]):""}return t.line=a+1,!0}return!1}),e.renderer.rules.front_matter=(t,n,r,i,o)=>{let a=i?.frontMatter===!1?[]:In(t[n].content),s=e.utils.escapeHtml,c=t[n],l=(b,E="")=>`<table${E} class="seqnotes-front-matter">
|
|
31
|
+
<tbody>
|
|
32
|
+
`+b.map(({key:k,value:_})=>`<tr><th>${s(k)}</th><td>${s(_)}</td></tr>
|
|
33
|
+
`).join("")+`</tbody>
|
|
34
|
+
</table>
|
|
35
|
+
`;if(!Ln(a))return a.length===0?"":l(a,o.renderAttrs(c));let u=i?.t??ce,f=b=>st(a,b),g=f("title"),p=ot.flatMap(({key:b,label:E})=>{let k=f(b);return k===void 0?[]:[`<div class="seqnotes-doc-${b}"><dt>${s(u(E))}</dt><dd>${s(k)}</dd></div>
|
|
36
|
+
`]}),d=a.filter(({key:b})=>b!=="type"&&b!=="title"&&!ot.some(E=>E.key===b)),m=g===void 0&&p.length===0?"":`<div class="seqnotes-doc-headline">
|
|
37
|
+
`+(g===void 0?"":`<div class="seqnotes-doc-title">${s(g)}</div>
|
|
38
|
+
`)+(p.length===0?"":`<dl class="seqnotes-doc-meta">
|
|
39
|
+
${p.join("")}</dl>
|
|
40
|
+
`)+`</div>
|
|
41
|
+
`;if(m===""&&d.length===0)return"";c.attrJoin("class","seqnotes-doc-header");let h=d.length===0?"":`<details class="seqnotes-doc-more">
|
|
42
|
+
<summary>${s(u("Other metadata ({0})",d.length))}</summary>
|
|
43
|
+
${l(d)}</details>
|
|
44
|
+
`;return`<div${o.renderAttrs(c)}>
|
|
45
|
+
${m}${h}</div>
|
|
46
|
+
`}}var wf=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\][ \t]*(?:\n|$)/i,xf={note:["info","M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"],tip:["light-bulb","M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"],important:["report","M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"],warning:["alert","M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"],caution:["stop","M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"]};function vf(e){let[t,n]=xf[e];return`<svg class="octicon octicon-${t}" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="${n}"></path></svg>`}function yf(e){e.core.ruler.after("block","seqnotes_alerts",t=>{let n=t.tokens;for(let r=0;r<n.length;r++){let i=n[r],o=n[r+2];if(i.type!=="blockquote_open"||i.level!==0||n[r+1]?.type!=="paragraph_open"||o?.type!=="inline")continue;let a=wf.exec(o.content);if(!a)continue;let s=a[1].toLowerCase(),c=r+1;for(;n[c].type!=="blockquote_close"||n[c].level!==i.level;)c++;if(a[0].length===o.content.length&&c===r+4)continue;i.tag="div",i.attrJoin("class",`markdown-alert markdown-alert-${s}`),n[c].tag="div",o.content=o.content.slice(a[0].length);let l=n[r+1];l.map&&o.content!==""&&(l.map=[l.map[0]+1,l.map[1]]);let u=[new t.Token("paragraph_open","p",1),new t.Token("inline","",0),new t.Token("paragraph_close","p",-1)];u[0].attrSet("class","markdown-alert-title"),u[0].map=i.map,u[1].content=s[0].toUpperCase()+s.slice(1);let f=new t.Token("html_inline","",0);f.content=vf(s),u[1].children=[f],u.forEach((g,p)=>g.level=i.level+(p===1?2:1)),u[0].block=u[2].block=!0,n.splice(r+1,o.content===""?3:0,...u)}})}var Rf=/^\[([ xX])\](?=\s|$)\s*/;function Af(e){e.core.ruler.after("inline","seqnotes_task_lists",t=>{let n=t.tokens;for(let r=0;r<n.length;r++){let i=n[r+2],o=i?.children?.[0];if(n[r].type!=="list_item_open"||n[r+1].type!=="paragraph_open"||i.type!=="inline"||o?.type!=="text")continue;let a=Rf.exec(o.content);if(!a)continue;o.content=o.content.slice(a[0].length);let s=new t.Token("html_inline","",0);s.content=`<input class="task-list-item-checkbox" type="checkbox" disabled${a[1]===" "?"":" checked"}> `,i.children.unshift(s),n[r].attrJoin("class","task-list-item")}})}function hs(e){e.set({highlight:_f}),e.use(kf).use(yf).use(Af)}function ms(e){return e.trim().toLowerCase().replace(/[^\p{L}\p{N}\s_-]/gu,"").replace(/\s+/g,"-")||"section"}var Cf=/^<!--\s*table:([^]*?)-->\s*$/;function Nf(e){let t=[],n=0,r=()=>{for(;n<e.length&&/\s/.test(e[n]);)n++},i=o=>{o.lastIndex=n;let a=o.exec(e),s=a&&a.index===n?a[0]:"";return n+=s.length,s};for(r();n<e.length;r()){let o=i(/[^\s=]+/g);if(e[n]!=="="){t.push({key:o||e[n++],values:[]});continue}n++;let a=[];for(;;){let s;if(e[n]==='"'){let l=e.indexOf('"',n+1);s=e.slice(n+1,l<0?e.length:l),n=l<0?e.length:l+1}else s=i(/[^\s,"]+/g);a.push(s.trim());let c=n;if(r(),e[n]!==","){n=c;break}n++,r()}t.push({key:o,values:a.filter(s=>s!=="")})}return t}function Tf(e){let t=e.filter(i=>i!==void 0),n=t.length===0?0:Math.min(...t),r=[];return e.map(i=>{let o=i??n;for(;r.length>0&&r[r.length-1]>=o;)r.pop();return r.push(o),r.length-1})}function Df(e){let t=new Array(e.length),n=[];for(let o=e.length-1;o>=0;o--){let a=e[o];t[o]=n[a]===!0,n[a]=!0,n.length=a+1}let r=[];return{guides:e.map((o,a)=>{let s=[];for(let c=0;c<o-1;c++)s.push(r[c+1]?"pipe":"blank");return o>0&&s.push(t[a]?"tee":"elbow"),r[o]=t[a],s}),parent:e.map((o,a)=>a+1<e.length&&e[a+1]>o)}}function Sf(e,t){let n=[],r=!1;for(let i=t+1;i<e.length&&e[i].type!=="table_close";i++){let o=e[i];o.type==="thead_open"||o.type==="thead_close"?r=o.type==="thead_open":o.type==="tr_open"?n.push({open:i,head:r,cells:[]}):(o.type==="th_open"||o.type==="td_open")&&e[i+1]?.type==="inline"&&n[n.length-1]?.cells.push({open:i,inline:e[i+1]})}return n}var Mf=e=>(e.children??[]).filter(t=>t.type==="text"||t.type==="code_inline"||t.type==="text_special").map(t=>t.content).join("").trim();function Of(e,t,n,r,i){let o=e.tokens,a=[],s=(R,N=r)=>{a.push({line:N,message:R})},c=Sf(o,t),l=c.find(R=>R.head);if(!l)return a;let u=l.cells.map(R=>[R.inline.content.trim(),Mf(R.inline)]),f=new Set,g=R=>{let N=u.findIndex(B=>B.includes(R));if(N<0){s(i('No column "{0}" in the table.',R));return}if(f.has(N)){s(i('Column "{0}" is given twice in the table options.',R));return}return f.add(N),N},p,d=!1,m=[];for(let R of n)if(R.key==="level")d?s(i('Write "level=" only once in the table options.')):R.values.length!==1?s(i('Write one column for the level: "level=<column>".')):p=g(R.values[0]),d=!0;else if(R.key==="merge"&&R.values.length>=2){let N=R.values.map(g).filter(B=>B!==void 0);N.length>=2&&m.push(N)}else R.key==="merge"?s(i('Write two or more columns to merge: "merge=<column>,<column>".')):s(i('Unknown table option "{0}". Write "level=<column>" or "merge=<column>,<column>".',R.key));let h=R=>{let N=new e.Token("html_inline","",0);return N.content=R,N},b=R=>!R||R.inline.content.trim()==="",E=new Set,k=R=>{R&&!E.has(R.open)&&(E.add(R.open),o[R.open].attrJoin("class","seqnotes-cell-hidden"))},_=()=>{if(m.length===0&&p===void 0)return;o[t].attrJoin("class","seqnotes-item-table");let R=l.cells.filter(v=>!E.has(v.open)).pop();if(!R)return;o[R.open].attrJoin("class","seqnotes-table-plain-cell");let N=e.md.utils.escapeHtml(i("Show as a plain table")),B='<svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true"><path d="M2.5 2.5h11v11h-11zM2.5 6h11M2.5 9.75h11M6.5 6v7.5M10 6v7.5" fill="none" stroke="currentColor" stroke-width="1.2"/></svg>';R.inline.children=[...R.inline.children??[],h(`<button type="button" class="seqnotes-table-plain-toggle" aria-pressed="false" aria-label="${N}" title="${N}">${B}</button>`)]};for(let R of c)for(let[N,...B]of m){let v=R.cells[N];if(!v)continue;let D=[h('<span class="seqnotes-cell-main">'),...v.inline.children??[],h("</span>")];for(let S of B){let P=R.cells[S];b(P)||D.push(h('<span class="seqnotes-cell-sub">'),...P.inline.children??[],h("</span>")),k(P)}v.inline.children=D}if(p===void 0)return _(),a;let x=p,w=x+1<u.length?x+1:x-1;w=m.find(R=>R.includes(w))?.[0]??w;let A=c.filter(R=>!R.head),y=Tf(A.map(R=>{let N=wn(R.cells[x]?.inline.content.trim()??"");if(/^\d+$/.test(N))return Number(N);s(i('The level "{0}" is not an integer.',N),o[R.open].map?.[0]??r)})),{guides:C,parent:M}=Df(y);o[t].attrJoin("class","seqnotes-tree-table");for(let R of c)k(R.cells[x]);let F=w>=0?l.cells[w]:void 0;if(_(),!F)return a;o[F.open].attrJoin("class","seqnotes-tree-head");let O=e.md.utils.escapeHtml(i("Child rows"));return A.forEach((R,N)=>{let B=o[R.open];B.attrSet("data-seqnotes-depth",String(y[N]));let v=R.cells[w];if(!v)return;let D=o[v.open];D.attrJoin("class","seqnotes-tree-cell");let S=D.attrGet("style");D.attrSet("style",`${S?`${S};`:""}--seqnotes-depth:${y[N]}`);let P='<span class="seqnotes-tree-guides" aria-hidden="true">';P+=C[N].map(H=>`<span class="seqnotes-tree-${H}"></span>`).join(""),M[N]&&(B.attrJoin("class","seqnotes-tree-parent"),P+='<span class="seqnotes-tree-stem"></span>'),P+="</span>",M[N]&&(P+=`<button type="button" class="seqnotes-tree-toggle" aria-expanded="true" aria-label="${O}" title="${O}"></button>`),v.inline.children=[h(P),...v.inline.children??[]]}),a}var bs="seqNotesTableWarnings";function _s(e){e.core.ruler.after("inline","seqnotes_table_options",t=>{let n=t.env?.t??ce,r=t.tokens;for(let i=0;i<r.length;i++){let o=r[i],a=o.type==="html_block"?Cf.exec(o.content.trim()):null;if(!a)continue;let s=o.map?.[0]??0,c=r[i+1]?.type==="table_open"?Of(t,i+1,Nf(a[1]),s,n):[{line:s,message:n("The table options are not followed by a table.")}];c.length>0&&(o.meta={...o.meta,[bs]:c})}})}function Ft(e){return e.flatMap(t=>t.meta?.[bs]??[])}var j=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""");function Lf(e,t){let n=e?.content??"";for(let r of e?.children??[]){if(r.type!=="footnote_ref")continue;let i=r.meta?.id,o=i===void 0?void 0:t.footnotes?.list?.[i],a=o?.label!==void 0?`[^${o.label}]`:o?.content!==void 0?`^[${o.content}]`:void 0;a&&(n=n.split(a).join(""))}return n}function Ff(e){e.core.ruler.push("seqnotes_heading_ids",t=>{let n=new Set,r=t.tokens;for(let i=0;i<r.length;i++){if(r[i].type!=="heading_open")continue;let o="sn-"+ms(Lf(r[i+1],t.env)),a=o;for(let s=1;n.has(a);s++)a=`${o}-${s}`;n.add(a),r[i].attrSet("id",a)}})}function Bf(e){e.core.ruler.push("seqnotes_source_lines",t=>{if(t.env?.forExport)return;let n=!1;for(let r of t.tokens)r.type==="footnote_block_open"||r.type==="footnote_block_close"?n=r.nesting===1:r.map&&r.nesting!==-1&&!n&&r.attrSet("data-line",String(r.map[0]))})}function Pf(e){let t=e.renderer.rules.fence;e.renderer.rules.fence=(n,r,i,o,a)=>{let s=n[r];if(!Fe(s))return t(n,r,i,o,a);let c=s.meta?.seqNotes,l=o?.forExport===!0,u=o?.headingNumbers!==!1,f=s.attrGet("data-line"),g=f===null?"":` data-line="${f}"`;for(let p of["data-seqnotes-diff","data-seqnotes-diff-old"]){let d=s.attrGet(p);d!==null&&(g+=` ${p}="${j(String(d))}"`)}if(c){let p={id:c.id,kind:c.kind,paired:c.paired,messages:c.messages.map(({index:d,line:m,text:h,nodeId:b,number:E,numberInHeading:k,target:_,unlinked:x})=>({index:d,line:m,text:h,nodeId:b,number:u?E:void 0,numberInHeading:k,target:_,unlinked:l?void 0:x}))};g+=` data-seqnotes-meta="${j(JSON.stringify(p))}"`}return`<div class="seqnotes-mermaid"${g}><pre class="seqnotes-mermaid-src">${j(s.content)}</pre></div>
|
|
47
|
+
`}}function Uf(e){let t=e.renderer.rules.image;e.renderer.rules.image=(n,r,i,o,a)=>{let s=n[r],c=s.attrGet("src");return c&&o?.resolveResource&&s.attrSet("src",o.resolveResource(String(c))),t(n,r,i,o,a)}}function Es(){let e=wt({html:!0,linkify:!0});return e.use(xn).use(hs).use(_s).use(Ff).use(Bf).use(Pf).use(Uf),e}function ks(e,t,n={}){return Fn(e,e.parse(t,n),n)}function Fn(e,t,n){let r=n.t??ce,{diagrams:i,warnings:o}=xt(t,r),a=[...o,...Ft(t)].sort((u,f)=>u.line-f.line);for(let u of i){let f=t[u.fenceIndex];f.meta={...f.meta,seqNotes:u};let g=u.kind==="flowchart";for(let p of n.forExport?[]:u.unlinkedHeadings)t[p].attrJoin("class","seqnotes-unlinked"),t[p].attrSet("title",r(g?"No node in the flowchart is linked to this heading.":"No arrow in the sequence diagram is linked to this heading.")),t[p].attrSet("data-seqnotes-mark",r(g?"no node":"no arrow"))}let s=u=>e.renderer.render(u,e.options,n),c="";if(a.length>0&&!n.forExport){let u=a.map(f=>f.message).join(`
|
|
48
|
+
`);c+=`<div class="seqnotes-warnings" data-seqnotes-key="${j(u)}">`;for(let f of a)c+=`<p data-seqnotes-jump="${f.line}">${j(r("\u26A0 Line {0}: {1}",f.line+1,f.message))}</p>`;c+=`</div>
|
|
49
|
+
`}let l=0;for(let u of i)u.paired&&(c+=s(t.slice(l,u.fenceIndex)),c+=`<div class="seqnotes-pair${u.stacked?" seqnotes-pair-stacked":""}" data-diagram="${u.id}">`,c+=`<div class="seqnotes-seq-col">${s(t.slice(u.fenceIndex,u.fenceIndex+1))}</div>`,c+=`<div class="seqnotes-overview-col">${s(t.slice(u.fenceIndex+1,u.rangeEnd))}</div>`,c+=`</div>
|
|
50
|
+
`,l=u.rangeEnd);return c+=s(t.slice(l)),c}var $f=/[\p{L}\p{N}_]+|\s+|[^]/gu,zf=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}]/u;function xs(e){try{return typeof Intl.Segmenter=="function"?new Intl.Segmenter(e,{granularity:"word"}):void 0}catch{return}}function ws(e,t){let n=[];for(let[r]of e.matchAll($f))if(r.length>1&&zf.test(r))if(t)for(let{segment:i}of t.segment(r))n.push(i);else n.push(...r);else n.push(r);return n}var qf=2e3;function Hf(e,t){return Ge(e,t,{maxEditLength:qf})?.map(n=>({type:n.added?"added":n.removed?"removed":"equal",tokens:n.value}))}function vs(e,t,n){if(e===t)return 1;let r=e.length+t.length;if(r===0)return 1;let i=0;for(let o of Hf(ws(e,n),ws(t,n))??[])o.type==="equal"&&(i+=o.tokens.join("").length);return 2*i/r}var Gf=.4,ys=new Set(["bullet_list_open","ordered_list_open","table_open"]),Wf=new Set(["fence","html_block","front_matter"]),Rs=e=>Wf.has(e.type)&&!Fe(e),Kf=/^\s*(?:<!--[^]*?-->\s*)+$/,Zf=/^[ \t]*(?:[-*+]|\d{1,9}[.)])[ \t]?/,Jf=new Set(["fence","mermaid","code_block","html_block"]),Yf=2500;function Xf(e){return e.type==="heading_open"?e.tag:e.type==="fence"?Fe(e)?"mermaid":"fence":e.type}function Bt(e,t,n,r,i,o){let a=[];for(let s=n;s<r;){let c=e[s];if(c.level!==i||c.nesting===-1||!c.block){s++;continue}let l=s;if(c.nesting===1)for(;l<r&&!(e[l].level===i&&e[l].nesting===-1);)l++;if(c.map){let u=Xf(c),f=t.slice(c.map[0],c.map[1]).join(`
|
|
51
|
+
`);c.type==="list_item_open"&&(f=f.replace(Zf,"")),f=Jf.has(u)?f.trimEnd():f.replace(/\s+/g," ").trim();let g=c.type==="html_block"&&Kf.test(c.content)||c.type==="front_matter"&&o.frontMatter===!1;a.push({start:s,end:l+1,key:f,kind:u,hidden:g})}s=l+1}return a}function jf(e,t,n){let r=[],i=[],o=[],a=()=>{let l=[],u=i.length*o.length<=Yf,f=0;o.forEach((d,m)=>{let h=i.findIndex((b,E)=>E>=f&&n(b,d,u));h>=0&&(l.push([h,m]),f=h+1)});let g=0,p=0;for(let[d,m]of[...l,[i.length,o.length]]){for(;g<d;)r.push({type:"deleted",before:i[g++]});for(;p<m;)r.push({type:"added",after:o[p++]});d<i.length&&(r.push({type:"changed",before:i[d],after:o[m]}),g=d+1,p=m+1)}i=[],o=[]},s=0,c=0;for(let l of Ge(e.map(u=>u.key),t.map(u=>u.key)))if(l.removed)i.push(...e.slice(s,s+=l.count));else if(l.added)o.push(...t.slice(c,c+=l.count));else{a();for(let u=0;u<l.count;u++)r.push({type:"equal",before:e[s++],after:t[c++]})}return a(),r}function As(e,t,n,r={}){let i=xs(),o={resolveResource:r.resolveResource,t:r.t,frontMatter:r.frontMatter,headingNumbers:r.headingNumbers,forExport:!0,docId:"seqnotes-old"},a=e.parse(t,o),s=e.parse(n,r);for(let w of a)w.type==="heading_open"&&w.attrs&&(w.attrs=w.attrs.filter(([A])=>A!=="id"));let c=t.split(/\r\n?|\n/),l=n.split(/\r\n?|\n/),u=[],f={added:0,changed:0,deleted:0},g=new Map,p=(w,A)=>{g.set(w,[...g.get(w)??[],A])},d=(w,A)=>{let y=new wt.Token("html_block","",0);return y.content=w,y.block=!0,y.level=A,y},m=(w,A)=>`<div class="seqnotes-diff-block" data-seqnotes-diff="${w}">
|
|
52
|
+
${A}</div>
|
|
53
|
+
`,h=w=>e.renderer.render(a.slice(w.start,w.end),e.options,o),b=(w,A,y)=>{let C=s[w.start];if(Rs(C)){let M=y===void 0?"":` data-seqnotes-diff-old="${y}"`;p(w.start,d(`<div class="seqnotes-diff-block" data-seqnotes-diff="${A}"${M}>
|
|
54
|
+
`,C.level)),p(w.end,d(`</div>
|
|
55
|
+
`,C.level));return}C.attrSet("data-seqnotes-diff",A),y!==void 0&&C.attrSet("data-seqnotes-diff-old",String(y))},E=(w,A,y)=>w.kind===A.kind&&(ys.has(w.kind)||w.kind==="mermaid"||y&&vs(w.key,A.key,i)>=Gf),k=(w,A,y)=>{let C=Number(w[A.start].attrGet("start")??1);y.forEach((M,F)=>w[M.start].attrSet("value",String(C+F)))},_=(w,A,y)=>{let C=jf(w,A,E),M=[],F=O=>{for(let R of M){let N=a[R.start],B;Rs(N)?B=m("deleted",h(R)):(N.attrSet("data-seqnotes-diff","deleted"),B=h(R)),p(O,d(B,y)),f.deleted++}M=[]};for(let O of C){if(O.type==="deleted"){O.before.hidden||M.push(O.before);continue}if(F(O.after.start),!O.after.hidden){if(O.type==="added")b(O.after,"added"),f.added++;else if(O.type==="changed"){let R=O.after.kind;if(ys.has(R)){let N=R==="table_open"?2:1,B=Bt(a,c,O.before.start+1,O.before.end-1,y+N,o),v=Bt(s,l,O.after.start+1,O.after.end-1,y+N,r);R==="ordered_list_open"&&(k(a,O.before,B),k(s,O.after,v)),_(B,v,y+N)}else u.push(h(O.before)),b(O.after,"changed",u.length-1),f.changed++}}}F(A.length>0?A[A.length-1].end:0)};_(Bt(a,c,0,a.length,0,o),Bt(s,l,0,s.length,0,r),0);let x=[];for(let w=0;w<=s.length;w++)x.push(...g.get(w)??[]),w<s.length&&x.push(s[w]);return{html:Fn(e,x,r),old:u,stats:f}}var Pt={"splitter-title":"Drag to resize, double-click to reset","hide-warnings-title":"Hide warnings","toc-title":"Contents","zoom-title":"Zoom diagram","zoom-image-title":"Zoom image","zoom-in-title":"Zoom in","zoom-out-title":"Zoom out","zoom-fit-title":"Fit to window","zoom-close-title":"Close","diff-added":"{0} added","diff-changed":"{0} changed","diff-deleted":"{0} deleted","diff-no-changes":"No changes","diff-previous-title":"Previous change","diff-next-title":"Next change","diff-close-title":"Stop comparing","diff-hide-title":"Hide changes","diff-show-title":"Show changes","diff-old-diagram":"Diagram before the change"};var Vf={apng:"image/apng",avif:"image/avif",bmp:"image/bmp",gif:"image/gif",ico:"image/x-icon",jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",webp:"image/webp"};function Cs(e){return Vf[e.split(".").pop()?.toLowerCase()??""]}var Qf=/^[a-z][a-z0-9+.-]*:/i;function ep(e){try{return decodeURIComponent(e)}catch{return e}}var tp=e=>Qf.test(e)||e.startsWith("//")||e.startsWith("#");function Ns(e){let[t]=e.split(/[?#]/,1);return ep(t)}function Bn(e){return e[0]?.type==="front_matter"?In(e[0].content):[]}function Ts(e,t){let n=st(Bn(e),"title")?.trim();if(n)return n;let r=e.findIndex(i=>i.type==="heading_open"&&i.tag==="h1");return r>=0&&tt(e[r+1]).trim()||t}function Ds(e){return`${e.replace(/\.(md|markdown)$/i,"")}.html`}var Ss="seqnotes-export-resource:",np=new RegExp(`${Ss}(\\d+)`,"g");async function Ms(e,t){let n=[],r=e(o=>tp(o)?o:(n.push(o),`${Ss}${n.length-1}`)),i=await Promise.all(n.map(async o=>{let a=await t(o),s=/[?#].*$/s.exec(o)?.[0]??"";return a.startsWith("data:")?a:a+s}));return{result:r,resolve:o=>o.replace(np,(a,s)=>j(i[Number(s)]))}}async function Os(e,t,n,r){let{result:i,resolve:o}=await Ms(a=>ks(e,t,{...n,forExport:!0,resolveResource:a}),r);return o(i)}async function Is(e,t,n,r,i){let{result:o,resolve:a}=await Ms(s=>As(e,t,n,{...r,forExport:!0,resolveResource:s}),i);return{html:a(o.html),old:o.old.map(a),stats:o.stats}}function Ls(e){return e.replace(/\n?(?:\/\/# sourceMappingURL=.*|\/\*# sourceMappingURL=.*\*\/)\s*$/,"")}var rp=["diff-added","diff-changed","diff-deleted","diff-no-changes","diff-previous-title","diff-next-title","diff-hide-title","diff-show-title"];function Fs({label:e,stats:t},n){return{label:e,stats:t,titles:Object.fromEntries(rp.map(r=>[`data-seqnotes-${r}`,n(Pt[r])]))}}function Pn({lang:e,title:t,body:n,styles:r,script:i,settings:o,diff:a}){let s=["seqnotes-export",...o.limitContentWidth?["seqnotes-limit-width"]:[],...o.stickyTableHeader?["seqnotes-sticky-table-header"]:[],...o.tableTreeHighlight?["seqnotes-table-tree-highlight"]:[]],c=Number.isFinite(Number(o.splitMinWidth))?Number(o.splitMinWidth):1e3,l=a?Object.entries({"data-seqnotes-diff-label":a.label,"data-seqnotes-diff-stats":`${a.stats.added},${a.stats.changed},${a.stats.deleted}`,...a.titles}).map(([u,f])=>` ${u}="${j(f)}"`).join(""):"";return`<!DOCTYPE html>
|
|
56
|
+
<html lang="${j(e)}">
|
|
52
57
|
<head>
|
|
53
58
|
<meta charset="UTF-8">
|
|
54
59
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
55
|
-
<title>${
|
|
60
|
+
<title>${j(t)}</title>
|
|
56
61
|
<style>
|
|
57
62
|
${r.join(`
|
|
58
63
|
`).replace(/<\/style/gi,"<\\/style")}
|
|
59
64
|
</style>
|
|
60
65
|
</head>
|
|
61
|
-
<body data-seqnotes-theme="light" class="${
|
|
66
|
+
<body data-seqnotes-theme="light" class="${s.join(" ")}" data-seqnotes-split-min-width="${c}"${l}>
|
|
62
67
|
<div id="seqnotes-root">${n}</div>
|
|
63
68
|
<script>
|
|
64
69
|
${i.replace(/<\/script/gi,"<\\/script")}
|
|
65
70
|
</script>
|
|
66
71
|
</body>
|
|
67
72
|
</html>
|
|
68
|
-
`}var
|
|
73
|
+
`}var Un=`Usage: md-design-doc export <file|folder>... [options]
|
|
69
74
|
|
|
70
75
|
Exports Markdown design docs to single HTML files, like the "Export Design Doc as HTML" command.
|
|
71
76
|
Folders are searched for *.md and *.markdown files (except in node_modules and folders starting with a dot).
|
|
@@ -82,39 +87,47 @@ Options:
|
|
|
82
87
|
--no-heading-numbers Do not show the arrow numbers (autonumber) on the linked headings.
|
|
83
88
|
--no-front-matter Hide the YAML front matter.
|
|
84
89
|
--no-sticky-table-header Do not keep the header row of long tables at the top.
|
|
90
|
+
--no-table-tree-highlight
|
|
91
|
+
Do not highlight the parents and children of the row under the pointer in the
|
|
92
|
+
tables shown as trees.
|
|
85
93
|
--chrome <path> Chrome or Chromium to render the diagrams with. Default: $CHROME_PATH, a Chromium of
|
|
86
94
|
the Playwright cache, or the Google Chrome installed on the system.
|
|
87
|
-
--strict Fail when a document has a
|
|
95
|
+
--strict Fail when a document has a warning (a broken @ref, a misplaced marker, or table
|
|
96
|
+
options that cannot be applied).
|
|
97
|
+
--diff-base <rev> Show the changes of each document since the git revision <rev> (a tag, a commit or a
|
|
98
|
+
branch), as the preview compares a document with a revision. Requires git.
|
|
88
99
|
--index Also write index.html, a list of the exported documents, in --out-dir.
|
|
89
100
|
--index-title <title> Title of index.html. Default: "Design Docs" in --lang.
|
|
101
|
+
--index-design-docs List only the design docs (type: design_doc in their front matter) in index.html.
|
|
90
102
|
-h, --help Show this help.
|
|
91
103
|
-v, --version Show the version.
|
|
92
104
|
|
|
93
|
-
Exit status: 0 when all the files were exported, 1 when one failed (or with --strict, had a
|
|
94
|
-
2 for a wrong command line.`,
|
|
95
|
-
`,
|
|
96
|
-
`,
|
|
105
|
+
Exit status: 0 when all the files were exported, 1 when one failed (or with --strict, had a warning),
|
|
106
|
+
2 for a wrong command line.`,te=class extends Error{};function Ps(e,t){let n;try{n=(0,Bs.parseArgs)({args:e,allowPositionals:!0,options:{"out-dir":{type:"string",short:"o"},root:{type:"string"},lang:{type:"string"},"diagram-look":{type:"string"},"split-min-width":{type:"string"},"full-width":{type:"boolean"},"no-heading-numbers":{type:"boolean"},"no-front-matter":{type:"boolean"},"no-sticky-table-header":{type:"boolean"},"no-table-tree-highlight":{type:"boolean"},chrome:{type:"string"},strict:{type:"boolean"},"diff-base":{type:"string"},index:{type:"boolean"},"index-title":{type:"string"},"index-design-docs":{type:"boolean"},help:{type:"boolean",short:"h"},version:{type:"boolean",short:"v"}}})}catch(l){throw new te(l instanceof Error?l.message:String(l))}let{values:r,positionals:i}=n;if(r.help)return{command:"help"};if(r.version)return{command:"version"};let[o,...a]=i;if(o===void 0)throw new te("No command given.");if(o!=="export")throw new te(`Unknown command: ${o}`);if(a.length===0)throw new te("No file or folder to export.");let s=r["diagram-look"]??"neo";if(s!=="neo"&&s!=="classic")throw new te(`--diagram-look must be neo or classic: ${s}`);let c=Number(r["split-min-width"]??1e3);if(!Number.isFinite(c)||c<0)throw new te(`--split-min-width must be a number of pixels: ${r["split-min-width"]}`);if(r["diff-base"]!==void 0&&r["diff-base"].trim()==="")throw new te("--diff-base must be a git revision.");if(r.index&&r["out-dir"]===void 0)throw new te("--index requires --out-dir.");if(r["index-title"]!==void 0&&!r.index)throw new te("--index-title requires --index.");if(r["index-design-docs"]&&!r.index)throw new te("--index-design-docs requires --index.");return{command:"export",inputs:a.map(l=>(0,V.resolve)(t,l)),outDir:r["out-dir"]===void 0?void 0:(0,V.resolve)(t,r["out-dir"]),root:(0,V.resolve)(t,r.root??"."),lang:r.lang??"en",diagramLook:s,headingNumbers:!r["no-heading-numbers"],frontMatter:!r["no-front-matter"],settings:{limitContentWidth:!r["full-width"],stickyTableHeader:!r["no-sticky-table-header"],tableTreeHighlight:!r["no-table-tree-highlight"],splitMinWidth:c},chrome:r.chrome===void 0||!/[\\/]/.test(r.chrome)?r.chrome:(0,V.resolve)(t,r.chrome),strict:r.strict??!1,diffBase:r["diff-base"],index:r.index??!1,indexTitle:r["index-title"],indexDesignDocs:r["index-design-docs"]??!1}}var ip=new Set([".md",".markdown"]);function op(e){return ip.has((0,V.extname)(e).toLowerCase())}function Us(e,t=new Set){let n=(0,Se.realpathSync)(e);if(t.has(n))return[];t.add(n);let r=[];for(let i of(0,Se.readdirSync)(e,{withFileTypes:!0}).sort((o,a)=>o.name.localeCompare(a.name))){let o=(0,V.join)(e,i.name),a=i;if(i.isSymbolicLink())try{a=(0,Se.statSync)(o)}catch{continue}a.isDirectory()?i.name!=="node_modules"&&!i.name.startsWith(".")&&r.push(...Us(o,t)):a.isFile()&&op(i.name)&&r.push(o)}return r}function $s(e){let t=new Set;for(let n of e){let r;try{r=(0,Se.statSync)(n)}catch{throw new te(`No such file or folder: ${n}`)}for(let i of r.isDirectory()?Us(n):[n])t.add(i)}return[...t]}function Ut(e,t){let n=(0,V.relative)(t,e);return n===""||n!==".."&&!n.startsWith(`..${V.sep}`)&&!(0,V.isAbsolute)(n)}function zs(e,t,n){let r=Ds((0,V.basename)(e));return t===void 0?(0,V.join)((0,V.dirname)(e),r):Ut(e,n)?(0,V.join)(t,(0,V.dirname)((0,V.relative)(n,e)),r):(0,V.join)(t,r)}function qs(e){return(0,V.join)(e,"index.html")}function Hs(e,t,n,r=!0){let i=e.parse(t,{}),o=Bn(i),a={};for(let{key:s}of r?ot:[]){let c=st(o,s)?.trim();c!==void 0&&(a[s]=c)}return{title:Ts(i,n),meta:a,designDoc:Ln(o)}}function sp(e,t){let n=e===""?[]:e.split("/"),r=t===""?[]:t.split("/");for(let i=0;i<Math.min(n.length,r.length);i++){let o=n[i].localeCompare(r[i]);if(o!==0)return o}return n.length-r.length}function ap(e,t){let{added:n,changed:r,deleted:i}=e.stats,o=n+r+i,a;return e.isNew?a=`<span class="seqnotes-index-new">${j(t("New"))}</span>`:o===0?a=`<span class="seqnotes-index-unchanged">${j(t("No changes"))}</span>`:a='<span class="seqnotes-diff-counts">'+[["added",n,"{0} added"],["changed",r,"{0} changed"],["deleted",i,"{0} deleted"]].filter(([,c])=>c>0).map(([c,l,u])=>`<span class="seqnotes-diff-count" data-kind="${c}">${j(t(u,l))}</span>`).join("")+"</span>",`<td class="seqnotes-index-changes" data-seqnotes-sort="${e.isNew?Number.MAX_SAFE_INTEGER:o}">${a}</td>`}function cp(e){return[...new Set(e.map(n=>n.folder))].sort(sp).map(n=>({folder:n,entries:e.filter(r=>r.folder===n).sort((r,i)=>r.file.localeCompare(i.file))}))}function Gs(e,t,n,r=""){let i=ot.filter(({key:g})=>t.some(p=>g in p.meta)),o=t.some(g=>g.changes!==void 0),a="<thead><tr>"+[{key:"title",label:"Title"},{key:"file",label:"File"},...i,...o?[{key:"changes",label:"Changes"}]:[]].map(({key:g,label:p})=>`<th data-seqnotes-column="${g}">${j(n(p))}</th>`).join("")+`</tr></thead>
|
|
107
|
+
`,s=g=>`<tr><td class="seqnotes-index-title"><a href="${j(g.href)}">${j(g.title)}</a></td><td class="seqnotes-index-file">${j(g.file)}</td>`+i.map(({key:p})=>{let d=g.meta[p];return`<td class="seqnotes-index-${p}">${d===void 0?"":`<span>${j(d)}</span>`}</td>`}).join("")+(o?g.changes?ap(g.changes,n):'<td class="seqnotes-index-changes"></td>':"")+`</tr>
|
|
108
|
+
`,c=cp(t).map(({folder:g,entries:p})=>(g===""?"":`<h2>${j(g)}/</h2>
|
|
97
109
|
`)+`<table>
|
|
98
|
-
${
|
|
99
|
-
${
|
|
110
|
+
${a}<tbody>
|
|
111
|
+
${p.map(s).join("")}</tbody>
|
|
100
112
|
</table>
|
|
101
|
-
`})
|
|
102
|
-
|
|
103
|
-
|
|
113
|
+
`),l={"filter-label":n("Filter"),"filter-placeholder":n("Filter by title, file name or metadata"),count:n("{0} of {1} documents"),"no-match":n("No documents match the filter."),"sort-title":n("Sort by this column")},u=Object.entries(l).map(([g,p])=>` data-seqnotes-${g}="${j(p)}"`).join(""),f=t.length===0?`<p class="seqnotes-index-empty">${j(r)}</p>
|
|
114
|
+
`:c.join("");return`<div class="seqnotes-index"${u}>
|
|
115
|
+
<h1>${j(e)}</h1>
|
|
116
|
+
${f}</div>`}var js=require("node:child_process"),$t=jt(require("node:path"));function Ws(e){return["log","-1","--no-show-signature","--format=%H%x1f%h%x1f%an%x1f%aI%x1f%s","--end-of-options",e,"--"]}function Ks(e){let[t,n,r,i,o]=e.replace(/\r?\n$/,"").split("");return/^[0-9a-f]{40,64}$/.test(t)&&o!==void 0?{hash:t,shortHash:n,author:r,date:i,subject:o}:void 0}function Zs(e){return["ls-tree","-z","--name-only",e]}function Js(e){return e.split("\0").filter(t=>t!=="")}function Ys(e,t){return["show",`${e}:./${t}`]}function Xs(e,t){let n=new Date(e);return Number.isNaN(n.getTime())?e:n.toLocaleString(t,{dateStyle:"medium",timeStyle:"short"})}var _e=class extends Error{constructor(n,r){super(r);this.kind=n}kind},lp=64*1024*1024;function $n(e,t,n){return new Promise((r,i)=>{(0,js.execFile)(e,t,{cwd:n,maxBuffer:lp,windowsHide:!0,encoding:"buffer"},(o,a,s)=>{let c=s.toString();o?o.code==="ENOENT"?i(new _e("notFound",o.message)):/not a git repository/i.test(c)?i(new _e("notRepository",c.trim())):i(new _e("failed",c.trim()||o.message)):r(a)})})}async function Vs(e,t,n){let r=Ks((await $n(e,Ws(n),t)).toString());if(!r)throw new _e("failed",`Unknown revision: ${n}`);return r}async function Qs(e,t,n){return new Set(Js((await $n(e,Zs(n),t)).toString()))}function ea(e,t,n){return $n(e,Ys(n,$t.basename(t)),$t.dirname(t))}var qt=require("node:fs"),na=require("node:os"),ze=require("node:path"),at=require("playwright-core");var ta=6e4;function up(){let e=[];try{e.push(at.chromium.executablePath())}catch{}let t=process.env.PLAYWRIGHT_BROWSERS_PATH??(0,ze.join)((0,na.homedir)(),".cache/ms-playwright"),n=i=>Number(/^chromium(?:_headless_shell)?-(\d+)/.exec(i)?.[1]??0),r=(0,qt.globSync)(["chromium-*/chrome-linux*/chrome","chromium_headless_shell-*/chrome-headless-shell-linux*/chrome-headless-shell"],{cwd:t});return e.push(...r.sort((i,o)=>n(o)-n(i)).map(i=>(0,ze.join)(t,i))),e.find(i=>(0,qt.existsSync)(i))}async function dp(e=process.env.CHROME_PATH||void 0){if(e)return at.chromium.launch({executablePath:e});let t=up();if(t)return at.chromium.launch({executablePath:t});try{return await at.chromium.launch({channel:"chrome"})}catch(n){throw new Error("Chrome was not found. Install Google Chrome, give its path with --chrome or $CHROME_PATH, or install a Chromium with `npx playwright-core install chromium`.",{cause:n})}}function fp(e){return`let state;
|
|
104
117
|
window.acquireVsCodeApi = () => ({
|
|
105
118
|
getState: () => state,
|
|
106
119
|
setState: (s) => (state = s),
|
|
107
120
|
postMessage: (m) => window.${e}(m),
|
|
108
|
-
});`}var
|
|
109
|
-
<html lang="${
|
|
121
|
+
});`}var zt=class e{constructor(t,n,r,i){this.browser=t;this.dist=n;this.lang=r;this.t=i}browser;dist;lang;t;nextId=0;pending=new Map;page;static async open(t,n){let r=await dp(n.chrome),i=new e(r,t,n.lang,n.t??ce);try{await i.openPage()}catch(o){throw await r.close(),o}return i}async openPage(){let t=await this.browser.newPage(),n;try{let r,i=new Promise((a,s)=>{r=a,n=setTimeout(()=>s(new Error("The preview script did not start.")),ta),t.on("pageerror",c=>s(new Error(`The preview script failed: ${c.message}`)))});i.catch(()=>{}),await t.exposeFunction("mdDesignDocPost",a=>{a.type==="ready"?r():a.type==="exported"&&this.onExported(a)});let o=Object.entries(Pt).map(([a,s])=>` data-seqnotes-${a}="${j(this.t(s))}"`).join("");await t.setContent(`<!DOCTYPE html>
|
|
122
|
+
<html lang="${j(this.lang)}">
|
|
110
123
|
<head><meta charset="UTF-8"></head>
|
|
111
|
-
<body class="vscode-light" data-seqnotes-theme="light">
|
|
124
|
+
<body class="vscode-light" data-seqnotes-theme="light"${o}>
|
|
112
125
|
<div id="seqnotes-root"></div>
|
|
113
|
-
<script>${
|
|
126
|
+
<script>${fp("mdDesignDocPost")}</script>
|
|
114
127
|
</body>
|
|
115
|
-
</html>`),await t.addStyleTag({path:(0,
|
|
128
|
+
</html>`),await t.addStyleTag({path:(0,ze.join)(this.dist,"webview.css")}),await t.addStyleTag({path:(0,ze.join)(this.dist,"export.css")}),await t.addScriptTag({path:(0,ze.join)(this.dist,"webview.js")}),await i}catch(r){throw await t.close(),r}finally{clearTimeout(n)}this.page=t}render(t,n,r){let i=++this.nextId;return new Promise((o,a)=>{let s=setTimeout(()=>{this.pending.delete(i),this.page.close().then(()=>this.openPage()).then(()=>a(new Error("The diagrams were not rendered in time.")),f=>a(f instanceof Error?f:new Error(String(f))))},ta),c=u=>{clearTimeout(s),this.pending.delete(i),u()};this.pending.set(i,{resolve:u=>c(()=>o(u)),reject:u=>c(()=>a(u))});let l={type:"export",id:i,html:t,diagramLook:n,...r?{diff:r}:{}};this.page.evaluate(u=>window.postMessage(u,"*"),l).catch(u=>this.pending.get(i)?.reject(u instanceof Error?u:new Error(String(u))))})}onExported(t){let n=this.pending.get(t.id);t.body!==void 0?n?.resolve({body:t.body,diagramErrors:t.diagramErrors??[]}):n?.reject(new Error(t.error??"The diagrams could not be rendered."))}close(){return this.browser.close()}};function ra(e,t,n=ce){let r=e.parse(t,{t:n}),{diagrams:i,warnings:o}=xt(r,n),a=[...o,...Ft(r)].map(s=>({line:s.line,message:s.message,severity:"warning"}));for(let s of i.filter(c=>c.paired)){let c=s.kind==="flowchart";if(s.messages.every(l=>!l.target)){s.messages.some(l=>l.ref===void 0)&&a.push({line:r[s.fenceIndex].map?.[0]??0,message:n(c?"No node in the flowchart is linked to a heading. Write the steps as headings after the diagram, with the same text as the nodes.":"No arrow in the sequence diagram is linked to a heading. Write the steps as headings after the diagram, with the same text as the arrows."),severity:"info"});continue}for(let l of s.messages.filter(u=>u.unlinked&&Ne(u.text)!=="")){let u=Ne(l.text);a.push({line:l.line,message:n(c?'Node "{0}" is not linked to any heading. Add a heading with the same text after the diagram, or write "%% @ref <heading>" above the node.':'Arrow "{0}" is not linked to any heading. Add a heading with the same text after the diagram, or write "%% @ref <heading>" above the arrow.',u),severity:"info"})}for(let l of s.unlinkedHeadings){let u=Ne(tt(r[l+1]));a.push({line:r[l].map?.[0]??0,message:n(c?'No node in the flowchart is linked to heading "{0}".':'No arrow in the sequence diagram is linked to heading "{0}".',u),severity:"info"})}}return a.sort((s,c)=>s.line-c.line)}var Ht=__dirname,pp=(0,G.join)(Ht,"..","l10n");function gp(e){if(e==="en")return ce;let t=(0,G.join)(pp,`bundle.l10n.${e}.json`);if(!/^[a-z]{2,3}(?:-[a-z0-9]+)*$/i.test(e)||!(0,ie.existsSync)(t))throw new te(`Unsupported language: ${e}`);return Jr(JSON.parse((0,ie.readFileSync)(t,"utf8")))}function ye(e,t=process.cwd()){return Ut(e,t)?(0,G.relative)(t,e).split(G.sep).join("/")||".":e}var hp=process.env.GITHUB_ACTIONS==="true",mp=process.env.GITHUB_WORKSPACE||process.cwd();function ia(e,t=!1){let n=e.replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A");return t?n.replace(/:/g,"%3A").replace(/,/g,"%2C"):n}function zn(e,t,n,r){if(hp){let i=[`file=${ia(ye(t,mp),!0)}`,...r===void 0?[]:[`line=${r}`]].join(",");console.error(`::${e} ${i}::${ia(n)}`)}else console.error(`${ye(t)}${r===void 0?"":`:${r}`}: ${e}: ${n}`)}function sa(e,t){let n=(0,G.relative)((0,G.dirname)(e),t);return(0,G.isAbsolute)(n)?(0,oa.pathToFileURL)(t).href:n.split(G.sep).map(encodeURIComponent).join("/")}function bp(e,t,n,r){let i=Ns(e),o=i.startsWith("/")?(0,G.join)(r,i):(0,G.resolve)((0,G.dirname)(t),i);try{let a=(0,ie.realpathSync)(o),s=Cs(a);if(s&&[(0,G.dirname)(t),r].some(c=>Ut(a,(0,ie.realpathSync)(c))))return`data:${s};base64,${(0,ie.readFileSync)(a).toString("base64")}`}catch{}return sa(n,o)}var qn="git";function _p(e){return e instanceof _e&&e.kind==="notFound"?"Git was not found: --diff-base requires git on the PATH.":e instanceof _e&&e.kind==="notRepository"?"--diff-base: the document is not in a git repository.":`--diff-base: ${e instanceof Error?e.message:String(e)}`}async function Ep(e){let t=$s(e.inputs);if(t.length===0)throw new te("No Markdown file found.");let n=t.map(h=>zs(h,e.outDir,e.root)),r=n.find((h,b)=>n.indexOf(h)!==b);if(r!==void 0)throw new te(`Two documents would be exported to the same file: ${ye(r)}`);let i=e.index&&e.outDir!==void 0?qs(e.outDir):void 0;if(i!==void 0&&n.some(h=>h.toLowerCase()===i.toLowerCase()))throw new te(`A document would be exported to the file of --index: ${ye(i)}`);let o=gp(e.lang),a=Es(),s=h=>Ls((0,ie.readFileSync)((0,G.join)(Ht,h),"utf8")),c=[s("webview.css"),s("export.css")],l=s("export.js"),u=!0,f=[],g=await zt.open(Ht,{lang:e.lang,chrome:e.chrome,t:o}),p=new Map,d=(h,b)=>{let E=p.get(b);return E||(E=Vs(qn,b,h).then(async k=>({commit:k,files:await Qs(qn,b,k.hash)})),p.set(b,E)),E},m=async(h,b,E,k,_)=>{let x,w;try{let R=await d(h,(0,G.dirname)(b));x=R.commit,w=R.files.has((0,G.basename)(b))?await ea(qn,b,x.hash):void 0}catch(R){throw new Error(_p(R))}let A=w===void 0?"":new TextDecoder().decode(w),y=Xs(x.date,e.lang),C=o(w===void 0?"New since the version of {0}":"Compared with the version of {0}",y),{html:M,old:F,stats:O}=await Is(a,A,E.replace(/^\uFEFF/,""),k,_);return{html:M,view:{label:C,old:F,stats:O},isNew:w===void 0}};try{for(let[h,b]of t.entries()){let E=n[h];try{let k=(0,ie.readFileSync)(b,"utf8");for(let R of ra(a,k,o).filter(N=>N.severity==="warning"))zn("warning",b,R.message,R.line+1),u&&=!e.strict;let _={t:o,frontMatter:e.frontMatter,headingNumbers:e.headingNumbers},x=async R=>bp(R,b,E,e.root),w=e.diffBase===void 0?void 0:await m(e.diffBase,b,k,_,x),A=w?w.html:await Os(a,k,_,x),{body:y,diagramErrors:C}=await g.render(A,e.diagramLook,w?.view);for(let R of C)zn("error",b,R),u=!1;let M=(0,G.basename)(b),F=Hs(a,k,M,e.frontMatter),O=Pn({lang:e.lang,title:F.title,body:y,styles:c,script:l,settings:e.settings,...w?{diff:Fs(w.view,o)}:{}});if((0,ie.mkdirSync)((0,G.dirname)(E),{recursive:!0}),(0,ie.writeFileSync)(E,O),console.log(`${ye(b)} -> ${ye(E)}`),i!==void 0&&(F.designDoc||!e.indexDesignDocs)){let R=(0,G.relative)((0,G.dirname)(i),(0,G.dirname)(E)).split(G.sep).join("/"),N=w&&{stats:w.view.stats,isNew:w.isNew};f.push({title:F.title,meta:F.meta,href:sa(i,E),folder:R,file:M,...N?{changes:N}:{}})}}catch(k){zn("error",b,k instanceof Error?k.message:String(k)),u=!1}}}finally{await g.close()}if(i!==void 0&&f.length>0){let h=e.indexTitle||o("Design Docs");(0,ie.mkdirSync)((0,G.dirname)(i),{recursive:!0}),(0,ie.writeFileSync)(i,Pn({lang:e.lang,title:h,body:Gs(h,f,o),styles:c,script:l,settings:e.settings})),console.log(`-> ${ye(i)}`)}else i!==void 0&&e.indexDesignDocs&&console.error(`No design doc (type: design_doc) was exported: ${ye(i)} is not written.`);return u}async function kp(e){try{let t=Ps(e,process.cwd());switch(t.command){case"help":return console.log(Un),0;case"version":return console.log(JSON.parse((0,ie.readFileSync)((0,G.join)(Ht,"..","package.json"),"utf8")).version),0;case"export":return await Ep(t)?0:1}}catch(t){return t instanceof te?(console.error(`md-design-doc: ${t.message}
|
|
116
129
|
|
|
117
|
-
${
|
|
130
|
+
${Un}`),2):(console.error(`md-design-doc: ${t instanceof Error?t.message:String(t)}`),1)}}kp(process.argv.slice(2)).then(e=>{process.exitCode=e});
|
|
118
131
|
/*! Bundled license information:
|
|
119
132
|
|
|
120
133
|
markdown-it/dist/markdown-it.mjs:
|