UNPKG

five-server

Version:

Development Server with Live Reload Capability. (Maintained Fork of Live Server)

575 lines 136 kB
/* Highlight.js 10.7.2 (00233d63) License: BSD-3-Clause Copyright (c) 2006-2021, Ivan Sagalaev */ var hljs=function(){"use strict";function e(t){ return t instanceof Map?t.clear=t.delete=t.set=()=>{ throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=()=>{ throw Error("set is read-only") }),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{var i=t[n] ;"object"!=typeof i||Object.isFrozen(i)||e(i)})),t}var t=e,n=e;t.default=n ;class i{constructor(e){ void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1} ignoreMatch(){this.isMatchIgnored=!0}}function s(e){ return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;") }function a(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t] ;return t.forEach((e=>{for(const t in e)n[t]=e[t]})),n}const r=e=>!!e.kind ;class l{constructor(e,t){ this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){ this.buffer+=s(e)}openNode(e){if(!r(e))return;let t=e.kind ;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){ r(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){ this.buffer+=`<span class="${e}">`}}class o{constructor(){this.rootNode={ children:[]},this.stack=[this.rootNode]}get top(){ return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){ this.top.children.push(e)}openNode(e){const t={kind:e,children:[]} ;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(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){ return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t), t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){ "string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{ o._collapse(e)})))}}class c extends o{constructor(e){super(),this.options=e} addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())} addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root ;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){ return new l(this,this.options).value()}finalize(){return!0}}function g(e){ return e?"string"==typeof e?e:e.source:null} const u=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,h="[a-zA-Z]\\w*",d="[a-zA-Z_]\\w*",f="\\b\\d+(\\.\\d+)?",p="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",m="\\b(0b[01]+)",b={ begin:"\\\\[\\s\\S]",relevance:0},E={className:"string",begin:"'",end:"'", illegal:"\\n",contains:[b]},x={className:"string",begin:'"',end:'"', illegal:"\\n",contains:[b]},v={ 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/ },w=(e,t,n={})=>{const i=a({className:"comment",begin:e,end:t,contains:[]},n) ;return i.contains.push(v),i.contains.push({className:"doctag", begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),i },y=w("//","$"),N=w("/\\*","\\*/"),R=w("#","$");var _=Object.freeze({ __proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:h,UNDERSCORE_IDENT_RE:d, NUMBER_RE:f,C_NUMBER_RE:p,BINARY_NUMBER_RE:m, RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", SHEBANG:(e={})=>{const t=/^#![ ]*\// ;return e.binary&&(e.begin=((...e)=>e.map((e=>g(e))).join(""))(t,/.*\b/,e.binary,/\b.*/)), a({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{ 0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:b,APOS_STRING_MODE:E, QUOTE_STRING_MODE:x,PHRASAL_WORDS_MODE:v,COMMENT:w,C_LINE_COMMENT_MODE:y, C_BLOCK_COMMENT_MODE:N,HASH_COMMENT_MODE:R,NUMBER_MODE:{className:"number", begin:f,relevance:0},C_NUMBER_MODE:{className:"number",begin:p,relevance:0}, BINARY_NUMBER_MODE:{className:"number",begin:m,relevance:0},CSS_NUMBER_MODE:{ className:"number", begin:f+"(%|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},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp", begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[b,{begin:/\[/,end:/\]/, relevance:0,contains:[b]}]}]},TITLE_MODE:{className:"title",begin:h,relevance:0 },UNDERSCORE_TITLE_MODE:{className:"title",begin:d,relevance:0},METHOD_GUARD:{ begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:e=>Object.assign(e,{ "on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{ t.data._beginMatch!==e[1]&&t.ignoreMatch()}})});function k(e,t){ "."===e.input[e.index-1]&&t.ignoreMatch()}function M(e,t){ t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)", e.__beforeBegin=k,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords, void 0===e.relevance&&(e.relevance=0))}function O(e,t){ Array.isArray(e.illegal)&&(e.illegal=((...e)=>"("+e.map((e=>g(e))).join("|")+")")(...e.illegal)) }function A(e,t){if(e.match){ if(e.begin||e.end)throw Error("begin & end are not supported with match") ;e.begin=e.match,delete e.match}}function L(e,t){ void 0===e.relevance&&(e.relevance=1)} const I=["of","and","for","in","not","or","if","then","parent","list","value"] ;function j(e,t,n="keyword"){const i={} ;return"string"==typeof e?s(n,e.split(" ")):Array.isArray(e)?s(n,e):Object.keys(e).forEach((n=>{ Object.assign(i,j(e[n],t,n))})),i;function s(e,n){ t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((t=>{const n=t.split("|") ;i[n[0]]=[e,B(n[0],n[1])]}))}}function B(e,t){ return t?Number(t):(e=>I.includes(e.toLowerCase()))(e)?0:1} function T(e,{plugins:t}){function n(t,n){ return RegExp(g(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}class i{ constructor(){ this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0} addRule(e,t){ t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]), this.matchAt+=(e=>RegExp(e.toString()+"|").exec("").length-1)(e)+1}compile(){ 0===this.regexes.length&&(this.exec=()=>null) ;const e=this.regexes.map((e=>e[1]));this.matcherRe=n(((e,t="|")=>{let n=0 ;return e.map((e=>{n+=1;const t=n;let i=g(e),s="";for(;i.length>0;){ const e=u.exec(i);if(!e){s+=i;break} s+=i.substring(0,e.index),i=i.substring(e.index+e[0].length), "\\"===e[0][0]&&e[1]?s+="\\"+(Number(e[1])+t):(s+=e[0],"("===e[0]&&n++)}return s })).map((e=>`(${e})`)).join(t)})(e),!0),this.lastIndex=0}exec(e){ this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e) ;if(!t)return null ;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),i=this.matchIndexes[n] ;return t.splice(0,n),Object.assign(t,i)}}class s{constructor(){ this.rules=[],this.multiRegexes=[], this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){ if(this.multiRegexes[e])return this.multiRegexes[e];const t=new i ;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))), t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){ return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){ this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){ const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex ;let n=t.exec(e) ;if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{ const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)} return n&&(this.regexIndex+=n.position+1, this.regexIndex===this.count&&this.considerAll()),n}} if(e.compilerExtensions||(e.compilerExtensions=[]), e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.") ;return e.classNameAliases=a(e.classNameAliases||{}),function t(i,r){const l=i ;if(i.isCompiled)return l ;[A].forEach((e=>e(i,r))),e.compilerExtensions.forEach((e=>e(i,r))), i.__beforeBegin=null,[M,O,L].forEach((e=>e(i,r))),i.isCompiled=!0;let o=null ;if("object"==typeof i.keywords&&(o=i.keywords.$pattern, delete i.keywords.$pattern), i.keywords&&(i.keywords=j(i.keywords,e.case_insensitive)), i.lexemes&&o)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ") ;return o=o||i.lexemes||/\w+/, l.keywordPatternRe=n(o,!0),r&&(i.begin||(i.begin=/\B|\b/), l.beginRe=n(i.begin),i.endSameAsBegin&&(i.end=i.begin), i.end||i.endsWithParent||(i.end=/\B|\b/), i.end&&(l.endRe=n(i.end)),l.terminatorEnd=g(i.end)||"", i.endsWithParent&&r.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+r.terminatorEnd)), i.illegal&&(l.illegalRe=n(i.illegal)), i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map((e=>(e=>(e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((t=>a(e,{ variants:null},t)))),e.cachedVariants?e.cachedVariants:S(e)?a(e,{ starts:e.starts?a(e.starts):null }):Object.isFrozen(e)?a(e):e))("self"===e?i:e)))),i.contains.forEach((e=>{t(e,l) })),i.starts&&t(i.starts,r),l.matcher=(e=>{const t=new s ;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin" }))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end" }),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t})(l),l}(e)}function S(e){ return!!e&&(e.endsWithParent||S(e.starts))}function P(e){const t={ props:["language","code","autodetect"],data:()=>({detectedLanguage:"", unknownLanguage:!1}),computed:{className(){ return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){ if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`), this.unknownLanguage=!0,s(this.code);let t={} ;return this.autoDetect?(t=e.highlightAuto(this.code), this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals), this.detectedLanguage=this.language),t.value},autoDetect(){ return!(this.language&&(e=this.autodetect,!e&&""!==e));var e}, ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{ class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{ Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}const D={ "after:highlightElement":({el:e,result:t,text:n})=>{const i=H(e) ;if(!i.length)return;const a=document.createElement("div") ;a.innerHTML=t.value,t.value=((e,t,n)=>{let i=0,a="";const r=[];function l(){ return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t }function o(e){a+="<"+C(e)+[].map.call(e.attributes,(function(e){ return" "+e.nodeName+'="'+s(e.value)+'"'})).join("")+">"}function c(e){ a+="</"+C(e)+">"}function g(e){("start"===e.event?o:c)(e.node)} for(;e.length||t.length;){let t=l() ;if(a+=s(n.substring(i,t[0].offset)),i=t[0].offset,t===e){r.reverse().forEach(c) ;do{g(t.splice(0,1)[0]),t=l()}while(t===e&&t.length&&t[0].offset===i) ;r.reverse().forEach(o) }else"start"===t[0].event?r.push(t[0].node):r.pop(),g(t.splice(0,1)[0])} return a+s(n.substr(i))})(i,H(a),n)}};function C(e){ return e.nodeName.toLowerCase()}function H(e){const t=[];return function e(n,i){ for(let s=n.firstChild;s;s=s.nextSibling)3===s.nodeType?i+=s.nodeValue.length:1===s.nodeType&&(t.push({ event:"start",offset:i,node:s}),i=e(s,i),C(s).match(/br|hr|img|input/)||t.push({ event:"stop",offset:i,node:s}));return i}(e,0),t}const $={},U=e=>{ console.error(e)},z=(e,...t)=>{console.log("WARN: "+e,...t)},K=(e,t)=>{ $[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),$[`${e}/${t}`]=!0) },G=s,V=a,W=Symbol("nomatch");return(e=>{ const n=Object.create(null),s=Object.create(null),a=[];let r=!0 ;const l=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",g={ disableAutodetect:!0,name:"Plain text",contains:[]};let u={ noHighlightRe:/^(no-?highlight)$/i, languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-", tabReplace:null,useBR:!1,languages:null,__emitter:c};function h(e){ return u.noHighlightRe.test(e)}function d(e,t,n,i){let s="",a="" ;"object"==typeof t?(s=e, n=t.ignoreIllegals,a=t.language,i=void 0):(K("10.7.0","highlight(lang, code, ...args) has been deprecated."), K("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"), a=e,s=t);const r={code:s,language:a};M("before:highlight",r) ;const l=r.result?r.result:f(r.language,r.code,n,i) ;return l.code=r.code,M("after:highlight",l),l}function f(e,t,s,l){ function c(e,t){const n=v.case_insensitive?t[0].toLowerCase():t[0] ;return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]} function g(){null!=R.subLanguage?(()=>{if(""===M)return;let e=null ;if("string"==typeof R.subLanguage){ if(!n[R.subLanguage])return void k.addText(M) ;e=f(R.subLanguage,M,!0,_[R.subLanguage]),_[R.subLanguage]=e.top }else e=p(M,R.subLanguage.length?R.subLanguage:null) ;R.relevance>0&&(O+=e.relevance),k.addSublanguage(e.emitter,e.language) })():(()=>{if(!R.keywords)return void k.addText(M);let e=0 ;R.keywordPatternRe.lastIndex=0;let t=R.keywordPatternRe.exec(M),n="";for(;t;){ n+=M.substring(e,t.index);const i=c(R,t);if(i){const[e,s]=i ;if(k.addText(n),n="",O+=s,e.startsWith("_"))n+=t[0];else{ const n=v.classNameAliases[e]||e;k.addKeyword(t[0],n)}}else n+=t[0] ;e=R.keywordPatternRe.lastIndex,t=R.keywordPatternRe.exec(M)} n+=M.substr(e),k.addText(n)})(),M=""}function h(e){ return e.className&&k.openNode(v.classNameAliases[e.className]||e.className), R=Object.create(e,{parent:{value:R}}),R}function d(e,t,n){let s=((e,t)=>{ const n=e&&e.exec(t);return n&&0===n.index})(e.endRe,n);if(s){if(e["on:end"]){ const n=new i(e);e["on:end"](t,n),n.isMatchIgnored&&(s=!1)}if(s){ for(;e.endsParent&&e.parent;)e=e.parent;return e}} if(e.endsWithParent)return d(e.parent,t,n)}function m(e){ return 0===R.matcher.regexIndex?(M+=e[0],1):(I=!0,0)}function b(e){ const n=e[0],i=t.substr(e.index),s=d(R,e,i);if(!s)return W;const a=R ;a.skip?M+=n:(a.returnEnd||a.excludeEnd||(M+=n),g(),a.excludeEnd&&(M=n));do{ R.className&&k.closeNode(),R.skip||R.subLanguage||(O+=R.relevance),R=R.parent }while(R!==s.parent) ;return s.starts&&(s.endSameAsBegin&&(s.starts.endRe=s.endRe), h(s.starts)),a.returnEnd?0:n.length}let E={};function x(n,a){const l=a&&a[0] ;if(M+=n,null==l)return g(),0 ;if("begin"===E.type&&"end"===a.type&&E.index===a.index&&""===l){ if(M+=t.slice(a.index,a.index+1),!r){const t=Error("0 width match regex") ;throw t.languageName=e,t.badRule=E.rule,t}return 1} if(E=a,"begin"===a.type)return function(e){ const t=e[0],n=e.rule,s=new i(n),a=[n.__beforeBegin,n["on:begin"]] ;for(const n of a)if(n&&(n(e,s),s.isMatchIgnored))return m(t) ;return n&&n.endSameAsBegin&&(n.endRe=RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")), n.skip?M+=t:(n.excludeBegin&&(M+=t), g(),n.returnBegin||n.excludeBegin||(M=t)),h(n),n.returnBegin?0:t.length}(a) ;if("illegal"===a.type&&!s){ const e=Error('Illegal lexeme "'+l+'" for mode "'+(R.className||"<unnamed>")+'"') ;throw e.mode=R,e}if("end"===a.type){const e=b(a);if(e!==W)return e} if("illegal"===a.type&&""===l)return 1 ;if(L>1e5&&L>3*a.index)throw Error("potential infinite loop, way more iterations than matches") ;return M+=l,l.length}const v=N(e) ;if(!v)throw U(o.replace("{}",e)),Error('Unknown language: "'+e+'"') ;const w=T(v,{plugins:a});let y="",R=l||w;const _={},k=new u.__emitter(u);(()=>{ const e=[];for(let t=R;t!==v;t=t.parent)t.className&&e.unshift(t.className) ;e.forEach((e=>k.openNode(e)))})();let M="",O=0,A=0,L=0,I=!1;try{ for(R.matcher.considerAll();;){ L++,I?I=!1:R.matcher.considerAll(),R.matcher.lastIndex=A ;const e=R.matcher.exec(t);if(!e)break;const n=x(t.substring(A,e.index),e) ;A=e.index+n}return x(t.substr(A)),k.closeAllNodes(),k.finalize(),y=k.toHTML(),{ relevance:Math.floor(O),value:y,language:e,illegal:!1,emitter:k,top:R}}catch(n){ if(n.message&&n.message.includes("Illegal"))return{illegal:!0,illegalBy:{ msg:n.message,context:t.slice(A-100,A+100),mode:n.mode},sofar:y,relevance:0, value:G(t),emitter:k};if(r)return{illegal:!1,relevance:0,value:G(t),emitter:k, language:e,top:R,errorRaised:n};throw n}}function p(e,t){ t=t||u.languages||Object.keys(n);const i=(e=>{const t={relevance:0, emitter:new u.__emitter(u),value:G(e),illegal:!1,top:g} ;return t.emitter.addText(e),t})(e),s=t.filter(N).filter(k).map((t=>f(t,e,!1))) ;s.unshift(i);const a=s.sort(((e,t)=>{ if(e.relevance!==t.relevance)return t.relevance-e.relevance ;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1 ;if(N(t.language).supersetOf===e.language)return-1}return 0})),[r,l]=a,o=r ;return o.second_best=l,o}const m={"before:highlightElement":({el:e})=>{ u.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n")) },"after:highlightElement":({result:e})=>{ u.useBR&&(e.value=e.value.replace(/\n/g,"<br>"))}},b=/^(<[^>]+>|\t)+/gm,E={ "after:highlightElement":({result:e})=>{ u.tabReplace&&(e.value=e.value.replace(b,(e=>e.replace(/\t/g,u.tabReplace))))}} ;function x(e){let t=null;const n=(e=>{let t=e.className+" " ;t+=e.parentNode?e.parentNode.className:"";const n=u.languageDetectRe.exec(t) ;if(n){const t=N(n[1]) ;return t||(z(o.replace("{}",n[1])),z("Falling back to no-highlight mode for this block.",e)), t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>h(e)||N(e)))})(e) ;if(h(n))return;M("before:highlightElement",{el:e,language:n}),t=e ;const i=t.textContent,a=n?d(i,{language:n,ignoreIllegals:!0}):p(i) ;M("after:highlightElement",{el:e,result:a,text:i }),e.innerHTML=a.value,((e,t,n)=>{const i=t?s[t]:n ;e.classList.add("hljs"),i&&e.classList.add(i)})(e,n,a.language),e.result={ language:a.language,re:a.relevance,relavance:a.relevance },a.second_best&&(e.second_best={language:a.second_best.language, re:a.second_best.relevance,relavance:a.second_best.relevance})}const v=()=>{ v.called||(v.called=!0, K("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(x))};let w=!1;function y(){ "loading"!==document.readyState?document.querySelectorAll("pre code").forEach(x):w=!0 }function N(e){return e=(e||"").toLowerCase(),n[e]||n[s[e]]} function R(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{ s[e.toLowerCase()]=t}))}function k(e){const t=N(e) ;return t&&!t.disableAutodetect}function M(e,t){const n=e;a.forEach((e=>{ e[n]&&e[n](t)}))} "undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(()=>{ w&&y()}),!1),Object.assign(e,{highlight:d,highlightAuto:p,highlightAll:y, fixMarkup:e=>{ return K("10.2.0","fixMarkup will be removed entirely in v11.0"),K("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"), t=e, u.tabReplace||u.useBR?t.replace(l,(e=>"\n"===e?u.useBR?"<br>":e:u.tabReplace?e.replace(/\t/g,u.tabReplace):e)):t ;var t},highlightElement:x, highlightBlock:e=>(K("10.7.0","highlightBlock will be removed entirely in v12.0"), K("10.7.0","Please use highlightElement now."),x(e)),configure:e=>{ e.useBR&&(K("10.3.0","'useBR' will be removed entirely in v11.0"), K("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")), u=V(u,e)},initHighlighting:v,initHighlightingOnLoad:()=>{ K("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."), w=!0},registerLanguage:(t,i)=>{let s=null;try{s=i(e)}catch(e){ if(U("Language definition for '{}' could not be registered.".replace("{}",t)), !r)throw e;U(e),s=g} s.name||(s.name=t),n[t]=s,s.rawDefinition=i.bind(null,e),s.aliases&&R(s.aliases,{ languageName:t})},unregisterLanguage:e=>{delete n[e] ;for(const t of Object.keys(s))s[t]===e&&delete s[t]}, listLanguages:()=>Object.keys(n),getLanguage:N,registerAliases:R, requireLanguage:e=>{ K("10.4.0","requireLanguage will be removed entirely in v11."), K("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844") ;const t=N(e);if(t)return t ;throw Error("The '{}' language is required, but not loaded.".replace("{}",e))}, autoDetection:k,inherit:V,addPlugin:e=>{(e=>{ e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{ e["before:highlightBlock"](Object.assign({block:t.el},t)) }),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{ e["after:highlightBlock"](Object.assign({block:t.el},t))})})(e),a.push(e)}, vuePlugin:P(e).VuePlugin}),e.debugMode=()=>{r=!1},e.safeMode=()=>{r=!0 },e.versionString="10.7.2";for(const e in _)"object"==typeof _[e]&&t(_[e]) ;return Object.assign(e,_),e.addPlugin(m),e.addPlugin(D),e.addPlugin(E),e})({}) }();"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs); hljs.registerLanguage("apache",(()=>{"use strict";return e=>{const n={ className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/} ;return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0, contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/, contains:[n,{className:"number",begin:/:\d{1,5}/ },e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute", begin:/\w+/,relevance:0,keywords:{ nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername" },starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"}, contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable", begin:/[\$%]\{/,end:/\}/,contains:["self",{className:"number",begin:/[$%]\d+/}] },n,{className:"number",begin:/\d+/},e.QUOTE_STRING_MODE]}}],illegal:/\S/}} })()); hljs.registerLanguage("bash",(()=>{"use strict";function e(...e){ return e.map((e=>{return(s=e)?"string"==typeof s?s:s.source:null;var s })).join("")}return s=>{const n={},t={begin:/\$\{/,end:/\}/,contains:["self",{ begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{ begin:e(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},t]});const a={ className:"subst",begin:/\$\(/,end:/\)/,contains:[s.BACKSLASH_ESCAPE]},i={ begin:/<<-?\s*(?=\w+)/,starts:{contains:[s.END_SAME_AS_BEGIN({begin:/(\w+)/, end:/(\w+)/,className:"string"})]}},c={className:"string",begin:/"/,end:/"/, contains:[s.BACKSLASH_ESCAPE,n,a]};a.contains.push(c);const o={begin:/\$\(\(/, end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},s.NUMBER_MODE,n] },r=s.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10 }),l={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0, contains:[s.inherit(s.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{ name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/, keyword:"if then else elif fi for while in do done case esac function", literal:"true false", built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt 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" },contains:[r,s.SHEBANG(),l,o,s.HASH_COMMENT_MODE,i,c,{className:"",begin:/\\"/ },{className:"string",begin:/'/,end:/'/},n]}}})()); hljs.registerLanguage("c",(()=>{"use strict";function e(e){ return((...e)=>e.map((e=>(e=>e?"string"==typeof e?e:e.source:null)(e))).join(""))("(",e,")?") }return t=>{const n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}] }),r="[a-zA-Z_]\\w*::",a="(decltype\\(auto\\)|"+e(r)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",i={ className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string", variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n", contains:[t.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:"."},t.END_SAME_AS_BEGIN({ begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},o={ className:"number",variants:[{begin:"\\b(0b[01']+)"},{ begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)" },{ begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" }],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{ "meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include" },contains:[{begin:/\\\n/,relevance:0},t.inherit(s,{className:"meta-string"}),{ className:"meta-string",begin:/<.*?>/},n,t.C_BLOCK_COMMENT_MODE]},l={ className:"title",begin:e(r)+t.IDENT_RE,relevance:0 },d=e(r)+t.IDENT_RE+"\\s*\\(",u={ keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq", 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 _Bool complex _Complex imaginary _Imaginary", literal:"true false nullptr NULL"},m=[c,i,n,t.C_BLOCK_COMMENT_MODE,o,s],p={ variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{ beginKeywords:"new throw return else",end:/;/}],keywords:u,contains:m.concat([{ begin:/\(/,end:/\)/,keywords:u,contains:m.concat(["self"]),relevance:0}]), relevance:0},_={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d, returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:u,illegal:/[^\w\s\*&:<>.]/, contains:[{begin:"decltype\\(auto\\)",keywords:u,relevance:0},{begin:d, returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/, end:/\)/,keywords:u,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,s,o,i,{ begin:/\(/,end:/\)/,keywords:u,relevance:0, contains:["self",n,t.C_BLOCK_COMMENT_MODE,s,o,i]}] },i,n,t.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:u, disableAutodetect:!0,illegal:"</",contains:[].concat(p,_,m,[c,{ begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<", end:">",keywords:u,contains:["self",i]},{begin:t.IDENT_RE+"::",keywords:u},{ className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/, contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{ preprocessor:c,strings:s,keywords:u}}}})()); hljs.registerLanguage("coffeescript",(()=>{"use strict" ;const e=["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"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]) ;return r=>{const t={ keyword:e.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((i=["var","const","let","function","static"], e=>!i.includes(e))),literal:n.concat(["yes","no","on","off"]), built_in:a.concat(["npm","print"])};var i;const s="[A-Za-z$_][0-9A-Za-z$_]*",o={ className:"subst",begin:/#\{/,end:/\}/,keywords:t },c=[r.BINARY_NUMBER_MODE,r.inherit(r.C_NUMBER_MODE,{starts:{end:"(\\s*/)?", relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/, contains:[r.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[r.BACKSLASH_ESCAPE] },{begin:/"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,o]},{begin:/"/,end:/"/, contains:[r.BACKSLASH_ESCAPE,o]}]},{className:"regexp",variants:[{begin:"///", end:"///",contains:[o,r.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)", relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+s },{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{ begin:"```",end:"```"},{begin:"`",end:"`"}]}];o.contains=c ;const l=r.inherit(r.TITLE_MODE,{begin:s}),d="(\\(.*\\)\\s*)?\\B[-=]>",g={ className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/, end:/\)/,keywords:t,contains:["self"].concat(c)}]};return{name:"CoffeeScript", aliases:["coffee","cson","iced"],keywords:t,illegal:/\/\*/, contains:c.concat([r.COMMENT("###","###"),r.HASH_COMMENT_MODE,{ className:"function",begin:"^\\s*"+s+"\\s*=\\s*"+d,end:"[-=]>",returnBegin:!0, contains:[l,g]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function", begin:d,end:"[-=]>",returnBegin:!0,contains:[g]}]},{className:"class", beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{ beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[l]},l] },{begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}})()); hljs.registerLanguage("cpp",(()=>{"use strict";function e(e){ return t("(",e,")?")}function t(...e){return e.map((e=>{ return(t=e)?"string"==typeof t?t:t.source:null;var t})).join("")}return n=>{ const r=n.COMMENT("//","$",{contains:[{begin:/\\\n/}] }),a="[a-zA-Z_]\\w*::",i="(decltype\\(auto\\)|"+e(a)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",s={ className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string", variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n", contains:[n.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:"."},n.END_SAME_AS_BEGIN({ begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},o={ className:"number",variants:[{begin:"\\b(0b[01']+)"},{ begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)" },{ begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" }],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{ "meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include" },contains:[{begin:/\\\n/,relevance:0},n.inherit(c,{className:"meta-string"}),{ className:"meta-string",begin:/<.*?>/},r,n.C_BLOCK_COMMENT_MODE]},d={ className:"title",begin:e(a)+n.IDENT_RE,relevance:0 },u=e(a)+n.IDENT_RE+"\\s*\\(",m={ keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq", built_in:"_Bool _Complex _Imaginary", _relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","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","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"], literal:"true false nullptr NULL"},p={className:"function.dispatch",relevance:0, keywords:m, begin:t(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,n.IDENT_RE,(_=/\s*\(/, t("(?=",_,")")))};var _;const g=[p,l,s,r,n.C_BLOCK_COMMENT_MODE,o,c],b={ variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{ beginKeywords:"new throw return else",end:/;/}],keywords:m,contains:g.concat([{ begin:/\(/,end:/\)/,keywords:m,contains:g.concat(["self"]),relevance:0}]), relevance:0},f={className:"function",begin:"("+i+"[\\*&\\s]+)+"+u, returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:m,illegal:/[^\w\s\*&:<>.]/, contains:[{begin:"decltype\\(auto\\)",keywords:m,relevance:0},{begin:u, returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/, endsWithParent:!0,contains:[c,o]},{className:"params",begin:/\(/,end:/\)/, keywords:m,relevance:0,contains:[r,n.C_BLOCK_COMMENT_MODE,c,o,s,{begin:/\(/, end:/\)/,keywords:m,relevance:0,contains:["self",r,n.C_BLOCK_COMMENT_MODE,c,o,s] }]},s,r,n.C_BLOCK_COMMENT_MODE,l]};return{name:"C++", aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:m,illegal:"</", classNameAliases:{"function.dispatch":"built_in"}, contains:[].concat(b,f,p,g,[l,{ begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<", end:">",keywords:m,contains:["self",s]},{begin:n.IDENT_RE+"::",keywords:m},{ className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/, contains:[{beginKeywords:"final class struct"},n.TITLE_MODE]}]),exports:{ preprocessor:l,strings:c,keywords:m}}}})()); hljs.registerLanguage("csharp",(()=>{"use strict";return e=>{const n={ keyword:["abstract","as","base","break","case","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","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]), built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"], literal:["default","false","null","true"]},a=e.inherit(e.TITLE_MODE,{ begin:"[a-zA-Z](\\.?\\w)*"}),i={className:"number",variants:[{ begin:"\\b(0b[01']+)"},{ begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{ begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" }],relevance:0},s={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}] },t=e.inherit(s,{illegal:/\n/}),r={className:"subst",begin:/\{/,end:/\}/, keywords:n},l=e.inherit(r,{illegal:/\n/}),c={className:"string",begin:/\$"/, end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/ },e.BACKSLASH_ESCAPE,l]},o={className:"string",begin:/\$@"/,end:'"',contains:[{ begin:/\{\{/},{begin:/\}\}/},{begin:'""'},r]},d=e.inherit(o,{illegal:/\n/, contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},l]}) ;r.contains=[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,e.C_BLOCK_COMMENT_MODE], l.contains=[d,c,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,e.inherit(e.C_BLOCK_COMMENT_MODE,{ illegal:/\n/})];const g={variants:[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE] },E={begin:"<",end:">",contains:[{beginKeywords:"in out"},a] },_=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",b={ begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"], keywords:n,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0, contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{ begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}] }),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#", end:"$",keywords:{ "meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum" }},g,i,{beginKeywords:"class interface",relevance:0,end:/[{;=]/, illegal:/[^\s:,]/,contains:[{beginKeywords:"where class" },a,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace", relevance:0,end:/[{;=]/,illegal:/[^\s:]/, contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{ beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/, contains:[a,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta", begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{ className:"meta-string",begin:/"/,end:/"/}]},{ beginKeywords:"new return throw await else",relevance:0},{className:"function", begin:"("+_+"\\s+)+"+e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0, end:/\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{ beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial", relevance:0},{begin:e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0, contains:[e.TITLE_MODE,E],relevance:0},{className:"params",begin:/\(/,end:/\)/, excludeBegin:!0,excludeEnd:!0,keywords:n,relevance:0, contains:[g,i,e.C_BLOCK_COMMENT_MODE] },e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},b]}}})()); hljs.registerLanguage("css",(()=>{"use strict" ;const e=["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","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],t=["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"],i=["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"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-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-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse() ;return n=>{const a=(e=>({IMPORTANT:{className:"meta",begin:"!important"}, HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"}, ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/, illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]} }))(n),l=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE];return{name:"CSS", case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"}, classNameAliases:{keyframePosition:"selector-tag"}, contains:[n.C_BLOCK_COMMENT_MODE,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/ },n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0 },{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0 },a.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{ begin:":("+i.join("|")+")"},{begin:"::("+o.join("|")+")"}]},{ className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:":",end:"[;}]", contains:[a.HEXCOLOR,a.IMPORTANT,n.CSS_NUMBER_MODE,...l,{ begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri" },contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}] },{className:"built_in",begin:/[\w-]+(?=\()/}]},{ begin:(s=/@/,((...e)=>e.map((e=>(e=>e?"string"==typeof e?e:e.source:null)(e))).join(""))("(?=",s,")")), end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword", begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0, relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only", attribute:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute" },...l,n.CSS_NUMBER_MODE]}]},{className:"selector-tag", begin:"\\b("+e.join("|")+")\\b"}]};var s}})()); hljs.registerLanguage("diff",(()=>{"use strict";return e=>({name:"Diff", aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{ begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{ begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /, end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/ },{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{ begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{ className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/, end:/$/}]})})()); hljs.registerLanguage("go",(()=>{"use strict";return e=>{const n={ keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 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:n,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:[{begin:e.C_NUMBER_RE+"[i]",relevance:1 },e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func", end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params", begin:/\(/,end:/\)/,keywords:n,illegal:/["']/}]}]}}})()); hljs.registerLanguage("http",(()=>{"use strict";function e(...e){ return e.map((e=>{return(n=e)?"string"==typeof n?n:n.source:null;var n })).join("")}return n=>{const a="HTTP/(2|1\\.[01])",s={className:"attribute", begin:e("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{ className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]} },t=[s,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{ name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})", end:/$/,contains:[{className:"meta",begin:a},{className:"number", begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:t}},{ begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string", begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{ className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:t} },n.inherit(s,{relevance:0})]}}})()); hljs.registerLanguage("ini",(()=>{"use strict";function e(e){ return e?"string"==typeof e?e:e.source:null}function n(...n){ return n.map((n=>e(n))).join("")}return s=>{const a={className:"number", relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:s.NUMBER_RE}] },i=s.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const t={ className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/ }]},r={className:"literal",begin:/\bon|off|true|false|yes|no\b/},l={ className:"string",contains:[s.BACKSLASH_ESCAPE],variants:[{begin:"'''", end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"' },{begin:"'",end:"'"}]},c={begin:/\[/,end:/\]/,contains:[i,r,t,l,a,"self"], relevance:0 },g="("+[/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/].map((n=>e(n))).join("|")+")" ;return{name:"TOML, als