markdown-design-doc-viewer 0.5.0 → 1.1.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 +11 -4
- package/README.md +11 -4
- package/ThirdPartyNotices.txt +2654 -0
- package/dist/cli.js +60 -43
- package/dist/export.js +1 -1
- package/dist/webview.css +1 -1
- package/dist/webview.js +438 -437
- package/l10n/bundle.l10n.ja.json +74 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var ws=Object.create;var Ut=Object.defineProperty;var vs=Object.getOwnPropertyDescriptor;var xs=Object.getOwnPropertyNames;var Rs=Object.getPrototypeOf,ys=Object.prototype.hasOwnProperty;var P=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}},Rn=(e,t)=>{for(var n in t)Ut(e,n,{get:t[n],enumerable:!0})},As=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of xs(t))!ys.call(e,i)&&i!==n&&Ut(e,i,{get:()=>t[i],enumerable:!(r=vs(t,i))||r.enumerable});return e};var yn=(e,t,n)=>(n=e!=null?ws(Rs(e)):{},As(t||!e||!e.__esModule?Ut(n,"default",{value:e,enumerable:!0}):n,e));var Qn=P((_f,Vn)=>{function $n(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)&&$n(n)}),e}var ct=class{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function zn(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 Js="</span>",In=e=>!!e.scope,Ys=(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}`},Kt=class{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=zn(t)}openNode(t){if(!In(t))return;let n=Ys(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){In(t)&&(this.buffer+=Js)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}},Ln=(e={})=>{let t={children:[]};return Object.assign(t,e),t},Wt=class e{constructor(){this.rootNode=Ln(),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=Ln({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)}))}},Zt=class extends Wt{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 Kt(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function qe(e){return e?typeof e=="string"?e:e.source:null}function qn(e){return Ae("(?=",e,")")}function Xs(e){return Ae("(?:",e,")*")}function js(e){return Ae("(?:",e,")?")}function Ae(...e){return e.map(n=>qe(n)).join("")}function Vs(e){let t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function ut(...e){return"("+(Vs(e).capture?"":"?:")+e.map(r=>qe(r)).join("|")+")"}function Hn(e){return new RegExp(e.toString()+"|").exec("").length-1}function Qs(e,t){let n=e&&e.exec(t);return n&&n.index===0}var ea=new RegExp(ut(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function Yt(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;let i=n,o=qe(r),a="";for(;o.length>0;){let s=ea.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 ta=/\b\B/,Gn="[a-zA-Z]\\w*",Xt="[a-zA-Z_]\\w*",Kn="\\b\\d+(\\.\\d+)?",Wn="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Zn="\\b(0b[01]+)",na="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ra=(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)},He={begin:"\\\\[\\s\\S]",relevance:0},ia={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[He]},oa={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[He]},sa={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/},dt=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=ut("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},aa=dt("//","$"),ca=dt("/\\*","\\*/"),la=dt("#","$"),ua={scope:"number",begin:Kn,relevance:0},da={scope:"number",begin:Wn,relevance:0},fa={scope:"number",begin:Zn,relevance:0},ga={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[He,{begin:/\[/,end:/\]/,relevance:0,contains:[He]}]},pa={scope:"title",begin:Gn,relevance:0},ha={scope:"title",begin:Xt,relevance:0},ma={begin:"\\.\\s*"+Xt,relevance:0},ba=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()}})},at=Object.freeze({__proto__:null,APOS_STRING_MODE:ia,BACKSLASH_ESCAPE:He,BINARY_NUMBER_MODE:fa,BINARY_NUMBER_RE:Zn,COMMENT:dt,C_BLOCK_COMMENT_MODE:ca,C_LINE_COMMENT_MODE:aa,C_NUMBER_MODE:da,C_NUMBER_RE:Wn,END_SAME_AS_BEGIN:ba,HASH_COMMENT_MODE:la,IDENT_RE:Gn,MATCH_NOTHING_RE:ta,METHOD_GUARD:ma,NUMBER_MODE:ua,NUMBER_RE:Kn,PHRASAL_WORDS_MODE:sa,QUOTE_STRING_MODE:oa,REGEXP_MODE:ga,RE_STARTERS_RE:na,SHEBANG:ra,TITLE_MODE:pa,UNDERSCORE_IDENT_RE:Xt,UNDERSCORE_TITLE_MODE:ha});function _a(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Ea(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function ka(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=_a,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function wa(e,t){Array.isArray(e.illegal)&&(e.illegal=ut(...e.illegal))}function va(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 xa(e,t){e.relevance===void 0&&(e.relevance=1)}var Ra=(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,qn(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},ya=["of","and","for","in","not","or","if","then","parent","list","value"],Aa="keyword";function Jn(e,t,n=Aa){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,Jn(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,Ca(c[0],c[1])]})}}function Ca(e,t){return t?Number(t):Na(e)?0:1}function Na(e){return ya.includes(e.toLowerCase())}var Fn={},ye=e=>{console.error(e)},Bn=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Me=(e,t)=>{Fn[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Fn[`${e}/${t}`]=!0)},lt=new Error;function Yn(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+=Hn(t[s-1]);e[n]=a,e[n]._emit=o,e[n]._multi=!0}function Ta(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw ye("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),lt;if(typeof e.beginScope!="object"||e.beginScope===null)throw ye("beginScope must be object"),lt;Yn(e,e.begin,{key:"beginScope"}),e.begin=Yt(e.begin,{joinWith:""})}}function Sa(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw ye("skip, excludeEnd, returnEnd not compatible with endScope: {}"),lt;if(typeof e.endScope!="object"||e.endScope===null)throw ye("endScope must be object"),lt;Yn(e,e.end,{key:"endScope"}),e.end=Yt(e.end,{joinWith:""})}}function Da(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Ma(e){Da(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Ta(e),Sa(e)}function Oa(e){function t(a,s){return new RegExp(qe(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+=Hn(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let s=this.regexes.map(c=>c[1]);this.matcherRe=t(Yt(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;[Ea,va,Ma,Ra].forEach(u=>u(a,s)),e.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[ka,wa,xa].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=Jn(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=qe(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 Ia(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 Xn(e){return e?e.endsWithParent||Xn(e.starts):!1}function Ia(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Ee(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Xn(e)?Ee(e,{starts:e.starts?Ee(e.starts):null}):Object.isFrozen(e)?Ee(e):e}var La="11.12.0",Jt=class extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}},Gt=zn,Pn=Ee,Un=Symbol("nomatch"),Fa=7,jn=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:Zt};function c(v){return s.noHighlightRe.test(v)}function l(v){let N=v.className+" ";N+=v.parentNode?v.parentNode.className:"";let T=s.languageDetectRe.exec(N);if(T){let L=y(T[1]);return L||(Bn(o.replace("{}",T[1])),Bn("Falling back to no-highlight mode for this block.",v)),L?T[1]:"no-highlight"}return N.split(/\s+/).find(L=>c(L)||y(L))}function u(v,N,T){let L="",q="";typeof N=="object"?(L=v,T=N.ignoreIllegals,q=N.language):(Me("10.7.0","highlight(lang, code, ...args) has been deprecated."),Me("10.7.0",`Please use highlight(code, options) instead.
|
|
3
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),
|
|
4
|
-
`),1;if(Bt>1e5&&Bt>D.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Z+=B,B.length}let le=y(v);if(!le)throw ye(o.replace("{}",v)),new Error('Unknown language: "'+v+'"');let G=Oa(le),_e="",M=L||G,it={},ee=new s.__emitter(s);Ft();let Z="",ot=0,xe=0,Bt=0,Pt=!1;try{if(le.__emitTokens)le.__emitTokens(N,ee);else{for(M.matcher.considerAll();;){Bt++,Pt?Pt=!1:M.matcher.considerAll(),M.matcher.lastIndex=xe;let R=M.matcher.exec(N);if(!R)break;let D=N.substring(xe,R.index),B=rt(D,R);xe=R.index+B}rt(N.substring(xe))}return ee.finalize(),_e=ee.toHTML(),{language:v,value:_e,relevance:ot,illegal:!1,_emitter:ee,_top:M}}catch(R){if(R.message&&R.message.includes("Illegal"))return{language:v,value:Gt(N),illegal:!0,relevance:0,_illegalBy:{message:R.message,index:xe,context:N.slice(xe-100,xe+100),mode:R.mode,resultSoFar:_e},_emitter:ee};if(i)return{language:v,value:Gt(N),illegal:!1,relevance:0,errorRaised:R,_emitter:ee,_top:M};throw R}}function p(v){let N={value:Gt(v),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return N._emitter.addText(v),N}function g(v,N){N=N||s.languages||Object.keys(t);let T=p(v),L=N.filter(y).filter(O).map(ie=>f(ie,v,!1));L.unshift(T);let q=L.sort((ie,ae)=>{if(ie.relevance!==ae.relevance)return ae.relevance-ie.relevance;if(ie.language&&ae.language){if(y(ie.language).supersetOf===ae.language)return 1;if(y(ae.language).supersetOf===ie.language)return-1}return 0}),[W,X]=q,ce=W;return ce.secondBest=X,ce}function d(v,N,T){let L=N&&n[N]||T;v.classList.add("hljs"),v.classList.add(`language-${L}`)}function h(v){let N=null,T=l(v);if(c(T))return;if(z("before:highlightElement",{el:v,language:T}),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 Jt("One of your code blocks includes unescaped HTML.",v.innerHTML);N=v;let L=N.textContent,q=T?u(L,{language:T,ignoreIllegals:!0}):g(L);v.innerHTML=q.value,v.dataset.highlighted="yes",d(v,T,q.language),v.result={language:q.language,re:q.relevance,relevance:q.relevance},q.secondBest&&(v.secondBest={language:q.secondBest.language,relevance:q.secondBest.relevance}),z("after:highlightElement",{el:v,result:q,text:L})}function m(v){s=Pn(s,v)}let _=()=>{b(),Me("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function w(){b(),Me("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let E=!1;function b(){function v(){b()}if(document.readyState==="loading"){E||window.addEventListener("DOMContentLoaded",v,!1),E=!0;return}document.querySelectorAll(s.cssSelector).forEach(h)}function k(v,N){let T=null;try{T=N(e)}catch(L){if(ye("Language definition for '{}' could not be registered.".replace("{}",v)),i)ye(L);else throw L;T=a}T.name||(T.name=v),t[v]=T,T.rawDefinition=N.bind(null,e),T.aliases&&A(T.aliases,{languageName:v})}function x(v){delete t[v];for(let N of Object.keys(n))n[N]===v&&delete n[N]}function C(){return Object.keys(t)}function y(v){return v=(v||"").toLowerCase(),t[v]||t[n[v]]}function A(v,{languageName:N}){typeof v=="string"&&(v=[v]),v.forEach(T=>{n[T.toLowerCase()]=N})}function O(v){let N=y(v);return N&&!N.disableAutodetect}function I(v){v["before:highlightBlock"]&&!v["before:highlightElement"]&&(v["before:highlightElement"]=N=>{v["before:highlightBlock"](Object.assign({block:N.el},N))}),v["after:highlightBlock"]&&!v["after:highlightElement"]&&(v["after:highlightElement"]=N=>{v["after:highlightBlock"](Object.assign({block:N.el},N))})}function U(v){I(v),r.push(v)}function Y(v){let N=r.indexOf(v);N!==-1&&r.splice(N,1)}function z(v,N){let T=v;r.forEach(function(L){L[T]&&L[T](N)})}function $(v){return Me("10.7.0","highlightBlock will be removed entirely in v12.0"),Me("10.7.0","Please use highlightElement now."),h(v)}Object.assign(e,{highlight:u,highlightAuto:g,highlightAll:b,highlightElement:h,highlightBlock:$,configure:m,initHighlighting:_,initHighlightingOnLoad:w,registerLanguage:k,unregisterLanguage:x,listLanguages:C,getLanguage:y,registerAliases:A,autoDetection:O,inherit:Pn,addPlugin:U,removePlugin:Y}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=La,e.regex={concat:Ae,lookahead:qn,either:ut,optional:js,anyNumberOfTimes:Xs};for(let v in at)typeof at[v]=="object"&&$n(at[v]);return Object.assign(e,at),e},Oe=jn({});Oe.newInstance=()=>jn({});Vn.exports=Oe;Oe.HighlightJS=Oe;Oe.default=Oe});var tr=P((Ef,er)=>{function Ba(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}]}]}}er.exports=Ba});var rr=P((kf,nr)=>{function Pa(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._-]+)+/},w=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],E=["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"],k=["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:[...w,...E,"set","shopt",...b,...k]},contains:[g,e.SHEBANG(),d,f,o,a,_,s,c,l,u,n]}}nr.exports=Pa});var or=P((wf,ir)=>{function Ua(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"},k=[...d,c,n,e.C_BLOCK_COMMENT_MODE,f,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:b,contains:k.concat([{begin:/\(/,end:/\)/,keywords:b,contains:k.concat(["self"]),relevance:0}]),relevance:0},C={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(x,C,k,[...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}}}ir.exports=Ua});var ar=P((vf,sr)=>{function $a(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"],w=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],E=["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"],C={type:w,keyword:_,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:E},y={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:t.concat(/\b/,`(?!${_.join("|")})`,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},A=[y,...g,s,n,e.C_BLOCK_COMMENT_MODE,u,l],O={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:C,contains:A.concat([{begin:/\(/,end:/\)/,keywords:C,contains:A.concat(["self"]),relevance:0}]),relevance:0},I={className:"function",begin:"("+a+"[\\*&\\s]+){1,"+m+"}"+h,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:C,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:C,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:C,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,u,s,{begin:/\(/,end:/\)/,keywords:C,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:C,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(O,I,y,A,[...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:C,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:C},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}sr.exports=$a});var lr=P((xf,cr)=>{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]},w={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]},E=e.inherit(w,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]});h.contains=[w,_,g,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.C_BLOCK_COMMENT_MODE],m.contains=[E,_,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let b={variants:[p,w,_,g,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},k={begin:"<",end:">",contains:[{beginKeywords:"in out"},s]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",C={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,k,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,k,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:"("+x+"\\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,k],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]},C]}}cr.exports=za});var dr=P((Rf,ur)=>{var qa=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_-]*/}}),Ha=["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"],Ga=["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"],Ka=[...Ha,...Ga],Wa=["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(),Za=["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(),Ja=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Ya=["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 Xa(e){let t=e.regex,n=qa(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:":("+Za.join("|")+")"},{begin:":(:)?("+Ja.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Ya.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:Wa.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Ka.join("|")+")\\b"}]}}ur.exports=Xa});var gr=P((yf,fr)=>{function ja(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});/}]}}fr.exports=ja});var hr=P((Af,pr)=>{function Va(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:/$/}]}}pr.exports=Va});var br=P((Cf,mr)=>{function Qa(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}]},x=[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=x,h.contains=x;let O=[{begin:/^\s*=>/,starts:{end:"$",contains:x}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:a,contains:x}}];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(x)}}mr.exports=Qa});var Er=P((Nf,_r)=>{function ec(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:/["']/}]}]}}_r.exports=ec});var wr=P((Tf,kr)=>{function tc(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/]}}kr.exports=tc});var xr=P((Sf,vr)=>{function nc(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]}}]}}vr.exports=nc});var Cr=P((Df,Ar)=>{var Ie="[0-9](_*[0-9])*",ft=`\\.(${Ie})`,gt="[0-9a-fA-F](_*[0-9a-fA-F])*",Rr={className:"number",variants:[{begin:`(\\b(${Ie})((${ft})|\\.)?|(${ft}))[eE][+-]?(${Ie})[fFdD]?\\b`},{begin:`\\b(${Ie})((${ft})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${ft})[fFdD]?\\b`},{begin:`\\b(${Ie})[fFdD]\\b`},{begin:`\\b0[xX]((${gt})\\.?|(${gt})?\\.(${gt}))[pP][+-]?(${Ie})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${gt})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function yr(e,t,n){return n===-1?"":e.replace(t,r=>yr(e,t,n-1))}function rc(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=yr("(?:\\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,Rr,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Rr,g]}}Ar.exports=rc});var Or=P((Mf,Mr)=>{var Nr="[A-Za-z$_][0-9A-Za-z$_]*",ic=["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"],oc=["true","false","null","undefined","NaN","Infinity"],Tr=["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"],Sr=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Dr=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],sc=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],ac=[].concat(Dr,Tr,Sr);function cc(e){let t=e.regex,n=(T,{after:L})=>{let q="</"+T[0].slice(1);return T.input.indexOf(q,L)!==-1},r=Nr,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,W=T.input[q];if(W==="<"||W===","){L.ignoreMatch();return}W===">"&&(n(T,{after:q})||L.ignoreMatch());let X,ce=T.input.substring(q);if(X=ce.match(/^\s*=/)){L.ignoreMatch();return}if((X=ce.match(/^\s+extends\s+/))&&X.index===0){L.ignoreMatch();return}}},s={$pattern:Nr,keyword:ic,literal:oc,built_in:ac,"variable.language":sc},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]},w={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]},E=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,h,m,{match:/\$\d+/},f];p.contains=E.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(E)});let b=[].concat(w,p.contains),k=b.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(b)}]),x={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:k},C={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:{_:[...Tr,...Sr]}},A={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:[x],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 Y={match:t.concat(/\b/,U([...Dr,"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:/\(\)/},x]},v="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",N={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(v)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:y},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),A,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,h,m,w,{match:/\$\d+/},f,y,{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:[w,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:k}]}]},{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:[x,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:[x]},Y,I,C,$,{match:/\$[(.]/}]}}Mr.exports=cc});var Lr=P((Of,Ir)=>{var lc="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",uc={scope:"number",match:lc,relevance:0};function dc(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,uc,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}Ir.exports=dc});var Br=P((If,Fr)=>{var Le="[0-9](_*[0-9])*",pt=`\\.(${Le})`,ht="[0-9a-fA-F](_*[0-9a-fA-F])*",fc={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 gc(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=fc,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]}}Fr.exports=gc});var zr=P((Lf,$r)=>{var pc=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_-]*/}}),hc=["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"],mc=["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"],bc=[...hc,...mc],_c=["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(),Pr=["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(),Ur=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Ec=["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(),kc=Pr.concat(Ur).sort().reverse();function wc(e){let t=pc(e),n=kc,r="and or not only",i="[\\w-]+",o="("+i+"|@\\{"+i+"\\})",a=[],s=[],c=function(E){return{className:"string",begin:"~?"+E+".*?"+E}},l=function(E,b,k){return{className:E,begin:b,relevance:k}},u={$pattern:/[a-z-]+/,keyword:r,attribute:_c.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("+Ec.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("+bc.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:":("+Pr.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Ur.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:p},{begin:"!important"},t.FUNCTION_DISPATCH]},w={begin:i+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[_]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,m,w,d,_,g,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}$r.exports=wc});var Hr=P((Ff,qr)=>{function vc(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}])}}qr.exports=vc});var Kr=P((Bf,Gr)=>{function xc(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]}}Gr.exports=xc});var Zr=P((Pf,Wr)=>{function Rc(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 w=_==="\\1"?_:t.concat(_,m);return t.concat(t.concat("(?:",h,")"),m,/(?:\\.|[^\\\/])*?/,w,/(?:\\.|[^\\\/])*?/,_,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}}Wr.exports=Rc});var Yr=P((Uf,Jr)=>{function yc(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}]}}Jr.exports=yc});var jr=P(($f,Xr)=>{function Ac(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"],w=["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(v=>{$.push(v),v.toLowerCase()===v?$.push(v.toUpperCase()):$.push(v.toLowerCase())}),$})(m),built_in:w},k=z=>z.map($=>$.replace(/\|\d+$/,"")),x={variants:[{match:[/new/,t.concat(g,"+"),t.concat("(?!",k(w).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},C=t.concat(r,"\\b(?!\\()"),y={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),C],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),C],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"}}]},A={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},O={relevance:0,begin:/\(/,end:/\)/,keywords:b,contains:[A,a,y,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,h,x]},I={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",k(_).join("\\b|"),"|",k(w).join("\\b|"),"\\b)"),r,t.concat(g,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(I);let U=[A,y,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,h,x],Y={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:[Y,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,y,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},x,{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",Y,a,y,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]}}Xr.exports=Ac});var Qr=P((zf,Vr)=>{function Cc(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})]}]}}Vr.exports=Cc});var ti=P((qf,ei)=>{function Nc(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}ei.exports=Nc});var ri=P((Hf,ni)=>{function Tc(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]}]}}ni.exports=Tc});var oi=P((Gf,ii)=>{function Sc(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}ii.exports=Sc});var ai=P((Kf,si)=>{function Dc(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:/\\./}]}]}}si.exports=Dc});var li=P((Wf,ci)=>{function Mc(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]}}ci.exports=Mc});var di=P((Zf,ui)=>{var Oc=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_-]*/}}),Ic=["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"],Lc=["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"],Fc=[...Ic,...Lc],Bc=["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(),Pc=["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(),Uc=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),$c=["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=Oc(e),n=Uc,r=Pc,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("+Fc.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("+$c.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:Bc.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]}}ui.exports=zc});var gi=P((Jf,fi)=>{function qc(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[./~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}fi.exports=qc});var hi=P((Yf,pi)=>{function Hc(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(k=>!u.includes(k)),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 w(k){return t.concat(/\b/,t.either(...k.map(x=>x.replace(/\s+/,"\\s+"))),/\b/)}let E={scope:"keyword",match:w(p),relevance:0};function b(k,{exceptions:x,when:C}={}){let y=C;return x=x||[],k.map(A=>A.match(/\|\d+$/)||x.includes(A)?A:y(A)?`${A}|0`:A)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(d,{when:k=>k.length<3}),literal:o,type:s,built_in:f},contains:[{scope:"type",match:w(a)},E,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,m]}}pi.exports=Hc});var Ri=P((Xf,xi)=>{function Ei(e){return e?typeof e=="string"?e:e.source:null}function Ge(e){return K("(?=",e,")")}function K(...e){return e.map(n=>Ei(n)).join("")}function Gc(e){let t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function re(...e){return"("+(Gc(e).capture?"":"?:")+e.map(r=>Ei(r)).join("|")+")"}new RegExp(re(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));var Qt=e=>K(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Kc=["Protocol","Type"].map(Qt),mi=["init","self"].map(Qt),Wc=["Any","Self"],jt=["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"],bi=["false","nil","true"],Zc=["assignment","associativity","higherThan","left","lowerThan","none","right"],Jc=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],_i=["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"],ki=re(/[/=\-+!*%<>&|^~?]/,/[\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]/),wi=re(ki,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Vt=K(ki,wi,"*"),vi=re(/[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]/),bt=re(vi,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),fe=K(vi,bt,"*"),mt=K(/[A-Z]/,bt,"*"),Yc=["attached","autoclosure",K(/convention\(/,re("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",K(/objc\(/,fe,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Xc=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function jc(e){let t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,re(...Kc,...mi)],className:{2:"keyword"}},o={match:K(/\./,re(...jt)),relevance:0},a=jt.filter(G=>typeof G=="string").concat(["_|0"]),s=jt.filter(G=>typeof G!="string").concat(Wc).map(Qt),c={variants:[{className:"keyword",match:re(...s,...mi)}]},l={$pattern:re(/\b\w+/,/#\w+/),keyword:a.concat(Jc),literal:bi},u=[i,o,c],f={match:K(/\./,re(..._i)),relevance:0},p={className:"built_in",match:K(/\b/,re(..._i),/(?=\()/)},g=[f,p],d={match:/->/,relevance:0},h={className:"operator",relevance:0,variants:[{match:Vt},{match:`\\.(\\.|${wi})+`}]},m=[d,h],_="([0-9]_*)+",w="([0-9a-fA-F]_*)+",E={className:"number",relevance:0,variants:[{match:`\\b(${_})(\\.(${_}))?([eE][+-]?(${_}))?\\b`},{match:`\\b0x(${w})(\\.(${w}))?([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}\}/)}]}),k=(G="")=>({className:"subst",match:K(/\\/,G,/[\t ]*(?:[\r\n]|\r\n)/)}),x=(G="")=>({className:"subst",label:"interpol",begin:K(/\\/,G,/\(/),end:/\)/}),C=(G="")=>({begin:K(G,/"""/),end:K(/"""/,G),contains:[b(G),k(G),x(G)]}),y=(G="")=>({begin:K(G,/"/),end:K(/"/,G),contains:[b(G),x(G)]}),A={className:"string",variants:[C(),C("#"),C("##"),C("###"),y(),y("#"),y("##"),y("###")]},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:/$/}]}},Y={scope:"regexp",variants:[U("###"),U("##"),U("#"),I]},z={match:K(/`/,fe,/`/)},$={className:"variable",match:/\$\d+/},v={className:"variable",match:`\\$${bt}+`},N=[z,$,v],T={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Xc,contains:[...m,E,A]}]}},L={scope:"keyword",match:K(/@/,re(...Yc),Ge(re(/\(/,/\s+/)))},q={scope:"meta",match:K(/@/,fe)},W=[T,L,q],X={match:Ge(/\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)/,bt,"+")},{className:"type",match:mt,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:K(/\s+&\s+/,Ge(mt)),relevance:0}]},ce={begin:/</,end:/>/,keywords:l,contains:[...r,...u,...W,d,X]};X.contains.push(ce);let ie={match:K(fe,/\s*:/),keywords:"_|0",relevance:0},ae={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",ie,...r,Y,...u,...g,...m,E,A,...N,...W,X]},Se={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,X]},nt={begin:re(Ge(K(fe,/\s*:/)),Ge(K(fe,/\s+/,fe,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:fe}]},Ue={begin:/\(/,end:/\)/,keywords:l,contains:[nt,...r,...u,...m,E,A,...W,X,ae],endsParent:!0,illegal:/["']/},Ot={match:[/(func|macro)/,/\s+/,re(z.match,fe,Vt)],className:{1:"keyword",3:"title.function"},contains:[Se,Ue,t],illegal:[/\[/,/%/]},It={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Se,Ue,t],illegal:/\[|%/},Lt={match:[/operator/,/\s+/,Vt],className:{1:"keyword",3:"title"}},Ft={begin:[/precedencegroup/,/\s+/,mt],className:{1:"keyword",3:"title"},contains:[X],keywords:[...Zc,...bi],end:/}/},De={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},rt={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},le={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,fe,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[Se,...u,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:mt},...u],relevance:0}]};for(let G of A.variants){let _e=G.contains.find(it=>it.label==="interpol");_e.keywords=l;let M=[...u,...g,...m,E,A,...N];_e.contains=[...M,{begin:/\(/,end:/\)/,contains:["self",...M]}]}return{name:"Swift",keywords:l,contains:[...r,Ot,It,De,rt,le,Lt,Ft,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},Y,...u,...g,...m,E,A,...N,...W,X,ae]}}xi.exports=jc});var Ai=P((jf,yi)=>{function Vc(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}}yi.exports=Vc});var Li=P((Vf,Ii)=>{var _t="[A-Za-z$_][0-9A-Za-z$_]*",Ci=["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"],Ni=["true","false","null","undefined","NaN","Infinity"],Ti=["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"],Si=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Di=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Mi=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],Oi=[].concat(Di,Ti,Si);function Qc(e){let t=e.regex,n=(T,{after:L})=>{let q="</"+T[0].slice(1);return T.input.indexOf(q,L)!==-1},r=_t,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,W=T.input[q];if(W==="<"||W===","){L.ignoreMatch();return}W===">"&&(n(T,{after:q})||L.ignoreMatch());let X,ce=T.input.substring(q);if(X=ce.match(/^\s*=/)){L.ignoreMatch();return}if((X=ce.match(/^\s+extends\s+/))&&X.index===0){L.ignoreMatch();return}}},s={$pattern:_t,keyword:Ci,literal:Ni,built_in:Oi,"variable.language":Mi},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]},w={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]},E=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,h,m,{match:/\$\d+/},f];p.contains=E.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(E)});let b=[].concat(w,p.contains),k=b.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(b)}]),x={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:k},C={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:{_:[...Ti,...Si]}},A={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:[x],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 Y={match:t.concat(/\b/,U([...Di,"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:/\(\)/},x]},v="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",N={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(v)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:y},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),A,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,h,m,w,{match:/\$\d+/},f,y,{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:[w,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:k}]}]},{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:[x,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:[x]},Y,I,C,$,{match:/\$[(.]/}]}}function el(e){let t=e.regex,n=Qc(e),r=_t,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:_t,keyword:Ci.concat(c),literal:Ni,built_in:Oi.concat(i),"variable.language":Mi},u={className:"meta",begin:"@"+r},f=(h,m,_)=>{let w=h.contains.findIndex(E=>E.label===m);if(w===-1)throw new Error("can not find mode to replace");h.contains.splice(w,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}Ii.exports=el});var Bi=P((Qf,Fi)=>{function tl(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]}]}}Fi.exports=tl});var Ui=P((eg,Pi)=>{function nl(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]}}Pi.exports=nl});var zi=P((tg,$i)=>{var F=Qn();F.registerLanguage("xml",tr());F.registerLanguage("bash",rr());F.registerLanguage("c",or());F.registerLanguage("cpp",ar());F.registerLanguage("csharp",lr());F.registerLanguage("css",dr());F.registerLanguage("markdown",gr());F.registerLanguage("diff",hr());F.registerLanguage("ruby",br());F.registerLanguage("go",Er());F.registerLanguage("graphql",wr());F.registerLanguage("ini",xr());F.registerLanguage("java",Cr());F.registerLanguage("javascript",Or());F.registerLanguage("json",Lr());F.registerLanguage("kotlin",Br());F.registerLanguage("less",zr());F.registerLanguage("lua",Hr());F.registerLanguage("makefile",Kr());F.registerLanguage("perl",Zr());F.registerLanguage("objectivec",Yr());F.registerLanguage("php",jr());F.registerLanguage("php-template",Qr());F.registerLanguage("plaintext",ti());F.registerLanguage("python",ri());F.registerLanguage("python-repl",oi());F.registerLanguage("r",ai());F.registerLanguage("rust",li());F.registerLanguage("scss",di());F.registerLanguage("shell",gi());F.registerLanguage("sql",hi());F.registerLanguage("swift",Ri());F.registerLanguage("yaml",Ai());F.registerLanguage("typescript",Li());F.registerLanguage("vbnet",Bi());F.registerLanguage("wasm",Ui());F.HighlightJS=F;F.default=F;$i.exports=F});var vo=P((Ig,wo)=>{"use strict";var $l=/^xn--/,zl=/[^\0-\x7F]/,ql=/[\x2E\u3002\uFF0E\uFF61]/g,Hl={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fn=35,ge=Math.floor,gn=String.fromCharCode;function we(e){throw new RangeError(Hl[e])}function Gl(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function mo(e,t){let n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(ql,".");let i=e.split("."),o=Gl(i,t).join(".");return r+o}function bo(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 Kl=e=>String.fromCodePoint(...e),Wl=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},ho=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},_o=function(e,t,n){let r=0;for(e=n?ge(e/700):e>>1,e+=ge(e/t);e>fn*26>>1;r+=36)e=ge(e/fn);return ge(r+(fn+1)*e/(e+38))},Eo=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 p=Wl(e.charCodeAt(s++));p>=36&&we("invalid-input"),p>ge((2147483647-r)/u)&&we("overflow"),r+=p*u;let g=f<=o?1:f>=o+26?26:f-o;if(p<g)break;let d=36-g;u>ge(2147483647/d)&&we("overflow"),u*=d}let l=t.length+1;o=_o(r-c,l,c==0),ge(r/l)>2147483647-i&&we("overflow"),i+=ge(r/l),r%=l,t.splice(r++,0,i)}return String.fromCodePoint(...t)},ko=function(e){let t=[];e=bo(e);let n=e.length,r=128,i=0,o=72;for(let c of e)c<128&&t.push(gn(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>ge((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 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(gn(ho(g+d%h,0))),f=ge(d/h)}t.push(gn(ho(f,0))),o=_o(i,l,s===a),i=0,++s}++i,++r}return t.join("")},Zl=function(e){return mo(e,function(t){return $l.test(t)?Eo(t.slice(4).toLowerCase()):t})},Jl=function(e){return mo(e,function(t){return zl.test(t)?"xn--"+ko(t):t})},Yl={version:"2.3.1",ucs2:{decode:bo,encode:Kl},decode:Eo,encode:ko,toASCII:Jl,toUnicode:Zl};wo.exports=Yl});var oe=require("node:fs"),Q=require("node:path"),_s=require("node:url");var Te=require("node:fs"),j=require("node:path"),ls=require("node:util");var ue=(e,...t)=>e.replace(/\{(\d+)\}/g,(n,r)=>Number(r)<t.length?String(t[Number(r)]):n);var Cs=["<<-->>","<<->>","-->>","->>","-->","->","--x","-x","--)","-)","--|\\","--|/","--\\\\","--//","/|--","\\|--","//--","\\\\--","-|\\","-|/","-\\\\","-//","/|-","\\|-","//-","\\\\-"],Ns=e=>e.replace(/[.*+?^${}()|[\]\\/]/g,"\\$&"),Ts=new RegExp("^\\s*([^:]+?)\\s*(?:\\(\\))?("+Cs.map(Ns).join("|")+")(?:\\(\\))?\\s*[+-]?\\s*([^:]+?)\\s*:(.*)$"),$t=/^\s*%%\s*@ref\s+(.+?)\s*$/,zt=/^\s*%%\s*@link-headings\s*$/,qt=/^\s*%%\s*@seq-notes\s*$/,An="(\\d+(?:\\.\\d{1,2})?|\\.\\d{1,2})",Ss=new RegExp(`^\\s*autonumber(?:\\s+(off)|\\s+${An}(?:\\s+${An})?)?\\s*(?:(?:%%|#).*)?$`,"i"),Ds=/^\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 $e(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 Cn(e){let t=e.split(/\r?\n/);for(let n of t.slice($e(t))){let r=n.trim();if(!(r===""||r.startsWith("%%")))return/^sequenceDiagram\b/.test(r)}return!1}function Nn(e,t){let n=[],r,i,o,a=1,s=1,c=!1,l=e.split(/\r?\n/),u=$e(l);return l.forEach((f,p)=>{if(p<u)return;if(zt.test(f)){r??=t+p;return}if(qt.test(f)){i??=t+p;return}let g=$t.exec(f);if(g){o={text:g[1],line:t+p};return}let d=Ss.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("%%")||Ds.test(f))return;let h=Ts.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 Ms=[/^(\d+(?:\.\d+)*)[.).)](?!\d)\s*(.+)$/,/^(\d+(?:\.\d+)+)\s+(.+)$/,/^[((](\d+)[))]\s*(.+)$/];function Tn(e){let t=e.trim(),n=t.replace(/[0-9]/g,i=>String.fromCharCode(i.charCodeAt(0)-65248));for(let i of Ms){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 Os=/^\s*(?:flowchart-elk|graph|flowchart)\b(?:\s*(TB|TD|BT|RL|LR)\b|\s*([<>^]|v\b))?\s*;?/,Is=/^\s*(style|linkStyle|classDef|class|click|subgraph|end|direction|accTitle|accDescr)(?=[\s:{]|$)/,Ls=/^\s*subgraph\s+([^\s[]+)/,Fs=/^(?:[^\s[\](){}<>|&;:"@,~=-]|-(?![->.]))+/u,Bs=[["(((",[")))"]],["((",["))"]],["([",["])"]],["[[",["]]"]],["[(",[")]"]],["{{",["}}"]],["[/",["/]","\\]"]],["[\\",["\\]","/]"]],["(-",["-)"]],["[",["]"]],["(",[")"]],["{",["}"]],[">",["]"]]],Ps=/^\s*(?:[^\s"]+@)?(?:[xo<]?--+[-xo>]|[xo<]?==+[=xo>]|[xo<]?-?\.+-[xo>]?|~~~+)\s*(?:\|(?:"[^"]*"|[^|"])*\|\s*)?/,Us=[/^\s*[xo<]?--(?![-xo>])(.*?)--+[-xo>]\s*/,/^\s*[xo<]?==(?![=xo>])(.*?)==+[=xo>]\s*/,/^\s*[xo<]?-\.(.*?)\.+-[xo>]?\s*/],$s=/\blabel\s*:\s*(?:"([^"]*)"|'([^']*)'|([^,}\n]*))/;function Sn(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=Fs.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=$s.exec(e.slice(n+2,o));a&&(r=Sn(a[1]??a[2]??a[3]??"")),n=o+1}else{let o=Bs.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=Sn(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 qs(e){let t=Ps.exec(e);if(t)return t[0].length;for(let n of Us){let r=n.exec(e);if(r)return r[0].length}}function Hs(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=qs(n);if(i===void 0)break;n=n.slice(i),r=!0}}return t}function Dn(e,t){for(let n=t;n<e.length;n++){let r=e[n].trim();if(r===""||r.startsWith("%%"))continue;let i=Os.exec(e[n]);return i?{index:n,match:i}:void 0}}function Mn(e){let t=e.split(/\r?\n/);return Dn(t,$e(t))!==void 0}function On(e,t){let n=e.split(/\r?\n/),r=$e(n),i=Dn(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(zt.test(h)){l??=t+m;return}if(qt.test(h)){u??=t+m;return}let _=$t.exec(h);if(_){f={text:_[1],line:t+m};return}if(h.trim().startsWith("%%"))return;let w=Ls.exec(h);if(w&&c.add(w[1]),/^\s*accDescr\s*\{/.test(h)&&!h.includes("}")){p=!0;return}if(Is.test(h))return;let E=m===i?.index?h.slice(i.match[0].length):h,b=t+m,k=Hs(E),x=[];for(let{id:y,label:A}of k){let O=s.get(y);O||(O={index:s.size,line:b,text:y,nodeId:y,labeled:!1,refable:!1},s.set(y,O),x.push(y)),A!==void 0&&(O.text=A,O.labeled=!0,O.line=b)}if(k.length===0)return;let C=s.get(k.find(y=>y.label!==void 0)?.id??x[0]??k[0].id);g.set(b,C.nodeId),f&&(C.ref=f.text,C.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 Gs=/^\s*<!--\s*link-headings:end\s*-->\s*$/,Ks=/^\s*<!--\s*seq-notes:end\s*-->\s*$/;function Ht(e){return e.type==="fence"&&e.info.trim().split(/\s+/)[0]==="mermaid"}function Ws(e){if(Ht(e))return Cn(e.content)?"sequence":Mn(e.content)?"flowchart":void 0}function ze(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 Zs(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 st(e,t=ue){let n=[],r=e.map((o,a)=>({token:o,index:a,kind:Ws(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"?On(o.content,l):void 0,{messages:f,markerLine:p,legacyMarkerLine:g}=u?{messages:u.nodes,markerLine:u.markerLine,legacyMarkerLine:u.legacyMarkerLine}:Nn(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(w=>w.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"&&Ks.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"&&Gs.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(ze(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 w=Tn(_);w&&(u.set(String(m),w),l.set(w.text,[...l.get(w.text)??[],String(m)]))}}for(let d of o.messages){let h=Re(d.ref??d.text),m=d.number,_=l.get(h)??[],w=c.get(h)??_.find(E=>Number(u.get(E).value)===m)??_[0];if(w){d.target=w;let E=u.get(w);E&&m!==void 0&&(d.numberInHeading=Number(E.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=Zs(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 qi=yn(zi(),1);var en=qi.default;function rl(e,t){if(!t||!en.getLanguage(t))return"";try{return en.highlight(e,{language:t,ignoreIllegals:!0}).value}catch{return""}}var Ki=/^(?:"[^"]*"|'[^']*'|[^\s#:"'-][^:]*?)\s*:(?:\s|$)/,Et=e=>/^(["']).*\1$/.test(e)?e.slice(1,-1):e;function Hi(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 tn(e){let t=[];for(let n of e.split(/\r?\n/)){let r=/^\S/.test(n)?Ki.exec(n):null;r?t.push({key:Et(r[0].replace(/\s*:\s*$/,"")),rest:Hi(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=>
|
|
8
|
-
`),{key:
|
|
2
|
+
"use strict";var Os=Object.create;var Hn=Object.defineProperty;var Is=Object.getOwnPropertyDescriptor;var Ls=Object.getOwnPropertyNames;var Fs=Object.getPrototypeOf,Bs=Object.prototype.hasOwnProperty;var z=(e,n)=>()=>{try{return n||e((n={exports:{}}).exports,n),n.exports}catch(t){throw n=0,t}},Dt=(e,n)=>{for(var t in n)Hn(e,t,{get:n[t],enumerable:!0})},Ps=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of Ls(n))!Bs.call(e,i)&&i!==t&&Hn(e,i,{get:()=>n[i],enumerable:!(r=Is(n,i))||r.enumerable});return e};var Mt=(e,n,t)=>(t=e!=null?Os(Fs(e)):{},Ps(n||!e||!e.__esModule?Hn(t,"default",{value:e,enumerable:!0}):t,e));var ar=z((Uf,sr)=>{function Jt(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(n=>{let t=e[n],r=typeof t;(r==="object"||r==="function")&&!Object.isFrozen(t)&&Jt(t)}),e}var dn=class{constructor(n){n.data===void 0&&(n.data={}),this.data=n.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function Yt(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Ee(e,...n){let t=Object.create(null);for(let r in e)t[r]=e[r];return n.forEach(function(r){for(let i in r)t[i]=r[i]}),t}var sa="</span>",qt=e=>!!e.scope,aa=(e,{prefix:n})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){let t=e.split(".");return[`${n}${t.shift()}`,...t.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${n}${e}`},Xn=class{constructor(n,t){this.buffer="",this.classPrefix=t.classPrefix,n.walk(this)}addText(n){this.buffer+=Yt(n)}openNode(n){if(!qt(n))return;let t=aa(n.scope,{prefix:this.classPrefix});this.span(t)}closeNode(n){qt(n)&&(this.buffer+=sa)}value(){return this.buffer}span(n){this.buffer+=`<span class="${n}">`}},Ht=(e={})=>{let n={children:[]};return Object.assign(n,e),n},jn=class e{constructor(){this.rootNode=Ht(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(n){this.top.children.push(n)}openNode(n){let t=Ht({scope:n});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(n){return this.constructor._walk(n,this.rootNode)}static _walk(n,t){return typeof t=="string"?n.addText(t):t.children&&(n.openNode(t),t.children.forEach(r=>this._walk(n,r)),n.closeNode(t)),n}static _collapse(n){typeof n!="string"&&n.children&&(n.children.every(t=>typeof t=="string")?n.children=[n.children.join("")]:n.children.forEach(t=>{e._collapse(t)}))}},Vn=class extends jn{constructor(n){super(),this.options=n}addText(n){n!==""&&this.add(n)}startScope(n){this.openNode(n)}endScope(){this.closeNode()}__addSublanguage(n,t){let r=n.root;t&&(r.scope=`language:${t}`),this.add(r)}toHTML(){return new Xn(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function He(e){return e?typeof e=="string"?e:e.source:null}function Xt(e){return Ce("(?=",e,")")}function ca(e){return Ce("(?:",e,")*")}function la(e){return Ce("(?:",e,")?")}function Ce(...e){return e.map(t=>He(t)).join("")}function ua(e){let n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function gn(...e){return"("+(ua(e).capture?"":"?:")+e.map(r=>He(r)).join("|")+")"}function jt(e){return new RegExp(e.toString()+"|").exec("").length-1}function da(e,n){let t=e&&e.exec(n);return t&&t.index===0}var fa=new RegExp(gn(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function et(e,{joinWith:n}){let t=0;return e.map(r=>{t+=1;let i=t,o=He(r),a="";for(;o.length>0;){let s=fa.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]))&&t++)}return a}).map(r=>`(${r})`).join(n)}var ga=/\b\B/,Vt="[a-zA-Z]\\w*",nt="[a-zA-Z_]\\w*",Qt="\\b\\d+(\\.\\d+)?",er="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",nr="\\b(0b[01]+)",pa="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ha=(e={})=>{let n=/^#![ ]*\//;return e.binary&&(e.begin=Ce(n,/.*\b/,e.binary,/\b.*/)),Ee({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":(t,r)=>{t.index!==0&&r.ignoreMatch()}},e)},Ge={begin:"\\\\[\\s\\S]",relevance:0},ma={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ge]},ba={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ge]},_a={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/},pn=function(e,n,t={}){let r=Ee({scope:"comment",begin:e,end:n,contains:[]},t);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=gn("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:Ce(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Ea=pn("//","$"),ka=pn("/\\*","\\*/"),wa=pn("#","$"),xa={scope:"number",begin:Qt,relevance:0},va={scope:"number",begin:er,relevance:0},Ra={scope:"number",begin:nr,relevance:0},ya={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ge,{begin:/\[/,end:/\]/,relevance:0,contains:[Ge]}]},Aa={scope:"title",begin:Vt,relevance:0},Ca={scope:"title",begin:nt,relevance:0},Na={begin:"\\.\\s*"+nt,relevance:0},Ta=function(e){return Object.assign(e,{"on:begin":(n,t)=>{t.data._beginMatch=n[1]},"on:end":(n,t)=>{t.data._beginMatch!==n[1]&&t.ignoreMatch()}})},un=Object.freeze({__proto__:null,APOS_STRING_MODE:ma,BACKSLASH_ESCAPE:Ge,BINARY_NUMBER_MODE:Ra,BINARY_NUMBER_RE:nr,COMMENT:pn,C_BLOCK_COMMENT_MODE:ka,C_LINE_COMMENT_MODE:Ea,C_NUMBER_MODE:va,C_NUMBER_RE:er,END_SAME_AS_BEGIN:Ta,HASH_COMMENT_MODE:wa,IDENT_RE:Vt,MATCH_NOTHING_RE:ga,METHOD_GUARD:Na,NUMBER_MODE:xa,NUMBER_RE:Qt,PHRASAL_WORDS_MODE:_a,QUOTE_STRING_MODE:ba,REGEXP_MODE:ya,RE_STARTERS_RE:pa,SHEBANG:ha,TITLE_MODE:Aa,UNDERSCORE_IDENT_RE:nt,UNDERSCORE_TITLE_MODE:Ca});function Sa(e,n){e.input[e.index-1]==="."&&n.ignoreMatch()}function Da(e,n){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Ma(e,n){n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Sa,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Oa(e,n){Array.isArray(e.illegal)&&(e.illegal=gn(...e.illegal))}function Ia(e,n){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 La(e,n){e.relevance===void 0&&(e.relevance=1)}var Fa=(e,n)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");let t=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=t.keywords,e.begin=Ce(t.beforeMatch,Xt(t.begin)),e.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},e.relevance=0,delete t.beforeMatch},Ba=["of","and","for","in","not","or","if","then","parent","list","value"],Pa="keyword";function tr(e,n,t=Pa){let r=Object.create(null);return typeof e=="string"?i(t,e.split(" ")):Array.isArray(e)?i(t,e):Object.keys(e).forEach(function(o){Object.assign(r,tr(e[o],n,o))}),r;function i(o,a){n&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){let c=s.split("|");r[c[0]]=[o,Ua(c[0],c[1])]})}}function Ua(e,n){return n?Number(n):$a(e)?0:1}function $a(e){return Ba.includes(e.toLowerCase())}var Gt={},Ae=e=>{console.error(e)},Kt=(e,...n)=>{console.log(`WARN: ${e}`,...n)},Oe=(e,n)=>{Gt[`${e}/${n}`]||(console.log(`Deprecated as of ${e}. ${n}`),Gt[`${e}/${n}`]=!0)},fn=new Error;function rr(e,n,{key:t}){let r=0,i=e[t],o={},a={};for(let s=1;s<=n.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=jt(n[s-1]);e[t]=a,e[t]._emit=o,e[t]._multi=!0}function za(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Ae("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),fn;if(typeof e.beginScope!="object"||e.beginScope===null)throw Ae("beginScope must be object"),fn;rr(e,e.begin,{key:"beginScope"}),e.begin=et(e.begin,{joinWith:""})}}function qa(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Ae("skip, excludeEnd, returnEnd not compatible with endScope: {}"),fn;if(typeof e.endScope!="object"||e.endScope===null)throw Ae("endScope must be object"),fn;rr(e,e.end,{key:"endScope"}),e.end=et(e.end,{joinWith:""})}}function Ha(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Ga(e){Ha(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),za(e),qa(e)}function Ka(e){function n(a,s){return new RegExp(He(a),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class t{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+=jt(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let s=this.regexes.map(c=>c[1]);this.matcherRe=n(et(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 t;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;[Da,Ia,Ga,Fa].forEach(u=>u(a,s)),e.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[Ma,Oa,La].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=tr(a.keywords,e.case_insensitive)),c.keywordPatternRe=n(l,!0),s&&(a.begin||(a.begin=/\B|\b/),c.beginRe=n(c.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=n(c.end)),c.terminatorEnd=He(c.end)||"",a.endsWithParent&&s.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(c.illegalRe=n(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return Wa(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 ir(e){return e?e.endsWithParent||ir(e.starts):!1}function Wa(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(n){return Ee(e,{variants:null},n)})),e.cachedVariants?e.cachedVariants:ir(e)?Ee(e,{starts:e.starts?Ee(e.starts):null}):Object.isFrozen(e)?Ee(e):e}var Za="11.12.0",Qn=class extends Error{constructor(n,t){super(n),this.name="HTMLInjectionError",this.html=t}},Yn=Yt,Wt=Ee,Zt=Symbol("nomatch"),Ja=7,or=function(e){let n=Object.create(null),t=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:Vn};function c(x){return s.noHighlightRe.test(x)}function l(x){let N=x.className+" ";N+=x.parentNode?x.parentNode.className:"";let S=s.languageDetectRe.exec(N);if(S){let I=C(S[1]);return I||(Kt(o.replace("{}",S[1])),Kt("Falling back to no-highlight mode for this block.",x)),I?S[1]:"no-highlight"}return N.split(/\s+/).find(I=>c(I)||C(I))}function u(x,N,S){let I="",H="";typeof N=="object"?(I=x,S=N.ignoreIllegals,H=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`),H=x,I=N),S===void 0&&(S=!0);let J={code:I,language:H};D("before:highlight",J);let V=J.result?J.result:f(J.language,J.code,S);return V.code=J.code,D("after:highlight",V),V}function f(x,N,S,I){let H=Object.create(null);function J(A,O){return A.keywords[O]}function V(){if(!F.keywords){te.addText(Y);return}let A=0;F.keywordPatternRe.lastIndex=0;let O=F.keywordPatternRe.exec(Y),$="";for(;O;){$+=Y.substring(A,O.index);let G=de.case_insensitive?O[0].toLowerCase():O[0],oe=J(F,G);if(oe){let[be,Ds]=oe;if(te.addText($),$="",H[G]=(H[G]||0)+1,H[G]<=Ja&&(cn+=Ds),be.startsWith("_"))$+=O[0];else{let Ms=de.classNameAliases[be]||be;ce(O[0],Ms)}}else $+=O[0];A=F.keywordPatternRe.lastIndex,O=F.keywordPatternRe.exec(Y)}$+=Y.substring(A),te.addText($)}function ue(){if(Y==="")return;let A=null;if(typeof F.subLanguage=="string"){if(!n[F.subLanguage]){te.addText(Y);return}A=f(F.subLanguage,Y,!0,an[F.subLanguage]),an[F.subLanguage]=A._top}else A=g(Y,F.subLanguage.length?F.subLanguage:null);F.relevance>0&&(cn+=A.relevance),te.__addSublanguage(A._emitter,A.language)}function ae(){F.subLanguage!=null?ue():V(),Y=""}function ce(A,O){A!==""&&(te.startScope(O),te.addText(A),te.endScope())}function De(A,O){let $=1,G=O.length-1;for(;$<=G;){if(!A._emit[$]){$++;continue}let oe=de.classNameAliases[A[$]]||A[$],be=O[$];oe?ce(be,oe):(Y=be,V(),Y=""),$++}}function on(A,O){return A.scope&&typeof A.scope=="string"&&te.openNode(de.classNameAliases[A.scope]||A.scope),A.beginScope&&(A.beginScope._wrap?(ce(Y,de.classNameAliases[A.beginScope._wrap]||A.beginScope._wrap),Y=""):A.beginScope._multi&&(De(A.beginScope,O),Y="")),F=Object.create(A,{parent:{value:F}}),F}function $e(A,O,$){let G=da(A.endRe,$);if(G){if(A["on:end"]){let oe=new dn(A);A["on:end"](O,oe),oe.isMatchIgnored&&(G=!1)}if(G){for(;A.endsParent&&A.parent;)A=A.parent;return A}}if(A.endsWithParent)return $e(A.parent,O,$)}function Bn(A){return F.matcher.regexIndex===0?(Y+=A[0],1):(qn=!0,0)}function Pn(A){let O=A[0],$=A.rule,G=new dn($),oe=[$.__beforeBegin,$["on:begin"]];for(let be of oe)if(be&&(be(A,G),G.isMatchIgnored))return Bn(O);return $.skip?Y+=O:($.excludeBegin&&(Y+=O),ae(),!$.returnBegin&&!$.excludeBegin&&(Y=O)),on($,A),$.returnBegin?0:O.length}function Un(A){let O=A[0],$=N.substring(A.index),G=$e(F,A,$);if(!G)return Zt;let oe=F;F.endScope&&F.endScope._wrap?(ae(),ce(O,F.endScope._wrap)):F.endScope&&F.endScope._multi?(ae(),De(F.endScope,A)):oe.skip?Y+=O:(oe.returnEnd||oe.excludeEnd||(Y+=O),ae(),oe.excludeEnd&&(Y=O));do F.scope&&te.closeNode(),!F.skip&&!F.subLanguage&&(cn+=F.relevance),F=F.parent;while(F!==G.parent);return G.starts&&on(G.starts,A),oe.returnEnd?0:O.length}function $n(){let A=[];for(let O=F;O!==de;O=O.parent)O.scope&&A.unshift(O.scope);A.forEach(O=>te.openNode(O))}let Me={};function sn(A,O){let $=O&&O[0];if(Y+=A,$==null)return ae(),0;if(Me.type==="begin"&&O.type==="end"&&Me.index===O.index&&$===""){if(Y+=N.slice(O.index,O.index+1),!i){let G=new Error(`0 width match regex (${x})`);throw G.languageName=x,G.badRule=Me.rule,G}return 1}if(Me=O,O.type==="begin")return Pn(O);if(O.type==="illegal"&&!S){let G=new Error('Illegal lexeme "'+$+'" for mode "'+(F.scope||"<unnamed>")+'"');throw G.mode=F,G}else if(O.type==="end"){let G=Un(O);if(G!==Zt)return G}if(O.type==="illegal"&&$==="")return O.index===N.length||(Y+=`
|
|
4
|
+
`),1;if(zn>1e5&&zn>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=$,$.length}let de=C(x);if(!de)throw Ae(o.replace("{}",x)),new Error('Unknown language: "'+x+'"');let K=Ka(de),_e="",F=I||K,an={},te=new s.__emitter(s);$n();let Y="",cn=0,Re=0,zn=0,qn=!1;try{if(de.__emitTokens)de.__emitTokens(N,te);else{for(F.matcher.considerAll();;){zn++,qn?qn=!1:F.matcher.considerAll(),F.matcher.lastIndex=Re;let A=F.matcher.exec(N);if(!A)break;let O=N.substring(Re,A.index),$=sn(O,A);Re=A.index+$}sn(N.substring(Re))}return te.finalize(),_e=te.toHTML(),{language:x,value:_e,relevance:cn,illegal:!1,_emitter:te,_top:F}}catch(A){if(A.message&&A.message.includes("Illegal"))return{language:x,value:Yn(N),illegal:!0,relevance:0,_illegalBy:{message:A.message,index:Re,context:N.slice(Re-100,Re+100),mode:A.mode,resultSoFar:_e},_emitter:te};if(i)return{language:x,value:Yn(N),illegal:!1,relevance:0,errorRaised:A,_emitter:te,_top:F};throw A}}function p(x){let N={value:Yn(x),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return N._emitter.addText(x),N}function g(x,N){N=N||s.languages||Object.keys(n);let S=p(x),I=N.filter(C).filter(L).map(ae=>f(ae,x,!1));I.unshift(S);let H=I.sort((ae,ce)=>{if(ae.relevance!==ce.relevance)return ce.relevance-ae.relevance;if(ae.language&&ce.language){if(C(ae.language).supersetOf===ce.language)return 1;if(C(ce.language).supersetOf===ae.language)return-1}return 0}),[J,V]=H,ue=J;return ue.secondBest=V,ue}function d(x,N,S){let I=N&&t[N]||S;x.classList.add("hljs"),x.classList.add(`language-${I}`)}function m(x){let N=null,S=l(x);if(c(S))return;if(D("before:highlightElement",{el:x,language:S}),x.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",x);return}if(x.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(x)),s.throwUnescapedHTML))throw new Qn("One of your code blocks includes unescaped HTML.",x.innerHTML);N=x;let I=N.textContent,H=S?u(I,{language:S,ignoreIllegals:!0}):g(I);x.innerHTML=H.value,x.dataset.highlighted="yes",d(x,S,H.language),x.result={language:H.language,re:H.relevance,relevance:H.relevance},H.secondBest&&(x.secondBest={language:H.secondBest.language,relevance:H.secondBest.relevance}),D("after:highlightElement",{el:x,result:H,text:I})}function h(x){s=Wt(s,x)}let _=()=>{b(),Oe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function w(){b(),Oe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let k=!1;function b(){function x(){b()}if(document.readyState==="loading"){k||window.addEventListener("DOMContentLoaded",x,!1),k=!0;return}document.querySelectorAll(s.cssSelector).forEach(m)}function E(x,N){let S=null;try{S=N(e)}catch(I){if(Ae("Language definition for '{}' could not be registered.".replace("{}",x)),i)Ae(I);else throw I;S=a}S.name||(S.name=x),n[x]=S,S.rawDefinition=N.bind(null,e),S.aliases&&T(S.aliases,{languageName:x})}function v(x){delete n[x];for(let N of Object.keys(t))t[N]===x&&delete t[N]}function R(){return Object.keys(n)}function C(x){return x=(x||"").toLowerCase(),n[x]||n[t[x]]}function T(x,{languageName:N}){typeof x=="string"&&(x=[x]),x.forEach(S=>{t[S.toLowerCase()]=N})}function L(x){let N=C(x);return N&&!N.disableAutodetect}function B(x){x["before:highlightBlock"]&&!x["before:highlightElement"]&&(x["before:highlightElement"]=N=>{x["before:highlightBlock"](Object.assign({block:N.el},N))}),x["after:highlightBlock"]&&!x["after:highlightElement"]&&(x["after:highlightElement"]=N=>{x["after:highlightBlock"](Object.assign({block:N.el},N))})}function q(x){B(x),r.push(x)}function y(x){let N=r.indexOf(x);N!==-1&&r.splice(N,1)}function D(x,N){let S=x;r.forEach(function(I){I[S]&&I[S](N)})}function P(x){return Oe("10.7.0","highlightBlock will be removed entirely in v12.0"),Oe("10.7.0","Please use highlightElement now."),m(x)}Object.assign(e,{highlight:u,highlightAuto:g,highlightAll:b,highlightElement:m,highlightBlock:P,configure:h,initHighlighting:_,initHighlightingOnLoad:w,registerLanguage:E,unregisterLanguage:v,listLanguages:R,getLanguage:C,registerAliases:T,autoDetection:L,inherit:Wt,addPlugin:q,removePlugin:y}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=Za,e.regex={concat:Ce,lookahead:Xt,either:gn,optional:la,anyNumberOfTimes:ca};for(let x in un)typeof un[x]=="object"&&Jt(un[x]);return Object.assign(e,un),e},Ie=or({});Ie.newInstance=()=>or({});sr.exports=Ie;Ie.HighlightJS=Ie;Ie.default=Ie});var lr=z(($f,cr)=>{function Ya(e){let n=e.regex,t=n.concat(/[\p{L}_]/u,n.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:n.concat(/</,n.lookahead(n.concat(t,n.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:l}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}cr.exports=Ya});var dr=z((zf,ur)=>{function Xa(e){let n=e.regex,t={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:n.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,t,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,t]},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},m=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],h=["true","false"],_={match:/(\/[a-z._-]+)+/},w=["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:m,literal:h,built_in:[...w,...k,"set","shopt",...b,...E]},contains:[g,e.SHEBANG(),d,f,o,a,_,s,c,l,u,t]}}ur.exports=Xa});var gr=z((qf,fr)=>{function ja(e){let n=e.regex,t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="("+r+"|"+n.optional(i)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",s=n.concat(/\batomic_/,n.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:/<.*?>/},t,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"}),t,e.C_BLOCK_COMMENT_MODE]},d=[p,g],m={className:"title",begin:n.optional(i)+e.IDENT_RE,relevance:0},h=n.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,t,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,"+_+"}"+h,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:b,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:b,relevance:0},{begin:h,returnBegin:!0,contains:[e.inherit(m,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,u,f,c,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,u,f,c]}]},c,t,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}}}fr.exports=ja});var hr=z((Hf,pr)=>{function Va(e){let n=e.regex,t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+n.optional(i)+"[a-zA-Z_]\\w*"+n.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:/<.*?>/},t,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"}),t,e.C_BLOCK_COMMENT_MODE]},g=[f,p],d={className:"title",begin:n.optional(i)+e.IDENT_RE,relevance:0},m=n.optional(i)+e.IDENT_RE+"\\s*\\(",h=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"],w=["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:w,keyword:_,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:k},C={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:n.concat(/\b/,`(?!${_.join("|")})`,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},T=[C,...g,s,t,e.C_BLOCK_COMMENT_MODE,u,l],L={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:T.concat([{begin:/\(/,end:/\)/,keywords:R,contains:T.concat(["self"]),relevance:0}]),relevance:0},B={className:"function",begin:"("+a+"[\\*&\\s]+){1,"+h+"}"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:R,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:R,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,l,u,s,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,l,u,s]}]},s,t,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(L,B,C,T,[...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"}}])}}pr.exports=Va});var br=z((Gf,mr)=>{function Qa(e){let n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],t=["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:n,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/}),m={className:"subst",begin:/\{/,end:/\}/,keywords:a},h=e.inherit(m,{illegal:/\n/}),_={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,h]},w={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]},k=e.inherit(w,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]});m.contains=[w,_,g,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.C_BLOCK_COMMENT_MODE],h.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,w,_,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:t.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]}}mr.exports=Qa});var Er=z((Kf,_r)=>{var ec=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_-]*/}}),nc=["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"],tc=["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"],rc=[...nc,...tc],ic=["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(),oc=["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(),sc=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),ac=["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 cc(e){let n=e.regex,t=ec(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:[t.BLOCK_COMMENT,r,t.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+a,relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+oc.join("|")+")"},{begin:":(:)?("+sc.join("|")+")"}]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ac.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[t.BLOCK_COMMENT,t.HEXCOLOR,t.IMPORTANT,t.CSS_NUMBER_MODE,t.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}]},t.FUNCTION_DISPATCH]},{begin:n.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:ic.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,t.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+rc.join("|")+")\\b"}]}}_r.exports=cc});var wr=z((Wf,kr)=>{function lc(e){let n=e.regex,t={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:n.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=[t,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}]}]},t,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});/}]}}kr.exports=lc});var vr=z((Zf,xr)=>{function uc(e){let n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+,\d+ +\+\d+ +@@/,/^@@ +-\d+ +\+\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}xr.exports=uc});var yr=z((Jf,Rr)=>{function dc(e){let n=e.regex,t="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=n.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:n.concat(/<<[-~]?'?/,n.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"}]},m={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+/,t],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:t}],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,m.contains=v;let L=[{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(L).concat(l).concat(v)}}Rr.exports=dc});var Cr=z((Yf,Ar)=>{function fc(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:/["']/}]}]}}Ar.exports=fc});var Tr=z((Xf,Nr)=>{function gc(e){let n=e.regex,t=/[_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:n.concat(t,n.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}Nr.exports=gc});var Dr=z((jf,Sr)=>{function pc(e){let n=e.regex,t={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,t,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,l=/"(\\"|[^"])*"/,u=/'[^']*'/,f=n.either(c,l,u),p=n.concat(f,"(\\s*\\.\\s*",f,")*",n.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,t]}}]}}Sr.exports=pc});var Lr=z((Vf,Ir)=>{var Le="[0-9](_*[0-9])*",hn=`\\.(${Le})`,mn="[0-9a-fA-F](_*[0-9a-fA-F])*",Mr={className:"number",variants:[{begin:`(\\b(${Le})((${hn})|\\.)?|(${hn}))[eE][+-]?(${Le})[fFdD]?\\b`},{begin:`\\b(${Le})((${hn})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${hn})[fFdD]?\\b`},{begin:`\\b(${Le})[fFdD]\\b`},{begin:`\\b0[xX]((${mn})\\.?|(${mn})?\\.(${mn}))[pP][+-]?(${Le})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${mn})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Or(e,n,t){return t===-1?"":e.replace(n,r=>Or(e,n,t-1))}function hc(e){let n=e.regex,t="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",r="(?:(?:\\s*\\[\\s*])+)?",i=t+"<@@@>"+r,a="(?:"+("\\?(?:\\s+(?:extends|super)\\s+"+i+")?")+"|"+i+")",s=Or("(?:\\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:"@"+t,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+/,t],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{beginKeywords:"new throw return else yield assert",relevance:0},{begin:[t,n.concat(s,r,/\s+/),t,r,/\s*/,/=(?!=)/],className:{1:"type",3:"variable",6:"operator"}},{begin:[/record/,/\s+/,t],className:{1:"keyword",3:"title.class"},contains:[d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{begin:[t,n.concat(s,r,/\s+/),t,/\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,Mr,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Mr,g]}}Ir.exports=hc});var zr=z((Qf,$r)=>{var Fr="[A-Za-z$_][0-9A-Za-z$_]*",mc=["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"],bc=["true","false","null","undefined","NaN","Infinity"],Br=["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"],Pr=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ur=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],_c=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],Ec=[].concat(Ur,Br,Pr);function kc(e){let n=e.regex,t=(S,{after:I})=>{let H="</"+S[0].slice(1);return S.input.indexOf(H,I)!==-1},r=Fr,i={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(S,I)=>{let H=S[0].length+S.index,J=S.input[H];if(J==="<"||J===","){I.ignoreMatch();return}J===">"&&(t(S,{after:H})||I.ignoreMatch());let V,ue=S.input.substring(H);if(V=ue.match(/^\s*=/)){I.ignoreMatch();return}if((V=ue.match(/^\s+extends\s+/))&&V.index===0){I.ignoreMatch();return}}},s={$pattern:Fr,keyword:mc,literal:bc,built_in:Ec,"variable.language":_c},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"}},m={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},w={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,m,h,{match:/\$\d+/},f];p.contains=k.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(k)});let b=[].concat(w,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+/,n.concat(r,"(",n.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:n.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:{_:[...Br,...Pr]}},T={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},B={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function q(S){return n.concat("(?!",S.join("|"),")")}let y={match:n.concat(/\b/,q([...Ur,"super","import","await"].map(S=>`${S}\\s*\\(`)),r,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},D={begin:n.concat(/\./,n.lookahead(n.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},P={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},x="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",N={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(x)],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:C},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),T,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,m,h,w,{match:/\$\d+/},f,C,{scope:"attr",match:r+n.lookahead(":"),relevance:0},N,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[w,e.REGEXP_MODE,{className:"function",begin:x,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"]}]}]},L,{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},D,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},y,B,R,P,{match:/\$[(.]/}]}}$r.exports=kc});var Hr=z((eg,qr)=>{var wc="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",xc={scope:"number",match:wc,relevance:0};function vc(e){let n={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},t={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:[n,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,xc,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}qr.exports=vc});var Kr=z((ng,Gr)=>{var Fe="[0-9](_*[0-9])*",bn=`\\.(${Fe})`,_n="[0-9a-fA-F](_*[0-9a-fA-F])*",Rc={className:"number",variants:[{begin:`(\\b(${Fe})((${bn})|\\.)?|(${bn}))[eE][+-]?(${Fe})[fFdD]?\\b`},{begin:`\\b(${Fe})((${bn})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${bn})[fFdD]?\\b`},{begin:`\\b(${Fe})[fFdD]\\b`},{begin:`\\b0[xX]((${_n})\\.?|(${_n})?\\.(${_n}))[pP][+-]?(${Fe})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${_n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function yc(e){let n={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"},t={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=Rc,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:n,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,t,r,s,c,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:n,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:n,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]}}Gr.exports=yc});var Yr=z((tg,Jr)=>{var Ac=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_-]*/}}),Cc=["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"],Nc=["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"],Tc=[...Cc,...Nc],Sc=["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(),Wr=["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(),Zr=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Dc=["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(),Mc=Wr.concat(Zr).sort().reverse();function Oc(e){let n=Ac(e),t=Mc,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:Sc.join(" ")},f={begin:"\\(",end:"\\)",contains:s,keywords:u,relevance:0};s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c("'"),c('"'),n.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},n.UNICODE_RANGE,n.HEXCOLOR,f,l("variable","@@?"+i,10),l("variable","@\\{"+i+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},n.IMPORTANT,{beginKeywords:"and not"},n.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)-/},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Dc.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: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("+Tc.join("|")+")\\b",className:"selector-tag"},n.CSS_NUMBER_MODE,l("selector-tag",o,0),l("selector-id","#"+o),l("selector-class","\\."+o,0),l("selector-tag","&",0),n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+Wr.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Zr.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:p},{begin:"!important"},n.FUNCTION_DISPATCH]},w={begin:i+`:(:)?(${t.join("|")})`,returnBegin:!0,contains:[_]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,h,w,d,_,g,n.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}Jr.exports=Oc});var jr=z((rg,Xr)=>{function Ic(e){let n="\\[=*\\[",t="\\]=*\\]",r={begin:n,end:t,contains:["self"]},i=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,t,{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:n,end:t,contains:[r],relevance:5}])}}Xr.exports=Ic});var Qr=z((ig,Vr)=>{function Lc(e){let n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},t={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n]},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:[n,t]},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:[n]};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,n,t,r,i,o,a]}}Vr.exports=Lc});var ni=z((og,ei)=>{function Fc(e){let n=e.regex,t=["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:t.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:n.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=(m,h,_="\\1")=>{let w=_==="\\1"?_:n.concat(_,h);return n.concat(n.concat("(?:",m,")"),h,/(?:\\.|[^\\\/])*?/,w,/(?:\\.|[^\\\/])*?/,_,r)},g=(m,h,_)=>n.concat(n.concat("(?:",m,")"),h,/(?:\\.|[^\\\/])*?/,_,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",n.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",n.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}}ei.exports=Fc});var ri=z((sg,ti)=>{function Bc(e){let n={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+"},t=/[a-zA-Z@][a-zA-Z0-9_]*/,s={"variable.language":["this","super"],$pattern:t,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:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:s,illegal:"</",contains:[n,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}]}}ti.exports=Bc});var oi=z((ag,ii)=>{function Pc(e){let n=e.regex,t=/(?![A-Za-z0-9])(?![$])/,r=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,t),i=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,t),o=n.concat(/[A-Z]+/,t),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":(D,P)=>{P.data._beginMatch=D[1]||D[2]},"on:end":(D,P)=>{P.data._beginMatch!==D[1]&&P.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]},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"],_=["__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"],w=["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:(D=>{let P=[];return D.forEach(x=>{P.push(x),x.toLowerCase()===x?P.push(x.toUpperCase()):P.push(x.toLowerCase())}),P})(h),built_in:w},E=D=>D.map(P=>P.replace(/\|\d+$/,"")),v={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",E(w).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},R=n.concat(r,"\\b(?!\\()"),C={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),R],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,n.concat(/::/,n.lookahead(/(?!class\b)/)),R],scope:{1:"title.class",3:"variable.constant"}},{match:[i,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},T={scope:"attr",match:n.concat(r,n.lookahead(":"),n.lookahead(/(?!::)/))},L={relevance:0,begin:/\(/,end:/\)/,keywords:b,contains:[T,a,C,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,m,v]},B={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",E(_).join("\\b|"),"|",E(w).join("\\b|"),"\\b)"),r,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[L]};L.contains.push(B);let q=[T,C,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,d,m,v],y={begin:n.concat(/#\[\s*\\?/,n.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",...q]},...q,{scope:"meta",variants:[{match:i},{match:o}]}]};return{case_insensitive:!1,keywords:b,contains:[y,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,B,C,{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",y,a,C,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]}}ii.exports=Pc});var ai=z((cg,si)=>{function Uc(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})]}]}}si.exports=Uc});var li=z((lg,ci)=>{function $c(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}ci.exports=$c});var di=z((ug,ui)=>{function zc(e){let n=e.regex,t=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("|")}`,m={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})`}]},h={className:"comment",begin:n.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,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+/,t],scope:{1:"keyword",3:"title.function"},contains:[_]},{variants:[{match:[/\bclass/,/\s+/,t,/\s*/,/\(\s*/,t,/\s*\)/]},{match:[/\bclass/,/\s+/,t]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[m,_,f]}]}}ui.exports=zc});var gi=z((dg,fi)=>{function qc(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}fi.exports=qc});var hi=z((fg,pi)=>{function Hc(e){let n=e.regex,t=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=n.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=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:t,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:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:t},{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:[t,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}pi.exports=Hc});var bi=z((gg,mi)=>{function Gc(e){let n=e.regex,t=/(r#)?/,r=n.concat(t,e.UNDERSCORE_IDENT_RE),i=n.concat(t,e.IDENT_RE),o={scope:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!(?:let|for|while|if|else|match)\b)/,i,n.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]}}mi.exports=Gc});var Ei=z((pg,_i)=>{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_-]*/}}),Wc=["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"],Jc=[...Wc,...Zc],Yc=["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(),Xc=["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(),jc=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Vc=["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 Qc(e){let n=Kc(e),t=jc,r=Xc,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,n.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Jc.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+t.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[n.CSS_NUMBER_MODE]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Vc.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:[n.BLOCK_COMMENT,s,n.HEXCOLOR,n.CSS_NUMBER_MODE,n.UNICODE_RANGE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.IMPORTANT,n.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:Yc.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.HEXCOLOR,n.CSS_NUMBER_MODE]},n.FUNCTION_DISPATCH]}}_i.exports=Qc});var wi=z((hg,ki)=>{function el(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[./~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}ki.exports=el});var vi=z((mg,xi)=>{function nl(e){let n=e.regex,t=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)),m={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},h={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:n.concat(/\b/,n.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function w(E){return n.concat(/\b/,n.either(...E.map(v=>v.replace(/\s+/,"\\s+"))),/\b/)}let k={scope:"keyword",match:w(p),relevance:0};function b(E,{exceptions:v,when:R}={}){let C=R;return v=v||[],E.map(T=>T.match(/\|\d+$/)||v.includes(T)?T:C(T)?`${T}|0`:T)}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:w(a)},k,_,m,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,h]}}xi.exports=nl});var Mi=z((bg,Di)=>{function Ci(e){return e?typeof e=="string"?e:e.source:null}function Ke(e){return W("(?=",e,")")}function W(...e){return e.map(t=>Ci(t)).join("")}function tl(e){let n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function se(...e){return"("+(tl(e).capture?"":"?:")+e.map(r=>Ci(r)).join("|")+")"}new RegExp(se(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));var it=e=>W(/\b/,e,/\w$/.test(e)?/\b/:/\B/),rl=["Protocol","Type"].map(it),Ri=["init","self"].map(it),il=["Any","Self"],tt=["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"],yi=["false","nil","true"],ol=["assignment","associativity","higherThan","left","lowerThan","none","right"],sl=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Ai=["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"],Ni=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]/),Ti=se(Ni,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),rt=W(Ni,Ti,"*"),Si=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]/),kn=se(Si,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),ge=W(Si,kn,"*"),En=W(/[A-Z]/,kn,"*"),al=["attached","autoclosure",W(/convention\(/,se("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",W(/objc\(/,ge,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],cl=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function ll(e){let n={match:/\s+/,relevance:0},t=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,t],i={match:[/\./,se(...rl,...Ri)],className:{2:"keyword"}},o={match:W(/\./,se(...tt)),relevance:0},a=tt.filter(K=>typeof K=="string").concat(["_|0"]),s=tt.filter(K=>typeof K!="string").concat(il).map(it),c={variants:[{className:"keyword",match:se(...s,...Ri)}]},l={$pattern:se(/\b\w+/,/#\w+/),keyword:a.concat(sl),literal:yi},u=[i,o,c],f={match:W(/\./,se(...Ai)),relevance:0},p={className:"built_in",match:W(/\b/,se(...Ai),/(?=\()/)},g=[f,p],d={match:/->/,relevance:0},m={className:"operator",relevance:0,variants:[{match:rt},{match:`\\.(\\.|${Ti})+`}]},h=[d,m],_="([0-9]_*)+",w="([0-9a-fA-F]_*)+",k={className:"number",relevance:0,variants:[{match:`\\b(${_})(\\.(${_}))?([eE][+-]?(${_}))?\\b`},{match:`\\b0x(${w})(\\.(${w}))?([pP][+-]?(${_}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},b=(K="")=>({className:"subst",variants:[{match:W(/\\/,K,/[0\\tnr"']/)},{match:W(/\\/,K,/u\{[0-9a-fA-F]{1,8}\}/)}]}),E=(K="")=>({className:"subst",match:W(/\\/,K,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(K="")=>({className:"subst",label:"interpol",begin:W(/\\/,K,/\(/),end:/\)/}),R=(K="")=>({begin:W(K,/"""/),end:W(/"""/,K),contains:[b(K),E(K),v(K)]}),C=(K="")=>({begin:W(K,/"/),end:W(/"/,K),contains:[b(K),v(K)]}),T={className:"string",variants:[R(),R("#"),R("##"),R("###"),C(),C("#"),C("##"),C("###")]},L=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],B={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:L},q=K=>{let _e=W(K,/\//),F=W(/\//,K);return{begin:_e,end:F,contains:[...L,{scope:"comment",begin:`#(?!.*${F})`,end:/$/}]}},y={scope:"regexp",variants:[q("###"),q("##"),q("#"),B]},D={match:W(/`/,ge,/`/)},P={className:"variable",match:/\$\d+/},x={className:"variable",match:`\\$${kn}+`},N=[D,P,x],S={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:cl,contains:[...h,k,T]}]}},I={scope:"keyword",match:W(/@/,se(...al),Ke(se(/\(/,/\s+/)))},H={scope:"meta",match:W(/@/,ge)},J=[S,I,H],V={match:Ke(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:W(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,kn,"+")},{className:"type",match:En,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:W(/\s+&\s+/,Ke(En)),relevance:0}]},ue={begin:/</,end:/>/,keywords:l,contains:[...r,...u,...J,d,V]};V.contains.push(ue);let ae={match:W(ge,/\s*:/),keywords:"_|0",relevance:0},ce={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",ae,...r,y,...u,...g,...h,k,T,...N,...J,V]},De={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,V]},on={begin:se(Ke(W(ge,/\s*:/)),Ke(W(ge,/\s+/,ge,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:ge}]},$e={begin:/\(/,end:/\)/,keywords:l,contains:[on,...r,...u,...h,k,T,...J,V,ce],endsParent:!0,illegal:/["']/},Bn={match:[/(func|macro)/,/\s+/,se(D.match,ge,rt)],className:{1:"keyword",3:"title.function"},contains:[De,$e,n],illegal:[/\[/,/%/]},Pn={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[De,$e,n],illegal:/\[|%/},Un={match:[/operator/,/\s+/,rt],className:{1:"keyword",3:"title"}},$n={begin:[/precedencegroup/,/\s+/,En],className:{1:"keyword",3:"title"},contains:[V],keywords:[...ol,...yi],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"}},sn={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},de={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:En},...u],relevance:0}]};for(let K of T.variants){let _e=K.contains.find(an=>an.label==="interpol");_e.keywords=l;let F=[...u,...g,...h,k,T,...N];_e.contains=[...F,{begin:/\(/,end:/\)/,contains:["self",...F]}]}return{name:"Swift",keywords:l,contains:[...r,Bn,Pn,Me,sn,de,Un,$n,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},y,...u,...g,...h,k,T,...N,...J,V,ce]}}Di.exports=ll});var Ii=z((_g,Oi)=>{function ul(e){let n="true false yes no null",t="[\\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:n,relevance:0},d={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[g],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+!"+t},{className:"type",begin:"!<"+t+">"},{className:"type",begin:"!"+t},{className:"type",begin:"!!"+t},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},p,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},d,m,o,a],_=[...h];return _.pop(),_.push(s),g.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:h}}Oi.exports=ul});var Hi=z((Eg,qi)=>{var wn="[A-Za-z$_][0-9A-Za-z$_]*",Li=["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"],Fi=["true","false","null","undefined","NaN","Infinity"],Bi=["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"],Pi=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ui=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],$i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],zi=[].concat(Ui,Bi,Pi);function dl(e){let n=e.regex,t=(S,{after:I})=>{let H="</"+S[0].slice(1);return S.input.indexOf(H,I)!==-1},r=wn,i={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(S,I)=>{let H=S[0].length+S.index,J=S.input[H];if(J==="<"||J===","){I.ignoreMatch();return}J===">"&&(t(S,{after:H})||I.ignoreMatch());let V,ue=S.input.substring(H);if(V=ue.match(/^\s*=/)){I.ignoreMatch();return}if((V=ue.match(/^\s+extends\s+/))&&V.index===0){I.ignoreMatch();return}}},s={$pattern:wn,keyword:Li,literal:Fi,built_in:zi,"variable.language":$i},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"}},m={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},w={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,m,h,{match:/\$\d+/},f];p.contains=k.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(k)});let b=[].concat(w,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+/,n.concat(r,"(",n.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:n.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:{_:[...Bi,...Pi]}},T={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},B={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function q(S){return n.concat("(?!",S.join("|"),")")}let y={match:n.concat(/\b/,q([...Ui,"super","import","await"].map(S=>`${S}\\s*\\(`)),r,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},D={begin:n.concat(/\./,n.lookahead(n.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},P={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},x="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",N={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(x)],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:C},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),T,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,m,h,w,{match:/\$\d+/},f,C,{scope:"attr",match:r+n.lookahead(":"),relevance:0},N,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[w,e.REGEXP_MODE,{className:"function",begin:x,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"]}]}]},L,{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},D,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},y,B,R,P,{match:/\$[(.]/}]}}function fl(e){let n=e.regex,t=dl(e),r=wn,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:[t.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:wn,keyword:Li.concat(c),literal:Fi,built_in:zi.concat(i),"variable.language":$i},u={className:"meta",begin:"@"+r},f=(m,h,_)=>{let w=m.contains.findIndex(k=>k.label===h);if(w===-1)throw new Error("can not find mode to replace");m.contains.splice(w,1,_)};Object.assign(t.keywords,l),t.exports.PARAMS_CONTAINS.push(u);let p=t.contains.find(m=>m.scope==="attr"),g=Object.assign({},p,{match:n.concat(r,n.lookahead(/\s*\?:/))});t.exports.PARAMS_CONTAINS.push([t.exports.CLASS_REFERENCE,p,g]),t.contains=t.contains.concat([u,o,a,g]),f(t,"shebang",e.SHEBANG()),f(t,"use_strict",s);let d=t.contains.find(m=>m.label==="func.def");return d.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}qi.exports=fl});var Ki=z((kg,Gi)=>{function gl(e){let n=e.regex,t={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:n.concat(/# */,n.either(o,i),/ *#/)},{begin:n.concat(/# */,s,/ *#/)},{begin:n.concat(/# */,a,/ *#/)},{begin:n.concat(/# */,n.either(o,i),/ +/,n.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:[t,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]}]}}Gi.exports=gl});var Zi=z((wg,Wi)=>{function pl(e){e.regex;let n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");let t=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:[t,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,a,i,e.QUOTE_STRING_MODE,c,l,s]}}Wi.exports=pl});var Yi=z((xg,Ji)=>{var U=ar();U.registerLanguage("xml",lr());U.registerLanguage("bash",dr());U.registerLanguage("c",gr());U.registerLanguage("cpp",hr());U.registerLanguage("csharp",br());U.registerLanguage("css",Er());U.registerLanguage("markdown",wr());U.registerLanguage("diff",vr());U.registerLanguage("ruby",yr());U.registerLanguage("go",Cr());U.registerLanguage("graphql",Tr());U.registerLanguage("ini",Dr());U.registerLanguage("java",Lr());U.registerLanguage("javascript",zr());U.registerLanguage("json",Hr());U.registerLanguage("kotlin",Kr());U.registerLanguage("less",Yr());U.registerLanguage("lua",jr());U.registerLanguage("makefile",Qr());U.registerLanguage("perl",ni());U.registerLanguage("objectivec",ri());U.registerLanguage("php",oi());U.registerLanguage("php-template",ai());U.registerLanguage("plaintext",li());U.registerLanguage("python",di());U.registerLanguage("python-repl",gi());U.registerLanguage("r",hi());U.registerLanguage("rust",bi());U.registerLanguage("scss",Ei());U.registerLanguage("shell",wi());U.registerLanguage("sql",vi());U.registerLanguage("swift",Mi());U.registerLanguage("yaml",Ii());U.registerLanguage("typescript",Hi());U.registerLanguage("vbnet",Ki());U.registerLanguage("wasm",Zi());U.HighlightJS=U;U.default=U;Ji.exports=U});var To=z((np,No)=>{"use strict";var Vl=/^xn--/,Ql=/[^\0-\x7F]/,eu=/[\x2E\u3002\uFF0E\uFF61]/g,nu={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},bt=35,pe=Math.floor,_t=String.fromCharCode;function we(e){throw new RangeError(nu[e])}function tu(e,n){let t=[],r=e.length;for(;r--;)t[r]=n(e[r]);return t}function vo(e,n){let t=e.split("@"),r="";t.length>1&&(r=t[0]+"@",e=t[1]),e=e.replace(eu,".");let i=e.split("."),o=tu(i,n).join(".");return r+o}function Ro(e){let n=[],t=0,r=e.length;for(;t<r;){let i=e.charCodeAt(t++);if(i>=55296&&i<=56319&&t<r){let o=e.charCodeAt(t++);(o&64512)==56320?n.push(((i&1023)<<10)+(o&1023)+65536):(n.push(i),t--)}else n.push(i)}return n}var ru=e=>String.fromCodePoint(...e),iu=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},xo=function(e,n){return e+22+75*(e<26)-((n!=0)<<5)},yo=function(e,n,t){let r=0;for(e=t?pe(e/700):e>>1,e+=pe(e/n);e>bt*26>>1;r+=36)e=pe(e/bt);return pe(r+(bt+1)*e/(e+38))},Ao=function(e){let n=[],t=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"),n.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<t;){let c=r;for(let u=1,f=36;;f+=36){s>=t&&we("invalid-input");let p=iu(e.charCodeAt(s++));p>=36&&we("invalid-input"),p>pe((2147483647-r)/u)&&we("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)&&we("overflow"),u*=d}let l=n.length+1;o=yo(r-c,l,c==0),pe(r/l)>2147483647-i&&we("overflow"),i+=pe(r/l),r%=l,n.splice(r++,0,i)}return String.fromCodePoint(...n)},Co=function(e){let n=[];e=Ro(e);let t=e.length,r=128,i=0,o=72;for(let c of e)c<128&&n.push(_t(c));let a=n.length,s=a;for(a&&n.push("-");s<t;){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 p=36;;p+=36){let g=p<=o?1:p>=o+26?26:p-o;if(f<g)break;let d=f-g,m=36-g;n.push(_t(xo(g+d%m,0))),f=pe(d/m)}n.push(_t(xo(f,0))),o=yo(i,l,s===a),i=0,++s}++i,++r}return n.join("")},ou=function(e){return vo(e,function(n){return Vl.test(n)?Ao(n.slice(4).toLowerCase()):n})},su=function(e){return vo(e,function(n){return Ql.test(n)?"xn--"+Co(n):n})},au={version:"2.3.1",ucs2:{decode:Ro,encode:ru},decode:Ao,encode:Co,toASCII:su,toUnicode:ou};No.exports=au});var ie=require("node:fs"),Z=require("node:path"),Ts=require("node:url");var Se=require("node:fs"),j=require("node:path"),bs=require("node:util");var le=(e,...n)=>e.replace(/\{(\d+)\}/g,(t,r)=>Number(r)<n.length?String(n[Number(r)]):t);function Ot(e){return(n,...t)=>le(e[n]??n,...t)}var Us=["<<-->>","<<->>","-->>","->>","-->","->","--x","-x","--)","-)","--|\\","--|/","--\\\\","--//","/|--","\\|--","//--","\\\\--","-|\\","-|/","-\\\\","-//","/|-","\\|-","//-","\\\\-"],$s=e=>e.replace(/[.*+?^${}()|[\]\\/]/g,"\\$&"),zs=new RegExp("^\\s*([^:]+?)\\s*(?:\\(\\))?("+Us.map($s).join("|")+")(?:\\(\\))?\\s*[+-]?\\s*([^:]+?)\\s*:(.*)$"),Gn=/^\s*%%\s*@ref\s+(.+?)\s*$/,Kn=/^\s*%%\s*@link-headings\s*$/,Wn=/^\s*%%\s*@seq-notes\s*$/,It="(\\d+(?:\\.\\d{1,2})?|\\.\\d{1,2})",qs=new RegExp(`^\\s*autonumber(?:\\s+(off)|\\s+${It}(?:\\s+${It})?)?\\s*(?:(?:%%|#).*)?$`,"i"),Hs=/^\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 n=e.findIndex(r=>r.trim()!=="");if(n<0||e[n].trim()!=="---")return 0;let t=e.findIndex((r,i)=>i>n&&r.trim()==="---");return t<0?e.length:t+1}function Lt(e){let n=e.split(/\r?\n/);for(let t of n.slice(ze(n))){let r=t.trim();if(!(r===""||r.startsWith("%%")))return/^sequenceDiagram\b/.test(r)}return!1}function Ft(e,n){let t=[],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(Kn.test(f)){r??=n+p;return}if(Wn.test(f)){i??=n+p;return}let g=Gn.exec(f);if(g){o={text:g[1],line:n+p};return}let d=qs.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("%%")||Hs.test(f))return;let m=zs.exec(f);if(!m)return;let h={index:t.length,line:n+p,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),t.push(h)}),{messages:t,markerLine:r,legacyMarkerLine:i}}function ye(e){return e.replace(/<br\s*\/?>/gi," ").replace(/#(\d+);/g,(n,t)=>String.fromCharCode(Number(t))).replace(/\s+/g," ").trim()}var Gs=[/^(\d+(?:\.\d+)*)[.).)](?!\d)\s*(.+)$/,/^(\d+(?:\.\d+)+)\s+(.+)$/,/^[((](\d+)[))]\s*(.+)$/],Zn=e=>e.replace(/[0-9]/g,n=>String.fromCharCode(n.charCodeAt(0)-65248));function Bt(e){let n=e.trim(),t=Zn(n);for(let i of Gs){let o=i.exec(t);if(o)return{text:n.slice(t.length-o[2].length),value:o[1]}}let r=/^([\u2460-\u2473])\s*(.+)$/.exec(n);if(r)return{text:r[2],value:String(r[1].charCodeAt(0)-9312+1)}}var Ks=/^\s*(?:flowchart-elk|graph|flowchart)\b(?:\s*(TB|TD|BT|RL|LR)\b|\s*([<>^]|v\b))?\s*;?/,Ws=/^\s*(style|linkStyle|classDef|class|click|subgraph|end|direction|accTitle|accDescr)(?=[\s:{]|$)/,Zs=/^\s*subgraph\s+([^\s[]+)/,Js=/^(?:[^\s[\](){}<>|&;:"@,~=-]|-(?![->.]))+/u,Ys=[["(((",[")))"]],["((",["))"]],["([",["])"]],["[[",["]]"]],["[(",[")]"]],["{{",["}}"]],["[/",["/]","\\]"]],["[\\",["\\]","/]"]],["(-",["-)"]],["[",["]"]],["(",[")"]],["{",["}"]],[">",["]"]]],Xs=/^\s*(?:[^\s"]+@)?(?:[xo<]?--+[-xo>]|[xo<]?==+[=xo>]|[xo<]?-?\.+-[xo>]?|~~~+)\s*(?:\|(?:"[^"]*"|[^|"])*\|\s*)?/,js=[/^\s*[xo<]?--(?![-xo>])(.*?)--+[-xo>]\s*/,/^\s*[xo<]?==(?![=xo>])(.*?)==+[=xo>]\s*/,/^\s*[xo<]?-\.(.*?)\.+-[xo>]?\s*/],Vs=/\blabel\s*:\s*(?:"([^"]*)"|'([^']*)'|([^,}\n]*))/;function Pt(e){let n=e.trim();return n.length>=2&&n.startsWith('"')&&n.endsWith('"')&&(n=n.slice(1,-1)),n.length>=2&&n.startsWith("`")&&n.endsWith("`")&&(n=n.slice(1,-1).replace(/(\*\*|__)(.+?)\1/g,"$2").replace(/(\*|_)(.+?)\1/g,"$2")),n.trim()}function Qs(e){let n=Js.exec(e);if(!n)return;let t=n[0].length,r;if(e.startsWith("@{",t)){let o=e.indexOf("}",t);if(o<0)return;let a=Vs.exec(e.slice(t+2,o));a&&(r=Pt(a[1]??a[2]??a[3]??"")),t=o+1}else{let o=Ys.find(([a])=>e.startsWith(a,t));if(o){let[a,s]=o,c=t+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=Pt(e.slice(t+a.length,f)),t=f+s.find(p=>e.startsWith(p,f)).length}}let i=/^:::[^\s&;]+/.exec(e.slice(t));return i&&(t+=i[0].length),{node:{id:n[0],label:r},length:t}}function ea(e){let n=Xs.exec(e);if(n)return n[0].length;for(let t of js){let r=t.exec(e);if(r)return r[0].length}}function na(e){let n=[],t=e,r=!0;for(;t=t.replace(/^\s+/,""),t!=="";){if(t.startsWith(";")){t=t.slice(1),r=!0;continue}if(r){let i=Qs(t);if(!i)break;n.push(i.node),t=t.slice(i.length);let o=/^\s*&/.exec(t);o?t=t.slice(o[0].length):r=!1}else{let i=ea(t);if(i===void 0)break;t=t.slice(i),r=!0}}return n}function Ut(e,n){for(let t=n;t<e.length;t++){let r=e[t].trim();if(r===""||r.startsWith("%%"))continue;let i=Ks.exec(e[t]);return i?{index:t,match:i}:void 0}}function $t(e){let n=e.split(/\r?\n/);return Ut(n,ze(n))!==void 0}function zt(e,n){let t=e.split(/\r?\n/),r=ze(t),i=Ut(t,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 t.forEach((m,h)=>{if(h<r)return;if(p){p=!m.includes("}");return}if(Kn.test(m)){l??=n+h;return}if(Wn.test(m)){u??=n+h;return}let _=Gn.exec(m);if(_){f={text:_[1],line:n+h};return}if(m.trim().startsWith("%%"))return;let w=Zs.exec(m);if(w&&c.add(w[1]),/^\s*accDescr\s*\{/.test(m)&&!m.includes("}")){p=!0;return}if(Ws.test(m))return;let k=h===i?.index?m.slice(i.match[0].length):m,b=n+h,E=na(k),v=[];for(let{id:C,label:T}of E){let L=s.get(C);L||(L={index:s.size,line:b,text:C,nodeId:C,labeled:!1,refable:!1},s.set(C,L),v.push(C)),T!==void 0&&(L.text=T,L.labeled=!0,L.line=b)}if(E.length===0)return;let R=s.get(E.find(C=>C.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(m=>!c.has(m.nodeId)).map((m,h)=>({...m,index:h,refable:g.get(m.line)===m.nodeId})),markerLine:l,legacyMarkerLine:u,horizontal:a}}var ta=/^\s*<!--\s*link-headings:end\s*-->\s*$/,ra=/^\s*<!--\s*seq-notes:end\s*-->\s*$/;function Jn(e){return e.type==="fence"&&e.info.trim().split(/\s+/)[0]==="mermaid"}function ia(e){if(Jn(e))return Lt(e.content)?"sequence":$t(e.content)?"flowchart":void 0}function qe(e){return e?e.children?e.children.map(n=>{switch(n.type){case"text":case"code_inline":return n.content;case"softbreak":case"hardbreak":return" ";default:return""}}).join(""):e.content:""}function oa(e){let n=new Map;for(let r of e)n.set(r,(n.get(r)??0)+1);let t;for(let[r,i]of n){let o=t===void 0?0:n.get(t);(i>o||i===o&&r<t)&&(t=r)}return t}function ln(e,n=le){let t=[],r=e.map((o,a)=>({token:o,index:a,kind:ia(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"?zt(o.content,l):void 0,{messages:f,markerLine:p,legacyMarkerLine:g}=u?{messages:u.nodes,markerLine:u.markerLine,legacyMarkerLine:u.legacyMarkerLine}:Ft(o.content,l);if(g!==void 0&&t.push({line:g,message:n('"%% @seq-notes" is no longer supported. Write "%% @link-headings" instead.')}),p===void 0)for(let _ of f.filter(w=>w.ref!==void 0))t.push({line:_.refLine??_.line,message:n(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&&t.push({line:p,message:n(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,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"&&ra.test(o.content)&&t.push({line:o.map?.[0]??0,message:n('"<!-- 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"&&ta.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 _=ye(qe(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:_,refTarget:!c.has(_)}),c.has(_)||c.set(_,String(h));let w=Bt(_);w&&(u.set(String(h),w),l.set(w.text,[...l.get(w.text)??[],String(h)]))}}for(let d of o.messages){let m=ye(d.ref??d.text),h=d.number,_=l.get(m)??[],w=c.get(m)??_.find(k=>Number(u.get(k).value)===h)??_[0];if(w){d.target=w;let k=u.get(w);k&&h!==void 0&&(d.numberInHeading=Number(k.value)===h)}else d.ref!==void 0&&t.push({line:d.refLine??d.line,message:o.kind==="flowchart"?n('@ref target heading "{0}" was not found after the flowchart.',d.ref):n('@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(m=>!m.target&&m.labeled!==!1))d.unlinked=!0;let g=oa(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 t.sort((o,a)=>o.line-a.line),{diagrams:r,warnings:t}}var Xi=Mt(Yi(),1);var ot=Xi.default;function hl(e,n){if(!n||!ot.getLanguage(n))return"";try{return ot.highlight(e,{language:n,ignoreIllegals:!0}).value}catch{return""}}var Vi=/^(?:"[^"]*"|'[^']*'|[^\s#:"'-][^:]*?)\s*:(?:\s|$)/,xn=e=>/^(["']).*\1$/.test(e)?e.slice(1,-1):e;function ji(e){let n=/^(["'])(?:(?!\1).)*\1/.exec(e);if(n)return/^\s*(?:#.*)?$/.test(e.slice(n[0].length))?n[0]:e;let t=/(?:^|\s)#/.exec(e);return t?e.slice(0,t.index).trimEnd():e}function st(e){let n=[];for(let t of e.split(/\r?\n/)){let r=/^\S/.test(t)?Vi.exec(t):null;r?n.push({key:xn(r[0].replace(/\s*:\s*$/,"")),rest:ji(t.slice(r[0].length).trim()),lines:[]}):n.length>0&&!/^#/.test(t)&&n[n.length-1].lines.push(t)}return n.map(({key:t,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=>xn(ji(c.slice(1).trim()))).join(", "):a.length===0&&/^\[.*\]$/.test(r)?s=r.slice(1,-1).split(",").map(c=>xn(c.trim())).filter(c=>c!=="").join(", "):s=[xn(r),...a].filter((c,l)=>l>0||c!=="").join(`
|
|
8
|
+
`),{key:t,value:s}})}function Ze(e,n){let t=e.find(r=>r.key===n)?.value;return t?.trim()?t:void 0}var ml="design_doc";function at(e){return e.find(n=>n.key==="type")?.value.trim()===ml}var We=[{key:"version",label:"Version"},{key:"product",label:"Product"},{key:"status",label:"Status"},{key:"updated",label:"Updated"}];function bl(e){e.block.ruler.before("table","seqnotes_front_matter",(n,t,r,i)=>{let o=a=>n.src.slice(n.bMarks[a],n.eMarks[a]).trimEnd();if(t!==0||n.parentType!=="root"||o(0)!=="---"||r<2||!Vi.test(o(1)))return!1;for(let a=1;a<r;a++)if(o(a)==="---"||o(a)==="..."){if(!i){let s=n.push("front_matter","",0);s.block=!0,s.map=[0,a+1],s.content=a>1?n.src.slice(n.bMarks[1],n.eMarks[a-1]):""}return n.line=a+1,!0}return!1}),e.renderer.rules.front_matter=(n,t,r,i,o)=>{let a=i?.frontMatter===!1?[]:st(n[t].content),s=e.utils.escapeHtml,c=n[t],l=(_,w="")=>`<table${w} class="seqnotes-front-matter">
|
|
9
9
|
<tbody>
|
|
10
|
-
`+_.map(({key:
|
|
10
|
+
`+_.map(({key:k,value:b})=>`<tr><th>${s(k)}</th><td>${s(b)}</td></tr>
|
|
11
11
|
`).join("")+`</tbody>
|
|
12
12
|
</table>
|
|
13
|
-
`;if(a
|
|
14
|
-
`]}),d=a.filter(({key:_})=>_!=="type"&&_!=="title"&&!
|
|
13
|
+
`;if(!at(a))return a.length===0?"":l(a,o.renderAttrs(c));let u=i?.t??le,f=_=>Ze(a,_),p=f("title"),g=We.flatMap(({key:_,label:w})=>{let k=f(_);return k===void 0?[]:[`<div class="seqnotes-doc-${_}"><dt>${s(u(w))}</dt><dd>${s(k)}</dd></div>
|
|
14
|
+
`]}),d=a.filter(({key:_})=>_!=="type"&&_!=="title"&&!We.some(w=>w.key===_)),m=p===void 0&&g.length===0?"":`<div class="seqnotes-doc-headline">
|
|
15
15
|
`+(p===void 0?"":`<div class="seqnotes-doc-title">${s(p)}</div>
|
|
16
16
|
`)+(g.length===0?"":`<dl class="seqnotes-doc-meta">
|
|
17
17
|
${g.join("")}</dl>
|
|
18
18
|
`)+`</div>
|
|
19
|
-
`;if(
|
|
19
|
+
`;if(m===""&&d.length===0)return"";c.attrJoin("class","seqnotes-doc-header");let h=d.length===0?"":`<details class="seqnotes-doc-more">
|
|
20
20
|
<summary>${s(u("Other metadata ({0})",d.length))}</summary>
|
|
21
21
|
${l(d)}</details>
|
|
22
22
|
`;return`<div${o.renderAttrs(c)}>
|
|
23
|
-
${
|
|
24
|
-
`}}var
|
|
25
|
-
`," "],_l=["{","}","|","\\","^","`"].concat(bl),El=["'"].concat(_l),Yi=["%","/","?",";","#"].concat(El),Xi=["/","?","#"],kl=255,ji=/^[+a-z0-9A-Z_-]{0,63}$/,wl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Vi={javascript:!0,"javascript:":!0},Qi={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function vl(e,t){if(e&&e instanceof vt)return e;let n=new vt;return n.parse(e,t),n}vt.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){let l=ml.exec(o);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let a=pl.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&&Vi[a])&&(o=o.substr(2),this.slashes=!0)),!Vi[a]&&(i||a&&!Qi[a])){let l=-1;for(let d=0;d<Xi.length;d++)r=o.indexOf(Xi[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<Yi.length;d++)r=o.indexOf(Yi[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(ji)){let w="";for(let E=0,b=_.length;E<b;E++)_.charCodeAt(E)>127?w+="x":w+=_[E];if(!w.match(ji)){let E=d.slice(0,h),b=d.slice(h+1),k=_.match(wl);k&&(E.push(k[1]),b.unshift(k[2])),b.length&&(o=b.join(".")+o),this.hostname=E.join(".");break}}}}this.hostname.length>kl&&(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),Qi[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};vt.prototype.parseHost=function(e){let t=hl.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 We=vl;var cn={};Rn(cn,{Any:()=>rn,Cc:()=>on,Cf:()=>xl,P:()=>Ze,S:()=>sn,Z:()=>an});var rn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,on=/[\0-\x1F\x7F-\x9F]/,xl=/[\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\u30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9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,sn=/[\$\+<->\^`\|~\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]/,an=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var Rl=[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 yl(e){return e===0||e>=55296&&e<=57343||e>1114111}function eo(e){return yl(e)?65533:e>=128&&e<=159&&Rl[e-128]||e}function to(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(eo(e))}var de=(()=>{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 no(e,t,n,r,i,o){let s=e.length,c=o*90,l=0,u=()=>{let A=de[e.charCodeAt(l++)];return A<o?A:A*91-c+de[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(A,O){let I=0,U=O,Y=O+A;for(;U<Y;){let z=de[e.charCodeAt(l++)];if(z<89)I+=z,g[U++]=I;else if(z===89){let $=de[e.charCodeAt(l++)]+2;for(;$--;)g[U++]=++I}else{let $=de[e.charCodeAt(l++)];I+=89+($<90?$*91+de[e.charCodeAt(l++)]:de[e.charCodeAt(l++)]*8281+de[e.charCodeAt(l++)]*91+de[e.charCodeAt(l++)]),g[U++]=I}}}m(r,0),m(f,o);let _=new Int32Array(i*2),w=0,E=0;function b(A,O){for(let I=0;I<A;I++){let U=O+I,Y=u(),z=u();_[E*2]=Y,_[E*2+1]=z,E+=1,d[U]=w;let $=(g[Y]<0?h[Y]:1)+(g[z]<0?h[z]:1);h[U]=$,w+=$}}b(i-o+r,o+f),b(o-r,r);let k=new Uint16Array(w),x=0;for(let A=0;A<E;A++)for(let O=0;O<2;O++){let I=_[A*2+O],U=g[I];if(U<0){let Y=d[I],z=Y+h[I];for(;Y<z;)k[x++]=k[Y++]}else k[x++]=U}let C=new Uint16Array(t),y=0;for(;l<s;){let A=de[e.charCodeAt(l++)];A>=o&&(A=A*91-c+de[e.charCodeAt(l++)]);let O=g[A];if(O<0){let I=d[A],U=I+h[A];for(;I<U;)C[y++]=k[I++]}else C[y++]=O}return C}var ro=no("!}.&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'',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G<7@C5<H|_=Cau:5aj5@B932:bJ|ng>vIbs)#?C2F|9jPv0w.vISh-MKvUaz(.!9ABbb|[5;5<H|Eg>unwfh;9:4E|YjQsBt|vjx'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 V;(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"})(V||(V={}));var te;(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"})(te||(te={}));var xt=32,so=21,Al=2097151,ln=2047,ao=0;function Cl(e){let t=e>>>so;return t===ln?ao:t}function co(e){return e-te.ZERO>>>0<=9}function Nl(e){return(e|xt)-te.LOWER_A>>>0<=5}function lo(e){return(e|xt)-te.LOWER_A>>>0<=25}function Tl(e){return e===te.EQUALS||lo(e)||co(e)}var io;(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"})(io||(io={}));var un;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(un||(un={}));function Sl(e,t,n,r){let i=(t&V.BRANCH_LENGTH)>>7,o=t&V.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 oo(e,t,n){return n===1?String.fromCharCode(e[t]&V.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function Dl(e,t,n){let r=t+1,i=0,o=r;if(r<n&&(e.charCodeAt(r)|xt)===te.LOWER_X)for(r+=1,o=r;r<n;){let s=e.charCodeAt(r);if(co(s))i=i*16+(s-te.ZERO);else if(Nl(s))i=i*16+((s|xt)-te.LOWER_A+10);else break;r+=1}else for(;r<n;){let s=e.charCodeAt(r)-te.ZERO;if(s>>>0>9)break;i=i*10+s,r+=1}if(r===o)return 0;r<n&&e.charCodeAt(r)===te.SEMI&&(r+=1),i>1114111&&(i=1114112);let a=r-t;return a>=ln&&(ao=a,a=ln),a<<so|i}function Ml(e,t,n){let r=ro,i=e.indexOf("&");if(i<0)return e;let o=e.length,a=0,s="",c=r[0],l=c&V.JUMP_TABLE,u=(c&V.BRANCH_LENGTH)>>7;do{let f=i+1,p=e.charCodeAt(f),g,d;if(p===te.NUM){let h=Dl(e,f,o);g=Cl(h),t&&g>0&&e.charCodeAt(f+g-1)!==te.SEMI&&(g=0),d=g===0?"":to(h&Al)}else if(lo(p)){g=0,d="";let h=p-l,m;if(h>>>0<u){let k=r[1+h];m=k===0?-1:u+k&65535}else m=-1;let _=0,w=0,E=m<0?0:r[m],b=f+1;e:for(;b<o;){for(;(E&(V.VALUE_LENGTH|V.FLAG13))===0&&(E&V.JUMP_TABLE)!==0;){let y=E&V.JUMP_TABLE,A=(E&V.BRANCH_LENGTH)>>7;if(A===0){if(e.charCodeAt(b)!==y)break e;m+=1}else{let O=e.charCodeAt(b)-y;if(O>>>0>=A)break e;let I=r[m+1+O];if(I===0)break e;m=m+A+I&65535}if(E=r[m],b+=1,b>=o)break e}if((E&(V.VALUE_LENGTH|V.FLAG13))===V.FLAG13){let y=(E&V.BRANCH_LENGTH)>>7;if(e.charCodeAt(b)!==(E&V.JUMP_TABLE))break;b+=1;let A=y-1,O=m+1,I=0;for(;I+1<A;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<A){if(e.charCodeAt(b)!==(r[O]&255))break;b+=1}m+=1+(y>>1),E=r[m];continue}let k=E>>>14,x=e.charCodeAt(b);if(k!==0){if(x===te.SEMI){g=b-f+1,d=k===1?String.fromCharCode(E&V.VALUE_MASK):oo(r,m,k);break}if(!t&&(E&V.FLAG13)===0&&(g=b-f,_=m,w=k),k===1)break}let C=Sl(r,E,m+(k||1),x);if(C<0)break;m=C,E=r[m],b+=1}if(d===""){let k=E>>>14;k!==0&&!t&&(E&V.FLAG13)===0&&(g=b-f,_=m,w=k),g>0&&(d=oo(r,_,w))}}else g=0,d="";g===0||n&&p!==te.NUM&&e.charCodeAt(f+g-1)!==te.SEMI&&f+g<o&&Tl(e.charCodeAt(f+g))?i=f:(a<i&&(s+=e.slice(a,i)),s+=d,i=a=f+g),e.charCodeAt(i)!==te.AMP&&(i=e.indexOf("&",i))}while(i>=0);return s+e.slice(a)}function Rt(e){return Ml(e,!0,!1)}var uo;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(uo||(uo={}));var fo;(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"})(fo||(fo={}));var Il=class{src_Any=rn.source;src_Cc=on.source;src_Z=an.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")}},dn={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)},Ll={"http:":dn,"https:":dn,"ftp:":dn,"//":{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)}},Fl="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",Bl="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444";function Pl(){let e=Bl.split("|");return Fl.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 Ul={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:Pl(),urlAuth:!1,maxLength:1e4},go=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}},po=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:t,...n}=e;this.__opts__={...Ul,...n},this.__schemas__={...Ll},this.re=t||new Il,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 w=i.exec(e);if(!w){f=!0,s=void 0;break}let E=o.exec(e.slice(Math.max(0,w.index-65),w.index));if(E){if(s={schema:"mailto:",index:w.index-E[1].length,lastIndex:w.index+w[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 w=r.exec(e);if(!w){u=!0,a=void 0;break}if(a={schema:"",index:w.index+w[1].length,lastIndex:w.index+w[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 w=c;c=void 0;let E=this.testSchemaAt(e,w.schema,w.lastIndex);if(E){h={schema:w.schema,index:w.index,lastIndex:w.lastIndex+E};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 go(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 go(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 _n=yn(vo(),1);var xo=Object.defineProperty,Lo=(e,t)=>{let n={};for(var r in e)xo(n,r,{get:e[r],enumerable:!0});return t||xo(n,Symbol.toStringTag,{value:"Module"}),n},Xl=Lo({arrayReplaceAt:()=>jl,asciiTrim:()=>Nt,callable:()=>Fo,escapeHtml:()=>ve,escapeRE:()=>au,fromCodePoint:()=>Je,isMdAsciiPunct:()=>je,isPunctChar:()=>Po,isPunctCharCode:()=>Xe,isSpace:()=>J,isValidEntityCode:()=>En,isWhiteSpace:()=>Ye,lib:()=>cu,normalizeReference:()=>Ct,unescapeAll:()=>Be,unescapeMd:()=>tu});function Fo(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 jl(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function En(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 Bo=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Vl=new RegExp(`${Bo.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),Ql=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function eu(e,t){if(t.charCodeAt(0)===35&&Ql.test(t)){let r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return En(r)?Je(r):e}let n=Rt(e);return n!==e?n:e}function tu(e){return e.indexOf("\\")<0?e:e.replace(Bo,"$1")}function Be(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Vl,function(t,n,r){return n||eu(t,r)})}var nu=/[&<>"]/,ru=/[&<>"]/g,iu={"&":"&","<":"<",">":">",'"':"""};function ou(e){return iu[e]}function ve(e){return nu.test(e)?e.replace(ru,ou):e}var su=/[.?*+^$[\]\\(){}|-]/g;function au(e){return e.replace(su,"\\$&")}function J(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 Po(e){return Ze.test(e)||sn.test(e)}function Xe(e){return Po(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 Ct(e){return e=e.trim().replace(/\s+/g," "),e.toLowerCase().toUpperCase()}function Ro(e){return e===32||e===9||e===10||e===13}function Nt(e){let t=0;for(;t<e.length&&Ro(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&Ro(e.charCodeAt(n));n--);return e.slice(t,n+1)}var cu={mdurl:nn,ucmicro:cn};function lu(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 uu(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=Be(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=Be(e.slice(t,i)),o.pos=i,o.ok=!0),o}function du(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+=Be(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+=Be(e.slice(t,o)),a}var fu=Lo({parseLinkDestination:()=>uu,parseLinkLabel:()=>lu,parseLinkTitle:()=>du});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 gu(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 pu(e){var t=gu(e,"string");return Ve(t)=="symbol"?t:t+""}function S(e,t,n){return(t=pu(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}`}},Qe=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]||[]}},pe={};pe.code_inline=function(e,t,n,r,i){let o=e[t];return`<code${i.renderAttrs(o)}>${ve(o.content)}</code>`};pe.code_block=function(e,t,n,r,i){let o=e[t];return`<pre${i.renderAttrs(o)}><code>${ve(e[t].content)}</code></pre>
|
|
26
|
-
`};
|
|
27
|
-
`;if(a){let u=o.attrIndex("class"),f=o.attrs?o.attrs.slice():[];u<0?f.push(["class",`${
|
|
23
|
+
${m}${h}</div>
|
|
24
|
+
`}}var _l=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\][ \t]*(?:\n|$)/i,El={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 kl(e){let[n,t]=El[e];return`<svg class="octicon octicon-${n}" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="${t}"></path></svg>`}function wl(e){e.core.ruler.after("block","seqnotes_alerts",n=>{let t=n.tokens;for(let r=0;r<t.length;r++){let i=t[r],o=t[r+2];if(i.type!=="blockquote_open"||i.level!==0||t[r+1]?.type!=="paragraph_open"||o?.type!=="inline")continue;let a=_l.exec(o.content);if(!a)continue;let s=a[1].toLowerCase(),c=r+1;for(;t[c].type!=="blockquote_close"||t[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}`),t[c].tag="div",o.content=o.content.slice(a[0].length);let l=t[r+1];l.map&&o.content!==""&&(l.map=[l.map[0]+1,l.map[1]]);let u=[new n.Token("paragraph_open","p",1),new n.Token("inline","",0),new n.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 n.Token("html_inline","",0);f.content=kl(s),u[1].children=[f],u.forEach((p,g)=>p.level=i.level+(g===1?2:1)),u[0].block=u[2].block=!0,t.splice(r+1,o.content===""?3:0,...u)}})}var xl=/^\[([ xX])\](?=\s|$)\s*/;function vl(e){e.core.ruler.after("inline","seqnotes_task_lists",n=>{let t=n.tokens;for(let r=0;r<t.length;r++){let i=t[r+2],o=i?.children?.[0];if(t[r].type!=="list_item_open"||t[r+1].type!=="paragraph_open"||i.type!=="inline"||o?.type!=="text")continue;let a=xl.exec(o.content);if(!a)continue;o.content=o.content.slice(a[0].length);let s=new n.Token("html_inline","",0);s.content=`<input class="task-list-item-checkbox" type="checkbox" disabled${a[1]===" "?"":" checked"}> `,i.children.unshift(s),t[r].attrJoin("class","task-list-item")}})}function Qi(e){e.set({highlight:hl}),e.use(bl).use(wl).use(vl)}var ct={};Dt(ct,{decode:()=>Je,encode:()=>ke,format:()=>Be,parse:()=>Ye});var eo={};function Rl(e){let n=eo[e];if(n)return n;n=eo[e]=[];for(let t=0;t<128;t++){let r=String.fromCharCode(t);n.push(r)}for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);n[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return n}function vn(e,n){typeof n!="string"&&(n=vn.defaultChars);let t=Rl(n);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+=t[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})}vn.defaultChars=";/?:@&=+$,#";vn.componentChars="";var Je=vn;var no={};function yl(e){let n=no[e];if(n)return n;n=no[e]=[];for(let t=0;t<128;t++){let r=String.fromCharCode(t);/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let t=0;t<e.length;t++)n[e.charCodeAt(t)]=e[t];return n}function Rn(e,n,t){typeof n!="string"&&(t=n,n=Rn.defaultChars),typeof t>"u"&&(t=!0);let r=yl(n),i="";for(let o=0,a=e.length;o<a;o++){let s=e.charCodeAt(o);if(t&&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}Rn.defaultChars=";/?:@&=+$,-_.!~*'()#";Rn.componentChars="-_.!~*'()";var ke=Rn;function Be(e){let n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n}function yn(){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 Al=/^([a-z0-9.+-]+:)/i,Cl=/:[0-9]*$/,Nl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Tl=["<",">",'"',"`"," ","\r",`
|
|
25
|
+
`," "],Sl=["{","}","|","\\","^","`"].concat(Tl),Dl=["'"].concat(Sl),to=["%","/","?",";","#"].concat(Dl),ro=["/","?","#"],Ml=255,io=/^[+a-z0-9A-Z_-]{0,63}$/,Ol=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,oo={javascript:!0,"javascript:":!0},so={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Il(e,n){if(e&&e instanceof yn)return e;let t=new yn;return t.parse(e,n),t}yn.prototype.parse=function(e,n){let t,r,i,o=e;if(o=o.trim(),!n&&e.split("#").length===1){let l=Nl.exec(o);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let a=Al.exec(o);if(a&&(a=a[0],t=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(n||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&oo[a])&&(o=o.substr(2),this.slashes=!0)),!oo[a]&&(i||a&&!so[a])){let l=-1;for(let d=0;d<ro.length;d++)r=o.indexOf(ro[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<to.length;d++)r=o.indexOf(to[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 m=0,h=d.length;m<h;m++){let _=d[m];if(_&&!_.match(io)){let w="";for(let k=0,b=_.length;k<b;k++)_.charCodeAt(k)>127?w+="x":w+=_[k];if(!w.match(io)){let k=d.slice(0,m),b=d.slice(m+1),E=_.match(Ol);E&&(k.push(E[1]),b.unshift(E[2])),b.length&&(o=b.join(".")+o),this.hostname=k.join(".");break}}}}this.hostname.length>Ml&&(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),so[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this};yn.prototype.parseHost=function(e){let n=Cl.exec(e);n&&(n=n[0],n!==":"&&(this.port=n.substr(1)),e=e.substr(0,e.length-n.length)),e&&(this.hostname=e)};var Ye=Il;var gt={};Dt(gt,{Any:()=>lt,Cc:()=>ut,Cf:()=>Ll,P:()=>Xe,S:()=>dt,Z:()=>ft});var lt=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ut=/[\0-\x1F\x7F-\x9F]/,Ll=/[\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\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]/,dt=/[\$\+<->\^`\|~\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]/,ft=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var Fl=[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 Bl(e){return e===0||e>=55296&&e<=57343||e>1114111}function ao(e){return Bl(e)?65533:e>=128&&e<=159&&Fl[e-128]||e}function co(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(ao(e))}var fe=(()=>{let e=new Uint8Array(127),n=0;for(let t=33;t<=126;t++)t!==34&&t!==36&&t!==92&&(e[t]=n++);return e})();function lo(e,n,t,r,i,o){let s=e.length,c=o*90,l=0,u=()=>{let T=fe[e.charCodeAt(l++)];return T<o?T:T*91-c+fe[e.charCodeAt(l++)]},f=t-r,p=t+i,g=new Int32Array(p);g.fill(-1,r,o),g.fill(-1,o+f,p);let d=new Int32Array(p),m=new Int32Array(p);function h(T,L){let B=0,q=L,y=L+T;for(;q<y;){let D=fe[e.charCodeAt(l++)];if(D<89)B+=D,g[q++]=B;else if(D===89){let P=fe[e.charCodeAt(l++)]+2;for(;P--;)g[q++]=++B}else{let P=fe[e.charCodeAt(l++)];B+=89+(P<90?P*91+fe[e.charCodeAt(l++)]:fe[e.charCodeAt(l++)]*8281+fe[e.charCodeAt(l++)]*91+fe[e.charCodeAt(l++)]),g[q++]=B}}}h(r,0),h(f,o);let _=new Int32Array(i*2),w=0,k=0;function b(T,L){for(let B=0;B<T;B++){let q=L+B,y=u(),D=u();_[k*2]=y,_[k*2+1]=D,k+=1,d[q]=w;let P=(g[y]<0?m[y]:1)+(g[D]<0?m[D]:1);m[q]=P,w+=P}}b(i-o+r,o+f),b(o-r,r);let E=new Uint16Array(w),v=0;for(let T=0;T<k;T++)for(let L=0;L<2;L++){let B=_[T*2+L],q=g[B];if(q<0){let y=d[B],D=y+m[B];for(;y<D;)E[v++]=E[y++]}else E[v++]=q}let R=new Uint16Array(n),C=0;for(;l<s;){let T=fe[e.charCodeAt(l++)];T>=o&&(T=T*91-c+fe[e.charCodeAt(l++)]);let L=g[T];if(L<0){let B=d[T],q=B+m[T];for(;B<q;)R[C++]=E[B++]}else R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aY?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 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 An=32,po=21,Pl=2097151,pt=2047,ho=0;function Ul(e){let n=e>>>po;return n===pt?ho:n}function mo(e){return e-re.ZERO>>>0<=9}function $l(e){return(e|An)-re.LOWER_A>>>0<=5}function bo(e){return(e|An)-re.LOWER_A>>>0<=25}function zl(e){return e===re.EQUALS||bo(e)||mo(e)}var fo;(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"})(fo||(fo={}));var ht;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ht||(ht={}));function ql(e,n,t,r){let i=(n&Q.BRANCH_LENGTH)>>7,o=n&Q.JUMP_TABLE;if(o){if(i===0)return r===o?t:-1;let c=r-o;if(c>>>0>=i)return-1;let l=e[t+c];return l===0?-1:t+i+l-1&65535}if(i===0)return-1;let a=i+1>>1,s=t+a+i;for(let c=0;c<i;c++){let u=e[t+(c>>1)]>>((c&1)<<3)&255;if(u===r){let f=t+a+c;return s+e[f]&65535}if(u>r)return-1}return-1}function go(e,n,t){return t===1?String.fromCharCode(e[n]&Q.VALUE_MASK):t===2?String.fromCharCode(e[n+1]):String.fromCharCode(e[n+1],e[n+2])}function Hl(e,n,t){let r=n+1,i=0,o=r;if(r<t&&(e.charCodeAt(r)|An)===re.LOWER_X)for(r+=1,o=r;r<t;){let s=e.charCodeAt(r);if(mo(s))i=i*16+(s-re.ZERO);else if($l(s))i=i*16+((s|An)-re.LOWER_A+10);else break;r+=1}else for(;r<t;){let s=e.charCodeAt(r)-re.ZERO;if(s>>>0>9)break;i=i*10+s,r+=1}if(r===o)return 0;r<t&&e.charCodeAt(r)===re.SEMI&&(r+=1),i>1114111&&(i=1114112);let a=r-n;return a>=pt&&(ho=a,a=pt),a<<po|i}function Gl(e,n,t){let r=uo,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===re.NUM){let m=Hl(e,f,o);g=Ul(m),n&&g>0&&e.charCodeAt(f+g-1)!==re.SEMI&&(g=0),d=g===0?"":co(m&Pl)}else if(bo(p)){g=0,d="";let m=p-l,h;if(m>>>0<u){let E=r[1+m];h=E===0?-1:u+E&65535}else h=-1;let _=0,w=0,k=h<0?0:r[h],b=f+1;e:for(;b<o;){for(;(k&(Q.VALUE_LENGTH|Q.FLAG13))===0&&(k&Q.JUMP_TABLE)!==0;){let C=k&Q.JUMP_TABLE,T=(k&Q.BRANCH_LENGTH)>>7;if(T===0){if(e.charCodeAt(b)!==C)break e;h+=1}else{let L=e.charCodeAt(b)-C;if(L>>>0>=T)break e;let B=r[h+1+L];if(B===0)break e;h=h+T+B&65535}if(k=r[h],b+=1,b>=o)break e}if((k&(Q.VALUE_LENGTH|Q.FLAG13))===Q.FLAG13){let C=(k&Q.BRANCH_LENGTH)>>7;if(e.charCodeAt(b)!==(k&Q.JUMP_TABLE))break;b+=1;let T=C-1,L=h+1,B=0;for(;B+1<T;B+=2){let q=r[L];if(e.charCodeAt(b)!==(q&255)||(b+=1,e.charCodeAt(b)!==(q>>8&255)))break e;b+=1,L+=1}if(B<T){if(e.charCodeAt(b)!==(r[L]&255))break;b+=1}h+=1+(C>>1),k=r[h];continue}let E=k>>>14,v=e.charCodeAt(b);if(E!==0){if(v===re.SEMI){g=b-f+1,d=E===1?String.fromCharCode(k&Q.VALUE_MASK):go(r,h,E);break}if(!n&&(k&Q.FLAG13)===0&&(g=b-f,_=h,w=E),E===1)break}let R=ql(r,k,h+(E||1),v);if(R<0)break;h=R,k=r[h],b+=1}if(d===""){let E=k>>>14;E!==0&&!n&&(k&Q.FLAG13)===0&&(g=b-f,_=h,w=E),g>0&&(d=go(r,_,w))}}else g=0,d="";g===0||t&&p!==re.NUM&&e.charCodeAt(f+g-1)!==re.SEMI&&f+g<o&&zl(e.charCodeAt(f+g))?i=f:(a<i&&(s+=e.slice(a,i)),s+=d,i=a=f+g),e.charCodeAt(i)!==re.AMP&&(i=e.indexOf("&",i))}while(i>=0);return s+e.slice(a)}function Cn(e){return Gl(e,!0,!1)}var _o;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(_o||(_o={}));var Eo;(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"})(Eo||(Eo={}));var Wl=class{src_Any=lt.source;src_Cc=ut.source;src_Z=ft.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,n,t=4){let r=this.escapeRE(e),i=this.escapeRE(n),o=`(?:(?!${this.src_ZCc}|${r}|${i}).)`,a=`${r}${o}{0,1000}${i}`;for(let s=2;s<=t;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}",n=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=new RegExp(`(?:(?:${e}:){6}${n}|::(?:${e}:){5}${n}|(?:${e})?::(?:${e}:){4}${n}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${n}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${n}|(?:(?:${e}:){0,3}${e})?::${e}:${n}|(?:(?:${e}:){0,4}${e})?::${n}|(?:(?:${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")}},mt={validate:(e,n,t)=>{let r=t.re.get_http_validator();r.lastIndex=n;let i=r.exec(e);return i?i[0].length:0},normalize:(e,n)=>n.normalize(e)},Zl={"http:":mt,"https:":mt,"ftp:":mt,"//":{validate:function(e,n,t){let r=t.re.get_relative_proto_validator();r.lastIndex=n;let i=r.exec(e);return i?n>=3&&e[n-3]===":"||n>=3&&e[n-3]==="/"?0:i[0].length:0},normalize:(e,n)=>n.normalize(e)},"mailto:":{validate:function(e,n,t){let r=t.re.get_mailto_validator();r.lastIndex=n;let i=r.exec(e);return i?i[0].length:0},normalize:(e,n)=>n.normalize(e)}},Jl="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",Yl="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444";function Xl(){let e=Yl.split("|");return Jl.split("|").forEach(n=>{let t=n.indexOf(":"),r=n.slice(0,t);for(let i of n.slice(t+1))e.push(r+i)}),e}var jl={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:Xl(),urlAuth:!1,maxLength:1e4},ko=class{schema;index;lastIndex;raw;text;url;constructor(e,n,t,r){let i=e.slice(t,r);this.schema=n.toLowerCase(),this.index=t,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}},wo=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:n,...t}=e;this.__opts__={...jl,...t},this.__schemas__={...Zl},this.re=n||new Wl,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,n=null){if(!n)delete this.__schemas__[e];else{let t={normalize:(r,i)=>i.normalize(r),...n};this.__schemas__[e]=t}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 n,t;for(t=this.re.get_schema_search(),t.lastIndex=0;(n=t.exec(e))!==null;)if(this.testSchemaAt(e,n[2],t.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(t=this.re.get_fuzzy_link_search(),t.lastIndex=0,t.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;(n=r.exec(e))!==null;){let o=e.slice(Math.max(0,n.index-65),n.index);if(i.test(o))return!0}}return!1}testSchemaAt(e,n,t){return this.__schemas__[n.toLowerCase()]?this.__schemas__[n.toLowerCase()].validate(e.slice(0,t+this.__opts__.maxLength),t,this):0}match(e){let n=[],t=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(t.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 w=i.exec(e);if(!w){f=!0,s=void 0;break}let k=o.exec(e.slice(Math.max(0,w.index-65),w.index));if(k){if(s={schema:"mailto:",index:w.index-k[1].length,lastIndex:w.index+w[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 w=r.exec(e);if(!w){u=!0,a=void 0;break}if(a={schema:"",index:w.index+w[1].length,lastIndex:w.index+w[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 m;if(!l)for(;;){if(!c){t.lastIndex<g&&(t.lastIndex=g);let b=t.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 w=c;c=void 0;let k=this.testSchemaAt(e,w.schema,w.lastIndex);if(k){m={schema:w.schema,index:w.index,lastIndex:w.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 _=new ko(e,h.schema,h.index,h.lastIndex);_.schema?this.__schemas__[_.schema].normalize(_,this):this.normalize(_),n.push(_),p=h.lastIndex}return n.length?n:null}matchAtStart(e){if(!e.length)return null;let n=this.re.get_schema_at_start().exec(e);if(!n)return null;let t=this.testSchemaAt(e,n[2],n[0].length);if(!t)return null;let r=new ko(e,n[2],n.index+n[1].length,n.index+n[0].length+t);return this.__schemas__[r.schema].normalize(r,this),r}tlds(e,n=!1){return e=Array.isArray(e)?e:[e],n?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 vt=Mt(To(),1);var So=Object.defineProperty,qo=(e,n)=>{let t={};for(var r in e)So(t,r,{get:e[r],enumerable:!0});return n||So(t,Symbol.toStringTag,{value:"Module"}),t},cu=qo({arrayReplaceAt:()=>lu,asciiTrim:()=>Dn,callable:()=>Ho,escapeHtml:()=>xe,escapeRE:()=>Eu,fromCodePoint:()=>je,isMdAsciiPunct:()=>en,isPunctChar:()=>Ko,isPunctCharCode:()=>Qe,isSpace:()=>X,isValidEntityCode:()=>Rt,isWhiteSpace:()=>Ve,lib:()=>ku,normalizeReference:()=>Sn,unescapeAll:()=>Pe,unescapeMd:()=>gu});function Ho(e){let n=function(...t){return Reflect.construct(e,t,new.target&&new.target!==n?new.target:e)};return Object.defineProperty(n,"name",{value:e.name}),Object.setPrototypeOf(n,e),n.prototype=e.prototype,n}function lu(e,n,t){return[].concat(e.slice(0,n),t,e.slice(n+1))}function Rt(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 n=55296+(e>>10),t=56320+(e&1023);return String.fromCharCode(n,t)}return String.fromCharCode(e)}var Go=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,uu=new RegExp(`${Go.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),du=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function fu(e,n){if(n.charCodeAt(0)===35&&du.test(n)){let r=n[1].toLowerCase()==="x"?parseInt(n.slice(2),16):parseInt(n.slice(1),10);return Rt(r)?je(r):e}let t=Cn(e);return t!==e?t:e}function gu(e){return e.indexOf("\\")<0?e:e.replace(Go,"$1")}function Pe(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(uu,function(n,t,r){return t||fu(n,r)})}var pu=/[&<>"]/,hu=/[&<>"]/g,mu={"&":"&","<":"<",">":">",'"':"""};function bu(e){return mu[e]}function xe(e){return pu.test(e)?e.replace(hu,bu):e}var _u=/[.?*+^$[\]\\(){}|-]/g;function Eu(e){return e.replace(_u,"\\$&")}function X(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 Ko(e){return Xe.test(e)||dt.test(e)}function Qe(e){return Ko(je(e))}function en(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 Sn(e){return e=e.trim().replace(/\s+/g," "),e.toLowerCase().toUpperCase()}function Do(e){return e===32||e===9||e===10||e===13}function Dn(e){let n=0;for(;n<e.length&&Do(e.charCodeAt(n));n++);let t=e.length-1;for(;t>=n&&Do(e.charCodeAt(t));t--);return e.slice(n,t+1)}var ku={mdurl:ct,ucmicro:gt};function wu(e,n,t){let r,i,o,a,s=e.posMax,c=e.pos;for(e.pos=n+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(t)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function xu(e,n,t){let r,i=n,o={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<t;){if(r=e.charCodeAt(i),r===10||r===60)return o;if(r===62)return o.pos=i+1,o.str=Pe(e.slice(n+1,i)),o.ok=!0,o;if(r===92&&i+1<t){i+=2;continue}i++}return o}let a=0;for(;i<t&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<t){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 n===i||a!==0||(o.str=Pe(e.slice(n,i)),o.pos=i,o.ok=!0),o}function vu(e,n,t,r){let i,o=n,a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=t)return a;let s=e.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;n++,o++,s===40&&(s=41),a.marker=s}for(;o<t;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=Pe(e.slice(n,o)),a.ok=!0,a;if(i===40&&a.marker===41)return a;i===92&&o+1<t&&o++,o++}return a.can_continue=!0,a.str+=Pe(e.slice(n,o)),a}var Ru=qo({parseLinkDestination:()=>xu,parseLinkLabel:()=>wu,parseLinkTitle:()=>vu});function nn(e){"@babel/helpers - typeof";return nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},nn(e)}function yu(e,n){if(nn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,n||"default");if(nn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function Au(e){var n=yu(e,"string");return nn(n)=="symbol"?n:n+""}function M(e,n,t){return(n=Au(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Te=class{constructor(e,n,t){M(this,"map",null),M(this,"level",0),M(this,"children",null),M(this,"content",""),M(this,"markup",""),M(this,"info",""),M(this,"block",!1),M(this,"hidden",!1),this.type=e,this.tag=n,this.attrs=null,this.nesting=t,this.meta=null}attrIndex(e){if(!this.attrs)return-1;let n=this.attrs;for(let t=0,r=n.length;t<r;t++)if(n[t][0]===e)return t;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,n){let t=this.attrIndex(e),r=[e,n];t<0?this.attrPush(r):this.attrs[t]=r}attrGet(e){let n=this.attrIndex(e),t=null;return n>=0&&(t=this.attrs[n][1]),t}attrJoin(e,n){let t=this.attrIndex(e);t<0?this.attrPush([e,n]):this.attrs[t][1]=`${this.attrs[t][1]} ${n}`}},tn=class{constructor(){M(this,"__rules__",[]),M(this,"__cache__",null)}__find__(e){for(let n=0;n<this.__rules__.length;n++)if(this.__rules__[n].name===e)return n;return-1}__compile__(){let e=new Set;this.__rules__.forEach(n=>{n.enabled&&n.alt.forEach(t=>{t&&e.add(t)})}),this.__cache__=Object.create(null),this.__cache__[""]=[],this.__rules__.forEach(n=>{n.enabled&&this.__cache__[""].push(n.fn)}),e.forEach(n=>{this.__cache__[n]=[],this.__rules__.forEach(t=>{t.enabled&&t.alt.indexOf(n)>=0&&this.__cache__[n].push(t.fn)})})}at(e,n,t={}){let r=this.__find__(e);if(r===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=n,this.__rules__[r].alt=t.alt||[],this.__cache__=null}before(e,n,t,r={}){let i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:n,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null}after(e,n,t,r={}){let i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:n,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null}push(e,n,t={}){this.__rules__.push({name:e,enabled:!0,fn:n,alt:t.alt||[]}),this.__cache__=null}enable(e,n=!1){Array.isArray(e)||(e=[e]);let t=[];return e.forEach(r=>{let i=this.__find__(r);if(i<0){if(n)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!0,t.push(r)}),this.__cache__=null,t}enableOnly(e,n=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach(t=>{t.enabled=!1}),this.enable(e,n)}disable(e,n=!1){Array.isArray(e)||(e=[e]);let t=[];return e.forEach(r=>{let i=this.__find__(r);if(i<0){if(n)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!1,t.push(r)}),this.__cache__=null,t}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},he={};he.code_inline=function(e,n,t,r,i){let o=e[n];return`<code${i.renderAttrs(o)}>${xe(o.content)}</code>`};he.code_block=function(e,n,t,r,i){let o=e[n];return`<pre${i.renderAttrs(o)}><code>${xe(e[n].content)}</code></pre>
|
|
26
|
+
`};he.fence=function(e,n,t,r,i){let o=e[n],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(t.highlight?l=t.highlight(o.content,s,c)||xe(o.content):l=xe(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",`${t.langPrefix}${s}`]):(f[u]=[f[u][0],f[u][1]],f[u][1]+=` ${t.langPrefix}${s}`);let p={attrs:f};return`<pre><code${i.renderAttrs(p)}>${l}</code></pre>
|
|
28
28
|
`}return`<pre><code${i.renderAttrs(o)}>${l}</code></pre>
|
|
29
|
-
`};
|
|
29
|
+
`};he.image=function(e,n,t,r,i){let o=e[n];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,t,r),i.renderToken(e,n,t)};he.hardbreak=function(e,n,t){return t.xhtmlOut?`<br />
|
|
30
30
|
`:`<br>
|
|
31
|
-
`};
|
|
31
|
+
`};he.softbreak=function(e,n,t){return t.breaks?t.xhtmlOut?`<br />
|
|
32
32
|
`:`<br>
|
|
33
33
|
`:`
|
|
34
|
-
`};
|
|
35
|
-
`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&
|
|
36
|
-
`:">",i}renderInline(e,t
|
|
37
|
-
`}return r}render(e,t
|
|
38
|
-
`),t=t.replace(mu,"\uFFFD"),e.src=t}function _u(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 Eu(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 ku(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 wu(e){return/^<a[>\s]/i.test(e)}function vu(e){return/^<\/a\s*>/i.test(e)}function xu(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"&&(wu(c.content)&&a>0&&a--,vu(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 w=u[d].index;if(w>g){let x=new e.Token("text","",0);x.content=l.slice(g,w),x.level=p,f.push(x)}let E=new e.Token("link_open","a",1);E.attrs=[["href",m]],E.level=p++,E.markup="linkify",E.info="auto",f.push(E);let b=new e.Token("text","",0);b.content=_,b.level=p,f.push(b);let k=new e.Token("link_close","a",-1);k.level=--p,k.markup="linkify",k.info="auto",f.push(k),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 zo=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ru=/\((c|tm|r)\)/i,yu=/\((c|tm|r)\)/gi,Au={c:"\xA9",r:"\xAE",tm:"\u2122"};function Cu(e,t){return Au[t.toLowerCase()]}function Nu(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(yu,Cu)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Tu(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type==="text"&&!t&&zo.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 Su(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Ru.test(e.tokens[t].content)&&Nu(e.tokens[t].children),zo.test(e.tokens[t].content)&&Tu(e.tokens[t].children))}var Du=/['"]/,yo=/['"]/g,Ao="\u2019",Mu=1e3;function Co(e,t,n){for(;e.length>n;){let r=e.pop();r.isSingleQuote?t.single=r.prevSameQuoteIdx:t.double=r.prevSameQuoteIdx}}function yt(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function Ou(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 Iu(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(Co(r,i,n+1),s.type!=="text")continue;let l=s.content,u=0,f=l.length;e:for(;u<f;){yo.lastIndex=u;let p=yo.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 w=je(m)||Xe(m),E=je(_)||Xe(_),b=Ye(m),k=Ye(_);if(k?g=!1:E&&(b||w||(g=!1)),b?d=!1:w&&(k||E||(d=!1)),_===34&&p[0]==='"'&&m>=48&&m<=57&&(d=g=!1),g&&d&&(g=w,d=E),!g&&!d){h&&yt(o,a,p.index,Ao);continue}if(d&&(n=h?i.single:i.double,n>=0&&r[n].level===c)){let x=r[n],C,y;h?(C=t.md.options.quotes[2],y=t.md.options.quotes[3]):(C=t.md.options.quotes[0],y=t.md.options.quotes[1]),yt(o,a,p.index,y),yt(o,x.tokenIdx,x.contentPos,C),Co(r,i,n);continue e}if(g){if(r.length>=Mu)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&&yt(o,a,p.index,Ao)}}Object.keys(o).forEach(function(a){let s=Number(a);e[s].content=Ou(e[s].content,o[a])})}function Lu(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Du.test(e.tokens[t].content)||Iu(e.tokens[t].children,e)}function Fu(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 Bu(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&&Fu(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 pn=[["normalize",bu],["block",_u],["strip_references",Eu],["inline",ku],["linkify",xu],["replacements",Su],["smartquotes",Lu],["text_join",Bu]],qo=class{constructor(){S(this,"ruler",new Qe),S(this,"State",$o);for(let e=0;e<pn.length;e++)this.ruler.push(pn[e][0],pn[e][1])}process(e){let t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)}},Ho=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(J(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&&J(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!J(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(J(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("")}},Pu=65536;function hn(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function No(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 Uu(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&&!J(s)||a===45&&J(s))return!1;for(;o<e.eMarks[i];){let b=e.src.charCodeAt(o);if(b!==124&&b!==45&&b!==58&&!J(b))return!1;o++}let c=hn(e,t+1),l=c.split("|"),u=[];for(let b=0;b<l.length;b++){let k=l[b].trim();if(!k){if(b===0||b===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;k.charCodeAt(k.length-1)===58?u.push(k.charCodeAt(0)===58?"center":"right"):k.charCodeAt(0)===58?u.push("left"):u.push("")}if(c=hn(e,t).trim(),c.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=No(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 k=e.push("th_open","th",1);u[b]&&(k.attrs=[["style",`text-align:${u[b]}`]]);let x=e.push("inline","",0);x.content=l[b].trim(),x.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let w,E=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let b=!1;for(let x=0,C=g.length;x<C;x++)if(g[x](e,i,n,!0)){b=!0;break}if(b||(c=hn(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=No(c),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),E+=f-l.length,E>Pu))break;if(i===t+2){let x=e.push("tbody_open","tbody",1);x.map=w=[t+2,0]}let k=e.push("tr_open","tr",1);k.map=[i,i+1];for(let x=0;x<f;x++){let C=e.push("td_open","td",1);u[x]&&(C.attrs=[["style",`text-align:${u[x]}`]]);let y=e.push("inline","",0);y.content=l[x]?l[x].trim():"",y.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return w&&(e.push("tbody_close","tbody",-1),w[1]=i),e.push("table_close","table",-1),h[1]=i,e.parentType=p,e.line=i,!0}function $u(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 qu(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 E=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&&!E){let k=e.sCount[d]+1,x,C;e.src.charCodeAt(i)===32?(i++,k++,C=!1,x=!0):e.src.charCodeAt(i)===9?(x=!0,(e.bsCount[d]+k)%4===3?(i++,k++,C=!1):C=!0):x=!1;let y=k;for(s.push(e.bMarks[d]),e.bMarks[d]=i;i<o;){let A=e.src.charCodeAt(i);if(J(A))A===9?y+=4-(y+e.bsCount[d]+(C?1:0))%4:y++;else break;i++}g=i>=o,c.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(x?1:0),l.push(e.sCount[d]),e.sCount[d]=y-k,u.push(e.tShift[d]),e.tShift[d]=i-e.bMarks[d];continue}if(g)break;let b=!1;for(let k=0,x=f.length;k<x;k++)if(f[k](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 w=e.push("blockquote_close","blockquote",-1);w.markup=">",e.lineMax=a,e.parentType=p,_[1]=e.line;for(let E=0;E<u.length;E++)e.bMarks[E+t]=s[E],e.tShift[E+t]=u[E],e.sCount[E+t]=l[E],e.bsCount[E+t]=c[E];return e.blkIndent=h,!0}function Hu(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&&!J(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 To(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&&!J(e.src.charCodeAt(r))?-1:r}function So(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),!J(o))?-1:i}function Gu(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 Ku(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=So(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=To(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,w=e.md.block.ruler.getRules("list"),E=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]),k=b;for(;o<i;){let $=e.src.charCodeAt(o);if($===9)k+=4-(k+e.bsCount[c])%4;else if($===32)k++;else break;o++}let x=o,C;x>=i?C=1:C=k-b,C>4&&(C=1);let y=b+C;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(d);let A=[c,0];s.map=A,f&&(s.info=e.src.slice(a,g-1));let O=e.tight,I=e.tShift[c],U=e.sCount[c],Y=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=y,e.tight=!0,e.tShift[c]=x-e.bMarks[c],e.sCount[c]=k,x>=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=Y,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,A[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let z=!1;for(let $=0,v=w.length;$<v;$++)if(w[$](e,c,n,!0)){z=!0;break}if(z)break;if(f){if(g=So(e,c),g<0)break;a=e.bMarks[c]+e.tShift[c]}else if(g=To(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=E,l&&Gu(e,h),!0}function Wu(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 k=e.lineMax;if(b>=k||e.isEmpty(b))return null;let x=!1;if(e.sCount[b]-e.blkIndent>3&&(x=!0),e.sCount[b]<0&&(x=!0),!x){let A=e.md.block.ruler.getRules("reference"),O=e.parentType;e.parentType="reference";let I=!1;for(let U=0,Y=A.length;U<Y;U++)if(A[U](e,b,k,!0)){I=!0;break}if(e.parentType=O,I)return null}let C=e.bMarks[b]+e.tShift[b],y=e.eMarks[b];return e.src.slice(C,y+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 k=s(a);k!==null&&(c+=k,o=c.length,a++)}else if(b===92&&(i++,i<o&&c.charCodeAt(i)===10)){let k=s(a);k!==null&&(c+=k,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 k=s(a);k!==null&&(c+=k,o=c.length,a++)}else if(!J(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 k=s(a);k!==null&&(c+=k,o=c.length,a++)}else if(!J(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&&J(c.charCodeAt(i));)i++;if(i<o&&c.charCodeAt(i)!==10&&m)for(m="",i=p,a=g;i<o&&J(c.charCodeAt(i));)i++;if(i<o&&c.charCodeAt(i)!==10)return!1;let _=Ct(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 w=e.push("reference_definition","",0);w.map=[t,a],w.hidden=!0;let E=Object.create(null);return E.label=_,w.meta=E,e.line=a,!0}var Zu=["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"],Go=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,Ko="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Ju=new RegExp(`^(?:${Go}|${Ko}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),Yu=new RegExp(`^(?:${Go}|${Ko})`),Ce=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${Zu.join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${Yu.source}\\s*$`),/^$/,!1]];function Xu(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 ju(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&&!J(a))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);let c=e.skipCharsBack(o,35,i);c>i&&J(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=Nt(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 Vu(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=Nt(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 Qu(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=Nt(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 At=[["table",Uu,["paragraph","reference"]],["code",$u],["fence",zu,["paragraph","reference","blockquote","list"]],["blockquote",qu,["paragraph","reference","blockquote","list"]],["hr",Hu,["paragraph","reference","blockquote","list"]],["list",Ku,["paragraph","reference","blockquote"]],["reference",Wu],["html_block",Xu,["paragraph","reference","blockquote"]],["heading",ju,["paragraph","reference","blockquote"]],["lheading",Vu],["paragraph",Qu]],Wo=class{constructor(){S(this,"ruler",new Qe),S(this,"State",Ho);for(let e=0;e<At.length;e++)this.ruler.push(At[e][0],At[e][1],{alt:(At[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)}},Zo=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=je(i)||Xe(i),l=je(s)||Xe(s),u=Ye(i),f=Ye(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 ed(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 td(e,t){let n=e.pos;for(;n<e.posMax&&!ed(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function nd(e){return e>=65&&e<=90||e>=97&&e<=122}function rd(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function id(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&&rd(e.src.charCodeAt(o-1));)o--;if(o===n||!nd(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 od(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&&J(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var kn=[];for(let e=0;e<256;e++)kn.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){kn[e.charCodeAt(0)]=1});function sd(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),!!J(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&&kn[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return e.pos=n+1,!0}function ad(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 cd(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=ad(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 ld(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 Do(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 ud(e){let t=e.tokens_meta,n=e.tokens_meta.length;Do(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&&Do(e,o)}}var Jo={tokenize:ld,postProcess:ud};function dd(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 Mo(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 fd(e){let t=e.tokens_meta,n=e.tokens_meta.length;Mo(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&&Mo(e,o)}}var Yo={tokenize:dd,postProcess:fd};function gd(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),!(!J(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),!(!J(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),!(!J(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=Ct(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 pd(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),!(!J(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),!(!J(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),!(!J(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=Ct(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 w=Object.create(null);w.label=i,m.meta=w}}return e.pos=o,e.posMax=p,!0}var hd=/^([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])?)*)$/,md=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function bd(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(md.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(hd.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 _d(e){return/^<a[>\s]/i.test(e)}function Ed(e){return/^<\/a\s*>/i.test(e)}function kd(e){let t=e|32;return t>=97&&t<=122}function wd(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&&!kd(i))return!1;let o=e.src.slice(r).match(Ju);if(!o)return!1;if(!t){let a=e.push("html_inline","",0);a.content=o[0],_d(a.content)&&e.linkLevel++,Ed(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}var vd=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,xd=/^&([a-z][a-z0-9]{1,31});/i;function Rd(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(vd);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=En(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(xd);if(i){let o=Rt(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 Oo(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 yd(e){let t=e.tokens_meta,n=e.tokens_meta.length;Oo(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&&Oo(o)}}function Ad(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 mn=[["text",td],["linkify",id],["newline",od],["escape",sd],["backticks",cd],["strikethrough",Jo.tokenize],["emphasis",Yo.tokenize],["link",gd],["image",pd],["autolink",bd],["html_inline",wd],["entity",Rd]],bn=[["balance_pairs",yd],["strikethrough",Jo.postProcess],["emphasis",Yo.postProcess],["fragments_join",Ad]],Xo=class{constructor(){S(this,"ruler",new Qe),S(this,"ruler2",new Qe),S(this,"State",Zo);for(let e=0;e<mn.length;e++)this.ruler.push(mn[e][0],mn[e][1]);for(let e=0;e<bn.length;e++)this.ruler2.push(bn[e][0],bn[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)}},Cd={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"]}}}},Nd=/^(vbscript|javascript|file|data):/,Td=/^data:image\/(gif|png|jpeg|webp);/,Io=["http:","https:","mailto:"],he=class{validateLink(e){let t=e.trim().toLowerCase();return Nd.test(t)?Td.test(t):!0}normalizeLink(e){let t=We(e,!0);if(t.hostname&&(!t.protocol||Io.indexOf(t.protocol)>=0))try{t.hostname=_n.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)),Fe(t)}normalizeLinkText(e){let t=We(e,!0);if(t.hostname&&(!t.protocol||Io.indexOf(t.protocol)>=0))try{t.hostname=_n.default.toUnicode(t.hostname)}catch{}return Ke(Fe(t),Ke.defaultChars+"%")}constructor(...e){S(this,"inline",new Xo),S(this,"block",new Wo),S(this,"core",new qo),S(this,"renderer",new Uo),S(this,"linkify",new po),S(this,"utils",Xl),S(this,"helpers",Object.assign({},fu));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=Cd[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(he,"Token",Ne);S(he,"Ruler",Qe);S(he,"Renderer",Uo);S(he,"ParserCore",qo);S(he,"StateCore",$o);S(he,"ParserBlock",Wo);S(he,"StateBlock",Ho);S(he,"ParserInline",Xo);S(he,"StateInline",Zo);var jo=Fo(he);function Sd(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 Dd(e,t){let n=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(n+=`:${e[t].meta.subId}`),`[${n}]`}function Md(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 Od(e,t,n){return(n.xhtmlOut?`<hr class="footnotes-sep" />
|
|
34
|
+
`};he.text=function(e,n){return xe(e[n].content)};he.html_block=function(e,n){return e[n].content};he.html_inline=function(e,n){return e[n].content};var Wo=class{constructor(){M(this,"rules",Object.assign({},he))}renderAttrs(e){let n,t,r;if(!e.attrs)return"";for(r="",n=0,t=e.attrs.length;n<t;n++)r+=` ${xe(e.attrs[n][0])}="${xe(String(e.attrs[n][1]))}"`;return r}renderToken(e,n,t){let r=e[n],i="";if(r.hidden)return"";let o=n-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
|
+
`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&t.xhtmlOut&&(i+=" /");let a=!1;if(r.block&&(a=!0,r.nesting===1)){let s=n+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
|
+
`:">",i}renderInline(e,n,t){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,n,t,this):r+=this.renderToken(e,o,n)}return r}renderInlineAsText(e,n,t){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,n,t);break;case"html_inline":case"html_block":r+=e[i].content;break;case"softbreak":case"hardbreak":r+=`
|
|
37
|
+
`}return r}render(e,n,t){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,n,t):typeof i[s]<"u"?r+=i[s](e,o,n,t,this):r+=this.renderToken(e,o,n)}return r}},Zo=class{constructor(e,n,t){M(this,"tokens",[]),M(this,"inlineMode",!1),M(this,"Token",Te),this.src=e,this.env=t,this.md=n}},Cu=/\r\n?/g,Nu=/\0/g;function Tu(e){let n;n=e.src.replace(Cu,`
|
|
38
|
+
`),n=n.replace(Nu,"\uFFFD"),e.src=n}function Su(e){let n;e.inlineMode?(n=new e.Token("inline","",0),n.content=e.src,n.map=[0,1],n.children=[],e.tokens.push(n)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Du(e){let n=e.tokens,t=0;for(let r=0;r<n.length;r++)n[r].type!=="reference_definition"&&(r!==t&&(n[t]=n[r]),t++);n.length!==t&&(n.length=t)}function Mu(e){let n=e.tokens;for(let t=0,r=n.length;t<r;t++){let i=n[t];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}function Ou(e){return/^<a[>\s]/i.test(e)}function Iu(e){return/^<\/a\s*>/i.test(e)}function Lu(e){let n=e.tokens;if(e.md.options.linkify)for(let t=0,r=n.length;t<r;t++){if(n[t].type!=="inline"||!e.md.linkify.test(n[t].content))continue;let i=n[t].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"&&(Ou(c.content)&&a>0&&a--,Iu(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 m=u[d].url,h=e.md.normalizeLink(m);if(!e.md.validateLink(h))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 w=u[d].index;if(w>g){let v=new e.Token("text","",0);v.content=l.slice(g,w),v.level=p,f.push(v)}let k=new e.Token("link_open","a",1);k.attrs=[["href",h]],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]}n[t].children=c}}}var Jo=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Fu=/\((c|tm|r)\)/i,Bu=/\((c|tm|r)\)/gi,Pu={c:"\xA9",r:"\xAE",tm:"\u2122"};function Uu(e,n){return Pu[n.toLowerCase()]}function $u(e){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];r.type==="text"&&!n&&(r.content=r.content.replace(Bu,Uu)),r.type==="link_open"&&r.info==="auto"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}}function zu(e){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];r.type==="text"&&!n&&Jo.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"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}}function qu(e){let n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Fu.test(e.tokens[n].content)&&$u(e.tokens[n].children),Jo.test(e.tokens[n].content)&&zu(e.tokens[n].children))}var Hu=/['"]/,Mo=/['"]/g,Oo="\u2019",Gu=1e3;function Io(e,n,t){for(;e.length>t;){let r=e.pop();r.isSingleQuote?n.single=r.prevSameQuoteIdx:n.double=r.prevSameQuoteIdx}}function Nn(e,n,t,r){e[n]||(e[n]=[]),e[n].push({pos:t,ch:r})}function Ku(e,n){let t="",r=0;n.sort((i,o)=>i.pos-o.pos);for(let i=0;i<n.length;i++){let o=n[i];t+=e.slice(r,o.pos)+o.ch,r=o.pos+1}return t+e.slice(r)}function Wu(e,n){let t,r=[],i={single:-1,double:-1},o={};for(let a=0;a<e.length;a++){let s=e[a],c=e[a].level;for(t=r.length-1;t>=0&&!(r[t].level<=c);t--);if(Io(r,i,t+1),s.type!=="text")continue;let l=s.content,u=0,f=l.length;e:for(;u<f;){Mo.lastIndex=u;let p=Mo.exec(l);if(!p)break;let g=!0,d=!0;u=p.index+1;let m=p[0]==="'",h=32;if(p.index-1>=0)h=l.charCodeAt(p.index-1);else for(t=a-1;t>=0&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t--)if(e[t].content){h=e[t].content.charCodeAt(e[t].content.length-1);break}let _=32;if(u<f)_=l.charCodeAt(u);else for(t=a+1;t<e.length&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t++)if(e[t].content){_=e[t].content.charCodeAt(0);break}let w=en(h)||Qe(h),k=en(_)||Qe(_),b=Ve(h),E=Ve(_);if(E?g=!1:k&&(b||w||(g=!1)),b?d=!1:w&&(E||k||(d=!1)),_===34&&p[0]==='"'&&h>=48&&h<=57&&(d=g=!1),g&&d&&(g=w,d=k),!g&&!d){m&&Nn(o,a,p.index,Oo);continue}if(d&&(t=m?i.single:i.double,t>=0&&r[t].level===c)){let v=r[t],R,C;m?(R=n.md.options.quotes[2],C=n.md.options.quotes[3]):(R=n.md.options.quotes[0],C=n.md.options.quotes[1]),Nn(o,a,p.index,C),Nn(o,v.tokenIdx,v.contentPos,R),Io(r,i,t);continue e}if(g){if(r.length>=Gu)return;r.push({tokenIdx:a,contentPos:p.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&&Nn(o,a,p.index,Oo)}}Object.keys(o).forEach(function(a){let s=Number(a);e[s].content=Ku(e[s].content,o[a])})}function Zu(e){if(e.md.options.typographer)for(let n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!Hu.test(e.tokens[n].content)||Wu(e.tokens[n].children,e)}function Ju(e){let n,t,r=e.length;for(n=0;n<r;n++)e[n].type==="text_special"&&(e[n].type="text");for(n=t=0;n<r;n++)e[n].type==="text"&&n+1<r&&e[n+1].type==="text"?e[n+1].content=e[n].content+e[n+1].content:(n!==t&&(e[t]=e[n]),t++);n!==t&&(e.length=t)}function Yu(e){let n,t,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(n=0;n<s;n++)a[n].type==="text_special"&&(a[n].type="text"),a[n].children&&Ju(a[n].children);for(n=t=0;n<s;n++)a[n].type==="text"&&n+1<s&&a[n+1].type==="text"?a[n+1].content=a[n].content+a[n+1].content:(n!==t&&(a[t]=a[n]),t++);n!==t&&(a.length=t)}}var Et=[["normalize",Tu],["block",Su],["strip_references",Du],["inline",Mu],["linkify",Lu],["replacements",qu],["smartquotes",Zu],["text_join",Yu]],Yo=class{constructor(){M(this,"ruler",new tn),M(this,"State",Zo);for(let e=0;e<Et.length;e++)this.ruler.push(Et[e][0],Et[e][1])}process(e){let n=this.ruler.getRules("");for(let t=0,r=n.length;t<r;t++)n[t](e)}},Xo=class{constructor(e,n,t,r){M(this,"bMarks",[]),M(this,"eMarks",[]),M(this,"tShift",[]),M(this,"sCount",[]),M(this,"bsCount",[]),M(this,"blkIndent",0),M(this,"line",0),M(this,"lineMax",0),M(this,"tight",!1),M(this,"listIndent",-1),M(this,"parentType","root"),M(this,"level",0),M(this,"Token",Te),this.src=e,this.md=n,this.env=t,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,n,t){let r=new Te(e,n,t);return r.block=!0,t<0&&this.level--,r.level=this.level,t>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let n=this.src.length;e<n&&X(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,n){if(e<=n)return e;for(;e>n;)if(!X(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,n){for(let t=this.src.length;e<t&&this.src.charCodeAt(e)===n;e++);return e}skipCharsBack(e,n,t){if(e<=t)return e;for(;e>t;)if(n!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,n,t,r){if(e>=n)return"";let i=new Array(n-e);for(let o=0,a=e;a<n;a++,o++){let s=0,c=this.bMarks[a],l=c,u;for(a+1<n||r?u=this.eMarks[a]+1:u=this.eMarks[a];l<u&&s<t;){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>t?i[o]=new Array(s-t+1).join(" ")+this.src.slice(l,u):i[o]=this.src.slice(l,u)}return i.join("")}},Xu=65536;function kt(e,n){let t=e.bMarks[n]+e.tShift[n],r=e.eMarks[n];return e.src.slice(t,r)}function Lo(e){let n=[],t=e.length,r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;r<t;)i===124&&(o?(s+=e.substring(a,r-1),a=r):(n.push(s+e.substring(a,r)),s="",a=r+1)),o=i===92,r++,i=e.charCodeAt(r);return n.push(s+e.substring(a)),n}function ju(e,n,t,r){if(n+2>t)return!1;let i=n+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 b=e.src.charCodeAt(o);if(b!==124&&b!==45&&b!==58&&!X(b))return!1;o++}let c=kt(e,n+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=kt(e,n).trim(),c.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4)return!1;l=Lo(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),m=[n,0];d.map=m;let h=e.push("thead_open","thead",1);h.map=[n,n+1];let _=e.push("tr_open","tr",1);_.map=[n,n+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 w,k=0;for(i=n+2;i<t&&!(e.sCount[i]<e.blkIndent);i++){let b=!1;for(let v=0,R=g.length;v<R;v++)if(g[v](e,i,t,!0)){b=!0;break}if(b||(c=kt(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=Lo(c),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),k+=f-l.length,k>Xu))break;if(i===n+2){let v=e.push("tbody_open","tbody",1);v.map=w=[n+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 C=e.push("inline","",0);C.content=l[v]?l[v].trim():"",C.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return w&&(e.push("tbody_close","tbody",-1),w[1]=i),e.push("table_close","table",-1),m[1]=i,e.parentType=p,e.line=i,!0}function Vu(e,n,t){if(e.sCount[n]-e.blkIndent<4)return!1;let r=n+1,i=r;for(;r<t;){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(n,i,4+e.blkIndent,!1)+`
|
|
39
|
+
`,o.map=[n,e.line],!0}function Qu(e,n,t,r){let i=e.bMarks[n]+e.tShift[n],o=e.eMarks[n];if(e.sCount[n]-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=n,p=!1;for(;f++,!(f>=t||(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[n],e.line=f+(p?1:0);let g=e.push("fence","code",0);return g.info=u,g.content=e.getLines(n+1,f,c,!0),g.markup=l,g.map=[n,e.line],!0}function ed(e,n,t,r){let i=e.bMarks[n]+e.tShift[n],o=e.eMarks[n],a=e.lineMax;if(e.sCount[n]-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=n;d<t;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 C=E;for(s.push(e.bMarks[d]),e.bMarks[d]=i;i<o;){let T=e.src.charCodeAt(i);if(X(T))T===9?C+=4-(C+e.bsCount[d]+(R?1:0))%4:C++;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]=C-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,t,!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 m=e.blkIndent;e.blkIndent=0;let h=e.push("blockquote_open","blockquote",1);h.markup=">";let _=[n,0];h.map=_,e.md.block.tokenize(e,n,d);let w=e.push("blockquote_close","blockquote",-1);w.markup=">",e.lineMax=a,e.parentType=p,_[1]=e.line;for(let k=0;k<u.length;k++)e.bMarks[k+n]=s[k],e.tShift[k+n]=u[k],e.sCount[k+n]=l[k],e.bsCount[k+n]=c[k];return e.blkIndent=m,!0}function nd(e,n,t,r){let i=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;let o=e.bMarks[n]+e.tShift[n],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=n+1;let c=e.push("hr","hr",0);return c.map=[n,e.line],c.markup=Array(s+1).join(String.fromCharCode(a)),!0}function Fo(e,n){let t=e.eMarks[n],r=e.bMarks[n]+e.tShift[n],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<t&&!X(e.src.charCodeAt(r))?-1:r}function Bo(e,n){let t=e.bMarks[n]+e.tShift[n],r=e.eMarks[n],i=t;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-t>=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 td(e,n){let t=e.level+2;for(let r=n+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===t&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function rd(e,n,t,r){let i,o,a,s,c=n,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=Bo(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=Fo(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),m=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 h=[c,0];s.map=h,s.markup=String.fromCharCode(d);let _=!1,w=e.md.block.ruler.getRules("list"),k=e.parentType;for(e.parentType="list";c<t;){o=g,i=e.eMarks[c];let b=e.sCount[c]+g-(e.bMarks[c]+e.tShift[c]),E=b;for(;o<i;){let P=e.src.charCodeAt(o);if(P===9)E+=4-(E+e.bsCount[c])%4;else if(P===32)E++;else break;o++}let v=o,R;v>=i?R=1:R=E-b,R>4&&(R=1);let C=b+R;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(d);let T=[c,0];s.map=T,f&&(s.info=e.src.slice(a,g-1));let L=e.tight,B=e.tShift[c],q=e.sCount[c],y=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=C,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,t):e.md.block.tokenize(e,c,t),(!e.tight||_)&&(l=!1),_=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=y,e.tShift[c]=B,e.sCount[c]=q,e.tight=L,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(d),c=e.line,T[1]=c,c>=t||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let D=!1;for(let P=0,x=w.length;P<x;P++)if(w[P](e,c,t,!0)){D=!0;break}if(D)break;if(f){if(g=Bo(e,c),g<0)break;a=e.bMarks[c]+e.tShift[c]}else if(g=Fo(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),h[1]=c,e.line=c,e.parentType=k,l&&td(e,m),!0}function id(e,n,t,r){let i=e.bMarks[n]+e.tShift[n],o=e.eMarks[n],a=n+1;if(e.sCount[n]-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 T=e.md.block.ruler.getRules("reference"),L=e.parentType;e.parentType="reference";let B=!1;for(let q=0,y=T.length;q<y;q++)if(T[q](e,b,E,!0)){B=!0;break}if(e.parentType=L,B)return null}let R=e.bMarks[b]+e.tShift[b],C=e.eMarks[b];return e.src.slice(R,C+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(!X(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(!X(b))break}let m=e.md.helpers.parseLinkTitle(c,i,o);for(;m.can_continue;){let b=s(a);if(b===null)break;c+=b,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=p,a=g);i<o&&X(c.charCodeAt(i));)i++;if(i<o&&c.charCodeAt(i)!==10&&h)for(h="",i=p,a=g;i<o&&X(c.charCodeAt(i));)i++;if(i<o&&c.charCodeAt(i)!==10)return!1;let _=Sn(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:h,href:f});let w=e.push("reference_definition","",0);w.map=[n,a],w.hidden=!0;let k=Object.create(null);return k.label=_,w.meta=k,e.line=a,!0}var od=["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"],jo=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,Vo="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",sd=new RegExp(`^(?:${jo}|${Vo}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),ad=new RegExp(`^(?:${jo}|${Vo})`),Ne=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${od.join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${ad.source}\\s*$`),/^$/,!1]];function cd(e,n,t,r){let i=e.bMarks[n]+e.tShift[n],o=e.eMarks[n];if(e.sCount[n]-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<Ne.length&&!Ne[s][0].test(a);s++);if(s===Ne.length)return!1;if(r)return Ne[s][2];let c=n+1,l=Ne[s][1].test("");if(!Ne[s][1].test(a)){for(;c<t&&!(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),Ne[s][1].test(a)){a.length!==0&&c++;break}}e.line=c;let u=e.push("html_block","",0);return u.map=[n,c],u.content=e.getLines(n,c,e.blkIndent,!0),!0}function ld(e,n,t,r){let i=e.bMarks[n]+e.tShift[n],o=e.eMarks[n];if(e.sCount[n]-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=n+1;let l=e.push("heading_open",`h${s}`,1);l.markup="########".slice(0,s),l.map=[n,e.line];let u=e.push("inline","",0);u.content=Dn(e.src.slice(i,o)),u.map=[n,e.line],u.children=[];let f=e.push("heading_close",`h${s}`,-1);return f.markup="########".slice(0,s),!0}function ud(e,n,t){let r=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType="paragraph";let o=0,a,s=n+1;for(;s<t&&!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,t,!0)){p=!0;break}if(p)break}if(!o)return e.parentType=i,!1;let c=Dn(e.getLines(n,s,e.blkIndent,!1));e.line=s+1;let l=e.push("heading_open",`h${o}`,1);l.markup=String.fromCharCode(a),l.map=[n,e.line];let u=e.push("inline","",0);u.content=c,u.map=[n,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 dd(e,n,t){let r=e.md.block.ruler.getRules("paragraph"),i=e.parentType,o=n+1;for(e.parentType="paragraph";o<t&&!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,t,!0)){l=!0;break}if(l)break}let a=Dn(e.getLines(n,o,e.blkIndent,!1));e.line=o;let s=e.push("paragraph_open","p",1);s.map=[n,e.line];let c=e.push("inline","",0);return c.content=a,c.map=[n,e.line],c.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}var Tn=[["table",ju,["paragraph","reference"]],["code",Vu],["fence",Qu,["paragraph","reference","blockquote","list"]],["blockquote",ed,["paragraph","reference","blockquote","list"]],["hr",nd,["paragraph","reference","blockquote","list"]],["list",rd,["paragraph","reference","blockquote"]],["reference",id],["html_block",cd,["paragraph","reference","blockquote"]],["heading",ld,["paragraph","reference","blockquote"]],["lheading",ud],["paragraph",dd]],Qo=class{constructor(){M(this,"ruler",new tn),M(this,"State",Xo);for(let e=0;e<Tn.length;e++)this.ruler.push(Tn[e][0],Tn[e][1],{alt:(Tn[e][2]||[]).slice()})}tokenize(e,n,t){let r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting,a=n,s=!1;for(;a<t&&(e.line=a=e.skipEmptyLines(a),!(a>=t||e.sCount[a]<e.blkIndent));){if(e.level>=o){e.line=t;break}let c=e.line,l=!1;for(let u=0;u<i;u++)if(l=r[u](e,a,t,!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<t&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}}parse(e,n,t,r){if(!e)return;let i=new this.State(e,n,t,r);this.tokenize(i,i.line,i.lineMax)}},es=class{constructor(e,n,t,r){M(this,"pos",0),M(this,"level",0),M(this,"pending",""),M(this,"pendingLevel",0),M(this,"cache",{}),M(this,"backticks",{}),M(this,"backticksScanned",!1),M(this,"linkLevel",0),M(this,"delimiters",[]),M(this,"_prev_delimiters",[]),M(this,"Token",Te),this.src=e,this.env=t,this.md=n,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){let e=new Te("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e}push(e,n,t){this.pending&&this.pushPending();let r=new Te(e,n,t),i;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,t>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,n){let t=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<t&&this.src.charCodeAt(o)===r;)o++;let a=o-e,s=o<t?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=en(i)||Qe(i),l=en(s)||Qe(s),u=Ve(i),f=Ve(s),p=!f&&(!l||u||c),g=!u&&(!c||f||l);return{can_open:p&&(n||!g||c),can_close:g&&(n||!p||l),length:a}}};function fd(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 gd(e,n){let t=e.pos;for(;t<e.posMax&&!fd(e.src.charCodeAt(t));)t++;return t===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,t)),e.pos=t,!0)}function pd(e){return e>=65&&e<=90||e>=97&&e<=122}function hd(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function md(e,n){if(!e.md.options.linkify||e.linkLevel>0)return!1;let t=e.pos,r=e.posMax;if(t+3>r||e.src.charCodeAt(t)!==58||e.src.charCodeAt(t+1)!==47||e.src.charCodeAt(t+2)!==47)return!1;let i=t-Math.min(10,e.pending.length,t),o=t;for(;o>i&&hd(e.src.charCodeAt(o-1));)o--;if(o===t||!pd(e.src.charCodeAt(o)))return!1;let a=t-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(!n){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 bd(e,n){let t=e.pos;if(e.src.charCodeAt(t)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!n)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(t++;t<i&&X(e.src.charCodeAt(t));)t++;return e.pos=t,!0}var yt=[];for(let e=0;e<256;e++)yt.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){yt[e.charCodeAt(0)]=1});function _d(e,n){let t=e.pos,r=e.posMax;if(e.src.charCodeAt(t)!==92||(t++,t>=r))return!1;let i=e.src.charCodeAt(t);if(i===10){for(n||e.push("hardbreak","br",0),t++;t<r&&(i=e.src.charCodeAt(t),!!X(i));)t++;return e.pos=t,!0}if(i===32){if(!n){let s=e.push("text_special","",0);s.content="\\",s.markup="\\",s.info="escape"}return e.pos=t,!0}let o=e.src[t];if(i>=55296&&i<=56319&&t+1<r){let s=e.src.charCodeAt(t+1);s>=56320&&s<=57343&&(o+=e.src[t+1],t++)}let a="\\"+o;if(!n){let s=e.push("text_special","",0);i<256&&yt[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return e.pos=t+1,!0}function Ed(e){let n={},t=0;for(;(t=e.indexOf("`",t))!==-1;){let r=t;for(;e.charCodeAt(++t)===96;);n[t-r]=r}return n}function kd(e,n){var t;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=Ed(e.src),e.backticksScanned=!0),((t=e.backticks[s])!==null&&t!==void 0?t:-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(!n){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 n||(e.pending+=a),e.pos=o,!0}function wd(e,n){let t=e.pos,r=e.src.charCodeAt(t);if(n||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 Po(e,n){let t,r=[],i=n.length;for(let o=0;o<i;o++){let a=n[o];if(a.marker!==126||a.end===-1)continue;let s=n[a.end];t=e.tokens[a.token],t.type="s_open",t.tag="s",t.nesting=1,t.markup="~~",t.content="",t=e.tokens[s.token],t.type="s_close",t.tag="s",t.nesting=-1,t.markup="~~",t.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&&(t=e.tokens[a],e.tokens[a]=e.tokens[o],e.tokens[o]=t)}}function xd(e){let n=e.tokens_meta,t=e.tokens_meta.length;Po(e,e.delimiters);for(let i=0;i<t;i++){var r;let o=(r=n[i])===null||r===void 0?void 0:r.delimiters;o&&Po(e,o)}}var ns={tokenize:wd,postProcess:xd};function vd(e,n){let t=e.pos,r=e.src.charCodeAt(t);if(n||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 Uo(e,n){let t=n.length;for(let r=t-1;r>=0;r--){let i=n[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;let o=n[i.end],a=r>0&&n[r-1].end===i.end+1&&n[r-1].marker===i.marker&&n[r-1].token===i.token-1&&n[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[n[r-1].token].content="",e.tokens[n[i.end+1].token].content="",r--)}}function Rd(e){let n=e.tokens_meta,t=e.tokens_meta.length;Uo(e,e.delimiters);for(let i=0;i<t;i++){var r;let o=(r=n[i])===null||r===void 0?void 0:r.delimiters;o&&Uo(e,o)}}var ts={tokenize:vd,postProcess:Rd};function yd(e,n){let t,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&&(t=e.src.charCodeAt(d),!(!X(t)&&t!==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&&(t=e.src.charCodeAt(d),!(!X(t)&&t!==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&&(t=e.src.charCodeAt(d),!(!X(t)&&t!==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=Sn(r),o=e.env.references[r],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!n){e.pos=p,e.posMax=g;let m=e.push("link_open","a",1),h=[["href",a]];if(m.attrs=h,s&&h.push(["title",s]),r){let _=Object.create(null);_.label=r,m.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 Ad(e,n){let t,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&&(t=e.src.charCodeAt(o),!(!X(t)&&t!==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&&(t=e.src.charCodeAt(o),!(!X(t)&&t!==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&&(t=e.src.charCodeAt(o),!(!X(t)&&t!==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=Sn(i),a=e.env.references[i],!a)return e.pos=f,!1;u=a.href,c=a.title}if(!n){r=e.src.slice(g,d);let m=[];e.md.inline.parse(r,e.md,e.env,m);let h=e.push("image","img",0),_=[["src",u],["alt",""]];if(h.attrs=_,h.children=m,h.content=r,c&&_.push(["title",c]),i){let w=Object.create(null);w.label=i,h.meta=w}}return e.pos=o,e.posMax=p,!0}var Cd=/^([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])?)*)$/,Nd=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Td(e,n){let t=e.pos;if(e.src.charCodeAt(t)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++t>=i)return!1;let a=e.src.charCodeAt(t);if(a===60)return!1;if(a===62)break}let o=e.src.slice(r+1,t);if(Nd.test(o)){let a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!n){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(Cd.test(o)){let a=e.md.normalizeLink(`mailto:${o}`);if(!e.md.validateLink(a))return!1;if(!n){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 Sd(e){return/^<a[>\s]/i.test(e)}function Dd(e){return/^<\/a\s*>/i.test(e)}function Md(e){let n=e|32;return n>=97&&n<=122}function Od(e,n){if(!e.md.options.html)return!1;let t=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=t)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!Md(i))return!1;let o=e.src.slice(r).match(sd);if(!o)return!1;if(!n){let a=e.push("html_inline","",0);a.content=o[0],Sd(a.content)&&e.linkLevel++,Dd(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}var Id=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Ld=/^&([a-z][a-z0-9]{1,31});/i;function Fd(e,n){let t=e.pos,r=e.posMax;if(e.src.charCodeAt(t)!==38||t+1>=r)return!1;if(e.src.charCodeAt(t+1)===35){let i=e.src.slice(t).match(Id);if(i){if(!n){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=Rt(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(t).match(Ld);if(i){let o=Cn(i[0]);if(o!==i[0]){if(!n){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 $o(e){let n={},t=e.length;if(!t)return;let r=0,i=-2,o=[];for(let a=0;a<t;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;n.hasOwnProperty(s.marker)||(n[s.marker]=[-1,-1,-1,-1,-1,-1]);let c=n[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&&(n[s.marker][(s.open?3:0)+(s.length||0)%3]=u)}}function Bd(e){let n=e.tokens_meta,t=e.tokens_meta.length;$o(e.delimiters);for(let i=0;i<t;i++){var r;let o=(r=n[i])===null||r===void 0?void 0:r.delimiters;o&&$o(o)}}function Pd(e){let n,t,r=0,i=e.tokens,o=e.tokens.length;for(n=t=0;n<o;n++)i[n].nesting<0&&r--,i[n].level=r,i[n].nesting>0&&r++,i[n].type==="text"&&n+1<o&&i[n+1].type==="text"?i[n+1].content=i[n].content+i[n+1].content:(n!==t&&(i[t]=i[n]),t++);n!==t&&(i.length=t)}var wt=[["text",gd],["linkify",md],["newline",bd],["escape",_d],["backticks",kd],["strikethrough",ns.tokenize],["emphasis",ts.tokenize],["link",yd],["image",Ad],["autolink",Td],["html_inline",Od],["entity",Fd]],xt=[["balance_pairs",Bd],["strikethrough",ns.postProcess],["emphasis",ts.postProcess],["fragments_join",Pd]],rs=class{constructor(){M(this,"ruler",new tn),M(this,"ruler2",new tn),M(this,"State",es);for(let e=0;e<wt.length;e++)this.ruler.push(wt[e][0],wt[e][1]);for(let e=0;e<xt.length;e++)this.ruler2.push(xt[e][0],xt[e][1])}skipToken(e){let n=e.pos,t=this.ruler.getRules(""),r=t.length,i=e.md.options.maxNesting,o=e.cache;if(typeof o[n]<"u"){e.pos=o[n];return}let a=!1;if(e.level<i){for(let s=0;s<r;s++)if(e.level++,a=t[s](e,!0),e.level--,a){if(n>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[n]=e.pos}tokenize(e){let n=this.ruler.getRules(""),t=n.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<t;s++)if(a=n[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,n,t,r){let i=new this.State(e,n,t,r);this.tokenize(i);let o=this.ruler2.getRules(""),a=o.length;for(let s=0;s<a;s++)o[s](i)}},Ud={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"]}}}},$d=/^(vbscript|javascript|file|data):/,zd=/^data:image\/(gif|png|jpeg|webp);/,zo=["http:","https:","mailto:"],me=class{validateLink(e){let n=e.trim().toLowerCase();return $d.test(n)?zd.test(n):!0}normalizeLink(e){let n=Ye(e,!0);if(n.hostname&&(!n.protocol||zo.indexOf(n.protocol)>=0))try{n.hostname=vt.default.toASCII(n.hostname)}catch{}return n.auth&&(n.auth=ke(n.auth)),n.hostname&&(n.hostname=ke(n.hostname)),n.pathname&&(n.pathname=ke(n.pathname)),n.search&&(n.search=ke(n.search)),n.hash&&(n.hash=ke(n.hash)),Be(n)}normalizeLinkText(e){let n=Ye(e,!0);if(n.hostname&&(!n.protocol||zo.indexOf(n.protocol)>=0))try{n.hostname=vt.default.toUnicode(n.hostname)}catch{}return Je(Be(n),Je.defaultChars+"%")}constructor(...e){M(this,"inline",new rs),M(this,"block",new Qo),M(this,"core",new Yo),M(this,"renderer",new Wo),M(this,"linkify",new wo),M(this,"utils",cu),M(this,"helpers",Object.assign({},Ru));let[n,t]=e;typeof n=="string"?(this.configure(n),t&&this.set(t)):(this.configure("default"),this.set(n||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let n;if(typeof e=="string"){let i=e;if(n=Ud[i],!n)throw new Error(`Wrong 'markdown-it' preset "${i}", check name`)}else n=e;if(!n)throw new Error("Wrong `markdown-it` preset, can't be empty");n.options&&(this.options={...n.options});let t=n.components;if(t){var r;["core","block","inline"].forEach(o=>{var a;let s=(a=t[o])===null||a===void 0?void 0:a.rules;s&&this[o].ruler.enableOnly(s)});let i=(r=t.inline)===null||r===void 0?void 0:r.rules2;i&&this.inline.ruler2.enableOnly(i)}return this}enable(e,n=!1){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{t=t.concat(this[i].ruler.enable(e,!0))}),t=t.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(i=>t.indexOf(i)<0);if(r.length&&!n)throw new Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);return this}disable(e,n=!1){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{t=t.concat(this[i].ruler.disable(e,!0))}),t=t.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(i=>t.indexOf(i)<0);if(r.length&&!n)throw new Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);return this}use(e,...n){return e.apply(e,[this,...n]),this}parse(e,n){if(typeof e!="string")throw new Error("Input data should be a String");let t=new this.core.State(e,this,n);return this.core.process(t),t.tokens}render(e,n={}){return this.renderer.render(this.parse(e,n),this.options,n)}parseInline(e,n){let t=new this.core.State(e,this,n);return t.inlineMode=!0,this.core.process(t),t.tokens}renderInline(e,n={}){return this.renderer.render(this.parseInline(e,n),this.options,n)}};M(me,"Token",Te);M(me,"Ruler",tn);M(me,"Renderer",Wo);M(me,"ParserCore",Yo);M(me,"StateCore",Zo);M(me,"ParserBlock",Qo);M(me,"StateBlock",Xo);M(me,"ParserInline",rs);M(me,"StateInline",es);var is=Ho(me);function qd(e,n,t,r){let i=Number(e[n].meta.id+1).toString(),o="";return typeof r.docId=="string"&&(o=`-${r.docId}-`),o+i}function Hd(e,n){let t=Number(e[n].meta.id+1).toString();return e[n].meta.subId>0&&(t+=`:${e[n].meta.subId}`),`[${t}]`}function Gd(e,n,t,r,i){let o=i.rules.footnote_anchor_name(e,n,t,r,i),a=i.rules.footnote_caption(e,n,t,r,i),s=o;return e[n].meta.subId>0&&(s+=`:${e[n].meta.subId}`),`<sup class="footnote-ref"><a href="#fn${o}" id="fnref${s}">${a}</a></sup>`}function Kd(e,n,t){return(t.xhtmlOut?`<hr class="footnotes-sep" />
|
|
40
40
|
`:`<hr class="footnotes-sep">
|
|
41
41
|
`)+`<section class="footnotes">
|
|
42
42
|
<ol class="footnotes-list">
|
|
43
|
-
`}function
|
|
43
|
+
`}function Wd(){return`</ol>
|
|
44
44
|
</section>
|
|
45
|
-
`}function
|
|
46
|
-
`}function Bd(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 wn(e){let t=e.helpers.parseLinkLabel,n=e.utils.isSpace;e.renderer.rules.footnote_ref=Md,e.renderer.rules.footnote_block_open=Od,e.renderer.rules.footnote_block_close=Id,e.renderer.rules.footnote_open=Ld,e.renderer.rules.footnote_close=Fd,e.renderer.rules.footnote_anchor=Bd,e.renderer.rules.footnote_caption=Dd,e.renderer.rules.footnote_anchor_name=Sd;function r(s,c,l,u){let f=s.bMarks[c]+s.tShift[c],p=s.eMarks[c];if(f+4>p||s.src.charCodeAt(f)!==91||s.src.charCodeAt(f+1)!==94)return!1;let g;for(g=f+2;g<p;g++){if(s.src.charCodeAt(g)===32)return!1;if(s.src.charCodeAt(g)===93)break}if(g===f+2||g+1>=p||s.src.charCodeAt(++g)!==58)return!1;if(u)return!0;g++,s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.refs||(s.env.footnotes.refs={});let d=s.src.slice(f+2,g-2);s.env.footnotes.refs[`:${d}`]=-1;let h=new s.Token("footnote_reference_open","",1);h.meta={label:d},h.level=s.level++,s.tokens.push(h);let m=s.bMarks[c],_=s.tShift[c],w=s.sCount[c],E=s.parentType,b=g,k=s.sCount[c]+g-(s.bMarks[c]+s.tShift[c]),x=k;for(;g<p;){let y=s.src.charCodeAt(g);if(n(y))y===9?x+=4-x%4:x++;else break;g++}s.tShift[c]=g-b,s.sCount[c]=x-k,s.bMarks[c]=b,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=E,s.blkIndent-=4,s.tShift[c]=_,s.sCount[c]=w,s.bMarks[c]=m;let C=new s.Token("footnote_reference_close","",-1);return C.level=--s.level,s.tokens.push(C),!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,p=t(s,u+1);if(p<0)return!1;if(!c){s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.list||(s.env.footnotes.list=[]);let g=s.env.footnotes.list.length,d=[];s.md.inline.parse(s.src.slice(f,p),s.md,s.env,d);let h=s.push("footnote_ref","",0);h.meta={id:g},s.env.footnotes.list[g]={content:s.src.slice(f,p),tokens:d}}return s.pos=p+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 p=s.src.slice(u+2,f-1);if(typeof s.env.footnotes.refs[`:${p}`]>"u")return!1;if(!c){s.env.footnotes.list||(s.env.footnotes.list=[]);let g;s.env.footnotes.refs[`:${p}`]<0?(g=s.env.footnotes.list.length,s.env.footnotes.list[g]={label:p,count:0},s.env.footnotes.refs[`:${p}`]=g):g=s.env.footnotes.refs[`:${p}`];let d=s.env.footnotes.list[g].count;s.env.footnotes.list[g].count++;let h=s.push("footnote_ref","",0);h.meta={id:g,subId:d,label:p}}return s.pos=f,s.posMax=l,!0}function a(s){let c,l,u,f=!1,p={};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,p[":"+u]=l,!1):(f&&l.push(d),!f)}),!s.env.footnotes.list))return;let g=s.env.footnotes.list;s.tokens.push(new s.Token("footnote_block_open","",1));for(let d=0,h=g.length;d<h;d++){let m=new s.Token("footnote_open","",1);if(m.meta={id:d,label:g[d].label},s.tokens.push(m),g[d].tokens){c=[];let E=new s.Token("paragraph_open","p",1);E.block=!0,c.push(E);let b=new s.Token("inline","",0);b.children=g[d].tokens,b.content=g[d].content,c.push(b);let k=new s.Token("paragraph_close","p",-1);k.block=!0,c.push(k)}else g[d].label&&(c=p[`:${g[d].label}`]);c&&(s.tokens=s.tokens.concat(c));let _;s.tokens[s.tokens.length-1].type==="paragraph_close"?_=s.tokens.pop():_=null;let w=g[d].count>0?g[d].count:1;for(let E=0;E<w;E++){let b=new s.Token("footnote_anchor","",0);b.meta={id:d,subId:E,label:g[d].label},s.tokens.push(b)}_&&s.tokens.push(_),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)}function Vo(e){return e.trim().toLowerCase().replace(/[^\p{L}\p{N}\s_-]/gu,"").replace(/\s+/g,"-")||"section"}var me=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""");function Ud(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 $d(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-"+Vo(Ud(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 zd(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 qd(e){let t=e.renderer.rules.fence;e.renderer.rules.fence=(n,r,i,o,a)=>{let s=n[r];if(!Ht(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"),p=f===null?"":` data-line="${f}"`;if(c){let g={id:c.id,kind:c.kind,paired:c.paired,messages:c.messages.map(({index:d,line:h,text:m,nodeId:_,number:w,numberInHeading:E,target:b,unlinked:k})=>({index:d,line:h,text:m,nodeId:_,number:u?w:void 0,numberInHeading:E,target:b,unlinked:l?void 0:k}))};p+=` data-seqnotes-meta="${me(JSON.stringify(g))}"`}return`<div class="seqnotes-mermaid"${p}><pre class="seqnotes-mermaid-src">${me(s.content)}</pre></div>
|
|
47
|
-
`}}function
|
|
48
|
-
`);c+=`<div class="seqnotes-warnings" data-seqnotes-key="${
|
|
49
|
-
`}let l=0;for(let u of
|
|
50
|
-
`,l=u.rangeEnd);return c+=s(
|
|
51
|
-
<html lang="${
|
|
45
|
+
`}function Zd(e,n,t,r,i){let o=i.rules.footnote_anchor_name(e,n,t,r,i);return e[n].meta.subId>0&&(o+=`:${e[n].meta.subId}`),`<li id="fn${o}" class="footnote-item">`}function Jd(){return`</li>
|
|
46
|
+
`}function Yd(e,n,t,r,i){let o=i.rules.footnote_anchor_name(e,n,t,r,i);return e[n].meta.subId>0&&(o+=`:${e[n].meta.subId}`),` <a href="#fnref${o}" class="footnote-backref">\u21A9\uFE0E</a>`}function At(e){let n=e.helpers.parseLinkLabel,t=e.utils.isSpace;e.renderer.rules.footnote_ref=Gd,e.renderer.rules.footnote_block_open=Kd,e.renderer.rules.footnote_block_close=Wd,e.renderer.rules.footnote_open=Zd,e.renderer.rules.footnote_close=Jd,e.renderer.rules.footnote_anchor=Yd,e.renderer.rules.footnote_caption=Hd,e.renderer.rules.footnote_anchor_name=qd;function r(s,c,l,u){let f=s.bMarks[c]+s.tShift[c],p=s.eMarks[c];if(f+4>p||s.src.charCodeAt(f)!==91||s.src.charCodeAt(f+1)!==94)return!1;let g;for(g=f+2;g<p;g++){if(s.src.charCodeAt(g)===32)return!1;if(s.src.charCodeAt(g)===93)break}if(g===f+2||g+1>=p||s.src.charCodeAt(++g)!==58)return!1;if(u)return!0;g++,s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.refs||(s.env.footnotes.refs={});let d=s.src.slice(f+2,g-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],_=s.tShift[c],w=s.sCount[c],k=s.parentType,b=g,E=s.sCount[c]+g-(s.bMarks[c]+s.tShift[c]),v=E;for(;g<p;){let C=s.src.charCodeAt(g);if(t(C))C===9?v+=4-v%4:v++;else break;g++}s.tShift[c]=g-b,s.sCount[c]=v-E,s.bMarks[c]=b,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]=_,s.sCount[c]=w,s.bMarks[c]=h;let R=new s.Token("footnote_reference_close","",-1);return R.level=--s.level,s.tokens.push(R),!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,p=n(s,u+1);if(p<0)return!1;if(!c){s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.list||(s.env.footnotes.list=[]);let g=s.env.footnotes.list.length,d=[];s.md.inline.parse(s.src.slice(f,p),s.md,s.env,d);let m=s.push("footnote_ref","",0);m.meta={id:g},s.env.footnotes.list[g]={content:s.src.slice(f,p),tokens:d}}return s.pos=p+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 p=s.src.slice(u+2,f-1);if(typeof s.env.footnotes.refs[`:${p}`]>"u")return!1;if(!c){s.env.footnotes.list||(s.env.footnotes.list=[]);let g;s.env.footnotes.refs[`:${p}`]<0?(g=s.env.footnotes.list.length,s.env.footnotes.list[g]={label:p,count:0},s.env.footnotes.refs[`:${p}`]=g):g=s.env.footnotes.refs[`:${p}`];let d=s.env.footnotes.list[g].count;s.env.footnotes.list[g].count++;let m=s.push("footnote_ref","",0);m.meta={id:g,subId:d,label:p}}return s.pos=f,s.posMax=l,!0}function a(s){let c,l,u,f=!1,p={};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,p[":"+u]=l,!1):(f&&l.push(d),!f)}),!s.env.footnotes.list))return;let g=s.env.footnotes.list;s.tokens.push(new s.Token("footnote_block_open","",1));for(let d=0,m=g.length;d<m;d++){let h=new s.Token("footnote_open","",1);if(h.meta={id:d,label:g[d].label},s.tokens.push(h),g[d].tokens){c=[];let k=new s.Token("paragraph_open","p",1);k.block=!0,c.push(k);let b=new s.Token("inline","",0);b.children=g[d].tokens,b.content=g[d].content,c.push(b);let E=new s.Token("paragraph_close","p",-1);E.block=!0,c.push(E)}else g[d].label&&(c=p[`:${g[d].label}`]);c&&(s.tokens=s.tokens.concat(c));let _;s.tokens[s.tokens.length-1].type==="paragraph_close"?_=s.tokens.pop():_=null;let w=g[d].count>0?g[d].count:1;for(let k=0;k<w;k++){let b=new s.Token("footnote_anchor","",0);b.meta={id:d,subId:k,label:g[d].label},s.tokens.push(b)}_&&s.tokens.push(_),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)}function os(e){return e.trim().toLowerCase().replace(/[^\p{L}\p{N}\s_-]/gu,"").replace(/\s+/g,"-")||"section"}var Xd=/^<!--\s*table:([^]*?)-->\s*$/;function jd(e){let n=[],t=0,r=()=>{for(;t<e.length&&/\s/.test(e[t]);)t++},i=o=>{o.lastIndex=t;let a=o.exec(e),s=a&&a.index===t?a[0]:"";return t+=s.length,s};for(r();t<e.length;r()){let o=i(/[^\s=]+/g);if(e[t]!=="="){n.push({key:o||e[t++],values:[]});continue}t++;let a=[];for(;;){let s;if(e[t]==='"'){let l=e.indexOf('"',t+1);s=e.slice(t+1,l<0?e.length:l),t=l<0?e.length:l+1}else s=i(/[^\s,"]+/g);a.push(s.trim());let c=t;if(r(),e[t]!==","){t=c;break}t++,r()}n.push({key:o,values:a.filter(s=>s!=="")})}return n}function Vd(e){let n=e.filter(i=>i!==void 0),t=n.length===0?0:Math.min(...n),r=[];return e.map(i=>{let o=i??t;for(;r.length>0&&r[r.length-1]>=o;)r.pop();return r.push(o),r.length-1})}function Qd(e){let n=new Array(e.length),t=[];for(let o=e.length-1;o>=0;o--){let a=e[o];n[o]=t[a]===!0,t[a]=!0,t.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(n[a]?"tee":"elbow"),r[o]=n[a],s}),parent:e.map((o,a)=>a+1<e.length&&e[a+1]>o)}}function ef(e,n){let t=[],r=!1;for(let i=n+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"?t.push({open:i,head:r,cells:[]}):(o.type==="th_open"||o.type==="td_open")&&e[i+1]?.type==="inline"&&t[t.length-1]?.cells.push({open:i,inline:e[i+1]})}return t}var nf=e=>(e.children??[]).filter(n=>n.type==="text"||n.type==="code_inline"||n.type==="text_special").map(n=>n.content).join("").trim();function tf(e,n,t,r,i){let o=e.tokens,a=[],s=(y,D=r)=>{a.push({line:D,message:y})},c=ef(o,n),l=c.find(y=>y.head);if(!l)return a;let u=l.cells.map(y=>[y.inline.content.trim(),nf(y.inline)]),f=new Set,p=y=>{let D=u.findIndex(P=>P.includes(y));if(D<0){s(i('No column "{0}" in the table.',y));return}if(f.has(D)){s(i('Column "{0}" is given twice in the table options.',y));return}return f.add(D),D},g,d=!1,m=[];for(let y of t)if(y.key==="level")d?s(i('Write "level=" only once in the table options.')):y.values.length!==1?s(i('Write one column for the level: "level=<column>".')):g=p(y.values[0]),d=!0;else if(y.key==="merge"&&y.values.length>=2){let D=y.values.map(p).filter(P=>P!==void 0);D.length>=2&&m.push(D)}else y.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>".',y.key));let h=y=>{let D=new e.Token("html_inline","",0);return D.content=y,D},_=y=>!y||y.inline.content.trim()==="",w=new Set,k=y=>{y&&!w.has(y.open)&&(w.add(y.open),o[y.open].attrJoin("class","seqnotes-cell-hidden"))},b=()=>{if(m.length===0&&g===void 0)return;o[n].attrJoin("class","seqnotes-item-table");let y=l.cells.filter(x=>!w.has(x.open)).pop();if(!y)return;o[y.open].attrJoin("class","seqnotes-table-plain-cell");let D=e.md.utils.escapeHtml(i("Show as a plain table")),P='<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>';y.inline.children=[...y.inline.children??[],h(`<button type="button" class="seqnotes-table-plain-toggle" aria-pressed="false" aria-label="${D}" title="${D}">${P}</button>`)]};for(let y of c)for(let[D,...P]of m){let x=y.cells[D];if(!x)continue;let N=[h('<span class="seqnotes-cell-main">'),...x.inline.children??[],h("</span>")];for(let S of P){let I=y.cells[S];_(I)||N.push(h('<span class="seqnotes-cell-sub">'),...I.inline.children??[],h("</span>")),k(I)}x.inline.children=N}if(g===void 0)return b(),a;let E=g,v=E+1<u.length?E+1:E-1;v=m.find(y=>y.includes(v))?.[0]??v;let R=c.filter(y=>!y.head),C=Vd(R.map(y=>{let D=Zn(y.cells[E]?.inline.content.trim()??"");if(/^\d+$/.test(D))return Number(D);s(i('The level "{0}" is not an integer.',D),o[y.open].map?.[0]??r)})),{guides:T,parent:L}=Qd(C);o[n].attrJoin("class","seqnotes-tree-table");for(let y of c)k(y.cells[E]);let B=v>=0?l.cells[v]:void 0;if(b(),!B)return a;o[B.open].attrJoin("class","seqnotes-tree-head");let q=e.md.utils.escapeHtml(i("Child rows"));return R.forEach((y,D)=>{let P=o[y.open];P.attrSet("data-seqnotes-depth",String(C[D]));let x=y.cells[v];if(!x)return;let N=o[x.open];N.attrJoin("class","seqnotes-tree-cell");let S=N.attrGet("style");N.attrSet("style",`${S?`${S};`:""}--seqnotes-depth:${C[D]}`);let I='<span class="seqnotes-tree-guides" aria-hidden="true">';I+=T[D].map(H=>`<span class="seqnotes-tree-${H}"></span>`).join(""),L[D]&&(P.attrJoin("class","seqnotes-tree-parent"),I+='<span class="seqnotes-tree-stem"></span>'),I+="</span>",L[D]&&(I+=`<button type="button" class="seqnotes-tree-toggle" aria-expanded="true" aria-label="${q}" title="${q}"></button>`),x.inline.children=[h(I),...x.inline.children??[]]}),a}var ss="seqNotesTableWarnings";function as(e){e.core.ruler.after("inline","seqnotes_table_options",n=>{let t=n.env?.t??le,r=n.tokens;for(let i=0;i<r.length;i++){let o=r[i],a=o.type==="html_block"?Xd.exec(o.content.trim()):null;if(!a)continue;let s=o.map?.[0]??0,c=r[i+1]?.type==="table_open"?tf(n,i+1,jd(a[1]),s,t):[{line:s,message:t("The table options are not followed by a table.")}];c.length>0&&(o.meta={...o.meta,[ss]:c})}})}function Mn(e){return e.flatMap(n=>n.meta?.[ss]??[])}var ee=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""");function of(e,n){let t=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:n.footnotes?.list?.[i],a=o?.label!==void 0?`[^${o.label}]`:o?.content!==void 0?`^[${o.content}]`:void 0;a&&(t=t.split(a).join(""))}return t}function sf(e){e.core.ruler.push("seqnotes_heading_ids",n=>{let t=new Set,r=n.tokens;for(let i=0;i<r.length;i++){if(r[i].type!=="heading_open")continue;let o="sn-"+os(of(r[i+1],n.env)),a=o;for(let s=1;t.has(a);s++)a=`${o}-${s}`;t.add(a),r[i].attrSet("id",a)}})}function af(e){e.core.ruler.push("seqnotes_source_lines",n=>{if(n.env?.forExport)return;let t=!1;for(let r of n.tokens)r.type==="footnote_block_open"||r.type==="footnote_block_close"?t=r.nesting===1:r.map&&r.nesting!==-1&&!t&&r.attrSet("data-line",String(r.map[0]))})}function cf(e){let n=e.renderer.rules.fence;e.renderer.rules.fence=(t,r,i,o,a)=>{let s=t[r];if(!Jn(s))return n(t,r,i,o,a);let c=s.meta?.seqNotes,l=o?.forExport===!0,u=o?.headingNumbers!==!1,f=s.attrGet("data-line"),p=f===null?"":` data-line="${f}"`;for(let g of["data-seqnotes-diff","data-seqnotes-diff-old"]){let d=s.attrGet(g);d!==null&&(p+=` ${g}="${ee(String(d))}"`)}if(c){let g={id:c.id,kind:c.kind,paired:c.paired,messages:c.messages.map(({index:d,line:m,text:h,nodeId:_,number:w,numberInHeading:k,target:b,unlinked:E})=>({index:d,line:m,text:h,nodeId:_,number:u?w:void 0,numberInHeading:k,target:b,unlinked:l?void 0:E}))};p+=` data-seqnotes-meta="${ee(JSON.stringify(g))}"`}return`<div class="seqnotes-mermaid"${p}><pre class="seqnotes-mermaid-src">${ee(s.content)}</pre></div>
|
|
47
|
+
`}}function lf(e){let n=e.renderer.rules.image;e.renderer.rules.image=(t,r,i,o,a)=>{let s=t[r],c=s.attrGet("src");return c&&o?.resolveResource&&s.attrSet("src",o.resolveResource(String(c))),n(t,r,i,o,a)}}function cs(){let e=is({html:!0,linkify:!0});return e.use(At).use(Qi).use(as).use(sf).use(af).use(cf).use(lf),e}function ls(e,n,t={}){return uf(e,e.parse(n,t),t)}function uf(e,n,t){let r=t.t??le,{diagrams:i,warnings:o}=ln(n,r),a=[...o,...Mn(n)].sort((u,f)=>u.line-f.line);for(let u of i){let f=n[u.fenceIndex];f.meta={...f.meta,seqNotes:u};let p=u.kind==="flowchart";for(let g of t.forExport?[]:u.unlinkedHeadings)n[g].attrJoin("class","seqnotes-unlinked"),n[g].attrSet("title",r(p?"No node in the flowchart is linked to this heading.":"No arrow in the sequence diagram is linked to this heading.")),n[g].attrSet("data-seqnotes-mark",r(p?"no node":"no arrow"))}let s=u=>e.renderer.render(u,e.options,t),c="";if(a.length>0&&!t.forExport){let u=a.map(f=>f.message).join(`
|
|
48
|
+
`);c+=`<div class="seqnotes-warnings" data-seqnotes-key="${ee(u)}">`;for(let f of a)c+=`<p data-seqnotes-jump="${f.line}">${ee(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(n.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(n.slice(u.fenceIndex,u.fenceIndex+1))}</div>`,c+=`<div class="seqnotes-overview-col">${s(n.slice(u.fenceIndex+1,u.rangeEnd))}</div>`,c+=`</div>
|
|
50
|
+
`,l=u.rangeEnd);return c+=s(n.slice(l)),c}var df={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 us(e){return df[e.split(".").pop()?.toLowerCase()??""]}var ff=/^[a-z][a-z0-9+.-]*:/i;function gf(e){try{return decodeURIComponent(e)}catch{return e}}var pf=e=>ff.test(e)||e.startsWith("//")||e.startsWith("#");function ds(e){let[n]=e.split(/[?#]/,1);return gf(n)}function Ct(e){return e[0]?.type==="front_matter"?st(e[0].content):[]}function fs(e,n){let t=Ze(Ct(e),"title")?.trim();if(t)return t;let r=e.findIndex(i=>i.type==="heading_open"&&i.tag==="h1");return r>=0&&qe(e[r+1]).trim()||n}function gs(e){return`${e.replace(/\.(md|markdown)$/i,"")}.html`}var ps="seqnotes-export-resource:",hf=new RegExp(`${ps}(\\d+)`,"g");async function hs(e,n,t,r){let i=[],o=ls(e,n,{...t,forExport:!0,resolveResource:s=>pf(s)?s:(i.push(s),`${ps}${i.length-1}`)}),a=await Promise.all(i.map(async s=>{let c=await r(s),l=/[?#].*$/s.exec(s)?.[0]??"";return c.startsWith("data:")?c:c+l}));return o.replace(hf,(s,c)=>ee(a[Number(c)]))}function ms(e){return e.replace(/\n?(?:\/\/# sourceMappingURL=.*|\/\*# sourceMappingURL=.*\*\/)\s*$/,"")}function Nt({lang:e,title:n,body:t,styles:r,script:i,settings:o}){let a=["seqnotes-export",...o.limitContentWidth?["seqnotes-limit-width"]:[],...o.stickyTableHeader?["seqnotes-sticky-table-header"]:[],...o.tableTreeHighlight?["seqnotes-table-tree-highlight"]:[]],s=Number.isFinite(Number(o.splitMinWidth))?Number(o.splitMinWidth):1e3;return`<!DOCTYPE html>
|
|
51
|
+
<html lang="${ee(e)}">
|
|
52
52
|
<head>
|
|
53
53
|
<meta charset="UTF-8">
|
|
54
54
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
55
|
-
<title>${
|
|
55
|
+
<title>${ee(n)}</title>
|
|
56
56
|
<style>
|
|
57
57
|
${r.join(`
|
|
58
58
|
`).replace(/<\/style/gi,"<\\/style")}
|
|
59
59
|
</style>
|
|
60
60
|
</head>
|
|
61
61
|
<body data-seqnotes-theme="light" class="${a.join(" ")}" data-seqnotes-split-min-width="${s}">
|
|
62
|
-
<div id="seqnotes-root">${
|
|
62
|
+
<div id="seqnotes-root">${t}</div>
|
|
63
63
|
<script>
|
|
64
64
|
${i.replace(/<\/script/gi,"<\\/script")}
|
|
65
65
|
</script>
|
|
66
66
|
</body>
|
|
67
67
|
</html>
|
|
68
|
-
`}var
|
|
68
|
+
`}var Tt=`Usage: md-design-doc export <file|folder>... [options]
|
|
69
69
|
|
|
70
70
|
Exports Markdown design docs to single HTML files, like the "Export Design Doc as HTML" command.
|
|
71
71
|
Folders are searched for *.md and *.markdown files (except in node_modules and folders starting with a dot).
|
|
@@ -82,28 +82,45 @@ Options:
|
|
|
82
82
|
--no-heading-numbers Do not show the arrow numbers (autonumber) on the linked headings.
|
|
83
83
|
--no-front-matter Hide the YAML front matter.
|
|
84
84
|
--no-sticky-table-header Do not keep the header row of long tables at the top.
|
|
85
|
+
--no-table-tree-highlight
|
|
86
|
+
Do not highlight the parents and children of the row under the pointer in the
|
|
87
|
+
tables shown as trees.
|
|
85
88
|
--chrome <path> Chrome or Chromium to render the diagrams with. Default: $CHROME_PATH, a Chromium of
|
|
86
89
|
the Playwright cache, or the Google Chrome installed on the system.
|
|
87
|
-
--strict Fail when a document has a
|
|
90
|
+
--strict Fail when a document has a warning (a broken @ref, a misplaced marker, or table
|
|
91
|
+
options that cannot be applied).
|
|
92
|
+
--index Also write index.html, a list of the exported documents, in --out-dir.
|
|
93
|
+
--index-title <title> Title of index.html. Default: "Design Docs" in --lang.
|
|
94
|
+
--index-design-docs List only the design docs (type: design_doc in their front matter) in index.html.
|
|
88
95
|
-h, --help Show this help.
|
|
89
96
|
-v, --version Show the version.
|
|
90
97
|
|
|
91
|
-
Exit status: 0 when all the files were exported, 1 when one failed (or with --strict, had a
|
|
92
|
-
2 for a wrong command line.`,
|
|
98
|
+
Exit status: 0 when all the files were exported, 1 when one failed (or with --strict, had a warning),
|
|
99
|
+
2 for a wrong command line.`,ne=class extends Error{};function _s(e,n){let t;try{t=(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"},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 ne(l instanceof Error?l.message:String(l))}let{values:r,positionals:i}=t;if(r.help)return{command:"help"};if(r.version)return{command:"version"};let[o,...a]=i;if(o===void 0)throw new ne("No command given.");if(o!=="export")throw new ne(`Unknown command: ${o}`);if(a.length===0)throw new ne("No file or folder to export.");let s=r["diagram-look"]??"neo";if(s!=="neo"&&s!=="classic")throw new ne(`--diagram-look must be neo or classic: ${s}`);let c=Number(r["split-min-width"]??1e3);if(!Number.isFinite(c)||c<0)throw new ne(`--split-min-width must be a number of pixels: ${r["split-min-width"]}`);if(r.index&&r["out-dir"]===void 0)throw new ne("--index requires --out-dir.");if(r["index-title"]!==void 0&&!r.index)throw new ne("--index-title requires --index.");if(r["index-design-docs"]&&!r.index)throw new ne("--index-design-docs requires --index.");return{command:"export",inputs:a.map(l=>(0,j.resolve)(n,l)),outDir:r["out-dir"]===void 0?void 0:(0,j.resolve)(n,r["out-dir"]),root:(0,j.resolve)(n,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,j.resolve)(n,r.chrome),strict:r.strict??!1,index:r.index??!1,indexTitle:r["index-title"],indexDesignDocs:r["index-design-docs"]??!1}}var mf=new Set([".md",".markdown"]);function bf(e){return mf.has((0,j.extname)(e).toLowerCase())}function Es(e,n=new Set){let t=(0,Se.realpathSync)(e);if(n.has(t))return[];n.add(t);let r=[];for(let i of(0,Se.readdirSync)(e,{withFileTypes:!0}).sort((o,a)=>o.name.localeCompare(a.name))){let o=(0,j.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(...Es(o,n)):a.isFile()&&bf(i.name)&&r.push(o)}return r}function ks(e){let n=new Set;for(let t of e){let r;try{r=(0,Se.statSync)(t)}catch{throw new ne(`No such file or folder: ${t}`)}for(let i of r.isDirectory()?Es(t):[t])n.add(i)}return[...n]}function On(e,n){let t=(0,j.relative)(n,e);return t===""||t!==".."&&!t.startsWith(`..${j.sep}`)&&!(0,j.isAbsolute)(t)}function ws(e,n,t){let r=gs((0,j.basename)(e));return n===void 0?(0,j.join)((0,j.dirname)(e),r):On(e,t)?(0,j.join)(n,(0,j.dirname)((0,j.relative)(t,e)),r):(0,j.join)(n,r)}function xs(e){return(0,j.join)(e,"index.html")}function vs(e,n,t,r=!0){let i=e.parse(n,{}),o=Ct(i),a={};for(let{key:s}of r?We:[]){let c=Ze(o,s)?.trim();c!==void 0&&(a[s]=c)}return{title:fs(i,t),meta:a,designDoc:at(o)}}function _f(e,n){let t=e===""?[]:e.split("/"),r=n===""?[]:n.split("/");for(let i=0;i<Math.min(t.length,r.length);i++){let o=t[i].localeCompare(r[i]);if(o!==0)return o}return t.length-r.length}function Ef(e){return[...new Set(e.map(t=>t.folder))].sort(_f).map(t=>({folder:t,entries:e.filter(r=>r.folder===t).sort((r,i)=>r.file.localeCompare(i.file))}))}function Rs(e,n,t,r=""){let i=We.filter(({key:f})=>n.some(p=>f in p.meta)),o="<thead><tr>"+[{key:"title",label:"Title"},{key:"file",label:"File"},...i].map(({key:f,label:p})=>`<th data-seqnotes-column="${f}">${ee(t(p))}</th>`).join("")+`</tr></thead>
|
|
100
|
+
`,a=f=>`<tr><td class="seqnotes-index-title"><a href="${ee(f.href)}">${ee(f.title)}</a></td><td class="seqnotes-index-file">${ee(f.file)}</td>`+i.map(({key:p})=>{let g=f.meta[p];return`<td class="seqnotes-index-${p}">${g===void 0?"":`<span>${ee(g)}</span>`}</td>`}).join("")+`</tr>
|
|
101
|
+
`,s=Ef(n).map(({folder:f,entries:p})=>(f===""?"":`<h2>${ee(f)}/</h2>
|
|
102
|
+
`)+`<table>
|
|
103
|
+
${o}<tbody>
|
|
104
|
+
${p.map(a).join("")}</tbody>
|
|
105
|
+
</table>
|
|
106
|
+
`),c={"filter-label":t("Filter"),"filter-placeholder":t("Filter by title, file name or metadata"),count:t("{0} of {1} documents"),"no-match":t("No documents match the filter."),"sort-title":t("Sort by this column")},l=Object.entries(c).map(([f,p])=>` data-seqnotes-${f}="${ee(p)}"`).join(""),u=n.length===0?`<p class="seqnotes-index-empty">${ee(r)}</p>
|
|
107
|
+
`:s.join("");return`<div class="seqnotes-index"${l}>
|
|
108
|
+
<h1>${ee(e)}</h1>
|
|
109
|
+
${u}</div>`}var Ln=require("node:fs"),As=require("node:os"),Ue=require("node:path"),rn=require("playwright-core");var ys=6e4;function kf(){let e=[];try{e.push(rn.chromium.executablePath())}catch{}let n=process.env.PLAYWRIGHT_BROWSERS_PATH??(0,Ue.join)((0,As.homedir)(),".cache/ms-playwright"),t=i=>Number(/^chromium(?:_headless_shell)?-(\d+)/.exec(i)?.[1]??0),r=(0,Ln.globSync)(["chromium-*/chrome-linux*/chrome","chromium_headless_shell-*/chrome-headless-shell-linux*/chrome-headless-shell"],{cwd:n});return e.push(...r.sort((i,o)=>t(o)-t(i)).map(i=>(0,Ue.join)(n,i))),e.find(i=>(0,Ln.existsSync)(i))}async function wf(e=process.env.CHROME_PATH||void 0){if(e)return rn.chromium.launch({executablePath:e});let n=kf();if(n)return rn.chromium.launch({executablePath:n});try{return await rn.chromium.launch({channel:"chrome"})}catch(t){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:t})}}function xf(e){return`let state;
|
|
93
110
|
window.acquireVsCodeApi = () => ({
|
|
94
111
|
getState: () => state,
|
|
95
112
|
setState: (s) => (state = s),
|
|
96
113
|
postMessage: (m) => window.${e}(m),
|
|
97
|
-
});`}var
|
|
98
|
-
<html lang="${
|
|
114
|
+
});`}var In=class e{constructor(n,t,r){this.browser=n;this.dist=t;this.lang=r}browser;dist;lang;nextId=0;pending=new Map;page;static async open(n,t){let r=await wf(t.chrome),i=new e(r,n,t.lang);try{await i.openPage()}catch(o){throw await r.close(),o}return i}async openPage(){let n=await this.browser.newPage(),t;try{let r,i=new Promise((o,a)=>{r=o,t=setTimeout(()=>a(new Error("The preview script did not start.")),ys),n.on("pageerror",s=>a(new Error(`The preview script failed: ${s.message}`)))});i.catch(()=>{}),await n.exposeFunction("mdDesignDocPost",o=>{o.type==="ready"?r():o.type==="exported"&&this.onExported(o)}),await n.setContent(`<!DOCTYPE html>
|
|
115
|
+
<html lang="${ee(this.lang)}">
|
|
99
116
|
<head><meta charset="UTF-8"></head>
|
|
100
117
|
<body class="vscode-light" data-seqnotes-theme="light">
|
|
101
118
|
<div id="seqnotes-root"></div>
|
|
102
|
-
<script>${
|
|
119
|
+
<script>${xf("mdDesignDocPost")}</script>
|
|
103
120
|
</body>
|
|
104
|
-
</html>`),await
|
|
121
|
+
</html>`),await n.addStyleTag({path:(0,Ue.join)(this.dist,"webview.css")}),await n.addStyleTag({path:(0,Ue.join)(this.dist,"export.css")}),await n.addScriptTag({path:(0,Ue.join)(this.dist,"webview.js")}),await i}catch(r){throw await n.close(),r}finally{clearTimeout(t)}this.page=n}render(n,t){let r=++this.nextId;return new Promise((i,o)=>{let a=setTimeout(()=>{this.pending.delete(r),this.page.close().then(()=>this.openPage()).then(()=>o(new Error("The diagrams were not rendered in time.")),u=>o(u instanceof Error?u:new Error(String(u))))},ys),s=l=>{clearTimeout(a),this.pending.delete(r),l()};this.pending.set(r,{resolve:l=>s(()=>i(l)),reject:l=>s(()=>o(l))});let c={type:"export",id:r,html:n,diagramLook:t};this.page.evaluate(l=>window.postMessage(l,"*"),c).catch(l=>this.pending.get(r)?.reject(l instanceof Error?l:new Error(String(l))))})}onExported(n){let t=this.pending.get(n.id);n.body!==void 0?t?.resolve({body:n.body,diagramErrors:n.diagramErrors??[]}):t?.reject(new Error(n.error??"The diagrams could not be rendered."))}close(){return this.browser.close()}};function Cs(e,n,t=le){let r=e.parse(n,{t}),{diagrams:i,warnings:o}=ln(r,t),a=[...o,...Mn(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:t(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&&ye(u.text)!=="")){let u=ye(l.text);a.push({line:l.line,message:t(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=ye(qe(r[l+1]));a.push({line:r[l].map?.[0]??0,message:t(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 Fn=__dirname,vf=(0,Z.join)(Fn,"..","l10n");function Rf(e){if(e==="en")return le;let n=(0,Z.join)(vf,`bundle.l10n.${e}.json`);if(!/^[a-z]{2,3}(?:-[a-z0-9]+)*$/i.test(e)||!(0,ie.existsSync)(n))throw new ne(`Unsupported language: ${e}`);return Ot(JSON.parse((0,ie.readFileSync)(n,"utf8")))}function ve(e,n=process.cwd()){return On(e,n)?(0,Z.relative)(n,e).split(Z.sep).join("/")||".":e}var yf=process.env.GITHUB_ACTIONS==="true",Af=process.env.GITHUB_WORKSPACE||process.cwd();function Ns(e,n=!1){let t=e.replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A");return n?t.replace(/:/g,"%3A").replace(/,/g,"%2C"):t}function St(e,n,t,r){if(yf){let i=[`file=${Ns(ve(n,Af),!0)}`,...r===void 0?[]:[`line=${r}`]].join(",");console.error(`::${e} ${i}::${Ns(t)}`)}else console.error(`${ve(n)}${r===void 0?"":`:${r}`}: ${e}: ${t}`)}function Ss(e,n){let t=(0,Z.relative)((0,Z.dirname)(e),n);return(0,Z.isAbsolute)(t)?(0,Ts.pathToFileURL)(n).href:t.split(Z.sep).map(encodeURIComponent).join("/")}function Cf(e,n,t,r){let i=ds(e),o=i.startsWith("/")?(0,Z.join)(r,i):(0,Z.resolve)((0,Z.dirname)(n),i);try{let a=(0,ie.realpathSync)(o),s=us(a);if(s&&[(0,Z.dirname)(n),r].some(c=>On(a,(0,ie.realpathSync)(c))))return`data:${s};base64,${(0,ie.readFileSync)(a).toString("base64")}`}catch{}return Ss(t,o)}async function Nf(e){let n=ks(e.inputs);if(n.length===0)throw new ne("No Markdown file found.");let t=n.map(g=>ws(g,e.outDir,e.root)),r=t.find((g,d)=>t.indexOf(g)!==d);if(r!==void 0)throw new ne(`Two documents would be exported to the same file: ${ve(r)}`);let i=e.index&&e.outDir!==void 0?xs(e.outDir):void 0;if(i!==void 0&&t.some(g=>g.toLowerCase()===i.toLowerCase()))throw new ne(`A document would be exported to the file of --index: ${ve(i)}`);let o=Rf(e.lang),a=cs(),s=g=>ms((0,ie.readFileSync)((0,Z.join)(Fn,g),"utf8")),c=[s("webview.css"),s("export.css")],l=s("export.js"),u=!0,f=[],p=await In.open(Fn,{lang:e.lang,chrome:e.chrome});try{for(let[g,d]of n.entries()){let m=t[g];try{let h=(0,ie.readFileSync)(d,"utf8");for(let R of Cs(a,h,o).filter(C=>C.severity==="warning"))St("warning",d,R.message,R.line+1),u&&=!e.strict;let _=await hs(a,h,{t:o,frontMatter:e.frontMatter,headingNumbers:e.headingNumbers},async R=>Cf(R,d,m,e.root)),{body:w,diagramErrors:k}=await p.render(_,e.diagramLook);for(let R of k)St("error",d,R),u=!1;let b=(0,Z.basename)(d),E=vs(a,h,b,e.frontMatter),v=Nt({lang:e.lang,title:E.title,body:w,styles:c,script:l,settings:e.settings});if((0,ie.mkdirSync)((0,Z.dirname)(m),{recursive:!0}),(0,ie.writeFileSync)(m,v),console.log(`${ve(d)} -> ${ve(m)}`),i!==void 0&&(E.designDoc||!e.indexDesignDocs)){let R=(0,Z.relative)((0,Z.dirname)(i),(0,Z.dirname)(m)).split(Z.sep).join("/");f.push({title:E.title,meta:E.meta,href:Ss(i,m),folder:R,file:b})}}catch(h){St("error",d,h instanceof Error?h.message:String(h)),u=!1}}}finally{await p.close()}if(i!==void 0&&f.length>0){let g=e.indexTitle||o("Design Docs");(0,ie.mkdirSync)((0,Z.dirname)(i),{recursive:!0}),(0,ie.writeFileSync)(i,Nt({lang:e.lang,title:g,body:Rs(g,f,o),styles:c,script:l,settings:e.settings})),console.log(`-> ${ve(i)}`)}else i!==void 0&&e.indexDesignDocs&&console.error(`No design doc (type: design_doc) was exported: ${ve(i)} is not written.`);return u}async function Tf(e){try{let n=_s(e,process.cwd());switch(n.command){case"help":return console.log(Tt),0;case"version":return console.log(JSON.parse((0,ie.readFileSync)((0,Z.join)(Fn,"..","package.json"),"utf8")).version),0;case"export":return await Nf(n)?0:1}}catch(n){return n instanceof ne?(console.error(`md-design-doc: ${n.message}
|
|
105
122
|
|
|
106
|
-
${
|
|
123
|
+
${Tt}`),2):(console.error(`md-design-doc: ${n instanceof Error?n.message:String(n)}`),1)}}Tf(process.argv.slice(2)).then(e=>{process.exitCode=e});
|
|
107
124
|
/*! Bundled license information:
|
|
108
125
|
|
|
109
126
|
markdown-it/dist/markdown-it.mjs:
|