@hep-code-runner/vue3 1.5.1 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");var oe=Object.defineProperty,se=(l,p,a)=>p in l?oe(l,p,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[p]=a,Q=(l,p,a)=>se(l,typeof p!="symbol"?p+"":p,a);let Z=null;class ie{constructor(p={}){Q(this,"baseUrl"),Q(this,"timeout"),this.baseUrl=p.pistonUrl||"/api/piston",this.timeout=p.timeout||3e3}async getRuntimes(p=!1){if(Z&&!p)return Z;try{const a=await fetch(`${this.baseUrl}/runtimes`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!a.ok)throw new Error(`Failed to fetch runtimes: ${a.statusText}`);const u=await a.json();return Z=u,u}catch(a){throw console.error("Failed to fetch runtimes:",a),a}}async execute(p,a,u={}){const h=(await this.getRuntimes()).find(f=>{var E;return f.language.toLowerCase()===p.toLowerCase()||((E=f.aliases)==null?void 0:E.some(T=>T.toLowerCase()===p.toLowerCase()))});if(!h)throw new Error(`Language '${p}' is not supported`);const y=this.getFileName(p),k={language:h.language,version:u.version||h.version,files:[{name:y,content:a}],stdin:u.stdin||"",args:u.args||[],run_timeout:u.runTimeout||this.timeout,compile_timeout:this.timeout},s=Date.now();try{const f=await fetch(`${this.baseUrl}/execute`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(k)});if(!f.ok)throw new Error(`Execute failed: ${f.statusText}`);const E=await f.json(),T=Date.now()-s,R=E.run.stdout||"",N=E.run.stderr||"";return{success:E.run.code===0,output:R,stderr:N,code:E.run.code,executionTime:T,compile:E.compile?{stdout:E.compile.stdout||"",stderr:E.compile.stderr||"",code:E.compile.code}:void 0}}catch(f){return{success:!1,output:"",stderr:f instanceof Error?f.message:"Unknown error",code:-1,executionTime:Date.now()-s}}}getFileName(p){return{javascript:"main.js",typescript:"main.ts",python:"main.py",python3:"main.py",go:"main.go",rust:"main.rs",java:"Main.java",c:"main.c",cpp:"main.cpp",csharp:"Main.cs",ruby:"main.rb",php:"main.php",bash:"main.sh",shell:"main.sh",perl:"main.pl",lua:"main.lua",swift:"main.swift",kotlin:"Main.kt",scala:"Main.scala",haskell:"main.hs",dart:"main.dart",html:"index.html",css:"style.css",sql:"query.sql",markdown:"readme.md"}[p.toLowerCase()]||`main.${p}`}}const le={javascript:'console.log("Hello, World!");',typescript:'console.log("Hello, World!");',python:'print("Hello, World!")',python3:'print("Hello, World!")',go:`package main
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");var oe=Object.defineProperty,se=(l,p,r)=>p in l?oe(l,p,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[p]=r,Q=(l,p,r)=>se(l,typeof p!="symbol"?p+"":p,r);let Z=null;class ie{constructor(p={}){Q(this,"baseUrl"),Q(this,"timeout"),this.baseUrl=p.pistonUrl||"/api/piston",this.timeout=p.timeout||3e3}async getRuntimes(p=!1){if(Z&&!p)return Z;try{const r=await fetch(`${this.baseUrl}/runtimes`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!r.ok)throw new Error(`Failed to fetch runtimes: ${r.statusText}`);const u=await r.json();return Z=u,u}catch(r){throw console.error("Failed to fetch runtimes:",r),r}}async execute(p,r,u={}){const m=(await this.getRuntimes()).find(f=>{var E;return f.language.toLowerCase()===p.toLowerCase()||((E=f.aliases)==null?void 0:E.some(T=>T.toLowerCase()===p.toLowerCase()))});if(!m)throw new Error(`Language '${p}' is not supported`);const y=this.getFileName(p),k={language:m.language,version:u.version||m.version,files:[{name:y,content:r}],stdin:u.stdin||"",args:u.args||[],run_timeout:u.runTimeout||this.timeout,compile_timeout:this.timeout},s=Date.now();try{const f=await fetch(`${this.baseUrl}/execute`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(k)});if(!f.ok)throw new Error(`Execute failed: ${f.statusText}`);const E=await f.json(),T=Date.now()-s,R=E.run.stdout||"",N=E.run.stderr||"";return{success:E.run.code===0,output:R,stderr:N,code:E.run.code,executionTime:T,compile:E.compile?{stdout:E.compile.stdout||"",stderr:E.compile.stderr||"",code:E.compile.code}:void 0}}catch(f){return{success:!1,output:"",stderr:f instanceof Error?f.message:"Unknown error",code:-1,executionTime:Date.now()-s}}}getFileName(p){return{javascript:"main.js",typescript:"main.ts",python:"main.py",python3:"main.py",go:"main.go",rust:"main.rs",java:"Main.java",c:"main.c",cpp:"main.cpp",csharp:"Main.cs",ruby:"main.rb",php:"main.php",bash:"main.sh",shell:"main.sh",perl:"main.pl",lua:"main.lua",swift:"main.swift",kotlin:"Main.kt",scala:"Main.scala",haskell:"main.hs",dart:"main.dart",html:"index.html",css:"style.css",sql:"query.sql",markdown:"readme.md"}[p.toLowerCase()]||`main.${p}`}}const le={javascript:'console.log("Hello, World!");',typescript:'console.log("Hello, World!");',python:'print("Hello, World!")',python3:'print("Hello, World!")',go:`package main
2
2
 
3
3
  import "fmt"
4
4
 
@@ -71,8 +71,14 @@ This is a sample markdown document.`};function K(l){const p=l.toLowerCase();retu
71
71
  * @author Lea Verou <https://lea.verou.me>
72
72
  * @namespace
73
73
  * @public
74
- */var a=function(u){var h=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,y=0,k={},s={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function n(t){return t instanceof f?new f(t.type,n(t.content),t.alias):Array.isArray(t)?t.map(n):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(n){return Object.prototype.toString.call(n).slice(8,-1)},objId:function(n){return n.__id||Object.defineProperty(n,"__id",{value:++y}),n.__id},clone:function n(t,r){r=r||{};var o,i;switch(s.util.type(t)){case"Object":if(i=s.util.objId(t),r[i])return r[i];o={},r[i]=o;for(var d in t)t.hasOwnProperty(d)&&(o[d]=n(t[d],r));return o;case"Array":return i=s.util.objId(t),r[i]?r[i]:(o=[],r[i]=o,t.forEach(function(b,c){o[c]=n(b,r)}),o);default:return t}},getLanguage:function(n){for(;n;){var t=h.exec(n.className);if(t)return t[1].toLowerCase();n=n.parentElement}return"none"},setLanguage:function(n,t){n.className=n.className.replace(RegExp(h,"gi"),""),n.classList.add("language-"+t)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(o){var n=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(o.stack)||[])[1];if(n){var t=document.getElementsByTagName("script");for(var r in t)if(t[r].src==n)return t[r]}return null}},isActive:function(n,t,r){for(var o="no-"+t;n;){var i=n.classList;if(i.contains(t))return!0;if(i.contains(o))return!1;n=n.parentElement}return!!r}},languages:{plain:k,plaintext:k,text:k,txt:k,extend:function(n,t){var r=s.util.clone(s.languages[n]);for(var o in t)r[o]=t[o];return r},insertBefore:function(n,t,r,o){o=o||s.languages;var i=o[n],d={};for(var b in i)if(i.hasOwnProperty(b)){if(b==t)for(var c in r)r.hasOwnProperty(c)&&(d[c]=r[c]);r.hasOwnProperty(b)||(d[b]=i[b])}var A=o[n];return o[n]=d,s.languages.DFS(s.languages,function(I,L){L===A&&I!=n&&(this[I]=d)}),d},DFS:function n(t,r,o,i){i=i||{};var d=s.util.objId;for(var b in t)if(t.hasOwnProperty(b)){r.call(t,b,t[b],o||b);var c=t[b],A=s.util.type(c);A==="Object"&&!i[d(c)]?(i[d(c)]=!0,n(c,r,null,i)):A==="Array"&&!i[d(c)]&&(i[d(c)]=!0,n(c,r,b,i))}}},plugins:{},highlightAll:function(n,t){s.highlightAllUnder(document,n,t)},highlightAllUnder:function(n,t,r){var o={callback:r,container:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",o),o.elements=Array.prototype.slice.apply(o.container.querySelectorAll(o.selector)),s.hooks.run("before-all-elements-highlight",o);for(var i=0,d;d=o.elements[i++];)s.highlightElement(d,t===!0,o.callback)},highlightElement:function(n,t,r){var o=s.util.getLanguage(n),i=s.languages[o];s.util.setLanguage(n,o);var d=n.parentElement;d&&d.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(d,o);var b=n.textContent,c={element:n,language:o,grammar:i,code:b};function A(L){c.highlightedCode=L,s.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,s.hooks.run("after-highlight",c),s.hooks.run("complete",c),r&&r.call(c.element)}if(s.hooks.run("before-sanity-check",c),d=c.element.parentElement,d&&d.nodeName.toLowerCase()==="pre"&&!d.hasAttribute("tabindex")&&d.setAttribute("tabindex","0"),!c.code){s.hooks.run("complete",c),r&&r.call(c.element);return}if(s.hooks.run("before-highlight",c),!c.grammar){A(s.util.encode(c.code));return}if(t&&u.Worker){var I=new Worker(s.filename);I.onmessage=function(L){A(L.data)},I.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else A(s.highlight(c.code,c.grammar,c.language))},highlight:function(n,t,r){var o={code:n,grammar:t,language:r};if(s.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=s.tokenize(o.code,o.grammar),s.hooks.run("after-tokenize",o),f.stringify(s.util.encode(o.tokens),o.language)},tokenize:function(n,t){var r=t.rest;if(r){for(var o in r)t[o]=r[o];delete t.rest}var i=new R;return N(i,i.head,n),T(n,i,t,i.head,0),O(i)},hooks:{all:{},add:function(n,t){var r=s.hooks.all;r[n]=r[n]||[],r[n].push(t)},run:function(n,t){var r=s.hooks.all[n];if(!(!r||!r.length))for(var o=0,i;i=r[o++];)i(t)}},Token:f};u.Prism=s;function f(n,t,r,o){this.type=n,this.content=t,this.alias=r,this.length=(o||"").length|0}f.stringify=function n(t,r){if(typeof t=="string")return t;if(Array.isArray(t)){var o="";return t.forEach(function(A){o+=n(A,r)}),o}var i={type:t.type,content:n(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},d=t.alias;d&&(Array.isArray(d)?Array.prototype.push.apply(i.classes,d):i.classes.push(d)),s.hooks.run("wrap",i);var b="";for(var c in i.attributes)b+=" "+c+'="'+(i.attributes[c]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+b+">"+i.content+"</"+i.tag+">"};function E(n,t,r,o){n.lastIndex=t;var i=n.exec(r);if(i&&o&&i[1]){var d=i[1].length;i.index+=d,i[0]=i[0].slice(d)}return i}function T(n,t,r,o,i,d){for(var b in r)if(!(!r.hasOwnProperty(b)||!r[b])){var c=r[b];c=Array.isArray(c)?c:[c];for(var A=0;A<c.length;++A){if(d&&d.cause==b+","+A)return;var I=c[A],L=I.inside,U=!!I.lookbehind,v=!!I.greedy,w=I.alias;if(v&&!I.pattern.global){var _=I.pattern.toString().match(/[imsuy]*$/)[0];I.pattern=RegExp(I.pattern.source,_+"g")}for(var H=I.pattern||I,F=o.next,D=i;F!==t.tail&&!(d&&D>=d.reach);D+=F.value.length,F=F.next){var $=F.value;if(t.length>n.length)return;if(!($ instanceof f)){var V=1,C;if(v){if(C=E(H,D,n,U),!C||C.index>=n.length)break;var G=C.index,ae=C.index+C[0].length,P=D;for(P+=F.value.length;G>=P;)F=F.next,P+=F.value.length;if(P-=F.value.length,D=P,F.value instanceof f)continue;for(var B=F;B!==t.tail&&(P<ae||typeof B.value=="string");B=B.next)V++,P+=B.value.length;V--,$=n.slice(D,P),C.index-=D}else if(C=E(H,0,$,U),!C)continue;var G=C.index,z=C[0],W=$.slice(0,G),J=$.slice(G+z.length),Y=D+$.length;d&&Y>d.reach&&(d.reach=Y);var j=F.prev;W&&(j=N(t,j,W),D+=W.length),x(t,j,V);var re=new f(b,L?s.tokenize(z,L):z,w,z);if(F=N(t,j,re),J&&N(t,F,J),V>1){var X={cause:b+","+A,reach:Y};T(n,t,r,F.prev,D,X),d&&X.reach>d.reach&&(d.reach=X.reach)}}}}}}function R(){var n={value:null,prev:null,next:null},t={value:null,prev:n,next:null};n.next=t,this.head=n,this.tail=t,this.length=0}function N(n,t,r){var o=t.next,i={value:r,prev:t,next:o};return t.next=i,o.prev=i,n.length++,i}function x(n,t,r){for(var o=t.next,i=0;i<r&&o!==n.tail;i++)o=o.next;t.next=o,o.prev=t,n.length-=i}function O(n){for(var t=[],r=n.head.next;r!==n.tail;)t.push(r.value),r=r.next;return t}if(!u.document)return u.addEventListener&&(s.disableWorkerMessageHandler||u.addEventListener("message",function(n){var t=JSON.parse(n.data),r=t.language,o=t.code,i=t.immediateClose;u.postMessage(s.highlight(o,s.languages[r],r)),i&&u.close()},!1)),s;var m=s.util.currentScript();m&&(s.filename=m.src,m.hasAttribute("data-manual")&&(s.manual=!0));function g(){s.manual||s.highlightAll()}if(!s.manual){var S=document.readyState;S==="loading"||S==="interactive"&&m&&m.defer?document.addEventListener("DOMContentLoaded",g):window.requestAnimationFrame?window.requestAnimationFrame(g):window.setTimeout(g,16)}return s}(p);l.exports&&(l.exports=a),typeof ee<"u"&&(ee.Prism=a),a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",function(u){u.type==="entity"&&(u.attributes.title=u.content.replace(/&amp;/,"&"))}),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(h,y){var k={};k["language-"+y]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[y]},k.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:k}};s["language-"+y]={pattern:/[\s\S]+/,inside:a.languages[y]};var f={};f[h]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return h}),"i"),lookbehind:!0,greedy:!0,inside:s},a.languages.insertBefore("markup","cdata",f)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(u,h){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+u+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[h,"language-"+h],inside:a.languages[h]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(u){var h=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;u.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+h.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+h.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+h.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+h.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:h,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},u.languages.css.atrule.inside.rest=u.languages.css;var y=u.languages.markup;y&&(y.tag.addInlined("style","css"),y.tag.addAttribute("style","css"))}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(){if(typeof a>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var u="Loading…",h=function(m,g){return"✖ Error "+m+" while fetching file: "+g},y="✖ Error: File does not exist or is empty",k={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",f="loading",E="loaded",T="failed",R="pre[data-src]:not(["+s+'="'+E+'"]):not(['+s+'="'+f+'"])';function N(m,g,S){var n=new XMLHttpRequest;n.open("GET",m,!0),n.onreadystatechange=function(){n.readyState==4&&(n.status<400&&n.responseText?g(n.responseText):n.status>=400?S(h(n.status,n.statusText)):S(y))},n.send(null)}function x(m){var g=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(m||"");if(g){var S=Number(g[1]),n=g[2],t=g[3];return n?t?[S,Number(t)]:[S,void 0]:[S,S]}}a.hooks.add("before-highlightall",function(m){m.selector+=", "+R}),a.hooks.add("before-sanity-check",function(m){var g=m.element;if(g.matches(R)){m.code="",g.setAttribute(s,f);var S=g.appendChild(document.createElement("CODE"));S.textContent=u;var n=g.getAttribute("data-src"),t=m.language;if(t==="none"){var r=(/\.(\w+)$/.exec(n)||[,"none"])[1];t=k[r]||r}a.util.setLanguage(S,t),a.util.setLanguage(g,t);var o=a.plugins.autoloader;o&&o.loadLanguages(t),N(n,function(i){g.setAttribute(s,E);var d=x(g.getAttribute("data-range"));if(d){var b=i.split(/\r\n?|\n/g),c=d[0],A=d[1]==null?b.length:d[1];c<0&&(c+=b.length),c=Math.max(0,Math.min(c-1,b.length)),A<0&&(A+=b.length),A=Math.max(0,Math.min(A,b.length)),i=b.slice(c,A).join(`
75
- `),g.hasAttribute("data-start")||g.setAttribute("data-start",String(c+1))}S.textContent=i,a.highlightElement(S)},function(i){g.setAttribute(s,T),S.textContent=i})}}),a.plugins.fileHighlight={highlight:function(g){for(var S=(g||document).querySelectorAll(R),n=0,t;t=S[n++];)a.highlightElement(t)}};var O=!1;a.fileHighlight=function(){O||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),O=!0),a.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(te);var ce=te.exports;const q=ue(ce);Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/});Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}});delete Prism.languages.go["class-name"];(function(l){var p=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,u={pattern:RegExp(/(^|[^\w.])/.source+a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};l.languages.java=l.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[u,{pattern:RegExp(/(^|[^\w.])/.source+a+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:u.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+a+/[A-Z]\w*\b/.source),lookbehind:!0,inside:u.inside}],keyword:p,function:[l.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),l.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),l.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":u,keyword:p,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+a+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:u.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+a+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:u.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return p.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/});Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}});Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}});Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/});delete Prism.languages.c.boolean;(function(l){for(var p=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,a=0;a<2;a++)p=p.replace(/<self>/g,function(){return p});p=p.replace(/<self>/g,function(){return/[^\s\S]/.source}),l.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+p),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},l.languages.rust["closure-params"].inside.rest=l.languages.rust,l.languages.rust.attribute.inside.string=l.languages.rust.string})(Prism);Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\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(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|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(?:ING|S)?|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/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(l){var p="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},u={bash:a,environment:{pattern:RegExp("\\$"+p),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+p),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};l.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+p),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:u},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:u},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:u.entity}}],environment:{pattern:RegExp("\\$?"+p),alias:"constant"},variable:u.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=l.languages.bash;for(var h=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],y=u.variable[1].inside,k=0;k<h.length;k++)y[h[k]]=l.languages.bash[h[k]];l.languages.sh=l.languages.bash,l.languages.shell=l.languages.bash})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;const de=`
74
+ */var r=function(u){var m=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,y=0,k={},s={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function n(t){return t instanceof f?new f(t.type,n(t.content),t.alias):Array.isArray(t)?t.map(n):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(n){return Object.prototype.toString.call(n).slice(8,-1)},objId:function(n){return n.__id||Object.defineProperty(n,"__id",{value:++y}),n.__id},clone:function n(t,a){a=a||{};var o,i;switch(s.util.type(t)){case"Object":if(i=s.util.objId(t),a[i])return a[i];o={},a[i]=o;for(var d in t)t.hasOwnProperty(d)&&(o[d]=n(t[d],a));return o;case"Array":return i=s.util.objId(t),a[i]?a[i]:(o=[],a[i]=o,t.forEach(function(b,c){o[c]=n(b,a)}),o);default:return t}},getLanguage:function(n){for(;n;){var t=m.exec(n.className);if(t)return t[1].toLowerCase();n=n.parentElement}return"none"},setLanguage:function(n,t){n.className=n.className.replace(RegExp(m,"gi"),""),n.classList.add("language-"+t)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(o){var n=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(o.stack)||[])[1];if(n){var t=document.getElementsByTagName("script");for(var a in t)if(t[a].src==n)return t[a]}return null}},isActive:function(n,t,a){for(var o="no-"+t;n;){var i=n.classList;if(i.contains(t))return!0;if(i.contains(o))return!1;n=n.parentElement}return!!a}},languages:{plain:k,plaintext:k,text:k,txt:k,extend:function(n,t){var a=s.util.clone(s.languages[n]);for(var o in t)a[o]=t[o];return a},insertBefore:function(n,t,a,o){o=o||s.languages;var i=o[n],d={};for(var b in i)if(i.hasOwnProperty(b)){if(b==t)for(var c in a)a.hasOwnProperty(c)&&(d[c]=a[c]);a.hasOwnProperty(b)||(d[b]=i[b])}var A=o[n];return o[n]=d,s.languages.DFS(s.languages,function(I,L){L===A&&I!=n&&(this[I]=d)}),d},DFS:function n(t,a,o,i){i=i||{};var d=s.util.objId;for(var b in t)if(t.hasOwnProperty(b)){a.call(t,b,t[b],o||b);var c=t[b],A=s.util.type(c);A==="Object"&&!i[d(c)]?(i[d(c)]=!0,n(c,a,null,i)):A==="Array"&&!i[d(c)]&&(i[d(c)]=!0,n(c,a,b,i))}}},plugins:{},highlightAll:function(n,t){s.highlightAllUnder(document,n,t)},highlightAllUnder:function(n,t,a){var o={callback:a,container:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",o),o.elements=Array.prototype.slice.apply(o.container.querySelectorAll(o.selector)),s.hooks.run("before-all-elements-highlight",o);for(var i=0,d;d=o.elements[i++];)s.highlightElement(d,t===!0,o.callback)},highlightElement:function(n,t,a){var o=s.util.getLanguage(n),i=s.languages[o];s.util.setLanguage(n,o);var d=n.parentElement;d&&d.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(d,o);var b=n.textContent,c={element:n,language:o,grammar:i,code:b};function A(L){c.highlightedCode=L,s.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,s.hooks.run("after-highlight",c),s.hooks.run("complete",c),a&&a.call(c.element)}if(s.hooks.run("before-sanity-check",c),d=c.element.parentElement,d&&d.nodeName.toLowerCase()==="pre"&&!d.hasAttribute("tabindex")&&d.setAttribute("tabindex","0"),!c.code){s.hooks.run("complete",c),a&&a.call(c.element);return}if(s.hooks.run("before-highlight",c),!c.grammar){A(s.util.encode(c.code));return}if(t&&u.Worker){var I=new Worker(s.filename);I.onmessage=function(L){A(L.data)},I.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else A(s.highlight(c.code,c.grammar,c.language))},highlight:function(n,t,a){var o={code:n,grammar:t,language:a};if(s.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=s.tokenize(o.code,o.grammar),s.hooks.run("after-tokenize",o),f.stringify(s.util.encode(o.tokens),o.language)},tokenize:function(n,t){var a=t.rest;if(a){for(var o in a)t[o]=a[o];delete t.rest}var i=new R;return N(i,i.head,n),T(n,i,t,i.head,0),O(i)},hooks:{all:{},add:function(n,t){var a=s.hooks.all;a[n]=a[n]||[],a[n].push(t)},run:function(n,t){var a=s.hooks.all[n];if(!(!a||!a.length))for(var o=0,i;i=a[o++];)i(t)}},Token:f};u.Prism=s;function f(n,t,a,o){this.type=n,this.content=t,this.alias=a,this.length=(o||"").length|0}f.stringify=function n(t,a){if(typeof t=="string")return t;if(Array.isArray(t)){var o="";return t.forEach(function(A){o+=n(A,a)}),o}var i={type:t.type,content:n(t.content,a),tag:"span",classes:["token",t.type],attributes:{},language:a},d=t.alias;d&&(Array.isArray(d)?Array.prototype.push.apply(i.classes,d):i.classes.push(d)),s.hooks.run("wrap",i);var b="";for(var c in i.attributes)b+=" "+c+'="'+(i.attributes[c]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+b+">"+i.content+"</"+i.tag+">"};function E(n,t,a,o){n.lastIndex=t;var i=n.exec(a);if(i&&o&&i[1]){var d=i[1].length;i.index+=d,i[0]=i[0].slice(d)}return i}function T(n,t,a,o,i,d){for(var b in a)if(!(!a.hasOwnProperty(b)||!a[b])){var c=a[b];c=Array.isArray(c)?c:[c];for(var A=0;A<c.length;++A){if(d&&d.cause==b+","+A)return;var I=c[A],L=I.inside,U=!!I.lookbehind,v=!!I.greedy,w=I.alias;if(v&&!I.pattern.global){var _=I.pattern.toString().match(/[imsuy]*$/)[0];I.pattern=RegExp(I.pattern.source,_+"g")}for(var H=I.pattern||I,F=o.next,D=i;F!==t.tail&&!(d&&D>=d.reach);D+=F.value.length,F=F.next){var $=F.value;if(t.length>n.length)return;if(!($ instanceof f)){var V=1,C;if(v){if(C=E(H,D,n,U),!C||C.index>=n.length)break;var G=C.index,re=C.index+C[0].length,P=D;for(P+=F.value.length;G>=P;)F=F.next,P+=F.value.length;if(P-=F.value.length,D=P,F.value instanceof f)continue;for(var B=F;B!==t.tail&&(P<re||typeof B.value=="string");B=B.next)V++,P+=B.value.length;V--,$=n.slice(D,P),C.index-=D}else if(C=E(H,0,$,U),!C)continue;var G=C.index,z=C[0],W=$.slice(0,G),J=$.slice(G+z.length),Y=D+$.length;d&&Y>d.reach&&(d.reach=Y);var j=F.prev;W&&(j=N(t,j,W),D+=W.length),x(t,j,V);var ae=new f(b,L?s.tokenize(z,L):z,w,z);if(F=N(t,j,ae),J&&N(t,F,J),V>1){var X={cause:b+","+A,reach:Y};T(n,t,a,F.prev,D,X),d&&X.reach>d.reach&&(d.reach=X.reach)}}}}}}function R(){var n={value:null,prev:null,next:null},t={value:null,prev:n,next:null};n.next=t,this.head=n,this.tail=t,this.length=0}function N(n,t,a){var o=t.next,i={value:a,prev:t,next:o};return t.next=i,o.prev=i,n.length++,i}function x(n,t,a){for(var o=t.next,i=0;i<a&&o!==n.tail;i++)o=o.next;t.next=o,o.prev=t,n.length-=i}function O(n){for(var t=[],a=n.head.next;a!==n.tail;)t.push(a.value),a=a.next;return t}if(!u.document)return u.addEventListener&&(s.disableWorkerMessageHandler||u.addEventListener("message",function(n){var t=JSON.parse(n.data),a=t.language,o=t.code,i=t.immediateClose;u.postMessage(s.highlight(o,s.languages[a],a)),i&&u.close()},!1)),s;var h=s.util.currentScript();h&&(s.filename=h.src,h.hasAttribute("data-manual")&&(s.manual=!0));function g(){s.manual||s.highlightAll()}if(!s.manual){var S=document.readyState;S==="loading"||S==="interactive"&&h&&h.defer?document.addEventListener("DOMContentLoaded",g):window.requestAnimationFrame?window.requestAnimationFrame(g):window.setTimeout(g,16)}return s}(p);l.exports&&(l.exports=r),typeof ee<"u"&&(ee.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(u){u.type==="entity"&&(u.attributes.title=u.content.replace(/&amp;/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(m,y){var k={};k["language-"+y]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[y]},k.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:k}};s["language-"+y]={pattern:/[\s\S]+/,inside:r.languages[y]};var f={};f[m]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return m}),"i"),lookbehind:!0,greedy:!0,inside:s},r.languages.insertBefore("markup","cdata",f)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(u,m){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+u+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[m,"language-"+m],inside:r.languages[m]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(u){var m=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;u.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+m.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+m.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+m.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+m.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:m,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},u.languages.css.atrule.inside.rest=u.languages.css;var y=u.languages.markup;y&&(y.tag.addInlined("style","css"),y.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var u="Loading…",m=function(h,g){return"✖ Error "+h+" while fetching file: "+g},y="✖ Error: File does not exist or is empty",k={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",f="loading",E="loaded",T="failed",R="pre[data-src]:not(["+s+'="'+E+'"]):not(['+s+'="'+f+'"])';function N(h,g,S){var n=new XMLHttpRequest;n.open("GET",h,!0),n.onreadystatechange=function(){n.readyState==4&&(n.status<400&&n.responseText?g(n.responseText):n.status>=400?S(m(n.status,n.statusText)):S(y))},n.send(null)}function x(h){var g=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(h||"");if(g){var S=Number(g[1]),n=g[2],t=g[3];return n?t?[S,Number(t)]:[S,void 0]:[S,S]}}r.hooks.add("before-highlightall",function(h){h.selector+=", "+R}),r.hooks.add("before-sanity-check",function(h){var g=h.element;if(g.matches(R)){h.code="",g.setAttribute(s,f);var S=g.appendChild(document.createElement("CODE"));S.textContent=u;var n=g.getAttribute("data-src"),t=h.language;if(t==="none"){var a=(/\.(\w+)$/.exec(n)||[,"none"])[1];t=k[a]||a}r.util.setLanguage(S,t),r.util.setLanguage(g,t);var o=r.plugins.autoloader;o&&o.loadLanguages(t),N(n,function(i){g.setAttribute(s,E);var d=x(g.getAttribute("data-range"));if(d){var b=i.split(/\r\n?|\n/g),c=d[0],A=d[1]==null?b.length:d[1];c<0&&(c+=b.length),c=Math.max(0,Math.min(c-1,b.length)),A<0&&(A+=b.length),A=Math.max(0,Math.min(A,b.length)),i=b.slice(c,A).join(`
75
+ `),g.hasAttribute("data-start")||g.setAttribute("data-start",String(c+1))}S.textContent=i,r.highlightElement(S)},function(i){g.setAttribute(s,T),S.textContent=i})}}),r.plugins.fileHighlight={highlight:function(g){for(var S=(g||document).querySelectorAll(R),n=0,t;t=S[n++];)r.highlightElement(t)}};var O=!1;r.fileHighlight=function(){O||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),O=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(te);var ce=te.exports;const q=ue(ce);Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/});Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}});delete Prism.languages.go["class-name"];(function(l){var p=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,u={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};l.languages.java=l.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[u,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:u.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:u.inside}],keyword:p,function:[l.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),l.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),l.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":u,keyword:p,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:u.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:u.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return p.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/});Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}});Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}});Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/});delete Prism.languages.c.boolean;(function(l){for(var p=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,r=0;r<2;r++)p=p.replace(/<self>/g,function(){return p});p=p.replace(/<self>/g,function(){return/[^\s\S]/.source}),l.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+p),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},l.languages.rust["closure-params"].inside.rest=l.languages.rust,l.languages.rust.attribute.inside.string=l.languages.rust.string})(Prism);Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\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(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|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(?:ING|S)?|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/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(l){var p="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},u={bash:r,environment:{pattern:RegExp("\\$"+p),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+p),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};l.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+p),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:u},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:u},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:u.entity}}],environment:{pattern:RegExp("\\$?"+p),alias:"constant"},variable:u.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=l.languages.bash;for(var m=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],y=u.variable[1].inside,k=0;k<m.length;k++)y[m[k]]=l.languages.bash[m[k]];l.languages.sh=l.languages.bash,l.languages.shell=l.languages.bash})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;const de=`
76
+ /* 默认代码颜色 */
77
+ .hep-cr-editor .hep-cr-highlight code,
78
+ .hep-cr-editor .hep-cr-highlight pre {
79
+ color: #f8f8f2 !important;
80
+ }
81
+
76
82
  .hep-cr-editor .token.comment,
77
83
  .hep-cr-editor .token.prolog,
78
84
  .hep-cr-editor .token.doctype,
@@ -92,6 +98,12 @@ This is a sample markdown document.`};function K(l){const p=l.toLowerCase();retu
92
98
  color: #f92672 !important;
93
99
  }
94
100
 
101
+ /* console 单独处理 - 必须是白色 */
102
+ .hep-cr-editor .token.property.console,
103
+ .hep-cr-editor .token.console {
104
+ color: #f8f8f2 !important;
105
+ }
106
+
95
107
  .hep-cr-editor .token.boolean,
96
108
  .hep-cr-editor .token.number {
97
109
  color: #ae81ff !important;
@@ -131,7 +143,28 @@ This is a sample markdown document.`};function K(l){const p=l.toLowerCase();retu
131
143
  .hep-cr-editor .token.important {
132
144
  color: #fd971f !important;
133
145
  }
146
+
147
+ /* 覆盖用户项目的 text-shadow 样式,避免白边 */
148
+ .hep-cr-editor code[class*="language-"],
149
+ .hep-cr-editor pre[class*="language-"],
150
+ .hep-cr-editor .hep-cr-highlight code,
151
+ .hep-cr-editor .hep-cr-highlight pre {
152
+ text-shadow: none !important;
153
+ }
154
+
155
+ /* 覆盖 console 等内置对象 - 使用最高特异性 */
156
+ .hep-cr-editor .hep-cr-highlight .token.console,
157
+ .hep-cr-editor code.token.console,
158
+ .hep-cr-editor .token.console {
159
+ color: #f8f8f2 !important;
160
+ }
134
161
  `,pe=`
162
+ /* 默认代码颜色 */
163
+ .hep-cr-editor .hep-cr-highlight code,
164
+ .hep-cr-editor .hep-cr-highlight pre {
165
+ color: #333 !important;
166
+ }
167
+
135
168
  .hep-cr-editor .token.comment,
136
169
  .hep-cr-editor .token.prolog,
137
170
  .hep-cr-editor .token.doctype,
@@ -189,4 +222,17 @@ This is a sample markdown document.`};function K(l){const p=l.toLowerCase();retu
189
222
  .hep-cr-editor .token.important {
190
223
  color: #e36209;
191
224
  }
192
- `,ge=["innerHTML"],me=["value","disabled"],he=e.defineComponent({__name:"CodeEditor",props:{modelValue:{},language:{},theme:{default:"dark"},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:p}){e.useCssVars(m=>({v6d72dafb:E.value})),typeof window<"u"&&(window.Prism=q);function a(m){if(typeof document>"u")return;const g="hep-cr-prism-styles",S=document.getElementById(g),n=m==="dark"?de:pe;S&&S.remove();const t=document.createElement("style");t.id=g,t.textContent=n,document.head.appendChild(t)}const u=l,h=p,y=e.ref(null),k=e.ref(null),s={javascript:"javascript",js:"javascript",typescript:"typescript",ts:"typescript",python:"python",py:"python",java:"java",c:"c",cpp:"cpp","c++":"cpp",csharp:"csharp","c#":"csharp",go:"go",golang:"go",rust:"rust",ruby:"ruby",rb:"ruby",php:"php",swift:"swift",kotlin:"kotlin",kt:"kotlin",sql:"sql",bash:"bash",sh:"bash",shell:"bash",json:"json",yaml:"yaml",yml:"yaml",markdown:"markdown",md:"markdown"},f=e.computed(()=>s[u.language.toLowerCase()]||"javascript"),E=e.computed(()=>u.theme==="dark"?"#1e1e1e":"#fafafa"),T=e.computed(()=>{try{const m=q.languages[f.value];if(m)return q.highlight(u.modelValue||"",m,f.value)}catch{}return R(u.modelValue||"")});function R(m){const g=document.createElement("div");return g.textContent=m,g.innerHTML}function N(m){const g=m.target;h("update:modelValue",g.value)}function x(){y.value&&k.value&&(k.value.scrollTop=y.value.scrollTop,k.value.scrollLeft=y.value.scrollLeft)}function O(m){if(m.key==="Tab"){m.preventDefault();const g=m.target,S=g.selectionStart,n=g.selectionEnd,t=g.value;g.value=t.substring(0,S)+" "+t.substring(n),g.selectionStart=g.selectionEnd=S+2,h("update:modelValue",g.value)}}return e.onMounted(()=>{a(u.theme)}),e.watch(()=>u.theme,m=>{a(m)}),(m,g)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hep-cr-editor",`hep-cr-theme-${l.theme}`])},[e.createElementVNode("pre",{ref_key:"highlightRef",ref:k,class:e.normalizeClass(["hep-cr-highlight",[`language-${f.value}`,`hep-cr-prism-${l.theme}`]]),"aria-hidden":"true"},[e.createElementVNode("code",{innerHTML:T.value},null,8,ge)],2),e.createElementVNode("textarea",{ref_key:"codeRef",ref:y,class:"hep-cr-input",value:l.modelValue,disabled:l.disabled,onInput:N,onScroll:x,onKeydown:O,spellcheck:"false",placeholder:"Write your code here..."},null,40,me)],2))}}),ne=(l,p)=>{const a=l.__vccOpts||l;for(const[u,h]of p)a[u]=h;return a},fe=ne(he,[["__scopeId","data-v-bf752fa5"]]),Ee={class:"hep-cr-header"},be={class:"hep-cr-controls"},ve=["disabled"],ye={key:0,value:""},ke=["value"],Se={class:"hep-cr-actions"},Ae=["disabled"],we={key:0,class:"hep-cr-spinner"},Te={key:1,class:"hep-cr-run-icon"},Ne=["title"],Ie={key:0,class:"hep-cr-error"},_e={class:"hep-cr-main"},Fe={class:"hep-cr-panel-header"},Re={class:"hep-cr-language-badge"},xe={class:"hep-cr-panel-header"},Oe={class:"hep-cr-output-tabs"},Le={class:"hep-cr-output-actions"},Ce={key:0,class:"hep-cr-execution-time"},De={class:"hep-cr-output-content"},Pe={key:0},$e={key:1,class:"hep-cr-stderr"},Be=e.defineComponent({__name:"CodeRunner",props:{pistonUrl:{default:"/api/piston"},language:{default:"javascript"},theme:{default:"light"},showLanguageSelector:{type:Boolean,default:!0},showEditor:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},defaultCode:{},executorLabel:{default:"运行"}},emits:["execute-start","execute-end","language-change"],setup(l,{emit:p}){const a=l,u=p,h=e.ref([]),y=e.ref(a.language),k=e.ref(a.theme),s=e.ref(""),f=e.ref(""),E=e.ref(""),T=e.ref(!1),R=e.ref(null),N=e.ref("stdout"),x=e.ref(null),O=e.ref(!1),m=e.ref(60);function g(){k.value=k.value==="light"?"dark":"light"}const S=e.computed(()=>new ie({pistonUrl:a.pistonUrl})),n=e.computed(()=>h.value.map(v=>({value:`${v.language}:${v.version}`,label:`${v.language.charAt(0).toUpperCase()+v.language.slice(1)} ${v.version}`}))),t=e.computed(()=>{const v=y.value;return v.includes(":")?v.split(":")[0]:v});async function r(){O.value=!0,x.value=null;try{h.value=await S.value.getRuntimes()}catch(v){x.value=v instanceof Error?v.message:"Failed to load runtimes"}finally{O.value=!1}}e.watch(y,v=>{const w=v.includes(":")?v.split(":")[0]:v,_=K(w);s.value=_,u("language-change",w,_)});async function o(){if(!T.value){T.value=!0,f.value="",E.value="",R.value=null,x.value=null,N.value="stdout",u("execute-start");try{const v=await S.value.execute(t.value,s.value);f.value=v.output,E.value=v.stderr,R.value=v.executionTime||null,N.value=v.stderr?"stderr":"stdout",u("execute-end",v)}catch(v){x.value=v instanceof Error?v.message:"Execution failed",u("execute-end",{success:!1,output:"",stderr:x.value,code:-1})}finally{T.value=!1}}}function i(){f.value="",E.value="",R.value=null,x.value=null}async function d(){const v=N.value==="stdout"?f.value:E.value;await navigator.clipboard.writeText(v)}function b(){s.value=K(t.value)}let c=!1;function A(v){c=!0,document.addEventListener("mousemove",I),document.addEventListener("mouseup",L),document.body.style.cursor="col-resize",document.body.style.userSelect="none"}function I(v){if(!c)return;const w=document.querySelector(".hep-cr-main");if(!w)return;const _=w.getBoundingClientRect(),H=(v.clientX-_.left)/_.width*100;m.value=Math.max(20,Math.min(80,H))}function L(){c=!1,document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",L),document.body.style.cursor="",document.body.style.userSelect=""}e.onMounted(async()=>{await r(),s.value||(s.value=a.defaultCode||K(y.value))});const U=e.computed(()=>`hep-cr-runner-${k.value}`);return(v,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hep-cr-runner",U.value])},[e.createElementVNode("div",Ee,[e.createElementVNode("div",be,[l.showLanguageSelector?e.withDirectives((e.openBlock(),e.createElementBlock("select",{key:0,"onUpdate:modelValue":w[0]||(w[0]=_=>y.value=_),class:"hep-cr-language-select",disabled:T.value},[O.value?(e.openBlock(),e.createElementBlock("option",ye,"加载中...")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,_=>(e.openBlock(),e.createElementBlock("option",{key:_.value,value:_.value},e.toDisplayString(_.label),9,ke))),128))],8,ve)),[[e.vModelSelect,y.value]]):e.createCommentVNode("",!0)]),e.createElementVNode("div",Se,[e.createElementVNode("button",{class:"hep-cr-btn hep-cr-btn-run",disabled:T.value||O.value,onClick:o},[T.value?(e.openBlock(),e.createElementBlock("span",we)):(e.openBlock(),e.createElementBlock("span",Te,"▶")),e.createTextVNode(" "+e.toDisplayString(T.value?"运行中...":l.executorLabel),1)],8,Ae),l.showEditor&&l.editable?(e.openBlock(),e.createElementBlock("button",{key:0,class:"hep-cr-btn hep-cr-btn-reset",onClick:b}," 重置 ")):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"hep-cr-btn hep-cr-btn-theme",onClick:g,title:k.value==="light"?"Switch to dark mode":"Switch to light mode"},e.toDisplayString(k.value==="light"?"🌙":"☀️"),9,Ne)])]),x.value?(e.openBlock(),e.createElementBlock("div",Ie,e.toDisplayString(x.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",_e,[l.showEditor?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hep-cr-editor-panel",style:e.normalizeStyle({width:m.value+"%"})},[e.createElementVNode("div",Fe,[w[4]||(w[4]=e.createElementVNode("span",{class:"hep-cr-panel-title"},"编辑器",-1)),e.createElementVNode("span",Re,e.toDisplayString(t.value),1)]),e.createVNode(fe,{modelValue:s.value,"onUpdate:modelValue":w[1]||(w[1]=_=>s.value=_),language:t.value,theme:k.value,disabled:!l.editable||T.value},null,8,["modelValue","language","theme","disabled"])],4)):e.createCommentVNode("",!0),l.showEditor?(e.openBlock(),e.createElementBlock("div",{key:1,class:"hep-cr-resize-handle",onMousedown:A},[...w[5]||(w[5]=[e.createElementVNode("div",{class:"hep-cr-resize-line"},null,-1)])],32)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"hep-cr-output-panel",style:e.normalizeStyle({width:l.showEditor?100-m.value+"%":"100%"})},[e.createElementVNode("div",xe,[e.createElementVNode("div",Oe,[e.createElementVNode("button",{class:e.normalizeClass(["hep-cr-tab",{active:N.value==="stdout"}]),onClick:w[2]||(w[2]=_=>N.value="stdout")}," 输出 ",2),E.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(["hep-cr-tab",{active:N.value==="stderr"}]),onClick:w[3]||(w[3]=_=>N.value="stderr")}," 错误 ",2)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Le,[R.value!==null?(e.openBlock(),e.createElementBlock("span",Ce,e.toDisplayString(R.value)+"ms ",1)):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"hep-cr-btn-icon",onClick:d,title:"复制"},[...w[6]||(w[6]=[e.createElementVNode("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElementVNode("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})],-1)])]),e.createElementVNode("button",{class:"hep-cr-btn-icon",onClick:i,title:"清除"},[...w[7]||(w[7]=[e.createElementVNode("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("polyline",{points:"3 6 5 6 21 6"}),e.createElementVNode("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})],-1)])])])]),e.createElementVNode("div",De,[N.value==="stdout"?(e.openBlock(),e.createElementBlock("pre",Pe,e.toDisplayString(f.value||'点击"运行"执行代码'),1)):(e.openBlock(),e.createElementBlock("pre",$e,e.toDisplayString(E.value),1))])],4)])],2))}}),M=ne(Be,[["__scopeId","data-v-f4bf7f21"]]),Me={class:"hep-cr-dialog-header"},Ue={class:"hep-cr-dialog-title"},He={class:"hep-cr-dialog-body"},Ve={key:0,class:"hep-cr-dialog-footer"},Ge=e.defineComponent({__name:"CodeRunnerDialog",props:{modelValue:{type:Boolean,default:!1},title:{default:"代码执行器"},width:{default:800},pistonUrl:{default:"/api/piston"},language:{default:"javascript"},theme:{default:"light"},showLanguageSelector:{type:Boolean,default:!0},showEditor:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},defaultCode:{},executorLabel:{default:"运行"}},emits:["update:modelValue","close"],setup(l,{expose:p,emit:a}){const u=l,h=a,y=e.ref(u.modelValue),k=e.computed(()=>u.modelValue!==void 0?u.modelValue:y.value);e.watch(()=>u.modelValue,E=>{E!==void 0&&(y.value=E)});function s(){y.value=!1,h("update:modelValue",!1),h("close")}function f(E){E.target===E.currentTarget&&s()}return p({close:s}),(E,T)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"hep-cr-dialog-fade"},{default:e.withCtx(()=>[k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hep-cr-dialog-overlay",onClick:f},[e.createElementVNode("div",{class:"hep-cr-dialog-container",style:e.normalizeStyle({width:typeof l.width=="number"?l.width+"px":l.width})},[e.createElementVNode("div",Me,[e.createElementVNode("h3",Ue,e.toDisplayString(l.title),1),e.createElementVNode("button",{class:"hep-cr-dialog-close",onClick:s},[...T[0]||(T[0]=[e.createElementVNode("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.createElementVNode("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])])]),e.createElementVNode("div",He,[e.createVNode(M,e.normalizeProps(e.guardReactiveProps(E.$attrs)),null,16)]),E.$slots.footer?(e.openBlock(),e.createElementBlock("div",Ve,[e.renderSlot(E.$slots,"footer",{close:s})])):e.createCommentVNode("",!0)],4)])):e.createCommentVNode("",!0)]),_:3})]))}});M.install=l=>{l.component("CodeRunner",M)};const ze={install(l){l.component("CodeRunner",M)}};exports.CodeRunner=M;exports.CodeRunnerDialog=Ge;exports.default=ze;
225
+
226
+ /* 覆盖用户项目的 text-shadow 样式,避免白边 */
227
+ .hep-cr-editor code[class*="language-"],
228
+ .hep-cr-editor pre[class*="language-"],
229
+ .hep-cr-editor .hep-cr-highlight code,
230
+ .hep-cr-editor .hep-cr-highlight pre {
231
+ text-shadow: none !important;
232
+ }
233
+
234
+ /* 覆盖 console 等内置对象 */
235
+ .hep-cr-editor .token.console {
236
+ color: #333 !important;
237
+ }
238
+ `,ge=["innerHTML"],he=["value","disabled"],me=e.defineComponent({__name:"CodeEditor",props:{modelValue:{},language:{},theme:{default:"dark"},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:p}){e.useCssVars(h=>({v6d72dafb:E.value})),typeof window<"u"&&(window.Prism=q);function r(h){if(typeof document>"u")return;const g="hep-cr-prism-styles",S=document.getElementById(g),n=h==="dark"?de:pe;S&&S.remove();const t=document.createElement("style");t.id=g,t.textContent=n,document.head.appendChild(t)}const u=l,m=p,y=e.ref(null),k=e.ref(null),s={javascript:"javascript",js:"javascript",typescript:"typescript",ts:"typescript",python:"python",py:"python",java:"java",c:"c",cpp:"cpp","c++":"cpp",csharp:"csharp","c#":"csharp",go:"go",golang:"go",rust:"rust",ruby:"ruby",rb:"ruby",php:"php",swift:"swift",kotlin:"kotlin",kt:"kotlin",sql:"sql",bash:"bash",sh:"bash",shell:"bash",json:"json",yaml:"yaml",yml:"yaml",markdown:"markdown",md:"markdown"},f=e.computed(()=>s[u.language.toLowerCase()]||"javascript"),E=e.computed(()=>u.theme==="dark"?"#1e1e1e":"#fafafa"),T=e.computed(()=>{try{const h=q.languages[f.value];if(h)return q.highlight(u.modelValue||"",h,f.value)}catch{}return R(u.modelValue||"")});function R(h){const g=document.createElement("div");return g.textContent=h,g.innerHTML}function N(h){const g=h.target;m("update:modelValue",g.value)}function x(){y.value&&k.value&&(k.value.scrollTop=y.value.scrollTop,k.value.scrollLeft=y.value.scrollLeft)}function O(h){if(h.key==="Tab"){h.preventDefault();const g=h.target,S=g.selectionStart,n=g.selectionEnd,t=g.value;g.value=t.substring(0,S)+" "+t.substring(n),g.selectionStart=g.selectionEnd=S+2,m("update:modelValue",g.value)}}return e.onMounted(()=>{r(u.theme)}),e.watch(()=>u.theme,h=>{r(h)}),(h,g)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hep-cr-editor",`hep-cr-theme-${l.theme}`])},[e.createElementVNode("pre",{ref_key:"highlightRef",ref:k,class:e.normalizeClass(["hep-cr-highlight",[`language-${f.value}`,`hep-cr-prism-${l.theme}`]]),"aria-hidden":"true"},[e.createElementVNode("code",{innerHTML:T.value},null,8,ge)],2),e.createElementVNode("textarea",{ref_key:"codeRef",ref:y,class:"hep-cr-input",value:l.modelValue,disabled:l.disabled,onInput:N,onScroll:x,onKeydown:O,spellcheck:"false",placeholder:"Write your code here..."},null,40,he)],2))}}),ne=(l,p)=>{const r=l.__vccOpts||l;for(const[u,m]of p)r[u]=m;return r},fe=ne(me,[["__scopeId","data-v-bf752fa5"]]),Ee={class:"hep-cr-header"},be={class:"hep-cr-controls"},ve=["disabled"],ye={key:0,value:""},ke=["value"],Se={class:"hep-cr-actions"},Ae=["disabled"],we={key:0,class:"hep-cr-spinner"},Te={key:1,class:"hep-cr-run-icon"},Ne=["title"],Ie={key:0,class:"hep-cr-error"},_e={class:"hep-cr-main"},Fe={class:"hep-cr-panel-header"},Re={class:"hep-cr-language-badge"},xe={class:"hep-cr-panel-header"},Oe={class:"hep-cr-output-tabs"},Le={class:"hep-cr-output-actions"},Ce={key:0,class:"hep-cr-execution-time"},De={class:"hep-cr-output-content"},Pe={key:0},$e={key:1,class:"hep-cr-stderr"},Be=e.defineComponent({__name:"CodeRunner",props:{pistonUrl:{default:"/api/piston"},language:{default:"javascript"},theme:{default:"light"},showLanguageSelector:{type:Boolean,default:!0},showEditor:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},defaultCode:{},executorLabel:{default:"运行"}},emits:["execute-start","execute-end","language-change"],setup(l,{emit:p}){const r=l,u=p,m=e.ref([]),y=e.ref(r.language),k=e.ref(r.theme),s=e.ref(""),f=e.ref(""),E=e.ref(""),T=e.ref(!1),R=e.ref(null),N=e.ref("stdout"),x=e.ref(null),O=e.ref(!1),h=e.ref(60);function g(){k.value=k.value==="light"?"dark":"light"}const S=e.computed(()=>new ie({pistonUrl:r.pistonUrl})),n=e.computed(()=>m.value.map(v=>({value:`${v.language}:${v.version}`,label:`${v.language.charAt(0).toUpperCase()+v.language.slice(1)} ${v.version}`}))),t=e.computed(()=>{const v=y.value;return v.includes(":")?v.split(":")[0]:v});async function a(){O.value=!0,x.value=null;try{m.value=await S.value.getRuntimes()}catch(v){x.value=v instanceof Error?v.message:"Failed to load runtimes"}finally{O.value=!1}}e.watch(y,v=>{const w=v.includes(":")?v.split(":")[0]:v,_=K(w);s.value=_,u("language-change",w,_)});async function o(){if(!T.value){T.value=!0,f.value="",E.value="",R.value=null,x.value=null,N.value="stdout",u("execute-start");try{const v=await S.value.execute(t.value,s.value);f.value=v.output,E.value=v.stderr,R.value=v.executionTime||null,N.value=v.stderr?"stderr":"stdout",u("execute-end",v)}catch(v){x.value=v instanceof Error?v.message:"Execution failed",u("execute-end",{success:!1,output:"",stderr:x.value,code:-1})}finally{T.value=!1}}}function i(){f.value="",E.value="",R.value=null,x.value=null}async function d(){const v=N.value==="stdout"?f.value:E.value;await navigator.clipboard.writeText(v)}function b(){s.value=K(t.value)}let c=!1;function A(v){c=!0,document.addEventListener("mousemove",I),document.addEventListener("mouseup",L),document.body.style.cursor="col-resize",document.body.style.userSelect="none"}function I(v){if(!c)return;const w=document.querySelector(".hep-cr-main");if(!w)return;const _=w.getBoundingClientRect(),H=(v.clientX-_.left)/_.width*100;h.value=Math.max(20,Math.min(80,H))}function L(){c=!1,document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",L),document.body.style.cursor="",document.body.style.userSelect=""}e.onMounted(async()=>{await a(),s.value||(s.value=r.defaultCode||K(y.value))});const U=e.computed(()=>`hep-cr-runner-${k.value}`);return(v,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hep-cr-runner",U.value])},[e.createElementVNode("div",Ee,[e.createElementVNode("div",be,[l.showLanguageSelector?e.withDirectives((e.openBlock(),e.createElementBlock("select",{key:0,"onUpdate:modelValue":w[0]||(w[0]=_=>y.value=_),class:"hep-cr-language-select",disabled:T.value},[O.value?(e.openBlock(),e.createElementBlock("option",ye,"加载中...")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,_=>(e.openBlock(),e.createElementBlock("option",{key:_.value,value:_.value},e.toDisplayString(_.label),9,ke))),128))],8,ve)),[[e.vModelSelect,y.value]]):e.createCommentVNode("",!0)]),e.createElementVNode("div",Se,[e.createElementVNode("button",{class:"hep-cr-btn hep-cr-btn-run",disabled:T.value||O.value,onClick:o},[T.value?(e.openBlock(),e.createElementBlock("span",we)):(e.openBlock(),e.createElementBlock("span",Te,"▶")),e.createTextVNode(" "+e.toDisplayString(T.value?"运行中...":l.executorLabel),1)],8,Ae),l.showEditor&&l.editable?(e.openBlock(),e.createElementBlock("button",{key:0,class:"hep-cr-btn hep-cr-btn-reset",onClick:b}," 重置 ")):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"hep-cr-btn hep-cr-btn-theme",onClick:g,title:k.value==="light"?"Switch to dark mode":"Switch to light mode"},e.toDisplayString(k.value==="light"?"🌙":"☀️"),9,Ne)])]),x.value?(e.openBlock(),e.createElementBlock("div",Ie,e.toDisplayString(x.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",_e,[l.showEditor?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hep-cr-editor-panel",style:e.normalizeStyle({width:h.value+"%"})},[e.createElementVNode("div",Fe,[w[4]||(w[4]=e.createElementVNode("span",{class:"hep-cr-panel-title"},"编辑器",-1)),e.createElementVNode("span",Re,e.toDisplayString(t.value),1)]),e.createVNode(fe,{modelValue:s.value,"onUpdate:modelValue":w[1]||(w[1]=_=>s.value=_),language:t.value,theme:k.value,disabled:!l.editable||T.value},null,8,["modelValue","language","theme","disabled"])],4)):e.createCommentVNode("",!0),l.showEditor?(e.openBlock(),e.createElementBlock("div",{key:1,class:"hep-cr-resize-handle",onMousedown:A},[...w[5]||(w[5]=[e.createElementVNode("div",{class:"hep-cr-resize-line"},null,-1)])],32)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"hep-cr-output-panel",style:e.normalizeStyle({width:l.showEditor?100-h.value+"%":"100%"})},[e.createElementVNode("div",xe,[e.createElementVNode("div",Oe,[e.createElementVNode("button",{class:e.normalizeClass(["hep-cr-tab",{active:N.value==="stdout"}]),onClick:w[2]||(w[2]=_=>N.value="stdout")}," 输出 ",2),E.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(["hep-cr-tab",{active:N.value==="stderr"}]),onClick:w[3]||(w[3]=_=>N.value="stderr")}," 错误 ",2)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Le,[R.value!==null?(e.openBlock(),e.createElementBlock("span",Ce,e.toDisplayString(R.value)+"ms ",1)):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"hep-cr-btn-icon",onClick:d,title:"复制"},[...w[6]||(w[6]=[e.createElementVNode("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElementVNode("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})],-1)])]),e.createElementVNode("button",{class:"hep-cr-btn-icon",onClick:i,title:"清除"},[...w[7]||(w[7]=[e.createElementVNode("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("polyline",{points:"3 6 5 6 21 6"}),e.createElementVNode("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})],-1)])])])]),e.createElementVNode("div",De,[N.value==="stdout"?(e.openBlock(),e.createElementBlock("pre",Pe,e.toDisplayString(f.value||'点击"运行"执行代码'),1)):(e.openBlock(),e.createElementBlock("pre",$e,e.toDisplayString(E.value),1))])],4)])],2))}}),M=ne(Be,[["__scopeId","data-v-f4bf7f21"]]),Me={class:"hep-cr-dialog-header"},Ue={class:"hep-cr-dialog-title"},He={class:"hep-cr-dialog-body"},Ve={key:0,class:"hep-cr-dialog-footer"},Ge=e.defineComponent({__name:"CodeRunnerDialog",props:{modelValue:{type:Boolean,default:!1},title:{default:"代码执行器"},width:{default:800},pistonUrl:{default:"/api/piston"},language:{default:"javascript"},theme:{default:"light"},showLanguageSelector:{type:Boolean,default:!0},showEditor:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},defaultCode:{},executorLabel:{default:"运行"}},emits:["update:modelValue","close"],setup(l,{expose:p,emit:r}){const u=l,m=r,y=e.ref(u.modelValue),k=e.computed(()=>u.modelValue!==void 0?u.modelValue:y.value);e.watch(()=>u.modelValue,E=>{E!==void 0&&(y.value=E)});function s(){y.value=!1,m("update:modelValue",!1),m("close")}function f(E){E.target===E.currentTarget&&s()}return p({close:s}),(E,T)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"hep-cr-dialog-fade"},{default:e.withCtx(()=>[k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hep-cr-dialog-overlay",onClick:f},[e.createElementVNode("div",{class:"hep-cr-dialog-container",style:e.normalizeStyle({width:typeof l.width=="number"?l.width+"px":l.width})},[e.createElementVNode("div",Me,[e.createElementVNode("h3",Ue,e.toDisplayString(l.title),1),e.createElementVNode("button",{class:"hep-cr-dialog-close",onClick:s},[...T[0]||(T[0]=[e.createElementVNode("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.createElementVNode("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])])]),e.createElementVNode("div",He,[e.createVNode(M,e.normalizeProps(e.guardReactiveProps(E.$attrs)),null,16)]),E.$slots.footer?(e.openBlock(),e.createElementBlock("div",Ve,[e.renderSlot(E.$slots,"footer",{close:s})])):e.createCommentVNode("",!0)],4)])):e.createCommentVNode("",!0)]),_:3})]))}});M.install=l=>{l.component("CodeRunner",M)};const ze={install(l){l.component("CodeRunner",M)}};exports.CodeRunner=M;exports.CodeRunnerDialog=Ge;exports.default=ze;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as ie, useCssVars as be, ref as N, computed as G, onMounted as pe, watch as le, openBlock as _, createElementBlock as R, normalizeClass as W, createElementVNode as E, withDirectives as Ee, createCommentVNode as U, Fragment as ve, renderList as ye, toDisplayString as H, vModelSelect as Ae, createTextVNode as Se, normalizeStyle as se, createVNode as oe, createBlock as ke, Teleport as we, Transition as Te, withCtx as Ie, normalizeProps as Fe, guardReactiveProps as _e, renderSlot as Re } from "vue";
1
+ import { defineComponent as ie, useCssVars as be, ref as N, computed as G, onMounted as pe, watch as le, openBlock as _, createElementBlock as R, normalizeClass as W, createElementVNode as E, withDirectives as Ee, createCommentVNode as U, Fragment as ve, renderList as ye, toDisplayString as H, vModelSelect as Ae, createTextVNode as Se, normalizeStyle as oe, createVNode as se, createBlock as ke, Teleport as we, Transition as Te, withCtx as Ie, normalizeProps as Fe, guardReactiveProps as _e, renderSlot as Re } from "vue";
2
2
  var xe = Object.defineProperty, Oe = (i, d, n) => d in i ? xe(i, d, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[d] = n, ce = (i, d, n) => Oe(i, typeof d != "symbol" ? d + "" : d, n);
3
3
  let ne = null;
4
4
  class Le {
@@ -45,7 +45,7 @@ class Le {
45
45
  args: l.args || [],
46
46
  run_timeout: l.runTimeout || this.timeout,
47
47
  compile_timeout: this.timeout
48
- }, s = Date.now();
48
+ }, o = Date.now();
49
49
  try {
50
50
  const f = await fetch(`${this.baseUrl}/execute`, {
51
51
  method: "POST",
@@ -56,7 +56,7 @@ class Le {
56
56
  });
57
57
  if (!f.ok)
58
58
  throw new Error(`Execute failed: ${f.statusText}`);
59
- const m = await f.json(), T = Date.now() - s, L = m.run.stdout || "", I = m.run.stderr || "";
59
+ const m = await f.json(), T = Date.now() - o, L = m.run.stdout || "", I = m.run.stderr || "";
60
60
  return {
61
61
  success: m.run.code === 0,
62
62
  output: L,
@@ -75,7 +75,7 @@ class Le {
75
75
  output: "",
76
76
  stderr: f instanceof Error ? f.message : "Unknown error",
77
77
  code: -1,
78
- executionTime: Date.now() - s
78
+ executionTime: Date.now() - o
79
79
  };
80
80
  }
81
81
  }
@@ -207,7 +207,7 @@ h1 {
207
207
 
208
208
  This is a sample markdown document.`
