Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@speed-highlight/core

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@speed-highlight/core - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

6

dist/index.js

@@ -1,3 +0,3 @@

var x={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};var u={},o=(t="")=>{var a,i,s,e;return(e=(i=(a=t.replaceAll("&","&#38;")).replaceAll)==null?void 0:(s=i.call(a,"<","&lt;")).replaceAll)==null?void 0:e.call(s,">","&gt;")},m=(t,a)=>a?`<span class="shj-syn-${a}">${t}</span>`:t;async function f(t,a,i){var s;try{let e,l,n={},p,h=[],c=0,d=typeof a=="string"?await((s=u[a])!=null?s:u[a]=import(`./languages/${a}.js`)):a,r=[...typeof a=="string"?d.default:a.sub];for(;c<t.length;){for(n.index=null,e=r.length;e-- >0;){if(l=r[e].expand?x[r[e].expand]:r[e],h[e]===void 0||h[e].match.index<c){if(l.match.lastIndex=c,p=l.match.exec(t),p===null){r.splice(e,1),h.splice(e,1);continue}h[e]={match:p,lastIndex:l.match.lastIndex}}h[e].match[0]&&(h[e].match.index<=n.index||n.index===null)&&(n={part:l,index:h[e].match.index,match:h[e].match[0],end:h[e].lastIndex})}if(n.index===null)break;i(t.slice(c,n.index),d.type),c=n.end,n.part.sub?await f(n.match,typeof n.part.sub=="string"?n.part.sub:typeof n.part.sub=="function"?n.part.sub(n.match):n.part,i):i(n.match,n.part.type)}i(t.slice(c,t.length),d.type)}catch{i(t)}}async function y(t,a,i=!0){let s=i?`<div><div class="shj-numbers">${"<div></div>".repeat(t.split(`
`).length)}</div><div>`:"";return await f(t,a,(e,l)=>s+=m(o(e),l)),i&&(s+="</div></div>"),s}async function g(t,a=(s=>(s=t.className.match(/shj-lang-([\w-]+)/))==null?void 0:s[1])(),i){let e=t.textContent;i!=null||(i=`${t.tagName=="CODE"?"in":e.split(`
`).length<2?"one":"multi"}line`),t.dataset.lang=a,t.className=`${[...t.classList].filter(l=>!l.startsWith("shj-")||l.startsWith("shj-mode-")).join(" ")} shj-lang-${a} shj-${i}`,t.innerHTML=await y(e,a,i=="multiline")}var v=async()=>document.querySelectorAll('[class*="shj-lang-"]').forEach(t=>g(t));export{v as highlightAll,g as highlightElement,y as highlightText,f as tokenize};
var x={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};var u={},m=(t="")=>{var a,n,l,e;return(e=(n=(a=t.replaceAll("&","&#38;")).replaceAll)==null?void 0:(l=n.call(a,"<","&lt;")).replaceAll)==null?void 0:e.call(l,">","&gt;")},o=(t,a)=>a?`<span class="shj-syn-${a}">${t}</span>`:t;async function f(t,a,n){var l;try{let e,s,i={},r,h=[],c=0,d=typeof a=="string"?await((l=u[a])!=null?l:u[a]=import(`./languages/${a}.js`)):a,p=[...typeof a=="string"?d.default:a.sub];for(;c<t.length;){for(i.index=null,e=p.length;e-- >0;){if(s=p[e].expand?x[p[e].expand]:p[e],h[e]===void 0||h[e].match.index<c){if(s.match.lastIndex=c,r=s.match.exec(t),r===null){p.splice(e,1),h.splice(e,1);continue}h[e]={match:r,lastIndex:s.match.lastIndex}}h[e].match[0]&&(h[e].match.index<=i.index||i.index===null)&&(i={part:s,index:h[e].match.index,match:h[e].match[0],end:h[e].lastIndex})}if(i.index===null)break;n(t.slice(c,i.index),d.type),c=i.end,i.part.sub?await f(i.match,typeof i.part.sub=="string"?i.part.sub:typeof i.part.sub=="function"?i.part.sub(i.match):i.part,n):n(i.match,i.part.type)}n(t.slice(c,t.length),d.type)}catch{n(t)}}async function y(t,a,n=!0,l={}){let e="";return await f(t,a,(s,i)=>e+=o(m(s),i)),n?`<div><div class="shj-numbers">${"<div></div>".repeat(!l.hideLineNumbers&&t.split(`
`).length)}</div><div>${e}</div></div>`:e}async function g(t,a=(e=>(e=t.className.match(/shj-lang-([\w-]+)/))==null?void 0:e[1])(),n,l){let s=t.textContent;n!=null||(n=`${t.tagName=="CODE"?"in":s.split(`
`).length<2?"one":"multi"}line`),t.dataset.lang=a,t.className=`${[...t.classList].filter(i=>!i.startsWith("shj-")||i.startsWith("shj-mode-")).join(" ")} shj-lang-${a} shj-${n}`,t.innerHTML=await y(s,a,n=="multiline",l)}var $=async t=>document.querySelectorAll('[class*="shj-lang-"]').forEach(a=>g(a,void 0,void 0,t));export{$ as highlightAll,g as highlightElement,y as highlightText,f as tokenize};

@@ -1,1 +0,1 @@

