File manager - Edit - /home/palg2351/public_html/wp-content/plugins/sejoli/admin/js/enlighterjs.min.js
Back
/*! EnlighterJS Syntax Highlighter 3.1.0 | Mozilla Public License 2.0 | https://enlighterjs.org */ var EnlighterJS=function(e){"use strict";var c={indent:4,ampersandCleanup:!0,linehover:!0,rawcodeDbclick:!1,textOverflow:"break",retainCssClasses:!1,cssClasses:"",linenumbers:!0,lineoffset:0,highlight:"",layout:"standard",language:"generic",theme:"enlighter",title:""};function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e,t,n){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function u(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var p={sqStrings:{regex:/('(?:[^'\\]|\\.)*')/g,type:"s0"},dqStrings:{regex:/"(?:[^"\\]|\\.)*"/g,type:"s0"},bqStrings:{regex:/`(?:[^`\\]|\\.)*`/g,type:"s0"},char:{regex:/('(\\.|.|\\\w+)')/g,type:"s1"},slashComments:{regex:/(?:^|[^\\])\/\/.*$/gm,type:"c0"},poundComments:{regex:/(?:^|[^\\])#.*$/gm,type:"c0"},blockComments:{regex:/\/\*[\s\S]*?\*\//g,type:"c1"},docComments:{regex:/\/\*\*[\s\S]*?\*\//g,type:"c2"},heredoc:{regex:/(<<[<-]?\s*?(['"]?)([A-Z0-9_]+)\2\s*\n[\s\S]*?\n\3)/gi,type:"s5"},brackets:{regex:/[[\](){}<>]+/g,type:"g1"},floats:{regex:/[\b\W](-?((?:\d+\.\d+|\.\d+|\d+\.)(?:e[+-]?\d+)?)|\d+(?:e[+-]?\d+))/gi,type:"n0"},complex:{regex:/[\b\W](?:-?(?:(?:\d+\.\d+|\.\d+|\d+\.|\d+)(?:e[+-]?\d+)?)|\d+(?:e[+-]?\d+))[ij]/gi,type:"n5"},int:{regex:/[\b\W](-?\d+)(?!\.)\b/g,type:"n1"},hex:{regex:/[\b\W](-?0x[A-F0-9]+)\b/gi,type:"n2"},bin:{regex:/[\b\W](-?0b[01]+)\b/gi,type:"n3"},octal:{regex:/[\b\W](-?0[0-7]+)(?!\.)\b/g,type:"n4"},prop:{regex:/[\w\])]\.(\w+)\b/g,type:"m3"},fCalls:{regex:/\b([\w]+)\s*\(/gm,type:"m0"},mCalls:{regex:/\.([\w]+)\s*\(/gm,type:"m1"},boolean:{regex:/\b(true|false)\b/gi,type:"e0"},null:{regex:/\b(null)\b/gi,type:"e1"}};function w(e,t,n,r,i){return{text:e,type:t,index:r||0,end:e.length+r,filter:n||null,priority:i||0}}var t=function(){function e(){n(this,e),this.rules=[],this.setupLanguage()}return i(e,[{key:"setupLanguage",value:function(){this.rules=[p.sqStrings,p.dqStrings,p.prop,p.slashComments,p.poundComments,p.blockComments,p.brackets,{regex:/\W(true|false|null|nil|if|then|else|for|while|do|class|implements|extends|function|end|void|return|in|of|new|this|try|catch|def|except)\W/gi,type:"k1"},p.mCalls,p.fCalls,p.octal,p.bin,p.hex,p.floats,p.int,{regex:/[\b\s]([$&|~*:;]+)[\b\s]/g,type:"g0"}]}},{key:"analyze",value:function(e){return function(e,t,n){for(var r=2<arguments.length&&void 0!==n?n:"text",i=[],s=0,a=0;a<t.length;a++){var o=t[a];if(!o||!o.type||!o.regex)return;for(var l=void 0;null!=(l=o.regex.exec(e));){if(5e4<++s)throw new Error("Infinite tokenizer loop detected; more than 50k tokens - language rule ["+a+"] "+o.regex+" seems to be broken");if(0!=l[0].length){o.regex.lastIndex=l.index+1+l[0].length/3;var g=Array.isArray(o.type)?o.type[0]:o.type,u=(Array.isArray(o.filter)?o.filter[0]:o.filter)||null;if(1<l.length){for(var p=1;p<l.length;p++)if(l[p]){var c=Array.isArray(o.type)&&o.type.length>=p?o.type[p-1]:g,y=Array.isArray(o.filter)&&o.filter.length>=p?o.filter[p-1]:u;i.push(w(l[p],c,y,l.index+l[0].indexOf(l[p]),a))}}else i.push(w(l[0],g,u,l.index,a))}}}i=i.sort(function(e,t){return e.index==t.index?e.priority<t.priority?-1:1:e.index<t.index?-1:1});for(var f=[],b=0,h=0;h<i.length;h++){if(b<i[h].index&&f.push(w(e.substring(b,i[h].index),r,null,b)),i[h].filter)for(var d=i[h].filter(i[h])||[],x=0;x<d.length;x++)f.push(d[x]);else f.push(i[h]);b=i[h].end;for(var m=!1,k=h+1;k<i.length;k++)if(i[k].index>=b){h=k-1,m=!0;break}if(!1===m)break}return b<e.length&&f.push(w(e.substring(b),r,null,b)),f}(e,this.rules)}}]),e}(),y=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.sqStrings,{regex:/\|.*?\|/g,type:"s2"},{regex:/(".*)$/gm,type:"c0"},{regex:/^\s*(\*.*)$/gm,type:"c0"},{regex:/(data):?\s*(\w+)\s*/gi,type:["k2","k7"]},{regex:/(type)\s+(\w+)\s*/gi,type:["k2","k5"]},{regex:/\b(abap_true|abap_false)\b/gi,type:"e0"},{regex:/\b(abap_undefined)\b/gi,type:"e1"},{regex:/\b[A-Z_][A-Za-z0-9_]*\b/g,type:"k0"},p.fCalls,p.int,p.brackets]}}]),e}(),f=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/(;.*)$/gm,type:"co0"},{regex:/(\$.*)$/gm,type:"k4"},p.sqStrings,p.dqStrings,{regex:/(^|:)\s*?(\w+)\s+/gm,type:"k0"},{regex:/^\s*?([A-Z?_][A-Z0-9?_]+:)\s*?/gim,type:"k6"},{regex:/@\w+/gi,type:"k9"},{regex:/#\w+/gi,type:"k9"},{regex:/[A-F0-9][A-F0-9$]+?H/gi,type:"n2"},{regex:/\d[\d$]+?D/gi,type:"n1"},{regex:/[01][01$]+?B/gi,type:"n3"},{regex:/[0-7][0-7$]+?(?:Q|O)/gi,type:"nu4"},{regex:/(0x[A-F0-9]+|\$[A-F0-9]+)/gi,type:"n2"},{regex:/(0b[01]+)/g,type:"n3"},{regex:/\b(\d+)/g,type:"n1"},p.fCalls]}}],[{key:"alias",value:function(){return["asm"]}}]),e}(),b=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/(;.*)$/gm,type:"co0"},p.sqStrings,p.dqStrings,{regex:/^\s*?\.\w+\s+/gm,type:"kw4"},{regex:/\b(r\d{1,2})/gi,type:"kw0"},{regex:/(@[0-9])/gi,type:"k2"},{regex:/^\s*?(\w+:)\s*?/gm,type:"kw6"},{regex:/(^|:)\s*?(\w+)\s+/gm,type:"kw0"},{regex:/(0x[A-F0-9]+|\$[A-F0-9]+)/gi,type:"nu2"},p.bin,p.int,p.fCalls,{regex:/\b[A-Z]{2,}[0-9]?[0-9]?\b/g,type:"kw9"}]}}],[{key:"alias",value:function(){return["avrasm"]}}]),e}(),h=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.char,{regex:/@[\W\w_][\w]+/gm,type:"s9"},p.boolean,p.null,p.prop,{regex:/#.*$/gm,type:"k4"},{regex:/\b(break|case|catch|continue|do|else|for|if|goto|switch|try|throw|while)\b/g,type:"k1"},{regex:/\b(__[A-Z][A-Z0-9_]+__|__cplusplus)\b/g,type:"e3"},{regex:/\b(\w+\d+?_t)\b/g,type:"k5"},{regex:/\b(bool|char|double|float|int|long|short|void)\b/g,type:"k5"},{regex:/\b(enum|struct|typedef|union)\b/g,type:"k2"},{regex:/\b(const|volatile|unsigned|signed|restrict)\b/g,type:"k8"},{regex:/\b(asm|auto|class|auto|default|explicit|export|extern|friend|inline|thread_local|static_assert|nullptr|noexcept|friend|decltype|constexpr|alignof|alignas|virtual|using|typename|typeid|this|template|static|return|register|public|protected|private|operator|namespace|mutable|inline)\b/g,type:"k0"},{regex:/\b(new|delete|cast|const_cast|dynamic_cast|static_cast|reinterpret_cast|sizeof|and|bitand|and_eq|not|not_eq|or|bitor|or_eq|xor|xor_eq|compl)\b/g,type:"k3"},p.mCalls,p.fCalls,p.slashComments,p.blockComments,p.octal,p.bin,p.hex,p.floats,p.brackets]}}],[{key:"alias",value:function(){return["c++","c"]}}]),e}();function d(e,t,n){for(var r,i=[],s=0;null!=(r=t.exec(e.text));){s<r.index&&i.push(w(e.text.substring(s,r.index),e.type,null,s));for(var a=n(r,e.type)||[],o=0;o<a.length;o++)i.push(a[o]);s=r.index+r[0].length,t.lastIndex=s}return 0==i.length?[e]:(s<e.text.length&&i.push(w(e.text.substring(s),e.type,null,s)),i)}var x=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/\$("(?:[^"\\]|\\.)*")/g,type:"s0",filter:function(e){return d(e,/\{.*?}/g,function(e){return[w(e[0],"s3")]})}},p.dqStrings,p.char,p.null,p.boolean,p.prop,{regex:/\b(bool|byte|char|decimal|double|float|int|long|sbyte|short|uint|ulong|ushort|void)\b/g,type:"k5"},{regex:/\b(while|try|throw|switch|if|goto|foreach|for|finally|else|do|continue|catch|case|break)\b/g,type:"k1"},{regex:/^((?:using|namespace)\s+)(\w[\w._]+[;{\n])/gm,type:["k0","k10"]},{regex:/\b(enum|struct|var)\b/g,type:"k2"},{regex:/\b(const|in|out)\b/g,type:"k8"},{regex:/\b(using|volatile|virtual|using|unsafe|unchecked|static|stackalloc|sealed|return|ref|readonly|public|protected|private|params|override|operator|object|namespace|lock|is|internal|interface|implicit|fixed|extern|explicit|event|delegate|default|class|checked|base|as|abstract)\b/g,type:"k0"},{regex:/\b(this)\b/g,type:"k9"},{regex:/\b(new|sizeof|typeof)\b/g,type:"k3"},p.fCalls,p.mCalls,p.slashComments,p.blockComments,p.docComments,p.int,p.floats,p.bin,p.hex,p.octal,p.brackets]}}],[{key:"alias",value:function(){return["c#"]}}]),e}(),m=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.sqStrings,{regex:/\W@(charset|import|namespace|page|font-face|keyframes|viewport|document|supports)\b/gi,type:"k4"},{regex:/(url\s*)(\(.*?\))/gi,type:["m0","s0"]},{regex:/(#[a-z0-9]+)\W/gi,type:"x14"},{regex:/\b(\d+[.\d+-]?\s*(%|[a-z]{1,3})?)/gi,type:"x13"},{regex:/[\w\]](::?[\w-]+)\b/g,type:"x15"},{regex:/(#[\w-]+)\W/g,type:"x10"},{regex:/(\.[\w-]+)\W/g,type:"x11"},{regex:/([\w-]+)\s*:/g,type:"x12"},p.blockComments,p.brackets]}}],[{key:"alias",value:function(){return["styles"]}}]),e}(),k=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/^("""[\s\S]*?"""|'''[\s\S]*?''')/gm,type:"c9"},{regex:/("""[\s\S]*?"""|'''[\s\S]*?''')/g,type:"s5"},p.dqStrings,p.sqStrings,{regex:/\b(__[a-z]+__)\b/g,type:"e3"},{regex:/[^;]\s*(from\s+)([\w.]+)(\s+import)/gi,type:["k0","k10","k0"]},{regex:/\b(raise|while|try|if|for|finally|else|elif|continue|break)\b/g,type:"k1"},{regex:/\b(yield|with|return|pass|lambda|is|in|import|global|from|except|def|class|assert|as|async|await)\b/g,type:"k0"},{regex:/\b(and|or|not|del)\b/g,type:"k3"},{regex:/\b(True|False)\b/g,type:"e0"},{regex:/\b(None)\b/g,type:"e1"},p.mCalls,p.fCalls,p.poundComments,p.int,p.hex,p.floats,p.octal,p.brackets]}}],[{key:"alias",value:function(){return["py"]}}]),e}(),v=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,k),i(e,[{key:"setupLanguage",value:function(){g(a(e.prototype),"setupLanguage",this).call(this);this.rules=[{regex:/\b(bool|char|double|float|int|long|short|void)\b/g,type:"k5"},{regex:/\b(enum|struct|typedef|union|object)\b/g,type:"k2"},{regex:/\b(const|volatile|unsigned|signed|restrict)\b/g,type:"k8"},{regex:/\b(readonly|extern|namespace|public|privat|include|cimport|pyximport|cythonize|cdef|cpdef|ctypedef|property|IF|ELIF|ELSE|DEF)\b/g,type:"k0"}].concat(this.rules)}}]),e}(),C=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.poundComments,p.brackets,{regex:/\[(\w+)\]/gm,type:"k9"},{regex:/\{([\w_-]+)\s*(?::\s*(.*?))?}/gm,type:["k7","s0"]}]}}]),e}(),S=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/^([+-]{3}.*)$/gm,type:"c0"},{regex:/^(@@.*@@\s*)/gm,type:"t2"},{regex:/^(\+.*)/gm,type:"t5"},{regex:/^(-.*)/gm,type:"t6"}]}}]),e}(),_=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,{regex:/\$\{\w+\}/gi,type:"k7"},{regex:/ARG\s+(\w+)(?:(=)(.*?)$)?/gim,type:["k7","k3","s0"]},{regex:/ENV\s+(\w+)(?:(\s+|=)(.*?)$)?/gim,type:["k7","k3","s0"]},{regex:/(?:^|[^\\])#\s*\w+=.*$/gm,type:"k4"},p.poundComments,{regex:/^([a-z]+)\b/gim,type:"k0"},{regex:/\b(AS)\b/gi,type:"k0"},{regex:/^\s+(&&)/gim,type:"k3"},p.brackets]}}],[{key:"alias",value:function(){return["docker"]}}]),e}(),A=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.bqStrings,p.char,p.boolean,{regex:/\b(nil)\b/gi,type:"e1"},p.prop,{regex:/\b(var)\b/g,type:"k2"},{regex:/\b(case|break|default|else|goto|switch|if|continue|for)\b/g,type:"k1"},{regex:/\b(func|interface|select|defer|go|map|chan|package|fallthrough|range|import|return)\b/g,type:"k0"},{regex:/\b(iota)\b/g,type:"k9"},{regex:/\b(bool|string|u?int(8|16|32|64)?|uintptr|byte|rune|float32|float64|complex64|complex128)\b/g,type:"k5"},{regex:/\b(struct|type)\b/g,type:"k2"},{regex:/\b(const)\b/g,type:"k8"},p.mCalls,p.fCalls,p.slashComments,p.octal,p.int,p.complex,p.floats,p.hex,p.brackets]}}],[{key:"alias",value:function(){return["golang"]}}]),e}(),L=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/("""[\s\S]*?"""|'''[\s\S]*?''')/g,type:"s5"},p.dqStrings,p.sqStrings,p.char,p.slashComments,p.blockComments,p.docComments,{regex:/(\/(?:[^/\\]|\\.)*\/)/g,type:"s5"},p.prop,{regex:/\b(byte|char|short|int|long|float|double|String)\b/g,type:"k5"},{regex:/\b(break|case|catch|continue|default|do|else|finally|for|goto|if|switch|throw|try|while)\b/g,type:"k1"},{regex:/^(package|import)(\s+[\w.]+)/gm,type:["k0","k10"]},{regex:/\b(const|enum|def)\b/g,type:"k2"},{regex:/\b(as|assert|class|extends|goto|implements|in|interface|return|thows|trait)\b/g,type:"k0"},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(instanceof|new)\b/g,type:"k3"},p.fCalls,p.mCalls,p.null,p.boolean,{regex:/^#.*/g,type:"k9"},{regex:/[\b\W](-?0[0-7][0-7_]+[GLIDF]?)\b/gi,type:"n4"},{regex:/[\b\W](-?\d[\d_]*[GLIDF]?)(?!\.)\b/gi,type:"n1"},{regex:/[\b\W](-?0x[A-F0-9][A-F0-9_]+[GLIDF]?)\b/gi,type:"n2"},{regex:/[\b\W](-?0b[01][01_]+[GLIDF]?)\b/gi,type:"n3"},{regex:/(-?((?:\d+\.\d+|\.\d+|\d+\.)(?:e[+-]?\d+)?)|\d+(?:e[+-]?\d+)?)/gi,type:"n0"},p.brackets]}}]),e}(),E=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,{regex:/(;.*)$/gm,type:"c0"},p.poundComments,{regex:/^\s*?(\[.*])\s*?$/gm,type:"t2"},{regex:/^(\s*?[a-z0-9._-]+\s*?)(=)/gim,type:["k2","k3"]},{regex:/\b(true|false|on|off|yes|no)\b/gim,type:"e0"},p.octal,p.bin,p.hex,p.floats,p.brackets]}}],[{key:"alias",value:function(){return["conf","cnf"]}}]),e}(),q=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.char,{regex:/@[\W\w_][\w]+/gm,type:"s9"},p.prop,{regex:/\b(boolean|byte|char|short|int|long|float|double|String|void|Integer|Double|BigInt|Float|Boolean|Byte|Char|Long)\b/g,type:"k5"},{regex:/\b(while|try|catch|case|else|throw|break|if|do|goto|switch|for|continue)\b/g,type:"k1"},{regex:/^(package|import)(\s+[\w.]+)/gm,type:["k0","k10"]},{regex:/\b(enum)\b/g,type:"k2"},{regex:/\b(const)\b/g,type:"k8"},{regex:/\b(native|volatile|strictfp|finally|class|static|interface|final|extends|transient|return|throws|public|protected|implements|private|synchronized|default|assert|abstract)\b/g,type:"k0"},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(instanceof|new)\b/g,type:"k3"},p.fCalls,p.mCalls,p.null,p.boolean,p.slashComments,p.blockComments,p.docComments,p.int,p.floats,p.bin,p.hex,p.octal,p.brackets]}}]),e}(),O=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){function e(e){return d(e,/\\(x[A-F0-9]{2}|u[A-F0-9]{4}|.)/gi,function(e){return[w(e[0],"s4")]})}this.rules=[{regex:p.sqStrings.regex,type:"s0",filter:e},{regex:p.dqStrings.regex,type:"s0",filter:e},{regex:/`(?:[^`\\]|\\.)*`/g,type:"s2",filter:function(e){return d(e,/\$\{.*?}/g,function(e){return[w(e[0],"s3")]})}},p.boolean,p.null,p.prop,{regex:/\b(var|let|enum|const)\b/g,type:"k2"},{regex:/\b(document|window|console)\b/g,type:"k9"},{regex:/\b(break|case|catch|continue|do|else|finally|for|if|switch|try|while|throw)\b/g,type:"k1"},{regex:/\b(as|async|class|constructor|debugger|default|export|extends|function|import|return|with|yield|implements|package|protected|static|interface|private|public|await|module)\b/g,type:"k0"},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(instanceof|new|delete|typeof|void|in)\b/g,type:"k3"},{regex:/\W(=>)\W/g,type:"k3"},p.slashComments,p.blockComments,{regex:/\W(\/(?:[^/\\]|\\.)*\/\w*)/g,type:"e2"},p.mCalls,p.fCalls,{regex:/\{|}|\(|\)|\[|]/g,type:"g1"},{regex:/[\b\W](-?0o[0-7]+)(?!\.)\b/g,type:"n4"},p.bin,p.hex,p.floats,p.int]}}],[{key:"alias",value:function(){return["js"]}}]),e}(),W=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/"(?:[^"\\]|\\.)*"\s*:/g,type:"k2"},p.dqStrings,p.boolean,p.null,{regex:/\{|}|\(|\)|\[|]/g,type:"g1"},p.int,p.floats,{regex:/,|:/g,type:"g0"}]}}]),e}(),$=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.char,{regex:/"""[\s\S]*?"""/g,type:"s5"},p.prop,{regex:/\b(Double|Float|Long|Int|Short|Byte|Any|String|Array)\b/g,type:"k5"},{regex:/\b(break|continue|do|else|for|if|throw|try|when|while|catch|finally)\b/g,type:"k1"},{regex:/^(package|import)(\s+[\w.]+)/gm,type:["k0","k10"]},{regex:/\b(enum|typealias|object|companion|val|var)\b/g,type:"k2"},{regex:/\b(actual|abstract|annotation|companion|crossinline|data|expect|external|final|infix|inline|inner|internal|lateinit|noinline|open|operator|out|override|private|protected|public|reified|sealed|suspend|tailrec|vararg)\b/g,type:"k8"},{regex:/\b(as|class|fun|in|interface|is|return|by|constructor|delegate|dynamic|field|file|get|init|param|property|receiver|set|setparam|where|field|it)\b/g,type:"k0"},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(instanceof|new)\b/g,type:"k3"},{regex:/(@\w+|\w+@)/gm,type:"k6"},p.fCalls,p.mCalls,p.null,p.boolean,p.slashComments,p.blockComments,{regex:/[\b\W](-?\d[\d_]*L?)(?!\.)\b/g,type:"n1"},p.floats,{regex:/[\b\W](-?0x[A-F0-9][A-F0-9_]+)\b/gi,type:"n2"},{regex:/[\b\W](-?0b[01][01_]+)\b/gi,type:"n3"},p.brackets]}}]),e}(),I=function(){function t(){return n(this,t),l(this,a(t).apply(this,arguments))}return s(t,m),i(t,[{key:"setupLanguage",value:function(){g(a(t.prototype),"setupLanguage",this).call(this);var e=[p.slashComments,{regex:/\b([\w][\w-]+)\s*\(/gm,type:"m0"},{regex:/@[\w-]+\b/g,type:"k7"},{regex:/&/gi,type:"k3"}];this.rules=this.rules.concat(e)}}]),t}(),N=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/---\[\[[\s\S]*?(]])/g,type:"c1"},{regex:/--\[\[[\s\S]*?]]/g,type:"c1"},{regex:/(--.*)$/gm,type:"c0"},p.dqStrings,p.sqStrings,{regex:/(\[(=*)\[[\S\s]*?]\2])/g,type:"s5"},{regex:/\b(true|false)\b/gi,type:"e0"},{regex:/\b(nil)\b/gi,type:"e1"},{regex:/\b(local)\b/g,type:"k2"},{regex:/\b(break|do|else|elseif|end|for|if|repeat|then|until|while)\b/g,type:"k1"},{regex:/\b(function|return|and|in|or|not)\b/g,type:"k0"},p.brackets,p.floats,p.mCalls,p.fCalls]}}]),e}(),F=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/[\r|\n](```[a-z_-]*[\r|\n][\S\s]+?```)/gi,type:"t8"},{regex:/^\s*#{1,6}.+$/gm,type:"t1"},{regex:/(.+[\r|\n][=-]{3,})[\r|\n]/g,type:"t1"},{regex:/`.+?`/g,type:"t8"},{regex:/^(?:\*|_|-){3,}$/gm,type:"t2"},{regex:/\W(\*\*|\*|~~|~|__|_)(.*?\1)\W/gm,type:"t4"},{regex:/!?\[.*?]\(.*?\)/g,type:"t3"}]}}],[{key:"alias",value:function(){return["md","gfm"]}}]),e}(),D=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/%.*$/gm,type:"c0"},{regex:/%%.*$/gm,type:"c1"},p.sqStrings,p.dqStrings,p.boolean,p.mCalls,p.prop,{regex:/\b(break|case|catch|continue|do|else|elseif|end|end_try_catch|endfor|endif|endmethods|endparfor|endproperties|endswitch|endwhile|for|if|switch|try|until|while)\b/gi,type:"k1"},{regex:/\b(__FILE__|__LINE__|classdef|end_unwind_protect|endclassdef|endenumeration|endevents|endfunctionenumeration|events|function|global|methods|otherwise|parfor|persistent|properties|return|static|unwind_protect|unwind_protect_cleanup)\b/gi,type:"k0"},{regex:/(@[\w]+)\s*/gm,type:"k7"},p.fCalls,p.floats,p.brackets]}}]),e}(),j=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.sqStrings,p.bqStrings,{regex:/^\s*(Var(\s+\\GLOBAL)?)(\s+\w+)\b/g,type:["k2","k7"]},{regex:/\W(\$\{\w+})\W/g,type:"k9"},{regex:/\W(\$\w+)\b/g,type:"k7"},{regex:/^\s*([A-Z]\w+)\s+/gm,type:"k0"},{regex:/\b[A-Z][A-Z_]*[A-Z]\b/g,type:"e3"},{regex:/^\s*(!\w+)\s+/gm,type:"k4"},{regex:/^\s*(\w+:)\s*$/gim,type:"k6"},{regex:/\b(admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/gi,type:"k9"},p.blockComments,{regex:/[#;].*?$/gm,type:"c0"},p.int,p.hex,p.octal,p.brackets]}}]),e}(),T=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.sqStrings,p.dqStrings,p.heredoc,p.boolean,p.null,{regex:/(self|parent|\$this)/gi,type:"k9"},{regex:/\b(as|break|case|catch|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|finally|for|foreach|goto|if|switch|throw|try|while)\b/g,type:"k1"},{regex:/\b__[A-Z][A-Z0-9_]+__\b/g,type:"e3"},{regex:/\b(__halt_compiler|abstract|array|callable|class|const|continue|declare|default|die|echo|empty|eval|exit|extends|final|function|global|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|print|private|protected|public|require|require_once|return|static|trait|use|var|yield)\b/g,type:"k0"},{regex:/\b(and|or|xor|clone|new|unset)\b/g,type:"k3"},{regex:/\b(int|float|bool|string|resource|object|mixed|numeric)\b/g,type:"k5"},p.slashComments,p.blockComments,{regex:/\$[A-Z_][\w]*/gim,type:"k7"},p.fCalls,{regex:/->([\w]+)/gim,type:"m1"},{regex:/::([\w]+)/gim,type:"m2"},p.octal,p.bin,p.hex,p.floats,p.brackets]}}]),e}(),R=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){function e(e){return d(e,/\$(?:\w+|\(.*?\))/g,function(e){return[w(e[0],"k7")]})}this.rules=[{regex:/"(?:[^"`]|`.)*"/g,type:"s2",filter:e},p.sqStrings,{regex:/@"[\S\s]*?\n\s*"@/g,type:"s5",filter:e},{regex:/@'[\S\s]*?\n\s*'@/g,type:"s5"},{regex:/\b(Begin|Break|Catch|Continue|Else|Elseif|End|Finally|For|ForEach|If|Switch|Throw|Try|Until|While)\b/gi,type:"k1"},{regex:/\b(Data|Do|DynamicParam|Exit|Filter|From|Function|In|InlineScript|Hidden|Parallel|Param|Process|Return|Sequence|Trap|Workflow)\b/gi,type:"k0"},{regex:/\b([A-Z]\w+(?:-\w+)+)\b/g,type:"m0"},{regex:/<#[\S\s]+?#>/gi,type:"c1"},p.poundComments,{regex:/\$[A-Z_][\w]*/gim,type:"k7"},p.mCalls,p.fCalls,p.int,p.floats,p.brackets]}}]),e}(),z=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/(%.*)$/gm,type:"c0"},p.blockComments,p.dqStrings,p.sqStrings,{regex:/^(\w+)(?:\(.*?\))?\s*(?::-|\.)/gm,type:"k9"},{regex:/\b(true|false|Yes|No|not|fail)\b/gi,type:"e0"},{regex:/\b(catch|throw|repeat)\b/g,type:"k1"},{regex:/^(\?-)/g,type:"k9"},{regex:/\b(is)\b/g,type:"k3"},{regex:/[A-Z_][\w]*/g,type:"k7"},p.brackets,p.floats,p.int,p.fCalls]}}]),e}(),Z=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.prop,{regex:/\b([A-Z]\w+)\b/g,type:"k5"},{regex:/^(import)(\s+[\w.]+)/gm,type:["k0","k5"]},{regex:/\b(bool|char|double|float|int|long|short|void|string)\b/g,type:"k5"},p.mCalls,p.null,p.boolean,p.slashComments,p.blockComments,p.int,p.floats,p.brackets]}}]),e}(),B=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/^(.*?)$/g,type:"text"}]}}]),e}(),P=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){function e(e){return e.text.match(/^%r/)?e.type="e2":e.text.match(/^%x/)&&(e.type="e4"),[e]}this.rules=[p.dqStrings,p.sqStrings,p.heredoc,{regex:/(`(?:[^`\\]|\\.)*`)/g,type:"e4"},p.boolean,{regex:/\b(nil)\b/gi,type:"e1"},p.fCalls,p.prop,{regex:/@{1,2}[A-Za-z_]\w*\W/g,type:"k7"},{regex:/[^:](:[\w]+)\b/g,type:"k6"},{regex:/(\$[a-z0-9_-]+|\$.)\W/gi,type:"k9"},{regex:/\b(begin|break|case|do|else|elsif|end|ensure|for|if|in|next|redo|rescue|retry|then|unless|until|when|while)\b/gi,type:"k1"},{regex:/\b((?:__)?[A-Z][A-Z0-9_]+)\b/g,type:"e3"},{regex:/\b(alias|class|defined\?|undef|def|module|return|self|super|yield)\W/gi,type:"k0"},{regex:/\b(and|not|or)\b/gi,type:"k3"},p.poundComments,{regex:/^=begin[\S\s]*?^=end/gim,type:"c2"},{regex:/(%[iqrswx](\W)(?:[^\2\n\\]|\\.)*\2[iomx]*)/gim,type:"s2",filter:e},{regex:/(%[iqrswx]?(\{(?:[^}\\]|\\.)*}|\[(?:[^}\\]|\\.)*]|\((?:[^)\\]|\\.)*\))[iomx]*)/gim,type:"s2",filter:e},{regex:/\W(\/(?:[^/\\]|\\.)*\/\w*)\W/g,type:"e2"},{regex:/\W\?(?:\w|\\M|\\C)(?:-\w|-\\M|-\\C)*\b/g,type:"n1"},{regex:/[\b\W](-?\d[\d_]+?)(?!\.)\b/g,type:"n1"},{regex:/[\b\W](-?0x[A-F0-9][A-F0-9_]+)\b/gi,type:"n2"},{regex:/[\b\W](-?0b[01][01_]+)\b/gi,type:"n3"},{regex:/[\b\W](-?[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?[ji]?)\b/gi,type:"n0"},p.brackets]}}]),e}(),G=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.char,{regex:/r((#+)".*?"\2)/gm,type:"s0"},{regex:/("(?:\\.|\\\s*\n|\\s*\r\n|[^\\"])*")/g,type:"s0"},{regex:/^\s*#.*$/gm,type:"k4"},{regex:/fn\s+([\w]+)\s*(<\w+\s*>)?\(/gm,type:"k0"},{regex:/\b\.?([\w]+)\s*(\(|::)/gm,type:"k1"},{regex:/\b([\w]+)!/gm,type:"k9"},{regex:/\bself\b/gi,type:"k9"},p.boolean,{regex:/\b(while|loop|in|for|if|else|do|continue|break)\b/g,type:"k1"},{regex:/\b(type|struct|let|enum)\b/g,type:"k2"},{regex:/\b(const)\b/g,type:"k8"},{regex:/\b(yield|where|virtual|use|unsized|unsafe|trait|super|static|return|ref|pure|pub|proc|priv|override|offsetof|mut|move|mod|match|macro|impl|fn|final|extern|crate|box|become|as|alignof|abstract)\b/g,type:"k0"},{regex:/\b(sizeof|typeof)\b/g,type:"k3"},{regex:/\b([0-9_]+\.?[0-9_]+?(e\+[0-9_]+)?)(?:f32|f64)?\b/gim,type:"n0"},{regex:/\b([0-9_]+|0o[0-9_]+|0x[A-F0-9_]+|0b[0-1_]+)(?:u8|i8|u16|i16|u32|i32|u64|i64|isize|usize)?\b/gim,type:"n1"},p.slashComments,p.blockComments,{regex:/(?:^|[^\\])\/\/[/!].*$/gm,type:"c2"},{regex:/\/\*[*!][\s\S]*?\*\//gm,type:"c2"},p.brackets,{regex:/\W(&)\w/g,type:"k3"}]}}]),e}(),M=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.char,{regex:/s"(?:[^"\\]|\\.)*"/g,type:"s2"},{regex:/`(?:[^`\\]|\\.)*`/g,type:"k7"},{regex:/@[\W\w_][\w]+/g,type:"s9"},{regex:/\b([A-Z]\w*)\b/g,type:"k5"},{regex:/\b(while|try|catch|else|throw|break|if|do|goto|switch|for|match)\b/g,type:"k1"},{regex:/(package|import)(\s+[\w.]+)/gm,type:["k0","k10"]},{regex:/[\b\w\s)](_|:|@|#|<-|←|<:|<%|=|=>|⇒|>:)[\b\w\s]/g,type:"k3"},{regex:/\b(abstract|class|case|extends|final|finally|forSome|implicit|lazy|object|override|private|protected|return|sealed|trait|with|yield)\b/g,type:"k0"},{regex:/\b(def)\s+(\w+)\b/gm,type:["k2","m0"]},{regex:/\b(type)\s+(\w+)\b/gm,type:["k2","k5"]},{regex:/\b(val)\s+(\w+)\b/gm,type:["k2","k7"]},{regex:/\b(var)\s+(\w+)\b/gm,type:["k2","k7"]},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(new)\b/g,type:"k3"},p.mCalls,p.fCalls,p.null,p.boolean,p.slashComments,p.blockComments,p.docComments,p.int,p.floats,p.bin,p.brackets]}}]),e}(),U=function(){function t(){return n(this,t),l(this,a(t).apply(this,arguments))}return s(t,m),i(t,[{key:"setupLanguage",value:function(){g(a(t.prototype),"setupLanguage",this).call(this);var e=[p.slashComments,{regex:/\b([\w-]+)\s*\(/gm,type:"m0"},{regex:/\$[\w-]+\b/g,type:"k7"},{regex:/@[\w-]+\b/g,type:"k9"},{regex:/&/gi,type:"k3"}];this.rules=this.rules.concat(e)}}],[{key:"alias",value:function(){return["sass"]}}]),t}(),H=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/(^#!.*?)\n/gi,type:"k4"},p.poundComments,{regex:/[^\\]("(?:[^"\\]|\\.)*")/g,type:"s0"},{regex:/`.*?`/gm,type:"s2"},{regex:/(\$)\(/gm,type:"s2"},{regex:/(\$\d)\b/gim,type:"k9"},{regex:/(\$\w+)\b/gim,type:"k7"},{regex:/^(\s*\w+)=/gm,type:"k7"},{regex:/^\s*\w+\)\s*$/gm,type:"k6"},{regex:/\b(if|fi|then|elif|else|for|do|done|until|while|break|continue|case|esac|in|eq|ne|gt|lt|ge|le)\b/gi,type:"k1"},{regex:/\b(return|function)\b/gi,type:"k0"},{regex:/^\s*\w+\(\)\s*\{/gm,type:"k0"},p.int]}}],[{key:"alias",value:function(){return["bash","sh","zsh"]}}]),e}(),J=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.poundComments,p.blockComments,p.null,p.sqStrings,{regex:/--.*$/g,type:"c0"},{regex:/`\w+?`(?:\.`\w+?`)*/g,type:"k9"},{regex:/\b(all|and|any|between|exists|in|like|not|or|is null|is not null|unique|=|!=|<>|>|<|>=|<=|!<|!>)\b/gi,type:"k3"},{regex:/\b[A-Z]+\b/g,type:"k0"},{regex:/\b(SELECT|INSERT|UPDATE|DELETE|INTO|FROM|CREATE|TABLE|VIEW|TRIGGER|ALTER|ORDER BY|DESC|ASC|AS|BETWEEN|IN|JOIN|LEFT|RIGHT|INNER|OUTER|USING|ON)b/gi,type:"k0"},p.fCalls,p.floats]}}]),e}(),V=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,{regex:p.sqStrings.regex,type:"n0"},p.prop,p.slashComments,p.poundComments,p.blockComments,p.brackets,{regex:/\b(const|enum|local)\b/g,type:"k2"},{regex:/\b(break|case|catch|continue|else|for|foreach|if|switch|while|try|do)\b/g,type:"k1"},{regex:/\b(base|class|clone|constructor|default|extends|false|function|null|resume|return|static|this|throw|true|yield)\b/g,type:"k0"},{regex:/\b(delete|in|instanceof|typeof)\b/g,type:"k3"},p.mCalls,p.fCalls,p.octal,p.hex,p.floats,p.int]}}]),e}(),Y=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.boolean,{regex:/#.*$/gm,type:"k4"},p.prop,{regex:/(import )(.*?)$/gm,type:["k0","k10"]},{regex:/\b(nil)\b/gi,type:"e1"},{regex:/\b(break|case|continue|default|do|else|for|if|switch|while|catch|throw|try)\b/g,type:"k1"},{regex:/\b(var|let|enum|struct)\b/g,type:"k2"},{regex:/\b(Int|UInt|Float|Double|Bool|String|Character|Optional|Array|Dictionary)\b/g,type:"k5"},{regex:/\b(associatedtype|class|deinit|extension|func|init|inout|internal|operator|private|protocol|public|static|subscript|typealias|defer|fallthrough|guard|in|as|repeat|return|where|dynamicType|is|rethrows|super|self|Self|throws|associativity|convenience|dynamic|didSet|final|get|infix|indirect|lazy|left|mutating|none|nonmutating|optional|override|postfix|precedence|prefix|Protocol|required|right|set|Type|unowned|weak|willSet)\b/g,type:"k0"},p.mCalls,p.fCalls,{regex:/(?:^|[^\\])\/\/\/.*$/gm,type:"c2"},p.docComments,p.slashComments,p.blockComments,{regex:/[\b\W](-?0b[01_]+)\b/gi,type:"n3"},{regex:/[\b\W](-?0x[A-F0-9_]+)(?!\.)\b/gi,type:"n2"},{regex:/[\b\W](-?0o[0-7_]+)(?!\.)\b/g,type:"n4"},{regex:/[\b\W](-?[\d_]+)(?!\.)\b/g,type:"n1"},{regex:/(-?(?:[\d_]+\.[\d_]+(?:e[+-]?[\d_]+)?))/gi,type:"n0"},{regex:/(-?0x(?:[A-F0-9_]+\.[A-F0-9_]+(?:p[+-]?[A-F0-9_]+)?))/gi,type:"n2"},p.brackets]}}]),e}(),X=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,O),i(e,[{key:"setupLanguage",value:function(){g(a(e.prototype),"setupLanguage",this).call(this);this.rules=[{regex:/\b(boolean|number|string|any|void|undefined|never|symbol)\b/g,type:"k5"},{regex:/\b(type|interface)\b/g,type:"k2"},{regex:/\b(abstract|implements|readonly)\b/g,type:"k8"},{regex:/\b(declare|namespace)\b/g,type:"k0"},{regex:/\b([\w]+)\s*</gm,type:"m0"},{regex:/[<>]/g,type:"g1"}].concat(this.rules)}}]),e}(),Q=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/((?:^\s*|\s+)--.*$)/gm,type:"c0"},{regex:/^\s*(?:use|library)\s*(\S+);/gim,type:"k9"},p.fCalls,{regex:/\*\*|\*|\/|\+|-|&|=|\/=|<|<=|>|>=/g,type:"g0"},p.dqStrings,p.sqStrings,p.brackets,{regex:/\b(alias|array|variable|downto|range|to|type|units)\b/g,type:"k2"},{regex:/\b(array|buffer|bus|file)\b/g,type:"k5"},{regex:/\b(if|else|elsif|end|for|while|loop|when|begin|block|case|exit|next|then)\b/g,type:"k1"},{regex:/\b(access|after|all|architecture|attribute|assert|body|component|configuration|constant|disconnect|entity|function|generate|generic|group|guarded|impure|in|inertial|inout|is|label|library|linkage|literal|map|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|record|return|select|severity|signal|shared|subtype|transport|unaffected|use|vaiable|with|wait|until)\b/g,type:"k0"},{regex:/\b(abs|not|mod|rem|sll|srl|sla|sra|rol|ror|and|or|nand|nor|xor|xnor|new)\b/g,type:"k3"},p.floats]}}]),e}(),K=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,p.boolean,p.prop,{regex:/(#.*?)(?:'|$)/gim,type:"k4"},{regex:/\b(Case|Catch|Continue|Each|Else|ElseIf|End|EndIf|Do|Finally|For|If|Loop|Next|OrElse|Then|Throw|Try|When|While)\b/g,type:"k1"},{regex:/(Imports )(.*?)$/gm,type:["k0","k10"]},{regex:/\b(Boolean|Byte|CBool|CByte|CChar|CDate|CDbl|CDec|Char|CInt|CLng|CObj|CSByte|CShort|CSng|CStr|CType|CUInt|CULng|CUShort|Decimal|Double|Integer|Long|ParamArray|SByte|Short|Single|String|UInteger|ULong|UShort)\b/g,type:"k5"},{regex:/\b(Dim|Enum|Let|ReDim)\b/g,type:"k2"},{regex:/\b(Const|Shared|Static)\b/g,type:"k8"},{regex:/\b(AddHandler|AddressOf|Alias|As|ByRef|ByVal|Call|Class|Date|Declare|Default|Delegate|DirectCast|Erase|Error|Event|Exit|Friend|Function|Get|GetType|GetXMLNamespace|Global|GoSub|GoTo|Handles|Implements|In|Inherits|Interface|Lib|Like|Me|Module|MustInherit|MustOverride|MyBase|MyClass|Namespace|Narrowing|Nothing|NotInheritable|NotOverridable|Object|Of|On|Operator|Option|Optional|Out|Overloads|Overridable|Overrides|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|REM|RemoveHandler|Resume|Return|Select|Set|Shadows|Step|Stop|Structure|Sub|SyncLock|To|TryCast|Using|Variant|Wend|Widening|With|WithEvents|WriteOnly)\b/gi,type:"k0"},{regex:/\b(And|AndAlso|Is|IsNot|Mod|New|Not|Or|TypeOf|Xor)\b/g,type:"k3"},p.mCalls,p.fCalls,{regex:/'.*$/gm,type:"c0"},p.int,p.floats,p.brackets]}}],[{key:"alias",value:function(){return["vb"]}}]),e}(),ee=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[{regex:/<!DOCTYPE[\s\S]+?>/g,type:"k9"},{regex:/<\?xml[\s\S]+\?>/gi,type:"k4"},{regex:/<!--[\s\S]*?-->/g,type:"c1"},{regex:/(<!\[CDATA\[)([\s\S]*?)(]]>)/gim,type:["c9","text","c9"]},{regex:/(<)([A-Z:_][A-Z0-9:.-]*)([\s\S]*?)(\/?>)/gi,type:["g1","x1","text","g1"],filter:[null,null,function(e){return d(e,/\b([\w:-]+)(\s*=\s*)(['"][^'"]*['"]|[^'" \t]+)/gi,function(e){return[w(e[1],"x2"),w(e[2],"k3"),w(e[3],"s0")]})},null]},{regex:/(<\/)([A-Z:_][A-Z0-9:.-]*\s*)(>)/gi,type:["g1","x1","g1"]}]}}],[{key:"alias",value:function(){return["html"]}}]),e}(),te=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.poundComments,p.boolean,p.null,{regex:/^%[A-Z]+\s+.*$/gm,type:"k4"},{regex:/\b!{1,2}[A-Z]+\b/gi,type:"k5"},{regex:/\b[a-z][a-z0-9_-]*:/gim,type:"k7"},{regex:/\{|}|\(|\)|\[|]/g,type:"g1"},{regex:/\s+(?:>|\|)[\r|\n]+((?:\s+[^\r\n]+[\r|\n]+)+)/gi,type:"s5"},p.dqStrings,p.sqStrings,p.floats]}}]),e}(),ne=function(){function e(){return n(this,e),l(this,a(e).apply(this,arguments))}return s(e,t),i(e,[{key:"setupLanguage",value:function(){this.rules=[p.dqStrings,{regex:/`\w*\b/g,type:"k4"},{regex:/\[( *\d+(?: *\: *\d+) *)\]/g,type:"e3"},{regex:/\b(for|generate|if|else|repeat|case|endcase|begin|end|ifnone)\b/g,type:"k1"},{regex:/\b(output|input|inout|reg|wire|assign)\b/g,type:"k5"},{regex:/\b(module|endmodule|always|function|endfunction)\b/g,type:"k2"},{regex:/\b(or|rpmos|tranif1|and|initial|rtran|tri|parameter|rtranif0|tri0|pmos|rtranif1|tri1|buf|endprimitive|integer|posedge|scalared|triand|bufif0|endspecify|join|primitive|small|trior|bufif1|endtable|large|pull0|specify|trireg|endtask|macromodule|pull1|specparam|vectored|casex|event|medium|pullup|strong0|wait|casez|pulldown|strong1|wand|cmos|force|nand|rcmos|supply0|weak0|deassign|forever|negedge|real|supply1|weak1|default|nmos|realtime|table|defparam|nor|task|disable|highz0|not|release|time|wor|edge|highz1|notif0|tran|xnor|notif1|rnmos|tranif0|xor)\b/g,type:"k0"},p.slashComments,p.blockComments,{regex:/-?\d*'s?d[0-9_xz]+\b/gi,type:"n1"},{regex:/-?\d*'s?h[0-9a-f_xz]+\b/gi,type:"n2"},{regex:/-?\d*'s?b[01_xz]+\b/gi,type:"n3"},{regex:/-?\d*'s?o[0-7_xz]+\b/gi,type:"n4"},p.int,p.brackets]}}]),e}(),re=Object.freeze({__proto__:null,generic:t,abap:y,assembly:f,avrassembly:b,cpp:h,csharp:x,css:m,cython:v,cordpro:C,diff:S,dockerfile:_,go:A,groovy:L,ini:E,java:q,javascript:O,json:W,kotlin:$,less:I,lua:N,markdown:F,matlab:D,nsis:j,php:T,powershell:R,prolog:z,python:k,qml:Z,raw:B,ruby:P,rust:G,scala:M,scss:U,shell:H,sql:J,squirrel:V,swift:Y,typescript:X,vhdl:Q,visualbasic:K,xml:ee,yaml:te,verilog:ne}),ie={standard:"generic"},se={},ae=!1;function oe(e){return e=function(e){if(!ae)for(var t in ae=!0,re)if("function"==typeof re[t].alias){var n=re[t].alias(),r=!0,i=!1,s=void 0;try{for(var a,o=n[Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var l=a.value;ie[l]=t}}catch(e){i=!0,s=e}finally{try{r||null==o.return||o.return()}finally{if(i)throw s}}}return ie[e]}(e=(e||"").toLowerCase())||e,re[e]?e:null}function le(e,t,n){if(e)if(Array.isArray(e))for(var r=0;r<e.length;r++)t.apply(n||t,[e[r],r]);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.apply(n||t,[e[i],i])}var ge=document,ue=window,pe={document:ge,window:ue};function ce(){return ge}function ye(){return ue}function fe(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];e.style.display=!0===t?"block":"none"}function be(e){e.parentNode.removeChild(e)}function he(e){return null!=e&&0<e.length?ge.querySelectorAll(e):[]}function de(e,t){return e.getAttribute("data-"+t)||null}function xe(e,t){return e.getAttribute(t)||null}function me(e,t){return e.parentNode.insertBefore(t,e)}function ke(e,t){e.classList.contains(t)||e.classList.add(t)}function we(e,t){e.classList.contains(t)&&e.classList.remove(t)}function ve(e,t){return e.classList.contains(t)}function Ce(e,t){e.classList.contains(t)?e.classList.remove(t):e.classList.add(t)}function Se(e,t){for(var n=arguments.length,r=new Array(2<n?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if("function"==typeof e)return e.apply(void 0,[t||{}].concat(r));var s=ge.createElement(e);function a(e,t){s.addEventListener(e,function(e){e.preventDefault(),e.stopPropagation(),t&&t.apply(s,[e,s])})}return 0<r.length&&le(r,function(e){e&&(e.push?le(e,function(e){e.appendChild?s.appendChild(e):s.appendChild(ge.createTextNode(e))}):e.appendChild?s.appendChild(e):s.appendChild(ge.createTextNode(e)))}),le(t,function(e,t){if("on"===t.substr(0,2)){if(null===e)return;a(t.substr(2).toLowerCase(),e)}else"className"===t&&(t="class"),s.setAttribute(t,e)}),s.on=a,s}var _e=Object.freeze({__proto__:null,globals:pe,getDocument:ce,getWindow:ye,displayElement:fe,disposeElement:be,getElements:he,getElement:function(e){return null!=e&&0<e.length?ge.querySelector(e):null},getElementDataAttribute:de,getElementAttribute:xe,insertBefore:me,addClass:ke,removeClass:we,hasClass:ve,toggleClass:Ce,createElement:Se});function Ae(e){var t=e.tokens,n=e.options,r=function(e,t){if("string"!=typeof e||0===e.length)return function(){return!1};var n=parseInt(t),s=!isNaN(n)&&1<n?n-1:0,a={};return e.split(",").forEach(function(e){var t=e.match(/([0-9]+)-([0-9]+)/);if(null!=t){var n=parseInt(t[1])-s,r=parseInt(t[2])-s;if(n<r)for(var i=n;i<=r;i++)a[""+i]=!0}else a[""+(parseInt(e)-s)]=!0}),function(e){return a[""+e]||!1}}(n.highlight,n.lineoffset),i=[],s=[];t.forEach(function(t){var e=t.text.split("\n");1===e.length?s.push([t.type,t.text]):(s.push([t.type,e.shift()]),e.forEach(function(e){i.push(s),(s=[]).push([t.type,e])}))}),i.push(s);var a=[];return 0<n.lineoffset&&a.push("counter-reset: enlighter "+(parseInt(n.lineoffset)-1)),Se("div",{className:"enlighter",style:a.join(";")},i.map(function(e,t){return Se("div",{className:r(t+1)?"enlighter-special":""},Se("div",null,e.map(function(e){return Se("span",{className:"enlighter-"+e[0]},e[1])})))}))}function Le(e){var t=[];e.name&&t.push("enlighter-"+e.name),e.className&&("string"==typeof e.className?t.push(e.className):t.push.apply(t,u(e.className)));for(var n=arguments.length,r=new Array(1<n?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Se.apply(_e,["div",{className:t.join(" ")}].concat(r))}function Ee(e){var t=["enlighter-btn"];return e.name&&t.push("enlighter-btn-"+e.name),Se("div",{className:t.join(" "),onClick:e.onClick},e.text||null)}function qe(n){var r=ye();return Se(Le,{name:"toolbar"},Se(Ee,{name:"raw",tooltip:"Toggle RAW code",onClick:n.toggleRawCode}),Se(Ee,{name:"copy",tooltip:"Copy to clipboard",onClick:function(){!function(e){var t=ce(),n=ye(),r=Se("pre",{className:"enlighter-clipboard"},e);t.body.appendChild(r);try{var i=t.createRange();i.selectNodeContents(r);var s=n.getSelection();s.removeAllRanges(),s.addRange(i)}catch(e){return}var a=function(){try{return t.execCommand("copy")}catch(e){return!1}}();n.getSelection().removeAllRanges(),be(r)}(n.getRawCode())}}),Se(Ee,{name:"window",tooltip:"Open code in new window",onClick:function(){var e=r.open("","","width="+r.screen.width/2+", height="+r.screen.height/2+", menubar=no, titlebar=no, toolbar=no, top=100, left=100, scrollbars=yes, status=no"),t=n.getRawCode().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");e.document.body.innerHTML="<pre>"+t+"</pre>",e.document.title="Sourcecode | EnlighterJS Syntax Highlighter"}}),Se(Ee,{name:"website",tooltip:"EnlighterJS 3 Syntax Highlighter",onClick:function(){r.open("https://enlighterjs.org")}}))}function Oe(e,t){return Se("pre",{className:"enlighter-raw"},t)}function We(e){var t=null,n=e[0].params,r=["enlighter-default","enlighter-v-standard","enlighter-t-"+e[0].params.theme];function i(){Ce(t,"enlighter-show-rawcode")}return!0===n.linehover&&r.push("enlighter-hover"),!0===n.linenumbers&&r.push("enlighter-linenumbers"),"scroll"===n.textOverflow&&r.push("enlighter-overflow-scroll"),0<n.cssClasses.length&&r.push.apply(r,u(n.cssClasses)),t=Se(Le,{className:r},Se(qe,{toggleRawCode:i,getRawCode:function(){return e[0].code}}),Se(Ae,{tokens:e[0].tokens,options:e[0].params}),Se(Oe,null,e[0].code)),n.rawcodeDbclick&&t.on("dblclick",i),t}function $e(e){return Se("span",{className:"enlighter"},e.tokens.map(function(e){return Se("span",{className:"enlighter-"+e.type},e.text)}))}function Ie(n){var r=0,i=[];return i=n.dataset.map(function(e,t){return Se(Ee,{onClick:function(){return e=t,we(i[r],"enlighter-active"),ke(i[e],"enlighter-active"),r=e,void n.onChange(e);var e},text:e.params.title||e.params.language})}),ke(i[0],"enlighter-active"),Se(Le,{name:"codegroup-switch"},i)}var Ne=Object.freeze({__proto__:null,standard:We,inline:function(e){var t=e[0].params,n=["enlighter-default","enlighter-v-inline","enlighter-t-"+t.theme];return 0<t.cssClasses.length&&n.push.apply(n,u(t.cssClasses)),Se(Le,{className:n},Se($e,{tokens:e[0].tokens,options:t}))},codegroup:function(e){var t,n=null,r=e[0].params,i=0,s=["enlighter-default","enlighter-v-codegroup","enlighter-t-"+r.theme];function a(){Ce(n,"enlighter-show-rawcode")}function o(e){fe(t[i],!1),fe(t[e],!0),i=e}return!0===r.linehover&&s.push("enlighter-hover"),!0===r.linenumbers&&s.push("enlighter-linenumbers"),"scroll"===r.textOverflow&&s.push("enlighter-overflow-scroll"),0<r.cssClasses.length&&s.push.apply(s,u(r.cssClasses)),t=e.map(function(e){return Se("div",{style:"display:none"},Se(Ae,{tokens:e.tokens,options:e.params}),Se(Oe,null,e.code))}),o(0),n=Se(Le,{className:s},Se(Ie,{onChange:function(e){return o(e)},dataset:e}),Se(Le,{name:"codegroup-wrapper"},Se(qe,{toggleRawCode:a,getRawCode:function(){return e[i].code}}),t)),r.rawcodeDbclick&&n.on("dblclick",a),n}});function Fe(e){var t;return(t=((t=e[0].params.layout)||"").toLowerCase(),Ne[t]?Ne[t]:We)(e.map(function(e){var t,n,r,i=e.code,s=e.params;if("string"!=typeof i)throw new TypeError("EnlighterJS Engine requires string input");return{tokens:(t=s.language,n=c["language"]||null,r=oe(t)||oe(n)||"generic",se[r]||(se[r]=new re[r]),se[r]).analyze(i),params:s,code:i}}))}function De(i,t){function s(e){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=t.pop(),i=0;i<t.length;i++){var s=t[i];if(null!=s)return s}return r}(t[e],c[e],null)}function e(e,t){var n=de(i,"enlighter-"+e),r=s(e);if(!(n&&0<n.length))return r;switch(t){case"boolean":return"true"===(n=n.toLowerCase().trim())||"false"!==n&&r;case"int":return n=parseInt(n),isNaN(n)?r:n;default:return n}}var n=s("cssClasses")||"";!0===s("retainCssClasses")&&(n+=" "+(xe(i,"class")||""));var r=n.replace(/\s+/g," ").trim().split(" ");return{language:e("language"),theme:e("theme"),layout:e("layout"),title:e("title"),highlight:e("highlight"),linenumbers:e("linenumbers","boolean"),lineoffset:e("lineoffset","int"),indent:s("indent"),ampersandCleanup:s("ampersandCleanup"),linehover:s("linehover"),rawcodeDbclick:s("rawcodeDbclick"),textOverflow:s("textOverflow"),cssClasses:r}}var je=[];function Te(e){var t=function(e){for(var t=0;t<je.length;t++)for(var n=0;n<je[t].elements.length;n++)if(je[t].elements[n]===e)return t;return!1}(e);if(!1===t)return!1;var n=je.splice(t,1);return be(n[0].wrapper),n[0].elements.map(function(e){return we(e,"enlighter-origin")}),!0}function Re(e){var t,n,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};try{if(Array.isArray(e)||(e=[e]),0===e.length)return!1;if(!1===r)return Te(e[0]);if(ve(e[0],"enlighter-origin"))return!1;var i=Fe(e.map(function(e){var t=De(e,r),n=function(e,t){var n=e.innerHTML||"";n=n.replace(/(^\s*\n|\n\s*$)/gi,""),!0===t.ampersandCleanup&&(n=n.replace(/&/gim,"&")),n=n.replace(/</gim,"<").replace(/>/gim,">").replace(/ /gim," ");var r=t.indent;return!1!==r&&-1<r&&(n=n.replace(/(\t*)/gim,function(e,t){return new Array(r*t.length+1).join(" ")})),n}(e,t);return ke(e,"enlighter-origin"),{element:e,code:n,params:t}}));return me(e[0],i),t=e,n=i,je.push({elements:t,wrapper:n}),!0}catch(e){return console.error("EnlighterJS Internal Error:",e),!1}}return e.enlight=Re,e.init=function(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"pre.ejs",n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"code.ejs",r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,Object.assign(c,e||{});for(var i=he(t),s=he(n),a=function(e){for(var t={},n=[],r=0;r<e.length;r++){var i=de(e[r],"enlighter-group");i?(t[i]||(t[i]=[]),t[i].push(e[r])):n.push(e[r])}return{standalone:n,groups:Object.keys(t).map(function(e){return t[e]})}}(i),o=a.standalone,l=a.groups,g=0;g<o.length;g++)Re(o[g],{layout:r.block||"standard"});for(var u=0;u<l.length;u++)Re(l[u],{layout:r.codegroup||"codegroup"});for(var p=0;p<s.length;p++)Re(s[p],{layout:r.inline||"inline"})},e.version="3.1.0",e}({}); !function(n){"function"==typeof n&&n.fn&&(n.fn.enlight=function(n){return n=!0===(n=void 0===n?{}:n)?{}:n,this.each(function(){EnlighterJS.enlight(this,n)})})}(window.jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.2 |
proxy
|
phpinfo
|
Settings