209
209
  };
210
- function ae(i) {
210
+ function re(i) {
211
211
  const d = i.toLowerCase();
212
212
  return Ne[d] || `// ${i}
213
213
  // Write your code here`;
@@ -228,7 +228,7 @@ var ge = { exports: {} };
228
228
  * @public
229
229
  */
230
230
  var n = function(l) {
231
- var h = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, y = 0, A = {}, s = {
231
+ var h = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, y = 0, A = {}, o = {
232
232
  /**
233
233
  * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
234
234
  * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
@@ -324,28 +324,28 @@ var ge = { exports: {} };
324
324
  * @returns {T}
325
325
  * @template T
326
326
  */
327
- clone: function t(e, a) {
328
- a = a || {};
329
- var r, o;
330
- switch (s.util.type(e)) {
327
+ clone: function t(e, r) {
328
+ r = r || {};
329
+ var a, s;
330
+ switch (o.util.type(e)) {
331
331
  case "Object":
332
- if (o = s.util.objId(e), a[o])
333
- return a[o];
334
- r = /** @type {Record<string, any>} */
335
- {}, a[o] = r;
332
+ if (s = o.util.objId(e), r[s])
333
+ return r[s];
334
+ a = /** @type {Record<string, any>} */
335
+ {}, r[s] = a;
336
336
  for (var c in e)
337
- e.hasOwnProperty(c) && (r[c] = t(e[c], a));
337
+ e.hasOwnProperty(c) && (a[c] = t(e[c], r));
338
338
  return (
339
339
  /** @type {any} */
340
- r
340
+ a
341
341
  );
342
342
  case "Array":
343
- return o = s.util.objId(e), a[o] ? a[o] : (r = [], a[o] = r, /** @type {Array} */
343
+ return s = o.util.objId(e), r[s] ? r[s] : (a = [], r[s] = a, /** @type {Array} */
344
344
  /** @type {any} */
345
345
  e.forEach(function(b, u) {
346
- r[u] = t(b, a);
346
+ a[u] = t(b, r);
347
347
  }), /** @type {any} */
348
- r);
348
+ a);
349
349
  default:
350
350
  return e;
351
351
  }
@@ -394,13 +394,13 @@ var ge = { exports: {} };
394
394
  );
395
395
  try {
396
396
  throw new Error();
397
- } catch (r) {
398
- var t = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack) || [])[1];
397
+ } catch (a) {
398
+ var t = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(a.stack) || [])[1];
399
399
  if (t) {
400
400
  var e = document.getElementsByTagName("script");
401
- for (var a in e)
402
- if (e[a].src == t)
403
- return e[a];
401
+ for (var r in e)
402
+ if (e[r].src == t)
403
+ return e[r];
404
404
  }
405
405
  return null;
406
406
  }
@@ -424,16 +424,16 @@ var ge = { exports: {} };
424
424
  * @param {boolean} [defaultActivation=false]
425
425
  * @returns {boolean}
426
426
  */
427
- isActive: function(t, e, a) {
428
- for (var r = "no-" + e; t; ) {
429
- var o = t.classList;
430
- if (o.contains(e))
427
+ isActive: function(t, e, r) {
428
+ for (var a = "no-" + e; t; ) {
429
+ var s = t.classList;
430
+ if (s.contains(e))
431
431
  return !0;
432
- if (o.contains(r))
432
+ if (s.contains(a))
433
433
  return !1;
434
434
  t = t.parentElement;
435
435
  }
436
- return !!a;
436
+ return !!r;
437
437
  }
438
438
  },
439
439
  /**
@@ -480,10 +480,10 @@ var ge = { exports: {} };
480
480
  * });
481
481
  */
482
482
  extend: function(t, e) {
483
- var a = s.util.clone(s.languages[t]);
484
- for (var r in e)
485
- a[r] = e[r];
486
- return a;
483
+ var r = o.util.clone(o.languages[t]);
484
+ for (var a in e)
485
+ r[a] = e[a];
486
+ return r;
487
487
  },
488
488
  /**
489
489
  * Inserts tokens _before_ another token in a language definition or any other grammar.
@@ -560,31 +560,31 @@ var ge = { exports: {} };
560
560
  * @returns {Grammar} The new grammar object.
561
561
  * @public
562
562
  */
563
- insertBefore: function(t, e, a, r) {
564
- r = r || /** @type {any} */
565
- s.languages;
566
- var o = r[t], c = {};
567
- for (var b in o)
568
- if (o.hasOwnProperty(b)) {
563
+ insertBefore: function(t, e, r, a) {
564
+ a = a || /** @type {any} */
565
+ o.languages;
566
+ var s = a[t], c = {};
567
+ for (var b in s)
568
+ if (s.hasOwnProperty(b)) {
569
569
  if (b == e)
570
- for (var u in a)
571
- a.hasOwnProperty(u) && (c[u] = a[u]);
572
- a.hasOwnProperty(b) || (c[b] = o[b]);
570
+ for (var u in r)
571
+ r.hasOwnProperty(u) && (c[u] = r[u]);
572
+ r.hasOwnProperty(b) || (c[b] = s[b]);
573
573
  }
574
- var k = r[t];
575
- return r[t] = c, s.languages.DFS(s.languages, function(F, P) {
574
+ var k = a[t];
575
+ return a[t] = c, o.languages.DFS(o.languages, function(F, P) {
576
576
  P === k && F != t && (this[F] = c);
577
577
  }), c;
578
578
  },
579
579
  // Traverse a language definition with Depth First Search
580
- DFS: function t(e, a, r, o) {
581
- o = o || {};
582
- var c = s.util.objId;
580
+ DFS: function t(e, r, a, s) {
581
+ s = s || {};
582
+ var c = o.util.objId;
583
583
  for (var b in e)
584
584
  if (e.hasOwnProperty(b)) {
585
- a.call(e, b, e[b], r || b);
586
- var u = e[b], k = s.util.type(u);
587
- k === "Object" && !o[c(u)] ? (o[c(u)] = !0, t(u, a, null, o)) : k === "Array" && !o[c(u)] && (o[c(u)] = !0, t(u, a, b, o));
585
+ r.call(e, b, e[b], a || b);
586
+ var u = e[b], k = o.util.type(u);
587
+ k === "Object" && !s[c(u)] ? (s[c(u)] = !0, t(u, r, null, s)) : k === "Array" && !s[c(u)] && (s[c(u)] = !0, t(u, r, b, s));
588
588
  }
589
589
  }
590
590
  },
@@ -602,7 +602,7 @@ var ge = { exports: {} };
602
602
  * @public
603
603
  */
604
604
  highlightAll: function(t, e) {
605
- s.highlightAllUnder(document, t, e);
605
+ o.highlightAllUnder(document, t, e);
606
606
  },
607
607
  /**
608
608
  * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
@@ -619,15 +619,15 @@ var ge = { exports: {} };
619
619
  * @memberof Prism
620
620
  * @public
621
621
  */
622
- highlightAllUnder: function(t, e, a) {
623
- var r = {
624
- callback: a,
622
+ highlightAllUnder: function(t, e, r) {
623
+ var a = {
624
+ callback: r,
625
625
  container: t,
626
626
  selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
627
627
  };
628
- s.hooks.run("before-highlightall", r), r.elements = Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)), s.hooks.run("before-all-elements-highlight", r);
629
- for (var o = 0, c; c = r.elements[o++]; )
630
- s.highlightElement(c, e === !0, r.callback);
628
+ o.hooks.run("before-highlightall", a), a.elements = Array.prototype.slice.apply(a.container.querySelectorAll(a.selector)), o.hooks.run("before-all-elements-highlight", a);
629
+ for (var s = 0, c; c = a.elements[s++]; )
630
+ o.highlightElement(c, e === !0, a.callback);
631
631
  },
632
632
  /**
633
633
  * Highlights the code inside a single element.
@@ -657,30 +657,30 @@ var ge = { exports: {} };
657
657
  * @memberof Prism
658
658
  * @public
659
659
  */
660
- highlightElement: function(t, e, a) {
661
- var r = s.util.getLanguage(t), o = s.languages[r];
662
- s.util.setLanguage(t, r);
660
+ highlightElement: function(t, e, r) {
661
+ var a = o.util.getLanguage(t), s = o.languages[a];
662
+ o.util.setLanguage(t, a);
663
663
  var c = t.parentElement;
664
- c && c.nodeName.toLowerCase() === "pre" && s.util.setLanguage(c, r);
664
+ c && c.nodeName.toLowerCase() === "pre" && o.util.setLanguage(c, a);
665
665
  var b = t.textContent, u = {
666
666
  element: t,
667
- language: r,
668
- grammar: o,
667
+ language: a,
668
+ grammar: s,
669
669
  code: b
670
670
  };
671
671
  function k(P) {
672
- u.highlightedCode = P, s.hooks.run("before-insert", u), u.element.innerHTML = u.highlightedCode, s.hooks.run("after-highlight", u), s.hooks.run("complete", u), a && a.call(u.element);
672
+ u.highlightedCode = P, o.hooks.run("before-insert", u), u.element.innerHTML = u.highlightedCode, o.hooks.run("after-highlight", u), o.hooks.run("complete", u), r && r.call(u.element);
673
673
  }
674
- if (s.hooks.run("before-sanity-check", u), c = u.element.parentElement, c && c.nodeName.toLowerCase() === "pre" && !c.hasAttribute("tabindex") && c.setAttribute("tabindex", "0"), !u.code) {
675
- s.hooks.run("complete", u), a && a.call(u.element);
674
+ if (o.hooks.run("before-sanity-check", u), c = u.element.parentElement, c && c.nodeName.toLowerCase() === "pre" && !c.hasAttribute("tabindex") && c.setAttribute("tabindex", "0"), !u.code) {
675
+ o.hooks.run("complete", u), r && r.call(u.element);
676
676
  return;
677
677
  }
678
- if (s.hooks.run("before-highlight", u), !u.grammar) {
679
- k(s.util.encode(u.code));
678
+ if (o.hooks.run("before-highlight", u), !u.grammar) {
679
+ k(o.util.encode(u.code));
680
680
  return;
681
681
  }
682
682
  if (e && l.Worker) {
683
- var F = new Worker(s.filename);
683
+ var F = new Worker(o.filename);
684
684
  F.onmessage = function(P) {
685
685
  k(P.data);
686
686
  }, F.postMessage(JSON.stringify({
@@ -689,7 +689,7 @@ var ge = { exports: {} };
689
689
  immediateClose: !0
690
690
  }));
691
691
  } else
692
- k(s.highlight(u.code, u.grammar, u.language));
692
+ k(o.highlight(u.code, u.grammar, u.language));
693
693
  },
694
694
  /**
695
695
  * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
@@ -711,15 +711,15 @@ var ge = { exports: {} };
711
711
  * @example
712
712
  * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
713
713
  */
714
- highlight: function(t, e, a) {
715
- var r = {
714
+ highlight: function(t, e, r) {
715
+ var a = {
716
716
  code: t,
717
717
  grammar: e,
718
- language: a
718
+ language: r
719
719
  };
720
- if (s.hooks.run("before-tokenize", r), !r.grammar)
721
- throw new Error('The language "' + r.language + '" has no grammar.');
722
- return r.tokens = s.tokenize(r.code, r.grammar), s.hooks.run("after-tokenize", r), f.stringify(s.util.encode(r.tokens), r.language);
720
+ if (o.hooks.run("before-tokenize", a), !a.grammar)
721
+ throw new Error('The language "' + a.language + '" has no grammar.');
722
+ return a.tokens = o.tokenize(a.code, a.grammar), o.hooks.run("after-tokenize", a), f.stringify(o.util.encode(a.tokens), a.language);
723
723
  },
724
724
  /**
725
725
  * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
@@ -746,14 +746,14 @@ var ge = { exports: {} };
746
746
  * });
747
747
  */
748
748
  tokenize: function(t, e) {
749
- var a = e.rest;
750
- if (a) {
751
- for (var r in a)
752
- e[r] = a[r];
749
+ var r = e.rest;
750
+ if (r) {
751
+ for (var a in r)
752
+ e[a] = r[a];
753
753
  delete e.rest;
754
754
  }
755
- var o = new L();
756
- return I(o, o.head, t), T(t, o, e, o.head, 0), D(o);
755
+ var s = new L();
756
+ return I(s, s.head, t), T(t, s, e, s.head, 0), D(s);
757
757
  },
758
758
  /**
759
759
  * @namespace
@@ -775,8 +775,8 @@ var ge = { exports: {} };
775
775
  * @public
776
776
  */
777
777
  add: function(t, e) {
778
- var a = s.hooks.all;
779
- a[t] = a[t] || [], a[t].push(e);
778
+ var r = o.hooks.all;
779
+ r[t] = r[t] || [], r[t].push(e);
780
780
  },
781
781
  /**
782
782
  * Runs a hook invoking all registered callbacks with the given environment variables.
@@ -788,54 +788,54 @@ var ge = { exports: {} };
788
788
  * @public
789
789
  */
790
790
  run: function(t, e) {
791
- var a = s.hooks.all[t];
792
- if (!(!a || !a.length))
793
- for (var r = 0, o; o = a[r++]; )
794
- o(e);
791
+ var r = o.hooks.all[t];
792
+ if (!(!r || !r.length))
793
+ for (var a = 0, s; s = r[a++]; )
794
+ s(e);
795
795
  }
796
796
  },
797
797
  Token: f
798
798
  };
799
- l.Prism = s;
800
- function f(t, e, a, r) {
801
- this.type = t, this.content = e, this.alias = a, this.length = (r || "").length | 0;
799
+ l.Prism = o;
800
+ function f(t, e, r, a) {
801
+ this.type = t, this.content = e, this.alias = r, this.length = (a || "").length | 0;
802
802
  }
803
- f.stringify = function t(e, a) {
803
+ f.stringify = function t(e, r) {
804
804
  if (typeof e == "string")
805
805
  return e;
806
806
  if (Array.isArray(e)) {
807
- var r = "";
807
+ var a = "";
808
808
  return e.forEach(function(k) {
809
- r += t(k, a);
810
- }), r;
809
+ a += t(k, r);
810
+ }), a;
811
811
  }
812
- var o = {
812
+ var s = {
813
813
  type: e.type,
814
- content: t(e.content, a),
814
+ content: t(e.content, r),
815
815
  tag: "span",
816
816
  classes: ["token", e.type],
817
817
  attributes: {},
818
- language: a
818
+ language: r
819
819
  }, c = e.alias;
820
- c && (Array.isArray(c) ? Array.prototype.push.apply(o.classes, c) : o.classes.push(c)), s.hooks.run("wrap", o);
820
+ c && (Array.isArray(c) ? Array.prototype.push.apply(s.classes, c) : s.classes.push(c)), o.hooks.run("wrap", s);
821
821
  var b = "";
822
- for (var u in o.attributes)
823
- b += " " + u + '="' + (o.attributes[u] || "").replace(/"/g, "&quot;") + '"';
824
- return "<" + o.tag + ' class="' + o.classes.join(" ") + '"' + b + ">" + o.content + "</" + o.tag + ">";
822
+ for (var u in s.attributes)
823
+ b += " " + u + '="' + (s.attributes[u] || "").replace(/"/g, "&quot;") + '"';
824
+ return "<" + s.tag + ' class="' + s.classes.join(" ") + '"' + b + ">" + s.content + "</" + s.tag + ">";
825
825
  };
826
- function m(t, e, a, r) {
826
+ function m(t, e, r, a) {
827
827
  t.lastIndex = e;
828
- var o = t.exec(a);
829
- if (o && r && o[1]) {
830
- var c = o[1].length;
831
- o.index += c, o[0] = o[0].slice(c);
828
+ var s = t.exec(r);
829
+ if (s && a && s[1]) {
830
+ var c = s[1].length;
831
+ s.index += c, s[0] = s[0].slice(c);
832
832
  }
833
- return o;
833
+ return s;
834
834
  }
835
- function T(t, e, a, r, o, c) {
836
- for (var b in a)
837
- if (!(!a.hasOwnProperty(b) || !a[b])) {
838
- var u = a[b];
835
+ function T(t, e, r, a, s, c) {
836
+ for (var b in r)
837
+ if (!(!r.hasOwnProperty(b) || !r[b])) {
838
+ var u = r[b];
839
839
  u = Array.isArray(u) ? u : [u];
840
840
  for (var k = 0; k < u.length; ++k) {
841
841
  if (c && c.cause == b + "," + k)
@@ -845,7 +845,7 @@ var ge = { exports: {} };
845
845
  var x = F.pattern.toString().match(/[imsuy]*$/)[0];
846
846
  F.pattern = RegExp(F.pattern.source, x + "g");
847
847
  }
848
- for (var Y = F.pattern || F, O = r.next, M = o; O !== e.tail && !(c && M >= c.reach); M += O.value.length, O = O.next) {
848
+ for (var Y = F.pattern || F, O = a.next, M = s; O !== e.tail && !(c && M >= c.reach); M += O.value.length, O = O.next) {
849
849
  var z = O.value;
850
850
  if (e.length > t.length)
851
851
  return;
@@ -868,13 +868,13 @@ var ge = { exports: {} };
868
868
  c && ee > c.reach && (c.reach = ee);
869
869
  var q = O.prev;
870
870
  Q && (q = I(e, q, Q), M += Q.length), C(e, q, X);
871
- var me = new f(b, P ? s.tokenize(K, P) : K, w, K);
871
+ var me = new f(b, P ? o.tokenize(K, P) : K, w, K);
872
872
  if (O = I(e, q, me), ue && I(e, O, ue), X > 1) {
873
873
  var te = {
874
874
  cause: b + "," + k,
875
875
  reach: ee
876
876
  };
877
- T(t, e, a, O.prev, M, te), c && te.reach > c.reach && (c.reach = te.reach);
877
+ T(t, e, r, O.prev, M, te), c && te.reach > c.reach && (c.reach = te.reach);
878
878
  }
879
879
  }
880
880
  }
@@ -885,35 +885,35 @@ var ge = { exports: {} };
885
885
  var t = { value: null, prev: null, next: null }, e = { value: null, prev: t, next: null };
886
886
  t.next = e, this.head = t, this.tail = e, this.length = 0;
887
887
  }
888
- function I(t, e, a) {
889
- var r = e.next, o = { value: a, prev: e, next: r };
890
- return e.next = o, r.prev = o, t.length++, o;
888
+ function I(t, e, r) {
889
+ var a = e.next, s = { value: r, prev: e, next: a };
890
+ return e.next = s, a.prev = s, t.length++, s;
891
891
  }
892
- function C(t, e, a) {
893
- for (var r = e.next, o = 0; o < a && r !== t.tail; o++)
894
- r = r.next;
895
- e.next = r, r.prev = e, t.length -= o;
892
+ function C(t, e, r) {
893
+ for (var a = e.next, s = 0; s < r && a !== t.tail; s++)
894
+ a = a.next;
895
+ e.next = a, a.prev = e, t.length -= s;
896
896
  }
897
897
  function D(t) {
898
- for (var e = [], a = t.head.next; a !== t.tail; )
899
- e.push(a.value), a = a.next;
898
+ for (var e = [], r = t.head.next; r !== t.tail; )
899
+ e.push(r.value), r = r.next;
900
900
  return e;
901
901
  }
902
902
  if (!l.document)
903
- return l.addEventListener && (s.disableWorkerMessageHandler || l.addEventListener("message", function(t) {
904
- var e = JSON.parse(t.data), a = e.language, r = e.code, o = e.immediateClose;
905
- l.postMessage(s.highlight(r, s.languages[a], a)), o && l.close();
906
- }, !1)), s;
907
- var g = s.util.currentScript();
908
- g && (s.filename = g.src, g.hasAttribute("data-manual") && (s.manual = !0));
903
+ return l.addEventListener && (o.disableWorkerMessageHandler || l.addEventListener("message", function(t) {
904
+ var e = JSON.parse(t.data), r = e.language, a = e.code, s = e.immediateClose;
905
+ l.postMessage(o.highlight(a, o.languages[r], r)), s && l.close();
906
+ }, !1)), o;
907
+ var g = o.util.currentScript();
908
+ g && (o.filename = g.src, g.hasAttribute("data-manual") && (o.manual = !0));
909
909
  function p() {
910
- s.manual || s.highlightAll();
910
+ o.manual || o.highlightAll();
911
911
  }
912
- if (!s.manual) {
912
+ if (!o.manual) {
913
913
  var S = document.readyState;
914
914
  S === "loading" || S === "interactive" && g && g.defer ? document.addEventListener("DOMContentLoaded", p) : window.requestAnimationFrame ? window.requestAnimationFrame(p) : window.setTimeout(p, 16);
915
915
  }
916
- return s;
916
+ return o;
917
917
  }(d);
918
918
  i.exports && (i.exports = n), typeof de < "u" && (de.Prism = n), n.languages.markup = {
919
919
  comment: {
@@ -1013,13 +1013,13 @@ var ge = { exports: {} };
1013
1013
  lookbehind: !0,
1014
1014
  inside: n.languages[y]
1015
1015
  }, A.cdata = /^<!\[CDATA\[|\]\]>$/i;
1016
- var s = {
1016
+ var o = {
1017
1017
  "included-cdata": {
1018
1018
  pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
1019
1019
  inside: A
1020
1020
  }
1021
1021
  };
1022
- s["language-" + y] = {
1022
+ o["language-" + y] = {
1023
1023
  pattern: /[\s\S]+/,
1024
1024
  inside: n.languages[y]
1025
1025
  };
@@ -1030,7 +1030,7 @@ var ge = { exports: {} };
1030
1030
  }), "i"),
1031
1031
  lookbehind: !0,
1032
1032
  greedy: !0,
1033
- inside: s
1033
+ inside: o
1034
1034
  }, n.languages.insertBefore("markup", "cdata", f);
1035
1035
  }
1036
1036
  }), Object.defineProperty(n.languages.markup.tag, "addAttribute", {
@@ -1305,7 +1305,7 @@ var ge = { exports: {} };
1305
1305
  bat: "batch",
1306
1306
  h: "c",
1307
1307
  tex: "latex"
1308
- }, s = "data-src-status", f = "loading", m = "loaded", T = "failed", L = "pre[data-src]:not([" + s + '="' + m + '"]):not([' + s + '="' + f + '"])';
1308
+ }, o = "data-src-status", f = "loading", m = "loaded", T = "failed", L = "pre[data-src]:not([" + o + '="' + m + '"]):not([' + o + '="' + f + '"])';
1309
1309
  function I(g, p, S) {
1310
1310
  var t = new XMLHttpRequest();
1311
1311
  t.open("GET", g, !0), t.onreadystatechange = function() {
@@ -1327,30 +1327,30 @@ var ge = { exports: {} };
1327
1327
  g.element
1328
1328
  );
1329
1329
  if (p.matches(L)) {
1330
- g.code = "", p.setAttribute(s, f);
1330
+ g.code = "", p.setAttribute(o, f);
1331
1331
  var S = p.appendChild(document.createElement("CODE"));
1332
1332
  S.textContent = l;
1333
1333
  var t = p.getAttribute("data-src"), e = g.language;
1334
1334
  if (e === "none") {
1335
- var a = (/\.(\w+)$/.exec(t) || [, "none"])[1];
1336
- e = A[a] || a;
1335
+ var r = (/\.(\w+)$/.exec(t) || [, "none"])[1];
1336
+ e = A[r] || r;
1337
1337
  }
1338
1338
  n.util.setLanguage(S, e), n.util.setLanguage(p, e);
1339
- var r = n.plugins.autoloader;
1340
- r && r.loadLanguages(e), I(
1339
+ var a = n.plugins.autoloader;
1340
+ a && a.loadLanguages(e), I(
1341
1341
  t,
1342
- function(o) {
1343
- p.setAttribute(s, m);
1342
+ function(s) {
1343
+ p.setAttribute(o, m);
1344
1344
  var c = C(p.getAttribute("data-range"));
1345
1345
  if (c) {
1346
- var b = o.split(/\r\n?|\n/g), u = c[0], k = c[1] == null ? b.length : c[1];
1347
- u < 0 && (u += b.length), u = Math.max(0, Math.min(u - 1, b.length)), k < 0 && (k += b.length), k = Math.max(0, Math.min(k, b.length)), o = b.slice(u, k).join(`
1346
+ var b = s.split(/\r\n?|\n/g), u = c[0], k = c[1] == null ? b.length : c[1];
1347
+ u < 0 && (u += b.length), u = Math.max(0, Math.min(u - 1, b.length)), k < 0 && (k += b.length), k = Math.max(0, Math.min(k, b.length)), s = b.slice(u, k).join(`
1348
1348
  `), p.hasAttribute("data-start") || p.setAttribute("data-start", String(u + 1));
1349
1349
  }
1350
- S.textContent = o, n.highlightElement(S);
1350
+ S.textContent = s, n.highlightElement(S);
1351
1351
  },
1352
- function(o) {
1353
- p.setAttribute(s, T), S.textContent = o;
1352
+ function(s) {
1353
+ p.setAttribute(o, T), S.textContent = s;
1354
1354
  }
1355
1355
  );
1356
1356
  }
@@ -1374,7 +1374,7 @@ var ge = { exports: {} };
1374
1374
  }();
1375
1375
  })(ge);
1376
1376
  var De = ge.exports;
1377
- const re = /* @__PURE__ */ Ce(De);
1377
+ const ae = /* @__PURE__ */ Ce(De);
1378
1378
  Prism.languages.clike = {
1379
1379
  comment: [
1380
1380
  {
@@ -2216,6 +2216,12 @@ Prism.languages.json = {
2216
2216
  };
2217
2217
  Prism.languages.webmanifest = Prism.languages.json;
2218
2218
  const Pe = `
2219
+ /* 默认代码颜色 */
2220
+ .hep-cr-editor .hep-cr-highlight code,
2221
+ .hep-cr-editor .hep-cr-highlight pre {
2222
+ color: #f8f8f2 !important;
2223
+ }
2224
+
2219
2225
  .hep-cr-editor .token.comment,
2220
2226
  .hep-cr-editor .token.prolog,
2221
2227
  .hep-cr-editor .token.doctype,
@@ -2235,6 +2241,12 @@ const Pe = `
2235
2241
  color: #f92672 !important;
2236
2242
  }
2237
2243
 
2244
+ /* console 单独处理 - 必须是白色 */
2245
+ .hep-cr-editor .token.property.console,
2246
+ .hep-cr-editor .token.console {
2247
+ color: #f8f8f2 !important;
2248
+ }
2249
+
2238
2250
  .hep-cr-editor .token.boolean,
2239
2251
  .hep-cr-editor .token.number {
2240
2252
  color: #ae81ff !important;
@@ -2274,7 +2286,28 @@ const Pe = `
2274
2286
  .hep-cr-editor .token.important {
2275
2287
  color: #fd971f !important;
2276
2288
  }
2289
+
2290
+ /* 覆盖用户项目的 text-shadow 样式,避免白边 */
2291
+ .hep-cr-editor code[class*="language-"],
2292
+ .hep-cr-editor pre[class*="language-"],
2293
+ .hep-cr-editor .hep-cr-highlight code,
2294
+ .hep-cr-editor .hep-cr-highlight pre {
2295
+ text-shadow: none !important;
2296
+ }
2297
+
2298
+ /* 覆盖 console 等内置对象 - 使用最高特异性 */
2299
+ .hep-cr-editor .hep-cr-highlight .token.console,
2300
+ .hep-cr-editor code.token.console,
2301
+ .hep-cr-editor .token.console {
2302
+ color: #f8f8f2 !important;
2303
+ }
2277
2304
  `, $e = `
2305
+ /* 默认代码颜色 */
2306
+ .hep-cr-editor .hep-cr-highlight code,
2307
+ .hep-cr-editor .hep-cr-highlight pre {
2308
+ color: #333 !important;
2309
+ }
2310
+
2278
2311
  .hep-cr-editor .token.comment,
2279
2312
  .hep-cr-editor .token.prolog,
2280
2313
  .hep-cr-editor .token.doctype,
@@ -2332,6 +2365,19 @@ const Pe = `
2332
2365
  .hep-cr-editor .token.important {
2333
2366
  color: #e36209;
2334
2367
  }
2368
+
2369
+ /* 覆盖用户项目的 text-shadow 样式,避免白边 */
2370
+ .hep-cr-editor code[class*="language-"],
2371
+ .hep-cr-editor pre[class*="language-"],
2372
+ .hep-cr-editor .hep-cr-highlight code,
2373
+ .hep-cr-editor .hep-cr-highlight pre {
2374
+ text-shadow: none !important;
2375
+ }
2376
+
2377
+ /* 覆盖 console 等内置对象 */
2378
+ .hep-cr-editor .token.console {
2379
+ color: #333 !important;
2380
+ }
2335
2381
  `, Me = ["innerHTML"], Ue = ["value", "disabled"], He = /* @__PURE__ */ ie({
2336
2382
  __name: "CodeEditor",
2337
2383
  props: {
@@ -2344,7 +2390,7 @@ const Pe = `
2344
2390
  setup(i, { emit: d }) {
2345
2391
  be((g) => ({
2346
2392
  v6d72dafb: m.value
2347
- })), typeof window < "u" && (window.Prism = re);
2393
+ })), typeof window < "u" && (window.Prism = ae);
2348
2394
  function n(g) {
2349
2395
  if (typeof document > "u") return;
2350
2396
  const p = "hep-cr-prism-styles", S = document.getElementById(p), t = g === "dark" ? Pe : $e;
@@ -2352,7 +2398,7 @@ const Pe = `
2352
2398
  const e = document.createElement("style");
2353
2399
  e.id = p, e.textContent = t, document.head.appendChild(e);
2354
2400
  }
2355
- const l = i, h = d, y = N(null), A = N(null), s = {
2401
+ const l = i, h = d, y = N(null), A = N(null), o = {
2356
2402
  javascript: "javascript",
2357
2403
  js: "javascript",
2358
2404
  typescript: "typescript",
@@ -2383,11 +2429,11 @@ const Pe = `
2383
2429
  yml: "yaml",
2384
2430
  markdown: "markdown",
2385
2431
  md: "markdown"
2386
- }, f = G(() => s[l.language.toLowerCase()] || "javascript"), m = G(() => l.theme === "dark" ? "#1e1e1e" : "#fafafa"), T = G(() => {
2432
+ }, f = G(() => o[l.language.toLowerCase()] || "javascript"), m = G(() => l.theme === "dark" ? "#1e1e1e" : "#fafafa"), T = G(() => {
2387
2433
  try {
2388
- const g = re.languages[f.value];
2434
+ const g = ae.languages[f.value];
2389
2435
  if (g)
2390
- return re.highlight(l.modelValue || "", g, f.value);
2436
+ return ae.highlight(l.modelValue || "", g, f.value);
2391
2437
  } catch {
2392
2438
  }
2393
2439
  return L(l.modelValue || "");
@@ -2456,10 +2502,10 @@ const Pe = `
2456
2502
  }, qe = ["title"], Je = {
2457
2503
  key: 0,
2458
2504
  class: "hep-cr-error"
2459
- }, Qe = { class: "hep-cr-main" }, et = { class: "hep-cr-panel-header" }, tt = { class: "hep-cr-language-badge" }, nt = { class: "hep-cr-panel-header" }, at = { class: "hep-cr-output-tabs" }, rt = { class: "hep-cr-output-actions" }, st = {
2505
+ }, Qe = { class: "hep-cr-main" }, et = { class: "hep-cr-panel-header" }, tt = { class: "hep-cr-language-badge" }, nt = { class: "hep-cr-panel-header" }, rt = { class: "hep-cr-output-tabs" }, at = { class: "hep-cr-output-actions" }, ot = {
2460
2506
  key: 0,
2461
2507
  class: "hep-cr-execution-time"
2462
- }, ot = { class: "hep-cr-output-content" }, it = { key: 0 }, lt = {
2508
+ }, st = { class: "hep-cr-output-content" }, it = { key: 0 }, lt = {
2463
2509
  key: 1,
2464
2510
  class: "hep-cr-stderr"
2465
2511
  }, ut = /* @__PURE__ */ ie({
@@ -2476,7 +2522,7 @@ const Pe = `
2476
2522
  },
2477
2523
  emits: ["execute-start", "execute-end", "language-change"],
2478
2524
  setup(i, { emit: d }) {
2479
- const n = i, l = d, h = N([]), y = N(n.language), A = N(n.theme), s = N(""), f = N(""), m = N(""), T = N(!1), L = N(null), I = N("stdout"), C = N(null), D = N(!1), g = N(60);
2525
+ const n = i, l = d, h = N([]), y = N(n.language), A = N(n.theme), o = N(""), f = N(""), m = N(""), T = N(!1), L = N(null), I = N("stdout"), C = N(null), D = N(!1), g = N(60);
2480
2526
  function p() {
2481
2527
  A.value = A.value === "light" ? "dark" : "light";
2482
2528
  }
@@ -2489,7 +2535,7 @@ const Pe = `
2489
2535
  const v = y.value;
2490
2536
  return v.includes(":") ? v.split(":")[0] : v;
2491
2537
  });
2492
- async function a() {
2538
+ async function r() {
2493
2539
  D.value = !0, C.value = null;
2494
2540
  try {
2495
2541
  h.value = await S.value.getRuntimes();
@@ -2500,14 +2546,14 @@ const Pe = `
2500
2546
  }
2501
2547
  }
2502
2548
  le(y, (v) => {
2503
- const w = v.includes(":") ? v.split(":")[0] : v, x = ae(w);
2504
- s.value = x, l("language-change", w, x);
2549
+ const w = v.includes(":") ? v.split(":")[0] : v, x = re(w);
2550
+ o.value = x, l("language-change", w, x);
2505
2551
  });
2506
- async function r() {
2552
+ async function a() {
2507
2553
  if (!T.value) {
2508
2554
  T.value = !0, f.value = "", m.value = "", L.value = null, C.value = null, I.value = "stdout", l("execute-start");
2509
2555
  try {
2510
- const v = await S.value.execute(e.value, s.value);
2556
+ const v = await S.value.execute(e.value, o.value);
2511
2557
  f.value = v.output, m.value = v.stderr, L.value = v.executionTime || null, I.value = v.stderr ? "stderr" : "stdout", l("execute-end", v);
2512
2558
  } catch (v) {
2513
2559
  C.value = v instanceof Error ? v.message : "Execution failed", l("execute-end", {
@@ -2521,7 +2567,7 @@ const Pe = `
2521
2567
  }
2522
2568
  }
2523
2569
  }
2524
- function o() {
2570
+ function s() {
2525
2571
  f.value = "", m.value = "", L.value = null, C.value = null;
2526
2572
  }
2527
2573
  async function c() {
@@ -2529,7 +2575,7 @@ const Pe = `
2529
2575
  await navigator.clipboard.writeText(v);
2530
2576
  }
2531
2577
  function b() {
2532
- s.value = ae(e.value);
2578
+ o.value = re(e.value);
2533
2579
  }
2534
2580
  let u = !1;
2535
2581
  function k(v) {
@@ -2548,7 +2594,7 @@ const Pe = `
2548
2594
  u = !1, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", P), document.body.style.cursor = "", document.body.style.userSelect = "";
2549
2595
  }
2550
2596
  pe(async () => {
2551
- await a(), s.value || (s.value = n.defaultCode || ae(y.value));
2597
+ await r(), o.value || (o.value = n.defaultCode || re(y.value));
2552
2598
  });
2553
2599
  const V = G(() => `hep-cr-runner-${A.value}`);
2554
2600
  return (v, w) => (_(), R("div", {
@@ -2575,7 +2621,7 @@ const Pe = `
2575
2621
  E("button", {
2576
2622
  class: "hep-cr-btn hep-cr-btn-run",
2577
2623
  disabled: T.value || D.value,
2578
- onClick: r
2624
+ onClick: a
2579
2625
  }, [
2580
2626
  T.value ? (_(), R("span", Ze)) : (_(), R("span", Ke, "▶")),
2581
2627
  Se(" " + H(T.value ? "运行中..." : i.executorLabel), 1)
@@ -2597,15 +2643,15 @@ const Pe = `
2597
2643
  i.showEditor ? (_(), R("div", {
2598
2644
  key: 0,
2599
2645
  class: "hep-cr-editor-panel",
2600
- style: se({ width: g.value + "%" })
2646
+ style: oe({ width: g.value + "%" })
2601
2647
  }, [
2602
2648
  E("div", et, [
2603
2649
  w[4] || (w[4] = E("span", { class: "hep-cr-panel-title" }, "编辑器", -1)),
2604
2650
  E("span", tt, H(e.value), 1)
2605
2651
  ]),
2606
- oe(Be, {
2607
- modelValue: s.value,
2608
- "onUpdate:modelValue": w[1] || (w[1] = (x) => s.value = x),
2652
+ se(Be, {
2653
+ modelValue: o.value,
2654
+ "onUpdate:modelValue": w[1] || (w[1] = (x) => o.value = x),
2609
2655
  language: e.value,
2610
2656
  theme: A.value,
2611
2657
  disabled: !i.editable || T.value
@@ -2620,10 +2666,10 @@ const Pe = `
2620
2666
  ])], 32)) : U("", !0),
2621
2667
  E("div", {
2622
2668
  class: "hep-cr-output-panel",
2623
- style: se({ width: i.showEditor ? 100 - g.value + "%" : "100%" })
2669
+ style: oe({ width: i.showEditor ? 100 - g.value + "%" : "100%" })
2624
2670
  }, [
2625
2671
  E("div", nt, [
2626
- E("div", at, [
2672
+ E("div", rt, [
2627
2673
  E("button", {
2628
2674
  class: W(["hep-cr-tab", { active: I.value === "stdout" }]),
2629
2675
  onClick: w[2] || (w[2] = (x) => I.value = "stdout")
@@ -2634,8 +2680,8 @@ const Pe = `
2634
2680
  onClick: w[3] || (w[3] = (x) => I.value = "stderr")
2635
2681
  }, " 错误 ", 2)) : U("", !0)
2636
2682
  ]),
2637
- E("div", rt, [
2638
- L.value !== null ? (_(), R("span", st, H(L.value) + "ms ", 1)) : U("", !0),
2683
+ E("div", at, [
2684
+ L.value !== null ? (_(), R("span", ot, H(L.value) + "ms ", 1)) : U("", !0),
2639
2685
  E("button", {
2640
2686
  class: "hep-cr-btn-icon",
2641
2687
  onClick: c,
@@ -2662,7 +2708,7 @@ const Pe = `
2662
2708
  ])]),
2663
2709
  E("button", {
2664
2710
  class: "hep-cr-btn-icon",
2665
- onClick: o,
2711
+ onClick: s,
2666
2712
  title: "清除"
2667
2713
  }, [...w[7] || (w[7] = [
2668
2714
  E("svg", {
@@ -2679,7 +2725,7 @@ const Pe = `
2679
2725
  ])])
2680
2726
  ])
2681
2727
  ]),
2682
- E("div", ot, [
2728
+ E("div", st, [
2683
2729
  I.value === "stdout" ? (_(), R("pre", it, H(f.value || '点击"运行"执行代码'), 1)) : (_(), R("pre", lt, H(m.value), 1))
2684
2730
  ])
2685
2731
  ], 4)
@@ -2713,16 +2759,16 @@ const Pe = `
2713
2759
  m !== void 0 && (y.value = m);
2714
2760
  }
2715
2761
  );
2716
- function s() {
2762
+ function o() {
2717
2763
  y.value = !1, h("update:modelValue", !1), h("close");
2718
2764
  }
2719
2765
  function f(m) {
2720
- m.target === m.currentTarget && s();
2766
+ m.target === m.currentTarget && o();
2721
2767
  }
2722
2768
  return d({
2723
- close: s
2769
+ close: o
2724
2770
  }), (m, T) => (_(), ke(we, { to: "body" }, [
2725
- oe(Te, { name: "hep-cr-dialog-fade" }, {
2771
+ se(Te, { name: "hep-cr-dialog-fade" }, {
2726
2772
  default: Ie(() => [
2727
2773
  A.value ? (_(), R("div", {
2728
2774
  key: 0,
@@ -2731,13 +2777,13 @@ const Pe = `
2731
2777
  }, [
2732
2778
  E("div", {
2733
2779
  class: "hep-cr-dialog-container",
2734
- style: se({ width: typeof i.width == "number" ? i.width + "px" : i.width })
2780
+ style: oe({ width: typeof i.width == "number" ? i.width + "px" : i.width })
2735
2781
  }, [
2736
2782
  E("div", ct, [
2737
2783
  E("h3", dt, H(i.title), 1),
2738
2784
  E("button", {
2739
2785
  class: "hep-cr-dialog-close",
2740
- onClick: s
2786
+ onClick: o
2741
2787
  }, [...T[0] || (T[0] = [
2742
2788
  E("svg", {
2743
2789
  width: "16",
@@ -2763,10 +2809,10 @@ const Pe = `
2763
2809
  ])])
2764
2810
  ]),
2765
2811
  E("div", pt, [
2766
- oe(J, Fe(_e(m.$attrs)), null, 16)
2812
+ se(J, Fe(_e(m.$attrs)), null, 16)
2767
2813
  ]),
2768
2814
  m.$slots.footer ? (_(), R("div", gt, [
2769
- Re(m.$slots, "footer", { close: s })
2815
+ Re(m.$slots, "footer", { close: o })
2770
2816
  ])) : U("", !0)
2771
2817
  ], 4)
2772
2818
  ])) : U("", !0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hep-code-runner/vue3",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "Vue 3 code runner component",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",