var t=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}];var d=[{match:/^#.*/gm,sub:"todo"},{expand:"str"},...t,{type:"func",match:/^(\$ )?git(\s.*)?$/gm},{type:"kwd",match:/^commit \w+$/gm}];export{d as default};
var t=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}];var a=[{match:/^#.*/gm,sub:"todo"},{expand:"str"},...t,{type:"func",match:/^(\$ )?git(\s.*)?$/gm},{type:"kwd",match:/^commit \w+$/gm}];export{a as default};

@@ -1,1 +0,1 @@

var r=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],n=s=>{var a;return((a=r.map(([t,...e])=>[e.reduce((g,[m,i])=>g+[...s.matchAll(m)].length*i,0),t]).filter(([t,e])=>t>10).sort((t,e)=>e[0]-t[0])[0])==null?void 0:a[1])||"plain"};var l=[{type:"kwd",match:/^(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|PRI|SEARCH)\b/gm},{expand:"str"},{type:"section",match:/\bHTTP\/[\d.]+\b/g},{expand:"num"},{type:"oper",match:/[,;:=]/g},{type:"var",match:/[a-zA-Z][\w-]*(?=:)/g},{match:/\n\n[^]*/g,sub:n}];export{l as default};
var r=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],n=g=>{var a;return((a=r.map(([t,...e])=>[e.reduce((m,[s,i])=>m+[...g.matchAll(s)].length*i,0),t]).filter(([t,e])=>t>10).sort((t,e)=>e[0]-t[0])[0])==null?void 0:a[1])||"plain"};var l=[{type:"kwd",match:/^(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|PRI|SEARCH)\b/gm},{expand:"str"},{type:"section",match:/\bHTTP\/[\d.]+\b/g},{expand:"num"},{type:"oper",match:/[,;:=]/g},{type:"var",match:/[a-zA-Z][\w-]*(?=:)/g},{match:/\n\n[^]*/g,sub:n}];export{l as default};
var p=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],t=a=>{var s;return((s=p.map(([e,...n])=>[n.reduce((l,[g,r])=>l+[...a.matchAll(g)].length*r,0),e]).filter(([e,n])=>e>10).sort((e,n)=>n[0]-e[0])[0])==null?void 0:s[1])||"plain"};var m=[{type:"cmnt",match:/^>.*|(=|-)\1+/gm},{type:"class",match:/\*\*((?!\*\*).)*\*\*/g},{match:/```((?!```)[^])*\n```/g,sub:a=>({type:"kwd",sub:[{match:/\n[^]*(?=```)/g,sub:a.split(`
`)[0].slice(3)||t(a)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}];var o=[{type:"insert",match:/(leanpub-start-insert)((?!leanpub-end-insert)[^])*(leanpub-end-insert)?/g,sub:[{type:"insert",match:/leanpub-(start|end)-insert/g},{match:/(?!leanpub-start-insert)((?!leanpub-end-insert)[^])*/g,sub:t}]},{type:"deleted",match:/(leanpub-start-delete)((?!leanpub-end-delete)[^])*(leanpub-end-delete)?/g,sub:[{type:"deleted",match:/leanpub-(start|end)-delete/g},{match:/(?!leanpub-start-delete)((?!leanpub-end-delete)[^])*/g,sub:t}]},...m];export{o as default};
`)[0].slice(3)||t(a)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}];var d=[{type:"insert",match:/(leanpub-start-insert)((?!leanpub-end-insert)[^])*(leanpub-end-insert)?/g,sub:[{type:"insert",match:/leanpub-(start|end)-insert/g},{match:/(?!leanpub-start-insert)((?!leanpub-end-insert)[^])*/g,sub:t}]},{type:"deleted",match:/(leanpub-start-delete)((?!leanpub-end-delete)[^])*(leanpub-end-delete)?/g,sub:[{type:"deleted",match:/leanpub-(start|end)-delete/g},{match:/(?!leanpub-start-delete)((?!leanpub-end-delete)[^])*/g,sub:t}]},...m];export{d as default};

@@ -1,1 +0,1 @@

var a=Object.defineProperty;var m=t=>a(t,"__esModule",{value:!0});var n=(t,e)=>{m(t);for(var r in e)a(t,r,{get:e[r],enumerable:!0})};n(exports,{default:()=>p});var p={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};0&&(module.exports={});
var m=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var b=e=>m(e,"__esModule",{value:!0});var c=(e,t)=>{for(var r in t)m(e,r,{get:t[r],enumerable:!0})},d=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of s(t))!u.call(e,a)&&(r||a!=="default")&&m(e,a,{get:()=>t[a],enumerable:!(n=p(t,a))||n.enumerable});return e};var g=(e=>(t,r)=>e&&e.get(t)||(r=d(b({}),t,1),e&&e.set(t,r),r))(typeof WeakMap!="undefined"?new WeakMap:0);var o={};c(o,{default:()=>h});var h={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};module.exports=g(o);0&&(module.exports={});

@@ -1,1 +0,1 @@

var s=Object.defineProperty;var l=e=>s(e,"__esModule",{value:!0});var r=(e,a)=>{l(e);for(var t in a)s(e,t,{get:a[t],enumerable:!0})};r(exports,{detectLanguage:()=>c});var o=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],c=e=>{var a;return((a=o.map(([t,...n])=>[n.reduce((i,[g,m])=>i+[...e.matchAll(g)].length*m,0),t]).filter(([t,n])=>t>10).sort((t,n)=>n[0]-t[0])[0])==null?void 0:a[1])||"plain"};0&&(module.exports={detectLanguage});
var i=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var c=e=>i(e,"__esModule",{value:!0});var b=(e,t)=>{for(var a in t)i(e,a,{get:t[a],enumerable:!0})},p=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of r(t))!o.call(e,s)&&(a||s!=="default")&&i(e,s,{get:()=>t[s],enumerable:!(n=l(t,s))||n.enumerable});return e};var f=(e=>(t,a)=>e&&e.get(t)||(a=p(c({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var d={};b(d,{detectLanguage:()=>h});var u=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],h=e=>{var t;return((t=u.map(([a,...n])=>[n.reduce((s,[g,m])=>s+[...e.matchAll(g)].length*m,0),a]).filter(([a,n])=>a>10).sort((a,n)=>n[0]-a[0])[0])==null?void 0:t[1])||"plain"};module.exports=f(d);0&&(module.exports={detectLanguage});

@@ -1,3 +0,3 @@

var j=Object.create;var p=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var $=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var o=t=>p(t,"__esModule",{value:!0});var I=(t,e)=>{o(t);for(var a in e)p(t,a,{get:e[a],enumerable:!0})},D=(t,e,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $(e))!A.call(t,n)&&n!=="default"&&p(t,n,{get:()=>e[n],enumerable:!(a=v(e,n))||a.enumerable});return t},m=t=>D(o(p(t!=null?j(w(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);I(exports,{highlightAll:()=>C,highlightElement:()=>b,highlightText:()=>g,tokenize:()=>f});var y={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};var x={},E=(t="")=>{var e,a,n,i;return(i=(a=(e=t.replaceAll("&","&#38;")).replaceAll)==null?void 0:(n=a.call(e,"<","&lt;")).replaceAll)==null?void 0:i.call(n,">","&gt;")},z=(t,e)=>e?`<span class="shj-syn-${e}">${t}</span>`:t;async function f(t,e,a){var n;try{let i,l,s={},d,h=[],c=0,u=typeof e=="string"?await((n=x[e])!=null?n:x[e]=Promise.resolve().then(()=>m(require(`./languages/${e}.js`)))):e,r=[...typeof e=="string"?u.default:e.sub];for(;c<t.length;){for(s.index=null,i=r.length;i-- >0;){if(l=r[i].expand?y[r[i].expand]:r[i],h[i]===void 0||h[i].match.index<c){if(l.match.lastIndex=c,d=l.match.exec(t),d===null){r.splice(i,1),h.splice(i,1);continue}h[i]={match:d,lastIndex:l.match.lastIndex}}h[i].match[0]&&(h[i].match.index<=s.index||s.index===null)&&(s={part:l,index:h[i].match.index,match:h[i].match[0],end:h[i].lastIndex})}if(s.index===null)break;a(t.slice(c,s.index),u.type),c=s.end,s.part.sub?await f(s.match,typeof s.part.sub=="string"?s.part.sub:typeof s.part.sub=="function"?s.part.sub(s.match):s.part,a):a(s.match,s.part.type)}a(t.slice(c,t.length),u.type)}catch{a(t)}}async function g(t,e,a=!0){let n=a?`<div><div class="shj-numbers">${"<div></div>".repeat(t.split(`
`).length)}</div><div>`:"";return await f(t,e,(i,l)=>n+=z(E(i),l)),a&&(n+="</div></div>"),n}async function b(t,e=(n=>(n=t.className.match(/shj-lang-([\w-]+)/))==null?void 0:n[1])(),a){let i=t.textContent;a!=null||(a=`${t.tagName=="CODE"?"in":i.split(`
`).length<2?"one":"multi"}line`),t.dataset.lang=e,t.className=`${[...t.classList].filter(l=>!l.startsWith("shj-")||l.startsWith("shj-mode-")).join(" ")} shj-lang-${e} shj-${a}`,t.innerHTML=await g(i,e,a=="multiline")}var C=async()=>document.querySelectorAll('[class*="shj-lang-"]').forEach(t=>b(t));0&&(module.exports={highlightAll,highlightElement,highlightText,tokenize});
var $=Object.create;var r=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var A=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var m=t=>r(t,"__esModule",{value:!0});var D=(t,e)=>{for(var i in e)r(t,i,{get:e[i],enumerable:!0})},o=(t,e,i,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of w(e))!I.call(t,a)&&(i||a!=="default")&&r(t,a,{get:()=>e[a],enumerable:!(s=v(e,a))||s.enumerable});return t},y=(t,e)=>o(m(r(t!=null?$(A(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),E=(t=>(e,i)=>t&&t.get(e)||(i=o(m({}),e,1),t&&t.set(e,i),i))(typeof WeakMap!="undefined"?new WeakMap:0);var C={};D(C,{highlightAll:()=>z,highlightElement:()=>j,highlightText:()=>b,tokenize:()=>f});var g={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};var x={},L=(t="")=>{var e,i,s,a;return(a=(i=(e=t.replaceAll("&","&#38;")).replaceAll)==null?void 0:(s=i.call(e,"<","&lt;")).replaceAll)==null?void 0:a.call(s,">","&gt;")},N=(t,e)=>e?`<span class="shj-syn-${e}">${t}</span>`:t;async function f(t,e,i){var s;try{let a,l,n={},d,h=[],c=0,u=typeof e=="string"?await((s=x[e])!=null?s:x[e]=Promise.resolve().then(()=>y(require(`./languages/${e}.js`)))):e,p=[...typeof e=="string"?u.default:e.sub];for(;c<t.length;){for(n.index=null,a=p.length;a-- >0;){if(l=p[a].expand?g[p[a].expand]:p[a],h[a]===void 0||h[a].match.index<c){if(l.match.lastIndex=c,d=l.match.exec(t),d===null){p.splice(a,1),h.splice(a,1);continue}h[a]={match:d,lastIndex:l.match.lastIndex}}h[a].match[0]&&(h[a].match.index<=n.index||n.index===null)&&(n={part:l,index:h[a].match.index,match:h[a].match[0],end:h[a].lastIndex})}if(n.index===null)break;i(t.slice(c,n.index),u.type),c=n.end,n.part.sub?await f(n.match,typeof n.part.sub=="string"?n.part.sub:typeof n.part.sub=="function"?n.part.sub(n.match):n.part,i):i(n.match,n.part.type)}i(t.slice(c,t.length),u.type)}catch{i(t)}}async function b(t,e,i=!0,s={}){let a="";return await f(t,e,(l,n)=>a+=N(L(l),n)),i?`<div><div class="shj-numbers">${"<div></div>".repeat(!s.hideLineNumbers&&t.split(`
`).length)}</div><div>${a}</div></div>`:a}async function j(t,e=(a=>(a=t.className.match(/shj-lang-([\w-]+)/))==null?void 0:a[1])(),i,s){let l=t.textContent;i!=null||(i=`${t.tagName=="CODE"?"in":l.split(`
`).length<2?"one":"multi"}line`),t.dataset.lang=e,t.className=`${[...t.classList].filter(n=>!n.startsWith("shj-")||n.startsWith("shj-mode-")).join(" ")} shj-lang-${e} shj-${i}`,t.innerHTML=await b(l,e,i=="multiline",s)}var z=async t=>document.querySelectorAll('[class*="shj-lang-"]').forEach(e=>j(e,void 0,void 0,t));module.exports=E(C);0&&(module.exports={highlightAll,highlightElement,highlightText,tokenize});

@@ -1,1 +0,1 @@

var m=Object.defineProperty;var p=t=>m(t,"__esModule",{value:!0});var c=(t,a)=>{p(t);for(var e in a)m(t,e,{get:a[e],enumerable:!0})};c(exports,{default:()=>d});var d=[{type:"cmnt",match:/;.*/gm},{expand:"str"},{expand:"num"},{type:"kwd",match:/^[a-z]+\s+[a-z.]+/gm,sub:[{type:"func",match:/^[a-z]+/g}]},{type:"kwd",match:/^\t*[a-z]+/gm},{match:/%|\$/g,type:"oper"}];0&&(module.exports={});
var p=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var n=a=>p(a,"__esModule",{value:!0});var y=(a,t)=>{for(var e in t)p(a,e,{get:t[e],enumerable:!0})},u=(a,t,e,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let m of g(t))!h.call(a,m)&&(e||m!=="default")&&p(a,m,{get:()=>t[m],enumerable:!(c=d(t,m))||c.enumerable});return a};var z=(a=>(t,e)=>a&&a.get(t)||(e=u(n({}),t,1),a&&a.set(t,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var s={};y(s,{default:()=>r});var r=[{type:"cmnt",match:/;.*/gm},{expand:"str"},{expand:"num"},{type:"kwd",match:/^[a-z]+\s+[a-z.]+/gm,sub:[{type:"func",match:/^[a-z]+/g}]},{type:"kwd",match:/^\t*[a-z]+/gm},{match:/%|\$/g,type:"oper"}];module.exports=z(s);0&&(module.exports={});

@@ -1,1 +0,1 @@

var s=Object.defineProperty;var p=e=>s(e,"__esModule",{value:!0});var i=(e,t)=>{p(e);for(var a in t)s(e,a,{get:t[a],enumerable:!0})};i(exports,{default:()=>o});var l={type:"var",match:/\$\w+|\${[^}]*}|\$\([^)]*\)/g},o=[{sub:"todo",match:/#.*/g},{type:"str",match:/(["'])((?!\1)[^\r\n\\]|\\[^])*\1?/g,sub:[l]},{type:"kwd",match:/-[a-zA-Z]+|$<|[&|;]+|\b(unset|readonly|shift|export|if|fi|else|elif|while|do|done|for|until|case|esac|break|continue|exit|return|trap|wait|eval|exec|then|declare|enable|local|select|typeset|time|add|remove|install|update|delete)\b/g},{expand:"num"},{type:"func",match:/\b(set|alias|bg|bind|builtin|caller|command|compgen|complete|dirs|disown|echo|enable|eval|exec|exit|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|read|set|shift|shopt|source|suspend|test|times|trap|type|ulimit|umask|unalias|unset)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"func",match:/[a-z_]+(?=\s*\()/g},{type:"oper",match:/[=(){}<>+*/!?~^-]+/g},{type:"var",match:/\w+(?=\s*=)/g},l];0&&(module.exports={});
var l=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var r=t=>l(t,"__esModule",{value:!0});var d=(t,e)=>{for(var a in e)l(t,a,{get:e[a],enumerable:!0})},u=(t,e,a,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of c(e))!n.call(t,s)&&(a||s!=="default")&&l(t,s,{get:()=>e[s],enumerable:!(p=o(e,s))||p.enumerable});return t};var h=(t=>(e,a)=>t&&t.get(e)||(a=u(r({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var b={};d(b,{default:()=>m});var i={type:"var",match:/\$\w+|\${[^}]*}|\$\([^)]*\)/g},m=[{sub:"todo",match:/#.*/g},{type:"str",match:/(["'])((?!\1)[^\r\n\\]|\\[^])*\1?/g,sub:[i]},{type:"kwd",match:/-[a-zA-Z]+|$<|[&|;]+|\b(unset|readonly|shift|export|if|fi|else|elif|while|do|done|for|until|case|esac|break|continue|exit|return|trap|wait|eval|exec|then|declare|enable|local|select|typeset|time|add|remove|install|update|delete)\b/g},{expand:"num"},{type:"func",match:/\b(set|alias|bg|bind|builtin|caller|command|compgen|complete|dirs|disown|echo|enable|eval|exec|exit|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|read|set|shift|shopt|source|suspend|test|times|trap|type|ulimit|umask|unalias|unset)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"func",match:/[a-z_]+(?=\s*\()/g},{type:"oper",match:/[=(){}<>+*/!?~^-]+/g},{type:"var",match:/\w+(?=\s*=)/g},i];module.exports=h(b);0&&(module.exports={});

@@ -1,1 +0,1 @@

var c=Object.defineProperty;var p=t=>c(t,"__esModule",{value:!0});var g=(t,e)=>{p(t);for(var a in e)c(t,a,{get:e[a],enumerable:!0})};g(exports,{default:()=>h});var h=[{match:/[^\[\->+.<\]\s].*/g,sub:"todo"},{type:"func",match:/\.+/g},{type:"kwd",match:/[<>]+/g},{type:"oper",match:/[+-]+/g}];0&&(module.exports={});
var p=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var d=e=>p(e,"__esModule",{value:!0});var u=(e,t)=>{for(var a in t)p(e,a,{get:t[a],enumerable:!0})},y=(e,t,a,g)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of m(t))!o.call(e,c)&&(a||c!=="default")&&p(e,c,{get:()=>t[c],enumerable:!(g=h(t,c))||g.enumerable});return e};var f=(e=>(t,a)=>e&&e.get(t)||(a=y(d({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var s={};u(s,{default:()=>r});var r=[{match:/[^\[\->+.<\]\s].*/g,sub:"todo"},{type:"func",match:/\.+/g},{type:"kwd",match:/[<>]+/g},{type:"oper",match:/[+-]+/g}];module.exports=f(s);0&&(module.exports={});

@@ -1,1 +0,1 @@

var s=Object.defineProperty;var c=t=>s(t,"__esModule",{value:!0});var n=(t,e)=>{c(t);for(var a in e)s(t,a,{get:e[a],enumerable:!0})};n(exports,{default:()=>o});var o=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/#\s*include (<.*>|".*")/g,sub:[{type:"str",match:/(<|").*/g}]},{match:/asm\s*{[^}]*}/g,sub:[{type:"kwd",match:/^asm/g},{match:/[^{}]*(?=}$)/g,sub:"asm"}]},{type:"kwd",match:/\*|&|#[a-z]+\b|\b(asm|auto|double|int|struct|break|else|long|switch|case|enum|register|typedef|char|extern|return|union|const|float|short|unsigned|continue|for|signed|void|default|goto|sizeof|volatile|do|if|static|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/[A-Z][\w_]*/g}];0&&(module.exports={});
var c=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var d=e=>c(e,"__esModule",{value:!0});var g=(e,t)=>{for(var a in t)c(e,a,{get:t[a],enumerable:!0})},h=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of u(t))!m.call(e,s)&&(a||s!=="default")&&c(e,s,{get:()=>t[s],enumerable:!(n=o(t,s))||n.enumerable});return e};var i=(e=>(t,a)=>e&&e.get(t)||(a=h(d({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var p={};g(p,{default:()=>r});var r=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/#\s*include (<.*>|".*")/g,sub:[{type:"str",match:/(<|").*/g}]},{match:/asm\s*{[^}]*}/g,sub:[{type:"kwd",match:/^asm/g},{match:/[^{}]*(?=}$)/g,sub:"asm"}]},{type:"kwd",match:/\*|&|#[a-z]+\b|\b(asm|auto|double|int|struct|break|else|long|switch|case|enum|register|typedef|char|extern|return|union|const|float|short|unsigned|continue|for|signed|void|default|goto|sizeof|volatile|do|if|static|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/[A-Z][\w_]*/g}];module.exports=i(p);0&&(module.exports={});

@@ -1,1 +0,1 @@

var c=Object.defineProperty;var e=t=>c(t,"__esModule",{value:!0});var p=(t,a)=>{e(t);for(var m in a)c(t,m,{get:a[m],enumerable:!0})};p(exports,{default:()=>h});var h=[{match:/\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/@\w+\b|\b(and|not|only|or)\b|\b[a-z-]+(?=[^{}]*{)/g},{type:"var",match:/\b[\w-]+(?=\s*:)|(::?|\.)[\w-]+(?=[^{}]*{)/g},{type:"func",match:/#[\w-]+(?=[^{}]*{)/g},{type:"num",match:/#[\da-f]{3,8}/g},{type:"num",match:/\d+(\.\d+)?(cm|mm|in|px|pt|pc|em|ex|ch|rem|vm|vh|vmin|vmax|%)?/g,sub:[{type:"var",match:/[a-z]+|%/g}]},{match:/url\([^)]*\)/g,sub:[{type:"func",match:/url(?=\()/g},{type:"str",match:/[^()]+/g}]},{type:"func",match:/\b[a-zA-Z]\w*(?=\s*\()/g},{type:"num",match:/\b[a-z-]+\b/g}];0&&(module.exports={});
var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var u=a=>e(a,"__esModule",{value:!0});var b=(a,t)=>{for(var m in t)e(a,m,{get:t[m],enumerable:!0})},y=(a,t,m,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of g(t))!n.call(a,c)&&(m||c!=="default")&&e(a,c,{get:()=>t[c],enumerable:!(p=h(t,c))||p.enumerable});return a};var r=(a=>(t,m)=>a&&a.get(t)||(m=y(u({}),t,1),a&&a.set(t,m),m))(typeof WeakMap!="undefined"?new WeakMap:0);var s={};b(s,{default:()=>d});var d=[{match:/\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/@\w+\b|\b(and|not|only|or)\b|\b[a-z-]+(?=[^{}]*{)/g},{type:"var",match:/\b[\w-]+(?=\s*:)|(::?|\.)[\w-]+(?=[^{}]*{)/g},{type:"func",match:/#[\w-]+(?=[^{}]*{)/g},{type:"num",match:/#[\da-f]{3,8}/g},{type:"num",match:/\d+(\.\d+)?(cm|mm|in|px|pt|pc|em|ex|ch|rem|vm|vh|vmin|vmax|%)?/g,sub:[{type:"var",match:/[a-z]+|%/g}]},{match:/url\([^)]*\)/g,sub:[{type:"func",match:/url(?=\()/g},{type:"str",match:/[^()]+/g}]},{type:"func",match:/\b[a-zA-Z]\w*(?=\s*\()/g},{type:"num",match:/\b[a-z-]+\b/g}];module.exports=r(s);0&&(module.exports={});

@@ -1,1 +0,1 @@

var a=Object.defineProperty;var o=e=>a(e,"__esModule",{value:!0});var r=(e,t)=>{o(e);for(var p in t)a(e,p,{get:t[p],enumerable:!0})};r(exports,{default:()=>d});var d=[{expand:"strDouble"},{type:"oper",match:/,/g}];0&&(module.exports={});
var o=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var x=t=>o(t,"__esModule",{value:!0});var b=(t,e)=>{for(var p in e)o(t,p,{get:e[p],enumerable:!0})},c=(t,e,p,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of l(e))!u.call(t,a)&&(p||a!=="default")&&o(t,a,{get:()=>e[a],enumerable:!(r=d(e,a))||r.enumerable});return t};var f=(t=>(e,p)=>t&&t.get(e)||(p=c(x({}),e,1),t&&t.set(e,p),p))(typeof WeakMap!="undefined"?new WeakMap:0);var h={};b(h,{default:()=>g});var g=[{expand:"strDouble"},{type:"oper",match:/,/g}];module.exports=f(h);0&&(module.exports={});

@@ -1,1 +0,1 @@

var a=Object.defineProperty;var c=t=>a(t,"__esModule",{value:!0});var d=(t,e)=>{c(t);for(var m in e)a(t,m,{get:e[m],enumerable:!0})};d(exports,{default:()=>p});var p=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}];0&&(module.exports={});
var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var y=e=>c(e,"__esModule",{value:!0});var i=(e,t)=>{for(var m in t)c(e,m,{get:t[m],enumerable:!0})},l=(e,t,m,d)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of g(t))!h.call(e,a)&&(m||a!=="default")&&c(e,a,{get:()=>t[a],enumerable:!(d=p(t,a))||d.enumerable});return e};var n=(e=>(t,m)=>e&&e.get(t)||(m=l(y({}),t,1),e&&e.set(t,m),m))(typeof WeakMap!="undefined"?new WeakMap:0);var r={};i(r,{default:()=>o});var o=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}];module.exports=n(r);0&&(module.exports={});

@@ -1,1 +0,1 @@

var s=Object.defineProperty;var o=e=>s(e,"__esModule",{value:!0});var i=(e,t)=>{o(e);for(var a in t)s(e,a,{get:t[a],enumerable:!0})};i(exports,{default:()=>c});var l={type:"var",match:/\$\w+|\${[^}]*}|\$\([^)]*\)/g},p=[{sub:"todo",match:/#.*/g},{type:"str",match:/(["'])((?!\1)[^\r\n\\]|\\[^])*\1?/g,sub:[l]},{type:"kwd",match:/-[a-zA-Z]+|$<|[&|;]+|\b(unset|readonly|shift|export|if|fi|else|elif|while|do|done|for|until|case|esac|break|continue|exit|return|trap|wait|eval|exec|then|declare|enable|local|select|typeset|time|add|remove|install|update|delete)\b/g},{expand:"num"},{type:"func",match:/\b(set|alias|bg|bind|builtin|caller|command|compgen|complete|dirs|disown|echo|enable|eval|exec|exit|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|read|set|shift|shopt|source|suspend|test|times|trap|type|ulimit|umask|unalias|unset)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"func",match:/[a-z_]+(?=\s*\()/g},{type:"oper",match:/[=(){}<>+*/!?~^-]+/g},{type:"var",match:/\w+(?=\s*=)/g},l];var c=[{type:"kwd",match:/^(FROM|RUN|CMD|LABEL|MAINTAINER|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ARG|ONBUILD|STOPSIGNAL|HEALTHCHECK|SHELL)\b/gmi},...p];0&&(module.exports={});
var l=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var d=t=>l(t,"__esModule",{value:!0});var m=(t,e)=>{for(var a in e)l(t,a,{get:e[a],enumerable:!0})},h=(t,e,a,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of r(e))!n.call(t,s)&&(a||s!=="default")&&l(t,s,{get:()=>e[s],enumerable:!(p=c(e,s))||p.enumerable});return t};var u=(t=>(e,a)=>t&&t.get(e)||(a=h(d({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var f={};m(f,{default:()=>b});var o={type:"var",match:/\$\w+|\${[^}]*}|\$\([^)]*\)/g},i=[{sub:"todo",match:/#.*/g},{type:"str",match:/(["'])((?!\1)[^\r\n\\]|\\[^])*\1?/g,sub:[o]},{type:"kwd",match:/-[a-zA-Z]+|$<|[&|;]+|\b(unset|readonly|shift|export|if|fi|else|elif|while|do|done|for|until|case|esac|break|continue|exit|return|trap|wait|eval|exec|then|declare|enable|local|select|typeset|time|add|remove|install|update|delete)\b/g},{expand:"num"},{type:"func",match:/\b(set|alias|bg|bind|builtin|caller|command|compgen|complete|dirs|disown|echo|enable|eval|exec|exit|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|read|set|shift|shopt|source|suspend|test|times|trap|type|ulimit|umask|unalias|unset)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"func",match:/[a-z_]+(?=\s*\()/g},{type:"oper",match:/[=(){}<>+*/!?~^-]+/g},{type:"var",match:/\w+(?=\s*=)/g},o];var b=[{type:"kwd",match:/^(FROM|RUN|CMD|LABEL|MAINTAINER|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ARG|ONBUILD|STOPSIGNAL|HEALTHCHECK|SHELL)\b/gmi},...i];module.exports=u(f);0&&(module.exports={});

@@ -1,1 +0,1 @@

var d=Object.defineProperty;var c=t=>d(t,"__esModule",{value:!0});var p=(t,m)=>{c(t);for(var e in m)d(t,e,{get:m[e],enumerable:!0})};p(exports,{default:()=>f});var a=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}];var f=[{match:/^#.*/gm,sub:"todo"},{expand:"str"},...a,{type:"func",match:/^(\$ )?git(\s.*)?$/gm},{type:"kwd",match:/^commit \w+$/gm}];0&&(module.exports={});
var c=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var f=m=>c(m,"__esModule",{value:!0});var i=(m,t)=>{for(var e in t)c(m,e,{get:t[e],enumerable:!0})},r=(m,t,e,d)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of o(t))!h.call(m,a)&&(e||a!=="default")&&c(m,a,{get:()=>t[a],enumerable:!(d=g(t,a))||d.enumerable});return m};var y=(m=>(t,e)=>m&&m.get(t)||(e=r(f({}),t,1),m&&m.set(t,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var n={};i(n,{default:()=>s});var p=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}];var s=[{match:/^#.*/gm,sub:"todo"},{expand:"str"},...p,{type:"func",match:/^(\$ )?git(\s.*)?$/gm},{type:"kwd",match:/^commit \w+$/gm}];module.exports=y(n);0&&(module.exports={});

@@ -1,1 +0,1 @@

var c=Object.defineProperty;var r=t=>c(t,"__esModule",{value:!0});var n=(t,e)=>{r(t);for(var a in e)c(t,a,{get:e[a],enumerable:!0})};n(exports,{default:()=>o});var o=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\*|&|\b(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)\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/[A-Z][\w_]*/g},{type:"oper",match:/[+\-*\/%&|^~=!<>.^-]+/g}];0&&(module.exports={});
var r=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var g=e=>r(e,"__esModule",{value:!0});var u=(e,t)=>{for(var a in t)r(e,a,{get:t[a],enumerable:!0})},f=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of p(t))!s.call(e,c)&&(a||c!=="default")&&r(e,c,{get:()=>t[c],enumerable:!(n=o(t,c))||n.enumerable});return e};var h=(e=>(t,a)=>e&&e.get(t)||(a=f(g({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var d={};u(d,{default:()=>m});var m=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\*|&|\b(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)\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/[A-Z][\w_]*/g},{type:"oper",match:/[+\-*\/%&|^~=!<>.^-]+/g}];module.exports=h(d);0&&(module.exports={});

@@ -1,1 +0,1 @@

var c=Object.defineProperty;var g=e=>c(e,"__esModule",{value:!0});var h=(e,p)=>{g(e);for(var a in p)c(e,a,{get:p[a],enumerable:!0})};h(exports,{default:()=>r});var s=`\\s*(\\s+[a-z-]+\\s*(=\\s*([^"']\\S*|("|')(\\\\[^]|(?!\\4)[^])*\\4?)?)?\\s*)*`,t={match:RegExp(`</?[a-z_-]+${s}/?>`,"g"),sub:[{type:"var",match:/^<\/?[^\s>\/]+/g,sub:[{type:"oper",match:/^<\/?/g}]},{type:"str",match:/=\s*([^"']\S*|("|')(\\[^]|(?!\2)[^])*\2?)/g,sub:[{type:"oper",match:/^=/g}]},{type:"oper",match:/\/?>/g},{type:"class",match:/[a-z-]+/gi}]},m=[{match:/<!--((?!-->)[^])*-->/g,sub:"todo"},{type:"class",match:RegExp(`<\\?xml${s}\\?>`,"gi"),sub:[{type:"oper",match:/^<\?|\?>$/g},{type:"str",match:/"[^"]*"|'[^']*'/g},{type:"var",match:/xml/gi}]},{type:"class",match:/<!\[CDATA\[[\s\S]*?\]\]>/gi},t,{type:"var",match:/&(#x?)?[\da-z]{1,8};/gi}];var r=[{type:"class",match:/<!DOCTYPE("[^"]*"|'[^']*'|[^"'>])*>/gi,sub:[{type:"str",match:/"[^"]*"|'[^']*'/g},{type:"oper",match:/^<!|>$/g},{type:"var",match:/DOCTYPE/gi}]},{match:RegExp(`<style${s}>((?!</style>)[^])*</style\\s*>`,"g"),sub:[{match:RegExp(`^<style${s}>`,"g"),sub:t.sub},{match:RegExp(`${t.match}|[^]*(?=</style\\s*>$)`,"g"),sub:"css"},t]},{match:RegExp(`<script${s}>((?!<\/script>)[^])*<\/script\\s*>`,"g"),sub:[{match:RegExp(`^<script${s}>`,"g"),sub:t.sub},{match:RegExp(`${t.match}|[^]*(?=<\/script\\s*>$)`,"g"),sub:"js"},t]},...m];0&&(module.exports={});
var m=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var x=s=>m(s,"__esModule",{value:!0});var u=(s,t)=>{for(var e in t)m(s,e,{get:t[e],enumerable:!0})},b=(s,t,e,g)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of y(t))!l.call(s,c)&&(e||c!=="default")&&m(s,c,{get:()=>t[c],enumerable:!(g=r(t,c))||g.enumerable});return s};var o=(s=>(t,e)=>s&&s.get(t)||(e=b(x({}),t,1),s&&s.set(t,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var E={};u(E,{default:()=>i});var a=`\\s*(\\s+[a-z-]+\\s*(=\\s*([^"']\\S*|("|')(\\\\[^]|(?!\\4)[^])*\\4?)?)?\\s*)*`,p={match:RegExp(`</?[a-z_-]+${a}/?>`,"g"),sub:[{type:"var",match:/^<\/?[^\s>\/]+/g,sub:[{type:"oper",match:/^<\/?/g}]},{type:"str",match:/=\s*([^"']\S*|("|')(\\[^]|(?!\2)[^])*\2?)/g,sub:[{type:"oper",match:/^=/g}]},{type:"oper",match:/\/?>/g},{type:"class",match:/[a-z-]+/gi}]},h=[{match:/<!--((?!-->)[^])*-->/g,sub:"todo"},{type:"class",match:RegExp(`<\\?xml${a}\\?>`,"gi"),sub:[{type:"oper",match:/^<\?|\?>$/g},{type:"str",match:/"[^"]*"|'[^']*'/g},{type:"var",match:/xml/gi}]},{type:"class",match:/<!\[CDATA\[[\s\S]*?\]\]>/gi},p,{type:"var",match:/&(#x?)?[\da-z]{1,8};/gi}];var i=[{type:"class",match:/<!DOCTYPE("[^"]*"|'[^']*'|[^"'>])*>/gi,sub:[{type:"str",match:/"[^"]*"|'[^']*'/g},{type:"oper",match:/^<!|>$/g},{type:"var",match:/DOCTYPE/gi}]},{match:RegExp(`<style${a}>((?!</style>)[^])*</style\\s*>`,"g"),sub:[{match:RegExp(`^<style${a}>`,"g"),sub:p.sub},{match:RegExp(`${p.match}|[^]*(?=</style\\s*>$)`,"g"),sub:"css"},p]},{match:RegExp(`<script${a}>((?!<\/script>)[^])*<\/script\\s*>`,"g"),sub:[{match:RegExp(`^<script${a}>`,"g"),sub:p.sub},{match:RegExp(`${p.match}|[^]*(?=<\/script\\s*>$)`,"g"),sub:"js"},p]},...h];module.exports=o(E);0&&(module.exports={});

@@ -1,1 +0,1 @@

var s=Object.defineProperty;var c=e=>s(e,"__esModule",{value:!0});var o=(e,a)=>{c(e);for(var t in a)s(e,t,{get:a[t],enumerable:!0})};o(exports,{default:()=>p});var l=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],g=e=>{var a;return((a=l.map(([t,...n])=>[n.reduce((m,[i,r])=>m+[...e.matchAll(i)].length*r,0),t]).filter(([t,n])=>t>10).sort((t,n)=>n[0]-t[0])[0])==null?void 0:a[1])||"plain"};var p=[{type:"kwd",match:/^(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|PRI|SEARCH)\b/gm},{expand:"str"},{type:"section",match:/\bHTTP\/[\d.]+\b/g},{expand:"num"},{type:"oper",match:/[,;:=]/g},{type:"var",match:/[a-zA-Z][\w-]*(?=:)/g},{match:/\n\n[^]*/g,sub:g}];0&&(module.exports={});
var m=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var p=e=>m(e,"__esModule",{value:!0});var b=(e,t)=>{for(var a in t)m(e,a,{get:t[a],enumerable:!0})},f=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let g of o(t))!l.call(e,g)&&(a||g!=="default")&&m(e,g,{get:()=>t[g],enumerable:!(n=c(t,g))||n.enumerable});return e};var u=(e=>(t,a)=>e&&e.get(t)||(a=f(p({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var d={};b(d,{default:()=>h});var T=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],s=e=>{var t;return((t=T.map(([a,...n])=>[n.reduce((g,[i,r])=>g+[...e.matchAll(i)].length*r,0),a]).filter(([a,n])=>a>10).sort((a,n)=>n[0]-a[0])[0])==null?void 0:t[1])||"plain"};var h=[{type:"kwd",match:/^(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|PRI|SEARCH)\b/gm},{expand:"str"},{type:"section",match:/\bHTTP\/[\d.]+\b/g},{expand:"num"},{type:"oper",match:/[,;:=]/g},{type:"var",match:/[a-zA-Z][\w-]*(?=:)/g},{match:/\n\n[^]*/g,sub:s}];module.exports=u(d);0&&(module.exports={});

@@ -1,1 +0,1 @@

var m=Object.defineProperty;var c=t=>m(t,"__esModule",{value:!0});var p=(t,e)=>{c(t);for(var a in e)m(t,a,{get:e[a],enumerable:!0})};p(exports,{default:()=>g});var g=[{match:/(^[ \f\t\v]*)[#;].*/gm,sub:"todo"},{type:"str",match:/.*/g},{type:"var",match:/.*(?==)/g},{type:"section",match:/^\s*\[.+\]\s*$/gm},{type:"oper",match:/=/g}];0&&(module.exports={});
var c=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=e=>c(e,"__esModule",{value:!0});var r=(e,t)=>{for(var a in t)c(e,a,{get:t[a],enumerable:!0})},y=(e,t,a,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let m of h(t))!o.call(e,m)&&(a||m!=="default")&&c(e,m,{get:()=>t[m],enumerable:!(p=g(t,m))||p.enumerable});return e};var d=(e=>(t,a)=>e&&e.get(t)||(a=y(s({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var u={};r(u,{default:()=>f});var f=[{match:/(^[ \f\t\v]*)[#;].*/gm,sub:"todo"},{type:"str",match:/.*/g},{type:"var",match:/.*(?==)/g},{type:"section",match:/^\s*\[.+\]\s*$/gm},{type:"oper",match:/=/g}];module.exports=d(u);0&&(module.exports={});

@@ -1,1 +0,1 @@

var s=Object.defineProperty;var n=t=>s(t,"__esModule",{value:!0});var o=(t,e)=>{n(t);for(var a in e)s(t,a,{get:e[a],enumerable:!0})};o(exports,{default:()=>r});var r=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(abstract|assert|boolean|break|byte|case|catch|char|class|continue|const|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|package|private|protected|public|requires|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|transient|try|var|void|volatile|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/[A-Z][\w_]*/g}];0&&(module.exports={});
var n=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var l=e=>n(e,"__esModule",{value:!0});var p=(e,t)=>{for(var a in t)n(e,a,{get:t[a],enumerable:!0})},h=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of c(t))!i.call(e,s)&&(a||s!=="default")&&n(e,s,{get:()=>t[s],enumerable:!(o=r(t,s))||o.enumerable});return e};var d=(e=>(t,a)=>e&&e.get(t)||(a=h(l({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var f={};p(f,{default:()=>u});var u=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(abstract|assert|boolean|break|byte|case|catch|char|class|continue|const|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|package|private|protected|public|requires|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|transient|try|var|void|volatile|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/[A-Z][\w_]*/g}];module.exports=d(f);0&&(module.exports={});

@@ -1,1 +0,1 @@

var i=Object.defineProperty;var h=l=>i(l,"__esModule",{value:!0});var a=(l,e)=>{h(l);for(var t in e)i(l,t,{get:e[t],enumerable:!0})};a(exports,{default:()=>u,type:()=>c});var u=[{match:new class{exec(l){let e=this.lastIndex,t,n=f=>{for(;++e<l.length-2;)if(l[e]=="{")n();else if(l[e]=="}")return};for(;e<l.length;e++)if(l[e-1]!="\\"&&l[e]=="$"&&l[e+1]=="{")return t=e++,n(e),this.lastIndex=e+1,{index:t,0:l.slice(t,e+1)};return null}},sub:[{type:"kwd",match:/^\${|}$/g},{match:/(?!^\$|{)[^]+(?=}$)/g,sub:"js"}]}],c="str";0&&(module.exports={type});
var h=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var f=l=>h(l,"__esModule",{value:!0});var x=(l,e)=>{for(var t in e)h(l,t,{get:e[t],enumerable:!0})},d=(l,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of u(e))!c.call(l,n)&&(t||n!=="default")&&h(l,n,{get:()=>e[n],enumerable:!(i=a(e,n))||i.enumerable});return l};var s=(l=>(e,t)=>l&&l.get(e)||(t=d(f({}),e,1),l&&l.set(e,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var p={};x(p,{default:()=>$,type:()=>g});var $=[{match:new class{exec(l){let e=this.lastIndex,t,i=n=>{for(;++e<l.length-2;)if(l[e]=="{")i();else if(l[e]=="}")return};for(;e<l.length;e++)if(l[e-1]!="\\"&&l[e]=="$"&&l[e+1]=="{")return t=e++,i(e),this.lastIndex=e+1,{index:t,0:l.slice(t,e+1)};return null}},sub:[{type:"kwd",match:/^\${|}$/g},{match:/(?!^\$|{)[^]+(?=}$)/g,sub:"js"}]}],g="str";module.exports=s(p);0&&(module.exports={type});

@@ -1,1 +0,1 @@

var s=Object.defineProperty;var c=t=>s(t,"__esModule",{value:!0});var n=(t,e)=>{c(t);for(var a in e)s(t,a,{get:e[a],enumerable:!0})};n(exports,{default:()=>o});var o=[{match:/\/\*\*((?!\*\/)[^])*(\*\/)?/g,sub:"jsdoc"},{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{match:/`((?!`)[^]|\\[^])*`?/g,sub:"js_template_literals"},{type:"kwd",match:/=>|\b(this|set|get|as|async|await|break|case|catch|class|const|constructor|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|if|implements|import|in|instanceof|interface|let|var|of|new|package|private|protected|public|return|static|super|switch|throw|throws|try|typeof|void|while|with|yield)\b/g},{match:/\/((?!\/)[^\r\n\\]|\\.)+\/[dgimsuy]*/g,sub:"regex"},{expand:"num"},{type:"num",match:/\b(NaN|null|undefined|[A-Z][A-Z_]*)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z]\w*\b/g},{type:"func",match:/[a-zA-Z$_][\w$_]*(?=\s*((\?\.)?\s*\(|=\s*(\(?[\w,{}\[\])]+\)? =>|function\b)))/g}];0&&(module.exports={});
var c=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var u=e=>c(e,"__esModule",{value:!0});var l=(e,t)=>{for(var a in t)c(e,a,{get:t[a],enumerable:!0})},p=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of r(t))!i.call(e,s)&&(a||s!=="default")&&c(e,s,{get:()=>t[s],enumerable:!(n=o(t,s))||n.enumerable});return e};var m=(e=>(t,a)=>e&&e.get(t)||(a=p(u({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var d={};l(d,{default:()=>b});var b=[{match:/\/\*\*((?!\*\/)[^])*(\*\/)?/g,sub:"jsdoc"},{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{match:/`((?!`)[^]|\\[^])*`?/g,sub:"js_template_literals"},{type:"kwd",match:/=>|\b(this|set|get|as|async|await|break|case|catch|class|const|constructor|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|if|implements|import|in|instanceof|interface|let|var|of|new|package|private|protected|public|return|static|super|switch|throw|throws|try|typeof|void|while|with|yield)\b/g},{match:/\/((?!\/)[^\r\n\\]|\\.)+\/[dgimsuy]*/g,sub:"regex"},{expand:"num"},{type:"num",match:/\b(NaN|null|undefined|[A-Z][A-Z_]*)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z]\w*\b/g},{type:"func",match:/[a-zA-Z$_][\w$_]*(?=\s*((\?\.)?\s*\(|=\s*(\(?[\w,{}\[\])]+\)? =>|function\b)))/g}];module.exports=m(d);0&&(module.exports={});

@@ -1,1 +0,1 @@

var a=Object.defineProperty;var m=t=>a(t,"__esModule",{value:!0});var o=(t,e)=>{m(t);for(var p in e)a(t,p,{get:e[p],enumerable:!0})};o(exports,{default:()=>r,type:()=>y});var c=[{type:"err",match:/\b(TODO|FIXME|DEBUG|OPTIMIZE|WARNING|XXX|BUG)\b/g},{type:"class",match:/\bIDEA\b/g},{type:"insert",match:/\b(CHANGED|FIX|CHANGE)\b/g},{type:"oper",match:/\bQUESTION\b/g}];var r=[{type:"kwd",match:/@\w+/g},{type:"class",match:/{[\w\s|<>,.@\[\]]+}/g},{type:"var",match:/\[[\w\s="']+\]/g},...c],y="cmnt";0&&(module.exports={type});
var c=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var g=e=>c(e,"__esModule",{value:!0});var h=(e,t)=>{for(var p in t)c(e,p,{get:t[p],enumerable:!0})},s=(e,t,p,m)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of y(t))!b.call(e,a)&&(p||a!=="default")&&c(e,a,{get:()=>t[a],enumerable:!(m=o(t,a))||m.enumerable});return e};var E=(e=>(t,p)=>e&&e.get(t)||(p=s(g({}),t,1),e&&e.set(t,p),p))(typeof WeakMap!="undefined"?new WeakMap:0);var G={};h(G,{default:()=>I,type:()=>l});var r=[{type:"err",match:/\b(TODO|FIXME|DEBUG|OPTIMIZE|WARNING|XXX|BUG)\b/g},{type:"class",match:/\bIDEA\b/g},{type:"insert",match:/\b(CHANGED|FIX|CHANGE)\b/g},{type:"oper",match:/\bQUESTION\b/g}];var I=[{type:"kwd",match:/@\w+/g},{type:"class",match:/{[\w\s|<>,.@\[\]]+}/g},{type:"var",match:/\[[\w\s="']+\]/g},...r],l="cmnt";module.exports=E(G);0&&(module.exports={type});

@@ -1,1 +0,1 @@

var p=Object.defineProperty;var b=t=>p(t,"__esModule",{value:!0});var l=(t,a)=>{b(t);for(var e in a)p(t,e,{get:a[e],enumerable:!0})};l(exports,{default:()=>m});var m=[{type:"var",match:/("|')?[a-zA-Z]\w*\1(?=\s*:)/g},{expand:"str"},{expand:"num"},{type:"num",match:/\bnull\b/g},{type:"bool",match:/\b(true|false)\b/g}];0&&(module.exports={});
var b=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var r=a=>b(a,"__esModule",{value:!0});var c=(a,t)=>{for(var e in t)b(a,e,{get:t[e],enumerable:!0})},d=(a,t,e,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let p of n(t))!u.call(a,p)&&(e||p!=="default")&&b(a,p,{get:()=>t[p],enumerable:!(l=m(t,p))||l.enumerable});return a};var g=(a=>(t,e)=>a&&a.get(t)||(e=d(r({}),t,1),a&&a.set(t,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var o={};c(o,{default:()=>h});var h=[{type:"var",match:/("|')?[a-zA-Z]\w*\1(?=\s*:)/g},{expand:"str"},{expand:"num"},{type:"num",match:/\bnull\b/g},{type:"bool",match:/\b(true|false)\b/g}];module.exports=g(o);0&&(module.exports={});

@@ -1,2 +0,2 @@

var m=Object.defineProperty;var c=e=>m(e,"__esModule",{value:!0});var i=(e,a)=>{c(e);for(var t in a)m(e,t,{get:a[t],enumerable:!0})};i(exports,{default:()=>u});var b=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],n=e=>{var a;return((a=b.map(([t,...s])=>[s.reduce((g,[r,p])=>g+[...e.matchAll(r)].length*p,0),t]).filter(([t,s])=>t>10).sort((t,s)=>s[0]-t[0])[0])==null?void 0:a[1])||"plain"};var l=[{type:"cmnt",match:/^>.*|(=|-)\1+/gm},{type:"class",match:/\*\*((?!\*\*).)*\*\*/g},{match:/```((?!```)[^])*\n```/g,sub:e=>({type:"kwd",sub:[{match:/\n[^]*(?=```)/g,sub:e.split(`
`)[0].slice(3)||n(e)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}];var u=[{type:"insert",match:/(leanpub-start-insert)((?!leanpub-end-insert)[^])*(leanpub-end-insert)?/g,sub:[{type:"insert",match:/leanpub-(start|end)-insert/g},{match:/(?!leanpub-start-insert)((?!leanpub-end-insert)[^])*/g,sub:n}]},{type:"deleted",match:/(leanpub-start-delete)((?!leanpub-end-delete)[^])*(leanpub-end-delete)?/g,sub:[{type:"deleted",match:/leanpub-(start|end)-delete/g},{match:/(?!leanpub-start-delete)((?!leanpub-end-delete)[^])*/g,sub:n}]},...l];0&&(module.exports={});
var l=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var u=e=>l(e,"__esModule",{value:!0});var o=(e,t)=>{for(var a in t)l(e,a,{get:t[a],enumerable:!0})},d=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of c(t))!b.call(e,s)&&(a||s!=="default")&&l(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e};var h=(e=>(t,a)=>e&&e.get(t)||(a=d(u({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var T={};o(T,{default:()=>y});var f=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],m=e=>{var t;return((t=f.map(([a,...n])=>[n.reduce((s,[r,p])=>s+[...e.matchAll(r)].length*p,0),a]).filter(([a,n])=>a>10).sort((a,n)=>n[0]-a[0])[0])==null?void 0:t[1])||"plain"};var g=[{type:"cmnt",match:/^>.*|(=|-)\1+/gm},{type:"class",match:/\*\*((?!\*\*).)*\*\*/g},{match:/```((?!```)[^])*\n```/g,sub:e=>({type:"kwd",sub:[{match:/\n[^]*(?=```)/g,sub:e.split(`
`)[0].slice(3)||m(e)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}];var y=[{type:"insert",match:/(leanpub-start-insert)((?!leanpub-end-insert)[^])*(leanpub-end-insert)?/g,sub:[{type:"insert",match:/leanpub-(start|end)-insert/g},{match:/(?!leanpub-start-insert)((?!leanpub-end-insert)[^])*/g,sub:m}]},{type:"deleted",match:/(leanpub-start-delete)((?!leanpub-end-delete)[^])*(leanpub-end-delete)?/g,sub:[{type:"deleted",match:/leanpub-(start|end)-delete/g},{match:/(?!leanpub-start-delete)((?!leanpub-end-delete)[^])*/g,sub:m}]},...g];module.exports=h(T);0&&(module.exports={});

@@ -1,1 +0,1 @@

var n=Object.defineProperty;var r=e=>n(e,"__esModule",{value:!0});var o=(e,t)=>{r(e);for(var a in t)n(e,a,{get:t[a],enumerable:!0})};o(exports,{default:()=>l});var l=[{type:"cmnt",match:/^#.*/gm},{expand:"strDouble"},{expand:"num"},{type:"err",match:/\b(err(or)?|[a-z_-]*exception|warn|warning|failed|ko|invalid|not ?found|alert|fatal)\b/gi},{type:"num",match:/\b(null|undefined)\b/gi},{type:"bool",match:/\b(false|true|yes|no)\b/gi},{type:"oper",match:/\.|,/g}];0&&(module.exports={});
var r=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var m=t=>r(t,"__esModule",{value:!0});var b=(t,e)=>{for(var a in e)r(t,a,{get:e[a],enumerable:!0})},d=(t,e,a,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of p(e))!i.call(t,n)&&(a||n!=="default")&&r(t,n,{get:()=>e[n],enumerable:!(o=l(e,n))||o.enumerable});return t};var u=(t=>(e,a)=>t&&t.get(e)||(a=d(m({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var f={};b(f,{default:()=>c});var c=[{type:"cmnt",match:/^#.*/gm},{expand:"strDouble"},{expand:"num"},{type:"err",match:/\b(err(or)?|[a-z_-]*exception|warn|warning|failed|ko|invalid|not ?found|alert|fatal)\b/gi},{type:"num",match:/\b(null|undefined)\b/gi},{type:"bool",match:/\b(false|true|yes|no)\b/gi},{type:"oper",match:/\.|,/g}];module.exports=u(f);0&&(module.exports={});

@@ -1,1 +0,1 @@

var n=Object.defineProperty;var o=e=>n(e,"__esModule",{value:!0});var l=(e,t)=>{o(e);for(var a in t)n(e,a,{get:t[a],enumerable:!0})};l(exports,{default:()=>r});var r=[{match:/^#!.*|--(\[(=*)\[((?!--\]\2\])[^])*--\]\2\]|.*)/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/\b(and|break|do|else|elseif|end|for|function|if|in|local|not|or|repeat|return|then|until|while)\b/g},{type:"bool",match:/\b(true|false|nil)\b/g},{type:"oper",match:/[+*/%^#=~<>:,.-]+/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*[({])/g}];0&&(module.exports={});
var o=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=t=>o(t,"__esModule",{value:!0});var u=(t,e)=>{for(var a in e)o(t,a,{get:e[a],enumerable:!0})},b=(t,e,a,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of p(e))!c.call(t,n)&&(a||n!=="default")&&o(t,n,{get:()=>e[n],enumerable:!(l=r(e,n))||l.enumerable});return t};var f=(t=>(e,a)=>t&&t.get(e)||(a=b(d({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var i={};u(i,{default:()=>h});var h=[{match:/^#!.*|--(\[(=*)\[((?!--\]\2\])[^])*--\]\2\]|.*)/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/\b(and|break|do|else|elseif|end|for|function|if|in|local|not|or|repeat|return|then|until|while)\b/g},{type:"bool",match:/\b(true|false|nil)\b/g},{type:"oper",match:/[+*/%^#=~<>:,.-]+/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*[({])/g}];module.exports=f(i);0&&(module.exports={});

@@ -1,1 +0,1 @@

var m=Object.defineProperty;var c=t=>m(t,"__esModule",{value:!0});var p=(t,a)=>{c(t);for(var e in a)m(t,e,{get:a[e],enumerable:!0})};p(exports,{default:()=>s});var s=[{match:/^\s*#.*/gm,sub:"todo"},{expand:"str"},{type:"oper",match:/[${}()]+/g},{type:"class",match:/.PHONY:/gm},{type:"section",match:/^[\w.]+:/gm},{type:"kwd",match:/\b(ifneq|endif)\b/g},{expand:"num"},{type:"var",match:/[A-Z_]+(?=\s*=)/g},{match:/^.*$/gm,sub:"bash"}];0&&(module.exports={});
var c=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var d=a=>c(a,"__esModule",{value:!0});var n=(a,t)=>{for(var e in t)c(a,e,{get:t[e],enumerable:!0})},b=(a,t,e,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let m of h(t))!g.call(a,m)&&(e||m!=="default")&&c(a,m,{get:()=>t[m],enumerable:!(p=s(t,m))||p.enumerable});return a};var o=(a=>(t,e)=>a&&a.get(t)||(e=b(d({}),t,1),a&&a.set(t,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var r={};n(r,{default:()=>y});var y=[{match:/^\s*#.*/gm,sub:"todo"},{expand:"str"},{type:"oper",match:/[${}()]+/g},{type:"class",match:/.PHONY:/gm},{type:"section",match:/^[\w.]+:/gm},{type:"kwd",match:/\b(ifneq|endif)\b/g},{expand:"num"},{type:"var",match:/[A-Z_]+(?=\s*=)/g},{match:/^.*$/gm,sub:"bash"}];module.exports=o(r);0&&(module.exports={});

@@ -1,2 +0,2 @@

var m=Object.defineProperty;var l=t=>m(t,"__esModule",{value:!0});var r=(t,a)=>{l(t);for(var e in a)m(t,e,{get:a[e],enumerable:!0})};r(exports,{default:()=>o});var p=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],g=t=>{var a;return((a=p.map(([e,...s])=>[s.reduce((n,[c,i])=>n+[...t.matchAll(c)].length*i,0),e]).filter(([e,s])=>e>10).sort((e,s)=>s[0]-e[0])[0])==null?void 0:a[1])||"plain"};var o=[{type:"cmnt",match:/^>.*|(=|-)\1+/gm},{type:"class",match:/\*\*((?!\*\*).)*\*\*/g},{match:/```((?!```)[^])*\n```/g,sub:t=>({type:"kwd",sub:[{match:/\n[^]*(?=```)/g,sub:t.split(`
`)[0].slice(3)||g(t)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}];0&&(module.exports={});
var g=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var o=t=>g(t,"__esModule",{value:!0});var b=(t,e)=>{for(var a in e)g(t,a,{get:e[a],enumerable:!0})},f=(t,e,a,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of r(e))!p.call(t,m)&&(a||m!=="default")&&g(t,m,{get:()=>e[m],enumerable:!(s=l(e,m))||s.enumerable});return t};var h=(t=>(e,a)=>t&&t.get(e)||(a=f(o({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var y={};b(y,{default:()=>d});var u=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]]],n=t=>{var e;return((e=u.map(([a,...s])=>[s.reduce((m,[c,i])=>m+[...t.matchAll(c)].length*i,0),a]).filter(([a,s])=>a>10).sort((a,s)=>s[0]-a[0])[0])==null?void 0:e[1])||"plain"};var d=[{type:"cmnt",match:/^>.*|(=|-)\1+/gm},{type:"class",match:/\*\*((?!\*\*).)*\*\*/g},{match:/```((?!```)[^])*\n```/g,sub:t=>({type:"kwd",sub:[{match:/\n[^]*(?=```)/g,sub:t.split(`
`)[0].slice(3)||n(t)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}];module.exports=h(y);0&&(module.exports={});

@@ -1,1 +0,1 @@

var n=Object.defineProperty;var o=e=>n(e,"__esModule",{value:!0});var r=(e,t)=>{o(e);for(var a in t)n(e,a,{get:t[a],enumerable:!0})};r(exports,{default:()=>u});var u=[{match:/#.*/g,sub:"todo"},{type:"str",match:/(["'])(\\[^]|(?!\1)[^])*\1?/g},{expand:"num"},{type:"kwd",match:/\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while|not|and|or|xor)\b/g},{type:"oper",match:/[-+*/%~!&<>|=?,]+/g},{type:"func",match:/[a-z_]+(?=\s*\()/g}];0&&(module.exports={});
var o=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=t=>o(t,"__esModule",{value:!0});var d=(t,e)=>{for(var a in e)o(t,a,{get:e[a],enumerable:!0})},i=(t,e,a,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!l.call(t,n)&&(a||n!=="default")&&o(t,n,{get:()=>e[n],enumerable:!(r=u(e,n))||r.enumerable});return t};var h=(t=>(e,a)=>t&&t.get(e)||(a=i(c({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var f={};d(f,{default:()=>p});var p=[{match:/#.*/g,sub:"todo"},{type:"str",match:/(["'])(\\[^]|(?!\1)[^])*\1?/g},{expand:"num"},{type:"kwd",match:/\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while|not|and|or|xor)\b/g},{type:"oper",match:/[-+*/%~!&<>|=?,]+/g},{type:"func",match:/[a-z_]+(?=\s*\()/g}];module.exports=h(f);0&&(module.exports={});

@@ -1,1 +0,1 @@

var d=Object.defineProperty;var l=e=>d(e,"__esModule",{value:!0});var o=(e,t)=>{l(e);for(var a in t)d(e,a,{get:t[a],enumerable:!0})};o(exports,{default:()=>p});var p=[{expand:"strDouble"}];0&&(module.exports={});
var l=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var x=t=>l(t,"__esModule",{value:!0});var b=(t,e)=>{for(var a in e)l(t,a,{get:e[a],enumerable:!0})},f=(t,e,a,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let d of r(e))!u.call(t,d)&&(a||d!=="default")&&l(t,d,{get:()=>e[d],enumerable:!(o=p(e,d))||o.enumerable});return t};var n=(t=>(e,a)=>t&&t.get(e)||(a=f(x({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var D={};b(D,{default:()=>s});var s=[{expand:"strDouble"}];module.exports=n(D);0&&(module.exports={});

@@ -1,1 +0,1 @@

var s=Object.defineProperty;var o=t=>s(t,"__esModule",{value:!0});var l=(t,a)=>{o(t);for(var e in a)s(t,e,{get:a[e],enumerable:!0})};l(exports,{default:()=>c});var c=[{match:/#.*/g,sub:"todo"},{match:/("""|''')(\\[^]|(?!\1)[^])*\1?/g,sub:"todo"},{type:"str",match:/f("|')(\\[^]|(?!\1).)*\1?|f((["'])\4\4)(\\[^]|(?!\3)[^])*\3?/gi,sub:[{type:"var",match:/{[^{}]*}/g,sub:[{match:/(?!^{)[^]*(?=}$)/g,sub:"py"}]}]},{expand:"str"},{type:"kwd",match:/\b(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)\b/g},{type:"bool",match:/\b(False|True|None)\b/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*\()/g},{type:"oper",match:/[-/*+<>,=!&|^%]+/g},{type:"class",match:/\b[A-Z]\w*\b/g}];0&&(module.exports={});
var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var p=a=>o(a,"__esModule",{value:!0});var m=(a,t)=>{for(var e in t)o(a,e,{get:t[e],enumerable:!0})},n=(a,t,e,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of r(t))!b.call(a,s)&&(e||s!=="default")&&o(a,s,{get:()=>t[s],enumerable:!(l=c(t,s))||l.enumerable});return a};var h=(a=>(t,e)=>a&&a.get(t)||(e=n(p({}),t,1),a&&a.set(t,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var d={};m(d,{default:()=>i});var i=[{match:/#.*/g,sub:"todo"},{match:/("""|''')(\\[^]|(?!\1)[^])*\1?/g,sub:"todo"},{type:"str",match:/f("|')(\\[^]|(?!\1).)*\1?|f((["'])\4\4)(\\[^]|(?!\3)[^])*\3?/gi,sub:[{type:"var",match:/{[^{}]*}/g,sub:[{match:/(?!^{)[^]*(?=}$)/g,sub:"py"}]}]},{expand:"str"},{type:"kwd",match:/\b(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)\b/g},{type:"bool",match:/\b(False|True|None)\b/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*\()/g},{type:"oper",match:/[-/*+<>,=!&|^%]+/g},{type:"class",match:/\b[A-Z]\w*\b/g}];module.exports=h(d);0&&(module.exports={});

@@ -1,1 +0,1 @@

var a=Object.defineProperty;var m=t=>a(t,"__esModule",{value:!0});var d=(t,e)=>{m(t);for(var p in e)a(t,p,{get:e[p],enumerable:!0})};d(exports,{default:()=>o,type:()=>r});var o=[{match:/^(?!\/).*/gm,sub:"todo"},{type:"num",match:/\[((?!\])[^\\]|\\.)*\]/g},{type:"kwd",match:/\||\^|\$|\\.|\w+($|\r|\n)/g},{type:"var",match:/\*|\+|\{\d+,\d+\}/g}],r="oper";0&&(module.exports={type});
var m=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var g=e=>m(e,"__esModule",{value:!0});var h=(e,t)=>{for(var p in t)m(e,p,{get:t[p],enumerable:!0})},y=(e,t,p,d)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of r(t))!c.call(e,a)&&(p||a!=="default")&&m(e,a,{get:()=>t[a],enumerable:!(d=o(t,a))||d.enumerable});return e};var u=(e=>(t,p)=>e&&e.get(t)||(p=y(g({}),t,1),e&&e.set(t,p),p))(typeof WeakMap!="undefined"?new WeakMap:0);var w={};h(w,{default:()=>l,type:()=>n});var l=[{match:/^(?!\/).*/gm,sub:"todo"},{type:"num",match:/\[((?!\])[^\\]|\\.)*\]/g},{type:"kwd",match:/\||\^|\$|\\.|\w+($|\r|\n)/g},{type:"var",match:/\*|\+|\{\d+,\d+\}/g}],n="oper";module.exports=u(w);0&&(module.exports={type});

@@ -1,1 +0,1 @@

var r=Object.defineProperty;var s=e=>r(e,"__esModule",{value:!0});var n=(e,t)=>{s(e);for(var a in t)r(e,a,{get:t[a],enumerable:!0})};n(exports,{default:()=>c});var c=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(as|break|const|continue|crate|else|enum|extern|false|fn|for|if|impl|in|let|loop|match|mod|move|mut|pub|ref|return|self|Self|static|struct|super|trait|true|type|unsafe|use|where|while|async|await|dyn|abstract|become|box|do|final|macro|override|priv|typeof|unsized|virtual|yield|try)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z]\w*\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*!?\s*\()/g}];0&&(module.exports={});
var s=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var p=t=>s(t,"__esModule",{value:!0});var i=(t,e)=>{for(var a in e)s(t,a,{get:e[a],enumerable:!0})},m=(t,e,a,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of o(e))!u.call(t,r)&&(a||r!=="default")&&s(t,r,{get:()=>e[r],enumerable:!(n=c(e,r))||n.enumerable});return t};var l=(t=>(e,a)=>t&&t.get(e)||(a=m(p({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var d={};i(d,{default:()=>f});var f=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(as|break|const|continue|crate|else|enum|extern|false|fn|for|if|impl|in|let|loop|match|mod|move|mut|pub|ref|return|self|Self|static|struct|super|trait|true|type|unsafe|use|where|while|async|await|dyn|abstract|become|box|do|final|macro|override|priv|typeof|unsized|virtual|yield|try)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z]\w*\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*!?\s*\()/g}];module.exports=l(d);0&&(module.exports={});

@@ -1,1 +0,1 @@

var N=Object.defineProperty;var R=E=>N(E,"__esModule",{value:!0});var O=(E,T)=>{R(E);for(var I in T)N(E,I,{get:T[I],enumerable:!0})};O(exports,{default:()=>A});var A=[{match:/--.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"func",match:/\b(AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/g},{type:"kwd",match:/\b(ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|kwdS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/g},{type:"num",match:/\.?\d[\d.oxa-fA-F-]*|\bNULL\b/g},{type:"bool",match:/\b(TRUE|FALSE)\b/g},{type:"oper",match:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/g},{type:"var",match:/@\S+/g}];0&&(module.exports={});
var R=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var C=T=>R(T,"__esModule",{value:!0});var D=(T,E)=>{for(var I in E)R(T,I,{get:E[I],enumerable:!0})},U=(T,E,I,O)=>{if(E&&typeof E=="object"||typeof E=="function")for(let N of L(E))!S.call(T,N)&&(I||N!=="default")&&R(T,N,{get:()=>E[N],enumerable:!(O=A(E,N))||O.enumerable});return T};var M=(T=>(E,I)=>T&&T.get(E)||(I=U(C({}),E,1),T&&T.set(E,I),I))(typeof WeakMap!="undefined"?new WeakMap:0);var B={};D(B,{default:()=>P});var P=[{match:/--.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"func",match:/\b(AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/g},{type:"kwd",match:/\b(ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|kwdS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/g},{type:"num",match:/\.?\d[\d.oxa-fA-F-]*|\bNULL\b/g},{type:"bool",match:/\b(TRUE|FALSE)\b/g},{type:"oper",match:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/g},{type:"var",match:/@\S+/g}];module.exports=M(B);0&&(module.exports={});

@@ -1,1 +0,1 @@

var p=Object.defineProperty;var E=t=>p(t,"__esModule",{value:!0});var I=(t,e)=>{E(t);for(var b in e)p(t,b,{get:e[b],enumerable:!0})};I(exports,{default:()=>a,type:()=>c});var a=[{type:"err",match:/\b(TODO|FIXME|DEBUG|OPTIMIZE|WARNING|XXX|BUG)\b/g},{type:"class",match:/\bIDEA\b/g},{type:"insert",match:/\b(CHANGED|FIX|CHANGE)\b/g},{type:"oper",match:/\bQUESTION\b/g}],c="cmnt";0&&(module.exports={type});
var E=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var m=e=>E(e,"__esModule",{value:!0});var y=(e,t)=>{for(var b in t)E(e,b,{get:t[b],enumerable:!0})},G=(e,t,b,I)=>{if(t&&typeof t=="object"||typeof t=="function")for(let p of c(t))!r.call(e,p)&&(b||p!=="default")&&E(e,p,{get:()=>t[p],enumerable:!(I=a(t,p))||I.enumerable});return e};var N=(e=>(t,b)=>e&&e.get(t)||(b=G(m({}),t,1),e&&e.set(t,b),b))(typeof WeakMap!="undefined"?new WeakMap:0);var h={};y(h,{default:()=>X,type:()=>g});var X=[{type:"err",match:/\b(TODO|FIXME|DEBUG|OPTIMIZE|WARNING|XXX|BUG)\b/g},{type:"class",match:/\bIDEA\b/g},{type:"insert",match:/\b(CHANGED|FIX|CHANGE)\b/g},{type:"oper",match:/\bQUESTION\b/g}],g="cmnt";module.exports=N(h);0&&(module.exports={type});

@@ -1,1 +0,1 @@

var m=Object.defineProperty;var p=t=>m(t,"__esModule",{value:!0});var c=(t,e)=>{p(t);for(var a in e)m(t,a,{get:e[a],enumerable:!0})};c(exports,{default:()=>n});var n=[{match:/#.*/g,sub:"todo"},{type:"str",match:/("""|''')((?!\1)[^]|\\[^])*\1?/g},{expand:"str"},{type:"section",match:/^\[.+\]\s*$/gm},{type:"num",match:/\b(inf|nan)\b|\d[\d:ZT.-]*/g},{expand:"num"},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[+,.=-]/g},{type:"var",match:/\w+(?= \=)/g}];0&&(module.exports={});
var p=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var o=e=>p(e,"__esModule",{value:!0});var b=(e,t)=>{for(var a in t)p(e,a,{get:t[a],enumerable:!0})},d=(e,t,a,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let m of g(t))!h.call(e,m)&&(a||m!=="default")&&p(e,m,{get:()=>t[m],enumerable:!(c=n(t,m))||c.enumerable});return e};var r=(e=>(t,a)=>e&&e.get(t)||(a=d(o({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var y={};b(y,{default:()=>s});var s=[{match:/#.*/g,sub:"todo"},{type:"str",match:/("""|''')((?!\1)[^]|\\[^])*\1?/g},{expand:"str"},{type:"section",match:/^\[.+\]\s*$/gm},{type:"num",match:/\b(inf|nan)\b|\d[\d:ZT.-]*/g},{expand:"num"},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[+,.=-]/g},{type:"var",match:/\w+(?= \=)/g}];module.exports=r(y);0&&(module.exports={});

@@ -1,1 +0,1 @@

var c=Object.defineProperty;var n=e=>c(e,"__esModule",{value:!0});var r=(e,t)=>{n(e);for(var a in t)c(e,a,{get:t[a],enumerable:!0})};r(exports,{default:()=>o});var s=[{match:/\/\*\*((?!\*\/)[^])*(\*\/)?/g,sub:"jsdoc"},{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{match:/`((?!`)[^]|\\[^])*`?/g,sub:"js_template_literals"},{type:"kwd",match:/=>|\b(this|set|get|as|async|await|break|case|catch|class|const|constructor|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|if|implements|import|in|instanceof|interface|let|var|of|new|package|private|protected|public|return|static|super|switch|throw|throws|try|typeof|void|while|with|yield)\b/g},{match:/\/((?!\/)[^\r\n\\]|\\.)+\/[dgimsuy]*/g,sub:"regex"},{expand:"num"},{type:"num",match:/\b(NaN|null|undefined|[A-Z][A-Z_]*)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z]\w*\b/g},{type:"func",match:/[a-zA-Z$_][\w$_]*(?=\s*((\?\.)?\s*\(|=\s*(\(?[\w,{}\[\])]+\)? =>|function\b)))/g}];var o=[{type:"type",match:/:\s*(any|void|number|boolean|string|object|never|enum)\b/g},{type:"kwd",match:/\b(type|namespace|typedef|interface|public|private|protected|implements|declare|abstract|readonly)\b/g},...s];0&&(module.exports={});
var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var m=t=>n(t,"__esModule",{value:!0});var l=(t,e)=>{for(var a in e)n(t,a,{get:e[a],enumerable:!0})},u=(t,e,a,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let c of p(e))!i.call(t,c)&&(a||c!=="default")&&n(t,c,{get:()=>e[c],enumerable:!(s=o(e,c))||s.enumerable});return t};var b=(t=>(e,a)=>t&&t.get(e)||(a=u(m({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var f={};l(f,{default:()=>d});var r=[{match:/\/\*\*((?!\*\/)[^])*(\*\/)?/g,sub:"jsdoc"},{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{match:/`((?!`)[^]|\\[^])*`?/g,sub:"js_template_literals"},{type:"kwd",match:/=>|\b(this|set|get|as|async|await|break|case|catch|class|const|constructor|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|if|implements|import|in|instanceof|interface|let|var|of|new|package|private|protected|public|return|static|super|switch|throw|throws|try|typeof|void|while|with|yield)\b/g},{match:/\/((?!\/)[^\r\n\\]|\\.)+\/[dgimsuy]*/g,sub:"regex"},{expand:"num"},{type:"num",match:/\b(NaN|null|undefined|[A-Z][A-Z_]*)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z]\w*\b/g},{type:"func",match:/[a-zA-Z$_][\w$_]*(?=\s*((\?\.)?\s*\(|=\s*(\(?[\w,{}\[\])]+\)? =>|function\b)))/g}];var d=[{type:"type",match:/:\s*(any|void|number|boolean|string|object|never|enum)\b/g},{type:"kwd",match:/\b(type|namespace|typedef|interface|public|private|protected|implements|declare|abstract|readonly)\b/g},...r];module.exports=b(f);0&&(module.exports={});

@@ -1,1 +0,1 @@

var c=Object.defineProperty;var e=t=>c(t,"__esModule",{value:!0});var p=(t,m)=>{e(t);for(var a in m)c(t,a,{get:m[a],enumerable:!0})};p(exports,{default:()=>w});var w=[{match:/^#.*/gm,sub:"todo"},{type:"class",match:/^\w+(?=:?)/gm},{type:"num",match:/:\d+/g},{type:"oper",match:/[:/&?]|\w+=/g},{type:"func",match:/[.\w]+@|#[\w]+$/gm},{type:"var",match:/\w+\.\w+(\.\w+)*/g}];0&&(module.exports={});
var e=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var y=m=>e(m,"__esModule",{value:!0});var o=(m,t)=>{for(var a in t)e(m,a,{get:t[a],enumerable:!0})},u=(m,t,a,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of g(t))!h.call(m,c)&&(a||c!=="default")&&e(m,c,{get:()=>t[c],enumerable:!(p=w(t,c))||p.enumerable});return m};var d=(m=>(t,a)=>m&&m.get(t)||(a=u(y({}),t,1),m&&m.set(t,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var s={};o(s,{default:()=>r});var r=[{match:/^#.*/gm,sub:"todo"},{type:"class",match:/^\w+(?=:?)/gm},{type:"num",match:/:\d+/g},{type:"oper",match:/[:/&?]|\w+=/g},{type:"func",match:/[.\w]+@|#[\w]+$/gm},{type:"var",match:/\w+\.\w+(\.\w+)*/g}];module.exports=d(s);0&&(module.exports={});

@@ -1,1 +0,1 @@

var s=Object.defineProperty;var c=t=>s(t,"__esModule",{value:!0});var g=(t,e)=>{c(t);for(var p in e)s(t,p,{get:e[p],enumerable:!0})};g(exports,{default:()=>h,property:()=>a,xmlElement:()=>m});var a=`\\s*(\\s+[a-z-]+\\s*(=\\s*([^"']\\S*|("|')(\\\\[^]|(?!\\4)[^])*\\4?)?)?\\s*)*`,m={match:RegExp(`</?[a-z_-]+${a}/?>`,"g"),sub:[{type:"var",match:/^<\/?[^\s>\/]+/g,sub:[{type:"oper",match:/^<\/?/g}]},{type:"str",match:/=\s*([^"']\S*|("|')(\\[^]|(?!\2)[^])*\2?)/g,sub:[{type:"oper",match:/^=/g}]},{type:"oper",match:/\/?>/g},{type:"class",match:/[a-z-]+/gi}]},h=[{match:/<!--((?!-->)[^])*-->/g,sub:"todo"},{type:"class",match:RegExp(`<\\?xml${a}\\?>`,"gi"),sub:[{type:"oper",match:/^<\?|\?>$/g},{type:"str",match:/"[^"]*"|'[^']*'/g},{type:"var",match:/xml/gi}]},{type:"class",match:/<!\[CDATA\[[\s\S]*?\]\]>/gi},m,{type:"var",match:/&(#x?)?[\da-z]{1,8};/gi}];0&&(module.exports={property,xmlElement});
var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var l=a=>s(a,"__esModule",{value:!0});var o=(a,t)=>{for(var e in t)s(a,e,{get:t[e],enumerable:!0})},x=(a,t,e,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let p of r(t))!y.call(a,p)&&(e||p!=="default")&&s(a,p,{get:()=>t[p],enumerable:!(c=h(t,p))||c.enumerable});return a};var u=(a=>(t,e)=>a&&a.get(t)||(e=x(l({}),t,1),a&&a.set(t,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var i={};o(i,{default:()=>b,property:()=>m,xmlElement:()=>g});var m=`\\s*(\\s+[a-z-]+\\s*(=\\s*([^"']\\S*|("|')(\\\\[^]|(?!\\4)[^])*\\4?)?)?\\s*)*`,g={match:RegExp(`</?[a-z_-]+${m}/?>`,"g"),sub:[{type:"var",match:/^<\/?[^\s>\/]+/g,sub:[{type:"oper",match:/^<\/?/g}]},{type:"str",match:/=\s*([^"']\S*|("|')(\\[^]|(?!\2)[^])*\2?)/g,sub:[{type:"oper",match:/^=/g}]},{type:"oper",match:/\/?>/g},{type:"class",match:/[a-z-]+/gi}]},b=[{match:/<!--((?!-->)[^])*-->/g,sub:"todo"},{type:"class",match:RegExp(`<\\?xml${m}\\?>`,"gi"),sub:[{type:"oper",match:/^<\?|\?>$/g},{type:"str",match:/"[^"]*"|'[^']*'/g},{type:"var",match:/xml/gi}]},{type:"class",match:/<!\[CDATA\[[\s\S]*?\]\]>/gi},g,{type:"var",match:/&(#x?)?[\da-z]{1,8};/gi}];module.exports=u(i);0&&(module.exports={property,xmlElement});

@@ -1,1 +0,1 @@

var p=Object.defineProperty;var m=t=>p(t,"__esModule",{value:!0});var o=(t,a)=>{m(t);for(var e in a)p(t,e,{get:a[e],enumerable:!0})};o(exports,{default:()=>r});var r=[{match:/#.*/g,sub:"todo"},{expand:"str"},{type:"str",match:/(>|\|)\r?\n((\s[^\n]*)?(\r?\n|$))*/g},{type:"type",match:/!![a-z]+/g},{type:"bool",match:/\b(Yes|No)\b/g},{type:"oper",match:/[+:-]/g},{expand:"num"},{type:"var",match:/[a-zA-Z]\w*(?=:)/g}];0&&(module.exports={});
var m=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var h=a=>m(a,"__esModule",{value:!0});var n=(a,t)=>{for(var e in t)m(a,e,{get:t[e],enumerable:!0})},y=(a,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let p of c(t))!g.call(a,p)&&(e||p!=="default")&&m(a,p,{get:()=>t[p],enumerable:!(o=r(t,p))||o.enumerable});return a};var s=(a=>(t,e)=>a&&a.get(t)||(e=y(h({}),t,1),a&&a.set(t,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var d={};n(d,{default:()=>b});var b=[{match:/#.*/g,sub:"todo"},{expand:"str"},{type:"str",match:/(>|\|)\r?\n((\s[^\n]*)?(\r?\n|$))*/g},{type:"type",match:/!![a-z]+/g},{type:"bool",match:/\b(Yes|No)\b/g},{type:"oper",match:/[+:-]/g},{expand:"num"},{type:"var",match:/[a-zA-Z]\w*(?=:)/g}];module.exports=s(d);0&&(module.exports={});

@@ -1,1 +0,1 @@

var z=Object.create;var p=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty;var b=t=>p(t,"__esModule",{value:!0});var L=(t,e)=>()=>(t&&(e=t(t=0)),e);var y=(t,e)=>{b(t);for(var n in e)p(t,n,{get:e[n],enumerable:!0})},N=(t,e,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of E(e))!H.call(t,s)&&s!=="default"&&p(t,s,{get:()=>e[s],enumerable:!(n=D(e,s))||n.enumerable});return t},m=t=>N(b(p(t!=null?z(C(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var A={};y(A,{default:()=>q});var x,j,S,w,$,v,W,q,I=L(()=>{x="",j="",S="",w="",$="",v="",W="",q={deleted:x,var:x,err:x,kwd:x,num:w,class:w,cmnt:S,insert:j,str:j,bool:W,type:$,oper:$,section:v,func:v}});y(exports,{highlightText:()=>T,printHighlight:()=>M,setTheme:()=>O});var g={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};var u={};async function f(t,e,n){var s;try{let i,r,a={},o,l=[],c=0,d=typeof e=="string"?await((s=u[e])!=null?s:u[e]=Promise.resolve().then(()=>m(require(`./languages/${e}.js`)))):e,h=[...typeof e=="string"?d.default:e.sub];for(;c<t.length;){for(a.index=null,i=h.length;i-- >0;){if(r=h[i].expand?g[h[i].expand]:h[i],l[i]===void 0||l[i].match.index<c){if(r.match.lastIndex=c,o=r.match.exec(t),o===null){h.splice(i,1),l.splice(i,1);continue}l[i]={match:o,lastIndex:r.match.lastIndex}}l[i].match[0]&&(l[i].match.index<=a.index||a.index===null)&&(a={part:r,index:l[i].match.index,match:l[i].match[0],end:l[i].lastIndex})}if(a.index===null)break;n(t.slice(c,a.index),d.type),c=a.end,a.part.sub?await f(a.match,typeof a.part.sub=="string"?a.part.sub:typeof a.part.sub=="function"?a.part.sub(a.match):a.part,n):n(a.match,a.part.type)}n(t.slice(c,t.length),d.type)}catch{n(t)}}var F=Promise.resolve().then(()=>(I(),A)).default,T=async(t,e)=>{let n="",s=await s;return await f(t,e,(i,r)=>{var a;return n+=r?`${(a=s[r])!=null?a:""}${i}`:i}),n},M=async(...t)=>console.log(await T(...t)),O=async t=>F=(await Promise.resolve().then(()=>m(require(`./themes/${t}.js`)))).default;0&&(module.exports={highlightText,printHighlight,setTheme});
var E=Object.create;var p=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty;var b=t=>p(t,"__esModule",{value:!0});var M=(t,e)=>()=>(t&&(e=t(t=0)),e);var y=(t,e)=>{for(var n in e)p(t,n,{get:e[n],enumerable:!0})},g=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of N(e))!H.call(t,a)&&(n||a!=="default")&&p(t,a,{get:()=>e[a],enumerable:!(r=L(e,a))||r.enumerable});return t},m=(t,e)=>g(b(p(t!=null?E(C(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),S=(t=>(e,n)=>t&&t.get(e)||(n=g(b({}),e,1),t&&t.set(e,n),n))(typeof WeakMap!="undefined"?new WeakMap:0);var I={};y(I,{default:()=>F});var d,$,W,j,v,A,q,F,T=M(()=>{d="\x1B[31m",$="\x1B[32m",W="\x1B[90m",j="\x1B[33m",v="\x1B[34m",A="\x1B[35m",q="\x1B[36m",F={deleted:d,var:d,err:d,kwd:d,num:j,class:j,cmnt:W,insert:$,str:$,bool:q,type:v,oper:v,section:A,func:A}});var B={};y(B,{highlightText:()=>D,printHighlight:()=>O,setTheme:()=>_});var w={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};var u={};async function f(t,e,n){var r;try{let a,l,i={},x,s=[],h=0,o=typeof e=="string"?await((r=u[e])!=null?r:u[e]=Promise.resolve().then(()=>m(require(`./languages/${e}.js`)))):e,c=[...typeof e=="string"?o.default:e.sub];for(;h<t.length;){for(i.index=null,a=c.length;a-- >0;){if(l=c[a].expand?w[c[a].expand]:c[a],s[a]===void 0||s[a].match.index<h){if(l.match.lastIndex=h,x=l.match.exec(t),x===null){c.splice(a,1),s.splice(a,1);continue}s[a]={match:x,lastIndex:l.match.lastIndex}}s[a].match[0]&&(s[a].match.index<=i.index||i.index===null)&&(i={part:l,index:s[a].match.index,match:s[a].match[0],end:s[a].lastIndex})}if(i.index===null)break;n(t.slice(h,i.index),o.type),h=i.end,i.part.sub?await f(i.match,typeof i.part.sub=="string"?i.part.sub:typeof i.part.sub=="function"?i.part.sub(i.match):i.part,n):n(i.match,i.part.type)}n(t.slice(h,t.length),o.type)}catch{n(t)}}var z=Promise.resolve().then(()=>(T(),I)),D=async(t,e)=>{let n="",r=(await z).default;return await f(t,e,(a,l)=>{var i;return n+=l?`${(i=r[l])!=null?i:""}${a}\x1B[0m`:a}),n},O=async(...t)=>console.log(await D(...t)),_=async t=>z=Promise.resolve().then(()=>m(require(`./themes/${t}.js`)));module.exports=S(B);0&&(module.exports={highlightText,printHighlight,setTheme});

@@ -1,1 +0,1 @@

var r=Object.defineProperty;var c=e=>r(e,"__esModule",{value:!0});var o=(e,m)=>{c(e);for(var t in m)r(e,t,{get:m[t],enumerable:!0})};o(exports,{default:()=>u});var b="",x="",s="",n="",a="",l="",d="";var u={deleted:b,var:b,err:b,kwd:b,num:n,class:n,cmnt:s,insert:x,str:x,bool:d,type:a,oper:a,section:l,func:l};0&&(module.exports={});
var x=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var y=b=>x(b,"__esModule",{value:!0});var g=(b,e)=>{for(var m in e)x(b,m,{get:e[m],enumerable:!0})},i=(b,e,m,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of d(e))!u.call(b,t)&&(m||t!=="default")&&x(b,t,{get:()=>e[t],enumerable:!(n=s(e,t))||n.enumerable});return b};var p=(b=>(e,m)=>b&&b.get(e)||(m=i(y({}),e,1),b&&b.set(e,m),m))(typeof WeakMap!="undefined"?new WeakMap:0);var h={};g(h,{default:()=>k});var r="\x1B[31m",a="\x1B[32m",w="\x1B[90m",l="\x1B[33m",c="\x1B[34m",o="\x1B[35m",f="\x1B[36m";var k={deleted:r,var:r,err:r,kwd:r,num:l,class:l,cmnt:w,insert:a,str:a,bool:f,type:c,oper:c,section:o,func:o};module.exports=p(h);0&&(module.exports={});

@@ -1,1 +0,1 @@

var u=Object.defineProperty;var v=t=>u(t,"__esModule",{value:!0});var A=(t,i)=>()=>(t&&(i=t(t=0)),i);var I=(t,i)=>{v(t);for(var n in i)u(t,n,{get:i[n],enumerable:!0})};var w={};I(w,{default:()=>D});var p,b,T,y,g,j,z,D,$=A(()=>{p="",b="",T="",y="",g="",j="",z="",D={deleted:p,var:p,err:p,kwd:p,num:y,class:y,cmnt:T,insert:b,str:b,bool:z,type:g,oper:g,section:j,func:j}});var f={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};var o={};async function d(t,i,n){var c;try{let a,l,e={},m,s=[],r=0,x=typeof i=="string"?await((c=o[i])!=null?c:o[i]=import(`./languages/${i}.js`)):i,h=[...typeof i=="string"?x.default:i.sub];for(;r<t.length;){for(e.index=null,a=h.length;a-- >0;){if(l=h[a].expand?f[h[a].expand]:h[a],s[a]===void 0||s[a].match.index<r){if(l.match.lastIndex=r,m=l.match.exec(t),m===null){h.splice(a,1),s.splice(a,1);continue}s[a]={match:m,lastIndex:l.match.lastIndex}}s[a].match[0]&&(s[a].match.index<=e.index||e.index===null)&&(e={part:l,index:s[a].match.index,match:s[a].match[0],end:s[a].lastIndex})}if(e.index===null)break;n(t.slice(r,e.index),x.type),r=e.end,e.part.sub?await d(e.match,typeof e.part.sub=="string"?e.part.sub:typeof e.part.sub=="function"?e.part.sub(e.match):e.part,n):n(e.match,e.part.type)}n(t.slice(r,t.length),x.type)}catch{n(t)}}var E=Promise.resolve().then(()=>($(),w)).default,C=async(t,i)=>{let n="",c=await c;return await d(t,i,(a,l)=>{var e;return n+=l?`${(e=c[l])!=null?e:""}${a}`:a}),n},q=async(...t)=>console.log(await C(...t)),F=async t=>E=(await import(`./themes/${t}.js`)).default;export{C as highlightText,q as printHighlight,F as setTheme};
var v=Object.defineProperty;var A=(e,i)=>()=>(e&&(i=e(e=0)),i);var I=(e,i)=>{for(var n in i)v(e,n,{get:i[n],enumerable:!0})};var w={};I(w,{default:()=>D});var p,f,T,b,y,g,z,D,$=A(()=>{p="\x1B[31m",f="\x1B[32m",T="\x1B[90m",b="\x1B[33m",y="\x1B[34m",g="\x1B[35m",z="\x1B[36m",D={deleted:p,var:p,err:p,kwd:p,num:b,class:b,cmnt:T,insert:f,str:f,bool:z,type:y,oper:y,section:g,func:g}});var u={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};var x={};async function o(e,i,n){var c;try{let a,l,t={},m,s=[],r=0,d=typeof i=="string"?await((c=x[i])!=null?c:x[i]=import(`./languages/${i}.js`)):i,h=[...typeof i=="string"?d.default:i.sub];for(;r<e.length;){for(t.index=null,a=h.length;a-- >0;){if(l=h[a].expand?u[h[a].expand]:h[a],s[a]===void 0||s[a].match.index<r){if(l.match.lastIndex=r,m=l.match.exec(e),m===null){h.splice(a,1),s.splice(a,1);continue}s[a]={match:m,lastIndex:l.match.lastIndex}}s[a].match[0]&&(s[a].match.index<=t.index||t.index===null)&&(t={part:l,index:s[a].match.index,match:s[a].match[0],end:s[a].lastIndex})}if(t.index===null)break;n(e.slice(r,t.index),d.type),r=t.end,t.part.sub?await o(t.match,typeof t.part.sub=="string"?t.part.sub:typeof t.part.sub=="function"?t.part.sub(t.match):t.part,n):n(t.match,t.part.type)}n(e.slice(r,e.length),d.type)}catch{n(e)}}var j=Promise.resolve().then(()=>($(),w)),E=async(e,i)=>{let n="",c=(await j).default;return await o(e,i,(a,l)=>{var t;return n+=l?`${(t=c[l])!=null?t:""}${a}\x1B[0m`:a}),n},S=async(...e)=>console.log(await E(...e)),W=async e=>j=import(`./themes/${e}.js`);export{E as highlightText,S as printHighlight,W as setTheme};

@@ -1,1 +0,1 @@

var e="",b="",x="",m="",t="",r="",n="";var a={deleted:e,var:e,err:e,kwd:e,num:m,class:m,cmnt:x,insert:b,str:b,bool:n,type:t,oper:t,section:r,func:r};export{a as default};
var e="\x1B[31m",b="\x1B[32m",x="\x1B[90m",m="\x1B[33m",t="\x1B[34m",r="\x1B[35m",n="\x1B[36m";var a={deleted:e,var:e,err:e,kwd:e,num:m,class:m,cmnt:x,insert:b,str:b,bool:n,type:t,oper:t,section:r,func:r};export{a as default};

@@ -36,3 +36,3 @@ export const languages = [

'asm'
];
].sort();
export const themes = [

@@ -39,0 +39,0 @@ 'atom-dark',

{
"name": "@speed-highlight/core",
"version": "1.1.6",
"version": "1.1.7",
"description": "🌈 Light, fast, and easy to use, dependencies free javascript syntax highlighter, with automatic language detection",

@@ -5,0 +5,0 @@ "main": "dist/node/index.js",

@@ -1,2 +0,2 @@

# Speed Highlight JS
# Speed-highlight JS

@@ -51,5 +51,9 @@ Light, fast, and easy to use, dependencies free javascript syntax highlighter, with automatic language detection, [try it out here](https://speed-highlight.github.io/core/examples/)

```html
<link rel="stylesheet" href="https://unpkg.com/@speed-highlight/core/dist/themes/default.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/speed-highlight/core/dist/themes/default.css">
```
```js
import ... from 'https://unpkg.com/speed_highlight_js/dist/index.js'
import ... from 'https://cdn.jsdelivr.net/gh/matubu/speed_highlight_js/dist/index.js'
import ... from 'https://unpkg.com/@speed-highlight/core/dist/index.js'
import ... from 'https://cdn.jsdelivr.net/gh/speed-highlight/core/dist/index.js'
```

@@ -70,10 +74,10 @@

Use the [npm package](https://www.npmjs.com/package/speed_highlight_js)
Use the [npm package](https://www.npmjs.com/package/@speed-highlight/core)
```bash
npm install speed_highlight_js
npm i @speed-highlight/core
```
```js
const { setTheme, printHighlight } = require('speed_highlight_js/dist/node/term.js');
const { setTheme, printHighlight } = require('@speed-highlight/core/dist/node/term.js');

@@ -80,0 +84,0 @@ setTheme('default')

@@ -82,2 +82,7 @@ /**

/**
* @typedef {Object} HighlightOptions
* @property {boolean} [hideLineNumbers=false] - Indicates whether to hide line numbers.
*/
/**
* @async

@@ -90,12 +95,12 @@ * @function highlightText A function that highlight a string text and return it

* @param {Boolean} [multiline=true] inline mode
* @param {HighlightOptions} [opt={}] other options
* @returns {String} the highlighted as String text
*/
export async function highlightText(src, lang, multiline = true) {
let res = multiline ? `<div><div class="shj-numbers">${'<div></div>'.repeat(src.split('\n').length)}</div><div>` : '';
export async function highlightText(src, lang, multiline = true, opt = {}) {
let tmp = ''
await tokenize(src, lang, (str, type) => tmp += toSpan(sanitize(str), type))
await tokenize(src, lang, (str, type) => res += toSpan(sanitize(str), type))
if (multiline)
res += '</div></div>';
return res;
return multiline
? `<div><div class="shj-numbers">${'<div></div>'.repeat(!opt.hideLineNumbers && src.split('\n').length)}</div><div>${tmp}</div></div>`
: tmp;
}

@@ -109,4 +114,5 @@

* @param {String} [mode] can be set to inline multiline or oneline by default it's auto detected: inline if `code` tag else depends of the number of lines
* @param {HighlightOptions} [opt={}] other options
*/
export async function highlightElement(elm, lang = elm.className.match(/shj-lang-([\w-]+)/)?.[1], mode) {
export async function highlightElement(elm, lang = elm.className.match(/shj-lang-([\w-]+)/)?.[1], mode, opt) {
let txt = elm.textContent;

@@ -116,6 +122,8 @@ mode ??= `${elm.tagName == 'CODE' ? 'in' : (txt.split('\n').length < 2 ? 'one' : 'multi')}line`;

elm.className = `${[...elm.classList].filter(className => !className.startsWith('shj-') || className.startsWith('shj-mode-')).join(' ')} shj-lang-${lang} shj-${mode}`;
elm.innerHTML = await highlightText(txt, lang, mode == 'multiline');
elm.innerHTML = await highlightText(txt, lang, mode == 'multiline', opt);
}
/**
* @async
* @function highlightAll
* for all element that have a class name starting with "shj-lang-"

@@ -129,6 +137,7 @@ * this function will call highlightElement with the html element as argument

* ```
* @param {HighlightOptions} [opt={}] other options
*/
export let highlightAll = async () =>
export let highlightAll = async (opt) =>
document
.querySelectorAll('[class*="shj-lang-"]')
.forEach(elm => highlightElement(elm));
.forEach(elm => highlightElement(elm, undefined, undefined, opt))

@@ -7,8 +7,8 @@ /**

let theme = import('./themes/default.js').default;
let theme = import('./themes/default.js');
export const highlightText = async (src, lang) => {
let res = '', theme = await theme;
let res = '', themeMap = (await theme).default;
await tokenize(src, lang, (str, token) => res += token ? `${theme[token] ?? ''}${str}\x1b[0m` : str);
await tokenize(src, lang, (str, token) => res += token ? `${themeMap[token] ?? ''}${str}\x1b[0m` : str);

@@ -20,2 +20,2 @@ return res;

export const setTheme = async name => theme = (await import(`./themes/${name}.js`)).default;
export const setTheme = async name => theme = import(`./themes/${name}.js`);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc